1 2006-06-12 Bill Haneman <bill.haneman@sun.com>
3 * configure.in: Require atk-1.12.0, to pick up
4 new API. (bug #344412).
6 2006-06-09 Bill Haneman <bill.haneman@sun.com>
9 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
10 New, missing implementations of attribute reading methods
13 * cspi/spi.h, spi_value.c:
14 (AccessibleValue_getMinimumIncrement): New methods wrapping
15 the (formerly unimplemented) property from Value.idl.
18 (impl_get_minimumIncrement): Implementation for retrieving
19 the minimum valuator increment, (formerly unimplemented).
22 2006-06-09 Bill Haneman <bill.haneman@sun.com>
24 * idl/Accessibility_State.idl:
25 Added STATE_VISITED (bug #338369).
27 * cspi/spi_accessible.c:
28 (spi_state_to_corba) Fixed marshalling of new statetypes.
31 (spi_init_state_tables, impl_getStates):
32 Fixed conversion of new statetypes to/from ATK.
34 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
36 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
37 definitions/conversions for new roles from ATK.
39 * idl/Accessibility_Relation.idl:
41 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
42 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
43 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
45 * libspi/accessible.c: Fixed marshalling of new role types from
48 2006-04-17 Matthias Clasen <mclasen@redhat.com>
50 * revert my previous change
52 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
54 * configure.in: Remove obssolete no_NO locale
55 * po/no.po: And the translation.
57 2006-04-05 Matthias Clasen <mclasen@redhat.com>
59 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
60 memory-management error that caused crashes on x86_64.
63 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
65 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
67 2006-03-27 Bill Haneman <bill.haneman@sun.com>
69 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
70 to strip "cspi_*" from the symbol table.
72 * cspi/spi_streamablecontent.c:
73 (get_streams): Make this method static.
76 (_cspi_exception_throw): rename to cspi_exception_throw,
77 so we can strip it with the rest...
80 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
82 2006-03-27 Bill Haneman <bill.haneman@sun.com>
84 Add doxygen-generated IDL docs to tarball, and enable
85 doxygen during build/install when available. Bug #301345.
87 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
89 * docs/reference/Makefile.am: Add idl to SUBDIRS.
91 * docs/reference/idl/Makefile.am: Optionally use
92 doxygen to create docs.
94 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
96 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
98 2006-03-20 Bill Haneman <bill.haneman@sun.com>
101 (impl_get_selected_rows): Don't free the selection if it's
102 empty or has not been assigned; init it to NULL so you can tell.
103 Also, allow for zero selected rows.
104 (impl_getSelectedColumns): Ditto. Bug #319088.
106 2006-03-11 Vincent Untz <vuntz@gnome.org>
108 Leak fix for bug #334217.
110 * libspi/application.c: spi_application_toolkit_event_listener():
111 don't duplicate the string we pass as an argument to
112 spi_init_any_nil() since spi_init_any_nil() already does it
113 * registryd/deviceeventcontroller.c:
114 (spi_dec_button_update_and_emit): ditto
115 (spi_dec_mouse_check): ditto
116 (spi_dec_emit_modifier_event): ditto
117 (spi_device_event_controller_forward_mouse): ditto
118 * registryd/registry.c:
119 (desktop_add_application): ditto
120 (desktop_remove_application): ditto
122 2006-02-20 Bill Haneman <billh@gnome.org>
124 * configure.in: Rev to 1.7.6.
126 Leak fixes for bug #331924.
128 * atk-bridge/bridge.c:
129 (spi_atk_bridge_init_base): Don't dup the string, it's already
130 been dup-ed. Fixes a leak.
131 (spi_atk_emit_eventv): Move the CORBA_free call here,
132 instead of spi_atk_state_event_listener; fixes another leak.
133 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
134 notifying the registry; fixes another leak.
136 * registryd/registry.c:
137 (registry_flush_event_queue): Free the CORBA_any when
138 flushing the event, not just the string. Fixes another leak.
139 (registry_queue_event): Free the CORBA_any when dropping
140 events on the floor; fixes another leak.
143 (spi_init_any_object, spi_init_any_nil):
144 Always set _release to TRUE. Fixes another leak.
146 2006-02-20 Bill Haneman <billh@gnome.org>
148 * configure.in: Rev to 1.7.5.
149 Reinstate localization of this module. Thanks for Rodney
150 Dawes for fixing my patch.
152 * registryd/Makefile.am: Remove Accessibility_Registry.server
153 from dist, since it needs to be re-created at configure time.
156 2006-01-31 Bill Haneman <billh@gnome.org>
158 * configure.in: Rev to 1.7.4 (to include build fix below).
160 * idl/Makefile.am: Include Selector.idl in dist.
164 (cspi_internal_event_get_object): Handle case where
165 "object" isn't present, i.e. CORBA_TC_Object doesn't match
166 the EventDetails data.
167 (cspi_internal_event_get_text): Handle NULL string.
168 (cspi_internal_event_get_rect): Handle missing/empty rect
169 data, Accessibility_TC_RectBounds doesn't match any_data.
171 2006-01-30 Bill Haneman <billh@gnome.org>
175 * atk-bridge/bridge.c:
176 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
177 interface and use that when instantiating a new source
178 accessible. Better fix for bug #321814.
180 2006-01-27 Bill Haneman <billh@gnome.org>
182 * idl/Accessibility_Selector.idl: Added to the cvs repository.
184 * configure.in: Revved to 1.7.3.
186 2006-01-17 Bill Haneman <billh@gnome.org>
188 * configure.in: Revved to 1.7.2, re-dist to include docs.
190 2006-01-09 Bill Haneman <billh@gnome.org>
192 * configure.in: Removed po/Makefile.in inclusion, we do not need
195 * idl/Accessibility.idl: Improved documentation here, and for all
196 IDL in the 'GNOME::Accessibility' namespace.
198 * idl/Accessibility_Accessible.idl:
199 (LOCALE_TYPE): Added enum.
200 (AttributeSet): New, for returning multiple name/value attribute pairs.
201 (RoleSet): New, sequence of Roles, to be used in upcoming
203 (getAttributes): New API, allows retrieval of name/value pair
204 annotations for all kinds of Accessible objects. C.f.
205 Text:getAttributes, which is only for typographic/textual/semantic tags in
207 (getApplication): New, retrieves the host/containing Application
208 instance for an object (without having to walk up the whole tree).
210 * idl/Accessibility_Component.idl:
211 (getAlpha): New method, returns the alpha blending (aka 'opacity')
212 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
215 * idl/Accessibility_Event.idl:
216 (EventDetails): New struct definition, for encapsulating
217 commonly-queried information about emitted events. The use of
218 this structure in emitted events (in the 'any' member of
219 Accessibility_Event) should greatly reduce the number of
220 client-server roundtrips necessary.
222 * idl/Accessibility_Image.idl:
223 (imageLocale): New, a readonly attribute indicating the POSIX
224 LC_MESSAGES locale of the image and associated Alt/descriptive
227 * idl/Accessibility_Relation.idl:
228 (RELATION_PARENT_WINDOW_OF): Include, as complement to
231 * idl/Accessibility_Role.idl:
232 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
233 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
234 complex document and form support.
236 * idl/Accessibility_State.idl:
237 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
238 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
239 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
240 for support of complex documents and forms.
242 * idl/Accessibility_StreamableContent.idl:
243 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
244 allow old bonobo-stream interfaces to be deprecated in the next
247 * idl/Accessibility_Text.idl:
248 (getAttributeValue): New method, allows query-by-name of single
251 * libspi/accessible.c:
252 Added support for new roles. Implemented new methods
253 (impl_accessibility_accessible_get_application): New
254 (impl_accessibility_accessible_get_attributes): New
256 * libspi/component.c:
257 (impl_accessibility_component_get_alpha): New.
260 (impl_accessibility_image_get_locale): New.
262 * libspi/relation.c: Added support for new relation type.
264 * libspi/stateset.c: Added support for new state types.
267 (impl_getAttributeValue): New.
270 New prototypes for private methods
272 spi_init_any_object, spi_init_any_string,
275 * libspi/spi_event.c:
276 Use EventDetails in the event emission methods.
278 * cspi/spi-private.h:
279 (cspi_role_from_spi_role): Expose this adapter method, since
280 we need it in the bridge (see below).
283 (AccessibleEvent_getSourceName):
284 (AccessibleEvent_getSourceRole):
285 (AccessibleEvent_getSourceApplication):
286 (AccessibleEvent_getSourceDetails):
287 New methods for interrogating/demarshalling
288 event details (i.e. source's accessible name, role,
291 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
292 Make use of the new EventDetails struct in events, if present.
293 (AccessibleEvent_getSourceName)
294 (AccessibleEvent_getSourceRole)
295 (AccessibleEvent_getSourceApplication)
296 (AccessibleEvent_getSourceDetails): Implement the newly exposed
298 (Accessible_getAttributes): New, wraps
299 Accessibility_Accessible_getAttributes.
300 (Accessible_getHostApplication): New, wraps
301 Accessibility_Accessible_getApplication.
304 (AccessibleImage_getImageLocale): New wrapper for
305 Accessibility_Image_get_imageLocale.
307 * cspi/spi_component.c:
308 (AccessibleComponent_getAlpha): New wrapper for
309 Accessibility_Component_getAlpha.
311 * atk-bridge/bridge.c:
312 Use new prototyped for init_any methods.
313 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
314 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
315 (spi_atk_bridge_init_base): Wrappers
316 for spi_init_any_* methods, due to refactor; include extended
317 information in the Accessibility_EventDetails struct, for instance
318 accessible-name, Role, and containing Application.
320 * registryd/registry.c:
321 Use new event emission (with EventDetails).
323 * registryd/deviceeventcontroller.c:
324 Use new event emission (with EventDetails).
326 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
328 * configure.in: Generate po/Makefile.in
329 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
330 * cspi/spi_streamablecontent.c:
331 (accessible_bonobo_stream_client_seek),
332 (AccessibleStreamableContent_seek): Remove unused vars.
333 * libspi/application.c: Missing header.
334 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
335 * login-helper/login-helper.c: (login_helper_finalize),
336 (login_helper_init): Remove unused stuff
337 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
338 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
339 and surround some with #ifdef GRAB_BUTTON.
340 * test/event-listener-test.c: (main), (report_event),
341 (report_caret_event), (report_detail_event),
342 (report_detail1_event), (report_bounds_event), (report_text_event),
343 (report_text_selection_event),
344 (report_active_descendant_changed_event),
345 (report_children_changed_event), (report_name_changed_event),
346 (report_description_changed_event), (report_parent_changed_event),
347 (report_window_event), (report_table_summary_event),
348 (report_table_header_event), (report_table_caption_event),
349 (report_table_row_description_event),
350 (report_table_column_description_event), (timing_test_event):
351 Remove a bunch of unused variables and fix a slew of format specifiers
352 * test/key-listener-test.c: (report_all_key_event): Format specifier
353 * test/keypad-test.c: (print_key_event): Same
354 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
356 * test/screen-review-test.c: (main), (print_chunk_debug),
357 (review_buffer_get_text_chunk), (debug_chunk_list),
358 (string_guess_clip), (text_chunk_get_clipped_string),
359 (text_chunk_list_to_string), (get_screen_review_line_at):
360 Remove unused variables and fix format specifiers.
361 * test/simple-at.c: (report_text_event): Format specifier fix.
362 * test/stress-test.c: (main): Remove unused var.
364 2005-12-29 Abel Cheung <maddog@linuxhall.org>
366 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
367 (yes I know that's useless)
369 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
371 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
373 2005-11-17 Michael Meeks <michael.meeks@novell.com>
375 * atk-bridge/bridge.c (spi_atk_emit_eventv):
376 urgh-fix embarassing typo.
378 2005-11-16 Michael Meeks <michael.meeks@novell.com>
380 * atk-bridge/bridge.c (spi_atk_emit_eventv):
381 do a faster, less problematic _unref call on this local
382 object, rather than a slower (potentially cross-thread
383 complicated) CORBA call.
385 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
387 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
388 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
389 * registryd/deviceeventcontroller.c:
390 (spi_controller_notify_mouselisteners),
391 (impl_generate_keyboard_event):
392 * test/screen-review-test.c: (chunk_bounds_within):
393 * test/test-simple.c: (test_desktop): Remove some unused code
394 and fix compiler warnings. Closes bug #320049.
396 2005-10-27 Bill Haneman <bill.haneman@sun.com>
398 * registryd/deviceeventcontroller.c:
399 (spi_controller_notify_keylisteners): Check
400 to make sure the event listener has requested 'preemptive'
401 status before pre-empting an event.
403 2005-08-29 Bill Haneman <bill.haneman@sun.com>
405 * configure.in, README, NEWS: Release 1.6.5.
407 2005-07-25 Matthias Clasen <mclasen@redhat.com>
409 * test/window-listener-test.c: Fix a printf
410 format error. (#169453)
412 2005-07-15 Bill Haneman <bill.haneman@sun.com>
414 * tests/test-simple.c:
415 (key_listener_cb): Ensure that the keystring is dup'ed instead of
416 relying on the old string from the key event hanging around after
417 the event handler returns. Fixes broken 'make check'.
419 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
421 * Added Marathi (mr_IN) translations.
423 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
425 * cspi/bonobo/cspi-bonobo-listener.c:
426 (cspi_event_list_remove_by_cb): Fix the build.
428 2005-05-26 Michael Meeks <michael.meeks@novell.com>
430 * cspi/bonobo/cspi-bonobo-listener.c
431 (cspi_event_list_remove_by_cb): actually filter by callback.
433 2005-05-25 Bill Haneman <bill.haneman@sun.com>
435 * registryd/registry.c (remove_listener_cb):
436 Make deregistration filter rules match the event emission rules.
438 2005-05-25 Michael Meeks <michael.meeks@novell.com>
440 * registryd/registry.c (remove_listener_cb),
441 (impl_accessibility_registry_deregister_global_event_listener),
442 (impl_accessibility_registry_deregister_global_event_listener_all):
443 pass a closure to the remove callback to filter listeners more
444 accurately on remove.
446 2005-04-05 Bill Haneman <bill.haneman@sun.com>
448 * configure.in: Revved to 1.6.4.
449 Remember to put quotes around XEVIE_LIBS assignment.
450 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
453 * tests/event-listener-test.c: Tweaked the tests - more detail
454 from caret events, and some interrogation of AccessibleText APIs.
455 Commented-out the bounds-changed events by default, since they can
458 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
460 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
461 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
462 Same here. Closes bug #167806
464 2005-04-05 Bill Haneman <bill.haneman@sun.com>
466 * atk-bridge/bridge.c:
467 (spi_atk_bridge_signal_listener):
468 Free the any._value if any._release is TRUE,
469 since the ORB won't do it for us in this case
470 [because this method is not a skel].
473 2005-03-30 Steve Murphy <murf@e-tools.com>
475 * configure.in: Added "rw" to ALL_LINGUAS.
477 2005-03-29 Bill Haneman <bill.haneman@sun.com>
479 * configure.in: Improved check for HAVE_XEVIE, to detect
480 presence on XOrg, where -lXevie is a separate library.
482 2005-03-08 Bill Haneman <bill.haneman@sun.com>
484 * configure.in, NEWS, README: Revved to 1.6.3.
486 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
488 * configure.in: Added "xh" to ALL_LINGUAS.
490 2005-02-07 Bill Haneman <bill.haneman@sun.com>
492 * atk-bridge/bridge.c:
493 (atk_bridge_init): Added missing NULL in g_strconcat(),
494 also check for symlink before logging to
495 insecure directory. Thanks to meissner@suse.de.
497 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
499 * tests/login-helper-server-test.c: Add return call to main
500 function. Patch from Chris Lahey. Fixes bug #165129.
502 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
504 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
506 2004-12-09 Bill Haneman <billh@gnome.org>
508 * registryd/registry-main.c:
509 Added #define <string.h> for strrchr. (bug 160862).
510 Thanks to Vincent Berger for catching.
512 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
514 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
515 restart registry process if the registry process is found to have died
516 and the current process is exiting.
517 (spi_atk_bridge_exit_func): Do not attempt to deregister the
518 application if the registry process has died.
519 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
520 does not return a registry object.
521 (spi_atk_tidy_windows): Give up if the registry process has died.
523 This fixes problems with hangs and crashes when logging out.
525 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
527 * registryd/desktop.c: Add checking that we are not exiting before
528 calling spi_desktop_remove_application in
529 abnormal_application_termination. Fix for bug #152147.
531 2004-12-02 Bill Haneman <billh@gnome.org>
533 * configure.in, NEWS, README: Revved to 1.6.1.
535 Patch from Padraig O'Briain <padraig.obriain@sun.com>
536 * atk-bridge/bridge.c:
537 (atk_bridge_init): Save the pid when we start, to detect forks.
538 (spi_atk_bridge_exit_func): Don't call the cleanup routines
539 if we're in a forked pid.
541 2004-10-09 Bill Haneman <billh@gnome.org>
543 * idl/Accessibility_LoginHelper.idl:
544 Improved inline documentation.
546 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
548 * configure.in: Added gl (Galician) to ALL_LINGUAS
550 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
552 * libspi/accessible.c:
553 (impl_accessibility_accessible_get_role_name),
554 (impl_accessibility_accessible_get_local_role_name):
556 * libspi/component.c:
557 (impl_accessibility_component_get_accessible_at_point):
559 * libspi/eventlistener.c: (spi_event_listener_new):
561 * libspi/stateset.c: (impl_compare): More of the same
562 * libspi/table.c: (impl_getRowDescription): Again.
563 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
564 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
565 (impl_generate_keyboard_event): Same.
566 * registryd/registry-main.c: (main): Same
567 * test/event-listener-test.c: (test_exit): Same
568 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
569 * test/keysynth-test.c: (test_key_synthesis): Same
570 * test/login-helper-server-test.c: (main): Fix warning.
571 * test/screen-review-test.c: (test_exit): Fix include.
572 * test/simple-at.c: (simple_at_exit), (_festival_init):
575 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
577 * configure.in, NEWS, README: Revved to 1.6.0.
579 2004-09-12 Bill Haneman <bill.haneman@sun.com>
581 * configure.in: Rev and re-dist, since the 1.5.4 tarball
582 was missing the HTML docs.
584 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
586 * configure.in: only cleanups:
587 - better looking PKG_CHECK_MODULES() output,
589 - declare in one common place required versions of other tools using
592 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
594 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
595 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
596 required ATK version accordingly.
598 2004-09-03 Bill Haneman <bill.haneman@sun.com>
600 * cspi/bonobo/cspi-bonobo.c:
601 (cspi_display_name): Fix C99ism.
602 * atk-bridge/bridge.c:
603 (spi_display_name): Fix C99ism.
604 Patch from Jens Granseuer, jensgr@gmx.net.
606 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
608 * configure.in: Added "or" to ALL_LINGUAS.
610 2004-08-20 Bill Haneman <bill.haneman@sun.com>
612 * configure.in, NEWS, README: Revved to 1.5.4.
614 * registryd/registry-main.c:
615 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
618 * cspi/bonobo/cspi-bonobo.c:
619 (cspi_display_name): New convenience method, gets DISPLAY with
620 screen number stripped, if AT_SPI_DISPLAY isn't already set.
621 (cspi_init): Set the activation env value above before getting
624 * atk-bridge/bridge.c:
625 (spi_display_name): Create the AT_SPI_DISPLAY activation
626 environment for an app, based on the DISPLAY environment with the
627 screen number stripped off.
628 (atk_bridge_init): Allow redirection of error messages to a log.
629 (spi_atk_bridge_get_registry): Call
630 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
632 Fixes for bugs #149962, #136986, #144086.
634 2004-08-16 Christian Rose <menthos@menthos.com>
636 * configure.in: Added "bs" to ALL_LINGUAS.
638 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
640 * configure.in: Added nb to ALL_LINGUAS.
642 2004-09-03 Bill Haneman <bill.haneman@sun.com>
645 (SPI_init): Return error code '2' if the activated
646 registry cannot be pinged. Fixes bug #147648.
648 2004-07-28 Bill Haneman <bill.haneman@sun.com>
650 * registryd/deviceeventcontroller.c:
651 (spi_dec_init_mouse_listener): Don't do XGrabButton,
652 rely on timer-poll instead, to avoid conflict with
655 2004-07-20 Bill Haneman <bill.haneman@sun.com>
657 * configure.in: Revved to 1.5.3.
659 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
661 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
663 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
665 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
667 2004-06-11 Bill Haneman <bill.haneman@sun.com>
669 * atk-bridge/bridge.c:
670 (spi_atk_bridge_do_registration):
671 Register with ATK for AtkComponent:bounds-changed events.
672 (api_atk_bridge_signal_listener):
673 Marshal the AtkRectangle info into the event notification
674 for object:bounds-changed events.
677 (spi_init_any_rect): New method, inits a corba struct of
678 type Accessibility_BoundingBox from an AtkRectangle.
680 * libspi/spi-private.h: Declared spi_init_any_rect (above).
683 (SPIRect): New struct definition.
684 (SPI_freeRect): New declaration.
685 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
688 (AccessibleBoundsChangedEvent_getNewBounds): New method,
689 implemented. Gets the bounding box data from the CORBA_any
690 associated with a bounds-changed event notification.
691 (cspi_internal_event_get_rect): New, used internally by above method.
694 (SPI_freeRect): Implemented this new method, for freeing
697 * test/event-listener-test.c:
698 (main, report_bounds_event):
699 Added a test for object:bounds-changed events.
701 2004-06-01 Bill Haneman <bill.haneman@sun.com>
703 * test/login-helper-server-test.c:
704 (main): Fix C99-ism. Thanks to Jens Granseuer.
706 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
708 * libloginhelper-1.0.pc.in:
709 * idl/Accessibility_LoginHelper.idl:
710 * login-helper/Makefile.am:
711 * login-helper/login-helper.[ch]:
712 * test/login-helper-client-test.c:
713 * test/login-helper-server-test.c: Added files missing from CVS.
714 Files obtained from at-spi-1.5.2 tarball.
716 2004-05-27 Bill Haneman <bill.haneman@sun.com>
718 * configure.in: Create login-helper/Makefile.
719 Incremented micro version.
721 * Makefile.am: Add login-helper subdir and pkgconfig data.
723 * login-helper: New subdir.
725 * libloginhelper-1.0.pc.in: New.
727 * idl/Accessibility_LoginHelper.idl: New file, defines
728 interface whereby authentication clients can identify agents which
729 need access to services during the login process, e.g. screen lock
732 * login-helper/Makefile.am : New.
734 * login-helper/login-helper.[ch] : New, implementation of
735 a LoginHelper base class. Services needing LoginHelper can subclass.
737 * test/Makefile.am : Added test for login-helper, client and
740 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
741 Use proper prefix in #include files.
743 * test/login-helper-client-test.c: New.
745 * test/login-helper-server-test.c: New.
747 2004-05-27 Alexander Shopov <ash@contact.bg>
749 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
751 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
753 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
754 is positive. This should make it easier to detect inapprorpiate unref
757 2004-05-11 James Henstridge <james@daa.com.au>
759 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
760 no-op and deprecated.
762 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
764 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
766 2004-04-28 Bill Haneman <billh@gnome.org>
768 * Makefile.am: Added --enable-gtk-doc to
769 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
771 2004-04-19 Bill Haneman <billh@gnome.org>
773 * configure.in: Revved to 1.5.1.
775 * registryd/deviceeventcontroller.c:
777 (DEControllerPrivateData): Added fields for
778 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
779 (spi_dec_replace_map_keysym): New internal utility for
780 replacing a keysym in the keymap - used to allow
781 synthesis of individual characters which aren't in the
783 (spi_dec_reset_reserved): New; resets the changed keysym value
785 (keycode_for_keysym): We now try to deal with failed
786 XKeysymToKeycode requests by changing a keymap value
787 and returning a reserved keycode. We now take
788 a DEController pointer as first arg.
789 (spi_controller_register_with_devices): Call XkbGetMap with
790 the XkbKeySymsMask. Find the highest keycode in the current
791 keymap which doesn't have any grabs, and mark that one for
792 temporary re-mapping when out-of-range KeySyms are synthesized.
793 (dec_synth_keycode_press): Call XFlush after synthesizing the key
796 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
798 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
800 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
802 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
804 2004-03-24 Bill Haneman <billh@gnome.org>
807 (AccessibleTable_addRowSelection),
808 (AccessibleTable_addColumnSelection),
809 (AccessibleTable_removeRowSelection),
810 (AccessibleTable_removeColumnSelection):
811 Add declarations for spi wrappers which were
812 inadvertantly omitted. Fixes bug #133413.
815 Revved to 1.5.0 (unstable series for GNOME 2.7).
817 2004-03-24 Bill Haneman <billh@gnome.org>
819 * atk-bridge/bridge.c:
820 Bracketed some debug output in
821 conditionals, to avoid printing it in normal use.
824 * libspi/hyperlink.c:
825 Don't cast 'object' to ATK_OBJECT when constructing
826 an AtkAction interface for a hyperlink.
827 See discussion in bug #120659.
829 * test/key-listener-test.c:
830 (report_all_key_event): Send output to stderr,
831 not stdout, for consistency with the rest of the test callbacks.
834 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
835 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
836 Incremented to 1.4.1 (but didn't dist yet - I'm going to
837 try incrementing the revision AFTER doing a dist, at least
840 2004-03-22 Bill Haneman <billh@gnome.org>
842 * configure.in: Revved to 1.4.0, libtool 9.14.9
844 2004-03-17 Laszlo Peter <laca@sun.com>
846 * libspi-1.0-uninstalled.pc.in: add idldir
848 * cspi-1.0-uninstalled.pc.in: add idldir
850 2004-03-16 Gareth Owen <gowen72@yahoo.com>
852 * configure.in: Added "en_GB" to ALL_LINGUAS
854 2004-03-15 Bill Haneman <billh@gnome.org>
856 * configure.in: Revved to 1.3.16,
859 2004-03-15 Laszlo Peter <laca@sun.com>
861 * libspi-1.0-uninstalled.pc.in: new file
863 * cspi-1.0-uninstalled.pc.in: new file
865 * configure.in: add the new pc files to AC_OUTPUT
867 * Makefile.am: add the new pc files to EXTRA_DIST
869 2004-03-12 Bill Haneman <billh@gnome.org>
871 * atk-bridge/bridge.c:
872 (spi_atk_bridge_key_listener):
873 Make sure to return consumed=FALSE if snoop
874 event is not dispatched to listener.
877 2004-03-01 Bill Haneman <billh@gnome.org>
879 * configure.in: Revved to 1.3.15,
882 2004-03-07 Danilo Segan <dsegan@gmx.net>
884 * configure.in: Added "sr@ije" to ALL_LINGUAS.
886 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
888 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
890 2004-03-01 Bill Haneman <billh@gnome.org>
892 * configure.in: Revved to 1.3.14.
895 (SPI_exit): Removed "bye-bye" exit message.
896 Moved "leak" report to happen before the
897 iteration over the leaked refs list.
898 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
900 2004-02-24 Bill Haneman <billh@gnome.org>
902 * configure.in: Revved to 1.3.13.
904 * docs/reference/cspi/Makefile.am:
905 Correct typo that was breaking the docs build.
907 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
909 * autogen.sh: Require version 1.7 of automake.
911 * configure.in: call GTK_DOC_CHECK([1.0])
913 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
915 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
917 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
919 * test/Makefile.am: Remove use of CFLAGS.
921 This fixes bug #132987.
923 2004-02-11 Bill Haneman <billh@gnome.org>
925 * reverted most of Tomasz' patch below, since it was breaking
926 builds (see bug #134058).
928 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
930 * docs/reference/cspi/at-spi-cspi.types: added empty file for
931 correct pass "make dist" (empty .. because seems no sach types in
932 header files with gtk-doc markups).
933 * docs/reference/cspi/Makefile.am, configure.in:
934 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
935 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
936 * Makefile.am: added:
937 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
938 for force correct pass generate documentation on "make distcheck".
939 * libspi/Makefile.am: fixes for automake >= 1.6.
940 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
941 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
944 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
946 * docs/reference/cspi/Makefile.am (install-data-local): Install
947 index.sgml since the doc autobuilder on widget.gnome.org looks for
950 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
952 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
955 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
957 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
959 2004-01-27 Brian Cameron <brian.cameron@sun.com>
961 * test/simple-at.c: Fixed null string problems that cause core
962 dumping problems on Solaris.
964 2004-01-12 Bill Haneman <billh@gnome.org>
966 * configure.in: Incremented version to 1.3.11.
968 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
970 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
971 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
974 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
976 * configure.in: Added "fa" to ALL_LINGUAS.
978 2003-12-20 Arafat Medini <lumina@silverpen.de>
980 * configure.in: Added "ar" to ALL_LINGUAS
982 2003-12-16 Bill Haneman <billh@gnome.org>
984 * registryd/registry-main.c:
986 Set the reg_env DISPLAY variable before registering the
987 activated registry service. Fixes bug #129479.
989 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
991 * configure.in: Added "id" in ALL_LINGUAS
992 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
994 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
996 * registryd/deviceeventcontroller.c (global_filter_fn):
997 When an event is consumed discard any XEvents were added to
998 the queue while dealing with the the event. This can happen if
999 processing of the event takes a long time. Call XUngrabKeyboard
1000 if an event was discarded. This fixes bug $124837.
1001 Only call wait_for_release_event for a KeyPress.
1002 Use local variable display instead of spi_get_display().
1003 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1006 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1008 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1009 Allow for mask to contain values other than NumLock mask.
1012 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1014 * registryd/devieceventcontroller.c:
1015 (wait_for_release_event): Change first parameter from GdkEvent to
1017 (global_filter_fn); Correct call to wait_for_release_event.
1021 2003-12-08 Bill Haneman <billh@gnome.org>
1025 * registryd/ucs2keysym.c: New file.
1027 * registryd/deviceeventcontroller.c:
1028 (dec_keysym_for_unichar): Remove old partial implementation and
1029 replace with call to ucs2keysym(), which is much more complete.
1030 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1035 2003-12-05 Bill Haneman <billh@gnome.org>
1037 * configure.in: Version 1.3.9.
1039 * docs/reference/cspi/tmpl/spi_registry.sgml:
1040 Added reference to libspi/keymasks.h to the
1041 description of Registry queries: AccessibleKeyMaskType.
1044 2003-12-04 Bill Haneman <billh@gnome.org>
1046 Fix for bug #121974.
1048 * idl/Accessibility_Application.idl:
1049 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1050 setlocale's LC_TYPEs.
1051 (Accessibility::Application::getLocale): New method.
1052 Allows clients to query the locale, by type, of an app.
1055 * cspi/spi_application.c:
1056 (AccessibleApplication_getLocale): New method, wraps IDL above.
1058 * libspi/application.c:
1059 (spi_application_class_init): Init epv entry for getLocale.
1060 (impl_accessibility_application_get_locale): Impl for above.
1062 * test/test-simple.c:
1063 (test_application): Added assertion for getLocale, i.e.
1064 that the string from AccessibleApplication_getLocale (app, type)
1065 is the same as that from setlocale (type, NULL);
1067 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1069 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1070 the keyboard on a timeout intil the key state goes from pressed to
1071 released. Fixes bug #111429.
1073 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1075 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1076 root object so that it is present when a context menu in an
1077 out-of-process applet is popped up.
1078 (spi_atk_bridge_do_registration): Create acceessible application root
1079 object only if it does not exist.
1081 This fixes bug #125834.
1083 2003-12-01 Bill Haneman <billh@gnome.org>
1085 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1088 Added enum for AccessibleStreamableContentSeekType.
1089 (AccessibleStreamableContent_freeContentTypeList): New.
1091 * cspi/spi_streamablecontent.c:
1092 (accessible_bonobo_stream_client_seek): New private method.
1093 (AccessibleStreamableContent_seek): Implemented this method,
1094 using Bonobo_Stream_seek.
1095 (AccessibleStreamableContent_freeContentTypeList): New method
1096 for freeing the return value from
1097 AccessibleStreamableContent_getContentTypes.
1098 (stream_cache_item_free): Replaces stream_release; stop leaks.
1099 (stream_release): removed.
1100 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1101 free the memory properly.
1103 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1105 Fix for bug #116009.
1107 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1109 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1111 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1113 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1115 2003-12-01 Bill Haneman <billh@gnome.org>
1117 Fix for bug/rfe #127463.
1119 * idl/Accessibility_Accessible.idl:
1120 (getLocalizedRoleName): New.
1121 (unimplemented4): Removed (replaced by above).
1123 * libspi/accessible.c:
1124 (impl_accessibility_accessible_get_local_role_name): New.
1125 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1129 (Accessible_getLocalizedRoleName): New.
1131 * cspi/spi_accessible.c:
1132 (Accessible_getLocalizedRoleName): New.
1134 2003-12-01 Bill Haneman <billh@gnome.org>
1136 Fix for bug #118581.
1137 * idl/Accessibility_Text.idl:
1138 (getDefaultAttributes): New.
1139 (unimplemented4): Removed (replaced by above method).
1142 (impl_getDefaultAttributes): New method.
1143 (spi_text_class_init):
1144 initialize the get_default_attributes slot in the epv.
1147 (AccessibleText_getDefaultAttributes): New prototype.
1150 (AccessibleText_getDefaultAttributes): New method.
1152 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1154 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1155 write beyond the end of the table. Fixes bug #120473.
1157 2003-09-30 Christian Rose <menthos@menthos.com>
1159 * configure.in: Added "eu" to ALL_LINGUAS.
1161 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1163 * configure.in: ALL_LINGUAS: Added no.
1165 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1167 * configure.in: Added lt to ALL_LINGUAS.
1169 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1171 * atk-bridge/bridge.c:
1172 (atk_bridge_init): Register event listeners always even for
1173 out-of-process applet.
1174 (spi_atk_bridge_toplevel_added): Remove call to
1175 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1176 (spi_atk_bridge_toplevelk_removed): Remove call to
1177 spi_atk_deregister_event_listenersa as the listeners are now always
1179 (spi_atk_bridge_register_application): Remove call to
1180 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1182 This fixes bug #120991.
1184 * libspi/table.c (impl_getColumnDescription): Correct typo,
1185 pointed out by Bolian.Yin@sun.com.
1187 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1189 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1191 2003-09-08 Bill Haneman <billh@gnome.org>
1193 * configure.in: Revved to 1.3.7.
1195 This is the GNOME 2.4.0 release of at-spi.
1197 * docs/reference/cspi/Makefile.am:
1198 Removed spurious inclusion of 'index.sgml' in the
1199 html directory; this was breaking make distcheck and
1200 also some other build environments.
1202 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1204 * registryd/registry.[ch}:
1205 Add queue_handler_id and focus_object to SpiRegistry data structure.
1206 (registry_flush_event_queue): If event being discarded is
1207 "state-change:focused" store object as focus_object.
1208 (registry_start_queue): Remove queue handler and focus object
1210 (registry_discard_event): New function which discards a focus event
1211 if we had stored focus object in the registry.
1212 (registry_queue_event): Add new check that is_queueing is set as this
1213 function is reentrant.
1214 (registry_filer_event): Add call to registry_discard_event.
1216 This resolves issues raised in bug #108664.
1218 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1220 * configure.in: Added "bn" to ALL_LINGUAS.
1222 2003-09-04 Bill Haneman <billh@gnome.org>
1224 * cspi/spi_event.c: Documentation improvements for
1225 (SPI_registerAccessibleKeylistener).
1227 * docs/reference/tmpl/spi_registry.sgml:
1228 Documentation improvements for SpiAccessibleKeylistenerCB.
1230 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1232 * configure.in: Added "ro" to ALL_LINGUAS.
1235 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1237 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1238 not decremented to zero. Fixes bug #120725.
1240 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1242 * configure.in: Added "ja" to ALL_LINGUAS.
1244 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1246 * configure.in: Added "is" to ALL_LINGUAS.
1248 2003-08-22 Christian Rose <menthos@menthos.com>
1250 * configure.in: Added "nl" to ALL_LINGUAS.
1252 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1254 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1255 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1257 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1259 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1260 type for unspecified exception.
1261 * cspi_streamablecontect): Add include of string.h for memcpy.
1262 (stream_release): Correct call to bonobo_object_release_unref
1263 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1264 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1265 argument of _cspi_expection_throw.
1266 * libspi/hyperlink.c: Add include of libspi/action.h:
1267 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1268 * libspi/streamablecontent.c: add include of libspi/component.h.
1269 * regisrtyd/deviceeventcontroller.c:
1270 (spi_dec_translate_mask): Removed unused variable priv.
1271 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1272 * registryd/registry.c:
1273 (registry_filter_event): Remove unused variable queue_is-empty.
1274 (impl_registry_notify_event): Use correct modifier in fprintf call.
1276 This fixes compiler warnings reported in bug #120220.
1278 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1280 * registryd/registryd.c: Remove this file.
1282 2003-08-17 Sanlig Badral <badral@openmn.org>
1284 * configure.in: Added mn to ALL_LINGUAS.
1286 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1288 * configure.in: Added et to ALL_LINGUAS.
1290 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1292 * test/event-listener-test.c: Change active-descendant to
1293 active-descendant-changed.
1295 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1297 * configure.in: Added "fi" in ALL_LINGUAS.
1299 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1301 * configure.in: Added "hi" in ALL_LINGUAS.
1303 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1305 * configure.in: Revved to 1.3.6.
1309 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1311 * registryd/deviceeventcontroller.c
1312 (spi_device_event_controller_object_finalize): Fix typo in previous
1315 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1317 * registryd/deviceeventcontroller.c
1318 (spi_device_event_controller_object_finalize): Fix build on
1319 systems without XEvIE.
1321 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1323 * acconfig.h, configure.in, registryd/Makefile.am,
1324 registryd/devicecontoller.[ch]: Add XEViE support.
1326 2003-08-06 Wang Jian <lark@linux.net.cn>
1328 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1330 2003-08-06 Metin Amiroff<metin@karegen.com>
1332 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1334 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1336 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1337 MODIFIER_ALT in correct place.
1339 This fixes part of bug #118114.
1341 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1343 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1345 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1347 * configure.in: Added "ko" to ALL_LINGUAS.
1349 2003-07-28 Ole Laursen <olau@hardworking.dk>
1351 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1353 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1355 * configure.in: Added "sq" to ALL_LINGUAS.
1357 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1359 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1361 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1363 * configure.in: updated ALL_LINGUAS list
1365 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1367 * configure.in: Added Belarusian to ALL_LINGUAS.
1369 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1371 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1373 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1374 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1376 This fixes bug #116949.
1378 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1380 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1381 Correct CSPI to SPI in function documentation.
1383 This fixes bug #118054.
1385 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1387 * configure.in: Added Russian to ALL_LINGUAS.
1389 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1391 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1393 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1395 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1397 2003-07-10 Joel Brich <joel.brich@laposte.net>
1399 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1401 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1403 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1405 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1407 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1408 resources allocated for AccessibleEvent. See cspi_event().
1410 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1411 static variable streams to NULL.
1413 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1414 Update so that AcessibleEvent_ref will work.
1416 This fixes bug #116624.
1418 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1420 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1422 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1424 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1426 2003-07-02 Christian Neumair <chris@gnome-de.org>
1428 * configure.in: Added "de" (German) to ALL_LINGUAS.
1430 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1432 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1434 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1436 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1438 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1440 * configure.in: Added "pl" to ALL_LINGUAS.
1442 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1444 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1446 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1449 (get_action_from_servant):
1450 Removed assertion that action is implemented on an AtkObject.
1452 * libspi/hyperlink.c:
1453 (spi_hyperlink_new):
1454 Aggregate AccessibleAction interface on the hyperlink object if
1455 the object implements AtkAction. (This convention is used in
1458 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1460 * configure.in: Revved to 1.3.5.
1462 * registryd/Accessibility_Registry.server.in.in:
1463 Marked up appropriate strings for translation.
1465 * atk-bridge/bridge.c: Marked a couple of
1466 user-visible warnings for translation. Questionable
1467 whether they are really useful, but possibly so.
1470 2003-06-28 Christian Rose <menthos@menthos.com>
1472 * configure.in: Added "sv" to ALL_LINGUAS.
1474 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1476 * registryd/registry.c:
1477 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1478 (registry_defer_on_event): Defer focus: events, this is an
1479 improvement to the patch for bug #108664.
1481 * TODO: Update with 2.4/"Dev Complete" items.
1483 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1485 * atk-bridge/bridge.c:
1486 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1487 looks up signals once.
1488 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1489 if doing registration.
1490 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1491 when doing registration.
1493 This fixes bug #115014.
1495 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1497 * atk-bridge/bridge.c:
1498 (atk_bridge_init): Add signal handler for children-changed:remove on
1499 root when in a BonoboComponent.
1500 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1501 for first toplevel only other incrememt variable toplevels.
1502 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1503 application and remove listeners.
1504 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1506 (spi_atk_deregister_event_listeners): New function which removes
1508 (reinit_register_vars): New fuction which reinitializes variables.
1510 This fixes bug #111578.
1512 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1514 * configure.in: version 1.3.4.
1516 * cspi/spi_accessible.c:
1517 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1520 2003-06-13 Michael Meeks <michael@ximian.com>
1522 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1524 * cspi/spi_main.c (cspi_peek_ev): impl.
1526 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1528 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1530 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1532 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1533 SPI_ROLE_AUTOCOMPLETE
1535 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1537 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1538 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1540 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1542 * libspi/streamablecontent.h:
1543 * libspi/streamablecontent.c:
1544 New files, provide implementation/wrappers for
1545 Accessibility_StreamableContent.
1547 * cspi/spi_streamablecontent.c:
1548 Connected the C wrappers to the libspi C bindings.
1549 (AccessibleStreamableContent_close): New method.
1552 (AccessibleStreamableContent_close): New method, needed
1553 since we have an "open, [seek], read, close" model in cspi.
1555 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1557 Fix for #108664; Padraig's revision of my original patch.
1559 * registryd/registry.h:
1560 Added event queue list, is_queuing, and exit_notify_timeout
1561 to the registry struct.
1563 * registryd/registry.c:
1564 (registry_init): Initialize new struct from registry.h.
1565 (impl_registry_notify_event):
1566 Filter events before notifying, in case some need to be
1568 (registry_filter_event): New,
1569 we defer certain incoming events (for instance
1570 window:deactivate) because we may wish to hide
1571 or reject them based on pending events. This is
1572 mostly a workaround for bug #108664.
1573 (registry_queue_event, registry_start_queue): New.
1574 (registry_defer_on_event): Test event to see if it
1576 (registry_reset_on_event): Returns TRUE if the
1577 event should cause a queue reset.
1578 (registry_discard_on_event): Returns TRUE if the event
1579 should cause the previous queue contents to be discarded.
1580 (registry_timeout_flush_queue): Flushes the pending event
1581 queue if no reset/discard-triggering events have come in
1582 within the timeout period.
1583 (registry_emit_event): New.
1584 (registry_clone_notify_context): New, used when queueing the
1585 event notify contexts.
1587 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1589 * configure.in: Version revved to 1.3.2, lt 0.9.2
1590 Incremented ATK required version to 1.3.4.
1592 * cspi/spi_registry.c:
1593 (SPI_generateKeyEvent):
1594 We now pass the keystring along if it's non-null.
1596 * registryd/deviceeventcontroller.c:
1597 (keysym_mod_mask): New method, returns modifier mask
1598 required to generate a keysym from a given keycode.
1599 (dec_synth_keysym): New method.
1600 (dec_synth_keystring): New method.
1601 (dec_get_modifier_state): New method.
1602 (dec_lock_modifiers): New
1603 (dec_unlock_modifiers): New.
1604 (dec_keysym_for_unichar): New, rather brute-force
1605 conversion from UCS-4 to X KeySyms. Only works for
1606 Latin at the moment, with partial implementations for
1607 Greek, Hebrew, and (incomplete) Katakana.
1608 (impl_generate_keyboard_event): Now implement
1609 "KEYSTRING" synthesis and implement "KEYSYM"
1611 (keycode_from_keysym): Improved, passes a returned
1612 modmask value now if the corresponding param is non-NULL.
1614 Fixes bugs #92143 and #109776.
1617 * test/keysynth-test.c:
1618 New test program for key synthesis, to confirm fixes for
1622 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1624 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1626 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1627 Add line for RELATION_POPUP_FOR
1629 * docs/reference/cspi/tmpl/spi_relation.sgml:
1630 Add relation SPI_RELATION_POPUP_FOR
1632 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1633 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1635 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1637 * libspi/relation.c (spi_init_relation_type_table):
1638 Add line for RELATION_POPUP_FOR
1640 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1642 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1643 there are still windows which have not been deleted and emit
1644 window:deactivate, if necessary and window:destroy events.
1645 This fixes bug #114370. The change on June 5th was not correct.
1647 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1649 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1652 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1654 New methods for client exception handling and interception.
1655 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1656 (SPI_exceptionHandlerPop): You guessed it...
1657 (SPI_getSourceType): Return the type of object which offended.
1658 (SPI_getExceptionCode): Return an enum code telling, possibly,
1659 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1660 (SPIAccessibleException_getSource): get the source object for
1661 exceptions that come from Accessibles, if SPIExceptionSourceType is
1662 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1663 (SPIException_getDescription): New, returns a string description of
1664 the problem. [Not yet a stable ABI, strings are not frozen]
1666 * cspi/spi-private.h:
1667 Added implementation details of opaque SPIException
1671 Implementations of above. Also
1672 (_cspi_exception_throw): new private method that
1673 dispatches exceptions to handlers, called from cspi-bonobo.c
1675 * cspi/bonobo/cspi-bonobo.c:
1676 (cspi_check_ev): call _cspi_exception_throw.
1677 Don't print a warning message if the exception has been
1678 handled by _cspi_exception_throw.
1680 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1682 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1683 there are still windows which have not been deleted and emit
1684 window:deactivate, if necessary and window:destroy events.
1685 This fixes bug #114370.
1687 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1690 (cspi_accessible_is_a): Make non-fatal
1691 if the object reference is dead.
1693 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1695 * cspi/spi_main.c: #include <stdio.h>
1696 * test/simple-at.c: ditto
1697 * test/event-listener-test.c: ditto
1698 * test/screen-review-test.c: ditto
1700 2003-05-30 Michael Meeks <michael@ximian.com>
1702 * test/test-simple.c (main): use CORBA_ORB_perform_work
1703 instead of an unnecessary linc_ call.
1705 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1707 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1708 Add SPI_STATE_INDETERMINATE.
1710 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1713 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1715 * libspi/stateset.c (init_state_type_tables): Add support for
1718 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1720 * configure: Update versions of atk and gail required.
1721 This fixes bug #113268.
1723 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1725 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1727 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1729 * libspi/Makefile.am:
1730 Ensure headers are generated before being used by c sources.
1732 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1735 Simplified lt versioning rules.
1736 Incremented version to 1.3.0, to indicate that we're on the
1737 unstable branch now.
1739 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1741 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1742 Add MKDB_OPTIONS=--outtput-format=xml
1744 * docs/reference/cspi/at-spi-cspi-docs.sgml
1745 docs/reference/idl/at-spi-idl-docs.sgml:
1746 Convert to Docbook XML.
1748 This fixes bug #111793.
1750 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1752 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1753 AcccessibleKeyEventType, AccessibleKeyMaskType.
1755 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1757 * cspi/state-types.h: Add documentation for AccessibleState.
1759 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1760 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1761 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1762 AccessibleComponentLayer.
1764 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1767 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1769 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1770 Accessible. Add description of AccessibleEvent,
1771 AccessibleEventListenerCB.
1773 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1776 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1777 documentation. Add description of AccessibleKeystrokeListenerCB,
1778 AccessibleKeyEventMask, AccessibleModifierMaskType,
1779 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1780 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1782 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1785 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1788 This fixes bug #104730.
1790 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1792 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1793 Set is_text field of Accessibility_DeviceEvent data structure.
1795 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1796 is-text field of AccessibleDeviceEvent data structure.
1798 This addresses part of bug #108666.
1800 * registryd/devcieeventcontroller.c: Unset debug option.
1802 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1804 * cspi/accessible.c:
1805 (cpi_initial_relation_type_table): New function which initializes
1806 mapping between Accessibility_RelationType and AccessibleRelationType.
1807 (cspi_relation_type_from_spi_relation_type): New function which
1808 translates an Accessibility_RelationType into an AccessibleRelationType.
1809 (AccessibleRelation_getRelationType): Use
1810 cpi_relation_type_get_spi_relation_type to return correct value.
1811 (spi_state_to_corba): Return correct type for default case.
1813 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1814 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1816 * cspi/cspi-bonobo-listener.c:
1817 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1820 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1821 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1822 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1823 libspi/image.c, libspi/listener.c, libspi/selection.c,
1824 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1825 registryd/desktop.c, registryd/registry.c:
1826 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1828 * libspi/eventlistener.c
1829 Remove semicolon after BONOBO_TYPE_FUNC.
1831 * libspi/relation.c:
1832 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1833 (spi_init_relation_type_table): Initialize using correct type.
1835 * registryd/desktop.c:
1836 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1837 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1838 of Accessibility_KeyEventType.
1840 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1843 * tests/simple-at.c, tests/screen-review-test.c:
1844 Add include for <strings.h>.
1846 * tests.stress-test.c:
1847 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1849 These changes fix compiler warnings when using FORTE compiler on
1850 Solaris; fixes bug #107479.
1853 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1856 * configure.in: revved to 1.1.10
1858 * libspi/keymasks.h:
1859 (SPI_KEYMASK_NUMLOCK): Added.
1861 * registryd/deviceeventcontroller.c:
1862 (spi_key_event_matches_listener): AND with a smaller
1863 bitmask (as we should).
1864 (spi_dec_translate_mask):
1865 New method, sets the virtual NumLock modifier bit
1866 if numlock is on. Eventually it can handle other virtual
1867 modifier bits if needed, or other marshalling from
1868 at-spi modifier masks to platform (X) masks.
1869 (spi_dec_key_listener_new):
1870 Call spi_dec_translate_mask to set up virtual mod bits
1871 in the 'mask' field when creating a new listener struct.
1872 (spi_dec_emit_modifier_event):
1873 Set the virtual (i.e. NumLock) bits before emitting event.
1874 (spi_controller_register_with_devices):
1875 Query for the NumLock modifier 'physical' bit if Xkb is
1876 present, for use in above methods.
1880 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1882 * registryd/deviceeventcontroller.c:
1883 (spi_keystroke_from_x_key_event):
1884 Instead of checking to see if the keysym is
1885 printable, check the string from XLookupString
1886 if available, get the first unicode character from it,
1887 and call g_unichar_isprint to determine whether the
1888 is_text flag should be TRUE or FALSE.
1892 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1894 * atk-bridge/bridge.c: Add support for extended events
1895 * cspi/spi_event.c: Add documentation and implementation for
1897 * tests/event-listener-test.c: Add tests for extended events.
1899 This fixes bugs #100424 and #100426.
1901 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1903 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1904 of LT_CURRENT. This fixes bug #89350.
1906 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1908 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1909 number of signal parameter values before accessing them. This fixes
1912 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1914 * configure.in: Fixed duplicate inclusion of -lspi.
1915 * branched for gnome-2-2/HEAD.
1916 [created tag "gnome-2-2"]
1918 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1920 * configure.in: 1.1.9 release.
1923 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1925 [needed by GOK, to fix bugs 107985 and 107988]
1926 * registryd/deviceeventcontroller.c:
1927 (spi_dec_clear_unlatch_pending):
1928 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1929 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1930 (spi_dec_init_mouse_listener):Emit warning if mouse button
1932 (spi_device_event_controller_forward_mouse_event):
1933 Removed unnecessary parens from a conditional.
1934 (global_filter_fn):Added TODO comment.
1935 (impl_generate_keyboard_event):
1936 Cancel a pending relatch if a 'delatching' key was
1939 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1941 * atk-bridge/bridge.c:
1942 Change atk_signal_child_changed to atk_signal_children_changed.
1943 Reorganize code in spi_atk_bridge_signal_listener().
1945 * test/event-listener-test.c:
1946 Add children_changed_listener and report_children_changed_event()
1947 to test AccessibleChildEvent_getChildAccessible.
1949 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1951 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1952 g_strdup to CORBA_String_dup (bug #105291)
1954 * test/event-listener-test.c (report_text_event): Add call to
1957 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1959 * registryd/deviceeventcontroller.c:
1960 (spi_keystroke_from_x_key_event):
1961 Fix string and keysym return codes to match modifier state.
1964 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1966 * registryd/deviceeventcontroller.c:
1967 (spi_keystroke_from_x_key_event):
1968 Fix segv due to improper use of isprint(c). [bug #107254]
1970 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1973 (get_accessible_text_boundary_type):
1974 Move default return value to (new) default case in switch.
1975 (get_accessible_text_clip_type):
1976 Move default return value to (new) default case in switch.
1978 * libspi/application.c:
1979 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1980 Remove unused methods.
1981 (impl_accessibility_application_register_object_event_listener):
1982 Remove unused methods.
1985 Added #include of <math.h>.
1987 * registryd/deviceeventcontroller.c:
1988 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1989 we don't currently use this method.
1990 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1992 (impl_generate_key_event):
1993 Remove unused variables.
1994 (impl_generate_mouse_event):
1995 Initialize button to zero, just in case we get an invalid
1996 input. Added support for mouse buttons 4 and 5.
1997 (spi_device_event_controller_new):
1998 Removed unused variable declaration for 'private'.
2000 Added #include of <gdk/gdk.h>
2002 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2004 * configure.in: Update to work when X is not installed in expected
2005 location. Fixes bug #105836.
2007 * atk-bridge/bridge.c
2008 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2010 (spi_atk_register_event_listener): Add signal listener for
2012 (spi_atk_bridge_signal_listener): Event event when link-selected
2013 signal is emitted. (bug #104622)
2015 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2016 on returned string. (bug #105291)
2018 * test/event-listener-test.c: Add test for link-selected.
2020 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2022 * atk-bridge/Makefile.am: Correct typo in previous commit.
2024 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2026 * atk-bridge/Makefile.am: Allow for build directory to be different
2027 from source directory
2029 * registryd/Makefile.am: Allow for build directory to be different
2030 from source directory
2034 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2037 Fixed dependencies for libcspi so that libspi gets pulled in
2038 properly. Fixes 104741.
2042 Clean up inline docs a little.
2044 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2046 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2047 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2048 the AtkObject within an SpiDesktop.
2049 This addresses bug #101524.
2051 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2052 Remove call to gdk_init().
2054 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2055 so that Display is set when SpiDesktop is created.
2057 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2059 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2060 This fixes bug #102830.
2062 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2064 * test/test-simple.c: Update to take account of fact that GailButton
2065 now implements AtkText.
2066 (create_text_window): Set name on AtkObject for GtkEntry.
2067 (validate_accessible): Check accessible name before calling test_text().
2069 * libspi/Makefile.am: Fix problem with building outside of source
2070 directory. Bug #98120.
2072 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2073 typo in documentation comments. Bug #94275.
2075 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2077 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2079 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2082 Add includes to avoid compiler warnings on Solaris.
2083 (impl_getRangeExtents): Bug fix.
2085 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2087 Fix for 100944, [API addition approved by Gman and murrayc].
2094 * idl/Accessibility_Text.idl:
2095 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2096 (Text::getRangeExtents): New method for efficient
2097 bounds query of a text range.
2098 (Text::getBoundedRanges): New method for efficient
2099 clipping of text to bounding boxes.
2100 (unImplemented7, unImplemented8):
2101 Removed these padding methods to preserve bincompat.
2104 (impl_getRangeExtents): implementation of new IDL.
2105 (impl_getBoundedRanges): implementation of new IDL.
2106 (SpiTextRect): Internal use struct.
2107 (_spi_text_rect_union): internal method, calculates union of two
2108 SpiTextRect bounding rects.
2109 (_spi_text_range_seq_from_gslist): internal method, allows us
2110 to build our sequence efficiently as a gslist then convert it
2112 (_spi_bounds_contain): internal method, determines whether
2113 a text character is "in" or "out" of a clip rect according to
2114 values of TEXT_CLIP_TYPE.
2115 (spi_text_class_init): Initialize the new methods in the epv.
2118 (AccessibleTextClipType): New enum used by screen review api.
2119 (AccessibleTextRange): New struct used by screen review api.
2120 (AccessibleText_getRangeExtents):
2121 cspi binding for Accessibility_Text_getRangeExtents.
2122 (AccessibleText_getBoundedRanges):
2123 cspi binding for Accessibility_Text_getBoundedRanges.
2124 (AccessibleTextRange_freeRanges): convenience method.
2127 (AccessibleText_getRangeExtents):
2128 cspi binding for Accessibility_Text_getRangeExtents.
2129 (AccessibleText_getBoundedRanges):
2130 cspi binding for Accessibility_Text_getBoundedRanges.
2131 (AccessibleTextRange_freeRanges): convenience method.
2132 (get_accessible_text_clip_type): internal conversion method.
2133 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2135 * registryd/deviceeventcontroller.c:
2136 (spi_dec_mouse_check):
2137 Improved behavior for mouse:abs events
2138 [same granularity as mouse:rel events, and no
2139 events when mouse is idle].
2141 2002-12-16 Michael Meeks <michael@ximian.com>
2143 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2145 * libspi/stateset.c (state_spi_to_atk): split out
2146 ( fix several remote array bounds nasties )
2147 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2148 (impl_remove): make safe from array bounds issues.
2149 (spi_atk_state_from_spi_state): impl.
2151 * libspi/stateset.h (spi_state_set_cache_is_empty):
2152 add a set of wrapper defines to get layering right.
2154 * cspi/spi_accessible.c: update state set stuff to
2157 2002-12-14 Michael Meeks <michael@ximian.com>
2159 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2160 to avoid 2 roundtrips to the registry per key event
2161 (spi_atk_bridge_key_listener): upd.
2162 (deregister_application): release the dec.
2164 * registryd/registry.c (notify_listeners_cb):
2165 bin lots of re-enterant complexity - we no longer
2166 do a round-trip bonobo ref here, ensure that a single
2167 listener's exception failure won't poison all other
2169 (impl_registry_notify_event): bin obvious memory leak.
2171 2002-12-13 Michael Meeks <michael@ximian.com>
2173 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2174 init the ev so the error is meaningful.
2175 (spi_atk_bridge_key_listener): ditto.
2177 * cspi/spi_main.c (cspi_ev): init the ev so we start
2178 with a clean slate, otherwise the first exception
2179 kills us completely.
2181 * cspi/spi_text.c (get_accessible_text_boundary_type):
2182 add a fallthrough for no warnings.
2184 * cspi/spi_registry.c: prune unused warnings.
2186 * cspi/spi_main.c (cspi_object_take): fix
2187 mind-blowing brokenness ( by watching the compile
2190 * cspi/spi_accessible.c (Accessible_getStateSet):
2191 re-impl. to use an AtkStateSet.
2192 (spi_state_type_from_accessible_state),
2193 (init_state_table): bin these.
2195 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2197 (atk_state_set_from_accessibility_state_set): here.
2199 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2200 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2201 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2202 (AccessibleStateSet_add, AccessibleStateSet_remove),
2203 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2204 (AccessibleStateSet_isEmpty): re-write to use a local
2207 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2209 * configure.in: Revved to 1.1.7 (new keymask vals).
2211 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2213 * libspi/keymasks.h:
2214 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2216 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2219 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2220 to compare two CORBA_TypeCodes.
2221 (cspi_internal_event_add): Silence warning from FORTE compiler.
2223 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2224 avoid implicit declaration of functions.
2226 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2228 * atk-bridge/bridge.c:
2229 (spi_atk_bridge_init_event_type_consts): Store signal id for
2230 active-descendant-changed signal.
2231 (spi_atk_register_event_listeners): Add signal listener for
2232 active-descendant-changed signal,
2233 (spi_atk_bridge_signal_listener): Move code in function
2234 spi_atk-signal_emit_event() into this function.
2235 Add support for active-descendant-changed
2236 Update support for child-changed signal.
2237 (spi_bridge_window_event_listener): Silence warning.
2239 * libspi/spi_private.[ch]:
2240 (spi_init_any_object): Change second parameter from CORBA_Object to
2242 Omit call to CORBA_Object_duplicate().
2243 Set CORBA_any's _value to CORBA_Object*.
2245 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2251 (AccessibleEvent_ref, AccessibleEvent_unref):
2252 New methods, for persisting an event outside the emission context.
2253 Must be used if the new accessor methods are to be called
2254 outside of the event listener's callback.
2256 * cspi/bonobo/cspi-bonobo.c:
2257 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2258 as second parameter instead of NULL, so we can call
2259 cspi_check_ev afterwards.
2262 (cspi_object_take): New internal method,
2263 converts a CORBA_Object reference to a hard ref on
2264 an Accessible if possible, returning NULL if the object
2265 reference is invalid or an Accessible * otherwise.
2268 (AccessibleEvent_ref):
2269 Increment the event's internal private refcount, and
2270 add the event's internal struct to an internal cache
2271 if it's not already there.
2272 (AccessibleEvent_unref):
2273 Decrement the event's refcount and remove it from
2274 the cspi event cache if refcount==0.
2275 (cspi_event_compare): New private method.
2276 Compares two event structs via their ids. Used
2278 (cspi_internal_event_lookup): New private method.
2279 (cspi_internal_event_check): New private method,
2280 a 0-order sanity check for events to make sure their
2281 private data is intact.
2282 (cspi_internal_event_add, cspi_internal_event_remove):
2283 New private methods for managiing the event cache.
2285 * cspi/bonobo/cspi-bonobo-listener.c:
2287 Initialize the new private data elements (id, magic, ref_count).
2289 * atk-bridge/bridge.c:
2290 (spi_atk_bridge_signal_listener):
2291 Fixed bug #100530, passing wrong params to emission func.
2293 * registryd/deviceeventcontroller.c:
2294 (spi_dec_button_update_and_emit):
2295 Fixed type in mask bit operations; fix for #99799.
2297 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2299 Removed some of the more dangerous workarounds from
2300 previous commit; they are only needed by GOK, which
2301 in reality should be using another method to accomplish
2302 the goals. So on reconsideration some of the workarounds
2303 need to be reverted:
2305 * registryd/deviceeventcontroller.c:
2306 (spi_keycodes_contain, spi_dec_init_keycode_list):
2307 Removed these methods, used only by a nasty hack to try
2308 and detect whether a key synthesis should be allowed
2309 to reset the XKB latch state or not. This code was only
2310 required to work around an interaction between GOK,
2311 button events, and XKB.
2312 (impl_generate_key_event):
2313 Removed hack at end of key generation that tried to
2314 "do the right thing" if XKB latch keys were generated
2315 in the midst of button press/release pairs.
2318 Added a check for HAVE_XINPUT. Not normally used yet.
2320 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2322 Workarounds and fixes for mouse event/XKB interaction.
2324 * registryd/deviceeventcontroller.c:
2325 (spi_keycodes_contain, spi_dec_init_keycode_list):
2326 New internal methods.
2327 (spi_dec_set_unlatch_pending):
2328 Split the method that tells XKB to expect an
2329 unlatch (and revert it) out of the rest of the
2330 event handling code. This method is called by the
2331 two mouse event handlers (the poll and the filter).
2332 (spi_dec_update_and_emit, spi_dec_mouse_check):
2333 New methods split from spi_dec_poll_mouse_moved.
2334 The second one is now called from inside the filterFn
2335 when an XKB delatch event is received, to determine
2336 whether to revert the delatch or not.
2337 (spi_poll_mouse_moved): Refactor; also we can now
2338 properly handle the case where multiple button states
2339 have changed between polling cycles and we didn't get
2340 notified due to another client's grab.
2342 Synchronize the server while handling an XKB notification.
2343 Ugly, but apparently necessary to avoid nasty races.
2344 Check the mouse state on receipt of an XKB latch change,
2345 to decide whether to revert the latch or not. (Latches are
2346 reverted if there is an immediately preceding mouse button
2347 event that a client has consumed, in which case we don't want
2348 the user to see the side-effect of the event).
2349 (spi_device_event_controller_forward_mouse_event):
2350 Check for modifier events and fire before resetting mouse_mask_state,
2351 prevents losing modifier events.
2353 (impl_generate_keyboard_event):
2354 If we've just generated a keyboard event for a non-shift key,
2355 we don't want to revert the pending XKB latch.
2356 Otherwise, check the modifier state (via a call to
2357 spi_dev_mouse_check) and set the relatch mask to
2358 that state before returning.
2360 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2363 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2366 * atk-bridge/bridge.c:
2367 (spi_atk_register_event_listeners):
2368 Don't re-register for ATK events if the registry has died
2369 and the app needs to re-register; the ATK listeners are in
2370 process and doing so will cause duplicate emission.
2372 * registryd/deviceeventcontroller.c:
2373 (spi_poll_mouse_moved):
2374 Reformat the source, detect and emit multiple button-change
2375 events (i.e. if multiple buttons have changed between poll
2377 Add code to detect mouse-down events even when the pointer
2378 is grabbed; workaround for GOK bug 98420.
2379 (spi_controller_register_with_devices):
2380 Call XTestGrabControl with 'impervious' flag set to True,
2381 allows us to synthesize events and query the pointer even during
2382 an active grab by another client.
2383 (spi_device_event_controller_forward_mouse_event):
2384 Set the mouse_mask_state to the mouse_button_state from
2385 the intercepted event, to synchronize the grab listener with
2388 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2390 * cspi/spi_accessible.c:
2391 (AccessibleRole_getName):
2392 Added necessary strings for making this (deprecated)
2393 method work with the new role types.
2394 (init_role_table, role_table):
2395 Added definition of SPI_ROLE_APPLICATION.
2397 * libspi/spi-roletypes.h:
2398 Added SPI_ROLE_APPLICATION.
2400 * idl/Accessibility_Role.idl:
2401 Added ROLE_APPLICATION.
2403 * docs/reference/cspi/at-spi-cspi-decl.txt:
2404 Added SPI_ROLE_APPLICATION to docs.
2406 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2408 * cspi/spi_accessible.c
2409 (cspi_init_role_table): Do not write beyond end of role_table.
2410 (Accessible_getRole): Use correct type for value returned by
2411 Accessibility_Accessible_getRole().
2413 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2414 beyond end of role_table. (This fixes bug #98269)
2416 * libspi/application.c: Add include file spi-private.h for
2417 definition of spi_init_any_nil.
2419 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2423 * libspi/spi-private.h:
2424 Added DGB() macro, and extern int _dbg declaration.
2426 * registryd/registry.c:
2427 (definitions) storage for _dbg.
2428 (spi_registry_init):
2429 Get environment variable "AT_SPI_DEBUG".
2430 (spi_registry_set_debug):
2431 New method, to initialize _dbg value.
2432 (spi_listener_struct_new, spi_registry_object_finalize):
2433 (notify_listeners_cb):
2434 Changed fprintfs to use DBG and g_warning().
2436 * registryd/deviceeventcontroller.c:
2437 (_deregister_keygrab, spi_controller_register_device_listener):
2438 Changed debug/warning messages to use DBG macro.
2440 * libspi/listener.c:
2441 (impl_notify_event):
2442 Changed warning messages to use DBG macro and g_warning().
2444 * atk-bridge/bridge.c:
2445 (atk_bridge_init, spi_atk_bridge_get_registry):
2446 (spi_atk_bridge_exit_func):
2447 (spi_atk_bridge_property_event_listener):
2448 Changed status, warning, and error messages to use
2449 g_warning, g_message, and DBG macros.
2452 Read the state of the AT_SPI_DEBUG environment variable
2453 and set a local '_dbg' accordingly.
2455 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2457 FIXES for 98836, 98842, other bugs.
2460 Revved to 1.1.4, interface-age=4, binary-age=4.
2462 * registryd/deviceeventcontroller.c:
2464 Fixed crasher bug in last_mouse_pos initialization.
2466 * registryd/registry.c:
2467 (desktop_add_application, desktop_remove_application):
2468 Added (and then commented out) some support for
2469 object context marshalling. [TODO]
2471 * atk-bridge/bridge.c:
2472 (spi_atk_bridge_event_context_create):
2473 Commented out object context creation until it can
2474 be properly tested and debugged.
2476 * registryd/registry.c:
2477 (impl_registry_notify_event):
2478 Fixed crasher bug, we were calling
2479 spi_re_entrant_list_foreach () with an empty list.
2481 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2483 * idl/Accessibility_Action.idl:
2484 * idl/Accessibility_Component.idl:
2485 * idl/Accessibility_Desktop.idl:
2486 * idl/Accessibility_Event.idl:
2487 * idl/Accessibility_Hyperlink.idl:
2488 * idl/Accessibility_Image.idl:
2489 * idl/Accessibility_Relation.idl:
2490 * idl/Accessibility_Selection.idl:
2491 * idl/Accessibility_State.idl:
2492 * idl/Accessibility_Value.idl:
2493 Updated unimplemented slot count to minimum of
2494 four for all interfaces, for ABI freeze.
2496 * idl/Accessibility_EditableText.idl:
2497 * idl/Accessibility_Text.idl:
2498 Updated unimplemented slot count to six
2501 * idl/Accessibility_Registry.idl:
2502 Updated unimplemented slot count to six
2503 (also for DeviceEventController),
2506 * idl/Accessibility_Table.idl:
2507 Updated unimplemented slot count to eight,
2510 * idl/Accessibility_Event.idl:
2511 Added CORBA_any "any_data" member to Event struct.
2513 * idl/Accessibility_Event.idl:
2514 Added CORBA_any "any_data" member to Event struct.
2516 * atk-bridge/bridge.c:
2518 atk_signal_text_changed, atk_signal_child_changed,
2519 signal ids queried from gtype system.
2520 (AtkBridgeEventContextType): New enum.
2521 (AtkBridgeEventContextData): New struct.
2522 (AtkBridgeEventContext): New struct.
2523 (atk_bridge_init_event_type_consts):
2524 New method, initializes type contants for comparison
2525 prior to emit_eventv.
2526 (atk_bridge_event_context_init): New method,
2527 initializes a CORBA_any from an AtkBridgeEventContext.
2528 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2529 initialize the event.any_data struct.
2530 (spi_atk_bridge_event_context_create): New method,
2531 creates an AtkBridgeEventContext from signal/event info.
2532 (spi_atk_bridge_event_context_free): New method.
2533 (spi_atk_emit_eventv): Changed to take an
2534 AtkBridgeEventContext parameter. We now initialize
2535 the event.any_data member prior to notifying the
2536 Registry, via the AtkBridgeEventContext.
2537 (spi_atk_bridge_property_event_listener):
2538 (spi_atk_bridge_state_event_listener):
2539 Match emit_eventv signature.
2540 (spi_atk_bridge_object_event_listener):
2541 Match emit_eventv signature, and create an
2542 event context from the event details.
2543 Free the event context afterwards.
2544 (spi_atk_bridge_window_event_listener):
2545 Create an event context, pass it to the
2549 (AccessibleEvent_getContextString):
2550 (AccessibleEvent_getContextObject):
2551 New methods, allow query of AccessibleEvent objects
2552 for more context details (via the "any_data" member
2553 of the Event struct, above).
2556 Definitions for AccessibleEvent_getContextString
2557 and AccessibleEvent_getContextObject.
2559 * cspi/spi_listener.h:
2560 (InternalEvent): New struct.
2563 (AccessibleEvent_getContextString):
2564 (AccessibleEvent_getContextObject):
2565 Implementations of new methods, for obtaining
2566 additional context information from some event types.
2568 * cspi/spi_registry.c:
2569 (SPI_registerGlobalEventListener):
2570 Added mention of active-descendant-changed event in docs.
2572 * cspi/cspi-bonobo-listener.c:
2574 Marshal the any into the AccessibleEvent via
2577 * libspi/spi-private.h:
2578 #include <orbit/orbit.h>
2580 (spi_init_any_string):
2581 (spi_init_any_object):
2582 New convenience function declarations.
2586 (spi_init_any_string):
2587 (spi_init_any_object):
2588 New convenience function implementations.
2590 * registryd/deviceeventcontroller.c:
2591 (spi_poll_dec_mouse_moved):
2592 (spi_device_event_controller_forward_mous_event):
2593 Initialize any_data member of event.
2594 (spi_deregister_controller_device_listener):
2595 Fix incorrect param pass which was preventing deregistration.
2597 * registryd/registry.c:
2598 (desktop_add_application):
2599 (desktop_remove_application):
2600 Add object data to event's any_data before dispatch.
2602 Fix for error messages from GAIL.
2604 * test/event-listener-test.c:
2605 Test new ContextString and "any_data" API:
2606 (report_text_event): New method query and output context string.
2607 (main): register a new text listener with report_text_event
2610 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2612 Fixes for bugs 98127 and 97914.
2613 * cspi/spi-roletypes.h:
2614 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2616 * cspi/spi-statetypes.h:
2617 Added SPI_STATE_MANAGES_DESCENDANTS
2619 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2620 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2621 * cspi/spi_accessible.c:
2622 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2623 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2624 Accessibility_STATE_MANAGES_DESCENDANTS
2625 * libspi/accessible.c:
2626 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2627 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2628 As requested by Bill, I also cleaned up the alignment.
2629 * libspi/relation.c:
2630 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2631 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2632 * libspi/stateset.c:
2633 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2634 Accessibility_STATE_MANAGES_DESCENDANTS
2635 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2636 Document changes reflecting modifications to roles.
2637 * docs/reference/cspi/tmpl/spi_relation.sgml:
2638 Document changes reflecting modifications to relations.
2639 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2640 Document changes reflecting modifications to states.
2642 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2645 Revved to 1.1.3, interface-age=3, binary-age=3.
2646 Added REBUILD macro.
2649 Removed accessx-gui from the tests, since we have a nice
2650 keyboard accessibility capplet now :-)
2652 * test/keysynth-demo.c:
2653 (increment_scan): removed do-nothing default: case,
2656 * test/visual-bell.c:
2657 (main) : removed do-nothing default: case,
2660 * cspi/spi_action.c:
2661 (AccessibleAction_getKeyBinding_):
2662 Documented keybinding string format.
2666 (AccessibleText_getAttributes):
2667 Documented the text attribute string format.
2668 It's changed to use semicolon delimiters also,
2669 to prevent clashes with CSS attributes, but the old
2670 trick of looking for ", " strings will still work
2671 (as unreliably as ever). Fix for bug related to 97916.
2674 Include <cspi/bonobo/cspi-bonobo-listener.h>
2675 Fixes build warning.
2676 (SPI_freeAccessibleKeySet):
2677 (AccessibleKeystrokeListener_addCallback):
2678 (AccessibleKeystrokeListener_removeCallback):
2679 Modify to use AccessibleDeviceListener API internally,
2680 instead of AccessibleKeystrokeListener.
2682 * idl/Accessibility_Event.idl:
2683 Added two more empty slots to EventListener (for a total of four).
2685 * idl/Accessibility_Accessible.idl:
2686 Added four empty slots to Accessible interface.
2688 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2690 * idl/Accessibility_Registry.idl:
2691 (KeyEventType, EventType):
2692 Marked KeyEventType as deprecated; it duplicates
2693 functionality of EventType, which has been extended to
2694 include Mouse-button events.
2695 (KeyEventTypeSeq): defined in terms of EventType.
2696 (registerDeviceEventListener, deregisterDeviceEventListener):
2697 New methods, for managing listeners to device events,
2698 which potentially may consume them.
2701 Added definition for AccessibleDeviceListener.
2703 * cspi/spi-listener.h:
2704 (enum AccessibleDeviceEventType):
2705 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2706 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2707 for backwards compat.
2708 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2709 and typedef'd AccessibleKeystroke to it for back-compat.
2710 (AccessibleDeviceListenerCB):
2711 New function prototype typedef.
2714 (AccessibleDeviceEventMask): New typedef.
2715 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2716 (AccessibleKeyMaskType):
2717 Set equivalent to AccessibleModifierMaskType for back-compat.
2718 (SPI_createAccessibleKeystrokeListener):
2719 (AccessibleKeystrokeListener_unref):
2720 Deprecated in favor of equivalent (better-named) new API below..
2721 keystroke listeners are like all device listeners.
2722 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2723 New API names for old features :-).
2724 (AccessibleDeviceListener_addCallback):
2725 (AccessibleDeviceListener_removeCallback):
2726 (SPI_registerDeviceEventListener):
2727 (SPI_deregisterDeviceEventListener):
2731 (SPI_createAccessibleKeystrokeListener):
2732 Use new preferred API, cspi_device_listener_new() and
2733 cspi_device_listener_add_cb().
2734 (AccessibleKeystrokeListener_removeCallback):
2735 Use new preferred API, cspi_device_listener_remove_cb().
2736 (AccessibleKeystrokeListener_unref):
2737 Use new preferred API, cspi_device_listener_unref().
2738 (SPI_createAccessibleDeviceListener):
2739 (AccessibleDeviceListener_addCallback):
2740 (AccessibleDeviceListener_removeCallback):
2741 Implementation of new API.
2743 * cspi/spi_registry.c:
2744 (SPI_registerDeviceEventListener):
2745 (SPI_deregisterDeviceEventListener):
2746 Implementation of new API. Fixed memory leak and removed need to
2747 allocate EventTypeSeq (thanks Michael for catching this).
2748 Squashed a wayward CORBA_exception_free that shouldn't get called.
2750 * cspi/bonobo/cspi-bonobo-listener.c:
2752 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2753 (cspi_key_event): renamed to cspi_device_event().
2754 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2755 Extended to handle mouse button events as well as key events.
2756 (CSpiKeystrokeListener):
2757 Class superceded by CSpiDeviceListener.
2758 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2759 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2761 * cspi/bonobo/cspi-bonobo-listener.h:
2762 (CSpiKeystrokeListener):
2763 Class superceded by CSpiDeviceListener.
2764 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2765 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2767 * libspi/Makefile.am:
2768 Replaced keystrokelistener.h and keystrokelistener.c
2769 with devicelistener.h and devicelistener.c; keystrokelisener.h
2770 stub retained for back-compat.
2772 * libspi/keystrokelistener.c:
2776 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2778 * registryd/deviceeventcontroller.c:
2779 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2780 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2781 (DEControllerPrivateData): Added xkb settings data.
2782 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2783 button release events (which can't be captured via XGrabButton).
2784 Don't dispatch via the 'normal' event mechanism if the device event was
2786 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2787 Handle the typeseq data in its new location (see above).
2788 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2789 New methods, for "generic" device listeners.
2790 (spi_controller_register_device_listener):
2791 Now handle mouse event listeners as well as key listeners.
2792 (spi_controller_notify_mouselisteners):
2793 New internal method.
2794 (spi_device_event_controller_forward_mouse_event):
2795 Now we notify mouse device listeners as well as generating the
2796 non-consumable "mouse:" events.
2798 We must check and restore the XKB
2799 modifier map if we consume the event, since the act of triggering
2800 a mouse event will normally reset the XKB latch. This is required for
2802 (spi_controller_register_with_devices):
2803 Load the XKB settings when registering, and register for XKB
2804 state notify events.
2805 (spi_key_eventtype_seq_contains_event):
2806 Renamed spi_eventtype_seq_contains_event, since it's used
2807 internally for all device event types now.
2808 (spi_key_event_matches_listener):
2809 Uses spi_eventtype_seq_contains_event now.
2810 (spi_device_event_controller_object_finalize):
2811 Free the private data and the XkbKeyboard struct.
2812 (impl_register_device_listener, impl_deregister_device_listener):
2813 Implementation of new IDL.
2814 (spi_deregister_controller_device_listener):
2815 New internal method.
2816 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2817 More efficient implementation, we don't have to create a new
2818 XkbControls structure every time we query.
2819 (spi_device_event_controller_class_init):
2820 Initialize the epv entries for the new IDL. Assign the
2821 "spi-dec-private" quark.
2822 (spi_device_event_controller_init):
2823 Initialize the private data.
2824 (spi_device_event_controller_forward_key_event):
2825 Removed a bogus CORBA_exception_free() call.
2827 * registryd/deviceeventcontroller.h:
2828 Replaced inclusion of keystrokelistener.h with
2831 * test/event-listener-test.c:
2832 (report_mouse_event):
2835 Added mouse-event device listener.
2837 * test/test-simple.c:
2838 (create_test_window):
2839 Fixed regression (we were instantiating a GtkRange,
2840 which is now an abstract class). Also fixed to match
2841 existing AtkRole names, this seems to have changed in ATK
2842 awhile ago; too late now I think, and the new
2843 mechanism is at least elegant and consistent with the
2844 glib enum "nick" APIs.
2846 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2848 * idl/Accessibility_Relation.idl:
2849 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2850 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2851 * idl/Accessibility_Role.idl:
2852 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2853 * idl/Accessibility_State.idl:
2854 add STATE_MANAGES_DESCENDANTS
2855 * test/event-listener-test.c:
2856 Added a listener for active-descendant events.
2858 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2860 * atk-bridge/bridge.c
2861 (atk_bridge_init): If application is Bonobo component wait until top
2862 level is added before registering
2863 (spi_atk_bridge_do_registration): New function which contains code,
2864 formerly in atk_bridge_init, to do application registration.
2865 (spi_atk_bridge_toplevel_added): Signal called when top level
2866 added to Bonobo component
2868 This fixes bug #83134.
2870 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2872 * registryd/deviceeventcontroller.c
2873 Fixed compilation error caused by calling gettimeofday()
2876 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2881 Added template for HAVE_XKB.
2884 Changes to check for XKB, and to set the HAVE_XKB #define if it
2887 * libspi/listener.c:
2888 ()impl_notify_event): Make failure to get event source name
2891 * registryd/deviceeventcontroller.c:
2892 (#include): include X11/XKBlib.h.
2893 (DEControllerPrivateData) : New struct.
2894 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2896 (dec_synth_keycode_press) (dec_synth_keycode_release):
2897 New methods; split the key synthesis code into these methods.
2898 They check XKB settings before determining the "time" values to
2899 pass to Xtest; this fixes bug #95828.
2900 (impl_generate_keyboard_event): Changed to use methods above,
2901 instead of callng Xtest directly.
2902 (spi_device_event_controller_init): Initialize new privae struct s
2904 (spi_device_event_controllr_object_finalize):
2905 Free the (new) private data.
2907 * registryd/deviceeventcontroller.h:
2908 Add new gpointer to end of struct data.
2910 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2913 Incremented revision to 1.1.2, SONAME is still '.so', library
2914 extensions are ".so.0.0.2".
2916 * registryd/deviceeventcontroller.c:
2917 FIXES FOR #93592 and #95940.
2918 (statics): renamed mouse_button_state to mouse_mask_state,
2919 added key_modifier_mask.
2920 (spi_dec_poll_mouse_moved):
2921 Added key modifier checks, and emit "keyboard:modifiers"
2922 events when the key modifiers currently in use change.
2923 Also generate "mouse:abs" events periodically, even if the mouse
2924 is stationary (should we?).
2925 Alternatively we could generate "mouse:abs" events for either all
2926 mouse movements, or every 'nth' mouse movement, or at the
2927 beginning and end of every "active" mouse period.
2929 * test/event-listener-test.c:
2930 (main): Added listener for "keyboard:modifiers" events.
2932 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2934 * libspi/keymasks.h:
2935 Added key mask #defines for mouse buttons; e.g.
2936 SPI_KEYMASK_BUTTON1, etc.
2939 Incremented dependency on ATK to version 1.1.0. (This dependency
2940 is probably premature but will soon be real enough).
2942 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2944 * libspi/hyperlink.[ch]
2945 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2946 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2949 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2954 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2956 * registryd/deviceeventcontroller.c
2957 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2958 events to be ignored.
2959 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2960 keyboard_mode so that XAllowEvents() can be called.
2964 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2966 * cspi/spi-accessible.c: Correct names of roles returned by
2967 AccessibleRole_getName(). Fixes bug #95055.
2969 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2971 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2974 * registryd/registry.c
2975 (desktop_remove_application: Write diagnostic message to stderr for
2978 (impl_accessibility_registry_deregister_global_event_listener):
2979 Correct size of lists array. This addresses bug #94555).
2981 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2983 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2986 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2988 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2991 * registryd/registry.c (impl_registry_notify_event): Remove
2992 unnecessary call to parser_event_type().
2994 * docs/reference/cspi/tmpl/spi_component.sgml:
2995 Add reference to SPI_LAYER_WINDOW.
2997 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2999 * registryd/registry.c
3000 (desktop_add_application): Remove leak.
3001 (desktop_remove_application): Remove leak.
3002 (parser_event_type): Remove leak.
3004 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3006 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3007 bogus call to CORBA_string_dup(). Also removed unnecessary
3008 g_string_dup/g_free calls.
3010 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3012 * registryd/deviceeventcontroller.c:
3013 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3015 * test/event-listener-test.c:
3016 main: commented out three redundant listeners, to reduce output
3017 noise. (They still are potentially useful for testing).
3020 2002-09-13 Michael Meeks <michael@ximian.com>
3022 * Update all the copyrights to include Ximian.
3024 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3026 * cspi/spi.h: add SPI_LAYER_WINDOW.
3028 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3029 add Accessibility_LAYER_WINDOW case.
3031 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3033 * libspi/component.c: (impl_accessibility_component_get_layer):
3034 add ATK_LAYER_WINDOW case.
3036 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3038 * configure.in: incremented micro version.
3040 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3042 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3045 Clarified and reworded our commit policy.
3048 Started an API "todo" addition list for 2.2.
3051 (impl_getSelection):
3052 Free char pointer from atk_text_get_selection, which was being leaked.
3054 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3057 Small revision to author acknowledgement.
3059 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3061 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3062 If signal has detail add it to the type of the event.
3065 2002-08-12 Michael Meeks <michael@ximian.com>
3067 * test/test-simple.c (global_listener_cb): bin bogosity.
3068 (test_keylisteners): disable, still doesn't work reliably,
3069 certainly not on my system anyway.
3071 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3072 don't leak a reference on the DEC. This round-trip
3073 fetching of the DEC per keystroke sucks, it should be
3076 * cspi/spi-private.h,
3077 * cspi/cspi-lowlevel.h,
3078 * cspi/bonobo/cspi-bonobo-listener.[ch],
3079 * cspi/bonobo/cspi-bonobo.c: get the copyright
3080 notices better - there is still a large amount of
3081 work in at-spi falsely attributed solely to Sun.
3083 * cspi/spi_main.c (cspi_object_ref): kill bogus
3084 hash lookup, just increment the ref.
3085 (SPI_freeString): make explicit the fact that we
3086 handle NULL strings just fine.
3087 (report_leaked_ref): obey coding standards.
3088 (cspi_object_hash, cspi_object_equal): kill retval.
3089 (cspi_object_release): only release if not on loan.
3090 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3091 (cspi_object_borrow, cspi_object_return): impl.
3093 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3094 use cspi_object_borrow / return.
3096 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3098 * cspi/bonobo/cspi-bonobo-listener.c:
3100 Don't call cspi_oject_new() because this is creating a new Accessible
3101 every single time that an event is fired. This causes ATs like at-poke
3102 to nolonger recognise the source of the event and thus ignore it.
3103 Re-use the object from the cache, ref it and then unref it after the
3104 listeners have been called.
3106 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3108 * test/event-listener-test.c:
3109 Added command-line options to disable mouse events (m) and
3112 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3114 * configure.in: Update required versions of ATK, GTK+ and GAIL
3116 * cspi-1.0.pc.in: Add dependency for X include files
3119 * cspi/bonobo/Makefile.am:
3120 Add $(X_CFLAGS) so that X include files
3121 are picked up even if not in standard place (bug #71686)
3123 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3125 * registryd/deviceeventcontroller.c: fix for 84261
3126 (spi_dec_mouse_moved):
3127 Added test of mouse button mask, so that we can detect mouse
3128 button release. Unfortunately we can't otherwise detect mouse
3129 button release events without consuming the mouse press event,
3130 because of the way XGrabButton works. This means that our mouse
3131 release events have a latency dependent on the polling period
3132 while the mouse button is down. At least in this case we only
3133 have to poll while the button is down, and not at other times.
3134 If the button masks don't match with what the last press event
3135 reported, we report the appropriate button release event.
3136 (spi_dec_ungrab_mouse):
3137 New method (not yet called).
3138 (spi_device_event_controller_forward_mouse_event):
3139 New method, sends mouse press event from GdkFilter.
3140 (spi_dec_init_mouse_listener):
3141 Added code to call XGrabButton, redirecting mouse button events to
3142 the root window and our Gdk event loop.
3144 Added code to filter mouse button events, and reordered.
3146 * test/event-listener-test.c:
3148 Added registration for mouse events of type "mouse:button".
3150 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3152 * registryd/deviceeventcontroller.c: partial fix for 84261
3153 (spi_dec_poll_mouse_idle):
3154 New method, a timeout which checks to see if the mouse
3156 (spi_dec_poll_mouse_moving):
3157 A timeout to be called when mouse motion is underway.
3158 (spi_dec_poll_mouse_moved):
3159 A method which fires an event if the mouse has moved, and reports
3160 whether or not it did so.
3161 (spi_dec_init_mouse_listener):
3162 A method which sets up the timeouts above.
3163 (spi_device_event_controller_new):
3164 Now calls spi_dec_init_mouse_listener.
3166 * registryd/registry.c:
3167 (spi_registry_init):
3168 Now we initialize the device event controller when the registry is
3169 initialized, instead of waiting until a client has requested a key
3170 event notification; this is because we need the event controller
3171 for mouse events, but the mouse event registration API is a
3172 "registry" call and doesn't explicitly call the
3173 deviceeventcontroller.
3174 We now report mouse motion events with a 100 ms idle latency and
3175 a 20 ms granularity when motion is in progress.
3177 * test/event-listener-test.c:
3179 We now register the "detail listener" for events of type
3180 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3181 delivered only for the first mouse event received, and thereafter
3182 "mouse:abs" events are delivered.)
3184 * cspi/spi_registry.c:
3185 DOCS: Documented the above mouse event typestrings.
3187 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3189 Happy Summer Solstice...
3191 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3192 (spi_controller_notify_keylisteners):
3193 Changes to remove a listener from the listener list, freeing its
3194 open keygrabs, if a notification to that listener fails. This
3195 means that although a dead listener can continue to hold a passive
3196 keygrab, a maximum of one dispatch to such a listener can fail
3197 before the listener is removed from the list, thus the keygrab
3198 will be released on the next occurrence.
3199 As part of this fix:
3200 (spi_notify_keylisteners):
3201 Renamed to spi_controller_notify_keylisteners, as the controller
3202 instance must now be passed as an argument.
3203 The copied 'notify' GList is now a list of DEControllerKeyListener
3204 objects, since we need more than just the CORBA reference if a
3205 notify fails and we need to deregister the listener.
3206 (impl_notify_listeners_sync):
3207 (impl_notify_listeners_async):
3208 (spi_device_event_controller_forward_key_event):
3209 Modify use of notify_keylisteners in accordance with above
3211 (spi_deregister_controller_key_listener):
3212 New method introduced by refactoring, from
3213 impl_deregister_keystroke_listener.
3214 (impl_deregister_keystroke_listener):
3215 Call spi_deregister_controller_key_listener.
3216 (spi_key_listener_clone):
3217 New method to copy a key listner without doing a 'ref' on the
3218 remote object instance; used to create a notifier list.
3219 (spi_key_listener_data_free):
3220 New method, frees data without unreffing the source.
3222 (spi_key_listener_clone_free): new method.
3223 (spi_key_listener_free):
3224 refactored to call spi_key_listener_data_free.
3226 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3228 * registryd/registry.c: [fix for bug 86048]
3229 (notify_listeners_cb):
3230 Clear CORBA system exceptions which occur when notifying
3231 listeners, before returning to the source of the original event,
3232 since the event source doesn't care if the relayed notify failed.
3233 In other words, don't complain to the atk-bridge if the registry
3234 could not notify all its listeners, that's no fault of the
3235 application and thus should not appear to be an error from the
3236 application's perspective.
3238 * cspi/spi_main.c: [fix for bug 85980]
3240 Replaced use of bonobo_object_dup_ref with call to the wrapper
3241 method, csou_dup_ref (); this silences a compiler warning and
3242 provided more portability.
3244 Ping the registry before return, and restart if necessary.
3246 * cspi/bonobo/cspi-bonobo.c:
3248 New internal method.
3250 Fixed this method to return an object reference, as it should have
3253 * cspi/cspi-lowlevel.h:
3254 Added internal definition for cspi_ping() and fixed
3255 return type of cspi_dup_ref().
3258 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3260 * atk-bridge/bridge.c: [fix for bug 85305]
3261 (spi_atk_bridge_register_application):
3262 New method where the initial application registry calls have been
3263 moved; it allows an application to re-register in response to
3264 certain error conditions (such as a registry restart, see below).
3266 Moved some initialization code to the method
3267 spi_atk_bridge_get_registry, below.
3268 (spi_atk_bridge_get_registry):
3269 New, private accessor function for the Accessibility_Registry
3270 instance. If the registry has not been started before, or has
3271 died (as detected by failure of a CORBA exception), it is
3272 restarted before return, and spi_atk_bridge_register_application
3273 is called again to register with the new bridge instance.
3274 (spi_atk_emit_eventv):
3275 Set registry_died on error; use spi_atk_bridge_get_registry () to
3276 access the registry.
3278 * registryd/registry.c:
3279 (impl_accessibility_registry_register_global_event_listener):
3280 Set listener's event_type_quark to etype.minor instead of
3281 etype.major (fix for bug 84856).
3283 * test/event-listener-test.c:
3284 (report_detail_event):
3285 Change the output string so that user/tester can tell that the
3286 'detail listener' was called instead of the 'generic listener'.
3288 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3290 Fixes for bugs 84900, 84908, 84897, 84898.
3295 Revved version to 1.1.0
3296 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3297 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3299 * idl/Accessibility_Registry.idl:
3300 (EventListener::notifyEvent):
3301 Removed 'oneway' directive after extensive consulation with
3302 ORBit2 team and others. This means also that unref() of the event
3303 source can and should be done synchronously after emission, rather
3304 than remotely in the client, after servicing the notify call on
3307 NOTE: This change speeds up listener performance considerably, but
3308 introduces new latency on the application side. We may want to
3309 add an event queue to the atk-bridge.
3311 * atk-bridge/bridge.c:
3312 (spi_atk_bridge_focus_tracker):
3313 Do a local unref() on the event source after emission.
3315 * registryd/registry.c:
3316 (desktop_remove_application):
3317 Do an unref() on the event source after emission.
3318 (desktop_add_application):
3319 Do an unref() on the event source after emission.
3320 (notify_listeners_cb):
3321 When relaying an event, don't automatically add the event source
3322 to the local object cache, just CORBA_dup it instead. Likewise,
3323 if this method reenters, release the ref rather than calling
3325 (impl_registry_notify_event):
3326 No longer call remote unref() on the event source after dispatch.
3328 * libspi/eventlistener.c:
3329 (impl_accessible_event_notify_event):
3330 Removed remote unref ()
3332 * cspi/bonobo/cspi-bonobo-listener.c:
3334 We now call cspi_object_new() instead of cspi_object_add() on
3335 receipt of an event; thus we only have an implicit object ref
3336 while the cspi_event method is being executed. If we need to keep
3337 a reference to the object, the listener must call ref() on the
3338 object. Thus also we don't need to call cspi_object_unref() after
3339 invoking the listener callbacks in this method.
3343 New internal API for creating a new cspi object, without adding it
3344 to the object cache.
3346 Now uses cspi_object_new() to create the cspi object instance.
3348 Now checks to see if the object is in the internal object cache,
3349 and adds it if necessary before incrementing its refcount (note
3350 that new objects are added with a refcount of 1).
3351 (report_leaked_ref):
3352 New method which gives some information on leaked object instances
3353 if leak detection is turned on.
3355 * test/event-listener-test.c:
3356 (timing_test_event):
3357 New method, used for testing event delivery timing for special
3358 events of type "object:test". It reports elapsed time and
3359 events/sec every 500 events.
3361 Added a new listener, 'test listener', to check timing of event
3362 receipt as noted above.
3364 Added some timing output here also, reports elapsed time every 100
3367 * test/stress-test.c:
3368 Emit events of type "object:test", for use with "event-listener-test".
3370 * test/test-simple.c:
3371 (global_listener_cb):
3372 Call Accessible_ref() on the event source before calling
3373 validate_accessible, since the validation process does pointer
3374 comparisons on the event source, meaning that the event source
3375 needs to be added to the local object cache first. Any use of
3376 such pointer comparisons between Accessible objects requires that
3377 the caller hold an explicit reference to those objects.
3378 We also must therefore call Accessible_unref() when leaving this method.
3380 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3382 * registryd/deviceeventcontroller.c:
3383 (spi_controller_update_key_grabs):
3384 Fix for #84735, subsequent keygrab listeners not informed of
3385 registration failure.
3388 (spi_base_construct):
3389 Add an assertion on construct, to make sure the GObject passed in
3390 is really a GObject.
3392 Explicitly initialize object->gobj pointer to NULL;
3394 * cspi/bonobo/cspi-bonobo-listener.c:
3395 (cspi_object_add_ref):
3396 New method, can specify whether to dup-ref a bonobo object passed
3397 in if it's newly added to the object cache.
3399 Now calls cspi_object_add_ref with second param of "FALSE". This
3400 prevents us from doing a pointless dup-ref followed by
3401 release-unref for all those cases where the object is already in
3402 our object cache (fix for #85205).
3404 * atk-bridge/bridge.c:
3405 (spi_atk_bridge_idle_init):
3406 Removed this method, we don't need to initialize in an idle
3409 Changed to call spi_atk_register_event_listeners directly, not via an
3410 idle handler. (fix for #81139)
3411 (gnome_accessibility_module_shutdown):
3412 Removed conditional around deregistration of listeners, since we
3413 don't use the idle handler and thus have always registered when
3415 (spi_init_keystroke_from_atk_key_event):
3416 Changed references to Accessibility_KEY_PRESSED to
3417 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3419 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3421 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3426 * test/stress-test.c:
3429 (may have been an incomplete commit yesterday?)
3431 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3434 Added target for new stress-test.
3436 * test/stress-test.c:
3437 New test, sends 1000 focus notifies in quick succession.
3439 * test/key-listener-test.c:
3440 Now we report whether a keylistener registration
3441 request succeeded or failed.
3443 * test/event-listener-test.c:
3444 Uncommented some listeners which are now implemented.
3447 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3449 * registryd/deviceeventcontroller.c:
3450 (spi_controller_update_key_grabs):
3451 Fix for #82509, lack of failure notification when
3452 ALL_WINDOWS keygrabs fail due to XGrabKey
3453 failure: we synchronize the server when
3454 registering a passive grab, to make sure we get the
3455 error message before the call returns.
3457 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3459 * test/test-simple.c:
3461 Removed #ifdef KEY_IMPL_WORKS guards.
3462 (test_keylisteners):
3463 Removed #ifdef KEY_IMPL_WORKS guards.
3464 Fixed bug which was causing a hang waiting for a
3465 "press" event (which was already overwritten by a "release"
3466 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3468 Added code to set globals 'key_press_received' and
3469 'key_release_received'.
3472 Added section "1.1 API Proposed Additions" which
3473 lists API additions desired for at-spi-1.1 (only one so far).
3474 Updated TODO list a little.
3476 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3478 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3481 * configure.in: Revved to 1.0.0.
3483 * idl/Accessibility_Registry.idl:
3484 (registerKeystrokeListener):
3485 Added boolean return value.
3487 * registryd/registry.c:
3488 (notify_listeners_cb): Minor fix to debug output.
3490 * registryd/Accessibility_Registry.server.in.in:
3491 Revved version number in OAFIID to 1.0.
3493 * registryd/registryd.c:
3495 Use new OAFIID version.
3497 * cspi/bonobo/cspi-bonobo.c:
3499 Use new OAFIID version.
3505 * atk-bridge/bridge.c:
3507 Use new OAFIID version.
3509 * registryd/deviceeventcontroller.c:
3510 (impl_register_keystroke_listener):
3511 Added CORBA_boolean return value.
3512 (spi_controller_register_device_listener):
3513 Added gboolean return value.
3514 (spi_controller_register_global_keygrabs):
3515 Added gboolean return value.
3516 (spi_key_set_contains_key):
3517 Added implementation for many more control keys,
3518 for instance F1-F12, arrow keys, End, Home, Page_Up,
3520 [TODO: some still not implemented].
3522 * text/screen-review-test.c:
3523 (text_chunk_pad_string):
3524 New function: it provides mapping between coordinate
3525 positions of text chunks and character positions in the
3526 screen-review-line output string.
3527 (text_chunk_to_string):
3528 New function, calls text_chunk_pad_string with various
3529 pad/delimiter characters. Pushbuttons are delimited with
3530 square brackets, Frames with vertical 'pipe' lines, and
3531 other text with double quotes.
3532 (text_chunk_list_to_string):
3533 Calls new function text_chunk_to_string.
3534 (toplevel_composite):
3535 New function to composite layers CANVAS through
3536 POPUP in each toplevel (other layers are composited
3537 across toplevels, i.e. BACKGROUND and OVERLAY).
3538 (review_buffer_composite):
3539 Revise to use new methods.
3545 2002-05-31 Laszlo Peter <laca@sun.com>
3547 * configure.in: add the Xtst libdir to the runpath on Solaris,
3548 since it's not in the default library search path.
3550 2002-05-29 jacob berkman <jacob@ximian.com>
3552 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3554 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3556 * test/screen-review-test.c:
3557 (text_chunk_pad_string):
3558 Added method, which pads the string according to the
3559 text bounds of the chunk. It also takes a 3-character
3560 string as a param which indicates the characters to be
3561 used for start, padding, and end delimitation of the chunk.
3562 (text_chunk_to_string):
3563 Changed to use text_chunk_pad_string.
3565 * configure.in: Fixed bug in AC_OUTPUT that was
3566 causing path substitution in Accessibility_Registry.server
3569 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3571 * text/screen-review-test.c:
3572 (guess_string_clip):
3573 New method which attempts a best-guess at clipping
3574 text from components (like Java labels) which don't
3575 actually implement AccessibleText. This inaccurate
3576 clip is based on the assumption that the label is
3577 justified left-and-right, and monospaced.
3578 (text_chunk_get_clipped_string):
3579 We now call guess_string_clip() for text-containing
3580 components that don't implement AccessibleText.
3582 * test/screen-review-test.c:
3583 (review_buffer_get_text_chunk):
3584 We now pull "name" from labels if they do not implement
3585 AccessibleText (i.e. for Java labels).
3586 (get_screen_review_line_at):
3587 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3590 Replaceded AC_OUTPUT target
3591 registryd/Accessibility_Registry.server with
3592 registryd/Accessibility_Registry.server.in.
3594 * registryd/Accessibility_Registry.server.in:
3595 Removed (this is now a Makefile target).
3597 * registryd/Accessibility_Registry.server.in.in:
3598 Added (source for target above). We now use $(libexecdir) as
3599 prefix for the executable at-spi-registryd.
3601 * registry/Makefile.am:
3602 Now install at-spi-registryd into $(libexecdir), and build .server
3603 file with path (see above).
3605 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3607 * test/screen-review-test.c:
3608 (text_chunk_get_clipped_string):
3609 We now check to see if words fall within clip bounds
3610 before resorting to character-by-character clip bounds testing.
3612 * TODO: Added a section for "2.2 Proposed API Additions".
3614 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3616 * test/screen-review-test.c:
3618 Added a screen review benchmarking and test program to test
3621 * cspi/spi_accessible.c:
3623 Made some of the debug strings passed to cspi_check_ev a
3624 little more specific.
3626 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3628 * test/screen-review-test.c: Fix crashes in debug statements
3630 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3632 * test/screen-review-test.c: Added this file.
3634 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3636 * atk-bridge/bridge.c: changed "object:state-change" to
3637 "object:state-changed" to match docs.
3639 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3641 * atk-bridge/bridge.c: Hooked up state-change event details.
3643 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3645 * registryd/registry.c:
3646 Fixed quarking bug in event string parsing; now events with
3647 detail parameters get matched correctly to listeners.
3650 * util/idl/Magnifier.idl: remove.
3652 * util/*.[ch]: Remove.
3653 Magnification utilities and IDL are now in module gnome-mag.
3655 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3657 * registryd/deviceeventcontroller.c:
3658 Fixed bug in grab key conversion which was causing keycode grabs
3659 to be converted to AnyKey grabs.
3662 updated NEWS file to reflect recent spin-off of gnome-mag.
3664 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3666 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3667 busted AccessibleStateSet_compare. Removed redundant casts.
3669 * cspi/spi-action.c: Removed redundant casts.
3671 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3673 * cspi/spi_component.c: Fixed typos and casting error.
3675 * cspi/spi_editabletext.c: Removed redundant casts.
3677 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3679 * cspi/spi_hypertext.c: Eliminated redundant casts.
3681 * cspi/spi_image.c: Eliminated redundant casts.
3683 * cspi/spi_registry.c: Eliminated redundant casts.
3684 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3685 * cspi/spi_selection.c: Removed redundant casts.
3686 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3687 handling. Screen geometry and text offsets were being returned as 0
3688 on error which is technically valid-- changed these to return -1.
3689 Added marshaller for text boundary types to fix bug with boundary
3690 types being passed incorrectly to atk.
3692 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3695 * cspi/spi_registry.c:
3696 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3697 which was uncovered by the recent key changes.
3699 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3701 * test/event-listener-test.c:
3703 Added new test, "event-listener-test";
3704 this code does two things; it benchmarks traversal time
3705 for the accessible hierarchy for the first running accessible
3706 app, and it connects listeners for all supported event types.
3707 It is thus useful as an example event listener and for
3708 diagnostics/debugging of event generation.
3710 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3713 Removed unnecessary dependency on libutil.
3716 Revved micro version: 0.13.1
3718 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3721 Removed util/Makefile from targets.
3724 Removed util subdir from SUBDIRS (temporarily,
3725 pending removal of magnifier-only code
3729 #ifdef-ed out magnifier dependencies, since
3730 magnifier IDL, headers, and binary now live in
3731 module gnome-mag and we don't want at-spi to depend
3732 on gnome-mag. A magnifier demo which can run alongside
3733 simple-at is forthcoming in the gnome-mag module.
3735 NOTE: Split magnifier binary, IDL, and magnification
3736 activation code from at-spi into module gnome-mag.
3738 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3740 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3741 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3743 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3746 Revved to version 0.13.0
3748 * idl/Accessibility_Registry.idl:
3749 Changed definition of KeySet from sequence of longs to sequence of
3750 KeyDefinitions, and added KeyDefinition struct.
3751 Required for fix to bug 80616.
3753 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3754 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3755 to use new definition (see above).
3757 * registryd/deviceeventcontroller.c: handle_keygrab(),
3758 spi_keyset_contains_key():
3759 Changed to make use of new struct; this allows matching based on
3760 string key-name, for instance "Tab". This also allows matching of
3761 composed characters, non-alphanumeric characters in a way that
3762 doesn't involve dependencies on X keysym codes directly, etc.
3764 * test/key-listener-test.c:
3765 Added test for Alt-Tab key using "string" specification of keyset,
3766 and modified one of the tests to use a keycode-based keyset.
3767 Thus this test both tests and demonstrates the creation and use of
3768 keysets of three forms: specified via keycode array,
3769 keysym array, and string array. (The string case only contains a
3770 single string, i.e. a string array of length 1).
3773 Turned on PRINT_TREE option by default. Also fixed a
3774 string-freeing bug in the PRINT_TREE code.
3775 Added a listener to window:minimize events.
3777 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3779 * atk-bridge/bridge.c:
3780 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3781 for window:activate and window:deactiveate
3782 (atk_bridge_property_event_listener atk_bridge_signal_listener
3783 atk_bridge_window_event_listener) Tidy debug code
3785 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3787 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3788 Fixed handling for NULL return value from ATK.
3790 * libspi/action.c libspi/component.c libspi/editabletext.
3791 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3792 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3793 Removed redundant casts.
3795 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3796 Fixed off by one bug.
3798 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3799 function not present in idl)
3801 2002-05-02 jacob berkman <jacob@ximian.com>
3803 * atk-bridge/Makefile.am: make atk-bridge a real module
3805 2002-04-26 Radek Doulik <rodo@ximian.com>
3807 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3808 atk_state_types table
3810 2002-04-22 jacob berkman <jacob@ximian.com>
3813 * libspi/Makefile.am: add deps on the built files to help
3814 automake, and don't version the ORBit typelib
3816 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3818 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3819 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3820 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3821 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3822 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3823 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3824 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3825 libspi/accessible.h libspi/accessible.h libspi/base.h
3826 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3827 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3828 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3829 libspi/spi-private.h libspi/statetset.h libspi/table.h
3830 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3831 util/mag_client.h util/mag_control.c util/mag_image.c
3832 util/mag_image.h util/magnifier.c util/magnifier.h:
3833 Add missing file headers; standardize existing ones
3835 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3837 * atk-bridge/bridge.c: Added window event support.
3839 2002-04-18 Michael Meeks <michael@ximian.com>
3841 * libspi/relation.c (impl_getNTargets): impl.
3842 (impl_getTarget): impl.
3844 * libspi/Makefile.am: fix stateset install.
3846 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3849 Started putting useful info in this file.
3851 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3853 * atk-bridge/bridge.c:
3854 Propagate state-changed notifications to ATs
3856 * cspi/spi_registry.c: update docs to reflect actual behavior of
3857 state-change events.
3859 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3862 Incremented version to 0.12.1
3864 * util/mag_client.h:
3865 Add missing declaration for magnifier_exit,
3866 used by mag_control.c - Forte compiler didn't like
3867 the implicit redeclaration of the function :-(
3870 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3873 Revved version to 0.12 due to API change (see below).
3875 * cspi/spi-roletypes.h:
3876 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3877 definition from the inline docs, and added docs
3878 for SPI_ROLE_LAST_DEFINED.
3881 * cspi/spi_streamablecontent.c:
3882 Added missing seek_type parameter to
3883 (so far unused) method,
3884 AccessibleStreamableContent_seek().
3885 [ RT approval JodyG. ]
3888 Fixed docs for SPI_createAccessibleKeystrokeListener.
3890 * cspi/spi_registry.c:
3891 Fixed docs for SPI_KEYSET_ALL_KEYS.
3893 * docs/reference/cspi/at-spi-cspi-sections.txt:
3894 Added a number of missing APIs to SECTIONS.
3896 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3898 * registryd/Makefile.am:
3900 * cspi/bonobo/Makefile.am:
3901 Add $(X_LIBS) to makefiles.
3903 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3906 Revved version to 0.11.
3908 * libspi/component.c:
3909 Added implementation for grabFocus.
3911 * idl/Accessibility_Component.idl
3912 (Accessibility_Component_grabFocus):
3913 Made this method return boolean to indicate success or failure, to
3914 be consistent with cspi and the corresponding ATK method.
3916 * idl/Accessibility_Selection.idl
3917 (Accessibility_Selection_selectAll) :
3918 Made these methods return boolean to indicate success or
3919 failure, to be consistent with cspi and the corresponding ATK methods.
3921 * idl/Accessibility_EditableText.idl
3922 (Accessibility_EditableText_setTextContents,
3923 Accessibility_EditableText_insertText,
3924 Accessibility_EditableText_cutText,
3925 Accessibility_EditableText_deleteText,
3926 Accessibility_EditableText_pasteText):
3927 Made these methods return boolean to indicate
3930 * cspi/spi_editabletext.c:
3931 Made these methods return booleans.
3933 * libspi/selection.c:
3934 * libspi/component.c:
3935 * libspi/editabletext.c:
3936 Connected the boolean returns from ATK
3937 to the server-side code referenced above.
3939 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3941 * idl/Accessibility_Table.idl: Added missing methods,
3942 Accessibility_Table_addRowSelection,
3943 Accessibility_Table_addColumnSelection,
3944 Accessibility_Table_removeRowSelection,
3945 Accessibility_Table_removeColumnSelection.
3948 Added C wrappers for above IDL:
3949 AccessibleTable_addRowSelection,
3950 AccessibleTable_addColumnSelection,
3951 AccessibleTable_removeRowSelection,
3952 AccessibleTable_removeColumnSelection.
3955 Added server-side implementation code for IDL above, connecting
3956 to pre-existing ATK api.
3958 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3960 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3962 * libspi/accessible.c: Added implementation fo
3963 Accessibility_Accessible_get_state.
3965 * libspi/libspi.h: Added stateset.h to the list of includes.
3967 * libspi/stateset.c: Fixed broken implementation.
3969 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3972 Added implementation code for Accessibility_Magnifier_exit ().
3974 * util/mag_control.c:
3975 Added test code for above method; you can
3976 now kill an existing magnifier via
3977 ./mag_control q, from the util directory.
3979 * test/key-listener-test.c:
3981 Added a new test, for our key listener API.
3983 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3985 * test/app.c, test/keysynth-demo.c:
3987 Replace use of snprintf with g_snprintf.
3988 (fix for bugzilla 78249)
3990 2002-03-27 Michael Meeks <michael@ximian.com>
3994 * util/Makefile.am (INCLUDES): fix.
3995 (DONT_DIST_SOURCE): don't distribute the
3998 * libspi/Makefile.am (dist-hook): ditto.
4000 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4002 * libspi/hypertext.c:
4003 Fix warnings when yelp is used with atk-bridge
4005 2002-03-21 Michael Meeks <michael@ximian.com>
4007 * libspi/application.c (spi_application_new):
4008 use spi_accessible_construct so we use the AtkObject
4011 2002-03-19 Michael Meeks <michael@ximian.com>
4013 * registryd/registry.c (desktop_remove_application),
4014 (desktop_add_application): clean coding style.
4016 * registryd/desktop.c (spi_desktop_remove_application),
4017 (spi_desktop_add_application): kill re-enterency hazards.
4018 (spi_desktop_dispose): remove bogus redundant cast
4019 obscuring bug; fix bug too.
4020 (spi_desktop_init): make the desktop object immortal.
4022 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4025 Added a #define-guarded tree-traversal step
4026 when enumerating the apps (diagnostic tool).
4028 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4030 * idl/Accessibility_Role.idl:
4031 Added ROLE_DRAWING_AREA which seemed to be missing from the
4034 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4036 * cspi/spi-roletypes.h cspi/spi_accessible.c
4037 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4040 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4041 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4042 AT when applications are added and removed from the desktop. This
4043 reverts the previous broken implementation using the backing
4044 AtkObject for the SpiDesktop.
4046 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4048 * registryd/desktop.c: emit the "children-changed::add" and
4049 "children-changed::remove" signals on the backing ATK object for
4050 the desktop so AT can tell when applications are started and shut
4053 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4055 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4057 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4059 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4061 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4063 * cspi/state-types.h: synched with IDL and ATK
4065 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4067 * libspi/accessible.c
4068 (impl_accessibility_accessible_get_child_at_index):
4069 Change return value for g_return_if_fail ()
4070 to CORBA_OBJECT_NIL instead of "0" (!)
4072 * registryd/Makefile.am:
4073 * registryd/Accessibility_Register.server.in:
4074 Changed name of executable, "registryd",
4075 to something more informative:
4078 2002-03-13 Michael Meeks <michael@ximian.com>
4080 * atk-bridge/bridge.c (atk_bridge_init): don't register
4081 if we're in a bonobo-component, rather than a bonobo app.
4083 2002-03-13 Michael Meeks <michael@ximian.com>
4085 * atk-bridge/bridge.c (gtk_module_init): split
4086 out body to (atk_bridge_init): here, since otherwise
4087 we get symbol conflicts and oddness when invoked
4088 from (gnome_accessibility_module_init): here (upd.)
4090 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4093 New file. Explicitly allow "build sheriff" putbacks provided
4094 they are tested on Solaris.
4096 * docs/reference/cspi/Makefile.am:
4097 Added '-' to the "cp" command for index.sgml.
4098 ("patch by thomasvs, soon coming to a GUADEC near you")
4101 Incremented version number (0.9.0) for new release.
4102 Changed macro that checks for popt, to better detect
4103 obsolete versions of popt.
4106 Added X_LIBS to AC_SUBST, for applications
4107 that call Xlib API directly.
4110 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4113 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4116 Fix regression caused by hard-coding major
4117 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4120 * test/test-simple.c (test_editable_text),
4121 (test_test): revert previous change (error was
4122 a regression in gail which is now fixed).
4124 2002-03-04 Michael Meeks <michael@ximian.com>
4126 * test/test-simple.c (test_editable_text),
4127 (test_text): pass G_MAXINT instead of '-1' for
4128 whole string - is this a good thing !?
4130 * cspi/spi_accessible.c
4131 (Accessible_getRelationSet): fix crasher bug
4132 overwriting the end of the array.
4134 * test/test-simple.c (validate_accessible): free,
4135 not g_free returned relation set.
4137 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4139 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4140 implemented stateset support
4142 * idl/Accessibility_State.idl: Made necessary changes to
4143 the IDL to support state sets.
4145 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4147 * registryd/deviceeventcontroller.c:
4148 Added implementation for generateMouseEvent.
4150 * cspi/spi_registry.c:
4151 Connected new implementation for generateMouseEvent
4154 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4157 Incremented revision (but no change in public API
4158 outside of 'utils', which are not installed public yet.)
4160 * libspi/component.c:
4161 Changed to use atk_component API for layers and
4162 mdi_zorder, instead of deprecated atk_object API.
4164 Magnification Utility Enhancements:
4167 Added implementation of createZoomRegion, clearAllZoomRegions,
4168 resizeZoomRegion. Added new commandline argument
4169 "--no-initial-region". Note that clearAllZoomRegions doesn't
4170 unmap the old '0' region as it should (yet), and the other
4171 methods only work when creating/resizing a single region,
4172 which is "region 0".
4173 (Code for multiple region support will be added later.)
4176 Now we raise the magnifier window each time it's refreshed;
4177 this will help keep it on top.
4179 * util/mag_client.h:
4180 Added simple wrappers for above, used by mag_control.
4181 For general use, it's recommended to use the bonobo magnifier
4182 control API directly instead of using these wrappers.
4185 Moved ZoomRegionData from magnifier.c to this file.
4187 * util/mag_control.c:
4188 Added some code to exercise new IDL implementations.
4190 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4192 * libspi/text.c: Provide implementation for getAttributes.
4194 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4197 Incremented revision.
4199 * test/test-simple.c:
4200 Replaced use of deprecated g_main_iteration with
4201 g_main_context_iteration.
4203 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4206 Incremented revision for desktop alpha 2.
4208 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4210 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4213 * test/simple-at.c: include netinet/in.h.
4215 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4217 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4218 use NULL, not CORBA_OBJECT_NIL.
4220 * libspi/accessible.c:
4221 (impl_accessibility_accessible_get_relation_set):
4222 allocate the sequence correctly.
4224 * libspi/remoteobject.h: kill spi_remote_object_new.
4226 * test/test-simple.c: (validate_accessible): add code
4227 to test relation sets, now all we need is to figure
4228 out how to excercise this code path :/
4230 2002-01-18 Michael Meeks <michael@ximian.com>
4232 * test/test-simple.c
4233 (key_listener_cb): consume the key.
4234 (test_keylisteners): update.
4235 (main): wait for any pending unrefs on events.
4237 * registryd/deviceeventcontroller.c
4238 (spi_controller_update_key_grabs): only re-issue the
4239 grab on a key release.
4240 (spi_device_event_controller_forward_key_event):
4241 refresh the keygrabs before we notify the listeners,
4242 to reduce the X ungrab / re-grab race.
4243 (spi_controller_register_with_devices): remove
4244 XSelectInput - we do that with the gdk_window_ call.
4245 (_spi_controller_device_error_handler): return a value.
4246 s/GDK_DISPLAY/spi_get_display/
4248 2002-01-17 Michael Meeks <michael@ximian.com>
4250 * registryd/deviceeventcontroller.c
4251 (_deregister_keygrab): don't blow out the later
4254 * test/test-simple.c (test_keylisteners): do a
4255 more intelligent validation.
4257 2002-01-14 Michael Meeks <michael@ximian.com>
4259 * atk-bridge/bridge.c
4260 (gnome_accessibility_module_init),
4261 (gnome_accessibility_module_shutdown): impl.
4262 (gtk_module_init): protect vs. double inits.
4263 (add_signal_listener): impl.
4264 (spi_atk_bridge_state_event_listener): kill
4265 (deregister_application): split out of
4266 (spi_atk_bridge_exit_func): here.
4268 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4271 Added caret tracking when using magnifier, and
4272 now use text bounds for focus tracking of text elements, rather than
4273 the component bounds - this is helpful for short text fields in long
4274 table cells, at high magnification.
4276 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4278 * registryd/deviceeventcontroller.c:
4279 Regression fix for keylistener de-registration; global keygrabs
4280 were not being released when deregisterKeystrokeListener was
4281 called in cspi, since
4282 Accessibility_DeviceEventController_deregisterKeystrokeListener
4283 was called with a zero-length keyset. That is because the cspi
4284 method, SPI_deregisterKeystrokeListener, does not take a keyset
4285 parameter but instead should remove all the key grabs held be a
4287 The code in impl_deregister_keystroke_listener was changed to copy
4288 the keylist from the listener instance previously registered with
4289 the DeviceEventController before releasing the grabs.
4291 * registryd/registry.c:
4292 * registryd/deviceeventcontroller.c:
4293 * libspi/spi-private.h:
4295 Changed spelling of "re-enterant" to "re-entrant" globally.
4297 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4299 * test/test-simple.c:
4300 Changed key listeners test - the test was slightly mis-using the
4301 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4302 It now uses '=' as the key event listened to and generated,
4303 relying on a keysym match rather than assuming that keycode 33
4304 is always equal to keysym '!'.
4306 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4309 Changed simple-at to use a specific keyset, rather than
4310 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4311 manager, desktop, etc.
4313 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4315 * registryd/deviceeventcontroller.c:
4316 Replaced standard X error handler with a special handler that
4317 is non-fatal for failed keygrabs. This works around
4318 problems with keygrab clashes sometimes observed on
4320 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4321 mouse handling code as yet).
4323 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4326 Incremented revision for desktop alpha release.
4329 Fixed a couple of the more glaring errors (still not
4332 2002-01-11 Michael Meeks <michael@ximian.com>
4334 * registryd/deviceeventcontroller.c
4335 (spi_device_event_controller_forward_key_event): kill
4336 XUngrabKey / XKeyGrab race.
4337 (spi_controller_grab_keyboard): rename to
4338 (spi_controller_update_key_grabs): this, and deal
4339 with incremental adding / removing grabs more
4341 (_register_keygrab): ensure we're not pending a remove.
4342 (spi_grab_mask_free): impl.
4343 (spi_controller_register_global_keygrabs): split out
4345 (handle_keygrab): impl.
4346 (_deregister_keygrab): impl.
4347 (spi_controller_deregister_global_keygrabs): impl.
4348 (spi_controller_update_key_grabs): re-issue the grab if
4349 we just recieved a notification.
4351 * test/test-simple.c (key_listener_cb): remove debug.
4353 * registryd/deviceeventcontroller.c
4354 (spi_controller_register_device_listener): after
4355 registering a global keygrab, actualy register it !
4356 don't wait for a timeout; doh !
4358 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4359 to make it more readable / manipulable.
4360 s/grabmask/grab_mask/ s/refcount/ref_count/
4361 s/keyval/key_val/ s/modmask/mod_mask
4363 2002-01-08 Michael Meeks <michael@ximian.com>
4365 * registryd/deviceeventcontroller.c
4366 (spi_controller_register_with_devices): use gdk calls to
4368 (global_filter_fn): implement the filter.
4369 (spi_device_event_controller_check_key_event): rename to
4370 (spi_device_event_controller_forward_key_event): this & upd.
4371 (spi_get_display): replace with GDK_DISPLAY.
4373 * registryd/deviceeventcontroller.c
4374 (spi_controller_deregister_device_listener): unroll into
4375 (impl_deregister_keystroke_listener): here to simplify.
4376 (spi_controller_register_global_keygrabs): split cut and
4377 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4378 (spi_controller_deregister_device_listener): remove.
4379 (impl_register_mouse_listener): remove, no mouse listener
4380 support in at-spi-1.0
4382 * registryd/registry.c
4383 (_device_event_controller_hook): kill.
4384 (spi_registry_init): upd.
4386 * registryd/deviceeventcontroller.c
4387 (spi_device_event_controller_class_init): upd.
4388 (spi_check_key_event): merge into.
4389 (spi_device_event_controller_check_key_event):
4390 here and kill strange static ev init, don't leak
4391 the x_event - nor dynamicaly allocate it.
4393 * registryd/registry-main.c (main): re-direct
4394 timeout to remove strange vtable mess.
4396 * registryd/deviceeventcontroller.c
4397 (remove_listener_cb): impl.
4398 (spi_controller_deregister_device_listener):
4399 fix re-enterancy hazard.
4401 2002-01-07 Michael Meeks <michael@ximian.com>
4403 * registryd/deviceeventcontroller.c
4404 (spi_device_event_controller_new): upd.
4405 (impl_notify_listeners_sync): upd. debug.
4406 (spi_notify_keylisteners): fix re-enterancy hazards,
4407 prettify, remove O(n*n) iteration.
4408 (spi_controller_grab_keyboard): fix iteration.
4409 (spi_check_key_event): re-format to suit coding style.
4410 Clean all the warnings - we're warning free.
4412 * registryd/deviceeventcontroller.h:
4413 * registryd/registry.h: make mutualy referential with
4414 typesafe forward references instead of (!) void pointer
4417 2002-01-11 Michael Meeks <michael@ximian.com>
4419 * cspi/spi_accessible.c (role_names): add a role name
4420 to sync this array with the enum; and make the regression
4423 2002-01-10 Michael Meeks <michael@ximian.com>
4425 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4426 allow expansion of enumeration & kill warning.
4428 * test/test-simple.c (key_listener_cb): impl.
4429 (test_keylisteners): impl.
4431 * cspi/spi-listener.h: make listener signatures const
4432 on the provided (const) events.
4434 * test/keysynth-demo.c: upd. to const events.
4436 * test/simple-at.c: ditto.
4438 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4441 Rev the version to 0.5 (the previous tarball was named 0.4,
4442 even though the micro number was 3), so we need to rev upwards
4443 again for beta2/"desktop-alpha"
4446 Checked in a demo script, which requires editing before use!
4447 Proceed with caution.
4450 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4452 * cspi/spi_accessible.c:
4453 Add a couple of missing enum initializations, and fix some enum
4456 * cspi/spi_registry.c:
4457 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4459 * docs/reference/cspi/at-spi-cspi-sections.txt:
4460 Remove/fix a couple of broken document references.
4463 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4464 as Alt-Control to listen for commands, since on some systems
4465 Control-Alt may already be grabbed.
4467 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4470 Update version number to 0.4 for Beta2.
4472 * libspi/accessible.c, libspi/accessible.h:
4473 Expose spi_accessible_construct, to enable libgail-gnome
4474 construction from spi_accessible subtype.
4476 * utils/magnifier.c:
4477 Workaround for bug in some non-gnome-compliant window managers
4478 which made magnifier resize improperly.
4480 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4482 * libspi/accessible.c: (spi_accessible_new) :
4483 Move the test for SPI_IS_REMOTE_OBJECT to
4484 spi_accessible_new_return, fixing a bug and compile time warning.
4486 2002-01-08 Michael Meeks <michael@ximian.com>
4488 * registryd/registry.c (parse_event_type): remove strndup.
4490 * libspi/Makefile.am (libspi_la_SOURCES): remove
4491 sources already included in the headers section.
4493 * libspi/util.c: add.
4495 * libspi/spi-private.h: add.
4497 * registryd/registry.c: update to moved list iterators.
4499 2002-01-05 Michael Meeks <michael@ximian.com>
4501 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4503 * test/test-simple.c (main): ditto.
4505 2002-01-04 Michael Meeks <michael@ximian.com>
4507 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4508 redundant construct.
4510 * registryd/registry.c
4511 (get_listener_list): impl.
4512 (impl_accessibility_registry_register_global_event_listener):
4513 re-impl. to simplify using ~, remove dodgy const cast off.
4514 (parse_event_type): constify.
4515 (impl_accessibility_registry_deregister_global_event_listener_all):
4516 re-write, more efficiency and simplicity, kill re-enterancy
4518 (compare_listener_corbaref, compare_corba_objects),
4519 (compare_listener_quarks): define out.
4520 (impl_accessibility_registry_deregister_global_event_listener):
4521 re-write for effiency, and nail re-enterancy hazard.
4522 (impl_accessibility_registry_get_desktop_list): impl.
4523 (re_enterant_list_delete_link): impl.
4524 (re_enterant_list_foreach): impl.
4525 (remove_listener_cb): impl.
4526 (_registry_notify_listeners): kill.
4527 (notify_listeners_cb): impl.
4529 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4530 (SPI_getDesktopList): impl.
4532 * test/test-simple.c (test_desktop): test the methods.
4534 2002-01-03 Michael Meeks <michael@ximian.com>
4536 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4537 keystrings since we free them
4538 (SPI_freeAccessibleKeySet): in here.
4540 * libspi/accessible.c (spi_accessible_new): kill warning,
4541 wonder what is going on with the constructor here.
4543 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4545 * libspi/accessible.c (spi_accessible_new ()) :
4546 Added check to see if AtkObject is an SpiRemoteObject before
4547 creating an SpiAccessible.
4549 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4551 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4552 Enable keygrabs using the Control modifier, now that they are
4553 working properly (they were previously disabled).
4556 Change the command keygrab for this demo to "Control+Alt", so as
4557 to conflict with fewer other key commands on the system; this
4558 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4560 Removed a pointlessly-chatty keylistener for unshifted keys
4561 (shifted keys are still reported).
4563 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4565 * libspi/remoteobject.h:
4566 * libspi/remoteobject.c:
4567 Added definitions for special AtkObject subtype, required for
4568 support of remote components (specifically, used by BonoboControl
4569 accessibility implementation).
4571 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4573 * cspi/spi.h: synched relation types with ATK
4575 * cspi/spi_accessible.c: Added implementations of
4576 AcccessibleRelation_* methods
4578 * idl/Accessibility_Relation.idl: added getRelationTypeName
4579 method. Synched known relation types with ATK. Allowed for
4580 relation type extension with the RELATION_EXTENDED type.
4582 * libspi/relation.c: Provided implementations for
4583 AccessibleRelation methods.
4585 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4587 API tweaks for today's API 'freeze'.
4590 Added placeholder functions to allow future compatible expansion
4591 of the IDL interfaces.
4593 * idl/Accessibility_Registry.idl:
4594 Changed generateKeyEvent to generateKeyboardEvent. Changed
4595 signature of this method to accept an optional keystring in
4596 parameter (for complex text input synthesis) and changed use of
4597 simple 'boolean' parameter in registerKeystrokeListener to a
4598 struct, EventListenerMode.
4600 * cspi/spi_accessible.c:
4602 * cspi/spi_streamablecontent.c:
4603 Added references to AccessibleStreamableContent interface, and
4604 definition and implementation of AccessibleStreamableContent
4607 * cspi/spi_registry.c:
4609 Changed generateKeyEvent API to generateKeyboardEvent,
4610 taking a new (optional) keystring parameter to support complex
4615 Renamed directory (to better reflect its actual purpose, bridging
4616 from at-spi to ATK). The .so module is also now named
4619 * idl/Accessibility_Hypertext.idl:
4620 * libspi/accessible.c:
4621 * libspi/hypertext.h:
4622 * libspi/hypertext.c:
4623 Changed Accessibility_Hypertext to *not* derive from
4626 * cspi/spi_registry.c:
4627 Added list of legal event type names for 'window' events, which
4628 completes the registry event API.
4630 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4632 * at-bridge/bridge.c: Added registration for separate
4633 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4634 signals. If either of the first two parameters to the generic
4635 bridge signal handler are ints, they are passed on as event
4636 details. This allows an AT to determine what text was inserted.
4638 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4640 * registryd/deviceeventcontroller.c:
4641 Fixed regressions in generateKeyEvent caused by the removal of
4642 gdk_init from registryd; we now use pure X calls to connect to the
4643 display, which makes sense because deviceeventcontroller already
4644 uses a fair bit of X API (should eventually be migrated to a
4645 'portability layer').
4647 * registryd/desktop.c:
4648 Fixed minor regression in spi_desktop_init, changed the way the
4649 desktop name is being set to work with new spi_base API
4650 (gobject-based, rather than AtkObject-based).
4652 * registryd/Makefile.am:
4653 Minor revision of makefile to use XTST_LIBS variable rather than
4654 hard-wiring the Xtst LD_ADD element.
4656 * test/keysynth-demo.c:
4657 Tweaked an output message; added initialization of the
4658 'keystrings' member of the "switch listener" key_set.
4660 * libspi/relation.c:
4661 Squashed compile-time warning.
4663 * libspi/accessible.c:
4664 Cosmetic and formatting fixes, renamed a static method.
4666 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4668 * libspi/accessible.c
4670 * libspi/application.c
4673 * libspi/component.c
4674 * libspi/editabletext.c
4675 * libspi/hyperlink.c
4676 * libspi/hypertext.c
4678 * libspi/selection.c
4682 * registryd/desktop.c:
4683 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4685 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4687 * idl/Accessibility_Registry.idl:
4688 Added boolean member 'is_text' to DeviceEvent. This is for the
4689 use of key events, and helps prevent ambiguity between composed
4690 key strings and keysym names, since both may potentially be
4691 returned in the 'event_string' member.
4693 * at-bridge/bridge.c:
4694 * registryd/deviceeventcontroller.c:
4695 Use the 'is_text' member when notifying device event listeners.
4696 Knon issue: composed characters are not dealt with correctly by
4697 the global key listener implementation yet.
4699 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4701 * at-bridge/bridge.c:
4702 Namespaced local static methods to spi_atk_bridge_* where
4703 previously named bridge_*, and spi_* elsewhere.
4705 * at-bridge/bridge.c:
4706 * cspi/bonobo/cspi-bonobo-listener.c:
4707 Added demarshalling/conversion for string member of
4708 Accessibility_DeviceEvent to AccessibleKeystroke.
4710 * registryd/deviceeventcontroller.c:
4711 Added code to fill the Accessibility_DeviceEvent key string value
4712 member for global key events (i.e. from XGrabKey), to match
4713 behavior of Accessibility_DeviceEvent from the toolkit key events
4714 from the bridge. Fixed timestamp in global key event notifications.
4717 Added printout of key event's string value to
4718 report_ordinary_key_event, for demo/debugging purposes.
4720 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4722 * idl/Accessibility_Registry.idl:
4723 Removed Accessibility_KeyStroke structure in favor of generic
4724 Accessibility_DeviceEvent structure.
4725 Changed Accessibility_ControllerEventMask from a struct to an
4728 * at-bridge/bridge.c:
4729 Changed APIs to use DeviceEvent structure as above, and removed
4730 bogus casting between these event structures.
4732 * cspi/spi-listener.h:
4733 Added keystring member of AccessibleKeystroke structure, to enable
4734 matching on event "names" rather than only hardware codes and
4738 Added keystrings member of AccessibleKeySet struct, to allow
4739 matching on event names (as above).
4740 Added declarations for SPI_createAccessibleKeySet and
4741 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4742 event modmasks directly as unsigned ints rather than structs with
4743 refcounts, in the DeviceEventController methods.
4745 * cspi/spi_registry.c:
4746 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4748 * cspi/spi-roletypes.h:
4749 Added documentation of newly added SPI Roles.
4751 * cspi/bonobo/cspi-bonobo-listener.c:
4752 Changes in support of API changes above.
4754 * libspi/accessible.c:
4755 Converted APIs to use DeviceEvent structure (see IDL changes
4758 * registryd/deviceeventcontroller.c:
4759 Added DEControllerGrabMask structure to track keygrabs not only by
4760 modmask but by keyset as well; this allows us to do "global"
4761 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4762 grabbing on AnyKey and then filtering after-the-fact.
4763 Bugfixes for event filtration mean that we don't get false matches
4764 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4766 * registryd/deviceeventcontroller.c:
4767 Namespaced a number of static methods to use spi_ prefix. Major
4768 revision to internals of global (i.e. X) key grabs.
4770 * registryd/deviceeventcontroller.h:
4771 Removed keymask_list and added keygrabs_list to
4772 SpiDeviceEventController struct.
4775 Added use of SPI_createAccessibleKeySet API when creating a
4776 listener for only one key. Attach a listener to "shift spacebar
4777 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4778 X key event names to SPI key event names, so that listeners are
4779 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4781 * test/keysynth-demo.c:
4782 Changed (incorrect) use of X key event names (KeyPressed,
4783 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4786 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4788 * libspi/accessible.c:
4789 Convert all AtkRole enumerations to Accessibility_Role enums when
4790 getting a role from an AtkObject.
4792 * cspi/spi_accessible.c:
4793 Complete the conversion of Accessibility_Role enums at runtime to
4794 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4795 role enums correctly match those given in spi-roletypes.h.
4796 Re-synchronize the local names list for AccessibleRole_getName ().
4797 AccessibleRole_getName is now deprecated, since it duplicates the
4798 more reliable Accessible_getRoleName.
4799 Added some role types from Accessibility_Role.idl.
4801 * idl/Accessibility_Role.idl:
4802 Added some role types used by AtkRole.
4804 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4807 * cspi/spi_registry.c:
4809 * cspi/cspi-bonobo-listener.c:
4810 Namespaced all methods that did not begin with an "SPI_" or
4811 "Accessible" prefix to "SPI_".
4814 Homogenized internal function namespace to "cspi_" for statics.
4817 Patched tests to use the new CSPI API.
4819 * docs/reference/cspi/at-spi-cspi-sections.txt:
4820 Updated docs to reflect namespace changes, and added a number of
4821 methods to the documentation.
4823 * registryd/registry.c:
4824 Changed use of strings and string hashes in listener event
4825 matching and parse_event_string to use GQuark, which is guaranteed
4828 * registryd/registry.h:
4829 Squashed annoying warning.
4831 * idl/Accessibility_Role.idl:
4832 Extended range of available Accessibility_Role values.
4834 * cspi/spi_accessible.c:
4835 Re-ordered role names.
4837 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4839 * idl/Accessibility_Value.idl:
4840 Revert use of union back to CORBA_double, since the double type is
4841 more efficient and can contain the other types without loss of
4844 * idl/Accessibility_Accessible.idl:
4845 Added method Accessibility:Accessible:getRoleName, to complement
4846 Accessibility:Accessible:getRole.
4848 * cspi/spi_accessible.c:
4850 Added C binding for above, Accessible_getRoleName (), and changed
4851 signature of Accessible_getRole () to return an AccessibleRole.
4853 * cspi/spi-roletypes.h:
4854 Changed AccessibleRole_getName to return a char * instead of a
4855 const char *. This method is now at least temporarily deprecated
4856 in favor of asking Accessibles for their RoleNames directly.
4859 Revert to match Accessibility_Value.idl;
4863 Change signature of AccessibleValue methods to use double rather
4867 * cspi/spi_accessible.c:
4868 Changed Accessible_getRole to return an AccessibleRole enum rather
4869 than a UTF-8 string. The UTF-8 string can still be obtained via
4870 AccessibleRole_getName ().
4872 * test/test-simple.c:
4873 Add test_action. Small fixup to match API change to Accessible_getRole.
4876 Bugfix for get_action_from_servant ().
4878 2001-12-11 Michael Meeks <michael@ximian.com>
4880 * libspi/libspi.h: remove registry.h and
4881 desktop.h, deviceeventcontroller.h
4883 * libspi/Makefile.am: remove registry.[ch],
4884 desktop.[ch], deviceeventcontroller.[ch]
4886 * registryd/Makefile.am: add registry.[ch],
4887 desktop.[ch], rename registryd.c to registry-main.c.
4888 add deviceeventcontroller.[ch]
4890 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4893 Replace setenv() call with putenv ().
4895 * libspi/component.c:
4896 Bugfix in AccessibleComponent_getExtents (),
4899 2001-12-11 Michael Meeks <michael@ximian.com>
4901 * libspi/image.c (impl_getImageExtents): impl.
4902 (spi_image_class_init): upd.
4905 (AccessibleImage_getImageDescription): fix daft bug
4908 * test/test-simple.c (global_listener_cb): update
4909 to only quit if not --poke
4910 (main): catch --poke.
4911 (validate_accessible): upd. dumping, call test_image
4914 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4917 * idl/Accessibility.idl: update all IDL includes.
4919 * idl/*.idl - rename to namespace - this sucks, blame
4920 mjs' bad decision for oafd.
4922 * test/test-simple.c (create_test_window): add more tests.
4923 (create_tree): split this out.
4924 (validate_accessible): bugfix.
4926 2001-12-11 Michael Meeks <michael@ximian.com>
4928 * cspi/bonobo/cspi-bonobo-listener.c:
4929 (cspi_kestroke_listener_unref),
4930 (cspi_event_listener_unref): impl. undoing previous
4931 homenous environment - for Bill.
4933 * cspi/spi_table.c (long_seq_to_array): use
4936 * cspi/spi_main.c: split out all bonoboish bits into
4939 * cspi/spi-impl.h: upd. typedefs.
4941 * cspi/spi_registry.c: update to lowlevel API,
4942 return booleans to indicate success in some places.
4944 * cspi/spi_event.c: update to lowlevel API.
4946 * cspi/bonobo/Makefile.am: add.
4948 * cspi/bonobo/cspi-lowlevel.h: add
4950 * cspi/bonobo/cspi-bonobo.c: add
4952 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4954 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4955 (SUBDIRS): add bonobo, link in the libs.
4957 * cspi/spi-util.c: kill this file.
4959 * TODO: merge in my bits.
4961 2001-12-11 Michael Meeks <michael@ximian.com>
4963 * test/test-simple.c (test_value, test_table, main):
4964 remove unused variables causing warnings.
4966 * configure.in: cleanup checks - require gail.
4968 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4971 Changed Value interface to use SValue (scalars) rather than
4972 assuming all values are floats. This allows floats, doubles,
4973 longs, shorts, and unsigned values to be manipulated.
4974 Introduced Accessibility:SValue union.
4977 Updated to use new API above, and to work correctly with GValues
4978 of different types in AtkValue.
4981 Updated to use new API above. cspi's API is as yet unchanged.
4984 Updated the Value revision action item.
4986 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4988 * test/test-simple.c:
4989 Added test_table (GtkTreeView widget in test window to follow).
4990 Un-commented test_value, added GtkRange widget.
4991 Added GtkTreeView widget with GtkListStore. It passes regression
4992 test but leaks one SPI object for some reason.
4995 Fixed bug in impl__set_currentValue.
4997 2001-12-10 Michael Meeks <michael@ximian.com>
4999 * cspi/spi_text.c: audit for exception handling,
5000 tolerating NULL object references safely etc.
5002 * cspi/spi_value.c: ditto.
5004 * cspi/spi_table.c (AccessibleTable_getSummary),
5005 (AccessibleTable_getAccessibleAt),
5006 (AccessibleTable_getRowHeader),
5007 (AccessibleTable_getColumnHeader),
5008 (AccessibleTable_getCaption): fix bugs hidden by
5010 (long_seq_to_array): impl.
5011 (AccessibleTable_getSelectedRows),
5012 (AccessibleTable_getSelectedColumns): use it.
5014 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5017 Added a TODO list (rough and short for now).
5019 * cspi/spi_hyperlink.c:
5020 * cspi/spi_hypertext.c:
5021 Fixed macro name typos, and remove use of obsolete macro in
5022 AccessibleHyperlink_getLink.
5024 * cspi/spi_action.c:
5025 * cspi/spi_accessible.c:
5026 * cspi/spi_application.c:
5027 * cspi/spi_component.c:
5028 * cspi/spi_selection.c:
5031 Documentation fixes (removed return values from ref/unref methods).
5033 2001-12-10 Michael Meeks <michael@ximian.com>
5035 * cspi/spi_action.c: audit for exception handling,
5036 tolerating NULL object references safely etc.
5038 * cspi/spi_accessible.c: ditto.
5040 * cspi/spi_component.c: ditto.
5042 * cspi/spi_editabletext.c: ditto.
5044 * cspi/spi_hyperlink.c: ditto.
5046 * cspi/spi_hypertext.c: ditto.
5048 * cspi/spi_image.c: ditto.
5050 * cspi/spi_selection.c: ditto.
5052 2001-12-10 Michael Meeks <michael@ximian.com>
5054 * configure.in: use cspi/libspi.pc.in instead.
5056 * Makefile.am (pkgconfig_DATA): upd. to match.
5058 * test/simple-at.c (report_focus_event): kill hacks around
5059 bad return values, use putenv not setenv
5061 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5062 fire ChildGone - I killed it.
5064 * libspi/component.c
5065 (impl_accessibility_component_get_extents): remove
5068 * idl/Accessible.idl: kill ChildGone exception.
5070 * cspi/*.[ch]: kill int return from ref / unref.
5072 * cspi/spi_main.c (cspi_object_add_check): fold into
5073 (cspi_object_add): here.
5075 * cspi/spi_component.c (AccessibleComponent_getExtents):
5076 handle exceptions elegantly.
5078 * cspi/spi-private.h (cspi_check_ev_return),
5079 (cspi_return_if_fail): impl.
5081 * cspi/spi_accessible.c: use extensively.
5082 (AccessibleStateSet_equals): add direct compare check.
5084 * cspi/spi_selection.c: tolerate NULL objs, and check
5085 exceptions before return.
5087 * cspi/spi-util.c (cspi_warn_ev): rename to
5088 (cspi_check_ev): this & don't pass ev in; no point.
5090 2001-12-10 Michael Meeks <michael@ximian.com>
5092 * test/test-simple.c: use putenv not setenv
5093 (get_environment_vars): more chatty if you're not using
5096 * test/simple-at.c: do the setenv so more people see the
5099 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5101 * libspi/registry.c:
5102 Changed check of CORBA_environment on notification to be a warning
5103 instead of an error for the moment, since we can recover from this
5104 error when caused by a queued notification from a dead app.
5107 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5108 used by all current implementors of AtkValue), and coerce to
5109 CORBA_float. (Proper general case fix may require change to Value.idl).
5111 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5115 * cspi/spi_accessible.c:
5116 Documentation fixes: added user_data params to documentation for
5117 listeners and callbacks.
5119 * cspi/spi_accessible.c:
5120 Changed AccessibleStateSet_compare to return a
5121 StateSet rather than return the difference set into a third parameter.
5124 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5127 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5128 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5132 Remove subdirectory po from SUBDIRS for now.
5134 * at-bridge/bridge.c:
5135 Beefed up a couple of debug printouts.
5136 One-line fix for signal notification name formatting.
5138 * libspi/accessible.c:
5139 Added assertion to spi_accessible_new ().
5141 * libspi/application.c:
5142 Put #ifdef qualifiers around a printf.
5145 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5147 * registryd/Makefile.am:
5149 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5150 INTLTOOL_SERVER_RULE macro.
5153 Added an event listener for several ATK signals, for
5154 testing and debugging. Removed a few g_warnings.
5155 Added test output if focussed item implements the Value interface.
5157 * test/test-simple.c:
5158 Added test_value () function (known not to pass at the moment, so
5159 not actually called yet.
5161 2001-12-08 Michael Meeks <michael@ximian.com>
5163 * at-bridge/bridge.c (bridge_focus_tracker),
5164 (emit_eventv): fix the same ref. leak.
5165 (register_atk_event_listeners): don't leak.
5167 * cspi/spi-listener-impl.c (cspi_event): more
5168 protection from client code.
5170 * test/test-simple.c (test_desktop): unref the app.
5172 * test/Makefile.am: upd. TESTS.
5174 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5176 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5178 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5180 * cspi/spi_registry.c: constify in strings.
5181 (deregisterGlobalEventListenerAll): don't release the ref.
5183 * cspi/spi.h: start removing redundant / conflicting
5184 gtkdoc comments, making the API readable at a glance :-)
5186 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5188 * test/keysynth-demo.c (keysynth_exit, main): upd.
5190 * test/simple-at.c (main, simple_at_exit): upd.
5192 * test/test-simple.c (unutterable_horror): kill.
5193 (utterable_normal_derefs): kill.
5194 (main): upd & do a setenv before gtk_init, so that we
5195 can use memprof - and to save the pain of remembering
5196 this, if we're running under memprof - don't exit.
5198 * cspi/spi_main.c (SPI_exit): return exit status
5200 (SPI_event_quit): impl.
5201 (SPI_event_main): simplify.
5202 (cspi_is_gnome_app): kill.
5203 (SPI_init): kill isGNOMEapp arg.
5205 * at-bridge/bridge.c (register_atk_event_listeners):
5206 re-instate the unref.
5207 (bridge_exit_func): don't re-activate the registry,
5208 protect vs. theoretical re-entry, use the
5209 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5210 assert a clean shutdown - for regression tests.
5212 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5214 * configure.in: Comment out dummy i18n support for now,
5215 otherwise it fails to build.
5216 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5217 EXTRA_DIST. They are missing in tarball.
5219 2001-12-07 Michael Meeks <michael@ximian.com>
5221 * util/magnifier.c: kill bonobo activation reg. race.
5223 * libspi/component.c
5224 (impl_accessibility_component_get_extents): make it match
5227 * libspi/registry.c (_registry_notify_listeners):
5228 re-remove X headers & reconcile conflicts.
5229 (spi_listener_struct_free): bad conflict resolve.
5230 (impl_accessibility_registry_register_application):
5231 more bad merging fixed.
5232 (impl_accessibility_registry_deregister_application): ditto.
5233 (spi_registry_new): ditto.
5234 (spi_registry_init): don't have an applications field.
5236 [ merge fixups2 branch to here ]
5237 2001-12-07 Michael Meeks <michael@ximian.com>
5239 * test/simple-at.c (report_focus_event),
5240 (report_focussed_accessible): remove g_warning debug.
5242 2001-12-07 Michael Meeks <michael@ximian.com>
5244 * test/test-simple.c (validate_tree): comment out some checks.
5245 (test_desktop): app now not registered idly - horay.
5247 2001-12-07 Michael Meeks <michael@ximian.com>
5249 * cspi/spi_registry.c
5250 (registerAccessibleKeystrokeListener): clean, stop it leaking
5251 great swathes of memory, and device event controller references.
5252 ensure we always pass valid sequences.
5253 (deregisterAccessibleKeystrokeListener): ditto.
5254 (generateKeyEvent): upd.
5256 * at-bridge/bridge.c (bridge_key_listener): handle
5257 registry dead exception gracefully.
5258 (bridge_focus_tracker, emit_eventv): free ev.
5260 * test/simple-at.c (report_focus_event): fix polarity.
5262 * libspi/application.c (notify_listeners): kill the ev
5263 argument, and make sure we init the ev we use.
5264 (spi_application_object_event_listener): split out a chunk
5265 (get_atk_object_ref): here & fixup.
5266 (reverse_lookup_name_for_toolkit_event): make const.
5267 (spi_application_toolkit_event_listener): fixup, kill leaks
5270 * at-bridge/bridge.c (register_atk_event_listeners):
5271 don't unref the noop object - causes grief.
5273 * libspi/registry.c: remove the X headers.
5274 turn off the debug churn.
5276 * libspi/accessible.c (spi_accessible_new_return): only
5277 release the ref if we are supposed to [doh]
5279 * test/simple-at.c (report_button_press, report_focus_event):
5280 guard vs. unexpected exit.
5282 * at-bridge/bridge.c (gtk_module_init): prune printf.
5283 (bridge_exit_func): fix app unref.
5285 * libspi/Makefile.am: don't install registry or desktop.h
5287 * libspi/*.h: update includes.
5289 * libspi/application.h: don't include ourself, or
5290 other redundant headers.
5292 2001-12-06 Michael Meeks <michael@ximian.com>
5294 * libspi/accessible.c
5295 (get_accessible_from_servant): impl.
5296 Upd. all CORBA impl.s to use it killing cut and paste.
5298 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5300 (SPI_init): register atexit cleanup handler here.
5302 2001-12-06 Michael Meeks <michael@ximian.com>
5304 * at-bridge/bridge.c (gtk_module_init): g_error on
5305 activation exception
5307 2001-12-06 Michael Meeks <michael@ximian.com>
5309 * at-bridge/bridge.c (gtk_module_init): some sort of
5310 confusing merge clash - reverted.
5311 (bridge_idle_init): ditto.
5313 * test/test-simple.c (main, utterable_normal_derefs):
5314 merge from Bill - somehow not committed.
5316 2001-12-06 Michael Meeks <michael@ximian.com>
5318 * libspi/value.c (spi_value_class_init): upd.
5319 (spi_value_finalize): kill.
5321 * libspi/table.c (spi_table_finalize): kill.
5322 (spi_table_interface_new): upd.
5323 (spi_table_class_init): upd.
5324 (get_table_from_servant): impl.
5325 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5327 * libspi/selection.c (spi_selection_finalize): kill.
5328 (spi_selection_interface_new): upd.
5329 (spi_selection_class_init): upd.
5330 (get_selection_from_servant): impl.
5331 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5333 * libspi/relation.c (spi_relation_finalize): kill.
5334 (spi_relation_class_init, spi_relation_new): upd
5336 * libspi/image.c (spi_image_finalize): kill.
5337 (spi_image_class_init): upd.
5338 (spi_image_interface_new): upd.
5339 (get_image_from_servant): impl.
5340 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5342 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5343 (spi_hyperlink_finalize): kill.
5344 (spi_hyperlink_new): upd.
5345 (get_hyperlink_from_servant): impl.
5346 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5348 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5349 (spi_hypertext_finalize): kill.
5350 (spi_hypertext_class_init): upd.
5351 (get_hypertext_from_servant): impl.
5352 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5354 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5355 (spi_editable_text_interface_new): upd.
5356 (get_editable_text_from_servant): impl.
5357 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5359 * libspi/text.c (get_text_from_servant): impl.
5360 All impls - update to use it killing more cut and paste,
5361 also fix bad string returns on duff args ( a somewhat
5362 impossible case to handle - but hey ).
5363 (spi_text_construct): impl.
5364 (spi_text_interface_new): upd.
5365 (spi_text_object_finalize): kill.
5367 * libspi/component.c
5368 (accessibility_component_object_finalize): kill.
5369 (spi_component_class_init): upd.
5370 (get_component_from_servant): impl. helper to kill cut & paste.
5371 (impl_accessibility_component_contains):
5372 (impl_accessibility_component_get_accessible_at_point):
5373 (impl_accessibility_component_get_position):
5374 (impl_accessibility_component_get_extents):
5375 (impl_accessibility_component_get_mdi_z_order):
5376 (impl_accessibility_component_get_layer):
5377 (spi_component_interface_new): upd.
5379 * libspi/action.c (spi_action_finalize): kill.
5380 (spi_action_class_init): upd. inherit from SpiObject.
5381 (spi_action_interface_new): upd.
5382 (get_action_from_servant): impl. helper to reduce cut & paste.
5383 (impl_getKeyBinding, impl_getName, impl_doAction),
5384 (impl_getDescription): Use it everywhere.
5386 * cspi/spi_main.c (get_live_refs): a pointer hash.
5387 (spi_object_hash, spi_object_equal): comment out.
5388 There are issues with CORBA object hashing that need
5391 * libspi/application.c (spi_application_init),
5392 (spi_application_new): upd.
5394 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5395 (spi_accessible_class_init): upd.
5396 s/accessible/object/ in epv methods.
5398 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5400 * at-bridge/bridge.c:
5401 Reorder the bridge initialization into the bridge gtk_module_init,
5402 an immediate call to bridge_register_app, and an idle_add for
5403 register_atk_event_listeners (the only code that *must* wait until
5404 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5405 the activation, creates the application's Accessible object, and
5406 queues the bridge_idle_init function. Restored call to
5407 Accessibility_Registry_deregisterApplication().
5408 Prior to making this call we obtain a new reference to the
5409 registry, which is a temporary hack that helps us handle apps that
5410 shut down the bonobo mainloop before we get there.
5412 * libspi/registry.c:
5413 Fix string leakage in debug block, and don't segv if a an app
5414 dies before its event notifications have been propagated.
5417 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5418 as stopgap measure until we get proper exception handling when
5419 objects die during or before interrogation.
5423 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5424 Also changed default value of is_gnome_app to TRUE.
5427 * test/keysynth-demo.c:
5428 Changed use of SPI_init and SPI_event_main to reflect API change above.
5431 Made report_focus_event check the warning value from getName
5432 before reporting on focussed accessible; simplifies handling of
5433 notifications from dead objects.
5435 * test/test-simple.c: (Changes not in this patch since source is
5438 2001-12-05 Michael Meeks <michael@ximian.com>
5440 * registryd/registryd.c (main): protect against
5441 bonobo-activation startup race condition.
5443 * cspi/spi_main.c (cspi_object_add_check): cope
5444 with the exception elegantly.
5446 * idl/Accessible.idl: decl. ChildGone
5448 * libspi/desktop.c (spi_desktop_dispose): impl.
5449 (spi_desktop_class_init): upd.
5450 (spi_desktop_add_application),
5451 (spi_desktop_remove_application),
5452 (abnormal_application_termination): impl.
5453 (impl_desktop_get_child_at_index): re-impl.
5456 (impl_accessibility_registry_deregister_application),
5457 (impl_accessibility_registry_register_application):
5458 kill excessive debug clutter.
5460 * test/test-simple.c (test_misc): test some NULL
5461 tolerance. (main): upd.
5463 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5464 implements no interfaces - so let's not crash.
5466 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5468 * libspi/accessible.c (spi_accessible_new_return): impl.
5469 helper to calm the cut and paste, to cope with
5470 NULL AtkObjects effectively and efficiently, and to kill
5471 the referencing bugs.
5473 * libspi/table.c (impl_getAccessibleAt),
5474 (impl_getRowHeader, impl_getColumnHeader): upd.
5476 * libspi/hyperlink.c (impl_getObject): upd.
5478 * libspi/accessible.c
5479 (impl_accessibility_accessible_get_child_at_index): upd.
5481 * libspi/component.c
5482 (impl_accessibility_component_get_accessible_at_point): upd.
5484 * test/test-simple.c (test_editable_text, test_text): impl.
5487 * cspi/spi_editabletext.c
5488 (AccessibleEditableText_insertText): constify.
5490 * test/test-simple.c (focus_me): make more robust.
5492 * libspi/accessible.c: remove some printfs in methods that
5493 we test and work fine, so we can get a clean tree dump.
5495 * test/test-simple.c (validate_accessible),
5496 (validate_tree): make tree dumping pretty too.
5498 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5499 it builds without debug on.
5501 * test/test-simple.c (validate_accessible): fix the most
5504 * cspi/spi_main.c (spi_object_release): leave the nicely
5505 blanked memory around if in debug mode.
5507 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5509 [committed to fixups2]
5510 2001-12-05 Michael Meeks <michael@ximian.com>
5512 * libspi/editabletext.c
5513 (spi_editable_text_class_init): g_type_class_peek_parent,
5514 not interface peek - so we finalize cleanly.
5516 * libspi/accessible.c (spi_accessible_new): kill debug.
5518 * test/test-simple.c (validate_accessible): fix ref.
5519 leak, print strings before freeing them; sigh, comment a
5520 chunk out due to strangeness.
5521 (validate_tree): unref the child after use.
5523 * cspi/spi_component.c (AccessibleComponent_getLayer):
5524 add missing break statement, switch on zlayer not the
5525 uninitialized retval.
5527 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5528 before (possibly re-entering) remote unref.
5530 * test/simple-at.c (main): unref the desktop.
5532 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5535 * cspi/spi_main.c (cspi_accessible_is_a): here to
5536 isolate bonobo API usage more.
5538 * libspi/registry.c (impl_accessibility_registry_register_application):
5539 prune bogus comment.
5541 2001-12-04 Michael Meeks <michael@ximian.com>
5543 * test/test-simple.c (validate_tree): upd.
5544 IndexInParent check to make it more lucid.
5545 (validate_accessible): dump the tree.
5547 * libspi/accessible.c (de_register_public_ref),
5548 (get_public_refs): impl.
5549 (spi_accessible_new): make more efficient & intuitive.
5550 Now IndexInParent check works.
5552 2001-12-04 Michael Meeks <michael@ximian.com>
5554 * cspi/spi-util.h: remove.
5556 * cspi/spi.h: move SPI_freeString here
5558 * libspi/component.c (impl_accessibility_component_get_layer):
5560 (impl_accessibility_component_get_mdi_z_order): ditto,
5561 return -1 on error - is this ok ?
5563 * test/test-simple.c (test_application): impl.
5565 * cspi/spi_accessible.c (Accessible_getApplication),
5566 (Accessible_isApplication): impl.
5568 * libspi/registry.c (spi_listener_struct_free): release
5569 the CORBA reference too.
5571 * libspi/accessible.c
5572 (impl_accessibility_accessible_get_parent): fix ref leak.
5574 * libspi/registry.c (spi_registry_new): make the registry
5575 immortal - we don't want it to go away ever.
5577 * libspi/application.c
5578 (spi_accessible_application_finalize): impl. cleanup.
5580 * cspi/spi_registry.c
5581 (deregisterGlobalEventListenerAll),
5582 (deregisterGlobalEventListener),
5583 (deregisterAccessibleKeystrokeListener): fix ref leak.
5585 * cspi/spi_main.c (SPI_init): remove redundant ref.
5587 * test/test-simple.c (unutterable_horror): impl. to force a
5592 (impl_accessibility_registry_deregister_application): release
5593 the application when we de-register it.
5595 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5596 until we have the infastructure to get it right.
5598 2001-12-03 Michael Meeks <michael@ximian.com>
5600 * libspi/Makefile.am: only build eventlistener.[ch]
5602 * libspi/accessible.c
5603 (impl_accessibility_accessible_get_child_at_index): don't leak.
5605 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5606 before we hit the idle handler.
5608 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5609 debugging than exit.
5611 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5613 * libspi/listener.c (impl_notify_event): check source
5614 not NIL before unref.
5616 * libspi/registry.c (impl_registry_notify_event): ditto.
5618 * libspi/eventlistener.c
5619 (impl_accessible_event_notify_event): unref the source.
5621 * libspi/accessibleeventlistener.c
5622 (impl_accessible_event_notify_event): unref the source.
5624 * idl/Event.idl: remove 'hash_id' attribute - of no
5627 * libspi/application.c (notify_listeners): upd list
5629 (spi_application_object_event_listener),
5630 (spi_application_toolkit_event_listener): upd to do correct
5634 (_registry_notify_listeners): update.
5635 (parse_event_type): this method also leaks like a sieve.
5636 (impl_accessibility_registry_deregister_global_event_listener):
5637 fix ETYPE_WINDOW case.
5639 * libspi/application.c
5640 (impl_accessibility_application_register_object_event_listener):
5643 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5645 * libspi/hypertext.c (impl_getLink): ditto.
5647 * cspi/spi_main.c (cspi_object_add): remove
5648 bogus CORBA_Object_duplicate.
5650 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5653 * cspi/spi_accessible.c
5654 (Accessible_getRelationSet): fix leak / referencing issue.
5656 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5657 (cspi_object_add, cspi_object_unref): upd.
5658 (spi_object_release, get_live_refs): impl.
5659 (cspi_cleanup): simplify.
5661 * *.[ch]: s/boolean/SpiBoolean/
5663 * cspi/spi_accessible.c (role_names): actualy order so it
5664 corresponds with the enum !
5666 * test/test-simple.c (test_roles): check some role strings
5667 vs. enums to detect offset errors.
5669 2001-12-01 Michael Meeks <michael@ximian.com>
5671 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5673 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5675 (Accessible_getChildAtIndex): use cspi_add_check so we
5676 check the ev before using a (possibly) invalid value.
5678 * libspi/accessible.c
5679 (impl_accessibility_accessible_get_parent): don't segv
5682 * at-bridge/bridge.c (gtk_module_init): upd.
5683 (bridge_property_event_listener): don't leak strings
5685 (bridge_state_event_listener),
5686 (bridge_property_event_listener): don't use a static
5687 buffer in case of recursive event emission &
5688 re-enterancy - split out the swathe of cut and paste
5690 (emit_eventv): and fix 2 ref leaks here & comply to the
5692 (bridge_register_app): rename to
5693 (bridge_idle_init): this and kill arg parsing, split
5694 various inits & bonobo-activation registration to module
5695 init time, kill referencing error.
5696 (bridge_exit_func): fix the same leak.
5697 (bridge_focus_tracker): don't leak event structures
5699 (bridge_signal_listener): more leakage and cut & paste
5701 (bridge_key_listener): return the result - FIXME is
5702 this polarity correct ?
5703 (accessibility_keystroke_from_atk_key_event): rename
5704 (accessibility_init_keystroke_from_atk_key_event): and stop
5706 (gtk_module_init): return a value - not that it is checked by
5708 (bridge_key_listener): register my horror at casting between
5709 IDL defined structs.
5710 (bridge_get_registry): kill - not used.
5712 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5714 * test/test-simple.c (test_roles): impl.
5715 (test_desktop, validate_accessible, validate_tree): impl.
5717 * cspi/spi_accessible.c (role_names): fixup bogus
5718 MAX_ROLES setup, make constants const for efficient linkage
5719 (AccessibleRole_getName): conform to coding style, make
5722 2001-11-30 Michael Meeks <michael@ximian.com>
5724 * cspi/spi.h: add missing prototype.
5726 * libspi/registry.c (spi_listener_struct_new): fix sig.
5728 * test/Makefile.am: add test-simple
5730 * test/test-simple.c: add
5732 * test/test.sh: add.
5734 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5736 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5737 do it straight - since otherwise we often get an activation race.
5739 [ work before Bill duplicated a chunk of it ... ]
5740 2001-11-30 Michael Meeks <michael@ximian.com>
5742 * libspi/keystrokelistener.c
5743 (spi_keystroke_listener_class_init): fixup arg
5746 * libspi/eventlistener.c
5747 (spi_event_listener_class_init): ditto.
5749 * tests/test.sh: add.
5751 * cspi/spi-listener-impl.h: update macros.
5753 * cspi/spi-listener-impl.c
5754 (cspi_event_listener_remove_callback): add
5755 correct pre-conditions.
5757 * cspi/spi_main.c (SPI_exit): guard vs. double
5758 exits, exit the mainloop nicely.
5759 (SPI_event_main): make more sense.
5760 (SPI_init): move the atexit evilness here so we
5761 always do it (yuck).
5762 (SPI_event_main): upd.
5764 * test/simple-at.c: update for listener changes.
5766 * registryd/registryd.c (main): prune kruft.
5768 * libspi/libspi.h: upd.
5770 * libspi/eventlistener.[ch]: rename broken macros.
5772 * libspi/accessibleeventlistener.[ch]: remove.
5774 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5776 * test/test-simple.c: Add - automated tests.
5778 * cspi/spi-listener-impl.c (cspi_event),
5779 (cspi_key_event): add user_data to invoke.
5780 (cspi_keystroke_listener_finalize): impl.
5781 (cspi_keystroke_listener_class_init): upd.
5784 (createAccessibleEventListener),
5785 (AccessibleEventListener_addCallback),
5786 (createAccessibleKeystrokeListener),
5787 (AccessibleKeystrokeListener_addCallback): upd.
5789 * libspi/deviceeventcontroller.c
5790 (spi_device_event_controller_check_key_event): add public proto.
5793 (impl_accessibility_registry_deregister_global_event_listener):
5794 always init listeners.
5795 (_registry_notify_listeners): yes it is.
5797 * cspi/spi-listener-impl.c (cspi_key_event):
5799 (cspi_event_listener_finalize): impl.
5800 (cspi_event_listener_class_init): hook up.
5801 (event_handler_new, event_handler_free),
5802 (event_list_remove_by_callback): impl.
5803 (cspi_event_listener_remove_callback),
5804 (cspi_keystroke_listener_remove_callback),
5805 (cspi_keystroke_listener_add_callback),
5806 (cspi_event_listener_add_callback): upd.
5808 * libspi/keystrokelistener.c
5809 (keystroke_listener_object_finalize): kill
5810 (spi_keystroke_listener_class_init): upd.
5811 (spi_keystroke_listener_add_callback),
5812 (spi_keystroke_listener_remove_callback): kill,
5814 (impl_key_event): prune drasticaly.
5816 * libspi/eventlistener.c
5817 (spi_event_listener_add_callback),
5818 (spi_event_listener_remove_callback): kill, use
5820 (impl_accessible_event_notify_event): upd.
5821 (spi_event_listener_object_finalize): remove.
5823 * libspi/Makefile.am: use eventlistener.[ch]
5825 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5827 * libspi/registry.c (_registry_notify_listeners):
5828 Changed listener loop iteration to use preferred convention.
5829 Got rid of string memory leaks caused be calling g_strconcat
5830 inside function calls.
5832 * libspi/registry.c (parse_event_type):
5833 Stopped g_strconcat memory leaks, free the g_strsplit return,
5834 g_strdup the split pieces when used, etc.
5836 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5839 Change method 'compare' to return a 'difference set' rather than
5840 taking a StateSet as an out parameter (more Java-friendly).
5842 * idl/Accessible.idl:
5843 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5845 * idl/Component.idl:
5847 Changed methods 'getExtents' and 'getImageExtents' in these
5848 interfaces to return a BoundingBox structure.
5849 (getPosition and getSize are redundant and possibly should be
5850 removed, rather than creating a corresponding Point struct.)
5852 * cspi/spi_component.c:
5853 Modify implementation of getExtents to reflect the above IDL
5858 Add (missing) AccessibleImage_getExtents () API.
5860 * docs/reference/cspi/at-spi-cspi-sections.txt:
5861 Added AccessibleImage_getImageExtents () to docs.
5863 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5865 * idl/Component.idl:
5866 Added two methods, getLayer () and getMDIZOrder (), to reflect
5867 the new ATK methods atk_object_get_layer and
5868 atk_object_get_mdi_z_order. (Which arguably should be part of the
5869 AtkComponent API and AtkObject). Also added an enum,
5870 ComponentLayer, for the first method's return value.
5872 * libspi/component.c:
5873 Added implementations for these methods.
5875 * cspi/spi_component.c:
5877 Added cspi binding methods for above,
5878 AccessibleComponent_getLayer() and
5879 AccessibleComponent_getMDIZOrder().
5880 Added cspi enum 'AccessibleComponentLayer'.
5882 * docs/reference/cspi/at-spi-cspi-sections.txt:
5883 Added above methods to docs.
5887 Changed typedef for 'boolean' type (and all references to it) to
5888 SPIBoolean, to avoid keyword clashes with C++.
5891 Changed usages of 'boolean' to SPIBoolean.
5893 * test/keysynth-demo.c:
5894 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5895 app), except where SPIBoolean is required by the callbacks API.
5897 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5899 * cspi/spi_registry.c:
5900 Removed obsolete X event loop for passive keygrabs (which now
5903 * registryd/registryd.c:
5904 Removed unnecessary call to gdk_init() [cruft]. This also allows
5905 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5908 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5910 * docs/reference/cspi:
5911 Included docs for SPI_freeString in generated documentation.
5914 Renamed spi_freeString to SPI_freeString, for consistency. Added
5915 documentation for this function.
5918 Renamed spi_freeString to SPI_freeString, for consistency.
5919 Removed obsolete method declaration string_from_corba_string.
5921 * test/keysynth-demo.c:
5922 Small tweak to comments.
5925 Stopped leaking the strings returned from CSPI.
5927 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5929 Merged Michael's branch (see his ChangeLog entries below).
5931 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5932 bridge is alive, release on exit.
5934 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5935 Fix type check macro.
5938 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5941 Added is_gnome_app static, and method cspi_is_gnome_app(),
5942 so we can call the appropriate shutdown routine at exit in SPI_exit.
5944 * cspi/spi_main.c (cspi_object_ref):
5945 Duplicate the corba object passed in, since we're keeping it around.
5947 * cspi/SPI_exit.c, cspi_cleanup:
5948 Moved the releasing of the live refs to its own function, so we
5949 can put it in g_atexit (). Call the appropriate shutdown API
5950 depending on whethe calling client is a gnome app or not
5951 (bonobo_main_quit or CORBA_ORB_shutdown).
5953 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5954 Unref the listener when this method is called, after
5955 deregistration. Updated the API docs to note this behavior.
5957 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5958 Bugfixes: Ref the bonobo object when returning a parent or child
5959 reference, or an AccessibleRelation. Generally made sure
5960 BonoboObject refcount is incremented whenever we return an
5963 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5964 Fixed typo/bug in signal declaration.
5966 * libspi/accessibleeventlistener.h:
5969 * libspi/application.c (spi_application_new):
5970 Fixed leak in initialization.
5973 Remembered to increment bonobo-object refcount when returning
5974 children (applications) from desktop object.
5975 Added (empty) finalize method.
5977 * libspi/deviceeventcontroller.c:
5978 Hold a ref to listeners inside DEControllerKeyListeners.
5979 Added dec_key_listener_free() method. Use prepend instead of
5980 append in key_listener list. Fixed some refcount madness and
5981 leaks in the listener registration/deregistration - deregistration
5982 now calls dec_key_listener_free() on listeners, and on the
5983 temporarily constructed dec_key_listener() used to perform the search/match.
5985 * libspi/hypertext.c (spi_hypertest_finalize):
5986 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5987 class. Also fixed spi_hypertext_interface_new() and
5988 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5990 * libspi/hypertext.h:
5991 Removed pointless and duplicate AtkObject pointer from
5994 * libspi/keystrokelistener.c:
5995 Fixed incorrect type of keystroke_listener_parent_class,
5996 renamed keystroke_listener_object_finalize to
5997 spi_keystroke_listener_object_finalize.
5998 Fixed typo in signal declaration
5999 (spi_keystroke_listener_class_init).
6001 * libspi/registry.c:
6002 Added funcsions spi_listener_struct_new() and
6003 spi_listener_struct_free() to help with memory management issues.
6004 We also now use these methods instead of gnew + poking stuff into
6005 the struct, and to decrement listener counts/free the listeners
6006 when deregistering them.
6007 Fix more refcount bugs in getDesktop() and
6008 getDeviceEventController().
6011 De-ref the desktop after enumerating the applications. Explicitly
6012 decrement the refcounts on the created listeners on exit (using
6013 _unref for keystroke listeners, and via the
6014 deregisterGlobalEventListenerAll command for other event
6017 2001-11-27 Michael Meeks <michael@ximian.com>
6019 * cspi/spi-listener.h: fixup enum.
6021 2001-11-27 Michael Meeks <michael@ximian.com>
6023 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6024 (cspi_keystroke_listener_new): Use the cspi variants.
6026 2001-11-26 Michael Meeks <michael@ximian.com>
6028 * test/keysynth-demo.c: fix 2 compile warnings, missing
6031 * test/simple-at.c (report_focussed_accessible),
6032 (report_focus_event, report_button_press),
6033 (check_property_change, is_command_key),
6034 (report_ordinary_key_event, report_command_key_event): upd.
6036 * util/mag_client.h: include pre-requisites.
6038 * libspi/accessibleeventlistener.c
6039 (spi_event_listener_object_finalize): free any lingering
6042 * libspi/keystrokelistener.c
6043 (keystroke_listener_object_finalize): ditto.
6045 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6046 callbacks, with cspi types.
6048 * cspi/spi_event.c (createAccessibleEventListener): chain to
6049 (AccessibleEventListener_addCallback): here.
6050 (createAccessibleKeystrokeListener): chain to
6051 (AccessibleKeystrokeListener_addCallback): here.
6053 * libspi/keystrokelistener.c
6054 (spi_keystroke_listener_class_init): add signal.
6055 (impl_key_event): emit the event.
6056 (boolean_handled_accumulator): impl.
6057 (marshal_BOOLEAN__POINTER): add, gack.
6059 * libspi/accessibleeventlistener.c
6060 (spi_event_listener_class_init): add signal.
6061 (impl_accessible_event_notify_event): emit the signal &
6062 make the loop efficient.
6063 (spi_event_listener_add_callback): prepend the callback.
6065 * libspi/accessibleeventlistener.h: add an 'event' signal,
6066 decl type on callback.
6068 * libspi/keystrokelistener.h: ditto.
6070 * cspi/spi-listener.h: make methods typesafe and
6071 make them use the new event typedefs.
6073 * test/simple-at.c (report_focussed_accessible):
6074 include mag_client.h
6075 Use *(void *)text_interface not the other thing.
6077 * configure.in: add gtk to registryd bits - since we use
6080 * util/magnifier.c: include libbonobo.h
6082 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6084 * test/keysynth-demo.c:
6085 Turned this into a simple scanning keyboard, to demonstrate the
6086 use of g_timeout_add () as a means of creating timers for
6087 scanning, and the use of GtkStyle for visually indicating when
6088 virtual keyboard elements are selected.
6090 keysynth-demo now listens to any keyboard keys with zero-valued
6091 keycodes (i.e. 'unused' keys) and interprets them as
6094 Reworked the shiftlatch code so that shift-down state isn't held
6095 for long periods (it's only synthesized immediately prior to
6096 the keysynth event it's modifying). Note that shiftlatch in this
6097 demo is a convenience, not intended to take the place of AccessX
6098 which is the better choice for getting 'sticky' modifier keys.
6100 * libspi/deviceeventcontroller.c:
6101 * at-bridge/bridge.c:
6102 * cspi/spi_registry.c:
6103 Removed some debug print stuff, and put other verbosity in #ifdef
6108 Implemented some more of the magnifier IDL for the simple
6109 magnifier: namely, getZoomRegionParams.
6110 Added mag_x and mag_y members to MagnifierData struct, aid of this
6112 Added GtkWindow::realize signal handler to magnifier, to keep it
6113 from receiving keyboard focus from the WM.
6115 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6117 * cspi/spi-private.h: my guess at what michael forgot
6118 before he ran off to NZ :-)
6120 2001-11-23 Michael Meeks <michael@ximian.com>
6122 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6123 comment out non existant method invoke so we link.
6125 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6126 use bonobo_exception_get_text for more friendly warnings.
6128 * cspi/spi.c (Obj_Add): move into spi_main & rename
6129 spi_object_add; kill spi.c
6131 * cspi/spi_registry.c
6132 (deregisterGlobalEventListener),
6133 (deregisterGlobalEventListenerAll),
6134 (registerGlobalEventListener): fix exception leaks.
6136 * cspi/spi_main.c (spi_exception): impl. helper, so we
6137 don't leak exceptions.
6139 * cspi/spi_selection.c
6140 (AccessibleSelection_deselectSelectedChild): return the
6143 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6144 (spi_registry): ditto.
6145 (SPI_init): guard against double inits.
6147 * cspi/*.c: use spi_ev (), and spi_registry () where
6148 appropriate - a temporary hack until we have something
6149 better. Use spi_object_add
6151 2001-11-22 Michael Meeks <michael@ximian.com>
6153 * cspi/Makefile.am: re organise, install the headers.
6155 * cspi/*.h: add G_BEGIN/END_DECLS
6157 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6160 Added non-preemptive keylistener for key events with no modifiers
6161 and shift-only modifier.
6163 * libspi/keystrokelistener.c:
6164 Removed some verbose diagnostics printout.
6166 * cspi/spi_registry.c:
6167 Fixed a bug that caused all key listeners to be registered as
6170 * libspi/deviceeventcontroller.c:
6171 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6172 for non-preemptive key masks.
6175 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6177 * docs/reference/idl/at-spi-idl-docs.sgml:
6178 * docs/reference/idl/at-spi-idl-sections.txt:
6179 * docs/reference/idl/at-spi-idl-overrides.txt:
6180 Added missing files.
6182 * docs/reference/Makefile.am:
6183 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6184 to scan the IDL files :-(
6189 Added .cvsignore files.
6191 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6193 * libspi/deviceeventcontroller.c:
6194 * libspi/keystrokelistener.c:
6196 * cspi/spi_registry.c:
6197 Added filters for KeySets, KeyEventSeq, and event types to key
6198 event dispatching, so listeners should only receive those events
6199 that they requested :-)
6201 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6206 * docs/reference:Makefile.am:
6207 * docs/reference/cspi:
6208 * docs/reference/cspi:Makefile.am:
6209 * docs/reference/cspi:tmpl:
6210 * docs/reference/cspi:tmpl:*.sgml:
6211 * docs/reference/idl:
6212 * docs/reference/idl:Makefile.am:
6213 * docs/reference/idl:at-spi-idl-sections.txt:
6214 * docs/reference/idl:at-spi-idl-docs.sgml:
6215 * docs/reference/idl:tmpl:
6216 * docs/reference/idl:tmpl:*.sgml:
6218 Restructured docs directory to allow separate 'reference' docs
6219 section, and forked idl and cspi docs. Added the sgml template
6220 files to CVS. Added the first sections/structural sgml for the
6223 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6225 * configure.in, libspi/Makefile.am: find libXtst.
6227 2001-11-21 Michael Meeks <michael@ximian.com>
6229 * test/accessx-gui.c: s/spi_value/value/ - doh.
6231 * libspi/base.[ch]: add.
6233 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6235 * idl/Accessible.idl:
6236 * idl/Application.idl:
6239 Started gtk-doc cleanup on IDL.
6241 * libspi/deviceeventcontroller.c:
6242 Added and connected non-preemptive key notification from the
6243 toolkits (in addition to the pre-emptive support from XServer
6244 which we had before, but which causes 'focus flashing'). Filters
6245 are presently limited to key modifiers and global/non-global,
6246 KeySets are presently ignored, as are KeyEvent masks.
6248 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6249 structs into the persistant structure rather than just storing
6250 pointers to things that might not persist across servant
6253 The XGrabKey call now does async keygrabs, because synchronous
6254 ones were deadlocking with GDK_event code in a very nasty way.
6256 Added boolean to internal method notify_keylisteners, to indicate
6257 whether the event came from the 'toolkit source' or the 'global
6258 (XServer) source' - this is used in the notification process to
6259 determine which listeners to send the event to.
6261 deviceeventcontroller.c is now warning-free.
6263 * libspi/registry.c:
6264 Fixed regression in application de-registration.
6265 Also fixed some really brain-dead weirdness having to do with
6266 event dispatching - event structs are now duplicated before being
6267 re-marshalled in the dispatch to listeners. This also fixes a
6268 Solaris build problem.
6271 2001-11-20 Michael Meeks <michael@ximian.com>
6274 (impl_accessibility_registry_deregister_global_event_listener):
6277 * libspi/deviceeventcontroller.c
6278 (spi_device_event_controller_check_key_event): return
6279 FALSE on no virtual method.
6281 * libspi/*..h: make includes work on a correctly pathed install.
6283 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6285 * libspi/application.h: kill unused ( and whacked out )
6286 gboolean *spi_application_set_id (AtkObject *app, long id);
6288 2001-11-20 Michael Meeks <michael@ximian.com>
6290 * libspi/*.[ch]: further convert to bonobo's type func
6291 macros, remove redundnant casts etc.
6293 * libspi/text.c s/accessibility_text/spi_text/g,
6294 re-order to de-cruft.
6296 * libspi/hypertext.c: re-order to kill a huge slew
6297 of redundant forward decls.
6299 * libspi/relation.c: ditto.
6301 * libspi/image.c: ditto.
6303 * */.cvsignore: update
6305 2001-11-20 Michael Meeks <michael@ximian.com>
6307 * libspi/deviceeventcontroller.c
6308 (_controller_register_with_devices): use g_getenv,
6309 kill stdlib.h include.
6311 * libspi/keystrokelistener.c
6312 (spi_keystroke_listener_get_type): kill
6313 (spi_keystroke_listener_class_init),
6314 (spi_keystroke_listener_init): rename to this.
6316 * libspi/text.c (impl_getAttributes): fix warning / bug.
6318 * libspi/*.[ch]: more headers, includes and over commenting.
6320 2001-11-20 Michael Meeks <michael@ximian.com>
6322 * libspi/*.[ch]: fixup headers, includes and over commenting.
6324 * libspi/image.c (impl__get_imageDescription): const
6325 correctness warning fix. remove redundant casting.
6327 * libspi/table.c (impl_getRowDescription): ditto.
6328 (impl_getColumnDescription): ditto.
6330 * libspi/libspi.h: add.
6332 2001-11-19 Michael Meeks <michael@ximian.com>
6334 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6336 * libspi/component.c (accessibility_component_get_type):
6337 rename to (spi_component_get_type): and macroify.
6338 (accessibility_component_init): rename to
6339 (spi_component_init): this
6340 (accessibility_component_class_init): rename to
6341 (spi_component_class_init): this
6343 * libspi/action.c (spi_action_get_type): kill, use the macro.
6345 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6348 * libspi/application.c (spi_application_object_event_listener),
6349 (impl_accessibility_application_register_object_event_listener):
6350 warning fixes / const understanding updates.
6352 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6355 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6357 * libspi/spi_accessible.c: Added docs and C bindings for
6358 AccessibleStateSet. (No implementations yet). Documentation
6359 coverage for C bindings now 100%. Made docs for event listeners
6364 boolean notifyListenersSync (in DeviceEventListener listener,
6365 in DeviceEvent event);
6367 oneway void notifyListenersAsync (in DeviceEventListener listener,
6368 in DeviceEvent event);
6370 Added DeviceEventListener and DeviceEvent structs (may deprecate
6371 KeyStroke and KeystrokeListener in favor of this generic
6372 event/listener framework for devices).
6374 * libspi/deviceeventcontroller.c:
6376 Changed some key listener code to take masks, etc., and paved the
6377 way for integration of toolkit/non-preemptive key events. Changed
6378 signatures of some internal methods.
6380 * at-bridge/bridge.c:
6381 Fixed regression connecting to interface signals, apparently
6382 caused by GTK+ changes.
6384 Added an internal bridge_state_listener to deal with
6385 property-change:accessible-state signals.
6387 Changed the key_listeners GList to store structs (including masks,
6388 etc.) instead of just CORBA_Objects (required for full
6389 implementation of key listener API).
6391 Connected the bridge to all currently supported Atk signals.
6392 Events now supported:
6393 object:property-change
6394 object:property-change:accessible-name
6395 object:property-change:accessible-state
6396 object:property-change:accessible-description
6397 object:property-change:accessible-parent
6398 object:property-change:accessible-value
6399 object:property-change:accessible-role
6400 object:property-change:accessible-table-caption
6401 object:property-change:accessible-table-column-description
6402 object:property-change:accessible-table-column-header
6403 object:property-change:accessible-table-row-description
6404 object:property-change:accessible-table-row-header
6405 object:property-change:accessible-table-summary
6406 object:children-changed
6407 object:visible-data-changed
6408 object:selection-changed
6409 object:text-selection-changed
6411 object:text-caret-moved
6413 object:row-reordered
6415 object:column-inserted
6416 object:column-reordered
6417 object:column-deleted
6418 object:model-changed
6420 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6422 * libspi/hyperlink.c,h:
6423 Fixed some broken stuff in hyperlink.
6425 * libspi/relation.h:
6426 * libspi/relation.c:
6427 * cspi/spi_accessible.c:
6428 Initial implementations of AccessibleRelation methods, and docs.
6430 * libspi/accessible.c:
6431 Fixed a bug that caused SEGV if an accessible
6432 object's description is NULL, and a client
6433 requests it. An empty string is now returned.
6435 * cspi/spi_editabletext.c:
6436 * cspi/spi_hypertext.c:
6438 * cspi/spi_hyperlink.c:
6442 Doc coverage now 95%.
6444 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6446 One last namespacing revision:
6447 * libspi/accessibleeventlistener.[ch]:
6448 Renamed SpiAccessibleEventListener to SpiEventListener,
6449 (no need for two namespaces ;-)
6451 And lots of documentation fixes:
6453 * docs/at-spi-docs.sgml:
6454 Fixed 'underscore vs. hyphen' bug that was preventing
6455 the gtk-doc API docs from being automatically generated.
6458 * cspi/spi-listener.h
6460 * cspi/spi_accessible.c
6462 * cspi/spi_application.c
6463 * cspi/spi_component.c
6464 * cspi/spi_editabletext.c
6466 * cspi/spi_hypertext.c
6468 * cspi/spi_registry.c
6469 * cspi/spi_selection.c
6473 * docs/at-spi-docs.sgml
6474 * docs/at-spi-sections.txt
6476 Added and fixed up gtk-doc documentation in cspi.
6478 Interfaces now (fully) documented (subject to revision and enhancement):
6480 Event Listener Support
6482 AccessibleApplication
6486 AccessibleEditableText
6493 AccessibleRelationSet
6498 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6500 * at-bridge/bridge.c:
6501 Initial work for toolkit-level key snooper connection by bridge.
6506 New typedefs and fixes to support new namespacing, and cleaner
6507 separation of cspi bindings from libspi bonobo implementation.
6508 Removed inconsistent and extraneous Spi* namespace prefix that
6509 had crept into cspi headers.
6510 Lots of comment fixes that sed had missed.
6512 * cspi/spi-roletypes.h:
6513 * cspi/spi-statetypes.h:
6514 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6515 to AccessibleRoleType.
6517 * libspi/accessibleeventlistener.h:
6518 Fixed minor namespacing weirdness.
6520 * libspi/deviceeventcontroller.c:
6521 Reordered some internal API for device listeners.
6522 Changed the key registry final boolean to 'is_system_global'
6523 rather than 'is_synchronous', which is more descriptive of its
6525 Added spi_device_event_controller_new().
6526 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6528 * libspi/keystrokelistener.[ch]:
6529 Namespaced KeystrokeListener to SpiKeystrokeListener.
6530 Changed uses of keymasks to use SPI_ prefix, and did other
6533 * libspi/keymasks.h:
6534 Namespaced keymask constants with SPI_ prefix.
6536 * libspi/registry.c:
6537 Some warning fixes, and knock-on fixes from namespace changes.
6540 Added rules for accessx-gui test program.
6542 * test/accessx-gui.c:
6543 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6544 utility. It doesn't actually use at-spi, but it's still cool and
6547 * test/keysynth-demo.c:
6551 Fixes so that these test clients work properly with the namespaced
6552 libraries. (Incompletely tested for technical reasons, fixes may follow)
6555 2001-11-13 Michael Meeks <michael@ximian.com>
6557 * libspi/application.c
6558 (impl_accessibility_application_get_version),
6559 (impl_accessibility_application_get_toolkit_name):
6561 (impl_accessibility_application_set_id),
6562 (impl_accessibility_application_get_id): remove
6563 redundant casting code.
6565 * libspi/action.c (impl_getDescription): fix warnings.
6567 * libspi/accessible.c
6568 (impl_accessibility_accessible_get_parent),
6569 (impl_accessibility_accessible_get_child_at_index),
6570 (impl_accessibility_accessible_get_state),
6571 (impl_accessibility_accessible_get_relation_set):
6572 warning fixes & include action.h
6574 2001-11-13 Michael Meeks <michael@ximian.com>
6576 * *.[ch] fix bits I screwed up:
6578 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6579 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6581 2001-11-13 Michael Meeks <michael@ximian.com>
6583 * *.[ch] Namespace libspi into spi_ and Spi.
6585 2001-13-11 Michael Meeks <michael@ximian.com>
6587 * Makefile.am: dist & install at-spi-1.0.pc
6589 * libspi/Makefile.am: install into at-spi-1.0
6591 * idl/Makefile.am (idldir): install into at-spi-1.0
6593 * at-spi-1.0.pc.in: add.
6595 * configure.in: build it.
6597 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6599 * test/keysynth-demo.c:
6600 Use a 'realize' signal-handler to set the WM properties for
6601 the virtual keyboard, rather than making it a "POPUP" type
6602 override-redirect window (thanks to anders carlsson for that
6605 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6608 * test/keysynth-demo.c:
6609 Added new test of key synthesis, which creates a simple
6610 (mouse-operated) onscreen keyboard. It inserts key events into
6611 the currently-focused window, thus it does not grab keyboard focus
6614 * cspi/spi_registry.c:
6615 Added C binding for AT-SPI generateKeyEvent.
6617 * libspi/deviceeventcontroller.c:
6618 Added call to XFilterEvent so that key listener works with XIM (we
6619 hope). Added event_synth_type to generateKeyEvent, so that we can
6620 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6621 synthesize a press/release pair for KeySyms.
6623 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6625 * libspi/Makefile.am:
6626 * registryd/Makefile.am:
6627 (temporary) hack to include libXtst in libspi and registryd.
6628 (Needed for keystroke synthesis, see below).
6631 Improved API for registerKeystrokeListener, in accordance with
6632 discussions with Gnopernicus team and X server research.
6634 * libspi/registry.c:
6635 * libspi/deviceeventcontroller.c:
6636 * libspi/accessible.c:
6637 * libspi/keystrokelistener.c:
6638 Changes and fixes to support keylisteners for potentially
6639 consumed key events (that is, 'passive grabs').
6640 Added implementation for generateKeyEvent() [untested].
6643 Changes to registerKeystrokeListener() API, as above.
6644 Added deregisterGlobalEventListenerAll(), and
6645 deregisterKeystrokeListener(), which are needed for clean exit of
6647 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6648 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6650 * cspi/spi_registry.c:
6651 Added implementations of function prototypes mentioned above.
6653 * registryd/registryd.c:
6654 Added the key listener event source as a g_timeout(), to allow
6655 receipt of key events that are not caught by GDK (since GDK
6656 doesn't support passive keygrabs, this was necessary).
6659 Changed to attach a keylistener to 'Alt' keys, and
6660 respond to the following keycommands: Alt-M (toggle magnifier);
6661 Alt-F (toggle speech); Alt-Q (quit).
6662 Added an exit routine to deregister the listeners, and a key
6663 listener that prints some key info to the console when a key
6664 matches the listener mask (and is thus received by the listener).
6666 * util/idl/Magnifier.idl:
6667 Changes to magnifier API to support multiple zoom regions,
6668 non-uniform scaling in x and y, markDirty, and a host of other
6669 features that would be useful to magnification.
6672 * util/mag_client.c:
6673 * util/mag_client.h:
6674 * util/mag_control.c:
6676 Source code changes to support the above IDL changes.
6679 As above, and also changes to use a (slower) generic conversion
6680 path for colormap conversions, since the fast RGB conversions have been
6681 reported to fail for 16-bit displays.
6683 2001-10-26 Michael Meeks <michael@ximian.com>
6685 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6687 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6689 * at-bridge/Makefile.am: fix LDFLAGS.
6691 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6693 * at-bridge/bridge.c:
6694 Re-worked listeners for toolkit events, now we have signal
6695 and property listeners. Added a private method
6696 register_atk_event_listeners(), which registers with the
6697 various atk and gtk signals we need to monitor in order to emit
6699 Added emission hook for AtkObject:property-change events, to
6700 support the 'property listeners'.
6701 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6704 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6705 which emit warnings and exit, respectively, if CORBA errors occur
6706 during remote calls, and we now use these methods to check most of
6707 our CORBA calls in the C bindings.
6709 * cspi/spi_accessible.c:
6710 Changed AccessibleSelection_refSelectedChild() to
6711 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6712 now increment refcounts.
6714 * cspi/spi_component.c:
6715 Fixed some long pointer casts (dangerous!) to pass pointers to
6716 CORBA_longs of the proper type to the CORBA stubs, and copy the
6717 data into the longs that were passed into the C bindings code.
6719 * at-bridge/bridge.c:
6721 * libspi/accessible.c:
6722 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6723 hyperlinks, AtkHyperlink is an object type.
6725 * libspi/application.c:
6726 Added various conversions to and from "generic" event types and
6727 atk-specific types; this is really part of the 'bridge'
6728 implementation but is valid for all AtkObject-based accessibility
6731 * libspi/editabletext.c:
6732 Fixed nasty bug wherein editable text's finalize method was
6733 unref'ing tha AtkObject reference that the text parent class was
6734 about to unref _again_. There was also a nasty inheritance bug
6735 that meant that the AccessibleEditableText class was corrupt.
6737 * libspi/selection.c:
6738 Provided implementations for some selection API that was broken.
6740 * idl/Application.idl:
6741 Added registerObjectEventListener () method.
6744 Fixed a number of return values that were Bonobo_Unknowns from
6745 bonobo_object_corba_objref(), which I
6746 forgot to dup before returning. Changed instances of
6747 bonobo_object_corba_objref (bonobo_object(o)) to
6748 BONOBO_OBJREF(o), for concision and clarity.
6750 2001-10-13 Louise Miller <louise.miller@sun.com>
6752 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6753 idl/Event.idl, idl/Registry.idl
6754 Changed these files to include Bonobo_Unknown.idl instead
6757 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6759 * libspi/component.c libspi/component.h:
6760 Fixed typo. Added assertions for object checks in
6761 AccessibleComponent code.
6763 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6765 * idl/Accessible.idl:
6766 Added 'isEqual (Accessible *object)'
6767 method for Accessible. (Not Yet Implemented).
6770 Changed signature of registerKeystrokeListener() to
6771 take a KeySet and KeyEventSeq so that specific keys and event
6772 types could be requested for monitoring, and added a flag
6773 is_synchronous so that either synchronous or asynchronous
6774 notification could be requested. (However this is not all
6775 implemented yet). This also meant adding two new typedefs,
6776 KeyEventSeq and KeySet.
6779 Added two new relations, RELATION_TOOLTIP_FOR and
6780 RELATION_LEAFNODE_OF.
6783 Added new state, STATE_HAS_TOOLTIP.
6785 * libspi/text.c, editabletext.c:
6786 Added new assertions to all casts of bonobo-objects from
6787 CORBA servants, to prevent Text API calls on non-text objects.
6788 Changed suspect casts of int-pointer types, so that we
6789 always send a valid CORBA_long pointer to the CORBA APIs that use
6790 in/out long parameters. We then have to copy from the CORBA_long
6791 into the regular long or int for return to the C bindings, or
6792 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6795 * libspi/deviceeventcontroller.c:
6796 Cleaned these sources up.
6798 Changed return type for getCharacterAtOffset to
6799 CORBA_unsigned_long, to allow for 32-bit characters.
6802 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6806 Fixed 'make dist' so that distro compiles...
6807 * libspi/keymasks.h:
6809 * cspi/spi-listener.c:
6810 KeystrokeListenerCB now returns a boolean.
6812 Added KeyEventType struct, and KeyStroke.
6813 Also added createKeystrokeListener(),
6814 KeystrokeListener_addCallback(),
6815 KeystrokeListener_removeCallback(), and added a keymask to
6816 registerKeystrokeListener().
6817 * cspi/spi_accessible.c:
6818 Changed numerous return types for interfaces from
6819 AccessibleComponent to Accessible<InterfaceName>; this was
6820 probably a cut-and-paste error.
6822 Implementations of new KeystrokeListener api (from spi.h,
6825 Changes to key modifier mapping.
6826 Created ControllerEventMask struct.
6827 Made DeviceEventController derive from Bonobo::Unknown.
6829 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6830 * libspi/deviceeventcontroller.c:
6831 Added a number of new internal (private) methods.
6832 * libspi/editabletext.c:
6833 * libspi/editabletext.h:
6834 Fixed a number of bugs related to the fact that
6835 editabletext inherits from text. Fixed the EditableText struct,
6836 the init() call, and use correct casts when calling Text methods
6837 from an EditableText object. Removed (duplicate) atko from the
6838 EditableText structure, we use the one in the parent Text
6839 structure via the casts mentioned above.
6840 * libspi/keystrokelistener.[ch]:
6841 * libspi/registry.c:
6842 Changes in support of keyboard handling (above).
6844 Keyboard handling, though partly functional, is still not
6845 recommended for at-spi client use as there is considerable
6846 work yet to be done.
6849 Changed some places where pointers to various int types
6850 are cast to be pointers to CORBA_long types and vice-versa:
6851 pointer casting is not safe so we pass pointers of the correct
6852 types and then cast the result before putting it into the target
6855 * libspi/text.h: minor typos corrected.
6857 We now speak not only the name of a Text element, but the
6858 first sentence of its content, when it receives focus.
6859 I also changed the text compression to 75% from 50%.
6860 * util/Accessibility_Util.server.in:
6861 Changed the default magnifier type to be a 3x vertical
6862 splitscreen magnifier (was previously a 2x horizontal one).
6864 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6866 * libspi/keystrokelistener.h:
6867 * libspi/keystrokelistener.c:
6868 Initial functional implementations of KeystrokeListener.
6871 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6873 Fixed string handling for NULL strings in libspi.
6874 Added spi_freeString to free strings returned by C bindings.
6876 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6878 * libspi/keystrokelistener.h:
6879 * libspi/keystrokelistener.c:
6880 Began (no-op) implementations of KeystrokeListener
6882 * libspi/deviceeventcontroller.c:
6883 * libspi/deviceeventcontroller.h:
6884 Began creating implementations of DeviceEventController,
6885 to handle keystroke and mouse event listening and
6887 * libspi/accessible.c:
6888 Stubbed-in the implementations for
6889 Accessibility_Accessible_getState and
6890 Accessibility_Accessible_getRelationSet.
6891 * libspi/registry.c:
6892 Improved de-registration process and fixed some bugs,
6893 deregistration now works correctly.
6895 Added initialization of applications list (to NULL).
6897 Reduced speech compression from 0.5 to 0.7, for demo.
6898 Changed call to gdk_window_set_decorations()
6899 to gtk_window_set_decorated().
6900 * at-bridge/bridge.c:
6901 Bridge now deregisters when app exits, via
6902 registration of a cleanup function
6903 with the g_atexit() call.
6904 Required making 'app' static, renamed 'this_app'.
6905 Fixed broken use of bonobo_init, passing argv wrongly.
6907 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6911 Created a new directory for
6912 accessibility-related utilities, primarily for
6913 testing and demo purposes, but with possible
6920 Onscreen magnifier utility that
6921 is implemented as a bonobo service.
6923 * util/mag_client.c:
6924 * util/mag_client.h:
6925 Client-side support (simple C bindings)
6926 for Magnification service
6928 * util/mag_control.c:
6929 Client program example for
6930 Magnification service
6932 * util/Accessibility_Magnifier.server.in:
6933 Bonobo-activation file for the
6934 Magnification service.
6937 * util/idl/Magnifier.idl:
6938 IDL defining the bonobo Magnification
6942 Modifications to use the bonobo-activated magnifier
6943 above, in place of trying to connect to an existing
6944 magnifier that uses socket-listening IPC.
6946 If env variable MAGNIFIER is set, a magnifier service
6947 will be started if one does not exist.
6949 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6951 * at-bridge/bridge.c:
6952 applied patch from Marc to build and run
6953 against new glib and gtk+ (seemed like a change
6954 to bonobo_init signature was made ?)
6956 made festival-server support turned off by default.
6957 Added support for a simple magnifier (off by default)
6958 which will be added to a 'util' directory later.
6959 * at-bridge/Makefile.am:
6960 Changed "application.h" header from a 'source'
6961 to a 'dependency' of libat-bridge.
6963 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6972 Added interface implementation c files to list of
6973 includes so they are included in libcspi.
6976 Changed prototype of AccessibleAction_doAction to return a
6978 Changed prototype of AccessibleTable_getCaption to
6979 return an Accessible.
6980 Changed prototype of AccessibleTable_getSelectedRows
6981 and AccessibleTable_getSelectedColumns to
6982 return a long (returns the number of selected rows
6983 or columns respectively).
6984 Changed name of AccessibleText_refRunAttributes to
6985 AccessibleText_getAttributes.
6986 Changed prototype of AccessibleText_getCharacterExtents to
6987 return a void rather than a boolean.
6988 Added support for a AccessibleCoordType parameter
6989 specifying what type of coordinates are desired.
6990 Added an AccessibleCordType parameter to
6991 AccessibleText_getPointAtOffset.
6993 * cspi/spi_accessible.c:
6994 Added code to return the outstanding interfaces from
6995 Accessible_queryInterface.
6997 * cspi/spi_action.c:
6999 Corrected call to getNActions to call the c binding
7002 * cspi/spi_editabletext.c:
7004 Changed name from setRunAttributes to setAttributes.
7006 * cspi/spi_hyperlink.c:
7008 Changed call to getNAnchors to correctly call the c
7009 binding for an attribute.
7011 * cspi/spi_hypertext.c:
7013 Changed getImageDescription to correctly call the
7014 binding for an attribute.
7016 * cspi/spi_selection.c:
7017 Changed getNSelectedChildren to correctly call the c
7018 binding for the attribute.
7019 Changed refSelectedChild to getSelectedChild.
7023 Changed getCaption to return an Accessible.
7024 Fixed calls which retrieve attributes.
7025 Changed refAt to getAccessibleAt.
7026 Changed getNSelectedRows and getNSelectedColumns to
7030 Changed getCharacterExtents and getPointAtOffset to accept an
7031 AccessibleCoordType.
7033 Changed calls which retrieve attributes.
7034 Changed refRunAttributes to getAttributes.
7039 * idl/Hyperlink.idl:
7040 Changed n_anchors attribute to nAnchors to keep naming
7041 convention consistent.
7044 Made Table inherit from Bonobo::Unknown.
7045 Added nSelectedColumns and nSelectedRows attributes.
7048 Made Value inherit from Bonobo::Unknown.
7050 * libspi/hyperlink.c:
7051 Change for nAnchors attributte name change.
7053 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7061 Added interface implementation c files to list of
7062 includes so they are included in libcspi.
7065 Changed prototype of AccessibleAction_doAction to return a
7067 Changed prototype of AccessibleTable_getCaption to
7068 return an Accessible.
7069 Changed prototype of AccessibleTable_getSelectedRows
7070 and AccessibleTable_getSelectedColumns to
7071 return a long (returns the number of selected rows
7072 or columns respectively).
7073 Changed name of AccessibleText_refRunAttributes to
7074 AccessibleText_getAttributes.
7075 Changed prototype of AccessibleText_getCharacterExtents to
7076 return a void rather than a boolean.
7077 Added support for a AccessibleCoordType parameter
7078 specifying what type of coordinates are desired.
7079 Added an AccessibleCordType parameter to
7080 AccessibleText_getPointAtOffset.
7082 * cspi/spi_accessible.c:
7083 Added code to return the outstanding interfaces from
7084 Accessible_queryInterface.
7086 * cspi/spi_action.c:
7088 Corrected call to getNActions to call the c binding
7091 * cspi/spi_editabletext.c:
7093 Changed name from setRunAttributes to setAttributes.
7095 * cspi/spi_hyperlink.c:
7097 Changed call to getNAnchors to correctly call the c
7098 binding for an attribute.
7100 * cspi/spi_hypertext.c:
7102 Changed getImageDescription to correctly call the
7103 binding for an attribute.
7105 * cspi/spi_selection.c:
7106 Changed getNSelectedChildren to correctly call the c
7107 binding for the attribute.
7108 Changed refSelectedChild to getSelectedChild.
7112 Changed getCaption to return an Accessible.
7113 Fixed calls which retrieve attributes.
7114 Changed refAt to getAccessibleAt.
7115 Changed getNSelectedRows and getNSelectedColumns to
7119 Changed getCharacterExtents and getPointAtOffset to accept an
7120 AccessibleCoordType.
7122 Changed calls which retrieve attributes.
7123 Changed refRunAttributes to getAttributes.
7128 * idl/Hyperlink.idl:
7129 Changed n_anchors attribute to nAnchors to keep naming
7130 convention consistent.
7133 Made Table inherit from Bonobo::Unknown.
7134 Added nSelectedColumns and nSelectedRows attributes.
7137 Made Value inherit from Bonobo::Unknown.
7139 * libspi/hyperlink.c:
7140 Change for nAnchors attributte name change.
7143 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7145 implementations-- made server implementations own AtkObject pointers
7146 rather than their respective AtkInterrface pointers to fix
7147 refcounting. AtkHyperlink is still broken.
7149 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7150 * cspi/spi_accessible.c:
7151 Added method Accessible_Role_getName(),
7152 and requisite string array (role_names).
7153 Added conversion string_from_corba_strin() call
7154 to Accessible_getName and _getDescription.
7155 * libspi/accessible.c:
7156 Added implementation for Accessible_getRole()
7158 Added festival support, used if environment variable
7161 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7163 * at-bridge/bridge.c:
7164 Now allocate Accessibility_Event using
7165 Accessibility_Event__alloc() instead of g_new0().
7166 * libspi/accessibleeventlistener.c:
7167 Initialize AccessibleEventListener->callbacks to NULL.
7168 Fixed accessible__event_listener_init() param, changed to
7169 "AccessibleEventListener *" type.
7170 Changed a bonobo_object_release_unref() call to
7171 Accessibility_Accessible_unref().
7172 * libspi/listener.c:
7173 Changed Bonobo_Unknown_unref to (equivalent)
7174 Accessibility_Accessible_unref.
7175 * libspi/registry.c:
7176 Changed bonobo_object_release_unref to
7177 Accessibility_Accessible_unref.
7179 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7182 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7183 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7184 spi-util.c spi-util.h
7185 Implementations for C bindings to remaining accessibility
7188 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7191 changed return value of Action from void to boolean to
7192 bring in line with ATK.
7195 Changed getText funcions to return "out" start and end offsets.
7196 Changed getAttributes to take and offset and return the start
7197 and end offset of the attribute run.
7198 Changed getOffsetAtPoint and getCharacterExtents to take an
7199 enum describing whether coordinates are window or screen.
7202 libspi/action.c libspi/action.h libspi/editabletext.c
7203 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7204 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7205 libspi/image.h libspi/selection.c libspi/selection.h
7206 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7207 libspi/value.c libspi/value.h
7208 Added server implementations for outstanding ATK interfaces
7209 not yet implemented.
7211 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7214 Added (missing) getName() method.
7215 Made nActions an attribute.
7216 * idl/EditableText.idl:
7217 Changed order of params in setAttributes.
7218 * idl/Hyperlink.idl:
7219 Removed getAnchor, added getURI.
7221 Changed attributes to methods, for efficiency
7222 (so that getting extents can be done in one call)
7223 * idl/Selection.idl:
7224 Changed nSelectedChildren to attribute, and re-indented.
7225 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7227 * idl/Text.idl: reformatted to match our coding style.
7228 (temporarily?) removed getRowColumnAtOffset().
7229 Changed text selection API to support multi-select and
7230 non-contiguous selections, as in ATK.
7231 * idl/Value.idl: changed some methods to attributes.
7233 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7235 * libspi/listener.c(impl_notify_event):
7236 BonoboUnkown_unref the source instead
7237 of bonobo_object_release_unref - the ORB
7238 handles the releasing.
7240 * configure.in: require ORBit-2.3.94 for
7243 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7245 Tagged CVS repository 'EA_1_0'.
7246 * README.EARLY_ACCESS:
7247 Alphabetized acknowledgements list, and
7249 Listed some known dependencies of at-spi.
7251 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7253 * docs/at-spi-docs.sgml:
7254 * docs/at-spi-sections.txt:
7255 * docs/at-spi-overrides.txt: (Added zero-length file)
7256 Documentation improvements - gtk-doc should build
7257 docs for all implemented C bindings now.
7260 * cspi/spi.c: (New file)
7261 * cspi/spi_event.c: (New file)
7262 * cspi/spi_registry.c: (New file)
7263 * cspi/spi_accessible.c: (New file)
7264 * cspi/spi_application.c: (New file)
7265 * cspi/spi_component.c: (New file)
7266 Split spi_main.c into six parts, and included them from
7267 "spi.c". This is a bit of a hack, probably temporary,
7268 but required by gtk-doc, apparently.
7270 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7273 * docs/at-spi-docs.sgml:
7274 * docs/at-spi-sections.txt:
7276 Initial checkins/modifications for gtk-doc generation.
7279 Added (missing) interface query methods to Accessible's C binding.
7281 Added GenericInterface type definition.
7283 Added query for AccessibleComponent interface to focus event handler.
7284 Added printout of bounding box for focussed component.
7285 * libspi/component.c:
7286 Added partial implementation for AccessibleComponent to C binding.
7287 * idl/Application.idl:
7288 * libspi/registry.c:
7289 * libspi/listener.c:
7290 * libspi/application.c:
7291 * libspi/application.h:
7292 Changed "ID" attribute type from string to long.
7294 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7298 Made method naming consistent: methods taking object args
7299 start with uppercase, other methods (except those using
7300 acronyms) start with lowercase. Underscores delimit between
7301 object names and method names:
7302 SPI_init() - uppercase since it starts with an acronym.
7303 getDesktopCount () - lowercase start since no object param0.
7304 Accessible_getName() - uppercase object type name, studlyCaps method
7308 Added gtk-doc documentation for all currently implemented
7309 methods in the C bindings API.
7311 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7313 * Makefile.am : changed build order to build test last.
7316 Changed "createEventListener" to "CreateEventListener".
7317 * libspi/accessibleeventlistener.c :
7318 Bugfix for addition of callbacks.
7319 * test/Makefile.am :
7320 * test/simple-at.c :
7321 Added new test that uses the C bindings API.
7323 * libspi/listener.c :
7324 * libspi/registry.c :
7325 * libspi/accessibleeventlistener.c :
7326 * at-bridge/bridge.c :
7327 Renamed member "target" of Accessibility_Event to "source",
7328 which is more descriptive.
7331 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7335 * cspi/Makefile.am :
7336 Added makefile support for at-spi/cspi directory.
7339 * cspi/spi-listener.h : (NEW FILE)
7340 Added support for/use of spi-listener.h.
7342 C bindings now build successfully, with no warnings.
7343 * libspi/accessibleeventlistener.h : (NEW FILE)
7344 * libspi/accessibleeventlistener.c : (NEW FILE)
7345 * libspi/Makefile.am :
7346 Added new object type "AccessibleEventListener"
7347 which inherits from Listener, and allows attachment
7348 of in-process callbacks (so that a client with a listening
7349 object instance can add functionality to the local
7350 implementation, dynamically).
7352 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7354 * libspi/accessible.c:
7355 Add implementation for get_index_in_parent().
7357 Added #include of "spi-roletypes.h", and
7358 added enumerated type AccessibleCoordType.
7359 Added definition for KeystrokeListener (function type).
7362 * cspi/spi-statetypes.h :
7363 * cspi/spi-roletypes.h :
7365 Added these headers, used by spi.h.
7367 Added code (NOTE: not yet built by make).
7369 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7371 * libspi/Makefile.am: generate imodule
7372 at the same time as other idl compiler
7375 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7376 * libspi/registry.c :
7377 * libspi/application.c :
7378 * idl/Application.idl :
7379 Made registration with toolkit an application method,
7380 which is required since each app has its own toolkit static
7381 environment. Thus the bridge must register for
7382 notification of toolkit events from each application in turn.
7383 Toolkit notifications are now successfully registered for, and
7384 sent to the listening at client.
7386 Changed toolkit event string to use hyphens rather than underscores.
7387 * libspi/listener.c :
7388 listner now gives more info in debug mode - it reports the
7389 name of the event received, as well as the name of the source.
7392 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7394 * libspi/registry.c :
7395 added more implementation for toolkit events.
7396 Fixed bug such that toolkit event registrations
7397 (via atk) use the whole event name string, not
7399 Removed a useless call to an ORBit_ method.
7400 * at-bridge/bridge.c :
7401 Removed unused local sbuf[] variable.
7403 We now register for Gtk:GtkWidget:button_press_event
7404 events as well as "focus:" events.
7406 Add some more API from Registry.idl that was missing,
7407 for keystroke listening, keystroke and mouse event
7408 synthesis, and enumeration of accessible desktops.
7410 2001-08-16 Michael Meeks <michael@ximian.com>
7412 * configure.in: use AM_GLIB_GNU_GETTEXT.
7414 * Makefile.am (SUBDIRS): kill intl.
7416 2001-08-15 Michael Meeks <michael@ximian.com>
7418 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7420 * configure.in: upd.
7422 * configure.in: depend on a recent bonobo-activation that
7423 will find our server files ...
7425 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7427 * libspi/accessible.c : accessible_new() :
7428 Now we add the Component interface via bonobo_object_add_interface,
7429 if the contained AtkObject implements AtkComponent.
7430 * libspi/accessible.h : now include "component.h"
7431 * libspi/component.h :
7432 * libspi/component.c : added files - implementation of
7433 bonobo wrapper object for Accessibility/Component
7434 * libspi/listener.c :
7435 Added test code to check for Accessibility/Component:1.0
7436 interface and report whether it is implemented by the
7438 * libspi/registry.c :
7439 Now we check for not only the hash of the whole event
7440 string before relaying the event, we also check the
7441 "minor" event string (without the detail string).
7442 This allows event listeners to be registered against
7443 all events of a certain major+minor type, or just
7444 against a specific major+minor+detail type.
7445 * libspi/accessible.c :
7446 Added implementations for Accessible:get_parent(),
7447 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7448 * libspi/registry.c :
7449 * libspi/listener.c :
7450 Replaced calls to Accessibility_Accessible_ref() and
7451 Accessibility_Accessible_unref() with
7452 calls to bonobo_object_dup_ref() and
7453 bonobo_object_release_unref(), so that the CORBA object
7454 is dup-ed and released when relayed, as well as the bonobo object.
7456 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7458 * libspi/Makefile.am,
7459 registryd/Makefile.am,
7460 at-bridge/Makefile.am.
7461 test/Makefile.am, configure.in:
7462 reverse previous changes.
7464 * /idl/Image.idl: fix typo.
7466 * test/Makefile.am: put DEBUG_FLAGS
7469 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7471 * test/app.c: use argv[0] instead of
7474 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7476 * libspi/Makefile.am,
7477 registryd/Makefile.am,
7478 at-bridge/Makefile.am.
7479 test/Makefile.am, configure.in:
7480 cleanup, replace individual LIBS/CFLAGS with
7481 AT_COMMON_{LIBS|CFLAGS}.
7485 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7487 * configure.in, libspi/Makefile.am:
7488 Change IDL path checking for bonobo-activation
7491 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7493 * registryd/registry.c : separated event listeners to use
7494 3 separate lists (focus, window, toolkit). Began testing
7495 event names against hashes before relaying events.
7496 * test/at.c : now register for events of type "focus:"
7497 * test/app.c : now generate events of type "focus:"
7498 * at-bridge/bridge.c : register with ATK for focus events,
7499 and we now relay those focus events to any "focus:" listeners.
7500 This now works with the bridge as a GTK_MODULE when running test/at.
7501 * libspi/registry.c :
7502 * libspi/listener.c :
7503 now we ref event sources before propagating, and unref on receipt.
7504 * libspi/registry.c :
7505 some changes to internal structs, to support event typestring hashes.
7506 * text/app.c : changed the way the appname is generated.
7507 * cspi : added directory that will hold the C bindings library for
7508 non-CORBA/bonobo-savvy clients.
7509 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7510 * idl/Component.idl : added in parameter to indicate coord system for
7511 geometry-related calls.
7512 * idl/Hyperlink.idl : added readonly n_links attribute
7513 * idl/Image.idl : changed methods to attributes.
7515 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7517 * at-bridge/Makefile.am: link against
7518 ../libspi/libspi.la instead of -lspi.
7520 * at-spi/test/app.c: include
7521 bonobo-activation.h. Use a default appname
7522 if one is not provided.
7524 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7526 * idl/Registry.idl : temporarily changed register_Application
7527 to oneway, to work around issue with initial registration
7529 * idl/Application.idl : changed attribute "id" from readonly
7530 to read-write, since it needs to be assigned by Registry.
7531 * registryd/registryd.c : added call to set application id
7533 * registryd/registry.c : changed de-registration procedure to
7534 use CORBA_Object_hash() to find matching object ref in application
7535 lists and listener lists.
7536 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7537 began distinguishing between event types (work in progress).
7539 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7542 * libspi/application.c:
7543 Added implementations for get/set id, get_toolkitName,
7545 * registryd/registryd.c :
7549 Converted from use of OAF to bonobo-activation.
7550 * libspi/desktop.h :
7551 * libspi/desktop.c :
7553 Removed references to atksimpleobject, since base atkobject
7554 implementation now provides functionality we need.
7555 * libspi/atksimpleobject.c :
7556 * libspi/atksimpleobject.h :
7561 * at-bridge/Makefile.am
7562 * at-bridge/bridge.c
7565 Added directory "bridge" and contents, and added dependencies
7566 in Makefile.am/configure.in.
7567 Initial checkin of "at-bridge".
7568 This code is a GTK_MODULE which automatically registers
7569 GTK+ apps with the accessibility registry, using an object
7570 reference to the root ATK object.
7572 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7574 * po/Makefile.in.in: Remove. Again. If this
7575 doesn't get autogenerated - you need to update
7578 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7580 * po/Makefile.in.in: Add. Again.
7582 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7584 * libspi/accessible.c : added support for 'description' property.
7585 * libspi/accessible.c
7587 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7588 (since the two are now equivalent in libbonobo)
7596 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7597 Bonobo::Unknown as does Accessibility::Accessible.
7598 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7599 interface with Bonobo::Stream, since it was redundant with it.
7600 (The Stream returned by a StreamableContext object is expected to
7601 implement only a subset of Bonobo::Stream)
7603 2001-07-28 Anders Carlsson <andersca@gnome.org>
7605 * libspi/accessible.c (accessible_object_finalize): Change
7606 g_free to g_object_unref since the AtkObject is a GObject.
7608 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7610 * idl/Accessibility.idl: add new IDL files
7613 * idl/Action.idl: Definitions of actionable UI object
7614 * idl/Component.idl: Definitions of UI component geometry, etc.
7615 * idl/Hyperlink.idl: Defs of hyperlink behavior
7616 * idl/Image.idl: Def of accessible image
7617 * idl/Selection.idl: Definition of UI object with selectable children
7618 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7619 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7620 * idl/Text.idl: Interface defs for UI elements with complex textual content
7621 * idl/Value.idl: Definition of UI element that is a value controller or display
7623 2001-07-27 Michael Meeks <michael@ximian.com>
7625 * po/Makefile.in.in: remove autogenerated file from CVS.
7627 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7630 * idl/Registry.idl: include guard.
7632 * idl/Accessibility.idl: Add, and include all the other IDL
7635 * idl/*.idl: remove mass of pragmas etc.
7637 2001-07-26 Michael Meeks <michael@ximian.com>
7639 * registryd/Makefile.am (registryd_SOURCES): remove
7642 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7644 * libspi/.cvsignore, registryd/.cvsignore,
7645 test/.cvsignore: updated.
7647 * po/Makefile.in.in: gettext update.
7649 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7651 * initial CVS checkin
7653 2001-06-29 Michael Meeks <michael@ximian.com>
7655 * configure.in: add AM_CONFIG_HEADER to gen config.h