1 2006-07-31 Bill Haneman <bill.haneman@sun.com>
4 (impl_getRangeExtents): Use the atk_text_get_range_extents
5 API instead of looping over character bounds, now that
7 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
8 (_spi_text_bounds_contain): Remove, not needed anymore.
9 (_spi_text_rect_union): Remove, not needed anymore.
11 2006-07-31 Bill Haneman <bill.haneman@sun.com>
13 * atk-bridge/bridge.c:
14 (spi_atk_emit_eventv): Fix the CORBA_free call which was
15 causing 64-bit troubles and memory leaks.
16 Special thanks to Alexander Larsson who finally seems to
17 have tracked down the problem, not just here but in
21 (spi_init_any_object): Make sure we copy the CORBA value
22 when initializing an object for passing as a CORBA_Any.
25 2006-07-21 Bill Haneman <billh@gnome.org>
27 * idl/Accessibility.idl:
28 Reverted pragma changes, this broke the build in some envs
29 including the Debian team's build and some tinderbox builds.
31 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
34 Revved to 1.7.10, and edited the Xevie check (bug #319994).
36 * idl/Accessibility.idl:
37 Reworked inclusion of Bonobo_Unknown.idl, to
38 avoid double-linking libs in the Bonobo environment.
39 Thanks to Michael Meeks for the workaround, see bug #313122.
41 * registryd/deviceeventcontroller.c:
42 (spi_controller_notify_keylisteners):
43 Set the SPI_NUMLOCK_MASK bit if the modifier
44 corresponding to the conceptual numlock state is set.
47 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
49 * idl/Accessibility_Selection.idl:
50 (deselectChild): New method.
53 (impl_deselectChild): Implement the new IDL method.
56 (AccessibleSelection_deselectChild): Added new method.
58 * cspi/spi_selection.c:
59 (AccessibleSelection_deselectChild): New method implemented.
61 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
63 * cspi/bonobo/cspi-bonobo.c:
64 (cspi_init): Replace g_error with g_warning, prevent
65 SEGV if the registry cannot be activated. Bug #346393.
67 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
69 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
71 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
72 2006-07-12 Ariel Rios <arios@us.ibm.com>
76 * idl/Accessibility_Table.idl:
77 (getRowColumnExtentsAtIndex): New method for getting
78 selection status and extents in one API call.
81 (impl_getRowColumnExtentsAtIndex): Implementation of
83 (spi_table_class_init): Add above to epv.
87 (AccessibleTable_getRowColumnExtentsAtIndex): New
88 method, retrieves selection status and row/col extents
89 for a table cell in a single API call.
91 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
92 2006-07-12 Ariel Rios <arios@us.ibm.com>
94 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
97 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
98 New bindings for new methods defined in idl and libspi.
101 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
102 Added prototype functions.
105 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
107 (spi_text_class_init): Added previous methods.
110 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
111 * libspi/spi-private.h: Corrections.
113 2006-06-29 Bill Haneman <bill.haneman@sun.com>
115 Added Document interface (see bug #326520),
116 with work from Ariel Rios <arios@us.ibm.com>.
118 * configure.in: Bump to 1.7.8.
120 * libspi/Makefile.am: Added document.[ch] to sources
123 (SpiDocument, SpiDocumentClass):
124 New interface implementation.
125 (spi_document_get_type, spi_document_construct)
126 (spi_document_interface_new): New methods added.
127 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
128 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
129 Added macros for SpiDocument
133 (spi_document_interface_new): Get a
134 new document interface. New.
135 (get_document_from_servant): Get an AtkDocument from servant New.
136 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
137 Implementation of methods defined on idl.
138 (spi_document_class_init, spi_document_init)
139 Init methods for SpiDocument. new
141 * idl/Accessibility.idl: Added Accessibility_Document.idl.
143 * cspi/Makefile.am: Added spi_document.c to sources.
145 * cspi/spi_document.c:
146 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
147 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
148 (AccessibleDocument_getAttributes): Bindings for methods defined
151 * cspi/spi_accessible.c:
152 (Accessible_isDocument, Accessible_getDocument) New.
154 (Accessible_isDocument, Accessible_getDocument)
155 (AccessibleDocument_ref, AccessibleDocument_unref)
156 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
157 (AccessibleDocument_getAttributes): Bindings added.
159 * idl/Makefile.am: Added Accessibility_Document.idl to
162 2006-06-29 Bill Haneman <bill.haneman@sun.com>
164 * idl/Accessibility_Document.idl: New interface
165 for complex documents. First stage of fix for RFE
168 2006-06-27 Bill Haneman <bill.haneman@sun.com>
170 * libspi/streamablecontent.c:
171 (impl_content_stream_close):
172 Unref the GIOChannel on close.
174 2006-06-23 Bill Haneman <bill.haneman@sun.com>
176 * idl/Accessibility_Role.idl:
177 * libspi/accessiblerole.c:
178 * cspi/spi_accessible.c: Added ROLE_LINK,
179 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
180 Bug #345758 and bug #140635.
183 2006-06-22 Bill Haneman <bill.haneman@sun.com>
187 * idl/Accessibility_StreamableContent.idl:
188 Fix derivation of StreamableContent and ContentStream.
190 * cspi/spi_streamablecontent.c:
191 (accessible_content_stream_client_read):
192 Fix the datatype of the content stream used.
193 Interpret short reads as EOF, and stop trying to
194 read when we've fulfilled the request.
195 (AccessibleStreamableContent_getContentTypes):
196 Use g_strdup, not CORBA_string_dup, for the strings.
197 (AccessibleStreamableContent_open):
198 Correctly use the new getStream method for opening,
199 not the deprecated getContent method.
200 Use the object reference as the stream hash key.
201 Make note of the 'one stream per client per streamable'
202 limitation in the docs.
205 Add streamablecontent.h to the list of #includes.
207 * libspi/streamablecontent.c:
208 (impl_content_stream_read): Initialize the GError.
209 Allocate the incoming buffer if reading a fixed length of
210 data. Use g_memmove instead of memcpy.
211 (impl_accessibility_streamable_get_content_types):
212 Init typelist->_maximum. Only allocate the buffer if
213 there is a non-zero number of content types available.
214 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
216 * libspi/streamablecontent.h:
217 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
220 (SPI_IS_VALUE): Fix a typo in this macro too.
222 2006-06-16 Bill Haneman <bill.haneman@sun.com>
226 * idl/Accessibility_StreambleContent.idl:
227 Deprecate the Bonobo_Stream-based methods in favor of
228 a self-contained "ContentStream" interface. This should
229 allow us to remove BonoboStream dependencies entirely, since
230 there were no non-NIL implementations of the old methods anyway.
231 (ContentStream): New interface.
232 (ContentStream::SeekType): Enum.
233 (ContentStream::seek): New.
234 (ContentStream::read): New.
235 (ContentStream::close): New.
236 (getContent): Deprecate.
237 (getURI): New method, returns a URI pointing to the content, if available.
239 * libspi/streamablecontent.c:
240 (SpiContentStream): Internal object type definition used to
241 implement Accessibility::StreamableContent::ContentStream via
242 AtkStreamableContent's GIOChannel back-end.
243 (spi_content_stream_new, spi_content_stream_dispose): See above;
245 (impl_content_stream_seek, impl_content_stream_read):
246 (impl_content_stream_close): New, implementations of
248 (impl_accessibility_streamable_get_stream): Implement the
249 public method Accessibility::StreamableContent::getStream.
250 (impl_accessibility_streamable_get_uri): Implement the
251 public method Accessibility::StreamableContent::getURI.
253 * cspi/spi_streamablecontent.c:
254 (accessible_bonobo_stream_client_seek): Replaced by
255 (accessible_content_stream_client_seek).
256 (accessible_bonobo_stream_client_read): Replaced by
257 (accessible_content_stream_client_read).
258 (AccessibleStreamableContent_open):
259 (AccessibleStreamableContent_seek):
260 (AccessibleStreamableContent_read):
261 (AccessibleStreamableContent_close): Use the new 'getStream'
262 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
264 2006-06-15 Bill Haneman <bill.haneman@sun.com>
266 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
267 remove from other .idl files (except LoginHelper).
270 2006-06-14 Bill Haneman <bill.haneman@sun.com>
272 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
275 * configure.in, */Makefile.am: mingw patch, modified from
276 original patch by yselkowitz. Bug #314216.
278 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
279 for completeness. Bug #163111.
281 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
282 * libspi/util.c, registryd/registry-main.c:
283 Fix guint/char* casts.
284 Patch from chpe, bug #333883.
286 2006-06-12 Bill Haneman <bill.haneman@sun.com>
288 * configure.in: Require atk-1.12.0, to pick up
289 new API. (bug #344412).
291 * libspi-1.0-uninstalled.pc.in:
293 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
294 Fix for #341488 from Samual Thibault.
296 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
297 Thanks to Brian Pepple.
299 2006-06-09 Bill Haneman <bill.haneman@sun.com>
302 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
303 New, missing implementations of attribute reading methods
306 * cspi/spi.h, spi_value.c:
307 (AccessibleValue_getMinimumIncrement): New methods wrapping
308 the (formerly unimplemented) property from Value.idl.
311 (impl_get_minimumIncrement): Implementation for retrieving
312 the minimum valuator increment, (formerly unimplemented).
315 2006-06-09 Bill Haneman <bill.haneman@sun.com>
317 * idl/Accessibility_State.idl:
318 Added STATE_VISITED (bug #338369).
320 * cspi/spi_accessible.c:
321 (spi_state_to_corba) Fixed marshalling of new statetypes.
324 (spi_init_state_tables, impl_getStates):
325 Fixed conversion of new statetypes to/from ATK.
327 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
329 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
330 definitions/conversions for new roles from ATK.
332 * idl/Accessibility_Relation.idl:
334 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
335 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
336 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
338 * libspi/accessible.c: Fixed marshalling of new role types from
341 2006-04-17 Matthias Clasen <mclasen@redhat.com>
343 * revert my previous change
345 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
347 * configure.in: Remove obssolete no_NO locale
348 * po/no.po: And the translation.
350 2006-04-05 Matthias Clasen <mclasen@redhat.com>
352 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
353 memory-management error that caused crashes on x86_64.
356 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
358 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
360 2006-03-27 Bill Haneman <bill.haneman@sun.com>
362 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
363 to strip "cspi_*" from the symbol table.
365 * cspi/spi_streamablecontent.c:
366 (get_streams): Make this method static.
369 (_cspi_exception_throw): rename to cspi_exception_throw,
370 so we can strip it with the rest...
373 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
375 2006-03-27 Bill Haneman <bill.haneman@sun.com>
377 Add doxygen-generated IDL docs to tarball, and enable
378 doxygen during build/install when available. Bug #301345.
380 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
382 * docs/reference/Makefile.am: Add idl to SUBDIRS.
384 * docs/reference/idl/Makefile.am: Optionally use
385 doxygen to create docs.
387 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
389 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
391 2006-03-20 Bill Haneman <bill.haneman@sun.com>
394 (impl_get_selected_rows): Don't free the selection if it's
395 empty or has not been assigned; init it to NULL so you can tell.
396 Also, allow for zero selected rows.
397 (impl_getSelectedColumns): Ditto. Bug #319088.
399 2006-03-11 Vincent Untz <vuntz@gnome.org>
401 Leak fix for bug #334217.
403 * libspi/application.c: spi_application_toolkit_event_listener():
404 don't duplicate the string we pass as an argument to
405 spi_init_any_nil() since spi_init_any_nil() already does it
406 * registryd/deviceeventcontroller.c:
407 (spi_dec_button_update_and_emit): ditto
408 (spi_dec_mouse_check): ditto
409 (spi_dec_emit_modifier_event): ditto
410 (spi_device_event_controller_forward_mouse): ditto
411 * registryd/registry.c:
412 (desktop_add_application): ditto
413 (desktop_remove_application): ditto
415 2006-02-20 Bill Haneman <billh@gnome.org>
417 * configure.in: Rev to 1.7.6.
419 Leak fixes for bug #331924.
421 * atk-bridge/bridge.c:
422 (spi_atk_bridge_init_base): Don't dup the string, it's already
423 been dup-ed. Fixes a leak.
424 (spi_atk_emit_eventv): Move the CORBA_free call here,
425 instead of spi_atk_state_event_listener; fixes another leak.
426 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
427 notifying the registry; fixes another leak.
429 * registryd/registry.c:
430 (registry_flush_event_queue): Free the CORBA_any when
431 flushing the event, not just the string. Fixes another leak.
432 (registry_queue_event): Free the CORBA_any when dropping
433 events on the floor; fixes another leak.
436 (spi_init_any_object, spi_init_any_nil):
437 Always set _release to TRUE. Fixes another leak.
439 2006-02-20 Bill Haneman <billh@gnome.org>
441 * configure.in: Rev to 1.7.5.
442 Reinstate localization of this module. Thanks for Rodney
443 Dawes for fixing my patch.
445 * registryd/Makefile.am: Remove Accessibility_Registry.server
446 from dist, since it needs to be re-created at configure time.
449 2006-01-31 Bill Haneman <billh@gnome.org>
451 * configure.in: Rev to 1.7.4 (to include build fix below).
453 * idl/Makefile.am: Include Selector.idl in dist.
457 (cspi_internal_event_get_object): Handle case where
458 "object" isn't present, i.e. CORBA_TC_Object doesn't match
459 the EventDetails data.
460 (cspi_internal_event_get_text): Handle NULL string.
461 (cspi_internal_event_get_rect): Handle missing/empty rect
462 data, Accessibility_TC_RectBounds doesn't match any_data.
464 2006-01-30 Bill Haneman <billh@gnome.org>
468 * atk-bridge/bridge.c:
469 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
470 interface and use that when instantiating a new source
471 accessible. Better fix for bug #321814.
473 2006-01-27 Bill Haneman <billh@gnome.org>
475 * idl/Accessibility_Selector.idl: Added to the cvs repository.
477 * configure.in: Revved to 1.7.3.
479 2006-01-17 Bill Haneman <billh@gnome.org>
481 * configure.in: Revved to 1.7.2, re-dist to include docs.
483 2006-01-09 Bill Haneman <billh@gnome.org>
485 * configure.in: Removed po/Makefile.in inclusion, we do not need
488 * idl/Accessibility.idl: Improved documentation here, and for all
489 IDL in the 'GNOME::Accessibility' namespace.
491 * idl/Accessibility_Accessible.idl:
492 (LOCALE_TYPE): Added enum.
493 (AttributeSet): New, for returning multiple name/value attribute pairs.
494 (RoleSet): New, sequence of Roles, to be used in upcoming
496 (getAttributes): New API, allows retrieval of name/value pair
497 annotations for all kinds of Accessible objects. C.f.
498 Text:getAttributes, which is only for typographic/textual/semantic tags in
500 (getApplication): New, retrieves the host/containing Application
501 instance for an object (without having to walk up the whole tree).
503 * idl/Accessibility_Component.idl:
504 (getAlpha): New method, returns the alpha blending (aka 'opacity')
505 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
508 * idl/Accessibility_Event.idl:
509 (EventDetails): New struct definition, for encapsulating
510 commonly-queried information about emitted events. The use of
511 this structure in emitted events (in the 'any' member of
512 Accessibility_Event) should greatly reduce the number of
513 client-server roundtrips necessary.
515 * idl/Accessibility_Image.idl:
516 (imageLocale): New, a readonly attribute indicating the POSIX
517 LC_MESSAGES locale of the image and associated Alt/descriptive
520 * idl/Accessibility_Relation.idl:
521 (RELATION_PARENT_WINDOW_OF): Include, as complement to
524 * idl/Accessibility_Role.idl:
525 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
526 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
527 complex document and form support.
529 * idl/Accessibility_State.idl:
530 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
531 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
532 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
533 for support of complex documents and forms.
535 * idl/Accessibility_StreamableContent.idl:
536 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
537 allow old bonobo-stream interfaces to be deprecated in the next
540 * idl/Accessibility_Text.idl:
541 (getAttributeValue): New method, allows query-by-name of single
544 * libspi/accessible.c:
545 Added support for new roles. Implemented new methods
546 (impl_accessibility_accessible_get_application): New
547 (impl_accessibility_accessible_get_attributes): New
549 * libspi/component.c:
550 (impl_accessibility_component_get_alpha): New.
553 (impl_accessibility_image_get_locale): New.
555 * libspi/relation.c: Added support for new relation type.
557 * libspi/stateset.c: Added support for new state types.
560 (impl_getAttributeValue): New.
563 New prototypes for private methods
565 spi_init_any_object, spi_init_any_string,
568 * libspi/spi_event.c:
569 Use EventDetails in the event emission methods.
571 * cspi/spi-private.h:
572 (cspi_role_from_spi_role): Expose this adapter method, since
573 we need it in the bridge (see below).
576 (AccessibleEvent_getSourceName):
577 (AccessibleEvent_getSourceRole):
578 (AccessibleEvent_getSourceApplication):
579 (AccessibleEvent_getSourceDetails):
580 New methods for interrogating/demarshalling
581 event details (i.e. source's accessible name, role,
584 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
585 Make use of the new EventDetails struct in events, if present.
586 (AccessibleEvent_getSourceName)
587 (AccessibleEvent_getSourceRole)
588 (AccessibleEvent_getSourceApplication)
589 (AccessibleEvent_getSourceDetails): Implement the newly exposed
591 (Accessible_getAttributes): New, wraps
592 Accessibility_Accessible_getAttributes.
593 (Accessible_getHostApplication): New, wraps
594 Accessibility_Accessible_getApplication.
597 (AccessibleImage_getImageLocale): New wrapper for
598 Accessibility_Image_get_imageLocale.
600 * cspi/spi_component.c:
601 (AccessibleComponent_getAlpha): New wrapper for
602 Accessibility_Component_getAlpha.
604 * atk-bridge/bridge.c:
605 Use new prototyped for init_any methods.
606 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
607 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
608 (spi_atk_bridge_init_base): Wrappers
609 for spi_init_any_* methods, due to refactor; include extended
610 information in the Accessibility_EventDetails struct, for instance
611 accessible-name, Role, and containing Application.
613 * registryd/registry.c:
614 Use new event emission (with EventDetails).
616 * registryd/deviceeventcontroller.c:
617 Use new event emission (with EventDetails).
619 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
621 * configure.in: Generate po/Makefile.in
622 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
623 * cspi/spi_streamablecontent.c:
624 (accessible_bonobo_stream_client_seek),
625 (AccessibleStreamableContent_seek): Remove unused vars.
626 * libspi/application.c: Missing header.
627 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
628 * login-helper/login-helper.c: (login_helper_finalize),
629 (login_helper_init): Remove unused stuff
630 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
631 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
632 and surround some with #ifdef GRAB_BUTTON.
633 * test/event-listener-test.c: (main), (report_event),
634 (report_caret_event), (report_detail_event),
635 (report_detail1_event), (report_bounds_event), (report_text_event),
636 (report_text_selection_event),
637 (report_active_descendant_changed_event),
638 (report_children_changed_event), (report_name_changed_event),
639 (report_description_changed_event), (report_parent_changed_event),
640 (report_window_event), (report_table_summary_event),
641 (report_table_header_event), (report_table_caption_event),
642 (report_table_row_description_event),
643 (report_table_column_description_event), (timing_test_event):
644 Remove a bunch of unused variables and fix a slew of format specifiers
645 * test/key-listener-test.c: (report_all_key_event): Format specifier
646 * test/keypad-test.c: (print_key_event): Same
647 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
649 * test/screen-review-test.c: (main), (print_chunk_debug),
650 (review_buffer_get_text_chunk), (debug_chunk_list),
651 (string_guess_clip), (text_chunk_get_clipped_string),
652 (text_chunk_list_to_string), (get_screen_review_line_at):
653 Remove unused variables and fix format specifiers.
654 * test/simple-at.c: (report_text_event): Format specifier fix.
655 * test/stress-test.c: (main): Remove unused var.
657 2005-12-29 Abel Cheung <maddog@linuxhall.org>
659 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
660 (yes I know that's useless)
662 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
664 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
666 2005-11-17 Michael Meeks <michael.meeks@novell.com>
668 * atk-bridge/bridge.c (spi_atk_emit_eventv):
669 urgh-fix embarassing typo.
671 2005-11-16 Michael Meeks <michael.meeks@novell.com>
673 * atk-bridge/bridge.c (spi_atk_emit_eventv):
674 do a faster, less problematic _unref call on this local
675 object, rather than a slower (potentially cross-thread
676 complicated) CORBA call.
678 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
680 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
681 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
682 * registryd/deviceeventcontroller.c:
683 (spi_controller_notify_mouselisteners),
684 (impl_generate_keyboard_event):
685 * test/screen-review-test.c: (chunk_bounds_within):
686 * test/test-simple.c: (test_desktop): Remove some unused code
687 and fix compiler warnings. Closes bug #320049.
689 2005-10-27 Bill Haneman <bill.haneman@sun.com>
691 * registryd/deviceeventcontroller.c:
692 (spi_controller_notify_keylisteners): Check
693 to make sure the event listener has requested 'preemptive'
694 status before pre-empting an event.
696 2005-08-29 Bill Haneman <bill.haneman@sun.com>
698 * configure.in, README, NEWS: Release 1.6.5.
700 2005-07-25 Matthias Clasen <mclasen@redhat.com>
702 * test/window-listener-test.c: Fix a printf
703 format error. (#169453)
705 2005-07-15 Bill Haneman <bill.haneman@sun.com>
707 * tests/test-simple.c:
708 (key_listener_cb): Ensure that the keystring is dup'ed instead of
709 relying on the old string from the key event hanging around after
710 the event handler returns. Fixes broken 'make check'.
712 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
714 * Added Marathi (mr_IN) translations.
716 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
718 * cspi/bonobo/cspi-bonobo-listener.c:
719 (cspi_event_list_remove_by_cb): Fix the build.
721 2005-05-26 Michael Meeks <michael.meeks@novell.com>
723 * cspi/bonobo/cspi-bonobo-listener.c
724 (cspi_event_list_remove_by_cb): actually filter by callback.
726 2005-05-25 Bill Haneman <bill.haneman@sun.com>
728 * registryd/registry.c (remove_listener_cb):
729 Make deregistration filter rules match the event emission rules.
731 2005-05-25 Michael Meeks <michael.meeks@novell.com>
733 * registryd/registry.c (remove_listener_cb),
734 (impl_accessibility_registry_deregister_global_event_listener),
735 (impl_accessibility_registry_deregister_global_event_listener_all):
736 pass a closure to the remove callback to filter listeners more
737 accurately on remove.
739 2005-04-05 Bill Haneman <bill.haneman@sun.com>
741 * configure.in: Revved to 1.6.4.
742 Remember to put quotes around XEVIE_LIBS assignment.
743 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
746 * tests/event-listener-test.c: Tweaked the tests - more detail
747 from caret events, and some interrogation of AccessibleText APIs.
748 Commented-out the bounds-changed events by default, since they can
751 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
753 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
754 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
755 Same here. Closes bug #167806
757 2005-04-05 Bill Haneman <bill.haneman@sun.com>
759 * atk-bridge/bridge.c:
760 (spi_atk_bridge_signal_listener):
761 Free the any._value if any._release is TRUE,
762 since the ORB won't do it for us in this case
763 [because this method is not a skel].
766 2005-03-30 Steve Murphy <murf@e-tools.com>
768 * configure.in: Added "rw" to ALL_LINGUAS.
770 2005-03-29 Bill Haneman <bill.haneman@sun.com>
772 * configure.in: Improved check for HAVE_XEVIE, to detect
773 presence on XOrg, where -lXevie is a separate library.
775 2005-03-08 Bill Haneman <bill.haneman@sun.com>
777 * configure.in, NEWS, README: Revved to 1.6.3.
779 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
781 * configure.in: Added "xh" to ALL_LINGUAS.
783 2005-02-07 Bill Haneman <bill.haneman@sun.com>
785 * atk-bridge/bridge.c:
786 (atk_bridge_init): Added missing NULL in g_strconcat(),
787 also check for symlink before logging to
788 insecure directory. Thanks to meissner@suse.de.
790 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
792 * tests/login-helper-server-test.c: Add return call to main
793 function. Patch from Chris Lahey. Fixes bug #165129.
795 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
797 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
799 2004-12-09 Bill Haneman <billh@gnome.org>
801 * registryd/registry-main.c:
802 Added #define <string.h> for strrchr. (bug 160862).
803 Thanks to Vincent Berger for catching.
805 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
807 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
808 restart registry process if the registry process is found to have died
809 and the current process is exiting.
810 (spi_atk_bridge_exit_func): Do not attempt to deregister the
811 application if the registry process has died.
812 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
813 does not return a registry object.
814 (spi_atk_tidy_windows): Give up if the registry process has died.
816 This fixes problems with hangs and crashes when logging out.
818 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
820 * registryd/desktop.c: Add checking that we are not exiting before
821 calling spi_desktop_remove_application in
822 abnormal_application_termination. Fix for bug #152147.
824 2004-12-02 Bill Haneman <billh@gnome.org>
826 * configure.in, NEWS, README: Revved to 1.6.1.
828 Patch from Padraig O'Briain <padraig.obriain@sun.com>
829 * atk-bridge/bridge.c:
830 (atk_bridge_init): Save the pid when we start, to detect forks.
831 (spi_atk_bridge_exit_func): Don't call the cleanup routines
832 if we're in a forked pid.
834 2004-10-09 Bill Haneman <billh@gnome.org>
836 * idl/Accessibility_LoginHelper.idl:
837 Improved inline documentation.
839 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
841 * configure.in: Added gl (Galician) to ALL_LINGUAS
843 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
845 * libspi/accessible.c:
846 (impl_accessibility_accessible_get_role_name),
847 (impl_accessibility_accessible_get_local_role_name):
849 * libspi/component.c:
850 (impl_accessibility_component_get_accessible_at_point):
852 * libspi/eventlistener.c: (spi_event_listener_new):
854 * libspi/stateset.c: (impl_compare): More of the same
855 * libspi/table.c: (impl_getRowDescription): Again.
856 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
857 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
858 (impl_generate_keyboard_event): Same.
859 * registryd/registry-main.c: (main): Same
860 * test/event-listener-test.c: (test_exit): Same
861 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
862 * test/keysynth-test.c: (test_key_synthesis): Same
863 * test/login-helper-server-test.c: (main): Fix warning.
864 * test/screen-review-test.c: (test_exit): Fix include.
865 * test/simple-at.c: (simple_at_exit), (_festival_init):
868 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
870 * configure.in, NEWS, README: Revved to 1.6.0.
872 2004-09-12 Bill Haneman <bill.haneman@sun.com>
874 * configure.in: Rev and re-dist, since the 1.5.4 tarball
875 was missing the HTML docs.
877 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
879 * configure.in: only cleanups:
880 - better looking PKG_CHECK_MODULES() output,
882 - declare in one common place required versions of other tools using
885 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
887 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
888 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
889 required ATK version accordingly.
891 2004-09-03 Bill Haneman <bill.haneman@sun.com>
893 * cspi/bonobo/cspi-bonobo.c:
894 (cspi_display_name): Fix C99ism.
895 * atk-bridge/bridge.c:
896 (spi_display_name): Fix C99ism.
897 Patch from Jens Granseuer, jensgr@gmx.net.
899 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
901 * configure.in: Added "or" to ALL_LINGUAS.
903 2004-08-20 Bill Haneman <bill.haneman@sun.com>
905 * configure.in, NEWS, README: Revved to 1.5.4.
907 * registryd/registry-main.c:
908 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
911 * cspi/bonobo/cspi-bonobo.c:
912 (cspi_display_name): New convenience method, gets DISPLAY with
913 screen number stripped, if AT_SPI_DISPLAY isn't already set.
914 (cspi_init): Set the activation env value above before getting
917 * atk-bridge/bridge.c:
918 (spi_display_name): Create the AT_SPI_DISPLAY activation
919 environment for an app, based on the DISPLAY environment with the
920 screen number stripped off.
921 (atk_bridge_init): Allow redirection of error messages to a log.
922 (spi_atk_bridge_get_registry): Call
923 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
925 Fixes for bugs #149962, #136986, #144086.
927 2004-08-16 Christian Rose <menthos@menthos.com>
929 * configure.in: Added "bs" to ALL_LINGUAS.
931 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
933 * configure.in: Added nb to ALL_LINGUAS.
935 2004-09-03 Bill Haneman <bill.haneman@sun.com>
938 (SPI_init): Return error code '2' if the activated
939 registry cannot be pinged. Fixes bug #147648.
941 2004-07-28 Bill Haneman <bill.haneman@sun.com>
943 * registryd/deviceeventcontroller.c:
944 (spi_dec_init_mouse_listener): Don't do XGrabButton,
945 rely on timer-poll instead, to avoid conflict with
948 2004-07-20 Bill Haneman <bill.haneman@sun.com>
950 * configure.in: Revved to 1.5.3.
952 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
954 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
956 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
958 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
960 2004-06-11 Bill Haneman <bill.haneman@sun.com>
962 * atk-bridge/bridge.c:
963 (spi_atk_bridge_do_registration):
964 Register with ATK for AtkComponent:bounds-changed events.
965 (api_atk_bridge_signal_listener):
966 Marshal the AtkRectangle info into the event notification
967 for object:bounds-changed events.
970 (spi_init_any_rect): New method, inits a corba struct of
971 type Accessibility_BoundingBox from an AtkRectangle.
973 * libspi/spi-private.h: Declared spi_init_any_rect (above).
976 (SPIRect): New struct definition.
977 (SPI_freeRect): New declaration.
978 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
981 (AccessibleBoundsChangedEvent_getNewBounds): New method,
982 implemented. Gets the bounding box data from the CORBA_any
983 associated with a bounds-changed event notification.
984 (cspi_internal_event_get_rect): New, used internally by above method.
987 (SPI_freeRect): Implemented this new method, for freeing
990 * test/event-listener-test.c:
991 (main, report_bounds_event):
992 Added a test for object:bounds-changed events.
994 2004-06-01 Bill Haneman <bill.haneman@sun.com>
996 * test/login-helper-server-test.c:
997 (main): Fix C99-ism. Thanks to Jens Granseuer.
999 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1001 * libloginhelper-1.0.pc.in:
1002 * idl/Accessibility_LoginHelper.idl:
1003 * login-helper/Makefile.am:
1004 * login-helper/login-helper.[ch]:
1005 * test/login-helper-client-test.c:
1006 * test/login-helper-server-test.c: Added files missing from CVS.
1007 Files obtained from at-spi-1.5.2 tarball.
1009 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1011 * configure.in: Create login-helper/Makefile.
1012 Incremented micro version.
1014 * Makefile.am: Add login-helper subdir and pkgconfig data.
1016 * login-helper: New subdir.
1018 * libloginhelper-1.0.pc.in: New.
1020 * idl/Accessibility_LoginHelper.idl: New file, defines
1021 interface whereby authentication clients can identify agents which
1022 need access to services during the login process, e.g. screen lock
1025 * login-helper/Makefile.am : New.
1027 * login-helper/login-helper.[ch] : New, implementation of
1028 a LoginHelper base class. Services needing LoginHelper can subclass.
1030 * test/Makefile.am : Added test for login-helper, client and
1033 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1034 Use proper prefix in #include files.
1036 * test/login-helper-client-test.c: New.
1038 * test/login-helper-server-test.c: New.
1040 2004-05-27 Alexander Shopov <ash@contact.bg>
1042 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1044 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1046 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1047 is positive. This should make it easier to detect inapprorpiate unref
1050 2004-05-11 James Henstridge <james@daa.com.au>
1052 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1053 no-op and deprecated.
1055 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1057 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1059 2004-04-28 Bill Haneman <billh@gnome.org>
1061 * Makefile.am: Added --enable-gtk-doc to
1062 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1064 2004-04-19 Bill Haneman <billh@gnome.org>
1066 * configure.in: Revved to 1.5.1.
1068 * registryd/deviceeventcontroller.c:
1070 (DEControllerPrivateData): Added fields for
1071 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1072 (spi_dec_replace_map_keysym): New internal utility for
1073 replacing a keysym in the keymap - used to allow
1074 synthesis of individual characters which aren't in the
1076 (spi_dec_reset_reserved): New; resets the changed keysym value
1078 (keycode_for_keysym): We now try to deal with failed
1079 XKeysymToKeycode requests by changing a keymap value
1080 and returning a reserved keycode. We now take
1081 a DEController pointer as first arg.
1082 (spi_controller_register_with_devices): Call XkbGetMap with
1083 the XkbKeySymsMask. Find the highest keycode in the current
1084 keymap which doesn't have any grabs, and mark that one for
1085 temporary re-mapping when out-of-range KeySyms are synthesized.
1086 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1089 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1091 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1093 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1095 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1097 2004-03-24 Bill Haneman <billh@gnome.org>
1100 (AccessibleTable_addRowSelection),
1101 (AccessibleTable_addColumnSelection),
1102 (AccessibleTable_removeRowSelection),
1103 (AccessibleTable_removeColumnSelection):
1104 Add declarations for spi wrappers which were
1105 inadvertantly omitted. Fixes bug #133413.
1108 Revved to 1.5.0 (unstable series for GNOME 2.7).
1110 2004-03-24 Bill Haneman <billh@gnome.org>
1112 * atk-bridge/bridge.c:
1113 Bracketed some debug output in
1114 conditionals, to avoid printing it in normal use.
1117 * libspi/hyperlink.c:
1118 Don't cast 'object' to ATK_OBJECT when constructing
1119 an AtkAction interface for a hyperlink.
1120 See discussion in bug #120659.
1122 * test/key-listener-test.c:
1123 (report_all_key_event): Send output to stderr,
1124 not stdout, for consistency with the rest of the test callbacks.
1127 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1128 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1129 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1130 try incrementing the revision AFTER doing a dist, at least
1133 2004-03-22 Bill Haneman <billh@gnome.org>
1135 * configure.in: Revved to 1.4.0, libtool 9.14.9
1137 2004-03-17 Laszlo Peter <laca@sun.com>
1139 * libspi-1.0-uninstalled.pc.in: add idldir
1141 * cspi-1.0-uninstalled.pc.in: add idldir
1143 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1145 * configure.in: Added "en_GB" to ALL_LINGUAS
1147 2004-03-15 Bill Haneman <billh@gnome.org>
1149 * configure.in: Revved to 1.3.16,
1152 2004-03-15 Laszlo Peter <laca@sun.com>
1154 * libspi-1.0-uninstalled.pc.in: new file
1156 * cspi-1.0-uninstalled.pc.in: new file
1158 * configure.in: add the new pc files to AC_OUTPUT
1160 * Makefile.am: add the new pc files to EXTRA_DIST
1162 2004-03-12 Bill Haneman <billh@gnome.org>
1164 * atk-bridge/bridge.c:
1165 (spi_atk_bridge_key_listener):
1166 Make sure to return consumed=FALSE if snoop
1167 event is not dispatched to listener.
1170 2004-03-01 Bill Haneman <billh@gnome.org>
1172 * configure.in: Revved to 1.3.15,
1175 2004-03-07 Danilo Segan <dsegan@gmx.net>
1177 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1179 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1181 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1183 2004-03-01 Bill Haneman <billh@gnome.org>
1185 * configure.in: Revved to 1.3.14.
1188 (SPI_exit): Removed "bye-bye" exit message.
1189 Moved "leak" report to happen before the
1190 iteration over the leaked refs list.
1191 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1193 2004-02-24 Bill Haneman <billh@gnome.org>
1195 * configure.in: Revved to 1.3.13.
1197 * docs/reference/cspi/Makefile.am:
1198 Correct typo that was breaking the docs build.
1200 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1202 * autogen.sh: Require version 1.7 of automake.
1204 * configure.in: call GTK_DOC_CHECK([1.0])
1206 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1208 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1210 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1212 * test/Makefile.am: Remove use of CFLAGS.
1214 This fixes bug #132987.
1216 2004-02-11 Bill Haneman <billh@gnome.org>
1218 * reverted most of Tomasz' patch below, since it was breaking
1219 builds (see bug #134058).
1221 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1223 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1224 correct pass "make dist" (empty .. because seems no sach types in
1225 header files with gtk-doc markups).
1226 * docs/reference/cspi/Makefile.am, configure.in:
1227 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1228 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1229 * Makefile.am: added:
1230 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1231 for force correct pass generate documentation on "make distcheck".
1232 * libspi/Makefile.am: fixes for automake >= 1.6.
1233 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1234 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1237 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1239 * docs/reference/cspi/Makefile.am (install-data-local): Install
1240 index.sgml since the doc autobuilder on widget.gnome.org looks for
1243 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1245 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1248 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1250 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1252 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1254 * test/simple-at.c: Fixed null string problems that cause core
1255 dumping problems on Solaris.
1257 2004-01-12 Bill Haneman <billh@gnome.org>
1259 * configure.in: Incremented version to 1.3.11.
1261 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1263 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1264 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1267 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1269 * configure.in: Added "fa" to ALL_LINGUAS.
1271 2003-12-20 Arafat Medini <lumina@silverpen.de>
1273 * configure.in: Added "ar" to ALL_LINGUAS
1275 2003-12-16 Bill Haneman <billh@gnome.org>
1277 * registryd/registry-main.c:
1279 Set the reg_env DISPLAY variable before registering the
1280 activated registry service. Fixes bug #129479.
1282 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1284 * configure.in: Added "id" in ALL_LINGUAS
1285 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1287 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1289 * registryd/deviceeventcontroller.c (global_filter_fn):
1290 When an event is consumed discard any XEvents were added to
1291 the queue while dealing with the the event. This can happen if
1292 processing of the event takes a long time. Call XUngrabKeyboard
1293 if an event was discarded. This fixes bug $124837.
1294 Only call wait_for_release_event for a KeyPress.
1295 Use local variable display instead of spi_get_display().
1296 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1299 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1301 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1302 Allow for mask to contain values other than NumLock mask.
1305 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1307 * registryd/devieceventcontroller.c:
1308 (wait_for_release_event): Change first parameter from GdkEvent to
1310 (global_filter_fn); Correct call to wait_for_release_event.
1314 2003-12-08 Bill Haneman <billh@gnome.org>
1318 * registryd/ucs2keysym.c: New file.
1320 * registryd/deviceeventcontroller.c:
1321 (dec_keysym_for_unichar): Remove old partial implementation and
1322 replace with call to ucs2keysym(), which is much more complete.
1323 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1328 2003-12-05 Bill Haneman <billh@gnome.org>
1330 * configure.in: Version 1.3.9.
1332 * docs/reference/cspi/tmpl/spi_registry.sgml:
1333 Added reference to libspi/keymasks.h to the
1334 description of Registry queries: AccessibleKeyMaskType.
1337 2003-12-04 Bill Haneman <billh@gnome.org>
1339 Fix for bug #121974.
1341 * idl/Accessibility_Application.idl:
1342 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1343 setlocale's LC_TYPEs.
1344 (Accessibility::Application::getLocale): New method.
1345 Allows clients to query the locale, by type, of an app.
1348 * cspi/spi_application.c:
1349 (AccessibleApplication_getLocale): New method, wraps IDL above.
1351 * libspi/application.c:
1352 (spi_application_class_init): Init epv entry for getLocale.
1353 (impl_accessibility_application_get_locale): Impl for above.
1355 * test/test-simple.c:
1356 (test_application): Added assertion for getLocale, i.e.
1357 that the string from AccessibleApplication_getLocale (app, type)
1358 is the same as that from setlocale (type, NULL);
1360 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1362 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1363 the keyboard on a timeout intil the key state goes from pressed to
1364 released. Fixes bug #111429.
1366 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1368 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1369 root object so that it is present when a context menu in an
1370 out-of-process applet is popped up.
1371 (spi_atk_bridge_do_registration): Create acceessible application root
1372 object only if it does not exist.
1374 This fixes bug #125834.
1376 2003-12-01 Bill Haneman <billh@gnome.org>
1378 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1381 Added enum for AccessibleStreamableContentSeekType.
1382 (AccessibleStreamableContent_freeContentTypeList): New.
1384 * cspi/spi_streamablecontent.c:
1385 (accessible_bonobo_stream_client_seek): New private method.
1386 (AccessibleStreamableContent_seek): Implemented this method,
1387 using Bonobo_Stream_seek.
1388 (AccessibleStreamableContent_freeContentTypeList): New method
1389 for freeing the return value from
1390 AccessibleStreamableContent_getContentTypes.
1391 (stream_cache_item_free): Replaces stream_release; stop leaks.
1392 (stream_release): removed.
1393 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1394 free the memory properly.
1396 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1398 Fix for bug #116009.
1400 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1402 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1404 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1406 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1408 2003-12-01 Bill Haneman <billh@gnome.org>
1410 Fix for bug/rfe #127463.
1412 * idl/Accessibility_Accessible.idl:
1413 (getLocalizedRoleName): New.
1414 (unimplemented4): Removed (replaced by above).
1416 * libspi/accessible.c:
1417 (impl_accessibility_accessible_get_local_role_name): New.
1418 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1422 (Accessible_getLocalizedRoleName): New.
1424 * cspi/spi_accessible.c:
1425 (Accessible_getLocalizedRoleName): New.
1427 2003-12-01 Bill Haneman <billh@gnome.org>
1429 Fix for bug #118581.
1430 * idl/Accessibility_Text.idl:
1431 (getDefaultAttributes): New.
1432 (unimplemented4): Removed (replaced by above method).
1435 (impl_getDefaultAttributes): New method.
1436 (spi_text_class_init):
1437 initialize the get_default_attributes slot in the epv.
1440 (AccessibleText_getDefaultAttributes): New prototype.
1443 (AccessibleText_getDefaultAttributes): New method.
1445 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1447 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1448 write beyond the end of the table. Fixes bug #120473.
1450 2003-09-30 Christian Rose <menthos@menthos.com>
1452 * configure.in: Added "eu" to ALL_LINGUAS.
1454 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1456 * configure.in: ALL_LINGUAS: Added no.
1458 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1460 * configure.in: Added lt to ALL_LINGUAS.
1462 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1464 * atk-bridge/bridge.c:
1465 (atk_bridge_init): Register event listeners always even for
1466 out-of-process applet.
1467 (spi_atk_bridge_toplevel_added): Remove call to
1468 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1469 (spi_atk_bridge_toplevelk_removed): Remove call to
1470 spi_atk_deregister_event_listenersa as the listeners are now always
1472 (spi_atk_bridge_register_application): Remove call to
1473 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1475 This fixes bug #120991.
1477 * libspi/table.c (impl_getColumnDescription): Correct typo,
1478 pointed out by Bolian.Yin@sun.com.
1480 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1482 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1484 2003-09-08 Bill Haneman <billh@gnome.org>
1486 * configure.in: Revved to 1.3.7.
1488 This is the GNOME 2.4.0 release of at-spi.
1490 * docs/reference/cspi/Makefile.am:
1491 Removed spurious inclusion of 'index.sgml' in the
1492 html directory; this was breaking make distcheck and
1493 also some other build environments.
1495 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1497 * registryd/registry.[ch}:
1498 Add queue_handler_id and focus_object to SpiRegistry data structure.
1499 (registry_flush_event_queue): If event being discarded is
1500 "state-change:focused" store object as focus_object.
1501 (registry_start_queue): Remove queue handler and focus object
1503 (registry_discard_event): New function which discards a focus event
1504 if we had stored focus object in the registry.
1505 (registry_queue_event): Add new check that is_queueing is set as this
1506 function is reentrant.
1507 (registry_filer_event): Add call to registry_discard_event.
1509 This resolves issues raised in bug #108664.
1511 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1513 * configure.in: Added "bn" to ALL_LINGUAS.
1515 2003-09-04 Bill Haneman <billh@gnome.org>
1517 * cspi/spi_event.c: Documentation improvements for
1518 (SPI_registerAccessibleKeylistener).
1520 * docs/reference/tmpl/spi_registry.sgml:
1521 Documentation improvements for SpiAccessibleKeylistenerCB.
1523 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1525 * configure.in: Added "ro" to ALL_LINGUAS.
1528 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1530 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1531 not decremented to zero. Fixes bug #120725.
1533 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1535 * configure.in: Added "ja" to ALL_LINGUAS.
1537 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1539 * configure.in: Added "is" to ALL_LINGUAS.
1541 2003-08-22 Christian Rose <menthos@menthos.com>
1543 * configure.in: Added "nl" to ALL_LINGUAS.
1545 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1547 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1548 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1550 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1552 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1553 type for unspecified exception.
1554 * cspi_streamablecontect): Add include of string.h for memcpy.
1555 (stream_release): Correct call to bonobo_object_release_unref
1556 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1557 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1558 argument of _cspi_expection_throw.
1559 * libspi/hyperlink.c: Add include of libspi/action.h:
1560 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1561 * libspi/streamablecontent.c: add include of libspi/component.h.
1562 * regisrtyd/deviceeventcontroller.c:
1563 (spi_dec_translate_mask): Removed unused variable priv.
1564 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1565 * registryd/registry.c:
1566 (registry_filter_event): Remove unused variable queue_is-empty.
1567 (impl_registry_notify_event): Use correct modifier in fprintf call.
1569 This fixes compiler warnings reported in bug #120220.
1571 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1573 * registryd/registryd.c: Remove this file.
1575 2003-08-17 Sanlig Badral <badral@openmn.org>
1577 * configure.in: Added mn to ALL_LINGUAS.
1579 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1581 * configure.in: Added et to ALL_LINGUAS.
1583 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1585 * test/event-listener-test.c: Change active-descendant to
1586 active-descendant-changed.
1588 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1590 * configure.in: Added "fi" in ALL_LINGUAS.
1592 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1594 * configure.in: Added "hi" in ALL_LINGUAS.
1596 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1598 * configure.in: Revved to 1.3.6.
1602 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1604 * registryd/deviceeventcontroller.c
1605 (spi_device_event_controller_object_finalize): Fix typo in previous
1608 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1610 * registryd/deviceeventcontroller.c
1611 (spi_device_event_controller_object_finalize): Fix build on
1612 systems without XEvIE.
1614 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1616 * acconfig.h, configure.in, registryd/Makefile.am,
1617 registryd/devicecontoller.[ch]: Add XEViE support.
1619 2003-08-06 Wang Jian <lark@linux.net.cn>
1621 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1623 2003-08-06 Metin Amiroff<metin@karegen.com>
1625 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1627 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1629 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1630 MODIFIER_ALT in correct place.
1632 This fixes part of bug #118114.
1634 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1636 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1638 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1640 * configure.in: Added "ko" to ALL_LINGUAS.
1642 2003-07-28 Ole Laursen <olau@hardworking.dk>
1644 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1646 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1648 * configure.in: Added "sq" to ALL_LINGUAS.
1650 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1652 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1654 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1656 * configure.in: updated ALL_LINGUAS list
1658 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1660 * configure.in: Added Belarusian to ALL_LINGUAS.
1662 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1664 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1666 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1667 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1669 This fixes bug #116949.
1671 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1673 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1674 Correct CSPI to SPI in function documentation.
1676 This fixes bug #118054.
1678 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1680 * configure.in: Added Russian to ALL_LINGUAS.
1682 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1684 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1686 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1688 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1690 2003-07-10 Joel Brich <joel.brich@laposte.net>
1692 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1694 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1696 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1698 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1700 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1701 resources allocated for AccessibleEvent. See cspi_event().
1703 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1704 static variable streams to NULL.
1706 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1707 Update so that AcessibleEvent_ref will work.
1709 This fixes bug #116624.
1711 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1713 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1715 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1717 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1719 2003-07-02 Christian Neumair <chris@gnome-de.org>
1721 * configure.in: Added "de" (German) to ALL_LINGUAS.
1723 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1725 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1727 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1729 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1731 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1733 * configure.in: Added "pl" to ALL_LINGUAS.
1735 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1737 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1739 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1742 (get_action_from_servant):
1743 Removed assertion that action is implemented on an AtkObject.
1745 * libspi/hyperlink.c:
1746 (spi_hyperlink_new):
1747 Aggregate AccessibleAction interface on the hyperlink object if
1748 the object implements AtkAction. (This convention is used in
1751 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1753 * configure.in: Revved to 1.3.5.
1755 * registryd/Accessibility_Registry.server.in.in:
1756 Marked up appropriate strings for translation.
1758 * atk-bridge/bridge.c: Marked a couple of
1759 user-visible warnings for translation. Questionable
1760 whether they are really useful, but possibly so.
1763 2003-06-28 Christian Rose <menthos@menthos.com>
1765 * configure.in: Added "sv" to ALL_LINGUAS.
1767 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1769 * registryd/registry.c:
1770 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1771 (registry_defer_on_event): Defer focus: events, this is an
1772 improvement to the patch for bug #108664.
1774 * TODO: Update with 2.4/"Dev Complete" items.
1776 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1778 * atk-bridge/bridge.c:
1779 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1780 looks up signals once.
1781 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1782 if doing registration.
1783 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1784 when doing registration.
1786 This fixes bug #115014.
1788 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1790 * atk-bridge/bridge.c:
1791 (atk_bridge_init): Add signal handler for children-changed:remove on
1792 root when in a BonoboComponent.
1793 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1794 for first toplevel only other incrememt variable toplevels.
1795 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1796 application and remove listeners.
1797 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1799 (spi_atk_deregister_event_listeners): New function which removes
1801 (reinit_register_vars): New fuction which reinitializes variables.
1803 This fixes bug #111578.
1805 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1807 * configure.in: version 1.3.4.
1809 * cspi/spi_accessible.c:
1810 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1813 2003-06-13 Michael Meeks <michael@ximian.com>
1815 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1817 * cspi/spi_main.c (cspi_peek_ev): impl.
1819 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1821 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1823 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1825 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1826 SPI_ROLE_AUTOCOMPLETE
1828 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1830 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1831 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1833 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1835 * libspi/streamablecontent.h:
1836 * libspi/streamablecontent.c:
1837 New files, provide implementation/wrappers for
1838 Accessibility_StreamableContent.
1840 * cspi/spi_streamablecontent.c:
1841 Connected the C wrappers to the libspi C bindings.
1842 (AccessibleStreamableContent_close): New method.
1845 (AccessibleStreamableContent_close): New method, needed
1846 since we have an "open, [seek], read, close" model in cspi.
1848 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1850 Fix for #108664; Padraig's revision of my original patch.
1852 * registryd/registry.h:
1853 Added event queue list, is_queuing, and exit_notify_timeout
1854 to the registry struct.
1856 * registryd/registry.c:
1857 (registry_init): Initialize new struct from registry.h.
1858 (impl_registry_notify_event):
1859 Filter events before notifying, in case some need to be
1861 (registry_filter_event): New,
1862 we defer certain incoming events (for instance
1863 window:deactivate) because we may wish to hide
1864 or reject them based on pending events. This is
1865 mostly a workaround for bug #108664.
1866 (registry_queue_event, registry_start_queue): New.
1867 (registry_defer_on_event): Test event to see if it
1869 (registry_reset_on_event): Returns TRUE if the
1870 event should cause a queue reset.
1871 (registry_discard_on_event): Returns TRUE if the event
1872 should cause the previous queue contents to be discarded.
1873 (registry_timeout_flush_queue): Flushes the pending event
1874 queue if no reset/discard-triggering events have come in
1875 within the timeout period.
1876 (registry_emit_event): New.
1877 (registry_clone_notify_context): New, used when queueing the
1878 event notify contexts.
1880 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1882 * configure.in: Version revved to 1.3.2, lt 0.9.2
1883 Incremented ATK required version to 1.3.4.
1885 * cspi/spi_registry.c:
1886 (SPI_generateKeyEvent):
1887 We now pass the keystring along if it's non-null.
1889 * registryd/deviceeventcontroller.c:
1890 (keysym_mod_mask): New method, returns modifier mask
1891 required to generate a keysym from a given keycode.
1892 (dec_synth_keysym): New method.
1893 (dec_synth_keystring): New method.
1894 (dec_get_modifier_state): New method.
1895 (dec_lock_modifiers): New
1896 (dec_unlock_modifiers): New.
1897 (dec_keysym_for_unichar): New, rather brute-force
1898 conversion from UCS-4 to X KeySyms. Only works for
1899 Latin at the moment, with partial implementations for
1900 Greek, Hebrew, and (incomplete) Katakana.
1901 (impl_generate_keyboard_event): Now implement
1902 "KEYSTRING" synthesis and implement "KEYSYM"
1904 (keycode_from_keysym): Improved, passes a returned
1905 modmask value now if the corresponding param is non-NULL.
1907 Fixes bugs #92143 and #109776.
1910 * test/keysynth-test.c:
1911 New test program for key synthesis, to confirm fixes for
1915 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1917 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1919 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1920 Add line for RELATION_POPUP_FOR
1922 * docs/reference/cspi/tmpl/spi_relation.sgml:
1923 Add relation SPI_RELATION_POPUP_FOR
1925 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1926 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1928 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1930 * libspi/relation.c (spi_init_relation_type_table):
1931 Add line for RELATION_POPUP_FOR
1933 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1935 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1936 there are still windows which have not been deleted and emit
1937 window:deactivate, if necessary and window:destroy events.
1938 This fixes bug #114370. The change on June 5th was not correct.
1940 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1942 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1945 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1947 New methods for client exception handling and interception.
1948 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1949 (SPI_exceptionHandlerPop): You guessed it...
1950 (SPI_getSourceType): Return the type of object which offended.
1951 (SPI_getExceptionCode): Return an enum code telling, possibly,
1952 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1953 (SPIAccessibleException_getSource): get the source object for
1954 exceptions that come from Accessibles, if SPIExceptionSourceType is
1955 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1956 (SPIException_getDescription): New, returns a string description of
1957 the problem. [Not yet a stable ABI, strings are not frozen]
1959 * cspi/spi-private.h:
1960 Added implementation details of opaque SPIException
1964 Implementations of above. Also
1965 (_cspi_exception_throw): new private method that
1966 dispatches exceptions to handlers, called from cspi-bonobo.c
1968 * cspi/bonobo/cspi-bonobo.c:
1969 (cspi_check_ev): call _cspi_exception_throw.
1970 Don't print a warning message if the exception has been
1971 handled by _cspi_exception_throw.
1973 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1975 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1976 there are still windows which have not been deleted and emit
1977 window:deactivate, if necessary and window:destroy events.
1978 This fixes bug #114370.
1980 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1983 (cspi_accessible_is_a): Make non-fatal
1984 if the object reference is dead.
1986 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1988 * cspi/spi_main.c: #include <stdio.h>
1989 * test/simple-at.c: ditto
1990 * test/event-listener-test.c: ditto
1991 * test/screen-review-test.c: ditto
1993 2003-05-30 Michael Meeks <michael@ximian.com>
1995 * test/test-simple.c (main): use CORBA_ORB_perform_work
1996 instead of an unnecessary linc_ call.
1998 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2000 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2001 Add SPI_STATE_INDETERMINATE.
2003 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2006 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2008 * libspi/stateset.c (init_state_type_tables): Add support for
2011 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2013 * configure: Update versions of atk and gail required.
2014 This fixes bug #113268.
2016 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2018 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2020 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2022 * libspi/Makefile.am:
2023 Ensure headers are generated before being used by c sources.
2025 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2028 Simplified lt versioning rules.
2029 Incremented version to 1.3.0, to indicate that we're on the
2030 unstable branch now.
2032 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2034 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2035 Add MKDB_OPTIONS=--outtput-format=xml
2037 * docs/reference/cspi/at-spi-cspi-docs.sgml
2038 docs/reference/idl/at-spi-idl-docs.sgml:
2039 Convert to Docbook XML.
2041 This fixes bug #111793.
2043 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2045 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2046 AcccessibleKeyEventType, AccessibleKeyMaskType.
2048 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2050 * cspi/state-types.h: Add documentation for AccessibleState.
2052 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2053 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2054 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2055 AccessibleComponentLayer.
2057 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2060 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2062 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2063 Accessible. Add description of AccessibleEvent,
2064 AccessibleEventListenerCB.
2066 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2069 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2070 documentation. Add description of AccessibleKeystrokeListenerCB,
2071 AccessibleKeyEventMask, AccessibleModifierMaskType,
2072 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2073 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2075 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2078 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2081 This fixes bug #104730.
2083 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2085 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2086 Set is_text field of Accessibility_DeviceEvent data structure.
2088 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2089 is-text field of AccessibleDeviceEvent data structure.
2091 This addresses part of bug #108666.
2093 * registryd/devcieeventcontroller.c: Unset debug option.
2095 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2097 * cspi/accessible.c:
2098 (cpi_initial_relation_type_table): New function which initializes
2099 mapping between Accessibility_RelationType and AccessibleRelationType.
2100 (cspi_relation_type_from_spi_relation_type): New function which
2101 translates an Accessibility_RelationType into an AccessibleRelationType.
2102 (AccessibleRelation_getRelationType): Use
2103 cpi_relation_type_get_spi_relation_type to return correct value.
2104 (spi_state_to_corba): Return correct type for default case.
2106 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2107 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2109 * cspi/cspi-bonobo-listener.c:
2110 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2113 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2114 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2115 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2116 libspi/image.c, libspi/listener.c, libspi/selection.c,
2117 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2118 registryd/desktop.c, registryd/registry.c:
2119 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2121 * libspi/eventlistener.c
2122 Remove semicolon after BONOBO_TYPE_FUNC.
2124 * libspi/relation.c:
2125 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2126 (spi_init_relation_type_table): Initialize using correct type.
2128 * registryd/desktop.c:
2129 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2130 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2131 of Accessibility_KeyEventType.
2133 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2136 * tests/simple-at.c, tests/screen-review-test.c:
2137 Add include for <strings.h>.
2139 * tests.stress-test.c:
2140 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2142 These changes fix compiler warnings when using FORTE compiler on
2143 Solaris; fixes bug #107479.
2146 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2149 * configure.in: revved to 1.1.10
2151 * libspi/keymasks.h:
2152 (SPI_KEYMASK_NUMLOCK): Added.
2154 * registryd/deviceeventcontroller.c:
2155 (spi_key_event_matches_listener): AND with a smaller
2156 bitmask (as we should).
2157 (spi_dec_translate_mask):
2158 New method, sets the virtual NumLock modifier bit
2159 if numlock is on. Eventually it can handle other virtual
2160 modifier bits if needed, or other marshalling from
2161 at-spi modifier masks to platform (X) masks.
2162 (spi_dec_key_listener_new):
2163 Call spi_dec_translate_mask to set up virtual mod bits
2164 in the 'mask' field when creating a new listener struct.
2165 (spi_dec_emit_modifier_event):
2166 Set the virtual (i.e. NumLock) bits before emitting event.
2167 (spi_controller_register_with_devices):
2168 Query for the NumLock modifier 'physical' bit if Xkb is
2169 present, for use in above methods.
2173 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2175 * registryd/deviceeventcontroller.c:
2176 (spi_keystroke_from_x_key_event):
2177 Instead of checking to see if the keysym is
2178 printable, check the string from XLookupString
2179 if available, get the first unicode character from it,
2180 and call g_unichar_isprint to determine whether the
2181 is_text flag should be TRUE or FALSE.
2185 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2187 * atk-bridge/bridge.c: Add support for extended events
2188 * cspi/spi_event.c: Add documentation and implementation for
2190 * tests/event-listener-test.c: Add tests for extended events.
2192 This fixes bugs #100424 and #100426.
2194 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2196 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2197 of LT_CURRENT. This fixes bug #89350.
2199 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2201 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2202 number of signal parameter values before accessing them. This fixes
2205 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2207 * configure.in: Fixed duplicate inclusion of -lspi.
2208 * branched for gnome-2-2/HEAD.
2209 [created tag "gnome-2-2"]
2211 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2213 * configure.in: 1.1.9 release.
2216 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2218 [needed by GOK, to fix bugs 107985 and 107988]
2219 * registryd/deviceeventcontroller.c:
2220 (spi_dec_clear_unlatch_pending):
2221 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2222 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2223 (spi_dec_init_mouse_listener):Emit warning if mouse button
2225 (spi_device_event_controller_forward_mouse_event):
2226 Removed unnecessary parens from a conditional.
2227 (global_filter_fn):Added TODO comment.
2228 (impl_generate_keyboard_event):
2229 Cancel a pending relatch if a 'delatching' key was
2232 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2234 * atk-bridge/bridge.c:
2235 Change atk_signal_child_changed to atk_signal_children_changed.
2236 Reorganize code in spi_atk_bridge_signal_listener().
2238 * test/event-listener-test.c:
2239 Add children_changed_listener and report_children_changed_event()
2240 to test AccessibleChildEvent_getChildAccessible.
2242 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2244 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2245 g_strdup to CORBA_String_dup (bug #105291)
2247 * test/event-listener-test.c (report_text_event): Add call to
2250 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2252 * registryd/deviceeventcontroller.c:
2253 (spi_keystroke_from_x_key_event):
2254 Fix string and keysym return codes to match modifier state.
2257 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2259 * registryd/deviceeventcontroller.c:
2260 (spi_keystroke_from_x_key_event):
2261 Fix segv due to improper use of isprint(c). [bug #107254]
2263 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2266 (get_accessible_text_boundary_type):
2267 Move default return value to (new) default case in switch.
2268 (get_accessible_text_clip_type):
2269 Move default return value to (new) default case in switch.
2271 * libspi/application.c:
2272 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2273 Remove unused methods.
2274 (impl_accessibility_application_register_object_event_listener):
2275 Remove unused methods.
2278 Added #include of <math.h>.
2280 * registryd/deviceeventcontroller.c:
2281 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2282 we don't currently use this method.
2283 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2285 (impl_generate_key_event):
2286 Remove unused variables.
2287 (impl_generate_mouse_event):
2288 Initialize button to zero, just in case we get an invalid
2289 input. Added support for mouse buttons 4 and 5.
2290 (spi_device_event_controller_new):
2291 Removed unused variable declaration for 'private'.
2293 Added #include of <gdk/gdk.h>
2295 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2297 * configure.in: Update to work when X is not installed in expected
2298 location. Fixes bug #105836.
2300 * atk-bridge/bridge.c
2301 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2303 (spi_atk_register_event_listener): Add signal listener for
2305 (spi_atk_bridge_signal_listener): Event event when link-selected
2306 signal is emitted. (bug #104622)
2308 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2309 on returned string. (bug #105291)
2311 * test/event-listener-test.c: Add test for link-selected.
2313 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2315 * atk-bridge/Makefile.am: Correct typo in previous commit.
2317 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2319 * atk-bridge/Makefile.am: Allow for build directory to be different
2320 from source directory
2322 * registryd/Makefile.am: Allow for build directory to be different
2323 from source directory
2327 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2330 Fixed dependencies for libcspi so that libspi gets pulled in
2331 properly. Fixes 104741.
2335 Clean up inline docs a little.
2337 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2339 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2340 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2341 the AtkObject within an SpiDesktop.
2342 This addresses bug #101524.
2344 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2345 Remove call to gdk_init().
2347 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2348 so that Display is set when SpiDesktop is created.
2350 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2352 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2353 This fixes bug #102830.
2355 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2357 * test/test-simple.c: Update to take account of fact that GailButton
2358 now implements AtkText.
2359 (create_text_window): Set name on AtkObject for GtkEntry.
2360 (validate_accessible): Check accessible name before calling test_text().
2362 * libspi/Makefile.am: Fix problem with building outside of source
2363 directory. Bug #98120.
2365 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2366 typo in documentation comments. Bug #94275.
2368 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2370 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2372 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2375 Add includes to avoid compiler warnings on Solaris.
2376 (impl_getRangeExtents): Bug fix.
2378 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2380 Fix for 100944, [API addition approved by Gman and murrayc].
2387 * idl/Accessibility_Text.idl:
2388 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2389 (Text::getRangeExtents): New method for efficient
2390 bounds query of a text range.
2391 (Text::getBoundedRanges): New method for efficient
2392 clipping of text to bounding boxes.
2393 (unImplemented7, unImplemented8):
2394 Removed these padding methods to preserve bincompat.
2397 (impl_getRangeExtents): implementation of new IDL.
2398 (impl_getBoundedRanges): implementation of new IDL.
2399 (SpiTextRect): Internal use struct.
2400 (_spi_text_rect_union): internal method, calculates union of two
2401 SpiTextRect bounding rects.
2402 (_spi_text_range_seq_from_gslist): internal method, allows us
2403 to build our sequence efficiently as a gslist then convert it
2405 (_spi_bounds_contain): internal method, determines whether
2406 a text character is "in" or "out" of a clip rect according to
2407 values of TEXT_CLIP_TYPE.
2408 (spi_text_class_init): Initialize the new methods in the epv.
2411 (AccessibleTextClipType): New enum used by screen review api.
2412 (AccessibleTextRange): New struct used by screen review api.
2413 (AccessibleText_getRangeExtents):
2414 cspi binding for Accessibility_Text_getRangeExtents.
2415 (AccessibleText_getBoundedRanges):
2416 cspi binding for Accessibility_Text_getBoundedRanges.
2417 (AccessibleTextRange_freeRanges): convenience method.
2420 (AccessibleText_getRangeExtents):
2421 cspi binding for Accessibility_Text_getRangeExtents.
2422 (AccessibleText_getBoundedRanges):
2423 cspi binding for Accessibility_Text_getBoundedRanges.
2424 (AccessibleTextRange_freeRanges): convenience method.
2425 (get_accessible_text_clip_type): internal conversion method.
2426 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2428 * registryd/deviceeventcontroller.c:
2429 (spi_dec_mouse_check):
2430 Improved behavior for mouse:abs events
2431 [same granularity as mouse:rel events, and no
2432 events when mouse is idle].
2434 2002-12-16 Michael Meeks <michael@ximian.com>
2436 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2438 * libspi/stateset.c (state_spi_to_atk): split out
2439 ( fix several remote array bounds nasties )
2440 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2441 (impl_remove): make safe from array bounds issues.
2442 (spi_atk_state_from_spi_state): impl.
2444 * libspi/stateset.h (spi_state_set_cache_is_empty):
2445 add a set of wrapper defines to get layering right.
2447 * cspi/spi_accessible.c: update state set stuff to
2450 2002-12-14 Michael Meeks <michael@ximian.com>
2452 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2453 to avoid 2 roundtrips to the registry per key event
2454 (spi_atk_bridge_key_listener): upd.
2455 (deregister_application): release the dec.
2457 * registryd/registry.c (notify_listeners_cb):
2458 bin lots of re-enterant complexity - we no longer
2459 do a round-trip bonobo ref here, ensure that a single
2460 listener's exception failure won't poison all other
2462 (impl_registry_notify_event): bin obvious memory leak.
2464 2002-12-13 Michael Meeks <michael@ximian.com>
2466 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2467 init the ev so the error is meaningful.
2468 (spi_atk_bridge_key_listener): ditto.
2470 * cspi/spi_main.c (cspi_ev): init the ev so we start
2471 with a clean slate, otherwise the first exception
2472 kills us completely.
2474 * cspi/spi_text.c (get_accessible_text_boundary_type):
2475 add a fallthrough for no warnings.
2477 * cspi/spi_registry.c: prune unused warnings.
2479 * cspi/spi_main.c (cspi_object_take): fix
2480 mind-blowing brokenness ( by watching the compile
2483 * cspi/spi_accessible.c (Accessible_getStateSet):
2484 re-impl. to use an AtkStateSet.
2485 (spi_state_type_from_accessible_state),
2486 (init_state_table): bin these.
2488 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2490 (atk_state_set_from_accessibility_state_set): here.
2492 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2493 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2494 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2495 (AccessibleStateSet_add, AccessibleStateSet_remove),
2496 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2497 (AccessibleStateSet_isEmpty): re-write to use a local
2500 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2502 * configure.in: Revved to 1.1.7 (new keymask vals).
2504 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2506 * libspi/keymasks.h:
2507 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2509 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2512 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2513 to compare two CORBA_TypeCodes.
2514 (cspi_internal_event_add): Silence warning from FORTE compiler.
2516 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2517 avoid implicit declaration of functions.
2519 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2521 * atk-bridge/bridge.c:
2522 (spi_atk_bridge_init_event_type_consts): Store signal id for
2523 active-descendant-changed signal.
2524 (spi_atk_register_event_listeners): Add signal listener for
2525 active-descendant-changed signal,
2526 (spi_atk_bridge_signal_listener): Move code in function
2527 spi_atk-signal_emit_event() into this function.
2528 Add support for active-descendant-changed
2529 Update support for child-changed signal.
2530 (spi_bridge_window_event_listener): Silence warning.
2532 * libspi/spi_private.[ch]:
2533 (spi_init_any_object): Change second parameter from CORBA_Object to
2535 Omit call to CORBA_Object_duplicate().
2536 Set CORBA_any's _value to CORBA_Object*.
2538 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2544 (AccessibleEvent_ref, AccessibleEvent_unref):
2545 New methods, for persisting an event outside the emission context.
2546 Must be used if the new accessor methods are to be called
2547 outside of the event listener's callback.
2549 * cspi/bonobo/cspi-bonobo.c:
2550 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2551 as second parameter instead of NULL, so we can call
2552 cspi_check_ev afterwards.
2555 (cspi_object_take): New internal method,
2556 converts a CORBA_Object reference to a hard ref on
2557 an Accessible if possible, returning NULL if the object
2558 reference is invalid or an Accessible * otherwise.
2561 (AccessibleEvent_ref):
2562 Increment the event's internal private refcount, and
2563 add the event's internal struct to an internal cache
2564 if it's not already there.
2565 (AccessibleEvent_unref):
2566 Decrement the event's refcount and remove it from
2567 the cspi event cache if refcount==0.
2568 (cspi_event_compare): New private method.
2569 Compares two event structs via their ids. Used
2571 (cspi_internal_event_lookup): New private method.
2572 (cspi_internal_event_check): New private method,
2573 a 0-order sanity check for events to make sure their
2574 private data is intact.
2575 (cspi_internal_event_add, cspi_internal_event_remove):
2576 New private methods for managiing the event cache.
2578 * cspi/bonobo/cspi-bonobo-listener.c:
2580 Initialize the new private data elements (id, magic, ref_count).
2582 * atk-bridge/bridge.c:
2583 (spi_atk_bridge_signal_listener):
2584 Fixed bug #100530, passing wrong params to emission func.
2586 * registryd/deviceeventcontroller.c:
2587 (spi_dec_button_update_and_emit):
2588 Fixed type in mask bit operations; fix for #99799.
2590 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2592 Removed some of the more dangerous workarounds from
2593 previous commit; they are only needed by GOK, which
2594 in reality should be using another method to accomplish
2595 the goals. So on reconsideration some of the workarounds
2596 need to be reverted:
2598 * registryd/deviceeventcontroller.c:
2599 (spi_keycodes_contain, spi_dec_init_keycode_list):
2600 Removed these methods, used only by a nasty hack to try
2601 and detect whether a key synthesis should be allowed
2602 to reset the XKB latch state or not. This code was only
2603 required to work around an interaction between GOK,
2604 button events, and XKB.
2605 (impl_generate_key_event):
2606 Removed hack at end of key generation that tried to
2607 "do the right thing" if XKB latch keys were generated
2608 in the midst of button press/release pairs.
2611 Added a check for HAVE_XINPUT. Not normally used yet.
2613 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2615 Workarounds and fixes for mouse event/XKB interaction.
2617 * registryd/deviceeventcontroller.c:
2618 (spi_keycodes_contain, spi_dec_init_keycode_list):
2619 New internal methods.
2620 (spi_dec_set_unlatch_pending):
2621 Split the method that tells XKB to expect an
2622 unlatch (and revert it) out of the rest of the
2623 event handling code. This method is called by the
2624 two mouse event handlers (the poll and the filter).
2625 (spi_dec_update_and_emit, spi_dec_mouse_check):
2626 New methods split from spi_dec_poll_mouse_moved.
2627 The second one is now called from inside the filterFn
2628 when an XKB delatch event is received, to determine
2629 whether to revert the delatch or not.
2630 (spi_poll_mouse_moved): Refactor; also we can now
2631 properly handle the case where multiple button states
2632 have changed between polling cycles and we didn't get
2633 notified due to another client's grab.
2635 Synchronize the server while handling an XKB notification.
2636 Ugly, but apparently necessary to avoid nasty races.
2637 Check the mouse state on receipt of an XKB latch change,
2638 to decide whether to revert the latch or not. (Latches are
2639 reverted if there is an immediately preceding mouse button
2640 event that a client has consumed, in which case we don't want
2641 the user to see the side-effect of the event).
2642 (spi_device_event_controller_forward_mouse_event):
2643 Check for modifier events and fire before resetting mouse_mask_state,
2644 prevents losing modifier events.
2646 (impl_generate_keyboard_event):
2647 If we've just generated a keyboard event for a non-shift key,
2648 we don't want to revert the pending XKB latch.
2649 Otherwise, check the modifier state (via a call to
2650 spi_dev_mouse_check) and set the relatch mask to
2651 that state before returning.
2653 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2656 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2659 * atk-bridge/bridge.c:
2660 (spi_atk_register_event_listeners):
2661 Don't re-register for ATK events if the registry has died
2662 and the app needs to re-register; the ATK listeners are in
2663 process and doing so will cause duplicate emission.
2665 * registryd/deviceeventcontroller.c:
2666 (spi_poll_mouse_moved):
2667 Reformat the source, detect and emit multiple button-change
2668 events (i.e. if multiple buttons have changed between poll
2670 Add code to detect mouse-down events even when the pointer
2671 is grabbed; workaround for GOK bug 98420.
2672 (spi_controller_register_with_devices):
2673 Call XTestGrabControl with 'impervious' flag set to True,
2674 allows us to synthesize events and query the pointer even during
2675 an active grab by another client.
2676 (spi_device_event_controller_forward_mouse_event):
2677 Set the mouse_mask_state to the mouse_button_state from
2678 the intercepted event, to synchronize the grab listener with
2681 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2683 * cspi/spi_accessible.c:
2684 (AccessibleRole_getName):
2685 Added necessary strings for making this (deprecated)
2686 method work with the new role types.
2687 (init_role_table, role_table):
2688 Added definition of SPI_ROLE_APPLICATION.
2690 * libspi/spi-roletypes.h:
2691 Added SPI_ROLE_APPLICATION.
2693 * idl/Accessibility_Role.idl:
2694 Added ROLE_APPLICATION.
2696 * docs/reference/cspi/at-spi-cspi-decl.txt:
2697 Added SPI_ROLE_APPLICATION to docs.
2699 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2701 * cspi/spi_accessible.c
2702 (cspi_init_role_table): Do not write beyond end of role_table.
2703 (Accessible_getRole): Use correct type for value returned by
2704 Accessibility_Accessible_getRole().
2706 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2707 beyond end of role_table. (This fixes bug #98269)
2709 * libspi/application.c: Add include file spi-private.h for
2710 definition of spi_init_any_nil.
2712 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2716 * libspi/spi-private.h:
2717 Added DGB() macro, and extern int _dbg declaration.
2719 * registryd/registry.c:
2720 (definitions) storage for _dbg.
2721 (spi_registry_init):
2722 Get environment variable "AT_SPI_DEBUG".
2723 (spi_registry_set_debug):
2724 New method, to initialize _dbg value.
2725 (spi_listener_struct_new, spi_registry_object_finalize):
2726 (notify_listeners_cb):
2727 Changed fprintfs to use DBG and g_warning().
2729 * registryd/deviceeventcontroller.c:
2730 (_deregister_keygrab, spi_controller_register_device_listener):
2731 Changed debug/warning messages to use DBG macro.
2733 * libspi/listener.c:
2734 (impl_notify_event):
2735 Changed warning messages to use DBG macro and g_warning().
2737 * atk-bridge/bridge.c:
2738 (atk_bridge_init, spi_atk_bridge_get_registry):
2739 (spi_atk_bridge_exit_func):
2740 (spi_atk_bridge_property_event_listener):
2741 Changed status, warning, and error messages to use
2742 g_warning, g_message, and DBG macros.
2745 Read the state of the AT_SPI_DEBUG environment variable
2746 and set a local '_dbg' accordingly.
2748 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2750 FIXES for 98836, 98842, other bugs.
2753 Revved to 1.1.4, interface-age=4, binary-age=4.
2755 * registryd/deviceeventcontroller.c:
2757 Fixed crasher bug in last_mouse_pos initialization.
2759 * registryd/registry.c:
2760 (desktop_add_application, desktop_remove_application):
2761 Added (and then commented out) some support for
2762 object context marshalling. [TODO]
2764 * atk-bridge/bridge.c:
2765 (spi_atk_bridge_event_context_create):
2766 Commented out object context creation until it can
2767 be properly tested and debugged.
2769 * registryd/registry.c:
2770 (impl_registry_notify_event):
2771 Fixed crasher bug, we were calling
2772 spi_re_entrant_list_foreach () with an empty list.
2774 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2776 * idl/Accessibility_Action.idl:
2777 * idl/Accessibility_Component.idl:
2778 * idl/Accessibility_Desktop.idl:
2779 * idl/Accessibility_Event.idl:
2780 * idl/Accessibility_Hyperlink.idl:
2781 * idl/Accessibility_Image.idl:
2782 * idl/Accessibility_Relation.idl:
2783 * idl/Accessibility_Selection.idl:
2784 * idl/Accessibility_State.idl:
2785 * idl/Accessibility_Value.idl:
2786 Updated unimplemented slot count to minimum of
2787 four for all interfaces, for ABI freeze.
2789 * idl/Accessibility_EditableText.idl:
2790 * idl/Accessibility_Text.idl:
2791 Updated unimplemented slot count to six
2794 * idl/Accessibility_Registry.idl:
2795 Updated unimplemented slot count to six
2796 (also for DeviceEventController),
2799 * idl/Accessibility_Table.idl:
2800 Updated unimplemented slot count to eight,
2803 * idl/Accessibility_Event.idl:
2804 Added CORBA_any "any_data" member to Event struct.
2806 * idl/Accessibility_Event.idl:
2807 Added CORBA_any "any_data" member to Event struct.
2809 * atk-bridge/bridge.c:
2811 atk_signal_text_changed, atk_signal_child_changed,
2812 signal ids queried from gtype system.
2813 (AtkBridgeEventContextType): New enum.
2814 (AtkBridgeEventContextData): New struct.
2815 (AtkBridgeEventContext): New struct.
2816 (atk_bridge_init_event_type_consts):
2817 New method, initializes type contants for comparison
2818 prior to emit_eventv.
2819 (atk_bridge_event_context_init): New method,
2820 initializes a CORBA_any from an AtkBridgeEventContext.
2821 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2822 initialize the event.any_data struct.
2823 (spi_atk_bridge_event_context_create): New method,
2824 creates an AtkBridgeEventContext from signal/event info.
2825 (spi_atk_bridge_event_context_free): New method.
2826 (spi_atk_emit_eventv): Changed to take an
2827 AtkBridgeEventContext parameter. We now initialize
2828 the event.any_data member prior to notifying the
2829 Registry, via the AtkBridgeEventContext.
2830 (spi_atk_bridge_property_event_listener):
2831 (spi_atk_bridge_state_event_listener):
2832 Match emit_eventv signature.
2833 (spi_atk_bridge_object_event_listener):
2834 Match emit_eventv signature, and create an
2835 event context from the event details.
2836 Free the event context afterwards.
2837 (spi_atk_bridge_window_event_listener):
2838 Create an event context, pass it to the
2842 (AccessibleEvent_getContextString):
2843 (AccessibleEvent_getContextObject):
2844 New methods, allow query of AccessibleEvent objects
2845 for more context details (via the "any_data" member
2846 of the Event struct, above).
2849 Definitions for AccessibleEvent_getContextString
2850 and AccessibleEvent_getContextObject.
2852 * cspi/spi_listener.h:
2853 (InternalEvent): New struct.
2856 (AccessibleEvent_getContextString):
2857 (AccessibleEvent_getContextObject):
2858 Implementations of new methods, for obtaining
2859 additional context information from some event types.
2861 * cspi/spi_registry.c:
2862 (SPI_registerGlobalEventListener):
2863 Added mention of active-descendant-changed event in docs.
2865 * cspi/cspi-bonobo-listener.c:
2867 Marshal the any into the AccessibleEvent via
2870 * libspi/spi-private.h:
2871 #include <orbit/orbit.h>
2873 (spi_init_any_string):
2874 (spi_init_any_object):
2875 New convenience function declarations.
2879 (spi_init_any_string):
2880 (spi_init_any_object):
2881 New convenience function implementations.
2883 * registryd/deviceeventcontroller.c:
2884 (spi_poll_dec_mouse_moved):
2885 (spi_device_event_controller_forward_mous_event):
2886 Initialize any_data member of event.
2887 (spi_deregister_controller_device_listener):
2888 Fix incorrect param pass which was preventing deregistration.
2890 * registryd/registry.c:
2891 (desktop_add_application):
2892 (desktop_remove_application):
2893 Add object data to event's any_data before dispatch.
2895 Fix for error messages from GAIL.
2897 * test/event-listener-test.c:
2898 Test new ContextString and "any_data" API:
2899 (report_text_event): New method query and output context string.
2900 (main): register a new text listener with report_text_event
2903 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2905 Fixes for bugs 98127 and 97914.
2906 * cspi/spi-roletypes.h:
2907 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2909 * cspi/spi-statetypes.h:
2910 Added SPI_STATE_MANAGES_DESCENDANTS
2912 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2913 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2914 * cspi/spi_accessible.c:
2915 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2916 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2917 Accessibility_STATE_MANAGES_DESCENDANTS
2918 * libspi/accessible.c:
2919 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2920 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2921 As requested by Bill, I also cleaned up the alignment.
2922 * libspi/relation.c:
2923 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2924 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2925 * libspi/stateset.c:
2926 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2927 Accessibility_STATE_MANAGES_DESCENDANTS
2928 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2929 Document changes reflecting modifications to roles.
2930 * docs/reference/cspi/tmpl/spi_relation.sgml:
2931 Document changes reflecting modifications to relations.
2932 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2933 Document changes reflecting modifications to states.
2935 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2938 Revved to 1.1.3, interface-age=3, binary-age=3.
2939 Added REBUILD macro.
2942 Removed accessx-gui from the tests, since we have a nice
2943 keyboard accessibility capplet now :-)
2945 * test/keysynth-demo.c:
2946 (increment_scan): removed do-nothing default: case,
2949 * test/visual-bell.c:
2950 (main) : removed do-nothing default: case,
2953 * cspi/spi_action.c:
2954 (AccessibleAction_getKeyBinding_):
2955 Documented keybinding string format.
2959 (AccessibleText_getAttributes):
2960 Documented the text attribute string format.
2961 It's changed to use semicolon delimiters also,
2962 to prevent clashes with CSS attributes, but the old
2963 trick of looking for ", " strings will still work
2964 (as unreliably as ever). Fix for bug related to 97916.
2967 Include <cspi/bonobo/cspi-bonobo-listener.h>
2968 Fixes build warning.
2969 (SPI_freeAccessibleKeySet):
2970 (AccessibleKeystrokeListener_addCallback):
2971 (AccessibleKeystrokeListener_removeCallback):
2972 Modify to use AccessibleDeviceListener API internally,
2973 instead of AccessibleKeystrokeListener.
2975 * idl/Accessibility_Event.idl:
2976 Added two more empty slots to EventListener (for a total of four).
2978 * idl/Accessibility_Accessible.idl:
2979 Added four empty slots to Accessible interface.
2981 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2983 * idl/Accessibility_Registry.idl:
2984 (KeyEventType, EventType):
2985 Marked KeyEventType as deprecated; it duplicates
2986 functionality of EventType, which has been extended to
2987 include Mouse-button events.
2988 (KeyEventTypeSeq): defined in terms of EventType.
2989 (registerDeviceEventListener, deregisterDeviceEventListener):
2990 New methods, for managing listeners to device events,
2991 which potentially may consume them.
2994 Added definition for AccessibleDeviceListener.
2996 * cspi/spi-listener.h:
2997 (enum AccessibleDeviceEventType):
2998 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2999 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3000 for backwards compat.
3001 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3002 and typedef'd AccessibleKeystroke to it for back-compat.
3003 (AccessibleDeviceListenerCB):
3004 New function prototype typedef.
3007 (AccessibleDeviceEventMask): New typedef.
3008 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3009 (AccessibleKeyMaskType):
3010 Set equivalent to AccessibleModifierMaskType for back-compat.
3011 (SPI_createAccessibleKeystrokeListener):
3012 (AccessibleKeystrokeListener_unref):
3013 Deprecated in favor of equivalent (better-named) new API below..
3014 keystroke listeners are like all device listeners.
3015 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3016 New API names for old features :-).
3017 (AccessibleDeviceListener_addCallback):
3018 (AccessibleDeviceListener_removeCallback):
3019 (SPI_registerDeviceEventListener):
3020 (SPI_deregisterDeviceEventListener):
3024 (SPI_createAccessibleKeystrokeListener):
3025 Use new preferred API, cspi_device_listener_new() and
3026 cspi_device_listener_add_cb().
3027 (AccessibleKeystrokeListener_removeCallback):
3028 Use new preferred API, cspi_device_listener_remove_cb().
3029 (AccessibleKeystrokeListener_unref):
3030 Use new preferred API, cspi_device_listener_unref().
3031 (SPI_createAccessibleDeviceListener):
3032 (AccessibleDeviceListener_addCallback):
3033 (AccessibleDeviceListener_removeCallback):
3034 Implementation of new API.
3036 * cspi/spi_registry.c:
3037 (SPI_registerDeviceEventListener):
3038 (SPI_deregisterDeviceEventListener):
3039 Implementation of new API. Fixed memory leak and removed need to
3040 allocate EventTypeSeq (thanks Michael for catching this).
3041 Squashed a wayward CORBA_exception_free that shouldn't get called.
3043 * cspi/bonobo/cspi-bonobo-listener.c:
3045 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3046 (cspi_key_event): renamed to cspi_device_event().
3047 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3048 Extended to handle mouse button events as well as key events.
3049 (CSpiKeystrokeListener):
3050 Class superceded by CSpiDeviceListener.
3051 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3052 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3054 * cspi/bonobo/cspi-bonobo-listener.h:
3055 (CSpiKeystrokeListener):
3056 Class superceded by CSpiDeviceListener.
3057 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3058 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3060 * libspi/Makefile.am:
3061 Replaced keystrokelistener.h and keystrokelistener.c
3062 with devicelistener.h and devicelistener.c; keystrokelisener.h
3063 stub retained for back-compat.
3065 * libspi/keystrokelistener.c:
3069 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3071 * registryd/deviceeventcontroller.c:
3072 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3073 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3074 (DEControllerPrivateData): Added xkb settings data.
3075 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3076 button release events (which can't be captured via XGrabButton).
3077 Don't dispatch via the 'normal' event mechanism if the device event was
3079 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3080 Handle the typeseq data in its new location (see above).
3081 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3082 New methods, for "generic" device listeners.
3083 (spi_controller_register_device_listener):
3084 Now handle mouse event listeners as well as key listeners.
3085 (spi_controller_notify_mouselisteners):
3086 New internal method.
3087 (spi_device_event_controller_forward_mouse_event):
3088 Now we notify mouse device listeners as well as generating the
3089 non-consumable "mouse:" events.
3091 We must check and restore the XKB
3092 modifier map if we consume the event, since the act of triggering
3093 a mouse event will normally reset the XKB latch. This is required for
3095 (spi_controller_register_with_devices):
3096 Load the XKB settings when registering, and register for XKB
3097 state notify events.
3098 (spi_key_eventtype_seq_contains_event):
3099 Renamed spi_eventtype_seq_contains_event, since it's used
3100 internally for all device event types now.
3101 (spi_key_event_matches_listener):
3102 Uses spi_eventtype_seq_contains_event now.
3103 (spi_device_event_controller_object_finalize):
3104 Free the private data and the XkbKeyboard struct.
3105 (impl_register_device_listener, impl_deregister_device_listener):
3106 Implementation of new IDL.
3107 (spi_deregister_controller_device_listener):
3108 New internal method.
3109 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3110 More efficient implementation, we don't have to create a new
3111 XkbControls structure every time we query.
3112 (spi_device_event_controller_class_init):
3113 Initialize the epv entries for the new IDL. Assign the
3114 "spi-dec-private" quark.
3115 (spi_device_event_controller_init):
3116 Initialize the private data.
3117 (spi_device_event_controller_forward_key_event):
3118 Removed a bogus CORBA_exception_free() call.
3120 * registryd/deviceeventcontroller.h:
3121 Replaced inclusion of keystrokelistener.h with
3124 * test/event-listener-test.c:
3125 (report_mouse_event):
3128 Added mouse-event device listener.
3130 * test/test-simple.c:
3131 (create_test_window):
3132 Fixed regression (we were instantiating a GtkRange,
3133 which is now an abstract class). Also fixed to match
3134 existing AtkRole names, this seems to have changed in ATK
3135 awhile ago; too late now I think, and the new
3136 mechanism is at least elegant and consistent with the
3137 glib enum "nick" APIs.
3139 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3141 * idl/Accessibility_Relation.idl:
3142 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3143 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3144 * idl/Accessibility_Role.idl:
3145 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3146 * idl/Accessibility_State.idl:
3147 add STATE_MANAGES_DESCENDANTS
3148 * test/event-listener-test.c:
3149 Added a listener for active-descendant events.
3151 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3153 * atk-bridge/bridge.c
3154 (atk_bridge_init): If application is Bonobo component wait until top
3155 level is added before registering
3156 (spi_atk_bridge_do_registration): New function which contains code,
3157 formerly in atk_bridge_init, to do application registration.
3158 (spi_atk_bridge_toplevel_added): Signal called when top level
3159 added to Bonobo component
3161 This fixes bug #83134.
3163 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3165 * registryd/deviceeventcontroller.c
3166 Fixed compilation error caused by calling gettimeofday()
3169 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3174 Added template for HAVE_XKB.
3177 Changes to check for XKB, and to set the HAVE_XKB #define if it
3180 * libspi/listener.c:
3181 ()impl_notify_event): Make failure to get event source name
3184 * registryd/deviceeventcontroller.c:
3185 (#include): include X11/XKBlib.h.
3186 (DEControllerPrivateData) : New struct.
3187 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3189 (dec_synth_keycode_press) (dec_synth_keycode_release):
3190 New methods; split the key synthesis code into these methods.
3191 They check XKB settings before determining the "time" values to
3192 pass to Xtest; this fixes bug #95828.
3193 (impl_generate_keyboard_event): Changed to use methods above,
3194 instead of callng Xtest directly.
3195 (spi_device_event_controller_init): Initialize new privae struct s
3197 (spi_device_event_controllr_object_finalize):
3198 Free the (new) private data.
3200 * registryd/deviceeventcontroller.h:
3201 Add new gpointer to end of struct data.
3203 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3206 Incremented revision to 1.1.2, SONAME is still '.so', library
3207 extensions are ".so.0.0.2".
3209 * registryd/deviceeventcontroller.c:
3210 FIXES FOR #93592 and #95940.
3211 (statics): renamed mouse_button_state to mouse_mask_state,
3212 added key_modifier_mask.
3213 (spi_dec_poll_mouse_moved):
3214 Added key modifier checks, and emit "keyboard:modifiers"
3215 events when the key modifiers currently in use change.
3216 Also generate "mouse:abs" events periodically, even if the mouse
3217 is stationary (should we?).
3218 Alternatively we could generate "mouse:abs" events for either all
3219 mouse movements, or every 'nth' mouse movement, or at the
3220 beginning and end of every "active" mouse period.
3222 * test/event-listener-test.c:
3223 (main): Added listener for "keyboard:modifiers" events.
3225 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3227 * libspi/keymasks.h:
3228 Added key mask #defines for mouse buttons; e.g.
3229 SPI_KEYMASK_BUTTON1, etc.
3232 Incremented dependency on ATK to version 1.1.0. (This dependency
3233 is probably premature but will soon be real enough).
3235 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3237 * libspi/hyperlink.[ch]
3238 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3239 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3242 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3247 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3249 * registryd/deviceeventcontroller.c
3250 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3251 events to be ignored.
3252 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3253 keyboard_mode so that XAllowEvents() can be called.
3257 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3259 * cspi/spi-accessible.c: Correct names of roles returned by
3260 AccessibleRole_getName(). Fixes bug #95055.
3262 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3264 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3267 * registryd/registry.c
3268 (desktop_remove_application: Write diagnostic message to stderr for
3271 (impl_accessibility_registry_deregister_global_event_listener):
3272 Correct size of lists array. This addresses bug #94555).
3274 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3276 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3279 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3281 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3284 * registryd/registry.c (impl_registry_notify_event): Remove
3285 unnecessary call to parser_event_type().
3287 * docs/reference/cspi/tmpl/spi_component.sgml:
3288 Add reference to SPI_LAYER_WINDOW.
3290 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3292 * registryd/registry.c
3293 (desktop_add_application): Remove leak.
3294 (desktop_remove_application): Remove leak.
3295 (parser_event_type): Remove leak.
3297 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3299 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3300 bogus call to CORBA_string_dup(). Also removed unnecessary
3301 g_string_dup/g_free calls.
3303 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3305 * registryd/deviceeventcontroller.c:
3306 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3308 * test/event-listener-test.c:
3309 main: commented out three redundant listeners, to reduce output
3310 noise. (They still are potentially useful for testing).
3313 2002-09-13 Michael Meeks <michael@ximian.com>
3315 * Update all the copyrights to include Ximian.
3317 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3319 * cspi/spi.h: add SPI_LAYER_WINDOW.
3321 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3322 add Accessibility_LAYER_WINDOW case.
3324 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3326 * libspi/component.c: (impl_accessibility_component_get_layer):
3327 add ATK_LAYER_WINDOW case.
3329 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3331 * configure.in: incremented micro version.
3333 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3335 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3338 Clarified and reworded our commit policy.
3341 Started an API "todo" addition list for 2.2.
3344 (impl_getSelection):
3345 Free char pointer from atk_text_get_selection, which was being leaked.
3347 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3350 Small revision to author acknowledgement.
3352 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3354 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3355 If signal has detail add it to the type of the event.
3358 2002-08-12 Michael Meeks <michael@ximian.com>
3360 * test/test-simple.c (global_listener_cb): bin bogosity.
3361 (test_keylisteners): disable, still doesn't work reliably,
3362 certainly not on my system anyway.
3364 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3365 don't leak a reference on the DEC. This round-trip
3366 fetching of the DEC per keystroke sucks, it should be
3369 * cspi/spi-private.h,
3370 * cspi/cspi-lowlevel.h,
3371 * cspi/bonobo/cspi-bonobo-listener.[ch],
3372 * cspi/bonobo/cspi-bonobo.c: get the copyright
3373 notices better - there is still a large amount of
3374 work in at-spi falsely attributed solely to Sun.
3376 * cspi/spi_main.c (cspi_object_ref): kill bogus
3377 hash lookup, just increment the ref.
3378 (SPI_freeString): make explicit the fact that we
3379 handle NULL strings just fine.
3380 (report_leaked_ref): obey coding standards.
3381 (cspi_object_hash, cspi_object_equal): kill retval.
3382 (cspi_object_release): only release if not on loan.
3383 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3384 (cspi_object_borrow, cspi_object_return): impl.
3386 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3387 use cspi_object_borrow / return.
3389 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3391 * cspi/bonobo/cspi-bonobo-listener.c:
3393 Don't call cspi_oject_new() because this is creating a new Accessible
3394 every single time that an event is fired. This causes ATs like at-poke
3395 to nolonger recognise the source of the event and thus ignore it.
3396 Re-use the object from the cache, ref it and then unref it after the
3397 listeners have been called.
3399 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3401 * test/event-listener-test.c:
3402 Added command-line options to disable mouse events (m) and
3405 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3407 * configure.in: Update required versions of ATK, GTK+ and GAIL
3409 * cspi-1.0.pc.in: Add dependency for X include files
3412 * cspi/bonobo/Makefile.am:
3413 Add $(X_CFLAGS) so that X include files
3414 are picked up even if not in standard place (bug #71686)
3416 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3418 * registryd/deviceeventcontroller.c: fix for 84261
3419 (spi_dec_mouse_moved):
3420 Added test of mouse button mask, so that we can detect mouse
3421 button release. Unfortunately we can't otherwise detect mouse
3422 button release events without consuming the mouse press event,
3423 because of the way XGrabButton works. This means that our mouse
3424 release events have a latency dependent on the polling period
3425 while the mouse button is down. At least in this case we only
3426 have to poll while the button is down, and not at other times.
3427 If the button masks don't match with what the last press event
3428 reported, we report the appropriate button release event.
3429 (spi_dec_ungrab_mouse):
3430 New method (not yet called).
3431 (spi_device_event_controller_forward_mouse_event):
3432 New method, sends mouse press event from GdkFilter.
3433 (spi_dec_init_mouse_listener):
3434 Added code to call XGrabButton, redirecting mouse button events to
3435 the root window and our Gdk event loop.
3437 Added code to filter mouse button events, and reordered.
3439 * test/event-listener-test.c:
3441 Added registration for mouse events of type "mouse:button".
3443 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3445 * registryd/deviceeventcontroller.c: partial fix for 84261
3446 (spi_dec_poll_mouse_idle):
3447 New method, a timeout which checks to see if the mouse
3449 (spi_dec_poll_mouse_moving):
3450 A timeout to be called when mouse motion is underway.
3451 (spi_dec_poll_mouse_moved):
3452 A method which fires an event if the mouse has moved, and reports
3453 whether or not it did so.
3454 (spi_dec_init_mouse_listener):
3455 A method which sets up the timeouts above.
3456 (spi_device_event_controller_new):
3457 Now calls spi_dec_init_mouse_listener.
3459 * registryd/registry.c:
3460 (spi_registry_init):
3461 Now we initialize the device event controller when the registry is
3462 initialized, instead of waiting until a client has requested a key
3463 event notification; this is because we need the event controller
3464 for mouse events, but the mouse event registration API is a
3465 "registry" call and doesn't explicitly call the
3466 deviceeventcontroller.
3467 We now report mouse motion events with a 100 ms idle latency and
3468 a 20 ms granularity when motion is in progress.
3470 * test/event-listener-test.c:
3472 We now register the "detail listener" for events of type
3473 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3474 delivered only for the first mouse event received, and thereafter
3475 "mouse:abs" events are delivered.)
3477 * cspi/spi_registry.c:
3478 DOCS: Documented the above mouse event typestrings.
3480 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3482 Happy Summer Solstice...
3484 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3485 (spi_controller_notify_keylisteners):
3486 Changes to remove a listener from the listener list, freeing its
3487 open keygrabs, if a notification to that listener fails. This
3488 means that although a dead listener can continue to hold a passive
3489 keygrab, a maximum of one dispatch to such a listener can fail
3490 before the listener is removed from the list, thus the keygrab
3491 will be released on the next occurrence.
3492 As part of this fix:
3493 (spi_notify_keylisteners):
3494 Renamed to spi_controller_notify_keylisteners, as the controller
3495 instance must now be passed as an argument.
3496 The copied 'notify' GList is now a list of DEControllerKeyListener
3497 objects, since we need more than just the CORBA reference if a
3498 notify fails and we need to deregister the listener.
3499 (impl_notify_listeners_sync):
3500 (impl_notify_listeners_async):
3501 (spi_device_event_controller_forward_key_event):
3502 Modify use of notify_keylisteners in accordance with above
3504 (spi_deregister_controller_key_listener):
3505 New method introduced by refactoring, from
3506 impl_deregister_keystroke_listener.
3507 (impl_deregister_keystroke_listener):
3508 Call spi_deregister_controller_key_listener.
3509 (spi_key_listener_clone):
3510 New method to copy a key listner without doing a 'ref' on the
3511 remote object instance; used to create a notifier list.
3512 (spi_key_listener_data_free):
3513 New method, frees data without unreffing the source.
3515 (spi_key_listener_clone_free): new method.
3516 (spi_key_listener_free):
3517 refactored to call spi_key_listener_data_free.
3519 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3521 * registryd/registry.c: [fix for bug 86048]
3522 (notify_listeners_cb):
3523 Clear CORBA system exceptions which occur when notifying
3524 listeners, before returning to the source of the original event,
3525 since the event source doesn't care if the relayed notify failed.
3526 In other words, don't complain to the atk-bridge if the registry
3527 could not notify all its listeners, that's no fault of the
3528 application and thus should not appear to be an error from the
3529 application's perspective.
3531 * cspi/spi_main.c: [fix for bug 85980]
3533 Replaced use of bonobo_object_dup_ref with call to the wrapper
3534 method, csou_dup_ref (); this silences a compiler warning and
3535 provided more portability.
3537 Ping the registry before return, and restart if necessary.
3539 * cspi/bonobo/cspi-bonobo.c:
3541 New internal method.
3543 Fixed this method to return an object reference, as it should have
3546 * cspi/cspi-lowlevel.h:
3547 Added internal definition for cspi_ping() and fixed
3548 return type of cspi_dup_ref().
3551 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3553 * atk-bridge/bridge.c: [fix for bug 85305]
3554 (spi_atk_bridge_register_application):
3555 New method where the initial application registry calls have been
3556 moved; it allows an application to re-register in response to
3557 certain error conditions (such as a registry restart, see below).
3559 Moved some initialization code to the method
3560 spi_atk_bridge_get_registry, below.
3561 (spi_atk_bridge_get_registry):
3562 New, private accessor function for the Accessibility_Registry
3563 instance. If the registry has not been started before, or has
3564 died (as detected by failure of a CORBA exception), it is
3565 restarted before return, and spi_atk_bridge_register_application
3566 is called again to register with the new bridge instance.
3567 (spi_atk_emit_eventv):
3568 Set registry_died on error; use spi_atk_bridge_get_registry () to
3569 access the registry.
3571 * registryd/registry.c:
3572 (impl_accessibility_registry_register_global_event_listener):
3573 Set listener's event_type_quark to etype.minor instead of
3574 etype.major (fix for bug 84856).
3576 * test/event-listener-test.c:
3577 (report_detail_event):
3578 Change the output string so that user/tester can tell that the
3579 'detail listener' was called instead of the 'generic listener'.
3581 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3583 Fixes for bugs 84900, 84908, 84897, 84898.
3588 Revved version to 1.1.0
3589 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3590 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3592 * idl/Accessibility_Registry.idl:
3593 (EventListener::notifyEvent):
3594 Removed 'oneway' directive after extensive consulation with
3595 ORBit2 team and others. This means also that unref() of the event
3596 source can and should be done synchronously after emission, rather
3597 than remotely in the client, after servicing the notify call on
3600 NOTE: This change speeds up listener performance considerably, but
3601 introduces new latency on the application side. We may want to
3602 add an event queue to the atk-bridge.
3604 * atk-bridge/bridge.c:
3605 (spi_atk_bridge_focus_tracker):
3606 Do a local unref() on the event source after emission.
3608 * registryd/registry.c:
3609 (desktop_remove_application):
3610 Do an unref() on the event source after emission.
3611 (desktop_add_application):
3612 Do an unref() on the event source after emission.
3613 (notify_listeners_cb):
3614 When relaying an event, don't automatically add the event source
3615 to the local object cache, just CORBA_dup it instead. Likewise,
3616 if this method reenters, release the ref rather than calling
3618 (impl_registry_notify_event):
3619 No longer call remote unref() on the event source after dispatch.
3621 * libspi/eventlistener.c:
3622 (impl_accessible_event_notify_event):
3623 Removed remote unref ()
3625 * cspi/bonobo/cspi-bonobo-listener.c:
3627 We now call cspi_object_new() instead of cspi_object_add() on
3628 receipt of an event; thus we only have an implicit object ref
3629 while the cspi_event method is being executed. If we need to keep
3630 a reference to the object, the listener must call ref() on the
3631 object. Thus also we don't need to call cspi_object_unref() after
3632 invoking the listener callbacks in this method.
3636 New internal API for creating a new cspi object, without adding it
3637 to the object cache.
3639 Now uses cspi_object_new() to create the cspi object instance.
3641 Now checks to see if the object is in the internal object cache,
3642 and adds it if necessary before incrementing its refcount (note
3643 that new objects are added with a refcount of 1).
3644 (report_leaked_ref):
3645 New method which gives some information on leaked object instances
3646 if leak detection is turned on.
3648 * test/event-listener-test.c:
3649 (timing_test_event):
3650 New method, used for testing event delivery timing for special
3651 events of type "object:test". It reports elapsed time and
3652 events/sec every 500 events.
3654 Added a new listener, 'test listener', to check timing of event
3655 receipt as noted above.
3657 Added some timing output here also, reports elapsed time every 100
3660 * test/stress-test.c:
3661 Emit events of type "object:test", for use with "event-listener-test".
3663 * test/test-simple.c:
3664 (global_listener_cb):
3665 Call Accessible_ref() on the event source before calling
3666 validate_accessible, since the validation process does pointer
3667 comparisons on the event source, meaning that the event source
3668 needs to be added to the local object cache first. Any use of
3669 such pointer comparisons between Accessible objects requires that
3670 the caller hold an explicit reference to those objects.
3671 We also must therefore call Accessible_unref() when leaving this method.
3673 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3675 * registryd/deviceeventcontroller.c:
3676 (spi_controller_update_key_grabs):
3677 Fix for #84735, subsequent keygrab listeners not informed of
3678 registration failure.
3681 (spi_base_construct):
3682 Add an assertion on construct, to make sure the GObject passed in
3683 is really a GObject.
3685 Explicitly initialize object->gobj pointer to NULL;
3687 * cspi/bonobo/cspi-bonobo-listener.c:
3688 (cspi_object_add_ref):
3689 New method, can specify whether to dup-ref a bonobo object passed
3690 in if it's newly added to the object cache.
3692 Now calls cspi_object_add_ref with second param of "FALSE". This
3693 prevents us from doing a pointless dup-ref followed by
3694 release-unref for all those cases where the object is already in
3695 our object cache (fix for #85205).
3697 * atk-bridge/bridge.c:
3698 (spi_atk_bridge_idle_init):
3699 Removed this method, we don't need to initialize in an idle
3702 Changed to call spi_atk_register_event_listeners directly, not via an
3703 idle handler. (fix for #81139)
3704 (gnome_accessibility_module_shutdown):
3705 Removed conditional around deregistration of listeners, since we
3706 don't use the idle handler and thus have always registered when
3708 (spi_init_keystroke_from_atk_key_event):
3709 Changed references to Accessibility_KEY_PRESSED to
3710 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3712 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3714 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3719 * test/stress-test.c:
3722 (may have been an incomplete commit yesterday?)
3724 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3727 Added target for new stress-test.
3729 * test/stress-test.c:
3730 New test, sends 1000 focus notifies in quick succession.
3732 * test/key-listener-test.c:
3733 Now we report whether a keylistener registration
3734 request succeeded or failed.
3736 * test/event-listener-test.c:
3737 Uncommented some listeners which are now implemented.
3740 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3742 * registryd/deviceeventcontroller.c:
3743 (spi_controller_update_key_grabs):
3744 Fix for #82509, lack of failure notification when
3745 ALL_WINDOWS keygrabs fail due to XGrabKey
3746 failure: we synchronize the server when
3747 registering a passive grab, to make sure we get the
3748 error message before the call returns.
3750 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3752 * test/test-simple.c:
3754 Removed #ifdef KEY_IMPL_WORKS guards.
3755 (test_keylisteners):
3756 Removed #ifdef KEY_IMPL_WORKS guards.
3757 Fixed bug which was causing a hang waiting for a
3758 "press" event (which was already overwritten by a "release"
3759 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3761 Added code to set globals 'key_press_received' and
3762 'key_release_received'.
3765 Added section "1.1 API Proposed Additions" which
3766 lists API additions desired for at-spi-1.1 (only one so far).
3767 Updated TODO list a little.
3769 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3771 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3774 * configure.in: Revved to 1.0.0.
3776 * idl/Accessibility_Registry.idl:
3777 (registerKeystrokeListener):
3778 Added boolean return value.
3780 * registryd/registry.c:
3781 (notify_listeners_cb): Minor fix to debug output.
3783 * registryd/Accessibility_Registry.server.in.in:
3784 Revved version number in OAFIID to 1.0.
3786 * registryd/registryd.c:
3788 Use new OAFIID version.
3790 * cspi/bonobo/cspi-bonobo.c:
3792 Use new OAFIID version.
3798 * atk-bridge/bridge.c:
3800 Use new OAFIID version.
3802 * registryd/deviceeventcontroller.c:
3803 (impl_register_keystroke_listener):
3804 Added CORBA_boolean return value.
3805 (spi_controller_register_device_listener):
3806 Added gboolean return value.
3807 (spi_controller_register_global_keygrabs):
3808 Added gboolean return value.
3809 (spi_key_set_contains_key):
3810 Added implementation for many more control keys,
3811 for instance F1-F12, arrow keys, End, Home, Page_Up,
3813 [TODO: some still not implemented].
3815 * text/screen-review-test.c:
3816 (text_chunk_pad_string):
3817 New function: it provides mapping between coordinate
3818 positions of text chunks and character positions in the
3819 screen-review-line output string.
3820 (text_chunk_to_string):
3821 New function, calls text_chunk_pad_string with various
3822 pad/delimiter characters. Pushbuttons are delimited with
3823 square brackets, Frames with vertical 'pipe' lines, and
3824 other text with double quotes.
3825 (text_chunk_list_to_string):
3826 Calls new function text_chunk_to_string.
3827 (toplevel_composite):
3828 New function to composite layers CANVAS through
3829 POPUP in each toplevel (other layers are composited
3830 across toplevels, i.e. BACKGROUND and OVERLAY).
3831 (review_buffer_composite):
3832 Revise to use new methods.
3838 2002-05-31 Laszlo Peter <laca@sun.com>
3840 * configure.in: add the Xtst libdir to the runpath on Solaris,
3841 since it's not in the default library search path.
3843 2002-05-29 jacob berkman <jacob@ximian.com>
3845 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3847 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3849 * test/screen-review-test.c:
3850 (text_chunk_pad_string):
3851 Added method, which pads the string according to the
3852 text bounds of the chunk. It also takes a 3-character
3853 string as a param which indicates the characters to be
3854 used for start, padding, and end delimitation of the chunk.
3855 (text_chunk_to_string):
3856 Changed to use text_chunk_pad_string.
3858 * configure.in: Fixed bug in AC_OUTPUT that was
3859 causing path substitution in Accessibility_Registry.server
3862 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3864 * text/screen-review-test.c:
3865 (guess_string_clip):
3866 New method which attempts a best-guess at clipping
3867 text from components (like Java labels) which don't
3868 actually implement AccessibleText. This inaccurate
3869 clip is based on the assumption that the label is
3870 justified left-and-right, and monospaced.
3871 (text_chunk_get_clipped_string):
3872 We now call guess_string_clip() for text-containing
3873 components that don't implement AccessibleText.
3875 * test/screen-review-test.c:
3876 (review_buffer_get_text_chunk):
3877 We now pull "name" from labels if they do not implement
3878 AccessibleText (i.e. for Java labels).
3879 (get_screen_review_line_at):
3880 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3883 Replaceded AC_OUTPUT target
3884 registryd/Accessibility_Registry.server with
3885 registryd/Accessibility_Registry.server.in.
3887 * registryd/Accessibility_Registry.server.in:
3888 Removed (this is now a Makefile target).
3890 * registryd/Accessibility_Registry.server.in.in:
3891 Added (source for target above). We now use $(libexecdir) as
3892 prefix for the executable at-spi-registryd.
3894 * registry/Makefile.am:
3895 Now install at-spi-registryd into $(libexecdir), and build .server
3896 file with path (see above).
3898 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3900 * test/screen-review-test.c:
3901 (text_chunk_get_clipped_string):
3902 We now check to see if words fall within clip bounds
3903 before resorting to character-by-character clip bounds testing.
3905 * TODO: Added a section for "2.2 Proposed API Additions".
3907 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3909 * test/screen-review-test.c:
3911 Added a screen review benchmarking and test program to test
3914 * cspi/spi_accessible.c:
3916 Made some of the debug strings passed to cspi_check_ev a
3917 little more specific.
3919 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3921 * test/screen-review-test.c: Fix crashes in debug statements
3923 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3925 * test/screen-review-test.c: Added this file.
3927 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3929 * atk-bridge/bridge.c: changed "object:state-change" to
3930 "object:state-changed" to match docs.
3932 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3934 * atk-bridge/bridge.c: Hooked up state-change event details.
3936 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3938 * registryd/registry.c:
3939 Fixed quarking bug in event string parsing; now events with
3940 detail parameters get matched correctly to listeners.
3943 * util/idl/Magnifier.idl: remove.
3945 * util/*.[ch]: Remove.
3946 Magnification utilities and IDL are now in module gnome-mag.
3948 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3950 * registryd/deviceeventcontroller.c:
3951 Fixed bug in grab key conversion which was causing keycode grabs
3952 to be converted to AnyKey grabs.
3955 updated NEWS file to reflect recent spin-off of gnome-mag.
3957 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3959 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3960 busted AccessibleStateSet_compare. Removed redundant casts.
3962 * cspi/spi-action.c: Removed redundant casts.
3964 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3966 * cspi/spi_component.c: Fixed typos and casting error.
3968 * cspi/spi_editabletext.c: Removed redundant casts.
3970 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3972 * cspi/spi_hypertext.c: Eliminated redundant casts.
3974 * cspi/spi_image.c: Eliminated redundant casts.
3976 * cspi/spi_registry.c: Eliminated redundant casts.
3977 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3978 * cspi/spi_selection.c: Removed redundant casts.
3979 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3980 handling. Screen geometry and text offsets were being returned as 0
3981 on error which is technically valid-- changed these to return -1.
3982 Added marshaller for text boundary types to fix bug with boundary
3983 types being passed incorrectly to atk.
3985 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3988 * cspi/spi_registry.c:
3989 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3990 which was uncovered by the recent key changes.
3992 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3994 * test/event-listener-test.c:
3996 Added new test, "event-listener-test";
3997 this code does two things; it benchmarks traversal time
3998 for the accessible hierarchy for the first running accessible
3999 app, and it connects listeners for all supported event types.
4000 It is thus useful as an example event listener and for
4001 diagnostics/debugging of event generation.
4003 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4006 Removed unnecessary dependency on libutil.
4009 Revved micro version: 0.13.1
4011 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4014 Removed util/Makefile from targets.
4017 Removed util subdir from SUBDIRS (temporarily,
4018 pending removal of magnifier-only code
4022 #ifdef-ed out magnifier dependencies, since
4023 magnifier IDL, headers, and binary now live in
4024 module gnome-mag and we don't want at-spi to depend
4025 on gnome-mag. A magnifier demo which can run alongside
4026 simple-at is forthcoming in the gnome-mag module.
4028 NOTE: Split magnifier binary, IDL, and magnification
4029 activation code from at-spi into module gnome-mag.
4031 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4033 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4034 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4036 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4039 Revved to version 0.13.0
4041 * idl/Accessibility_Registry.idl:
4042 Changed definition of KeySet from sequence of longs to sequence of
4043 KeyDefinitions, and added KeyDefinition struct.
4044 Required for fix to bug 80616.
4046 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4047 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4048 to use new definition (see above).
4050 * registryd/deviceeventcontroller.c: handle_keygrab(),
4051 spi_keyset_contains_key():
4052 Changed to make use of new struct; this allows matching based on
4053 string key-name, for instance "Tab". This also allows matching of
4054 composed characters, non-alphanumeric characters in a way that
4055 doesn't involve dependencies on X keysym codes directly, etc.
4057 * test/key-listener-test.c:
4058 Added test for Alt-Tab key using "string" specification of keyset,
4059 and modified one of the tests to use a keycode-based keyset.
4060 Thus this test both tests and demonstrates the creation and use of
4061 keysets of three forms: specified via keycode array,
4062 keysym array, and string array. (The string case only contains a
4063 single string, i.e. a string array of length 1).
4066 Turned on PRINT_TREE option by default. Also fixed a
4067 string-freeing bug in the PRINT_TREE code.
4068 Added a listener to window:minimize events.
4070 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4072 * atk-bridge/bridge.c:
4073 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4074 for window:activate and window:deactiveate
4075 (atk_bridge_property_event_listener atk_bridge_signal_listener
4076 atk_bridge_window_event_listener) Tidy debug code
4078 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4080 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4081 Fixed handling for NULL return value from ATK.
4083 * libspi/action.c libspi/component.c libspi/editabletext.
4084 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4085 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4086 Removed redundant casts.
4088 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4089 Fixed off by one bug.
4091 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4092 function not present in idl)
4094 2002-05-02 jacob berkman <jacob@ximian.com>
4096 * atk-bridge/Makefile.am: make atk-bridge a real module
4098 2002-04-26 Radek Doulik <rodo@ximian.com>
4100 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4101 atk_state_types table
4103 2002-04-22 jacob berkman <jacob@ximian.com>
4106 * libspi/Makefile.am: add deps on the built files to help
4107 automake, and don't version the ORBit typelib
4109 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4111 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4112 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4113 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4114 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4115 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4116 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4117 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4118 libspi/accessible.h libspi/accessible.h libspi/base.h
4119 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4120 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4121 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4122 libspi/spi-private.h libspi/statetset.h libspi/table.h
4123 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4124 util/mag_client.h util/mag_control.c util/mag_image.c
4125 util/mag_image.h util/magnifier.c util/magnifier.h:
4126 Add missing file headers; standardize existing ones
4128 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4130 * atk-bridge/bridge.c: Added window event support.
4132 2002-04-18 Michael Meeks <michael@ximian.com>
4134 * libspi/relation.c (impl_getNTargets): impl.
4135 (impl_getTarget): impl.
4137 * libspi/Makefile.am: fix stateset install.
4139 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4142 Started putting useful info in this file.
4144 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4146 * atk-bridge/bridge.c:
4147 Propagate state-changed notifications to ATs
4149 * cspi/spi_registry.c: update docs to reflect actual behavior of
4150 state-change events.
4152 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4155 Incremented version to 0.12.1
4157 * util/mag_client.h:
4158 Add missing declaration for magnifier_exit,
4159 used by mag_control.c - Forte compiler didn't like
4160 the implicit redeclaration of the function :-(
4163 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4166 Revved version to 0.12 due to API change (see below).
4168 * cspi/spi-roletypes.h:
4169 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4170 definition from the inline docs, and added docs
4171 for SPI_ROLE_LAST_DEFINED.
4174 * cspi/spi_streamablecontent.c:
4175 Added missing seek_type parameter to
4176 (so far unused) method,
4177 AccessibleStreamableContent_seek().
4178 [ RT approval JodyG. ]
4181 Fixed docs for SPI_createAccessibleKeystrokeListener.
4183 * cspi/spi_registry.c:
4184 Fixed docs for SPI_KEYSET_ALL_KEYS.
4186 * docs/reference/cspi/at-spi-cspi-sections.txt:
4187 Added a number of missing APIs to SECTIONS.
4189 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4191 * registryd/Makefile.am:
4193 * cspi/bonobo/Makefile.am:
4194 Add $(X_LIBS) to makefiles.
4196 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4199 Revved version to 0.11.
4201 * libspi/component.c:
4202 Added implementation for grabFocus.
4204 * idl/Accessibility_Component.idl
4205 (Accessibility_Component_grabFocus):
4206 Made this method return boolean to indicate success or failure, to
4207 be consistent with cspi and the corresponding ATK method.
4209 * idl/Accessibility_Selection.idl
4210 (Accessibility_Selection_selectAll) :
4211 Made these methods return boolean to indicate success or
4212 failure, to be consistent with cspi and the corresponding ATK methods.
4214 * idl/Accessibility_EditableText.idl
4215 (Accessibility_EditableText_setTextContents,
4216 Accessibility_EditableText_insertText,
4217 Accessibility_EditableText_cutText,
4218 Accessibility_EditableText_deleteText,
4219 Accessibility_EditableText_pasteText):
4220 Made these methods return boolean to indicate
4223 * cspi/spi_editabletext.c:
4224 Made these methods return booleans.
4226 * libspi/selection.c:
4227 * libspi/component.c:
4228 * libspi/editabletext.c:
4229 Connected the boolean returns from ATK
4230 to the server-side code referenced above.
4232 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4234 * idl/Accessibility_Table.idl: Added missing methods,
4235 Accessibility_Table_addRowSelection,
4236 Accessibility_Table_addColumnSelection,
4237 Accessibility_Table_removeRowSelection,
4238 Accessibility_Table_removeColumnSelection.
4241 Added C wrappers for above IDL:
4242 AccessibleTable_addRowSelection,
4243 AccessibleTable_addColumnSelection,
4244 AccessibleTable_removeRowSelection,
4245 AccessibleTable_removeColumnSelection.
4248 Added server-side implementation code for IDL above, connecting
4249 to pre-existing ATK api.
4251 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4253 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4255 * libspi/accessible.c: Added implementation fo
4256 Accessibility_Accessible_get_state.
4258 * libspi/libspi.h: Added stateset.h to the list of includes.
4260 * libspi/stateset.c: Fixed broken implementation.
4262 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4265 Added implementation code for Accessibility_Magnifier_exit ().
4267 * util/mag_control.c:
4268 Added test code for above method; you can
4269 now kill an existing magnifier via
4270 ./mag_control q, from the util directory.
4272 * test/key-listener-test.c:
4274 Added a new test, for our key listener API.
4276 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4278 * test/app.c, test/keysynth-demo.c:
4280 Replace use of snprintf with g_snprintf.
4281 (fix for bugzilla 78249)
4283 2002-03-27 Michael Meeks <michael@ximian.com>
4287 * util/Makefile.am (INCLUDES): fix.
4288 (DONT_DIST_SOURCE): don't distribute the
4291 * libspi/Makefile.am (dist-hook): ditto.
4293 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4295 * libspi/hypertext.c:
4296 Fix warnings when yelp is used with atk-bridge
4298 2002-03-21 Michael Meeks <michael@ximian.com>
4300 * libspi/application.c (spi_application_new):
4301 use spi_accessible_construct so we use the AtkObject
4304 2002-03-19 Michael Meeks <michael@ximian.com>
4306 * registryd/registry.c (desktop_remove_application),
4307 (desktop_add_application): clean coding style.
4309 * registryd/desktop.c (spi_desktop_remove_application),
4310 (spi_desktop_add_application): kill re-enterency hazards.
4311 (spi_desktop_dispose): remove bogus redundant cast
4312 obscuring bug; fix bug too.
4313 (spi_desktop_init): make the desktop object immortal.
4315 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4318 Added a #define-guarded tree-traversal step
4319 when enumerating the apps (diagnostic tool).
4321 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4323 * idl/Accessibility_Role.idl:
4324 Added ROLE_DRAWING_AREA which seemed to be missing from the
4327 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4329 * cspi/spi-roletypes.h cspi/spi_accessible.c
4330 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4333 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4334 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4335 AT when applications are added and removed from the desktop. This
4336 reverts the previous broken implementation using the backing
4337 AtkObject for the SpiDesktop.
4339 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4341 * registryd/desktop.c: emit the "children-changed::add" and
4342 "children-changed::remove" signals on the backing ATK object for
4343 the desktop so AT can tell when applications are started and shut
4346 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4348 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4350 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4352 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4354 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4356 * cspi/state-types.h: synched with IDL and ATK
4358 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4360 * libspi/accessible.c
4361 (impl_accessibility_accessible_get_child_at_index):
4362 Change return value for g_return_if_fail ()
4363 to CORBA_OBJECT_NIL instead of "0" (!)
4365 * registryd/Makefile.am:
4366 * registryd/Accessibility_Register.server.in:
4367 Changed name of executable, "registryd",
4368 to something more informative:
4371 2002-03-13 Michael Meeks <michael@ximian.com>
4373 * atk-bridge/bridge.c (atk_bridge_init): don't register
4374 if we're in a bonobo-component, rather than a bonobo app.
4376 2002-03-13 Michael Meeks <michael@ximian.com>
4378 * atk-bridge/bridge.c (gtk_module_init): split
4379 out body to (atk_bridge_init): here, since otherwise
4380 we get symbol conflicts and oddness when invoked
4381 from (gnome_accessibility_module_init): here (upd.)
4383 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4386 New file. Explicitly allow "build sheriff" putbacks provided
4387 they are tested on Solaris.
4389 * docs/reference/cspi/Makefile.am:
4390 Added '-' to the "cp" command for index.sgml.
4391 ("patch by thomasvs, soon coming to a GUADEC near you")
4394 Incremented version number (0.9.0) for new release.
4395 Changed macro that checks for popt, to better detect
4396 obsolete versions of popt.
4399 Added X_LIBS to AC_SUBST, for applications
4400 that call Xlib API directly.
4403 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4406 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4409 Fix regression caused by hard-coding major
4410 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4413 * test/test-simple.c (test_editable_text),
4414 (test_test): revert previous change (error was
4415 a regression in gail which is now fixed).
4417 2002-03-04 Michael Meeks <michael@ximian.com>
4419 * test/test-simple.c (test_editable_text),
4420 (test_text): pass G_MAXINT instead of '-1' for
4421 whole string - is this a good thing !?
4423 * cspi/spi_accessible.c
4424 (Accessible_getRelationSet): fix crasher bug
4425 overwriting the end of the array.
4427 * test/test-simple.c (validate_accessible): free,
4428 not g_free returned relation set.
4430 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4432 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4433 implemented stateset support
4435 * idl/Accessibility_State.idl: Made necessary changes to
4436 the IDL to support state sets.
4438 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4440 * registryd/deviceeventcontroller.c:
4441 Added implementation for generateMouseEvent.
4443 * cspi/spi_registry.c:
4444 Connected new implementation for generateMouseEvent
4447 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4450 Incremented revision (but no change in public API
4451 outside of 'utils', which are not installed public yet.)
4453 * libspi/component.c:
4454 Changed to use atk_component API for layers and
4455 mdi_zorder, instead of deprecated atk_object API.
4457 Magnification Utility Enhancements:
4460 Added implementation of createZoomRegion, clearAllZoomRegions,
4461 resizeZoomRegion. Added new commandline argument
4462 "--no-initial-region". Note that clearAllZoomRegions doesn't
4463 unmap the old '0' region as it should (yet), and the other
4464 methods only work when creating/resizing a single region,
4465 which is "region 0".
4466 (Code for multiple region support will be added later.)
4469 Now we raise the magnifier window each time it's refreshed;
4470 this will help keep it on top.
4472 * util/mag_client.h:
4473 Added simple wrappers for above, used by mag_control.
4474 For general use, it's recommended to use the bonobo magnifier
4475 control API directly instead of using these wrappers.
4478 Moved ZoomRegionData from magnifier.c to this file.
4480 * util/mag_control.c:
4481 Added some code to exercise new IDL implementations.
4483 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4485 * libspi/text.c: Provide implementation for getAttributes.
4487 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4490 Incremented revision.
4492 * test/test-simple.c:
4493 Replaced use of deprecated g_main_iteration with
4494 g_main_context_iteration.
4496 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4499 Incremented revision for desktop alpha 2.
4501 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4503 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4506 * test/simple-at.c: include netinet/in.h.
4508 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4510 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4511 use NULL, not CORBA_OBJECT_NIL.
4513 * libspi/accessible.c:
4514 (impl_accessibility_accessible_get_relation_set):
4515 allocate the sequence correctly.
4517 * libspi/remoteobject.h: kill spi_remote_object_new.
4519 * test/test-simple.c: (validate_accessible): add code
4520 to test relation sets, now all we need is to figure
4521 out how to excercise this code path :/
4523 2002-01-18 Michael Meeks <michael@ximian.com>
4525 * test/test-simple.c
4526 (key_listener_cb): consume the key.
4527 (test_keylisteners): update.
4528 (main): wait for any pending unrefs on events.
4530 * registryd/deviceeventcontroller.c
4531 (spi_controller_update_key_grabs): only re-issue the
4532 grab on a key release.
4533 (spi_device_event_controller_forward_key_event):
4534 refresh the keygrabs before we notify the listeners,
4535 to reduce the X ungrab / re-grab race.
4536 (spi_controller_register_with_devices): remove
4537 XSelectInput - we do that with the gdk_window_ call.
4538 (_spi_controller_device_error_handler): return a value.
4539 s/GDK_DISPLAY/spi_get_display/
4541 2002-01-17 Michael Meeks <michael@ximian.com>
4543 * registryd/deviceeventcontroller.c
4544 (_deregister_keygrab): don't blow out the later
4547 * test/test-simple.c (test_keylisteners): do a
4548 more intelligent validation.
4550 2002-01-14 Michael Meeks <michael@ximian.com>
4552 * atk-bridge/bridge.c
4553 (gnome_accessibility_module_init),
4554 (gnome_accessibility_module_shutdown): impl.
4555 (gtk_module_init): protect vs. double inits.
4556 (add_signal_listener): impl.
4557 (spi_atk_bridge_state_event_listener): kill
4558 (deregister_application): split out of
4559 (spi_atk_bridge_exit_func): here.
4561 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4564 Added caret tracking when using magnifier, and
4565 now use text bounds for focus tracking of text elements, rather than
4566 the component bounds - this is helpful for short text fields in long
4567 table cells, at high magnification.
4569 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4571 * registryd/deviceeventcontroller.c:
4572 Regression fix for keylistener de-registration; global keygrabs
4573 were not being released when deregisterKeystrokeListener was
4574 called in cspi, since
4575 Accessibility_DeviceEventController_deregisterKeystrokeListener
4576 was called with a zero-length keyset. That is because the cspi
4577 method, SPI_deregisterKeystrokeListener, does not take a keyset
4578 parameter but instead should remove all the key grabs held be a
4580 The code in impl_deregister_keystroke_listener was changed to copy
4581 the keylist from the listener instance previously registered with
4582 the DeviceEventController before releasing the grabs.
4584 * registryd/registry.c:
4585 * registryd/deviceeventcontroller.c:
4586 * libspi/spi-private.h:
4588 Changed spelling of "re-enterant" to "re-entrant" globally.
4590 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4592 * test/test-simple.c:
4593 Changed key listeners test - the test was slightly mis-using the
4594 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4595 It now uses '=' as the key event listened to and generated,
4596 relying on a keysym match rather than assuming that keycode 33
4597 is always equal to keysym '!'.
4599 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4602 Changed simple-at to use a specific keyset, rather than
4603 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4604 manager, desktop, etc.
4606 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4608 * registryd/deviceeventcontroller.c:
4609 Replaced standard X error handler with a special handler that
4610 is non-fatal for failed keygrabs. This works around
4611 problems with keygrab clashes sometimes observed on
4613 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4614 mouse handling code as yet).
4616 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4619 Incremented revision for desktop alpha release.
4622 Fixed a couple of the more glaring errors (still not
4625 2002-01-11 Michael Meeks <michael@ximian.com>
4627 * registryd/deviceeventcontroller.c
4628 (spi_device_event_controller_forward_key_event): kill
4629 XUngrabKey / XKeyGrab race.
4630 (spi_controller_grab_keyboard): rename to
4631 (spi_controller_update_key_grabs): this, and deal
4632 with incremental adding / removing grabs more
4634 (_register_keygrab): ensure we're not pending a remove.
4635 (spi_grab_mask_free): impl.
4636 (spi_controller_register_global_keygrabs): split out
4638 (handle_keygrab): impl.
4639 (_deregister_keygrab): impl.
4640 (spi_controller_deregister_global_keygrabs): impl.
4641 (spi_controller_update_key_grabs): re-issue the grab if
4642 we just recieved a notification.
4644 * test/test-simple.c (key_listener_cb): remove debug.
4646 * registryd/deviceeventcontroller.c
4647 (spi_controller_register_device_listener): after
4648 registering a global keygrab, actualy register it !
4649 don't wait for a timeout; doh !
4651 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4652 to make it more readable / manipulable.
4653 s/grabmask/grab_mask/ s/refcount/ref_count/
4654 s/keyval/key_val/ s/modmask/mod_mask
4656 2002-01-08 Michael Meeks <michael@ximian.com>
4658 * registryd/deviceeventcontroller.c
4659 (spi_controller_register_with_devices): use gdk calls to
4661 (global_filter_fn): implement the filter.
4662 (spi_device_event_controller_check_key_event): rename to
4663 (spi_device_event_controller_forward_key_event): this & upd.
4664 (spi_get_display): replace with GDK_DISPLAY.
4666 * registryd/deviceeventcontroller.c
4667 (spi_controller_deregister_device_listener): unroll into
4668 (impl_deregister_keystroke_listener): here to simplify.
4669 (spi_controller_register_global_keygrabs): split cut and
4670 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4671 (spi_controller_deregister_device_listener): remove.
4672 (impl_register_mouse_listener): remove, no mouse listener
4673 support in at-spi-1.0
4675 * registryd/registry.c
4676 (_device_event_controller_hook): kill.
4677 (spi_registry_init): upd.
4679 * registryd/deviceeventcontroller.c
4680 (spi_device_event_controller_class_init): upd.
4681 (spi_check_key_event): merge into.
4682 (spi_device_event_controller_check_key_event):
4683 here and kill strange static ev init, don't leak
4684 the x_event - nor dynamicaly allocate it.
4686 * registryd/registry-main.c (main): re-direct
4687 timeout to remove strange vtable mess.
4689 * registryd/deviceeventcontroller.c
4690 (remove_listener_cb): impl.
4691 (spi_controller_deregister_device_listener):
4692 fix re-enterancy hazard.
4694 2002-01-07 Michael Meeks <michael@ximian.com>
4696 * registryd/deviceeventcontroller.c
4697 (spi_device_event_controller_new): upd.
4698 (impl_notify_listeners_sync): upd. debug.
4699 (spi_notify_keylisteners): fix re-enterancy hazards,
4700 prettify, remove O(n*n) iteration.
4701 (spi_controller_grab_keyboard): fix iteration.
4702 (spi_check_key_event): re-format to suit coding style.
4703 Clean all the warnings - we're warning free.
4705 * registryd/deviceeventcontroller.h:
4706 * registryd/registry.h: make mutualy referential with
4707 typesafe forward references instead of (!) void pointer
4710 2002-01-11 Michael Meeks <michael@ximian.com>
4712 * cspi/spi_accessible.c (role_names): add a role name
4713 to sync this array with the enum; and make the regression
4716 2002-01-10 Michael Meeks <michael@ximian.com>
4718 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4719 allow expansion of enumeration & kill warning.
4721 * test/test-simple.c (key_listener_cb): impl.
4722 (test_keylisteners): impl.
4724 * cspi/spi-listener.h: make listener signatures const
4725 on the provided (const) events.
4727 * test/keysynth-demo.c: upd. to const events.
4729 * test/simple-at.c: ditto.
4731 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4734 Rev the version to 0.5 (the previous tarball was named 0.4,
4735 even though the micro number was 3), so we need to rev upwards
4736 again for beta2/"desktop-alpha"
4739 Checked in a demo script, which requires editing before use!
4740 Proceed with caution.
4743 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4745 * cspi/spi_accessible.c:
4746 Add a couple of missing enum initializations, and fix some enum
4749 * cspi/spi_registry.c:
4750 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4752 * docs/reference/cspi/at-spi-cspi-sections.txt:
4753 Remove/fix a couple of broken document references.
4756 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4757 as Alt-Control to listen for commands, since on some systems
4758 Control-Alt may already be grabbed.
4760 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4763 Update version number to 0.4 for Beta2.
4765 * libspi/accessible.c, libspi/accessible.h:
4766 Expose spi_accessible_construct, to enable libgail-gnome
4767 construction from spi_accessible subtype.
4769 * utils/magnifier.c:
4770 Workaround for bug in some non-gnome-compliant window managers
4771 which made magnifier resize improperly.
4773 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4775 * libspi/accessible.c: (spi_accessible_new) :
4776 Move the test for SPI_IS_REMOTE_OBJECT to
4777 spi_accessible_new_return, fixing a bug and compile time warning.
4779 2002-01-08 Michael Meeks <michael@ximian.com>
4781 * registryd/registry.c (parse_event_type): remove strndup.
4783 * libspi/Makefile.am (libspi_la_SOURCES): remove
4784 sources already included in the headers section.
4786 * libspi/util.c: add.
4788 * libspi/spi-private.h: add.
4790 * registryd/registry.c: update to moved list iterators.
4792 2002-01-05 Michael Meeks <michael@ximian.com>
4794 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4796 * test/test-simple.c (main): ditto.
4798 2002-01-04 Michael Meeks <michael@ximian.com>
4800 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4801 redundant construct.
4803 * registryd/registry.c
4804 (get_listener_list): impl.
4805 (impl_accessibility_registry_register_global_event_listener):
4806 re-impl. to simplify using ~, remove dodgy const cast off.
4807 (parse_event_type): constify.
4808 (impl_accessibility_registry_deregister_global_event_listener_all):
4809 re-write, more efficiency and simplicity, kill re-enterancy
4811 (compare_listener_corbaref, compare_corba_objects),
4812 (compare_listener_quarks): define out.
4813 (impl_accessibility_registry_deregister_global_event_listener):
4814 re-write for effiency, and nail re-enterancy hazard.
4815 (impl_accessibility_registry_get_desktop_list): impl.
4816 (re_enterant_list_delete_link): impl.
4817 (re_enterant_list_foreach): impl.
4818 (remove_listener_cb): impl.
4819 (_registry_notify_listeners): kill.
4820 (notify_listeners_cb): impl.
4822 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4823 (SPI_getDesktopList): impl.
4825 * test/test-simple.c (test_desktop): test the methods.
4827 2002-01-03 Michael Meeks <michael@ximian.com>
4829 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4830 keystrings since we free them
4831 (SPI_freeAccessibleKeySet): in here.
4833 * libspi/accessible.c (spi_accessible_new): kill warning,
4834 wonder what is going on with the constructor here.
4836 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4838 * libspi/accessible.c (spi_accessible_new ()) :
4839 Added check to see if AtkObject is an SpiRemoteObject before
4840 creating an SpiAccessible.
4842 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4844 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4845 Enable keygrabs using the Control modifier, now that they are
4846 working properly (they were previously disabled).
4849 Change the command keygrab for this demo to "Control+Alt", so as
4850 to conflict with fewer other key commands on the system; this
4851 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4853 Removed a pointlessly-chatty keylistener for unshifted keys
4854 (shifted keys are still reported).
4856 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4858 * libspi/remoteobject.h:
4859 * libspi/remoteobject.c:
4860 Added definitions for special AtkObject subtype, required for
4861 support of remote components (specifically, used by BonoboControl
4862 accessibility implementation).
4864 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4866 * cspi/spi.h: synched relation types with ATK
4868 * cspi/spi_accessible.c: Added implementations of
4869 AcccessibleRelation_* methods
4871 * idl/Accessibility_Relation.idl: added getRelationTypeName
4872 method. Synched known relation types with ATK. Allowed for
4873 relation type extension with the RELATION_EXTENDED type.
4875 * libspi/relation.c: Provided implementations for
4876 AccessibleRelation methods.
4878 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4880 API tweaks for today's API 'freeze'.
4883 Added placeholder functions to allow future compatible expansion
4884 of the IDL interfaces.
4886 * idl/Accessibility_Registry.idl:
4887 Changed generateKeyEvent to generateKeyboardEvent. Changed
4888 signature of this method to accept an optional keystring in
4889 parameter (for complex text input synthesis) and changed use of
4890 simple 'boolean' parameter in registerKeystrokeListener to a
4891 struct, EventListenerMode.
4893 * cspi/spi_accessible.c:
4895 * cspi/spi_streamablecontent.c:
4896 Added references to AccessibleStreamableContent interface, and
4897 definition and implementation of AccessibleStreamableContent
4900 * cspi/spi_registry.c:
4902 Changed generateKeyEvent API to generateKeyboardEvent,
4903 taking a new (optional) keystring parameter to support complex
4908 Renamed directory (to better reflect its actual purpose, bridging
4909 from at-spi to ATK). The .so module is also now named
4912 * idl/Accessibility_Hypertext.idl:
4913 * libspi/accessible.c:
4914 * libspi/hypertext.h:
4915 * libspi/hypertext.c:
4916 Changed Accessibility_Hypertext to *not* derive from
4919 * cspi/spi_registry.c:
4920 Added list of legal event type names for 'window' events, which
4921 completes the registry event API.
4923 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4925 * at-bridge/bridge.c: Added registration for separate
4926 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4927 signals. If either of the first two parameters to the generic
4928 bridge signal handler are ints, they are passed on as event
4929 details. This allows an AT to determine what text was inserted.
4931 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4933 * registryd/deviceeventcontroller.c:
4934 Fixed regressions in generateKeyEvent caused by the removal of
4935 gdk_init from registryd; we now use pure X calls to connect to the
4936 display, which makes sense because deviceeventcontroller already
4937 uses a fair bit of X API (should eventually be migrated to a
4938 'portability layer').
4940 * registryd/desktop.c:
4941 Fixed minor regression in spi_desktop_init, changed the way the
4942 desktop name is being set to work with new spi_base API
4943 (gobject-based, rather than AtkObject-based).
4945 * registryd/Makefile.am:
4946 Minor revision of makefile to use XTST_LIBS variable rather than
4947 hard-wiring the Xtst LD_ADD element.
4949 * test/keysynth-demo.c:
4950 Tweaked an output message; added initialization of the
4951 'keystrings' member of the "switch listener" key_set.
4953 * libspi/relation.c:
4954 Squashed compile-time warning.
4956 * libspi/accessible.c:
4957 Cosmetic and formatting fixes, renamed a static method.
4959 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4961 * libspi/accessible.c
4963 * libspi/application.c
4966 * libspi/component.c
4967 * libspi/editabletext.c
4968 * libspi/hyperlink.c
4969 * libspi/hypertext.c
4971 * libspi/selection.c
4975 * registryd/desktop.c:
4976 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4978 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4980 * idl/Accessibility_Registry.idl:
4981 Added boolean member 'is_text' to DeviceEvent. This is for the
4982 use of key events, and helps prevent ambiguity between composed
4983 key strings and keysym names, since both may potentially be
4984 returned in the 'event_string' member.
4986 * at-bridge/bridge.c:
4987 * registryd/deviceeventcontroller.c:
4988 Use the 'is_text' member when notifying device event listeners.
4989 Knon issue: composed characters are not dealt with correctly by
4990 the global key listener implementation yet.
4992 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4994 * at-bridge/bridge.c:
4995 Namespaced local static methods to spi_atk_bridge_* where
4996 previously named bridge_*, and spi_* elsewhere.
4998 * at-bridge/bridge.c:
4999 * cspi/bonobo/cspi-bonobo-listener.c:
5000 Added demarshalling/conversion for string member of
5001 Accessibility_DeviceEvent to AccessibleKeystroke.
5003 * registryd/deviceeventcontroller.c:
5004 Added code to fill the Accessibility_DeviceEvent key string value
5005 member for global key events (i.e. from XGrabKey), to match
5006 behavior of Accessibility_DeviceEvent from the toolkit key events
5007 from the bridge. Fixed timestamp in global key event notifications.
5010 Added printout of key event's string value to
5011 report_ordinary_key_event, for demo/debugging purposes.
5013 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5015 * idl/Accessibility_Registry.idl:
5016 Removed Accessibility_KeyStroke structure in favor of generic
5017 Accessibility_DeviceEvent structure.
5018 Changed Accessibility_ControllerEventMask from a struct to an
5021 * at-bridge/bridge.c:
5022 Changed APIs to use DeviceEvent structure as above, and removed
5023 bogus casting between these event structures.
5025 * cspi/spi-listener.h:
5026 Added keystring member of AccessibleKeystroke structure, to enable
5027 matching on event "names" rather than only hardware codes and
5031 Added keystrings member of AccessibleKeySet struct, to allow
5032 matching on event names (as above).
5033 Added declarations for SPI_createAccessibleKeySet and
5034 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5035 event modmasks directly as unsigned ints rather than structs with
5036 refcounts, in the DeviceEventController methods.
5038 * cspi/spi_registry.c:
5039 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5041 * cspi/spi-roletypes.h:
5042 Added documentation of newly added SPI Roles.
5044 * cspi/bonobo/cspi-bonobo-listener.c:
5045 Changes in support of API changes above.
5047 * libspi/accessible.c:
5048 Converted APIs to use DeviceEvent structure (see IDL changes
5051 * registryd/deviceeventcontroller.c:
5052 Added DEControllerGrabMask structure to track keygrabs not only by
5053 modmask but by keyset as well; this allows us to do "global"
5054 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5055 grabbing on AnyKey and then filtering after-the-fact.
5056 Bugfixes for event filtration mean that we don't get false matches
5057 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5059 * registryd/deviceeventcontroller.c:
5060 Namespaced a number of static methods to use spi_ prefix. Major
5061 revision to internals of global (i.e. X) key grabs.
5063 * registryd/deviceeventcontroller.h:
5064 Removed keymask_list and added keygrabs_list to
5065 SpiDeviceEventController struct.
5068 Added use of SPI_createAccessibleKeySet API when creating a
5069 listener for only one key. Attach a listener to "shift spacebar
5070 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5071 X key event names to SPI key event names, so that listeners are
5072 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5074 * test/keysynth-demo.c:
5075 Changed (incorrect) use of X key event names (KeyPressed,
5076 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5079 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5081 * libspi/accessible.c:
5082 Convert all AtkRole enumerations to Accessibility_Role enums when
5083 getting a role from an AtkObject.
5085 * cspi/spi_accessible.c:
5086 Complete the conversion of Accessibility_Role enums at runtime to
5087 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5088 role enums correctly match those given in spi-roletypes.h.
5089 Re-synchronize the local names list for AccessibleRole_getName ().
5090 AccessibleRole_getName is now deprecated, since it duplicates the
5091 more reliable Accessible_getRoleName.
5092 Added some role types from Accessibility_Role.idl.
5094 * idl/Accessibility_Role.idl:
5095 Added some role types used by AtkRole.
5097 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5100 * cspi/spi_registry.c:
5102 * cspi/cspi-bonobo-listener.c:
5103 Namespaced all methods that did not begin with an "SPI_" or
5104 "Accessible" prefix to "SPI_".
5107 Homogenized internal function namespace to "cspi_" for statics.
5110 Patched tests to use the new CSPI API.
5112 * docs/reference/cspi/at-spi-cspi-sections.txt:
5113 Updated docs to reflect namespace changes, and added a number of
5114 methods to the documentation.
5116 * registryd/registry.c:
5117 Changed use of strings and string hashes in listener event
5118 matching and parse_event_string to use GQuark, which is guaranteed
5121 * registryd/registry.h:
5122 Squashed annoying warning.
5124 * idl/Accessibility_Role.idl:
5125 Extended range of available Accessibility_Role values.
5127 * cspi/spi_accessible.c:
5128 Re-ordered role names.
5130 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5132 * idl/Accessibility_Value.idl:
5133 Revert use of union back to CORBA_double, since the double type is
5134 more efficient and can contain the other types without loss of
5137 * idl/Accessibility_Accessible.idl:
5138 Added method Accessibility:Accessible:getRoleName, to complement
5139 Accessibility:Accessible:getRole.
5141 * cspi/spi_accessible.c:
5143 Added C binding for above, Accessible_getRoleName (), and changed
5144 signature of Accessible_getRole () to return an AccessibleRole.
5146 * cspi/spi-roletypes.h:
5147 Changed AccessibleRole_getName to return a char * instead of a
5148 const char *. This method is now at least temporarily deprecated
5149 in favor of asking Accessibles for their RoleNames directly.
5152 Revert to match Accessibility_Value.idl;
5156 Change signature of AccessibleValue methods to use double rather
5160 * cspi/spi_accessible.c:
5161 Changed Accessible_getRole to return an AccessibleRole enum rather
5162 than a UTF-8 string. The UTF-8 string can still be obtained via
5163 AccessibleRole_getName ().
5165 * test/test-simple.c:
5166 Add test_action. Small fixup to match API change to Accessible_getRole.
5169 Bugfix for get_action_from_servant ().
5171 2001-12-11 Michael Meeks <michael@ximian.com>
5173 * libspi/libspi.h: remove registry.h and
5174 desktop.h, deviceeventcontroller.h
5176 * libspi/Makefile.am: remove registry.[ch],
5177 desktop.[ch], deviceeventcontroller.[ch]
5179 * registryd/Makefile.am: add registry.[ch],
5180 desktop.[ch], rename registryd.c to registry-main.c.
5181 add deviceeventcontroller.[ch]
5183 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5186 Replace setenv() call with putenv ().
5188 * libspi/component.c:
5189 Bugfix in AccessibleComponent_getExtents (),
5192 2001-12-11 Michael Meeks <michael@ximian.com>
5194 * libspi/image.c (impl_getImageExtents): impl.
5195 (spi_image_class_init): upd.
5198 (AccessibleImage_getImageDescription): fix daft bug
5201 * test/test-simple.c (global_listener_cb): update
5202 to only quit if not --poke
5203 (main): catch --poke.
5204 (validate_accessible): upd. dumping, call test_image
5207 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5210 * idl/Accessibility.idl: update all IDL includes.
5212 * idl/*.idl - rename to namespace - this sucks, blame
5213 mjs' bad decision for oafd.
5215 * test/test-simple.c (create_test_window): add more tests.
5216 (create_tree): split this out.
5217 (validate_accessible): bugfix.
5219 2001-12-11 Michael Meeks <michael@ximian.com>
5221 * cspi/bonobo/cspi-bonobo-listener.c:
5222 (cspi_kestroke_listener_unref),
5223 (cspi_event_listener_unref): impl. undoing previous
5224 homenous environment - for Bill.
5226 * cspi/spi_table.c (long_seq_to_array): use
5229 * cspi/spi_main.c: split out all bonoboish bits into
5232 * cspi/spi-impl.h: upd. typedefs.
5234 * cspi/spi_registry.c: update to lowlevel API,
5235 return booleans to indicate success in some places.
5237 * cspi/spi_event.c: update to lowlevel API.
5239 * cspi/bonobo/Makefile.am: add.
5241 * cspi/bonobo/cspi-lowlevel.h: add
5243 * cspi/bonobo/cspi-bonobo.c: add
5245 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5247 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5248 (SUBDIRS): add bonobo, link in the libs.
5250 * cspi/spi-util.c: kill this file.
5252 * TODO: merge in my bits.
5254 2001-12-11 Michael Meeks <michael@ximian.com>
5256 * test/test-simple.c (test_value, test_table, main):
5257 remove unused variables causing warnings.
5259 * configure.in: cleanup checks - require gail.
5261 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5264 Changed Value interface to use SValue (scalars) rather than
5265 assuming all values are floats. This allows floats, doubles,
5266 longs, shorts, and unsigned values to be manipulated.
5267 Introduced Accessibility:SValue union.
5270 Updated to use new API above, and to work correctly with GValues
5271 of different types in AtkValue.
5274 Updated to use new API above. cspi's API is as yet unchanged.
5277 Updated the Value revision action item.
5279 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5281 * test/test-simple.c:
5282 Added test_table (GtkTreeView widget in test window to follow).
5283 Un-commented test_value, added GtkRange widget.
5284 Added GtkTreeView widget with GtkListStore. It passes regression
5285 test but leaks one SPI object for some reason.
5288 Fixed bug in impl__set_currentValue.
5290 2001-12-10 Michael Meeks <michael@ximian.com>
5292 * cspi/spi_text.c: audit for exception handling,
5293 tolerating NULL object references safely etc.
5295 * cspi/spi_value.c: ditto.
5297 * cspi/spi_table.c (AccessibleTable_getSummary),
5298 (AccessibleTable_getAccessibleAt),
5299 (AccessibleTable_getRowHeader),
5300 (AccessibleTable_getColumnHeader),
5301 (AccessibleTable_getCaption): fix bugs hidden by
5303 (long_seq_to_array): impl.
5304 (AccessibleTable_getSelectedRows),
5305 (AccessibleTable_getSelectedColumns): use it.
5307 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5310 Added a TODO list (rough and short for now).
5312 * cspi/spi_hyperlink.c:
5313 * cspi/spi_hypertext.c:
5314 Fixed macro name typos, and remove use of obsolete macro in
5315 AccessibleHyperlink_getLink.
5317 * cspi/spi_action.c:
5318 * cspi/spi_accessible.c:
5319 * cspi/spi_application.c:
5320 * cspi/spi_component.c:
5321 * cspi/spi_selection.c:
5324 Documentation fixes (removed return values from ref/unref methods).
5326 2001-12-10 Michael Meeks <michael@ximian.com>
5328 * cspi/spi_action.c: audit for exception handling,
5329 tolerating NULL object references safely etc.
5331 * cspi/spi_accessible.c: ditto.
5333 * cspi/spi_component.c: ditto.
5335 * cspi/spi_editabletext.c: ditto.
5337 * cspi/spi_hyperlink.c: ditto.
5339 * cspi/spi_hypertext.c: ditto.
5341 * cspi/spi_image.c: ditto.
5343 * cspi/spi_selection.c: ditto.
5345 2001-12-10 Michael Meeks <michael@ximian.com>
5347 * configure.in: use cspi/libspi.pc.in instead.
5349 * Makefile.am (pkgconfig_DATA): upd. to match.
5351 * test/simple-at.c (report_focus_event): kill hacks around
5352 bad return values, use putenv not setenv
5354 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5355 fire ChildGone - I killed it.
5357 * libspi/component.c
5358 (impl_accessibility_component_get_extents): remove
5361 * idl/Accessible.idl: kill ChildGone exception.
5363 * cspi/*.[ch]: kill int return from ref / unref.
5365 * cspi/spi_main.c (cspi_object_add_check): fold into
5366 (cspi_object_add): here.
5368 * cspi/spi_component.c (AccessibleComponent_getExtents):
5369 handle exceptions elegantly.
5371 * cspi/spi-private.h (cspi_check_ev_return),
5372 (cspi_return_if_fail): impl.
5374 * cspi/spi_accessible.c: use extensively.
5375 (AccessibleStateSet_equals): add direct compare check.
5377 * cspi/spi_selection.c: tolerate NULL objs, and check
5378 exceptions before return.
5380 * cspi/spi-util.c (cspi_warn_ev): rename to
5381 (cspi_check_ev): this & don't pass ev in; no point.
5383 2001-12-10 Michael Meeks <michael@ximian.com>
5385 * test/test-simple.c: use putenv not setenv
5386 (get_environment_vars): more chatty if you're not using
5389 * test/simple-at.c: do the setenv so more people see the
5392 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5394 * libspi/registry.c:
5395 Changed check of CORBA_environment on notification to be a warning
5396 instead of an error for the moment, since we can recover from this
5397 error when caused by a queued notification from a dead app.
5400 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5401 used by all current implementors of AtkValue), and coerce to
5402 CORBA_float. (Proper general case fix may require change to Value.idl).
5404 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5408 * cspi/spi_accessible.c:
5409 Documentation fixes: added user_data params to documentation for
5410 listeners and callbacks.
5412 * cspi/spi_accessible.c:
5413 Changed AccessibleStateSet_compare to return a
5414 StateSet rather than return the difference set into a third parameter.
5417 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5420 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5421 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5425 Remove subdirectory po from SUBDIRS for now.
5427 * at-bridge/bridge.c:
5428 Beefed up a couple of debug printouts.
5429 One-line fix for signal notification name formatting.
5431 * libspi/accessible.c:
5432 Added assertion to spi_accessible_new ().
5434 * libspi/application.c:
5435 Put #ifdef qualifiers around a printf.
5438 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5440 * registryd/Makefile.am:
5442 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5443 INTLTOOL_SERVER_RULE macro.
5446 Added an event listener for several ATK signals, for
5447 testing and debugging. Removed a few g_warnings.
5448 Added test output if focussed item implements the Value interface.
5450 * test/test-simple.c:
5451 Added test_value () function (known not to pass at the moment, so
5452 not actually called yet.
5454 2001-12-08 Michael Meeks <michael@ximian.com>
5456 * at-bridge/bridge.c (bridge_focus_tracker),
5457 (emit_eventv): fix the same ref. leak.
5458 (register_atk_event_listeners): don't leak.
5460 * cspi/spi-listener-impl.c (cspi_event): more
5461 protection from client code.
5463 * test/test-simple.c (test_desktop): unref the app.
5465 * test/Makefile.am: upd. TESTS.
5467 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5469 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5471 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5473 * cspi/spi_registry.c: constify in strings.
5474 (deregisterGlobalEventListenerAll): don't release the ref.
5476 * cspi/spi.h: start removing redundant / conflicting
5477 gtkdoc comments, making the API readable at a glance :-)
5479 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5481 * test/keysynth-demo.c (keysynth_exit, main): upd.
5483 * test/simple-at.c (main, simple_at_exit): upd.
5485 * test/test-simple.c (unutterable_horror): kill.
5486 (utterable_normal_derefs): kill.
5487 (main): upd & do a setenv before gtk_init, so that we
5488 can use memprof - and to save the pain of remembering
5489 this, if we're running under memprof - don't exit.
5491 * cspi/spi_main.c (SPI_exit): return exit status
5493 (SPI_event_quit): impl.
5494 (SPI_event_main): simplify.
5495 (cspi_is_gnome_app): kill.
5496 (SPI_init): kill isGNOMEapp arg.
5498 * at-bridge/bridge.c (register_atk_event_listeners):
5499 re-instate the unref.
5500 (bridge_exit_func): don't re-activate the registry,
5501 protect vs. theoretical re-entry, use the
5502 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5503 assert a clean shutdown - for regression tests.
5505 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5507 * configure.in: Comment out dummy i18n support for now,
5508 otherwise it fails to build.
5509 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5510 EXTRA_DIST. They are missing in tarball.
5512 2001-12-07 Michael Meeks <michael@ximian.com>
5514 * util/magnifier.c: kill bonobo activation reg. race.
5516 * libspi/component.c
5517 (impl_accessibility_component_get_extents): make it match
5520 * libspi/registry.c (_registry_notify_listeners):
5521 re-remove X headers & reconcile conflicts.
5522 (spi_listener_struct_free): bad conflict resolve.
5523 (impl_accessibility_registry_register_application):
5524 more bad merging fixed.
5525 (impl_accessibility_registry_deregister_application): ditto.
5526 (spi_registry_new): ditto.
5527 (spi_registry_init): don't have an applications field.
5529 [ merge fixups2 branch to here ]
5530 2001-12-07 Michael Meeks <michael@ximian.com>
5532 * test/simple-at.c (report_focus_event),
5533 (report_focussed_accessible): remove g_warning debug.
5535 2001-12-07 Michael Meeks <michael@ximian.com>
5537 * test/test-simple.c (validate_tree): comment out some checks.
5538 (test_desktop): app now not registered idly - horay.
5540 2001-12-07 Michael Meeks <michael@ximian.com>
5542 * cspi/spi_registry.c
5543 (registerAccessibleKeystrokeListener): clean, stop it leaking
5544 great swathes of memory, and device event controller references.
5545 ensure we always pass valid sequences.
5546 (deregisterAccessibleKeystrokeListener): ditto.
5547 (generateKeyEvent): upd.
5549 * at-bridge/bridge.c (bridge_key_listener): handle
5550 registry dead exception gracefully.
5551 (bridge_focus_tracker, emit_eventv): free ev.
5553 * test/simple-at.c (report_focus_event): fix polarity.
5555 * libspi/application.c (notify_listeners): kill the ev
5556 argument, and make sure we init the ev we use.
5557 (spi_application_object_event_listener): split out a chunk
5558 (get_atk_object_ref): here & fixup.
5559 (reverse_lookup_name_for_toolkit_event): make const.
5560 (spi_application_toolkit_event_listener): fixup, kill leaks
5563 * at-bridge/bridge.c (register_atk_event_listeners):
5564 don't unref the noop object - causes grief.
5566 * libspi/registry.c: remove the X headers.
5567 turn off the debug churn.
5569 * libspi/accessible.c (spi_accessible_new_return): only
5570 release the ref if we are supposed to [doh]
5572 * test/simple-at.c (report_button_press, report_focus_event):
5573 guard vs. unexpected exit.
5575 * at-bridge/bridge.c (gtk_module_init): prune printf.
5576 (bridge_exit_func): fix app unref.
5578 * libspi/Makefile.am: don't install registry or desktop.h
5580 * libspi/*.h: update includes.
5582 * libspi/application.h: don't include ourself, or
5583 other redundant headers.
5585 2001-12-06 Michael Meeks <michael@ximian.com>
5587 * libspi/accessible.c
5588 (get_accessible_from_servant): impl.
5589 Upd. all CORBA impl.s to use it killing cut and paste.
5591 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5593 (SPI_init): register atexit cleanup handler here.
5595 2001-12-06 Michael Meeks <michael@ximian.com>
5597 * at-bridge/bridge.c (gtk_module_init): g_error on
5598 activation exception
5600 2001-12-06 Michael Meeks <michael@ximian.com>
5602 * at-bridge/bridge.c (gtk_module_init): some sort of
5603 confusing merge clash - reverted.
5604 (bridge_idle_init): ditto.
5606 * test/test-simple.c (main, utterable_normal_derefs):
5607 merge from Bill - somehow not committed.
5609 2001-12-06 Michael Meeks <michael@ximian.com>
5611 * libspi/value.c (spi_value_class_init): upd.
5612 (spi_value_finalize): kill.
5614 * libspi/table.c (spi_table_finalize): kill.
5615 (spi_table_interface_new): upd.
5616 (spi_table_class_init): upd.
5617 (get_table_from_servant): impl.
5618 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5620 * libspi/selection.c (spi_selection_finalize): kill.
5621 (spi_selection_interface_new): upd.
5622 (spi_selection_class_init): upd.
5623 (get_selection_from_servant): impl.
5624 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5626 * libspi/relation.c (spi_relation_finalize): kill.
5627 (spi_relation_class_init, spi_relation_new): upd
5629 * libspi/image.c (spi_image_finalize): kill.
5630 (spi_image_class_init): upd.
5631 (spi_image_interface_new): upd.
5632 (get_image_from_servant): impl.
5633 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5635 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5636 (spi_hyperlink_finalize): kill.
5637 (spi_hyperlink_new): upd.
5638 (get_hyperlink_from_servant): impl.
5639 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5641 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5642 (spi_hypertext_finalize): kill.
5643 (spi_hypertext_class_init): upd.
5644 (get_hypertext_from_servant): impl.
5645 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5647 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5648 (spi_editable_text_interface_new): upd.
5649 (get_editable_text_from_servant): impl.
5650 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5652 * libspi/text.c (get_text_from_servant): impl.
5653 All impls - update to use it killing more cut and paste,
5654 also fix bad string returns on duff args ( a somewhat
5655 impossible case to handle - but hey ).
5656 (spi_text_construct): impl.
5657 (spi_text_interface_new): upd.
5658 (spi_text_object_finalize): kill.
5660 * libspi/component.c
5661 (accessibility_component_object_finalize): kill.
5662 (spi_component_class_init): upd.
5663 (get_component_from_servant): impl. helper to kill cut & paste.
5664 (impl_accessibility_component_contains):
5665 (impl_accessibility_component_get_accessible_at_point):
5666 (impl_accessibility_component_get_position):
5667 (impl_accessibility_component_get_extents):
5668 (impl_accessibility_component_get_mdi_z_order):
5669 (impl_accessibility_component_get_layer):
5670 (spi_component_interface_new): upd.
5672 * libspi/action.c (spi_action_finalize): kill.
5673 (spi_action_class_init): upd. inherit from SpiObject.
5674 (spi_action_interface_new): upd.
5675 (get_action_from_servant): impl. helper to reduce cut & paste.
5676 (impl_getKeyBinding, impl_getName, impl_doAction),
5677 (impl_getDescription): Use it everywhere.
5679 * cspi/spi_main.c (get_live_refs): a pointer hash.
5680 (spi_object_hash, spi_object_equal): comment out.
5681 There are issues with CORBA object hashing that need
5684 * libspi/application.c (spi_application_init),
5685 (spi_application_new): upd.
5687 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5688 (spi_accessible_class_init): upd.
5689 s/accessible/object/ in epv methods.
5691 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5693 * at-bridge/bridge.c:
5694 Reorder the bridge initialization into the bridge gtk_module_init,
5695 an immediate call to bridge_register_app, and an idle_add for
5696 register_atk_event_listeners (the only code that *must* wait until
5697 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5698 the activation, creates the application's Accessible object, and
5699 queues the bridge_idle_init function. Restored call to
5700 Accessibility_Registry_deregisterApplication().
5701 Prior to making this call we obtain a new reference to the
5702 registry, which is a temporary hack that helps us handle apps that
5703 shut down the bonobo mainloop before we get there.
5705 * libspi/registry.c:
5706 Fix string leakage in debug block, and don't segv if a an app
5707 dies before its event notifications have been propagated.
5710 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5711 as stopgap measure until we get proper exception handling when
5712 objects die during or before interrogation.
5716 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5717 Also changed default value of is_gnome_app to TRUE.
5720 * test/keysynth-demo.c:
5721 Changed use of SPI_init and SPI_event_main to reflect API change above.
5724 Made report_focus_event check the warning value from getName
5725 before reporting on focussed accessible; simplifies handling of
5726 notifications from dead objects.
5728 * test/test-simple.c: (Changes not in this patch since source is
5731 2001-12-05 Michael Meeks <michael@ximian.com>
5733 * registryd/registryd.c (main): protect against
5734 bonobo-activation startup race condition.
5736 * cspi/spi_main.c (cspi_object_add_check): cope
5737 with the exception elegantly.
5739 * idl/Accessible.idl: decl. ChildGone
5741 * libspi/desktop.c (spi_desktop_dispose): impl.
5742 (spi_desktop_class_init): upd.
5743 (spi_desktop_add_application),
5744 (spi_desktop_remove_application),
5745 (abnormal_application_termination): impl.
5746 (impl_desktop_get_child_at_index): re-impl.
5749 (impl_accessibility_registry_deregister_application),
5750 (impl_accessibility_registry_register_application):
5751 kill excessive debug clutter.
5753 * test/test-simple.c (test_misc): test some NULL
5754 tolerance. (main): upd.
5756 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5757 implements no interfaces - so let's not crash.
5759 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5761 * libspi/accessible.c (spi_accessible_new_return): impl.
5762 helper to calm the cut and paste, to cope with
5763 NULL AtkObjects effectively and efficiently, and to kill
5764 the referencing bugs.
5766 * libspi/table.c (impl_getAccessibleAt),
5767 (impl_getRowHeader, impl_getColumnHeader): upd.
5769 * libspi/hyperlink.c (impl_getObject): upd.
5771 * libspi/accessible.c
5772 (impl_accessibility_accessible_get_child_at_index): upd.
5774 * libspi/component.c
5775 (impl_accessibility_component_get_accessible_at_point): upd.
5777 * test/test-simple.c (test_editable_text, test_text): impl.
5780 * cspi/spi_editabletext.c
5781 (AccessibleEditableText_insertText): constify.
5783 * test/test-simple.c (focus_me): make more robust.
5785 * libspi/accessible.c: remove some printfs in methods that
5786 we test and work fine, so we can get a clean tree dump.
5788 * test/test-simple.c (validate_accessible),
5789 (validate_tree): make tree dumping pretty too.
5791 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5792 it builds without debug on.
5794 * test/test-simple.c (validate_accessible): fix the most
5797 * cspi/spi_main.c (spi_object_release): leave the nicely
5798 blanked memory around if in debug mode.
5800 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5802 [committed to fixups2]
5803 2001-12-05 Michael Meeks <michael@ximian.com>
5805 * libspi/editabletext.c
5806 (spi_editable_text_class_init): g_type_class_peek_parent,
5807 not interface peek - so we finalize cleanly.
5809 * libspi/accessible.c (spi_accessible_new): kill debug.
5811 * test/test-simple.c (validate_accessible): fix ref.
5812 leak, print strings before freeing them; sigh, comment a
5813 chunk out due to strangeness.
5814 (validate_tree): unref the child after use.
5816 * cspi/spi_component.c (AccessibleComponent_getLayer):
5817 add missing break statement, switch on zlayer not the
5818 uninitialized retval.
5820 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5821 before (possibly re-entering) remote unref.
5823 * test/simple-at.c (main): unref the desktop.
5825 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5828 * cspi/spi_main.c (cspi_accessible_is_a): here to
5829 isolate bonobo API usage more.
5831 * libspi/registry.c (impl_accessibility_registry_register_application):
5832 prune bogus comment.
5834 2001-12-04 Michael Meeks <michael@ximian.com>
5836 * test/test-simple.c (validate_tree): upd.
5837 IndexInParent check to make it more lucid.
5838 (validate_accessible): dump the tree.
5840 * libspi/accessible.c (de_register_public_ref),
5841 (get_public_refs): impl.
5842 (spi_accessible_new): make more efficient & intuitive.
5843 Now IndexInParent check works.
5845 2001-12-04 Michael Meeks <michael@ximian.com>
5847 * cspi/spi-util.h: remove.
5849 * cspi/spi.h: move SPI_freeString here
5851 * libspi/component.c (impl_accessibility_component_get_layer):
5853 (impl_accessibility_component_get_mdi_z_order): ditto,
5854 return -1 on error - is this ok ?
5856 * test/test-simple.c (test_application): impl.
5858 * cspi/spi_accessible.c (Accessible_getApplication),
5859 (Accessible_isApplication): impl.
5861 * libspi/registry.c (spi_listener_struct_free): release
5862 the CORBA reference too.
5864 * libspi/accessible.c
5865 (impl_accessibility_accessible_get_parent): fix ref leak.
5867 * libspi/registry.c (spi_registry_new): make the registry
5868 immortal - we don't want it to go away ever.
5870 * libspi/application.c
5871 (spi_accessible_application_finalize): impl. cleanup.
5873 * cspi/spi_registry.c
5874 (deregisterGlobalEventListenerAll),
5875 (deregisterGlobalEventListener),
5876 (deregisterAccessibleKeystrokeListener): fix ref leak.
5878 * cspi/spi_main.c (SPI_init): remove redundant ref.
5880 * test/test-simple.c (unutterable_horror): impl. to force a
5885 (impl_accessibility_registry_deregister_application): release
5886 the application when we de-register it.
5888 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5889 until we have the infastructure to get it right.
5891 2001-12-03 Michael Meeks <michael@ximian.com>
5893 * libspi/Makefile.am: only build eventlistener.[ch]
5895 * libspi/accessible.c
5896 (impl_accessibility_accessible_get_child_at_index): don't leak.
5898 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5899 before we hit the idle handler.
5901 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5902 debugging than exit.
5904 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5906 * libspi/listener.c (impl_notify_event): check source
5907 not NIL before unref.
5909 * libspi/registry.c (impl_registry_notify_event): ditto.
5911 * libspi/eventlistener.c
5912 (impl_accessible_event_notify_event): unref the source.
5914 * libspi/accessibleeventlistener.c
5915 (impl_accessible_event_notify_event): unref the source.
5917 * idl/Event.idl: remove 'hash_id' attribute - of no
5920 * libspi/application.c (notify_listeners): upd list
5922 (spi_application_object_event_listener),
5923 (spi_application_toolkit_event_listener): upd to do correct
5927 (_registry_notify_listeners): update.
5928 (parse_event_type): this method also leaks like a sieve.
5929 (impl_accessibility_registry_deregister_global_event_listener):
5930 fix ETYPE_WINDOW case.
5932 * libspi/application.c
5933 (impl_accessibility_application_register_object_event_listener):
5936 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5938 * libspi/hypertext.c (impl_getLink): ditto.
5940 * cspi/spi_main.c (cspi_object_add): remove
5941 bogus CORBA_Object_duplicate.
5943 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5946 * cspi/spi_accessible.c
5947 (Accessible_getRelationSet): fix leak / referencing issue.
5949 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5950 (cspi_object_add, cspi_object_unref): upd.
5951 (spi_object_release, get_live_refs): impl.
5952 (cspi_cleanup): simplify.
5954 * *.[ch]: s/boolean/SpiBoolean/
5956 * cspi/spi_accessible.c (role_names): actualy order so it
5957 corresponds with the enum !
5959 * test/test-simple.c (test_roles): check some role strings
5960 vs. enums to detect offset errors.
5962 2001-12-01 Michael Meeks <michael@ximian.com>
5964 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5966 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5968 (Accessible_getChildAtIndex): use cspi_add_check so we
5969 check the ev before using a (possibly) invalid value.
5971 * libspi/accessible.c
5972 (impl_accessibility_accessible_get_parent): don't segv
5975 * at-bridge/bridge.c (gtk_module_init): upd.
5976 (bridge_property_event_listener): don't leak strings
5978 (bridge_state_event_listener),
5979 (bridge_property_event_listener): don't use a static
5980 buffer in case of recursive event emission &
5981 re-enterancy - split out the swathe of cut and paste
5983 (emit_eventv): and fix 2 ref leaks here & comply to the
5985 (bridge_register_app): rename to
5986 (bridge_idle_init): this and kill arg parsing, split
5987 various inits & bonobo-activation registration to module
5988 init time, kill referencing error.
5989 (bridge_exit_func): fix the same leak.
5990 (bridge_focus_tracker): don't leak event structures
5992 (bridge_signal_listener): more leakage and cut & paste
5994 (bridge_key_listener): return the result - FIXME is
5995 this polarity correct ?
5996 (accessibility_keystroke_from_atk_key_event): rename
5997 (accessibility_init_keystroke_from_atk_key_event): and stop
5999 (gtk_module_init): return a value - not that it is checked by
6001 (bridge_key_listener): register my horror at casting between
6002 IDL defined structs.
6003 (bridge_get_registry): kill - not used.
6005 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6007 * test/test-simple.c (test_roles): impl.
6008 (test_desktop, validate_accessible, validate_tree): impl.
6010 * cspi/spi_accessible.c (role_names): fixup bogus
6011 MAX_ROLES setup, make constants const for efficient linkage
6012 (AccessibleRole_getName): conform to coding style, make
6015 2001-11-30 Michael Meeks <michael@ximian.com>
6017 * cspi/spi.h: add missing prototype.
6019 * libspi/registry.c (spi_listener_struct_new): fix sig.
6021 * test/Makefile.am: add test-simple
6023 * test/test-simple.c: add
6025 * test/test.sh: add.
6027 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6029 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6030 do it straight - since otherwise we often get an activation race.
6032 [ work before Bill duplicated a chunk of it ... ]
6033 2001-11-30 Michael Meeks <michael@ximian.com>
6035 * libspi/keystrokelistener.c
6036 (spi_keystroke_listener_class_init): fixup arg
6039 * libspi/eventlistener.c
6040 (spi_event_listener_class_init): ditto.
6042 * tests/test.sh: add.
6044 * cspi/spi-listener-impl.h: update macros.
6046 * cspi/spi-listener-impl.c
6047 (cspi_event_listener_remove_callback): add
6048 correct pre-conditions.
6050 * cspi/spi_main.c (SPI_exit): guard vs. double
6051 exits, exit the mainloop nicely.
6052 (SPI_event_main): make more sense.
6053 (SPI_init): move the atexit evilness here so we
6054 always do it (yuck).
6055 (SPI_event_main): upd.
6057 * test/simple-at.c: update for listener changes.
6059 * registryd/registryd.c (main): prune kruft.
6061 * libspi/libspi.h: upd.
6063 * libspi/eventlistener.[ch]: rename broken macros.
6065 * libspi/accessibleeventlistener.[ch]: remove.
6067 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6069 * test/test-simple.c: Add - automated tests.
6071 * cspi/spi-listener-impl.c (cspi_event),
6072 (cspi_key_event): add user_data to invoke.
6073 (cspi_keystroke_listener_finalize): impl.
6074 (cspi_keystroke_listener_class_init): upd.
6077 (createAccessibleEventListener),
6078 (AccessibleEventListener_addCallback),
6079 (createAccessibleKeystrokeListener),
6080 (AccessibleKeystrokeListener_addCallback): upd.
6082 * libspi/deviceeventcontroller.c
6083 (spi_device_event_controller_check_key_event): add public proto.
6086 (impl_accessibility_registry_deregister_global_event_listener):
6087 always init listeners.
6088 (_registry_notify_listeners): yes it is.
6090 * cspi/spi-listener-impl.c (cspi_key_event):
6092 (cspi_event_listener_finalize): impl.
6093 (cspi_event_listener_class_init): hook up.
6094 (event_handler_new, event_handler_free),
6095 (event_list_remove_by_callback): impl.
6096 (cspi_event_listener_remove_callback),
6097 (cspi_keystroke_listener_remove_callback),
6098 (cspi_keystroke_listener_add_callback),
6099 (cspi_event_listener_add_callback): upd.
6101 * libspi/keystrokelistener.c
6102 (keystroke_listener_object_finalize): kill
6103 (spi_keystroke_listener_class_init): upd.
6104 (spi_keystroke_listener_add_callback),
6105 (spi_keystroke_listener_remove_callback): kill,
6107 (impl_key_event): prune drasticaly.
6109 * libspi/eventlistener.c
6110 (spi_event_listener_add_callback),
6111 (spi_event_listener_remove_callback): kill, use
6113 (impl_accessible_event_notify_event): upd.
6114 (spi_event_listener_object_finalize): remove.
6116 * libspi/Makefile.am: use eventlistener.[ch]
6118 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6120 * libspi/registry.c (_registry_notify_listeners):
6121 Changed listener loop iteration to use preferred convention.
6122 Got rid of string memory leaks caused be calling g_strconcat
6123 inside function calls.
6125 * libspi/registry.c (parse_event_type):
6126 Stopped g_strconcat memory leaks, free the g_strsplit return,
6127 g_strdup the split pieces when used, etc.
6129 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6132 Change method 'compare' to return a 'difference set' rather than
6133 taking a StateSet as an out parameter (more Java-friendly).
6135 * idl/Accessible.idl:
6136 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6138 * idl/Component.idl:
6140 Changed methods 'getExtents' and 'getImageExtents' in these
6141 interfaces to return a BoundingBox structure.
6142 (getPosition and getSize are redundant and possibly should be
6143 removed, rather than creating a corresponding Point struct.)
6145 * cspi/spi_component.c:
6146 Modify implementation of getExtents to reflect the above IDL
6151 Add (missing) AccessibleImage_getExtents () API.
6153 * docs/reference/cspi/at-spi-cspi-sections.txt:
6154 Added AccessibleImage_getImageExtents () to docs.
6156 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6158 * idl/Component.idl:
6159 Added two methods, getLayer () and getMDIZOrder (), to reflect
6160 the new ATK methods atk_object_get_layer and
6161 atk_object_get_mdi_z_order. (Which arguably should be part of the
6162 AtkComponent API and AtkObject). Also added an enum,
6163 ComponentLayer, for the first method's return value.
6165 * libspi/component.c:
6166 Added implementations for these methods.
6168 * cspi/spi_component.c:
6170 Added cspi binding methods for above,
6171 AccessibleComponent_getLayer() and
6172 AccessibleComponent_getMDIZOrder().
6173 Added cspi enum 'AccessibleComponentLayer'.
6175 * docs/reference/cspi/at-spi-cspi-sections.txt:
6176 Added above methods to docs.
6180 Changed typedef for 'boolean' type (and all references to it) to
6181 SPIBoolean, to avoid keyword clashes with C++.
6184 Changed usages of 'boolean' to SPIBoolean.
6186 * test/keysynth-demo.c:
6187 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6188 app), except where SPIBoolean is required by the callbacks API.
6190 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6192 * cspi/spi_registry.c:
6193 Removed obsolete X event loop for passive keygrabs (which now
6196 * registryd/registryd.c:
6197 Removed unnecessary call to gdk_init() [cruft]. This also allows
6198 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6201 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6203 * docs/reference/cspi:
6204 Included docs for SPI_freeString in generated documentation.
6207 Renamed spi_freeString to SPI_freeString, for consistency. Added
6208 documentation for this function.
6211 Renamed spi_freeString to SPI_freeString, for consistency.
6212 Removed obsolete method declaration string_from_corba_string.
6214 * test/keysynth-demo.c:
6215 Small tweak to comments.
6218 Stopped leaking the strings returned from CSPI.
6220 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6222 Merged Michael's branch (see his ChangeLog entries below).
6224 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6225 bridge is alive, release on exit.
6227 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6228 Fix type check macro.
6231 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6234 Added is_gnome_app static, and method cspi_is_gnome_app(),
6235 so we can call the appropriate shutdown routine at exit in SPI_exit.
6237 * cspi/spi_main.c (cspi_object_ref):
6238 Duplicate the corba object passed in, since we're keeping it around.
6240 * cspi/SPI_exit.c, cspi_cleanup:
6241 Moved the releasing of the live refs to its own function, so we
6242 can put it in g_atexit (). Call the appropriate shutdown API
6243 depending on whethe calling client is a gnome app or not
6244 (bonobo_main_quit or CORBA_ORB_shutdown).
6246 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6247 Unref the listener when this method is called, after
6248 deregistration. Updated the API docs to note this behavior.
6250 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6251 Bugfixes: Ref the bonobo object when returning a parent or child
6252 reference, or an AccessibleRelation. Generally made sure
6253 BonoboObject refcount is incremented whenever we return an
6256 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6257 Fixed typo/bug in signal declaration.
6259 * libspi/accessibleeventlistener.h:
6262 * libspi/application.c (spi_application_new):
6263 Fixed leak in initialization.
6266 Remembered to increment bonobo-object refcount when returning
6267 children (applications) from desktop object.
6268 Added (empty) finalize method.
6270 * libspi/deviceeventcontroller.c:
6271 Hold a ref to listeners inside DEControllerKeyListeners.
6272 Added dec_key_listener_free() method. Use prepend instead of
6273 append in key_listener list. Fixed some refcount madness and
6274 leaks in the listener registration/deregistration - deregistration
6275 now calls dec_key_listener_free() on listeners, and on the
6276 temporarily constructed dec_key_listener() used to perform the search/match.
6278 * libspi/hypertext.c (spi_hypertest_finalize):
6279 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6280 class. Also fixed spi_hypertext_interface_new() and
6281 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6283 * libspi/hypertext.h:
6284 Removed pointless and duplicate AtkObject pointer from
6287 * libspi/keystrokelistener.c:
6288 Fixed incorrect type of keystroke_listener_parent_class,
6289 renamed keystroke_listener_object_finalize to
6290 spi_keystroke_listener_object_finalize.
6291 Fixed typo in signal declaration
6292 (spi_keystroke_listener_class_init).
6294 * libspi/registry.c:
6295 Added funcsions spi_listener_struct_new() and
6296 spi_listener_struct_free() to help with memory management issues.
6297 We also now use these methods instead of gnew + poking stuff into
6298 the struct, and to decrement listener counts/free the listeners
6299 when deregistering them.
6300 Fix more refcount bugs in getDesktop() and
6301 getDeviceEventController().
6304 De-ref the desktop after enumerating the applications. Explicitly
6305 decrement the refcounts on the created listeners on exit (using
6306 _unref for keystroke listeners, and via the
6307 deregisterGlobalEventListenerAll command for other event
6310 2001-11-27 Michael Meeks <michael@ximian.com>
6312 * cspi/spi-listener.h: fixup enum.
6314 2001-11-27 Michael Meeks <michael@ximian.com>
6316 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6317 (cspi_keystroke_listener_new): Use the cspi variants.
6319 2001-11-26 Michael Meeks <michael@ximian.com>
6321 * test/keysynth-demo.c: fix 2 compile warnings, missing
6324 * test/simple-at.c (report_focussed_accessible),
6325 (report_focus_event, report_button_press),
6326 (check_property_change, is_command_key),
6327 (report_ordinary_key_event, report_command_key_event): upd.
6329 * util/mag_client.h: include pre-requisites.
6331 * libspi/accessibleeventlistener.c
6332 (spi_event_listener_object_finalize): free any lingering
6335 * libspi/keystrokelistener.c
6336 (keystroke_listener_object_finalize): ditto.
6338 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6339 callbacks, with cspi types.
6341 * cspi/spi_event.c (createAccessibleEventListener): chain to
6342 (AccessibleEventListener_addCallback): here.
6343 (createAccessibleKeystrokeListener): chain to
6344 (AccessibleKeystrokeListener_addCallback): here.
6346 * libspi/keystrokelistener.c
6347 (spi_keystroke_listener_class_init): add signal.
6348 (impl_key_event): emit the event.
6349 (boolean_handled_accumulator): impl.
6350 (marshal_BOOLEAN__POINTER): add, gack.
6352 * libspi/accessibleeventlistener.c
6353 (spi_event_listener_class_init): add signal.
6354 (impl_accessible_event_notify_event): emit the signal &
6355 make the loop efficient.
6356 (spi_event_listener_add_callback): prepend the callback.
6358 * libspi/accessibleeventlistener.h: add an 'event' signal,
6359 decl type on callback.
6361 * libspi/keystrokelistener.h: ditto.
6363 * cspi/spi-listener.h: make methods typesafe and
6364 make them use the new event typedefs.
6366 * test/simple-at.c (report_focussed_accessible):
6367 include mag_client.h
6368 Use *(void *)text_interface not the other thing.
6370 * configure.in: add gtk to registryd bits - since we use
6373 * util/magnifier.c: include libbonobo.h
6375 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6377 * test/keysynth-demo.c:
6378 Turned this into a simple scanning keyboard, to demonstrate the
6379 use of g_timeout_add () as a means of creating timers for
6380 scanning, and the use of GtkStyle for visually indicating when
6381 virtual keyboard elements are selected.
6383 keysynth-demo now listens to any keyboard keys with zero-valued
6384 keycodes (i.e. 'unused' keys) and interprets them as
6387 Reworked the shiftlatch code so that shift-down state isn't held
6388 for long periods (it's only synthesized immediately prior to
6389 the keysynth event it's modifying). Note that shiftlatch in this
6390 demo is a convenience, not intended to take the place of AccessX
6391 which is the better choice for getting 'sticky' modifier keys.
6393 * libspi/deviceeventcontroller.c:
6394 * at-bridge/bridge.c:
6395 * cspi/spi_registry.c:
6396 Removed some debug print stuff, and put other verbosity in #ifdef
6401 Implemented some more of the magnifier IDL for the simple
6402 magnifier: namely, getZoomRegionParams.
6403 Added mag_x and mag_y members to MagnifierData struct, aid of this
6405 Added GtkWindow::realize signal handler to magnifier, to keep it
6406 from receiving keyboard focus from the WM.
6408 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6410 * cspi/spi-private.h: my guess at what michael forgot
6411 before he ran off to NZ :-)
6413 2001-11-23 Michael Meeks <michael@ximian.com>
6415 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6416 comment out non existant method invoke so we link.
6418 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6419 use bonobo_exception_get_text for more friendly warnings.
6421 * cspi/spi.c (Obj_Add): move into spi_main & rename
6422 spi_object_add; kill spi.c
6424 * cspi/spi_registry.c
6425 (deregisterGlobalEventListener),
6426 (deregisterGlobalEventListenerAll),
6427 (registerGlobalEventListener): fix exception leaks.
6429 * cspi/spi_main.c (spi_exception): impl. helper, so we
6430 don't leak exceptions.
6432 * cspi/spi_selection.c
6433 (AccessibleSelection_deselectSelectedChild): return the
6436 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6437 (spi_registry): ditto.
6438 (SPI_init): guard against double inits.
6440 * cspi/*.c: use spi_ev (), and spi_registry () where
6441 appropriate - a temporary hack until we have something
6442 better. Use spi_object_add
6444 2001-11-22 Michael Meeks <michael@ximian.com>
6446 * cspi/Makefile.am: re organise, install the headers.
6448 * cspi/*.h: add G_BEGIN/END_DECLS
6450 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6453 Added non-preemptive keylistener for key events with no modifiers
6454 and shift-only modifier.
6456 * libspi/keystrokelistener.c:
6457 Removed some verbose diagnostics printout.
6459 * cspi/spi_registry.c:
6460 Fixed a bug that caused all key listeners to be registered as
6463 * libspi/deviceeventcontroller.c:
6464 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6465 for non-preemptive key masks.
6468 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6470 * docs/reference/idl/at-spi-idl-docs.sgml:
6471 * docs/reference/idl/at-spi-idl-sections.txt:
6472 * docs/reference/idl/at-spi-idl-overrides.txt:
6473 Added missing files.
6475 * docs/reference/Makefile.am:
6476 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6477 to scan the IDL files :-(
6482 Added .cvsignore files.
6484 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6486 * libspi/deviceeventcontroller.c:
6487 * libspi/keystrokelistener.c:
6489 * cspi/spi_registry.c:
6490 Added filters for KeySets, KeyEventSeq, and event types to key
6491 event dispatching, so listeners should only receive those events
6492 that they requested :-)
6494 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6499 * docs/reference:Makefile.am:
6500 * docs/reference/cspi:
6501 * docs/reference/cspi:Makefile.am:
6502 * docs/reference/cspi:tmpl:
6503 * docs/reference/cspi:tmpl:*.sgml:
6504 * docs/reference/idl:
6505 * docs/reference/idl:Makefile.am:
6506 * docs/reference/idl:at-spi-idl-sections.txt:
6507 * docs/reference/idl:at-spi-idl-docs.sgml:
6508 * docs/reference/idl:tmpl:
6509 * docs/reference/idl:tmpl:*.sgml:
6511 Restructured docs directory to allow separate 'reference' docs
6512 section, and forked idl and cspi docs. Added the sgml template
6513 files to CVS. Added the first sections/structural sgml for the
6516 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6518 * configure.in, libspi/Makefile.am: find libXtst.
6520 2001-11-21 Michael Meeks <michael@ximian.com>
6522 * test/accessx-gui.c: s/spi_value/value/ - doh.
6524 * libspi/base.[ch]: add.
6526 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6528 * idl/Accessible.idl:
6529 * idl/Application.idl:
6532 Started gtk-doc cleanup on IDL.
6534 * libspi/deviceeventcontroller.c:
6535 Added and connected non-preemptive key notification from the
6536 toolkits (in addition to the pre-emptive support from XServer
6537 which we had before, but which causes 'focus flashing'). Filters
6538 are presently limited to key modifiers and global/non-global,
6539 KeySets are presently ignored, as are KeyEvent masks.
6541 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6542 structs into the persistant structure rather than just storing
6543 pointers to things that might not persist across servant
6546 The XGrabKey call now does async keygrabs, because synchronous
6547 ones were deadlocking with GDK_event code in a very nasty way.
6549 Added boolean to internal method notify_keylisteners, to indicate
6550 whether the event came from the 'toolkit source' or the 'global
6551 (XServer) source' - this is used in the notification process to
6552 determine which listeners to send the event to.
6554 deviceeventcontroller.c is now warning-free.
6556 * libspi/registry.c:
6557 Fixed regression in application de-registration.
6558 Also fixed some really brain-dead weirdness having to do with
6559 event dispatching - event structs are now duplicated before being
6560 re-marshalled in the dispatch to listeners. This also fixes a
6561 Solaris build problem.
6564 2001-11-20 Michael Meeks <michael@ximian.com>
6567 (impl_accessibility_registry_deregister_global_event_listener):
6570 * libspi/deviceeventcontroller.c
6571 (spi_device_event_controller_check_key_event): return
6572 FALSE on no virtual method.
6574 * libspi/*..h: make includes work on a correctly pathed install.
6576 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6578 * libspi/application.h: kill unused ( and whacked out )
6579 gboolean *spi_application_set_id (AtkObject *app, long id);
6581 2001-11-20 Michael Meeks <michael@ximian.com>
6583 * libspi/*.[ch]: further convert to bonobo's type func
6584 macros, remove redundnant casts etc.
6586 * libspi/text.c s/accessibility_text/spi_text/g,
6587 re-order to de-cruft.
6589 * libspi/hypertext.c: re-order to kill a huge slew
6590 of redundant forward decls.
6592 * libspi/relation.c: ditto.
6594 * libspi/image.c: ditto.
6596 * */.cvsignore: update
6598 2001-11-20 Michael Meeks <michael@ximian.com>
6600 * libspi/deviceeventcontroller.c
6601 (_controller_register_with_devices): use g_getenv,
6602 kill stdlib.h include.
6604 * libspi/keystrokelistener.c
6605 (spi_keystroke_listener_get_type): kill
6606 (spi_keystroke_listener_class_init),
6607 (spi_keystroke_listener_init): rename to this.
6609 * libspi/text.c (impl_getAttributes): fix warning / bug.
6611 * libspi/*.[ch]: more headers, includes and over commenting.
6613 2001-11-20 Michael Meeks <michael@ximian.com>
6615 * libspi/*.[ch]: fixup headers, includes and over commenting.
6617 * libspi/image.c (impl__get_imageDescription): const
6618 correctness warning fix. remove redundant casting.
6620 * libspi/table.c (impl_getRowDescription): ditto.
6621 (impl_getColumnDescription): ditto.
6623 * libspi/libspi.h: add.
6625 2001-11-19 Michael Meeks <michael@ximian.com>
6627 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6629 * libspi/component.c (accessibility_component_get_type):
6630 rename to (spi_component_get_type): and macroify.
6631 (accessibility_component_init): rename to
6632 (spi_component_init): this
6633 (accessibility_component_class_init): rename to
6634 (spi_component_class_init): this
6636 * libspi/action.c (spi_action_get_type): kill, use the macro.
6638 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6641 * libspi/application.c (spi_application_object_event_listener),
6642 (impl_accessibility_application_register_object_event_listener):
6643 warning fixes / const understanding updates.
6645 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6648 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6650 * libspi/spi_accessible.c: Added docs and C bindings for
6651 AccessibleStateSet. (No implementations yet). Documentation
6652 coverage for C bindings now 100%. Made docs for event listeners
6657 boolean notifyListenersSync (in DeviceEventListener listener,
6658 in DeviceEvent event);
6660 oneway void notifyListenersAsync (in DeviceEventListener listener,
6661 in DeviceEvent event);
6663 Added DeviceEventListener and DeviceEvent structs (may deprecate
6664 KeyStroke and KeystrokeListener in favor of this generic
6665 event/listener framework for devices).
6667 * libspi/deviceeventcontroller.c:
6669 Changed some key listener code to take masks, etc., and paved the
6670 way for integration of toolkit/non-preemptive key events. Changed
6671 signatures of some internal methods.
6673 * at-bridge/bridge.c:
6674 Fixed regression connecting to interface signals, apparently
6675 caused by GTK+ changes.
6677 Added an internal bridge_state_listener to deal with
6678 property-change:accessible-state signals.
6680 Changed the key_listeners GList to store structs (including masks,
6681 etc.) instead of just CORBA_Objects (required for full
6682 implementation of key listener API).
6684 Connected the bridge to all currently supported Atk signals.
6685 Events now supported:
6686 object:property-change
6687 object:property-change:accessible-name
6688 object:property-change:accessible-state
6689 object:property-change:accessible-description
6690 object:property-change:accessible-parent
6691 object:property-change:accessible-value
6692 object:property-change:accessible-role
6693 object:property-change:accessible-table-caption
6694 object:property-change:accessible-table-column-description
6695 object:property-change:accessible-table-column-header
6696 object:property-change:accessible-table-row-description
6697 object:property-change:accessible-table-row-header
6698 object:property-change:accessible-table-summary
6699 object:children-changed
6700 object:visible-data-changed
6701 object:selection-changed
6702 object:text-selection-changed
6704 object:text-caret-moved
6706 object:row-reordered
6708 object:column-inserted
6709 object:column-reordered
6710 object:column-deleted
6711 object:model-changed
6713 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6715 * libspi/hyperlink.c,h:
6716 Fixed some broken stuff in hyperlink.
6718 * libspi/relation.h:
6719 * libspi/relation.c:
6720 * cspi/spi_accessible.c:
6721 Initial implementations of AccessibleRelation methods, and docs.
6723 * libspi/accessible.c:
6724 Fixed a bug that caused SEGV if an accessible
6725 object's description is NULL, and a client
6726 requests it. An empty string is now returned.
6728 * cspi/spi_editabletext.c:
6729 * cspi/spi_hypertext.c:
6731 * cspi/spi_hyperlink.c:
6735 Doc coverage now 95%.
6737 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6739 One last namespacing revision:
6740 * libspi/accessibleeventlistener.[ch]:
6741 Renamed SpiAccessibleEventListener to SpiEventListener,
6742 (no need for two namespaces ;-)
6744 And lots of documentation fixes:
6746 * docs/at-spi-docs.sgml:
6747 Fixed 'underscore vs. hyphen' bug that was preventing
6748 the gtk-doc API docs from being automatically generated.
6751 * cspi/spi-listener.h
6753 * cspi/spi_accessible.c
6755 * cspi/spi_application.c
6756 * cspi/spi_component.c
6757 * cspi/spi_editabletext.c
6759 * cspi/spi_hypertext.c
6761 * cspi/spi_registry.c
6762 * cspi/spi_selection.c
6766 * docs/at-spi-docs.sgml
6767 * docs/at-spi-sections.txt
6769 Added and fixed up gtk-doc documentation in cspi.
6771 Interfaces now (fully) documented (subject to revision and enhancement):
6773 Event Listener Support
6775 AccessibleApplication
6779 AccessibleEditableText
6786 AccessibleRelationSet
6791 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6793 * at-bridge/bridge.c:
6794 Initial work for toolkit-level key snooper connection by bridge.
6799 New typedefs and fixes to support new namespacing, and cleaner
6800 separation of cspi bindings from libspi bonobo implementation.
6801 Removed inconsistent and extraneous Spi* namespace prefix that
6802 had crept into cspi headers.
6803 Lots of comment fixes that sed had missed.
6805 * cspi/spi-roletypes.h:
6806 * cspi/spi-statetypes.h:
6807 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6808 to AccessibleRoleType.
6810 * libspi/accessibleeventlistener.h:
6811 Fixed minor namespacing weirdness.
6813 * libspi/deviceeventcontroller.c:
6814 Reordered some internal API for device listeners.
6815 Changed the key registry final boolean to 'is_system_global'
6816 rather than 'is_synchronous', which is more descriptive of its
6818 Added spi_device_event_controller_new().
6819 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6821 * libspi/keystrokelistener.[ch]:
6822 Namespaced KeystrokeListener to SpiKeystrokeListener.
6823 Changed uses of keymasks to use SPI_ prefix, and did other
6826 * libspi/keymasks.h:
6827 Namespaced keymask constants with SPI_ prefix.
6829 * libspi/registry.c:
6830 Some warning fixes, and knock-on fixes from namespace changes.
6833 Added rules for accessx-gui test program.
6835 * test/accessx-gui.c:
6836 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6837 utility. It doesn't actually use at-spi, but it's still cool and
6840 * test/keysynth-demo.c:
6844 Fixes so that these test clients work properly with the namespaced
6845 libraries. (Incompletely tested for technical reasons, fixes may follow)
6848 2001-11-13 Michael Meeks <michael@ximian.com>
6850 * libspi/application.c
6851 (impl_accessibility_application_get_version),
6852 (impl_accessibility_application_get_toolkit_name):
6854 (impl_accessibility_application_set_id),
6855 (impl_accessibility_application_get_id): remove
6856 redundant casting code.
6858 * libspi/action.c (impl_getDescription): fix warnings.
6860 * libspi/accessible.c
6861 (impl_accessibility_accessible_get_parent),
6862 (impl_accessibility_accessible_get_child_at_index),
6863 (impl_accessibility_accessible_get_state),
6864 (impl_accessibility_accessible_get_relation_set):
6865 warning fixes & include action.h
6867 2001-11-13 Michael Meeks <michael@ximian.com>
6869 * *.[ch] fix bits I screwed up:
6871 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6872 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6874 2001-11-13 Michael Meeks <michael@ximian.com>
6876 * *.[ch] Namespace libspi into spi_ and Spi.
6878 2001-13-11 Michael Meeks <michael@ximian.com>
6880 * Makefile.am: dist & install at-spi-1.0.pc
6882 * libspi/Makefile.am: install into at-spi-1.0
6884 * idl/Makefile.am (idldir): install into at-spi-1.0
6886 * at-spi-1.0.pc.in: add.
6888 * configure.in: build it.
6890 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6892 * test/keysynth-demo.c:
6893 Use a 'realize' signal-handler to set the WM properties for
6894 the virtual keyboard, rather than making it a "POPUP" type
6895 override-redirect window (thanks to anders carlsson for that
6898 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6901 * test/keysynth-demo.c:
6902 Added new test of key synthesis, which creates a simple
6903 (mouse-operated) onscreen keyboard. It inserts key events into
6904 the currently-focused window, thus it does not grab keyboard focus
6907 * cspi/spi_registry.c:
6908 Added C binding for AT-SPI generateKeyEvent.
6910 * libspi/deviceeventcontroller.c:
6911 Added call to XFilterEvent so that key listener works with XIM (we
6912 hope). Added event_synth_type to generateKeyEvent, so that we can
6913 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6914 synthesize a press/release pair for KeySyms.
6916 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6918 * libspi/Makefile.am:
6919 * registryd/Makefile.am:
6920 (temporary) hack to include libXtst in libspi and registryd.
6921 (Needed for keystroke synthesis, see below).
6924 Improved API for registerKeystrokeListener, in accordance with
6925 discussions with Gnopernicus team and X server research.
6927 * libspi/registry.c:
6928 * libspi/deviceeventcontroller.c:
6929 * libspi/accessible.c:
6930 * libspi/keystrokelistener.c:
6931 Changes and fixes to support keylisteners for potentially
6932 consumed key events (that is, 'passive grabs').
6933 Added implementation for generateKeyEvent() [untested].
6936 Changes to registerKeystrokeListener() API, as above.
6937 Added deregisterGlobalEventListenerAll(), and
6938 deregisterKeystrokeListener(), which are needed for clean exit of
6940 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6941 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6943 * cspi/spi_registry.c:
6944 Added implementations of function prototypes mentioned above.
6946 * registryd/registryd.c:
6947 Added the key listener event source as a g_timeout(), to allow
6948 receipt of key events that are not caught by GDK (since GDK
6949 doesn't support passive keygrabs, this was necessary).
6952 Changed to attach a keylistener to 'Alt' keys, and
6953 respond to the following keycommands: Alt-M (toggle magnifier);
6954 Alt-F (toggle speech); Alt-Q (quit).
6955 Added an exit routine to deregister the listeners, and a key
6956 listener that prints some key info to the console when a key
6957 matches the listener mask (and is thus received by the listener).
6959 * util/idl/Magnifier.idl:
6960 Changes to magnifier API to support multiple zoom regions,
6961 non-uniform scaling in x and y, markDirty, and a host of other
6962 features that would be useful to magnification.
6965 * util/mag_client.c:
6966 * util/mag_client.h:
6967 * util/mag_control.c:
6969 Source code changes to support the above IDL changes.
6972 As above, and also changes to use a (slower) generic conversion
6973 path for colormap conversions, since the fast RGB conversions have been
6974 reported to fail for 16-bit displays.
6976 2001-10-26 Michael Meeks <michael@ximian.com>
6978 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6980 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6982 * at-bridge/Makefile.am: fix LDFLAGS.
6984 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6986 * at-bridge/bridge.c:
6987 Re-worked listeners for toolkit events, now we have signal
6988 and property listeners. Added a private method
6989 register_atk_event_listeners(), which registers with the
6990 various atk and gtk signals we need to monitor in order to emit
6992 Added emission hook for AtkObject:property-change events, to
6993 support the 'property listeners'.
6994 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6997 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6998 which emit warnings and exit, respectively, if CORBA errors occur
6999 during remote calls, and we now use these methods to check most of
7000 our CORBA calls in the C bindings.
7002 * cspi/spi_accessible.c:
7003 Changed AccessibleSelection_refSelectedChild() to
7004 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7005 now increment refcounts.
7007 * cspi/spi_component.c:
7008 Fixed some long pointer casts (dangerous!) to pass pointers to
7009 CORBA_longs of the proper type to the CORBA stubs, and copy the
7010 data into the longs that were passed into the C bindings code.
7012 * at-bridge/bridge.c:
7014 * libspi/accessible.c:
7015 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7016 hyperlinks, AtkHyperlink is an object type.
7018 * libspi/application.c:
7019 Added various conversions to and from "generic" event types and
7020 atk-specific types; this is really part of the 'bridge'
7021 implementation but is valid for all AtkObject-based accessibility
7024 * libspi/editabletext.c:
7025 Fixed nasty bug wherein editable text's finalize method was
7026 unref'ing tha AtkObject reference that the text parent class was
7027 about to unref _again_. There was also a nasty inheritance bug
7028 that meant that the AccessibleEditableText class was corrupt.
7030 * libspi/selection.c:
7031 Provided implementations for some selection API that was broken.
7033 * idl/Application.idl:
7034 Added registerObjectEventListener () method.
7037 Fixed a number of return values that were Bonobo_Unknowns from
7038 bonobo_object_corba_objref(), which I
7039 forgot to dup before returning. Changed instances of
7040 bonobo_object_corba_objref (bonobo_object(o)) to
7041 BONOBO_OBJREF(o), for concision and clarity.
7043 2001-10-13 Louise Miller <louise.miller@sun.com>
7045 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7046 idl/Event.idl, idl/Registry.idl
7047 Changed these files to include Bonobo_Unknown.idl instead
7050 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7052 * libspi/component.c libspi/component.h:
7053 Fixed typo. Added assertions for object checks in
7054 AccessibleComponent code.
7056 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7058 * idl/Accessible.idl:
7059 Added 'isEqual (Accessible *object)'
7060 method for Accessible. (Not Yet Implemented).
7063 Changed signature of registerKeystrokeListener() to
7064 take a KeySet and KeyEventSeq so that specific keys and event
7065 types could be requested for monitoring, and added a flag
7066 is_synchronous so that either synchronous or asynchronous
7067 notification could be requested. (However this is not all
7068 implemented yet). This also meant adding two new typedefs,
7069 KeyEventSeq and KeySet.
7072 Added two new relations, RELATION_TOOLTIP_FOR and
7073 RELATION_LEAFNODE_OF.
7076 Added new state, STATE_HAS_TOOLTIP.
7078 * libspi/text.c, editabletext.c:
7079 Added new assertions to all casts of bonobo-objects from
7080 CORBA servants, to prevent Text API calls on non-text objects.
7081 Changed suspect casts of int-pointer types, so that we
7082 always send a valid CORBA_long pointer to the CORBA APIs that use
7083 in/out long parameters. We then have to copy from the CORBA_long
7084 into the regular long or int for return to the C bindings, or
7085 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7088 * libspi/deviceeventcontroller.c:
7089 Cleaned these sources up.
7091 Changed return type for getCharacterAtOffset to
7092 CORBA_unsigned_long, to allow for 32-bit characters.
7095 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7099 Fixed 'make dist' so that distro compiles...
7100 * libspi/keymasks.h:
7102 * cspi/spi-listener.c:
7103 KeystrokeListenerCB now returns a boolean.
7105 Added KeyEventType struct, and KeyStroke.
7106 Also added createKeystrokeListener(),
7107 KeystrokeListener_addCallback(),
7108 KeystrokeListener_removeCallback(), and added a keymask to
7109 registerKeystrokeListener().
7110 * cspi/spi_accessible.c:
7111 Changed numerous return types for interfaces from
7112 AccessibleComponent to Accessible<InterfaceName>; this was
7113 probably a cut-and-paste error.
7115 Implementations of new KeystrokeListener api (from spi.h,
7118 Changes to key modifier mapping.
7119 Created ControllerEventMask struct.
7120 Made DeviceEventController derive from Bonobo::Unknown.
7122 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7123 * libspi/deviceeventcontroller.c:
7124 Added a number of new internal (private) methods.
7125 * libspi/editabletext.c:
7126 * libspi/editabletext.h:
7127 Fixed a number of bugs related to the fact that
7128 editabletext inherits from text. Fixed the EditableText struct,
7129 the init() call, and use correct casts when calling Text methods
7130 from an EditableText object. Removed (duplicate) atko from the
7131 EditableText structure, we use the one in the parent Text
7132 structure via the casts mentioned above.
7133 * libspi/keystrokelistener.[ch]:
7134 * libspi/registry.c:
7135 Changes in support of keyboard handling (above).
7137 Keyboard handling, though partly functional, is still not
7138 recommended for at-spi client use as there is considerable
7139 work yet to be done.
7142 Changed some places where pointers to various int types
7143 are cast to be pointers to CORBA_long types and vice-versa:
7144 pointer casting is not safe so we pass pointers of the correct
7145 types and then cast the result before putting it into the target
7148 * libspi/text.h: minor typos corrected.
7150 We now speak not only the name of a Text element, but the
7151 first sentence of its content, when it receives focus.
7152 I also changed the text compression to 75% from 50%.
7153 * util/Accessibility_Util.server.in:
7154 Changed the default magnifier type to be a 3x vertical
7155 splitscreen magnifier (was previously a 2x horizontal one).
7157 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7159 * libspi/keystrokelistener.h:
7160 * libspi/keystrokelistener.c:
7161 Initial functional implementations of KeystrokeListener.
7164 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7166 Fixed string handling for NULL strings in libspi.
7167 Added spi_freeString to free strings returned by C bindings.
7169 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7171 * libspi/keystrokelistener.h:
7172 * libspi/keystrokelistener.c:
7173 Began (no-op) implementations of KeystrokeListener
7175 * libspi/deviceeventcontroller.c:
7176 * libspi/deviceeventcontroller.h:
7177 Began creating implementations of DeviceEventController,
7178 to handle keystroke and mouse event listening and
7180 * libspi/accessible.c:
7181 Stubbed-in the implementations for
7182 Accessibility_Accessible_getState and
7183 Accessibility_Accessible_getRelationSet.
7184 * libspi/registry.c:
7185 Improved de-registration process and fixed some bugs,
7186 deregistration now works correctly.
7188 Added initialization of applications list (to NULL).
7190 Reduced speech compression from 0.5 to 0.7, for demo.
7191 Changed call to gdk_window_set_decorations()
7192 to gtk_window_set_decorated().
7193 * at-bridge/bridge.c:
7194 Bridge now deregisters when app exits, via
7195 registration of a cleanup function
7196 with the g_atexit() call.
7197 Required making 'app' static, renamed 'this_app'.
7198 Fixed broken use of bonobo_init, passing argv wrongly.
7200 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7204 Created a new directory for
7205 accessibility-related utilities, primarily for
7206 testing and demo purposes, but with possible
7213 Onscreen magnifier utility that
7214 is implemented as a bonobo service.
7216 * util/mag_client.c:
7217 * util/mag_client.h:
7218 Client-side support (simple C bindings)
7219 for Magnification service
7221 * util/mag_control.c:
7222 Client program example for
7223 Magnification service
7225 * util/Accessibility_Magnifier.server.in:
7226 Bonobo-activation file for the
7227 Magnification service.
7230 * util/idl/Magnifier.idl:
7231 IDL defining the bonobo Magnification
7235 Modifications to use the bonobo-activated magnifier
7236 above, in place of trying to connect to an existing
7237 magnifier that uses socket-listening IPC.
7239 If env variable MAGNIFIER is set, a magnifier service
7240 will be started if one does not exist.
7242 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7244 * at-bridge/bridge.c:
7245 applied patch from Marc to build and run
7246 against new glib and gtk+ (seemed like a change
7247 to bonobo_init signature was made ?)
7249 made festival-server support turned off by default.
7250 Added support for a simple magnifier (off by default)
7251 which will be added to a 'util' directory later.
7252 * at-bridge/Makefile.am:
7253 Changed "application.h" header from a 'source'
7254 to a 'dependency' of libat-bridge.
7256 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7265 Added interface implementation c files to list of
7266 includes so they are included in libcspi.
7269 Changed prototype of AccessibleAction_doAction to return a
7271 Changed prototype of AccessibleTable_getCaption to
7272 return an Accessible.
7273 Changed prototype of AccessibleTable_getSelectedRows
7274 and AccessibleTable_getSelectedColumns to
7275 return a long (returns the number of selected rows
7276 or columns respectively).
7277 Changed name of AccessibleText_refRunAttributes to
7278 AccessibleText_getAttributes.
7279 Changed prototype of AccessibleText_getCharacterExtents to
7280 return a void rather than a boolean.
7281 Added support for a AccessibleCoordType parameter
7282 specifying what type of coordinates are desired.
7283 Added an AccessibleCordType parameter to
7284 AccessibleText_getPointAtOffset.
7286 * cspi/spi_accessible.c:
7287 Added code to return the outstanding interfaces from
7288 Accessible_queryInterface.
7290 * cspi/spi_action.c:
7292 Corrected call to getNActions to call the c binding
7295 * cspi/spi_editabletext.c:
7297 Changed name from setRunAttributes to setAttributes.
7299 * cspi/spi_hyperlink.c:
7301 Changed call to getNAnchors to correctly call the c
7302 binding for an attribute.
7304 * cspi/spi_hypertext.c:
7306 Changed getImageDescription to correctly call the
7307 binding for an attribute.
7309 * cspi/spi_selection.c:
7310 Changed getNSelectedChildren to correctly call the c
7311 binding for the attribute.
7312 Changed refSelectedChild to getSelectedChild.
7316 Changed getCaption to return an Accessible.
7317 Fixed calls which retrieve attributes.
7318 Changed refAt to getAccessibleAt.
7319 Changed getNSelectedRows and getNSelectedColumns to
7323 Changed getCharacterExtents and getPointAtOffset to accept an
7324 AccessibleCoordType.
7326 Changed calls which retrieve attributes.
7327 Changed refRunAttributes to getAttributes.
7332 * idl/Hyperlink.idl:
7333 Changed n_anchors attribute to nAnchors to keep naming
7334 convention consistent.
7337 Made Table inherit from Bonobo::Unknown.
7338 Added nSelectedColumns and nSelectedRows attributes.
7341 Made Value inherit from Bonobo::Unknown.
7343 * libspi/hyperlink.c:
7344 Change for nAnchors attributte name change.
7346 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7354 Added interface implementation c files to list of
7355 includes so they are included in libcspi.
7358 Changed prototype of AccessibleAction_doAction to return a
7360 Changed prototype of AccessibleTable_getCaption to
7361 return an Accessible.
7362 Changed prototype of AccessibleTable_getSelectedRows
7363 and AccessibleTable_getSelectedColumns to
7364 return a long (returns the number of selected rows
7365 or columns respectively).
7366 Changed name of AccessibleText_refRunAttributes to
7367 AccessibleText_getAttributes.
7368 Changed prototype of AccessibleText_getCharacterExtents to
7369 return a void rather than a boolean.
7370 Added support for a AccessibleCoordType parameter
7371 specifying what type of coordinates are desired.
7372 Added an AccessibleCordType parameter to
7373 AccessibleText_getPointAtOffset.
7375 * cspi/spi_accessible.c:
7376 Added code to return the outstanding interfaces from
7377 Accessible_queryInterface.
7379 * cspi/spi_action.c:
7381 Corrected call to getNActions to call the c binding
7384 * cspi/spi_editabletext.c:
7386 Changed name from setRunAttributes to setAttributes.
7388 * cspi/spi_hyperlink.c:
7390 Changed call to getNAnchors to correctly call the c
7391 binding for an attribute.
7393 * cspi/spi_hypertext.c:
7395 Changed getImageDescription to correctly call the
7396 binding for an attribute.
7398 * cspi/spi_selection.c:
7399 Changed getNSelectedChildren to correctly call the c
7400 binding for the attribute.
7401 Changed refSelectedChild to getSelectedChild.
7405 Changed getCaption to return an Accessible.
7406 Fixed calls which retrieve attributes.
7407 Changed refAt to getAccessibleAt.
7408 Changed getNSelectedRows and getNSelectedColumns to
7412 Changed getCharacterExtents and getPointAtOffset to accept an
7413 AccessibleCoordType.
7415 Changed calls which retrieve attributes.
7416 Changed refRunAttributes to getAttributes.
7421 * idl/Hyperlink.idl:
7422 Changed n_anchors attribute to nAnchors to keep naming
7423 convention consistent.
7426 Made Table inherit from Bonobo::Unknown.
7427 Added nSelectedColumns and nSelectedRows attributes.
7430 Made Value inherit from Bonobo::Unknown.
7432 * libspi/hyperlink.c:
7433 Change for nAnchors attributte name change.
7436 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7438 implementations-- made server implementations own AtkObject pointers
7439 rather than their respective AtkInterrface pointers to fix
7440 refcounting. AtkHyperlink is still broken.
7442 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7443 * cspi/spi_accessible.c:
7444 Added method Accessible_Role_getName(),
7445 and requisite string array (role_names).
7446 Added conversion string_from_corba_strin() call
7447 to Accessible_getName and _getDescription.
7448 * libspi/accessible.c:
7449 Added implementation for Accessible_getRole()
7451 Added festival support, used if environment variable
7454 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7456 * at-bridge/bridge.c:
7457 Now allocate Accessibility_Event using
7458 Accessibility_Event__alloc() instead of g_new0().
7459 * libspi/accessibleeventlistener.c:
7460 Initialize AccessibleEventListener->callbacks to NULL.
7461 Fixed accessible__event_listener_init() param, changed to
7462 "AccessibleEventListener *" type.
7463 Changed a bonobo_object_release_unref() call to
7464 Accessibility_Accessible_unref().
7465 * libspi/listener.c:
7466 Changed Bonobo_Unknown_unref to (equivalent)
7467 Accessibility_Accessible_unref.
7468 * libspi/registry.c:
7469 Changed bonobo_object_release_unref to
7470 Accessibility_Accessible_unref.
7472 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7475 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7476 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7477 spi-util.c spi-util.h
7478 Implementations for C bindings to remaining accessibility
7481 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7484 changed return value of Action from void to boolean to
7485 bring in line with ATK.
7488 Changed getText funcions to return "out" start and end offsets.
7489 Changed getAttributes to take and offset and return the start
7490 and end offset of the attribute run.
7491 Changed getOffsetAtPoint and getCharacterExtents to take an
7492 enum describing whether coordinates are window or screen.
7495 libspi/action.c libspi/action.h libspi/editabletext.c
7496 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7497 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7498 libspi/image.h libspi/selection.c libspi/selection.h
7499 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7500 libspi/value.c libspi/value.h
7501 Added server implementations for outstanding ATK interfaces
7502 not yet implemented.
7504 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7507 Added (missing) getName() method.
7508 Made nActions an attribute.
7509 * idl/EditableText.idl:
7510 Changed order of params in setAttributes.
7511 * idl/Hyperlink.idl:
7512 Removed getAnchor, added getURI.
7514 Changed attributes to methods, for efficiency
7515 (so that getting extents can be done in one call)
7516 * idl/Selection.idl:
7517 Changed nSelectedChildren to attribute, and re-indented.
7518 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7520 * idl/Text.idl: reformatted to match our coding style.
7521 (temporarily?) removed getRowColumnAtOffset().
7522 Changed text selection API to support multi-select and
7523 non-contiguous selections, as in ATK.
7524 * idl/Value.idl: changed some methods to attributes.
7526 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7528 * libspi/listener.c(impl_notify_event):
7529 BonoboUnkown_unref the source instead
7530 of bonobo_object_release_unref - the ORB
7531 handles the releasing.
7533 * configure.in: require ORBit-2.3.94 for
7536 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7538 Tagged CVS repository 'EA_1_0'.
7539 * README.EARLY_ACCESS:
7540 Alphabetized acknowledgements list, and
7542 Listed some known dependencies of at-spi.
7544 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7546 * docs/at-spi-docs.sgml:
7547 * docs/at-spi-sections.txt:
7548 * docs/at-spi-overrides.txt: (Added zero-length file)
7549 Documentation improvements - gtk-doc should build
7550 docs for all implemented C bindings now.
7553 * cspi/spi.c: (New file)
7554 * cspi/spi_event.c: (New file)
7555 * cspi/spi_registry.c: (New file)
7556 * cspi/spi_accessible.c: (New file)
7557 * cspi/spi_application.c: (New file)
7558 * cspi/spi_component.c: (New file)
7559 Split spi_main.c into six parts, and included them from
7560 "spi.c". This is a bit of a hack, probably temporary,
7561 but required by gtk-doc, apparently.
7563 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7566 * docs/at-spi-docs.sgml:
7567 * docs/at-spi-sections.txt:
7569 Initial checkins/modifications for gtk-doc generation.
7572 Added (missing) interface query methods to Accessible's C binding.
7574 Added GenericInterface type definition.
7576 Added query for AccessibleComponent interface to focus event handler.
7577 Added printout of bounding box for focussed component.
7578 * libspi/component.c:
7579 Added partial implementation for AccessibleComponent to C binding.
7580 * idl/Application.idl:
7581 * libspi/registry.c:
7582 * libspi/listener.c:
7583 * libspi/application.c:
7584 * libspi/application.h:
7585 Changed "ID" attribute type from string to long.
7587 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7591 Made method naming consistent: methods taking object args
7592 start with uppercase, other methods (except those using
7593 acronyms) start with lowercase. Underscores delimit between
7594 object names and method names:
7595 SPI_init() - uppercase since it starts with an acronym.
7596 getDesktopCount () - lowercase start since no object param0.
7597 Accessible_getName() - uppercase object type name, studlyCaps method
7601 Added gtk-doc documentation for all currently implemented
7602 methods in the C bindings API.
7604 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7606 * Makefile.am : changed build order to build test last.
7609 Changed "createEventListener" to "CreateEventListener".
7610 * libspi/accessibleeventlistener.c :
7611 Bugfix for addition of callbacks.
7612 * test/Makefile.am :
7613 * test/simple-at.c :
7614 Added new test that uses the C bindings API.
7616 * libspi/listener.c :
7617 * libspi/registry.c :
7618 * libspi/accessibleeventlistener.c :
7619 * at-bridge/bridge.c :
7620 Renamed member "target" of Accessibility_Event to "source",
7621 which is more descriptive.
7624 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7628 * cspi/Makefile.am :
7629 Added makefile support for at-spi/cspi directory.
7632 * cspi/spi-listener.h : (NEW FILE)
7633 Added support for/use of spi-listener.h.
7635 C bindings now build successfully, with no warnings.
7636 * libspi/accessibleeventlistener.h : (NEW FILE)
7637 * libspi/accessibleeventlistener.c : (NEW FILE)
7638 * libspi/Makefile.am :
7639 Added new object type "AccessibleEventListener"
7640 which inherits from Listener, and allows attachment
7641 of in-process callbacks (so that a client with a listening
7642 object instance can add functionality to the local
7643 implementation, dynamically).
7645 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7647 * libspi/accessible.c:
7648 Add implementation for get_index_in_parent().
7650 Added #include of "spi-roletypes.h", and
7651 added enumerated type AccessibleCoordType.
7652 Added definition for KeystrokeListener (function type).
7655 * cspi/spi-statetypes.h :
7656 * cspi/spi-roletypes.h :
7658 Added these headers, used by spi.h.
7660 Added code (NOTE: not yet built by make).
7662 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7664 * libspi/Makefile.am: generate imodule
7665 at the same time as other idl compiler
7668 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7669 * libspi/registry.c :
7670 * libspi/application.c :
7671 * idl/Application.idl :
7672 Made registration with toolkit an application method,
7673 which is required since each app has its own toolkit static
7674 environment. Thus the bridge must register for
7675 notification of toolkit events from each application in turn.
7676 Toolkit notifications are now successfully registered for, and
7677 sent to the listening at client.
7679 Changed toolkit event string to use hyphens rather than underscores.
7680 * libspi/listener.c :
7681 listner now gives more info in debug mode - it reports the
7682 name of the event received, as well as the name of the source.
7685 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7687 * libspi/registry.c :
7688 added more implementation for toolkit events.
7689 Fixed bug such that toolkit event registrations
7690 (via atk) use the whole event name string, not
7692 Removed a useless call to an ORBit_ method.
7693 * at-bridge/bridge.c :
7694 Removed unused local sbuf[] variable.
7696 We now register for Gtk:GtkWidget:button_press_event
7697 events as well as "focus:" events.
7699 Add some more API from Registry.idl that was missing,
7700 for keystroke listening, keystroke and mouse event
7701 synthesis, and enumeration of accessible desktops.
7703 2001-08-16 Michael Meeks <michael@ximian.com>
7705 * configure.in: use AM_GLIB_GNU_GETTEXT.
7707 * Makefile.am (SUBDIRS): kill intl.
7709 2001-08-15 Michael Meeks <michael@ximian.com>
7711 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7713 * configure.in: upd.
7715 * configure.in: depend on a recent bonobo-activation that
7716 will find our server files ...
7718 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7720 * libspi/accessible.c : accessible_new() :
7721 Now we add the Component interface via bonobo_object_add_interface,
7722 if the contained AtkObject implements AtkComponent.
7723 * libspi/accessible.h : now include "component.h"
7724 * libspi/component.h :
7725 * libspi/component.c : added files - implementation of
7726 bonobo wrapper object for Accessibility/Component
7727 * libspi/listener.c :
7728 Added test code to check for Accessibility/Component:1.0
7729 interface and report whether it is implemented by the
7731 * libspi/registry.c :
7732 Now we check for not only the hash of the whole event
7733 string before relaying the event, we also check the
7734 "minor" event string (without the detail string).
7735 This allows event listeners to be registered against
7736 all events of a certain major+minor type, or just
7737 against a specific major+minor+detail type.
7738 * libspi/accessible.c :
7739 Added implementations for Accessible:get_parent(),
7740 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7741 * libspi/registry.c :
7742 * libspi/listener.c :
7743 Replaced calls to Accessibility_Accessible_ref() and
7744 Accessibility_Accessible_unref() with
7745 calls to bonobo_object_dup_ref() and
7746 bonobo_object_release_unref(), so that the CORBA object
7747 is dup-ed and released when relayed, as well as the bonobo object.
7749 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7751 * libspi/Makefile.am,
7752 registryd/Makefile.am,
7753 at-bridge/Makefile.am.
7754 test/Makefile.am, configure.in:
7755 reverse previous changes.
7757 * /idl/Image.idl: fix typo.
7759 * test/Makefile.am: put DEBUG_FLAGS
7762 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7764 * test/app.c: use argv[0] instead of
7767 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7769 * libspi/Makefile.am,
7770 registryd/Makefile.am,
7771 at-bridge/Makefile.am.
7772 test/Makefile.am, configure.in:
7773 cleanup, replace individual LIBS/CFLAGS with
7774 AT_COMMON_{LIBS|CFLAGS}.
7778 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7780 * configure.in, libspi/Makefile.am:
7781 Change IDL path checking for bonobo-activation
7784 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7786 * registryd/registry.c : separated event listeners to use
7787 3 separate lists (focus, window, toolkit). Began testing
7788 event names against hashes before relaying events.
7789 * test/at.c : now register for events of type "focus:"
7790 * test/app.c : now generate events of type "focus:"
7791 * at-bridge/bridge.c : register with ATK for focus events,
7792 and we now relay those focus events to any "focus:" listeners.
7793 This now works with the bridge as a GTK_MODULE when running test/at.
7794 * libspi/registry.c :
7795 * libspi/listener.c :
7796 now we ref event sources before propagating, and unref on receipt.
7797 * libspi/registry.c :
7798 some changes to internal structs, to support event typestring hashes.
7799 * text/app.c : changed the way the appname is generated.
7800 * cspi : added directory that will hold the C bindings library for
7801 non-CORBA/bonobo-savvy clients.
7802 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7803 * idl/Component.idl : added in parameter to indicate coord system for
7804 geometry-related calls.
7805 * idl/Hyperlink.idl : added readonly n_links attribute
7806 * idl/Image.idl : changed methods to attributes.
7808 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7810 * at-bridge/Makefile.am: link against
7811 ../libspi/libspi.la instead of -lspi.
7813 * at-spi/test/app.c: include
7814 bonobo-activation.h. Use a default appname
7815 if one is not provided.
7817 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7819 * idl/Registry.idl : temporarily changed register_Application
7820 to oneway, to work around issue with initial registration
7822 * idl/Application.idl : changed attribute "id" from readonly
7823 to read-write, since it needs to be assigned by Registry.
7824 * registryd/registryd.c : added call to set application id
7826 * registryd/registry.c : changed de-registration procedure to
7827 use CORBA_Object_hash() to find matching object ref in application
7828 lists and listener lists.
7829 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7830 began distinguishing between event types (work in progress).
7832 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7835 * libspi/application.c:
7836 Added implementations for get/set id, get_toolkitName,
7838 * registryd/registryd.c :
7842 Converted from use of OAF to bonobo-activation.
7843 * libspi/desktop.h :
7844 * libspi/desktop.c :
7846 Removed references to atksimpleobject, since base atkobject
7847 implementation now provides functionality we need.
7848 * libspi/atksimpleobject.c :
7849 * libspi/atksimpleobject.h :
7854 * at-bridge/Makefile.am
7855 * at-bridge/bridge.c
7858 Added directory "bridge" and contents, and added dependencies
7859 in Makefile.am/configure.in.
7860 Initial checkin of "at-bridge".
7861 This code is a GTK_MODULE which automatically registers
7862 GTK+ apps with the accessibility registry, using an object
7863 reference to the root ATK object.
7865 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7867 * po/Makefile.in.in: Remove. Again. If this
7868 doesn't get autogenerated - you need to update
7871 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7873 * po/Makefile.in.in: Add. Again.
7875 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7877 * libspi/accessible.c : added support for 'description' property.
7878 * libspi/accessible.c
7880 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7881 (since the two are now equivalent in libbonobo)
7889 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7890 Bonobo::Unknown as does Accessibility::Accessible.
7891 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7892 interface with Bonobo::Stream, since it was redundant with it.
7893 (The Stream returned by a StreamableContext object is expected to
7894 implement only a subset of Bonobo::Stream)
7896 2001-07-28 Anders Carlsson <andersca@gnome.org>
7898 * libspi/accessible.c (accessible_object_finalize): Change
7899 g_free to g_object_unref since the AtkObject is a GObject.
7901 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7903 * idl/Accessibility.idl: add new IDL files
7906 * idl/Action.idl: Definitions of actionable UI object
7907 * idl/Component.idl: Definitions of UI component geometry, etc.
7908 * idl/Hyperlink.idl: Defs of hyperlink behavior
7909 * idl/Image.idl: Def of accessible image
7910 * idl/Selection.idl: Definition of UI object with selectable children
7911 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7912 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7913 * idl/Text.idl: Interface defs for UI elements with complex textual content
7914 * idl/Value.idl: Definition of UI element that is a value controller or display
7916 2001-07-27 Michael Meeks <michael@ximian.com>
7918 * po/Makefile.in.in: remove autogenerated file from CVS.
7920 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7923 * idl/Registry.idl: include guard.
7925 * idl/Accessibility.idl: Add, and include all the other IDL
7928 * idl/*.idl: remove mass of pragmas etc.
7930 2001-07-26 Michael Meeks <michael@ximian.com>
7932 * registryd/Makefile.am (registryd_SOURCES): remove
7935 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7937 * libspi/.cvsignore, registryd/.cvsignore,
7938 test/.cvsignore: updated.
7940 * po/Makefile.in.in: gettext update.
7942 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7944 * initial CVS checkin
7946 2001-06-29 Michael Meeks <michael@ximian.com>
7948 * configure.in: add AM_CONFIG_HEADER to gen config.h