1 2006-07-31 Bill Haneman <bill.haneman@sun.com>
4 (spi_atk_emit_eventv): Fix the CORBA_free call which was
5 causing 64-bit troubles and memory leaks.
6 Special thanks to Alexander Larsson who finally seems to
7 have tracked down the problem, not just here but in
11 (spi_init_any_object): Make sure we copy the CORBA value
12 when initializing an object for passing as a CORBA_Any.
15 2006-07-21 Bill Haneman <billh@gnome.org>
17 * idl/Accessibility.idl:
18 Reverted pragma changes, this broke the build in some envs
19 including the Debian team's build and some tinderbox builds.
21 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
24 Revved to 1.7.10, and edited the Xevie check (bug #319994).
26 * idl/Accessibility.idl:
27 Reworked inclusion of Bonobo_Unknown.idl, to
28 avoid double-linking libs in the Bonobo environment.
29 Thanks to Michael Meeks for the workaround, see bug #313122.
31 * registryd/deviceeventcontroller.c:
32 (spi_controller_notify_keylisteners):
33 Set the SPI_NUMLOCK_MASK bit if the modifier
34 corresponding to the conceptual numlock state is set.
37 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
39 * idl/Accessibility_Selection.idl:
40 (deselectChild): New method.
43 (impl_deselectChild): Implement the new IDL method.
46 (AccessibleSelection_deselectChild): Added new method.
48 * cspi/spi_selection.c:
49 (AccessibleSelection_deselectChild): New method implemented.
51 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
53 * cspi/bonobo/cspi-bonobo.c:
54 (cspi_init): Replace g_error with g_warning, prevent
55 SEGV if the registry cannot be activated. Bug #346393.
57 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
59 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
61 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
62 2006-07-12 Ariel Rios <arios@us.ibm.com>
66 * idl/Accessibility_Table.idl:
67 (getRowColumnExtentsAtIndex): New method for getting
68 selection status and extents in one API call.
71 (impl_getRowColumnExtentsAtIndex): Implementation of
73 (spi_table_class_init): Add above to epv.
77 (AccessibleTable_getRowColumnExtentsAtIndex): New
78 method, retrieves selection status and row/col extents
79 for a table cell in a single API call.
81 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
82 2006-07-12 Ariel Rios <arios@us.ibm.com>
84 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
87 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
88 New bindings for new methods defined in idl and libspi.
91 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
92 Added prototype functions.
95 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
97 (spi_text_class_init): Added previous methods.
100 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
101 * libspi/spi-private.h: Corrections.
103 2006-06-29 Bill Haneman <bill.haneman@sun.com>
105 Added Document interface (see bug #326520),
106 with work from Ariel Rios <arios@us.ibm.com>.
108 * configure.in: Bump to 1.7.8.
110 * libspi/Makefile.am: Added document.[ch] to sources
113 (SpiDocument, SpiDocumentClass):
114 New interface implementation.
115 (spi_document_get_type, spi_document_construct)
116 (spi_document_interface_new): New methods added.
117 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
118 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
119 Added macros for SpiDocument
123 (spi_document_interface_new): Get a
124 new document interface. New.
125 (get_document_from_servant): Get an AtkDocument from servant New.
126 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
127 Implementation of methods defined on idl.
128 (spi_document_class_init, spi_document_init)
129 Init methods for SpiDocument. new
131 * idl/Accessibility.idl: Added Accessibility_Document.idl.
133 * cspi/Makefile.am: Added spi_document.c to sources.
135 * cspi/spi_document.c:
136 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
137 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
138 (AccessibleDocument_getAttributes): Bindings for methods defined
141 * cspi/spi_accessible.c:
142 (Accessible_isDocument, Accessible_getDocument) New.
144 (Accessible_isDocument, Accessible_getDocument)
145 (AccessibleDocument_ref, AccessibleDocument_unref)
146 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
147 (AccessibleDocument_getAttributes): Bindings added.
149 * idl/Makefile.am: Added Accessibility_Document.idl to
152 2006-06-29 Bill Haneman <bill.haneman@sun.com>
154 * idl/Accessibility_Document.idl: New interface
155 for complex documents. First stage of fix for RFE
158 2006-06-27 Bill Haneman <bill.haneman@sun.com>
160 * libspi/streamablecontent.c:
161 (impl_content_stream_close):
162 Unref the GIOChannel on close.
164 2006-06-23 Bill Haneman <bill.haneman@sun.com>
166 * idl/Accessibility_Role.idl:
167 * libspi/accessiblerole.c:
168 * cspi/spi_accessible.c: Added ROLE_LINK,
169 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
170 Bug #345758 and bug #140635.
173 2006-06-22 Bill Haneman <bill.haneman@sun.com>
177 * idl/Accessibility_StreamableContent.idl:
178 Fix derivation of StreamableContent and ContentStream.
180 * cspi/spi_streamablecontent.c:
181 (accessible_content_stream_client_read):
182 Fix the datatype of the content stream used.
183 Interpret short reads as EOF, and stop trying to
184 read when we've fulfilled the request.
185 (AccessibleStreamableContent_getContentTypes):
186 Use g_strdup, not CORBA_string_dup, for the strings.
187 (AccessibleStreamableContent_open):
188 Correctly use the new getStream method for opening,
189 not the deprecated getContent method.
190 Use the object reference as the stream hash key.
191 Make note of the 'one stream per client per streamable'
192 limitation in the docs.
195 Add streamablecontent.h to the list of #includes.
197 * libspi/streamablecontent.c:
198 (impl_content_stream_read): Initialize the GError.
199 Allocate the incoming buffer if reading a fixed length of
200 data. Use g_memmove instead of memcpy.
201 (impl_accessibility_streamable_get_content_types):
202 Init typelist->_maximum. Only allocate the buffer if
203 there is a non-zero number of content types available.
204 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
206 * libspi/streamablecontent.h:
207 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
210 (SPI_IS_VALUE): Fix a typo in this macro too.
212 2006-06-16 Bill Haneman <bill.haneman@sun.com>
216 * idl/Accessibility_StreambleContent.idl:
217 Deprecate the Bonobo_Stream-based methods in favor of
218 a self-contained "ContentStream" interface. This should
219 allow us to remove BonoboStream dependencies entirely, since
220 there were no non-NIL implementations of the old methods anyway.
221 (ContentStream): New interface.
222 (ContentStream::SeekType): Enum.
223 (ContentStream::seek): New.
224 (ContentStream::read): New.
225 (ContentStream::close): New.
226 (getContent): Deprecate.
227 (getURI): New method, returns a URI pointing to the content, if available.
229 * libspi/streamablecontent.c:
230 (SpiContentStream): Internal object type definition used to
231 implement Accessibility::StreamableContent::ContentStream via
232 AtkStreamableContent's GIOChannel back-end.
233 (spi_content_stream_new, spi_content_stream_dispose): See above;
235 (impl_content_stream_seek, impl_content_stream_read):
236 (impl_content_stream_close): New, implementations of
238 (impl_accessibility_streamable_get_stream): Implement the
239 public method Accessibility::StreamableContent::getStream.
240 (impl_accessibility_streamable_get_uri): Implement the
241 public method Accessibility::StreamableContent::getURI.
243 * cspi/spi_streamablecontent.c:
244 (accessible_bonobo_stream_client_seek): Replaced by
245 (accessible_content_stream_client_seek).
246 (accessible_bonobo_stream_client_read): Replaced by
247 (accessible_content_stream_client_read).
248 (AccessibleStreamableContent_open):
249 (AccessibleStreamableContent_seek):
250 (AccessibleStreamableContent_read):
251 (AccessibleStreamableContent_close): Use the new 'getStream'
252 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
254 2006-06-15 Bill Haneman <bill.haneman@sun.com>
256 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
257 remove from other .idl files (except LoginHelper).
260 2006-06-14 Bill Haneman <bill.haneman@sun.com>
262 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
265 * configure.in, */Makefile.am: mingw patch, modified from
266 original patch by yselkowitz. Bug #314216.
268 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
269 for completeness. Bug #163111.
271 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
272 * libspi/util.c, registryd/registry-main.c:
273 Fix guint/char* casts.
274 Patch from chpe, bug #333883.
276 2006-06-12 Bill Haneman <bill.haneman@sun.com>
278 * configure.in: Require atk-1.12.0, to pick up
279 new API. (bug #344412).
281 * libspi-1.0-uninstalled.pc.in:
283 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
284 Fix for #341488 from Samual Thibault.
286 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
287 Thanks to Brian Pepple.
289 2006-06-09 Bill Haneman <bill.haneman@sun.com>
292 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
293 New, missing implementations of attribute reading methods
296 * cspi/spi.h, spi_value.c:
297 (AccessibleValue_getMinimumIncrement): New methods wrapping
298 the (formerly unimplemented) property from Value.idl.
301 (impl_get_minimumIncrement): Implementation for retrieving
302 the minimum valuator increment, (formerly unimplemented).
305 2006-06-09 Bill Haneman <bill.haneman@sun.com>
307 * idl/Accessibility_State.idl:
308 Added STATE_VISITED (bug #338369).
310 * cspi/spi_accessible.c:
311 (spi_state_to_corba) Fixed marshalling of new statetypes.
314 (spi_init_state_tables, impl_getStates):
315 Fixed conversion of new statetypes to/from ATK.
317 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
319 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
320 definitions/conversions for new roles from ATK.
322 * idl/Accessibility_Relation.idl:
324 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
325 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
326 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
328 * libspi/accessible.c: Fixed marshalling of new role types from
331 2006-04-17 Matthias Clasen <mclasen@redhat.com>
333 * revert my previous change
335 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
337 * configure.in: Remove obssolete no_NO locale
338 * po/no.po: And the translation.
340 2006-04-05 Matthias Clasen <mclasen@redhat.com>
342 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
343 memory-management error that caused crashes on x86_64.
346 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
348 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
350 2006-03-27 Bill Haneman <bill.haneman@sun.com>
352 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
353 to strip "cspi_*" from the symbol table.
355 * cspi/spi_streamablecontent.c:
356 (get_streams): Make this method static.
359 (_cspi_exception_throw): rename to cspi_exception_throw,
360 so we can strip it with the rest...
363 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
365 2006-03-27 Bill Haneman <bill.haneman@sun.com>
367 Add doxygen-generated IDL docs to tarball, and enable
368 doxygen during build/install when available. Bug #301345.
370 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
372 * docs/reference/Makefile.am: Add idl to SUBDIRS.
374 * docs/reference/idl/Makefile.am: Optionally use
375 doxygen to create docs.
377 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
379 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
381 2006-03-20 Bill Haneman <bill.haneman@sun.com>
384 (impl_get_selected_rows): Don't free the selection if it's
385 empty or has not been assigned; init it to NULL so you can tell.
386 Also, allow for zero selected rows.
387 (impl_getSelectedColumns): Ditto. Bug #319088.
389 2006-03-11 Vincent Untz <vuntz@gnome.org>
391 Leak fix for bug #334217.
393 * libspi/application.c: spi_application_toolkit_event_listener():
394 don't duplicate the string we pass as an argument to
395 spi_init_any_nil() since spi_init_any_nil() already does it
396 * registryd/deviceeventcontroller.c:
397 (spi_dec_button_update_and_emit): ditto
398 (spi_dec_mouse_check): ditto
399 (spi_dec_emit_modifier_event): ditto
400 (spi_device_event_controller_forward_mouse): ditto
401 * registryd/registry.c:
402 (desktop_add_application): ditto
403 (desktop_remove_application): ditto
405 2006-02-20 Bill Haneman <billh@gnome.org>
407 * configure.in: Rev to 1.7.6.
409 Leak fixes for bug #331924.
411 * atk-bridge/bridge.c:
412 (spi_atk_bridge_init_base): Don't dup the string, it's already
413 been dup-ed. Fixes a leak.
414 (spi_atk_emit_eventv): Move the CORBA_free call here,
415 instead of spi_atk_state_event_listener; fixes another leak.
416 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
417 notifying the registry; fixes another leak.
419 * registryd/registry.c:
420 (registry_flush_event_queue): Free the CORBA_any when
421 flushing the event, not just the string. Fixes another leak.
422 (registry_queue_event): Free the CORBA_any when dropping
423 events on the floor; fixes another leak.
426 (spi_init_any_object, spi_init_any_nil):
427 Always set _release to TRUE. Fixes another leak.
429 2006-02-20 Bill Haneman <billh@gnome.org>
431 * configure.in: Rev to 1.7.5.
432 Reinstate localization of this module. Thanks for Rodney
433 Dawes for fixing my patch.
435 * registryd/Makefile.am: Remove Accessibility_Registry.server
436 from dist, since it needs to be re-created at configure time.
439 2006-01-31 Bill Haneman <billh@gnome.org>
441 * configure.in: Rev to 1.7.4 (to include build fix below).
443 * idl/Makefile.am: Include Selector.idl in dist.
447 (cspi_internal_event_get_object): Handle case where
448 "object" isn't present, i.e. CORBA_TC_Object doesn't match
449 the EventDetails data.
450 (cspi_internal_event_get_text): Handle NULL string.
451 (cspi_internal_event_get_rect): Handle missing/empty rect
452 data, Accessibility_TC_RectBounds doesn't match any_data.
454 2006-01-30 Bill Haneman <billh@gnome.org>
458 * atk-bridge/bridge.c:
459 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
460 interface and use that when instantiating a new source
461 accessible. Better fix for bug #321814.
463 2006-01-27 Bill Haneman <billh@gnome.org>
465 * idl/Accessibility_Selector.idl: Added to the cvs repository.
467 * configure.in: Revved to 1.7.3.
469 2006-01-17 Bill Haneman <billh@gnome.org>
471 * configure.in: Revved to 1.7.2, re-dist to include docs.
473 2006-01-09 Bill Haneman <billh@gnome.org>
475 * configure.in: Removed po/Makefile.in inclusion, we do not need
478 * idl/Accessibility.idl: Improved documentation here, and for all
479 IDL in the 'GNOME::Accessibility' namespace.
481 * idl/Accessibility_Accessible.idl:
482 (LOCALE_TYPE): Added enum.
483 (AttributeSet): New, for returning multiple name/value attribute pairs.
484 (RoleSet): New, sequence of Roles, to be used in upcoming
486 (getAttributes): New API, allows retrieval of name/value pair
487 annotations for all kinds of Accessible objects. C.f.
488 Text:getAttributes, which is only for typographic/textual/semantic tags in
490 (getApplication): New, retrieves the host/containing Application
491 instance for an object (without having to walk up the whole tree).
493 * idl/Accessibility_Component.idl:
494 (getAlpha): New method, returns the alpha blending (aka 'opacity')
495 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
498 * idl/Accessibility_Event.idl:
499 (EventDetails): New struct definition, for encapsulating
500 commonly-queried information about emitted events. The use of
501 this structure in emitted events (in the 'any' member of
502 Accessibility_Event) should greatly reduce the number of
503 client-server roundtrips necessary.
505 * idl/Accessibility_Image.idl:
506 (imageLocale): New, a readonly attribute indicating the POSIX
507 LC_MESSAGES locale of the image and associated Alt/descriptive
510 * idl/Accessibility_Relation.idl:
511 (RELATION_PARENT_WINDOW_OF): Include, as complement to
514 * idl/Accessibility_Role.idl:
515 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
516 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
517 complex document and form support.
519 * idl/Accessibility_State.idl:
520 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
521 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
522 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
523 for support of complex documents and forms.
525 * idl/Accessibility_StreamableContent.idl:
526 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
527 allow old bonobo-stream interfaces to be deprecated in the next
530 * idl/Accessibility_Text.idl:
531 (getAttributeValue): New method, allows query-by-name of single
534 * libspi/accessible.c:
535 Added support for new roles. Implemented new methods
536 (impl_accessibility_accessible_get_application): New
537 (impl_accessibility_accessible_get_attributes): New
539 * libspi/component.c:
540 (impl_accessibility_component_get_alpha): New.
543 (impl_accessibility_image_get_locale): New.
545 * libspi/relation.c: Added support for new relation type.
547 * libspi/stateset.c: Added support for new state types.
550 (impl_getAttributeValue): New.
553 New prototypes for private methods
555 spi_init_any_object, spi_init_any_string,
558 * libspi/spi_event.c:
559 Use EventDetails in the event emission methods.
561 * cspi/spi-private.h:
562 (cspi_role_from_spi_role): Expose this adapter method, since
563 we need it in the bridge (see below).
566 (AccessibleEvent_getSourceName):
567 (AccessibleEvent_getSourceRole):
568 (AccessibleEvent_getSourceApplication):
569 (AccessibleEvent_getSourceDetails):
570 New methods for interrogating/demarshalling
571 event details (i.e. source's accessible name, role,
574 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
575 Make use of the new EventDetails struct in events, if present.
576 (AccessibleEvent_getSourceName)
577 (AccessibleEvent_getSourceRole)
578 (AccessibleEvent_getSourceApplication)
579 (AccessibleEvent_getSourceDetails): Implement the newly exposed
581 (Accessible_getAttributes): New, wraps
582 Accessibility_Accessible_getAttributes.
583 (Accessible_getHostApplication): New, wraps
584 Accessibility_Accessible_getApplication.
587 (AccessibleImage_getImageLocale): New wrapper for
588 Accessibility_Image_get_imageLocale.
590 * cspi/spi_component.c:
591 (AccessibleComponent_getAlpha): New wrapper for
592 Accessibility_Component_getAlpha.
594 * atk-bridge/bridge.c:
595 Use new prototyped for init_any methods.
596 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
597 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
598 (spi_atk_bridge_init_base): Wrappers
599 for spi_init_any_* methods, due to refactor; include extended
600 information in the Accessibility_EventDetails struct, for instance
601 accessible-name, Role, and containing Application.
603 * registryd/registry.c:
604 Use new event emission (with EventDetails).
606 * registryd/deviceeventcontroller.c:
607 Use new event emission (with EventDetails).
609 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
611 * configure.in: Generate po/Makefile.in
612 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
613 * cspi/spi_streamablecontent.c:
614 (accessible_bonobo_stream_client_seek),
615 (AccessibleStreamableContent_seek): Remove unused vars.
616 * libspi/application.c: Missing header.
617 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
618 * login-helper/login-helper.c: (login_helper_finalize),
619 (login_helper_init): Remove unused stuff
620 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
621 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
622 and surround some with #ifdef GRAB_BUTTON.
623 * test/event-listener-test.c: (main), (report_event),
624 (report_caret_event), (report_detail_event),
625 (report_detail1_event), (report_bounds_event), (report_text_event),
626 (report_text_selection_event),
627 (report_active_descendant_changed_event),
628 (report_children_changed_event), (report_name_changed_event),
629 (report_description_changed_event), (report_parent_changed_event),
630 (report_window_event), (report_table_summary_event),
631 (report_table_header_event), (report_table_caption_event),
632 (report_table_row_description_event),
633 (report_table_column_description_event), (timing_test_event):
634 Remove a bunch of unused variables and fix a slew of format specifiers
635 * test/key-listener-test.c: (report_all_key_event): Format specifier
636 * test/keypad-test.c: (print_key_event): Same
637 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
639 * test/screen-review-test.c: (main), (print_chunk_debug),
640 (review_buffer_get_text_chunk), (debug_chunk_list),
641 (string_guess_clip), (text_chunk_get_clipped_string),
642 (text_chunk_list_to_string), (get_screen_review_line_at):
643 Remove unused variables and fix format specifiers.
644 * test/simple-at.c: (report_text_event): Format specifier fix.
645 * test/stress-test.c: (main): Remove unused var.
647 2005-12-29 Abel Cheung <maddog@linuxhall.org>
649 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
650 (yes I know that's useless)
652 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
654 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
656 2005-11-17 Michael Meeks <michael.meeks@novell.com>
658 * atk-bridge/bridge.c (spi_atk_emit_eventv):
659 urgh-fix embarassing typo.
661 2005-11-16 Michael Meeks <michael.meeks@novell.com>
663 * atk-bridge/bridge.c (spi_atk_emit_eventv):
664 do a faster, less problematic _unref call on this local
665 object, rather than a slower (potentially cross-thread
666 complicated) CORBA call.
668 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
670 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
671 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
672 * registryd/deviceeventcontroller.c:
673 (spi_controller_notify_mouselisteners),
674 (impl_generate_keyboard_event):
675 * test/screen-review-test.c: (chunk_bounds_within):
676 * test/test-simple.c: (test_desktop): Remove some unused code
677 and fix compiler warnings. Closes bug #320049.
679 2005-10-27 Bill Haneman <bill.haneman@sun.com>
681 * registryd/deviceeventcontroller.c:
682 (spi_controller_notify_keylisteners): Check
683 to make sure the event listener has requested 'preemptive'
684 status before pre-empting an event.
686 2005-08-29 Bill Haneman <bill.haneman@sun.com>
688 * configure.in, README, NEWS: Release 1.6.5.
690 2005-07-25 Matthias Clasen <mclasen@redhat.com>
692 * test/window-listener-test.c: Fix a printf
693 format error. (#169453)
695 2005-07-15 Bill Haneman <bill.haneman@sun.com>
697 * tests/test-simple.c:
698 (key_listener_cb): Ensure that the keystring is dup'ed instead of
699 relying on the old string from the key event hanging around after
700 the event handler returns. Fixes broken 'make check'.
702 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
704 * Added Marathi (mr_IN) translations.
706 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
708 * cspi/bonobo/cspi-bonobo-listener.c:
709 (cspi_event_list_remove_by_cb): Fix the build.
711 2005-05-26 Michael Meeks <michael.meeks@novell.com>
713 * cspi/bonobo/cspi-bonobo-listener.c
714 (cspi_event_list_remove_by_cb): actually filter by callback.
716 2005-05-25 Bill Haneman <bill.haneman@sun.com>
718 * registryd/registry.c (remove_listener_cb):
719 Make deregistration filter rules match the event emission rules.
721 2005-05-25 Michael Meeks <michael.meeks@novell.com>
723 * registryd/registry.c (remove_listener_cb),
724 (impl_accessibility_registry_deregister_global_event_listener),
725 (impl_accessibility_registry_deregister_global_event_listener_all):
726 pass a closure to the remove callback to filter listeners more
727 accurately on remove.
729 2005-04-05 Bill Haneman <bill.haneman@sun.com>
731 * configure.in: Revved to 1.6.4.
732 Remember to put quotes around XEVIE_LIBS assignment.
733 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
736 * tests/event-listener-test.c: Tweaked the tests - more detail
737 from caret events, and some interrogation of AccessibleText APIs.
738 Commented-out the bounds-changed events by default, since they can
741 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
743 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
744 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
745 Same here. Closes bug #167806
747 2005-04-05 Bill Haneman <bill.haneman@sun.com>
749 * atk-bridge/bridge.c:
750 (spi_atk_bridge_signal_listener):
751 Free the any._value if any._release is TRUE,
752 since the ORB won't do it for us in this case
753 [because this method is not a skel].
756 2005-03-30 Steve Murphy <murf@e-tools.com>
758 * configure.in: Added "rw" to ALL_LINGUAS.
760 2005-03-29 Bill Haneman <bill.haneman@sun.com>
762 * configure.in: Improved check for HAVE_XEVIE, to detect
763 presence on XOrg, where -lXevie is a separate library.
765 2005-03-08 Bill Haneman <bill.haneman@sun.com>
767 * configure.in, NEWS, README: Revved to 1.6.3.
769 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
771 * configure.in: Added "xh" to ALL_LINGUAS.
773 2005-02-07 Bill Haneman <bill.haneman@sun.com>
775 * atk-bridge/bridge.c:
776 (atk_bridge_init): Added missing NULL in g_strconcat(),
777 also check for symlink before logging to
778 insecure directory. Thanks to meissner@suse.de.
780 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
782 * tests/login-helper-server-test.c: Add return call to main
783 function. Patch from Chris Lahey. Fixes bug #165129.
785 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
787 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
789 2004-12-09 Bill Haneman <billh@gnome.org>
791 * registryd/registry-main.c:
792 Added #define <string.h> for strrchr. (bug 160862).
793 Thanks to Vincent Berger for catching.
795 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
797 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
798 restart registry process if the registry process is found to have died
799 and the current process is exiting.
800 (spi_atk_bridge_exit_func): Do not attempt to deregister the
801 application if the registry process has died.
802 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
803 does not return a registry object.
804 (spi_atk_tidy_windows): Give up if the registry process has died.
806 This fixes problems with hangs and crashes when logging out.
808 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
810 * registryd/desktop.c: Add checking that we are not exiting before
811 calling spi_desktop_remove_application in
812 abnormal_application_termination. Fix for bug #152147.
814 2004-12-02 Bill Haneman <billh@gnome.org>
816 * configure.in, NEWS, README: Revved to 1.6.1.
818 Patch from Padraig O'Briain <padraig.obriain@sun.com>
819 * atk-bridge/bridge.c:
820 (atk_bridge_init): Save the pid when we start, to detect forks.
821 (spi_atk_bridge_exit_func): Don't call the cleanup routines
822 if we're in a forked pid.
824 2004-10-09 Bill Haneman <billh@gnome.org>
826 * idl/Accessibility_LoginHelper.idl:
827 Improved inline documentation.
829 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
831 * configure.in: Added gl (Galician) to ALL_LINGUAS
833 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
835 * libspi/accessible.c:
836 (impl_accessibility_accessible_get_role_name),
837 (impl_accessibility_accessible_get_local_role_name):
839 * libspi/component.c:
840 (impl_accessibility_component_get_accessible_at_point):
842 * libspi/eventlistener.c: (spi_event_listener_new):
844 * libspi/stateset.c: (impl_compare): More of the same
845 * libspi/table.c: (impl_getRowDescription): Again.
846 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
847 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
848 (impl_generate_keyboard_event): Same.
849 * registryd/registry-main.c: (main): Same
850 * test/event-listener-test.c: (test_exit): Same
851 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
852 * test/keysynth-test.c: (test_key_synthesis): Same
853 * test/login-helper-server-test.c: (main): Fix warning.
854 * test/screen-review-test.c: (test_exit): Fix include.
855 * test/simple-at.c: (simple_at_exit), (_festival_init):
858 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
860 * configure.in, NEWS, README: Revved to 1.6.0.
862 2004-09-12 Bill Haneman <bill.haneman@sun.com>
864 * configure.in: Rev and re-dist, since the 1.5.4 tarball
865 was missing the HTML docs.
867 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
869 * configure.in: only cleanups:
870 - better looking PKG_CHECK_MODULES() output,
872 - declare in one common place required versions of other tools using
875 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
877 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
878 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
879 required ATK version accordingly.
881 2004-09-03 Bill Haneman <bill.haneman@sun.com>
883 * cspi/bonobo/cspi-bonobo.c:
884 (cspi_display_name): Fix C99ism.
885 * atk-bridge/bridge.c:
886 (spi_display_name): Fix C99ism.
887 Patch from Jens Granseuer, jensgr@gmx.net.
889 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
891 * configure.in: Added "or" to ALL_LINGUAS.
893 2004-08-20 Bill Haneman <bill.haneman@sun.com>
895 * configure.in, NEWS, README: Revved to 1.5.4.
897 * registryd/registry-main.c:
898 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
901 * cspi/bonobo/cspi-bonobo.c:
902 (cspi_display_name): New convenience method, gets DISPLAY with
903 screen number stripped, if AT_SPI_DISPLAY isn't already set.
904 (cspi_init): Set the activation env value above before getting
907 * atk-bridge/bridge.c:
908 (spi_display_name): Create the AT_SPI_DISPLAY activation
909 environment for an app, based on the DISPLAY environment with the
910 screen number stripped off.
911 (atk_bridge_init): Allow redirection of error messages to a log.
912 (spi_atk_bridge_get_registry): Call
913 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
915 Fixes for bugs #149962, #136986, #144086.
917 2004-08-16 Christian Rose <menthos@menthos.com>
919 * configure.in: Added "bs" to ALL_LINGUAS.
921 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
923 * configure.in: Added nb to ALL_LINGUAS.
925 2004-09-03 Bill Haneman <bill.haneman@sun.com>
928 (SPI_init): Return error code '2' if the activated
929 registry cannot be pinged. Fixes bug #147648.
931 2004-07-28 Bill Haneman <bill.haneman@sun.com>
933 * registryd/deviceeventcontroller.c:
934 (spi_dec_init_mouse_listener): Don't do XGrabButton,
935 rely on timer-poll instead, to avoid conflict with
938 2004-07-20 Bill Haneman <bill.haneman@sun.com>
940 * configure.in: Revved to 1.5.3.
942 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
944 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
946 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
948 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
950 2004-06-11 Bill Haneman <bill.haneman@sun.com>
952 * atk-bridge/bridge.c:
953 (spi_atk_bridge_do_registration):
954 Register with ATK for AtkComponent:bounds-changed events.
955 (api_atk_bridge_signal_listener):
956 Marshal the AtkRectangle info into the event notification
957 for object:bounds-changed events.
960 (spi_init_any_rect): New method, inits a corba struct of
961 type Accessibility_BoundingBox from an AtkRectangle.
963 * libspi/spi-private.h: Declared spi_init_any_rect (above).
966 (SPIRect): New struct definition.
967 (SPI_freeRect): New declaration.
968 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
971 (AccessibleBoundsChangedEvent_getNewBounds): New method,
972 implemented. Gets the bounding box data from the CORBA_any
973 associated with a bounds-changed event notification.
974 (cspi_internal_event_get_rect): New, used internally by above method.
977 (SPI_freeRect): Implemented this new method, for freeing
980 * test/event-listener-test.c:
981 (main, report_bounds_event):
982 Added a test for object:bounds-changed events.
984 2004-06-01 Bill Haneman <bill.haneman@sun.com>
986 * test/login-helper-server-test.c:
987 (main): Fix C99-ism. Thanks to Jens Granseuer.
989 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
991 * libloginhelper-1.0.pc.in:
992 * idl/Accessibility_LoginHelper.idl:
993 * login-helper/Makefile.am:
994 * login-helper/login-helper.[ch]:
995 * test/login-helper-client-test.c:
996 * test/login-helper-server-test.c: Added files missing from CVS.
997 Files obtained from at-spi-1.5.2 tarball.
999 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1001 * configure.in: Create login-helper/Makefile.
1002 Incremented micro version.
1004 * Makefile.am: Add login-helper subdir and pkgconfig data.
1006 * login-helper: New subdir.
1008 * libloginhelper-1.0.pc.in: New.
1010 * idl/Accessibility_LoginHelper.idl: New file, defines
1011 interface whereby authentication clients can identify agents which
1012 need access to services during the login process, e.g. screen lock
1015 * login-helper/Makefile.am : New.
1017 * login-helper/login-helper.[ch] : New, implementation of
1018 a LoginHelper base class. Services needing LoginHelper can subclass.
1020 * test/Makefile.am : Added test for login-helper, client and
1023 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1024 Use proper prefix in #include files.
1026 * test/login-helper-client-test.c: New.
1028 * test/login-helper-server-test.c: New.
1030 2004-05-27 Alexander Shopov <ash@contact.bg>
1032 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1034 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1036 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1037 is positive. This should make it easier to detect inapprorpiate unref
1040 2004-05-11 James Henstridge <james@daa.com.au>
1042 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1043 no-op and deprecated.
1045 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1047 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1049 2004-04-28 Bill Haneman <billh@gnome.org>
1051 * Makefile.am: Added --enable-gtk-doc to
1052 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1054 2004-04-19 Bill Haneman <billh@gnome.org>
1056 * configure.in: Revved to 1.5.1.
1058 * registryd/deviceeventcontroller.c:
1060 (DEControllerPrivateData): Added fields for
1061 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1062 (spi_dec_replace_map_keysym): New internal utility for
1063 replacing a keysym in the keymap - used to allow
1064 synthesis of individual characters which aren't in the
1066 (spi_dec_reset_reserved): New; resets the changed keysym value
1068 (keycode_for_keysym): We now try to deal with failed
1069 XKeysymToKeycode requests by changing a keymap value
1070 and returning a reserved keycode. We now take
1071 a DEController pointer as first arg.
1072 (spi_controller_register_with_devices): Call XkbGetMap with
1073 the XkbKeySymsMask. Find the highest keycode in the current
1074 keymap which doesn't have any grabs, and mark that one for
1075 temporary re-mapping when out-of-range KeySyms are synthesized.
1076 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1079 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1081 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1083 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1085 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1087 2004-03-24 Bill Haneman <billh@gnome.org>
1090 (AccessibleTable_addRowSelection),
1091 (AccessibleTable_addColumnSelection),
1092 (AccessibleTable_removeRowSelection),
1093 (AccessibleTable_removeColumnSelection):
1094 Add declarations for spi wrappers which were
1095 inadvertantly omitted. Fixes bug #133413.
1098 Revved to 1.5.0 (unstable series for GNOME 2.7).
1100 2004-03-24 Bill Haneman <billh@gnome.org>
1102 * atk-bridge/bridge.c:
1103 Bracketed some debug output in
1104 conditionals, to avoid printing it in normal use.
1107 * libspi/hyperlink.c:
1108 Don't cast 'object' to ATK_OBJECT when constructing
1109 an AtkAction interface for a hyperlink.
1110 See discussion in bug #120659.
1112 * test/key-listener-test.c:
1113 (report_all_key_event): Send output to stderr,
1114 not stdout, for consistency with the rest of the test callbacks.
1117 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1118 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1119 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1120 try incrementing the revision AFTER doing a dist, at least
1123 2004-03-22 Bill Haneman <billh@gnome.org>
1125 * configure.in: Revved to 1.4.0, libtool 9.14.9
1127 2004-03-17 Laszlo Peter <laca@sun.com>
1129 * libspi-1.0-uninstalled.pc.in: add idldir
1131 * cspi-1.0-uninstalled.pc.in: add idldir
1133 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1135 * configure.in: Added "en_GB" to ALL_LINGUAS
1137 2004-03-15 Bill Haneman <billh@gnome.org>
1139 * configure.in: Revved to 1.3.16,
1142 2004-03-15 Laszlo Peter <laca@sun.com>
1144 * libspi-1.0-uninstalled.pc.in: new file
1146 * cspi-1.0-uninstalled.pc.in: new file
1148 * configure.in: add the new pc files to AC_OUTPUT
1150 * Makefile.am: add the new pc files to EXTRA_DIST
1152 2004-03-12 Bill Haneman <billh@gnome.org>
1154 * atk-bridge/bridge.c:
1155 (spi_atk_bridge_key_listener):
1156 Make sure to return consumed=FALSE if snoop
1157 event is not dispatched to listener.
1160 2004-03-01 Bill Haneman <billh@gnome.org>
1162 * configure.in: Revved to 1.3.15,
1165 2004-03-07 Danilo Segan <dsegan@gmx.net>
1167 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1169 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1171 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1173 2004-03-01 Bill Haneman <billh@gnome.org>
1175 * configure.in: Revved to 1.3.14.
1178 (SPI_exit): Removed "bye-bye" exit message.
1179 Moved "leak" report to happen before the
1180 iteration over the leaked refs list.
1181 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1183 2004-02-24 Bill Haneman <billh@gnome.org>
1185 * configure.in: Revved to 1.3.13.
1187 * docs/reference/cspi/Makefile.am:
1188 Correct typo that was breaking the docs build.
1190 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1192 * autogen.sh: Require version 1.7 of automake.
1194 * configure.in: call GTK_DOC_CHECK([1.0])
1196 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1198 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1200 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1202 * test/Makefile.am: Remove use of CFLAGS.
1204 This fixes bug #132987.
1206 2004-02-11 Bill Haneman <billh@gnome.org>
1208 * reverted most of Tomasz' patch below, since it was breaking
1209 builds (see bug #134058).
1211 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1213 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1214 correct pass "make dist" (empty .. because seems no sach types in
1215 header files with gtk-doc markups).
1216 * docs/reference/cspi/Makefile.am, configure.in:
1217 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1218 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1219 * Makefile.am: added:
1220 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1221 for force correct pass generate documentation on "make distcheck".
1222 * libspi/Makefile.am: fixes for automake >= 1.6.
1223 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1224 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1227 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1229 * docs/reference/cspi/Makefile.am (install-data-local): Install
1230 index.sgml since the doc autobuilder on widget.gnome.org looks for
1233 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1235 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1238 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1240 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1242 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1244 * test/simple-at.c: Fixed null string problems that cause core
1245 dumping problems on Solaris.
1247 2004-01-12 Bill Haneman <billh@gnome.org>
1249 * configure.in: Incremented version to 1.3.11.
1251 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1253 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1254 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1257 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1259 * configure.in: Added "fa" to ALL_LINGUAS.
1261 2003-12-20 Arafat Medini <lumina@silverpen.de>
1263 * configure.in: Added "ar" to ALL_LINGUAS
1265 2003-12-16 Bill Haneman <billh@gnome.org>
1267 * registryd/registry-main.c:
1269 Set the reg_env DISPLAY variable before registering the
1270 activated registry service. Fixes bug #129479.
1272 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1274 * configure.in: Added "id" in ALL_LINGUAS
1275 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1277 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1279 * registryd/deviceeventcontroller.c (global_filter_fn):
1280 When an event is consumed discard any XEvents were added to
1281 the queue while dealing with the the event. This can happen if
1282 processing of the event takes a long time. Call XUngrabKeyboard
1283 if an event was discarded. This fixes bug $124837.
1284 Only call wait_for_release_event for a KeyPress.
1285 Use local variable display instead of spi_get_display().
1286 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1289 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1291 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1292 Allow for mask to contain values other than NumLock mask.
1295 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1297 * registryd/devieceventcontroller.c:
1298 (wait_for_release_event): Change first parameter from GdkEvent to
1300 (global_filter_fn); Correct call to wait_for_release_event.
1304 2003-12-08 Bill Haneman <billh@gnome.org>
1308 * registryd/ucs2keysym.c: New file.
1310 * registryd/deviceeventcontroller.c:
1311 (dec_keysym_for_unichar): Remove old partial implementation and
1312 replace with call to ucs2keysym(), which is much more complete.
1313 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1318 2003-12-05 Bill Haneman <billh@gnome.org>
1320 * configure.in: Version 1.3.9.
1322 * docs/reference/cspi/tmpl/spi_registry.sgml:
1323 Added reference to libspi/keymasks.h to the
1324 description of Registry queries: AccessibleKeyMaskType.
1327 2003-12-04 Bill Haneman <billh@gnome.org>
1329 Fix for bug #121974.
1331 * idl/Accessibility_Application.idl:
1332 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1333 setlocale's LC_TYPEs.
1334 (Accessibility::Application::getLocale): New method.
1335 Allows clients to query the locale, by type, of an app.
1338 * cspi/spi_application.c:
1339 (AccessibleApplication_getLocale): New method, wraps IDL above.
1341 * libspi/application.c:
1342 (spi_application_class_init): Init epv entry for getLocale.
1343 (impl_accessibility_application_get_locale): Impl for above.
1345 * test/test-simple.c:
1346 (test_application): Added assertion for getLocale, i.e.
1347 that the string from AccessibleApplication_getLocale (app, type)
1348 is the same as that from setlocale (type, NULL);
1350 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1352 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1353 the keyboard on a timeout intil the key state goes from pressed to
1354 released. Fixes bug #111429.
1356 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1358 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1359 root object so that it is present when a context menu in an
1360 out-of-process applet is popped up.
1361 (spi_atk_bridge_do_registration): Create acceessible application root
1362 object only if it does not exist.
1364 This fixes bug #125834.
1366 2003-12-01 Bill Haneman <billh@gnome.org>
1368 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1371 Added enum for AccessibleStreamableContentSeekType.
1372 (AccessibleStreamableContent_freeContentTypeList): New.
1374 * cspi/spi_streamablecontent.c:
1375 (accessible_bonobo_stream_client_seek): New private method.
1376 (AccessibleStreamableContent_seek): Implemented this method,
1377 using Bonobo_Stream_seek.
1378 (AccessibleStreamableContent_freeContentTypeList): New method
1379 for freeing the return value from
1380 AccessibleStreamableContent_getContentTypes.
1381 (stream_cache_item_free): Replaces stream_release; stop leaks.
1382 (stream_release): removed.
1383 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1384 free the memory properly.
1386 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1388 Fix for bug #116009.
1390 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1392 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1394 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1396 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1398 2003-12-01 Bill Haneman <billh@gnome.org>
1400 Fix for bug/rfe #127463.
1402 * idl/Accessibility_Accessible.idl:
1403 (getLocalizedRoleName): New.
1404 (unimplemented4): Removed (replaced by above).
1406 * libspi/accessible.c:
1407 (impl_accessibility_accessible_get_local_role_name): New.
1408 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1412 (Accessible_getLocalizedRoleName): New.
1414 * cspi/spi_accessible.c:
1415 (Accessible_getLocalizedRoleName): New.
1417 2003-12-01 Bill Haneman <billh@gnome.org>
1419 Fix for bug #118581.
1420 * idl/Accessibility_Text.idl:
1421 (getDefaultAttributes): New.
1422 (unimplemented4): Removed (replaced by above method).
1425 (impl_getDefaultAttributes): New method.
1426 (spi_text_class_init):
1427 initialize the get_default_attributes slot in the epv.
1430 (AccessibleText_getDefaultAttributes): New prototype.
1433 (AccessibleText_getDefaultAttributes): New method.
1435 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1437 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1438 write beyond the end of the table. Fixes bug #120473.
1440 2003-09-30 Christian Rose <menthos@menthos.com>
1442 * configure.in: Added "eu" to ALL_LINGUAS.
1444 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1446 * configure.in: ALL_LINGUAS: Added no.
1448 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1450 * configure.in: Added lt to ALL_LINGUAS.
1452 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1454 * atk-bridge/bridge.c:
1455 (atk_bridge_init): Register event listeners always even for
1456 out-of-process applet.
1457 (spi_atk_bridge_toplevel_added): Remove call to
1458 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1459 (spi_atk_bridge_toplevelk_removed): Remove call to
1460 spi_atk_deregister_event_listenersa as the listeners are now always
1462 (spi_atk_bridge_register_application): Remove call to
1463 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1465 This fixes bug #120991.
1467 * libspi/table.c (impl_getColumnDescription): Correct typo,
1468 pointed out by Bolian.Yin@sun.com.
1470 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1472 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1474 2003-09-08 Bill Haneman <billh@gnome.org>
1476 * configure.in: Revved to 1.3.7.
1478 This is the GNOME 2.4.0 release of at-spi.
1480 * docs/reference/cspi/Makefile.am:
1481 Removed spurious inclusion of 'index.sgml' in the
1482 html directory; this was breaking make distcheck and
1483 also some other build environments.
1485 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1487 * registryd/registry.[ch}:
1488 Add queue_handler_id and focus_object to SpiRegistry data structure.
1489 (registry_flush_event_queue): If event being discarded is
1490 "state-change:focused" store object as focus_object.
1491 (registry_start_queue): Remove queue handler and focus object
1493 (registry_discard_event): New function which discards a focus event
1494 if we had stored focus object in the registry.
1495 (registry_queue_event): Add new check that is_queueing is set as this
1496 function is reentrant.
1497 (registry_filer_event): Add call to registry_discard_event.
1499 This resolves issues raised in bug #108664.
1501 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1503 * configure.in: Added "bn" to ALL_LINGUAS.
1505 2003-09-04 Bill Haneman <billh@gnome.org>
1507 * cspi/spi_event.c: Documentation improvements for
1508 (SPI_registerAccessibleKeylistener).
1510 * docs/reference/tmpl/spi_registry.sgml:
1511 Documentation improvements for SpiAccessibleKeylistenerCB.
1513 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1515 * configure.in: Added "ro" to ALL_LINGUAS.
1518 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1520 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1521 not decremented to zero. Fixes bug #120725.
1523 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1525 * configure.in: Added "ja" to ALL_LINGUAS.
1527 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1529 * configure.in: Added "is" to ALL_LINGUAS.
1531 2003-08-22 Christian Rose <menthos@menthos.com>
1533 * configure.in: Added "nl" to ALL_LINGUAS.
1535 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1537 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1538 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1540 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1542 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1543 type for unspecified exception.
1544 * cspi_streamablecontect): Add include of string.h for memcpy.
1545 (stream_release): Correct call to bonobo_object_release_unref
1546 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1547 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1548 argument of _cspi_expection_throw.
1549 * libspi/hyperlink.c: Add include of libspi/action.h:
1550 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1551 * libspi/streamablecontent.c: add include of libspi/component.h.
1552 * regisrtyd/deviceeventcontroller.c:
1553 (spi_dec_translate_mask): Removed unused variable priv.
1554 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1555 * registryd/registry.c:
1556 (registry_filter_event): Remove unused variable queue_is-empty.
1557 (impl_registry_notify_event): Use correct modifier in fprintf call.
1559 This fixes compiler warnings reported in bug #120220.
1561 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1563 * registryd/registryd.c: Remove this file.
1565 2003-08-17 Sanlig Badral <badral@openmn.org>
1567 * configure.in: Added mn to ALL_LINGUAS.
1569 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1571 * configure.in: Added et to ALL_LINGUAS.
1573 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1575 * test/event-listener-test.c: Change active-descendant to
1576 active-descendant-changed.
1578 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1580 * configure.in: Added "fi" in ALL_LINGUAS.
1582 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1584 * configure.in: Added "hi" in ALL_LINGUAS.
1586 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1588 * configure.in: Revved to 1.3.6.
1592 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1594 * registryd/deviceeventcontroller.c
1595 (spi_device_event_controller_object_finalize): Fix typo in previous
1598 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1600 * registryd/deviceeventcontroller.c
1601 (spi_device_event_controller_object_finalize): Fix build on
1602 systems without XEvIE.
1604 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1606 * acconfig.h, configure.in, registryd/Makefile.am,
1607 registryd/devicecontoller.[ch]: Add XEViE support.
1609 2003-08-06 Wang Jian <lark@linux.net.cn>
1611 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1613 2003-08-06 Metin Amiroff<metin@karegen.com>
1615 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1617 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1619 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1620 MODIFIER_ALT in correct place.
1622 This fixes part of bug #118114.
1624 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1626 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1628 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1630 * configure.in: Added "ko" to ALL_LINGUAS.
1632 2003-07-28 Ole Laursen <olau@hardworking.dk>
1634 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1636 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1638 * configure.in: Added "sq" to ALL_LINGUAS.
1640 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1642 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1644 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1646 * configure.in: updated ALL_LINGUAS list
1648 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1650 * configure.in: Added Belarusian to ALL_LINGUAS.
1652 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1654 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1656 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1657 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1659 This fixes bug #116949.
1661 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1663 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1664 Correct CSPI to SPI in function documentation.
1666 This fixes bug #118054.
1668 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1670 * configure.in: Added Russian to ALL_LINGUAS.
1672 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1674 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1676 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1678 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1680 2003-07-10 Joel Brich <joel.brich@laposte.net>
1682 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1684 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1686 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1688 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1690 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1691 resources allocated for AccessibleEvent. See cspi_event().
1693 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1694 static variable streams to NULL.
1696 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1697 Update so that AcessibleEvent_ref will work.
1699 This fixes bug #116624.
1701 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1703 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1705 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1707 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1709 2003-07-02 Christian Neumair <chris@gnome-de.org>
1711 * configure.in: Added "de" (German) to ALL_LINGUAS.
1713 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1715 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1717 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1719 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1721 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1723 * configure.in: Added "pl" to ALL_LINGUAS.
1725 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1727 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1729 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1732 (get_action_from_servant):
1733 Removed assertion that action is implemented on an AtkObject.
1735 * libspi/hyperlink.c:
1736 (spi_hyperlink_new):
1737 Aggregate AccessibleAction interface on the hyperlink object if
1738 the object implements AtkAction. (This convention is used in
1741 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1743 * configure.in: Revved to 1.3.5.
1745 * registryd/Accessibility_Registry.server.in.in:
1746 Marked up appropriate strings for translation.
1748 * atk-bridge/bridge.c: Marked a couple of
1749 user-visible warnings for translation. Questionable
1750 whether they are really useful, but possibly so.
1753 2003-06-28 Christian Rose <menthos@menthos.com>
1755 * configure.in: Added "sv" to ALL_LINGUAS.
1757 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1759 * registryd/registry.c:
1760 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1761 (registry_defer_on_event): Defer focus: events, this is an
1762 improvement to the patch for bug #108664.
1764 * TODO: Update with 2.4/"Dev Complete" items.
1766 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1768 * atk-bridge/bridge.c:
1769 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1770 looks up signals once.
1771 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1772 if doing registration.
1773 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1774 when doing registration.
1776 This fixes bug #115014.
1778 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1780 * atk-bridge/bridge.c:
1781 (atk_bridge_init): Add signal handler for children-changed:remove on
1782 root when in a BonoboComponent.
1783 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1784 for first toplevel only other incrememt variable toplevels.
1785 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1786 application and remove listeners.
1787 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1789 (spi_atk_deregister_event_listeners): New function which removes
1791 (reinit_register_vars): New fuction which reinitializes variables.
1793 This fixes bug #111578.
1795 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1797 * configure.in: version 1.3.4.
1799 * cspi/spi_accessible.c:
1800 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1803 2003-06-13 Michael Meeks <michael@ximian.com>
1805 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1807 * cspi/spi_main.c (cspi_peek_ev): impl.
1809 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1811 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1813 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1815 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1816 SPI_ROLE_AUTOCOMPLETE
1818 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1820 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1821 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1823 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1825 * libspi/streamablecontent.h:
1826 * libspi/streamablecontent.c:
1827 New files, provide implementation/wrappers for
1828 Accessibility_StreamableContent.
1830 * cspi/spi_streamablecontent.c:
1831 Connected the C wrappers to the libspi C bindings.
1832 (AccessibleStreamableContent_close): New method.
1835 (AccessibleStreamableContent_close): New method, needed
1836 since we have an "open, [seek], read, close" model in cspi.
1838 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1840 Fix for #108664; Padraig's revision of my original patch.
1842 * registryd/registry.h:
1843 Added event queue list, is_queuing, and exit_notify_timeout
1844 to the registry struct.
1846 * registryd/registry.c:
1847 (registry_init): Initialize new struct from registry.h.
1848 (impl_registry_notify_event):
1849 Filter events before notifying, in case some need to be
1851 (registry_filter_event): New,
1852 we defer certain incoming events (for instance
1853 window:deactivate) because we may wish to hide
1854 or reject them based on pending events. This is
1855 mostly a workaround for bug #108664.
1856 (registry_queue_event, registry_start_queue): New.
1857 (registry_defer_on_event): Test event to see if it
1859 (registry_reset_on_event): Returns TRUE if the
1860 event should cause a queue reset.
1861 (registry_discard_on_event): Returns TRUE if the event
1862 should cause the previous queue contents to be discarded.
1863 (registry_timeout_flush_queue): Flushes the pending event
1864 queue if no reset/discard-triggering events have come in
1865 within the timeout period.
1866 (registry_emit_event): New.
1867 (registry_clone_notify_context): New, used when queueing the
1868 event notify contexts.
1870 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1872 * configure.in: Version revved to 1.3.2, lt 0.9.2
1873 Incremented ATK required version to 1.3.4.
1875 * cspi/spi_registry.c:
1876 (SPI_generateKeyEvent):
1877 We now pass the keystring along if it's non-null.
1879 * registryd/deviceeventcontroller.c:
1880 (keysym_mod_mask): New method, returns modifier mask
1881 required to generate a keysym from a given keycode.
1882 (dec_synth_keysym): New method.
1883 (dec_synth_keystring): New method.
1884 (dec_get_modifier_state): New method.
1885 (dec_lock_modifiers): New
1886 (dec_unlock_modifiers): New.
1887 (dec_keysym_for_unichar): New, rather brute-force
1888 conversion from UCS-4 to X KeySyms. Only works for
1889 Latin at the moment, with partial implementations for
1890 Greek, Hebrew, and (incomplete) Katakana.
1891 (impl_generate_keyboard_event): Now implement
1892 "KEYSTRING" synthesis and implement "KEYSYM"
1894 (keycode_from_keysym): Improved, passes a returned
1895 modmask value now if the corresponding param is non-NULL.
1897 Fixes bugs #92143 and #109776.
1900 * test/keysynth-test.c:
1901 New test program for key synthesis, to confirm fixes for
1905 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1907 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1909 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1910 Add line for RELATION_POPUP_FOR
1912 * docs/reference/cspi/tmpl/spi_relation.sgml:
1913 Add relation SPI_RELATION_POPUP_FOR
1915 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1916 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1918 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1920 * libspi/relation.c (spi_init_relation_type_table):
1921 Add line for RELATION_POPUP_FOR
1923 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1925 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1926 there are still windows which have not been deleted and emit
1927 window:deactivate, if necessary and window:destroy events.
1928 This fixes bug #114370. The change on June 5th was not correct.
1930 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1932 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1935 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1937 New methods for client exception handling and interception.
1938 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1939 (SPI_exceptionHandlerPop): You guessed it...
1940 (SPI_getSourceType): Return the type of object which offended.
1941 (SPI_getExceptionCode): Return an enum code telling, possibly,
1942 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1943 (SPIAccessibleException_getSource): get the source object for
1944 exceptions that come from Accessibles, if SPIExceptionSourceType is
1945 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1946 (SPIException_getDescription): New, returns a string description of
1947 the problem. [Not yet a stable ABI, strings are not frozen]
1949 * cspi/spi-private.h:
1950 Added implementation details of opaque SPIException
1954 Implementations of above. Also
1955 (_cspi_exception_throw): new private method that
1956 dispatches exceptions to handlers, called from cspi-bonobo.c
1958 * cspi/bonobo/cspi-bonobo.c:
1959 (cspi_check_ev): call _cspi_exception_throw.
1960 Don't print a warning message if the exception has been
1961 handled by _cspi_exception_throw.
1963 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1965 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1966 there are still windows which have not been deleted and emit
1967 window:deactivate, if necessary and window:destroy events.
1968 This fixes bug #114370.
1970 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1973 (cspi_accessible_is_a): Make non-fatal
1974 if the object reference is dead.
1976 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1978 * cspi/spi_main.c: #include <stdio.h>
1979 * test/simple-at.c: ditto
1980 * test/event-listener-test.c: ditto
1981 * test/screen-review-test.c: ditto
1983 2003-05-30 Michael Meeks <michael@ximian.com>
1985 * test/test-simple.c (main): use CORBA_ORB_perform_work
1986 instead of an unnecessary linc_ call.
1988 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1990 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1991 Add SPI_STATE_INDETERMINATE.
1993 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1996 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1998 * libspi/stateset.c (init_state_type_tables): Add support for
2001 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2003 * configure: Update versions of atk and gail required.
2004 This fixes bug #113268.
2006 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2008 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2010 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2012 * libspi/Makefile.am:
2013 Ensure headers are generated before being used by c sources.
2015 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2018 Simplified lt versioning rules.
2019 Incremented version to 1.3.0, to indicate that we're on the
2020 unstable branch now.
2022 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2024 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2025 Add MKDB_OPTIONS=--outtput-format=xml
2027 * docs/reference/cspi/at-spi-cspi-docs.sgml
2028 docs/reference/idl/at-spi-idl-docs.sgml:
2029 Convert to Docbook XML.
2031 This fixes bug #111793.
2033 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2035 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2036 AcccessibleKeyEventType, AccessibleKeyMaskType.
2038 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2040 * cspi/state-types.h: Add documentation for AccessibleState.
2042 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2043 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2044 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2045 AccessibleComponentLayer.
2047 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2050 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2052 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2053 Accessible. Add description of AccessibleEvent,
2054 AccessibleEventListenerCB.
2056 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2059 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2060 documentation. Add description of AccessibleKeystrokeListenerCB,
2061 AccessibleKeyEventMask, AccessibleModifierMaskType,
2062 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2063 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2065 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2068 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2071 This fixes bug #104730.
2073 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2075 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2076 Set is_text field of Accessibility_DeviceEvent data structure.
2078 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2079 is-text field of AccessibleDeviceEvent data structure.
2081 This addresses part of bug #108666.
2083 * registryd/devcieeventcontroller.c: Unset debug option.
2085 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2087 * cspi/accessible.c:
2088 (cpi_initial_relation_type_table): New function which initializes
2089 mapping between Accessibility_RelationType and AccessibleRelationType.
2090 (cspi_relation_type_from_spi_relation_type): New function which
2091 translates an Accessibility_RelationType into an AccessibleRelationType.
2092 (AccessibleRelation_getRelationType): Use
2093 cpi_relation_type_get_spi_relation_type to return correct value.
2094 (spi_state_to_corba): Return correct type for default case.
2096 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2097 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2099 * cspi/cspi-bonobo-listener.c:
2100 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2103 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2104 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2105 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2106 libspi/image.c, libspi/listener.c, libspi/selection.c,
2107 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2108 registryd/desktop.c, registryd/registry.c:
2109 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2111 * libspi/eventlistener.c
2112 Remove semicolon after BONOBO_TYPE_FUNC.
2114 * libspi/relation.c:
2115 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2116 (spi_init_relation_type_table): Initialize using correct type.
2118 * registryd/desktop.c:
2119 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2120 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2121 of Accessibility_KeyEventType.
2123 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2126 * tests/simple-at.c, tests/screen-review-test.c:
2127 Add include for <strings.h>.
2129 * tests.stress-test.c:
2130 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2132 These changes fix compiler warnings when using FORTE compiler on
2133 Solaris; fixes bug #107479.
2136 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2139 * configure.in: revved to 1.1.10
2141 * libspi/keymasks.h:
2142 (SPI_KEYMASK_NUMLOCK): Added.
2144 * registryd/deviceeventcontroller.c:
2145 (spi_key_event_matches_listener): AND with a smaller
2146 bitmask (as we should).
2147 (spi_dec_translate_mask):
2148 New method, sets the virtual NumLock modifier bit
2149 if numlock is on. Eventually it can handle other virtual
2150 modifier bits if needed, or other marshalling from
2151 at-spi modifier masks to platform (X) masks.
2152 (spi_dec_key_listener_new):
2153 Call spi_dec_translate_mask to set up virtual mod bits
2154 in the 'mask' field when creating a new listener struct.
2155 (spi_dec_emit_modifier_event):
2156 Set the virtual (i.e. NumLock) bits before emitting event.
2157 (spi_controller_register_with_devices):
2158 Query for the NumLock modifier 'physical' bit if Xkb is
2159 present, for use in above methods.
2163 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2165 * registryd/deviceeventcontroller.c:
2166 (spi_keystroke_from_x_key_event):
2167 Instead of checking to see if the keysym is
2168 printable, check the string from XLookupString
2169 if available, get the first unicode character from it,
2170 and call g_unichar_isprint to determine whether the
2171 is_text flag should be TRUE or FALSE.
2175 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2177 * atk-bridge/bridge.c: Add support for extended events
2178 * cspi/spi_event.c: Add documentation and implementation for
2180 * tests/event-listener-test.c: Add tests for extended events.
2182 This fixes bugs #100424 and #100426.
2184 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2186 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2187 of LT_CURRENT. This fixes bug #89350.
2189 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2191 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2192 number of signal parameter values before accessing them. This fixes
2195 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2197 * configure.in: Fixed duplicate inclusion of -lspi.
2198 * branched for gnome-2-2/HEAD.
2199 [created tag "gnome-2-2"]
2201 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2203 * configure.in: 1.1.9 release.
2206 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2208 [needed by GOK, to fix bugs 107985 and 107988]
2209 * registryd/deviceeventcontroller.c:
2210 (spi_dec_clear_unlatch_pending):
2211 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2212 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2213 (spi_dec_init_mouse_listener):Emit warning if mouse button
2215 (spi_device_event_controller_forward_mouse_event):
2216 Removed unnecessary parens from a conditional.
2217 (global_filter_fn):Added TODO comment.
2218 (impl_generate_keyboard_event):
2219 Cancel a pending relatch if a 'delatching' key was
2222 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2224 * atk-bridge/bridge.c:
2225 Change atk_signal_child_changed to atk_signal_children_changed.
2226 Reorganize code in spi_atk_bridge_signal_listener().
2228 * test/event-listener-test.c:
2229 Add children_changed_listener and report_children_changed_event()
2230 to test AccessibleChildEvent_getChildAccessible.
2232 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2234 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2235 g_strdup to CORBA_String_dup (bug #105291)
2237 * test/event-listener-test.c (report_text_event): Add call to
2240 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2242 * registryd/deviceeventcontroller.c:
2243 (spi_keystroke_from_x_key_event):
2244 Fix string and keysym return codes to match modifier state.
2247 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2249 * registryd/deviceeventcontroller.c:
2250 (spi_keystroke_from_x_key_event):
2251 Fix segv due to improper use of isprint(c). [bug #107254]
2253 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2256 (get_accessible_text_boundary_type):
2257 Move default return value to (new) default case in switch.
2258 (get_accessible_text_clip_type):
2259 Move default return value to (new) default case in switch.
2261 * libspi/application.c:
2262 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2263 Remove unused methods.
2264 (impl_accessibility_application_register_object_event_listener):
2265 Remove unused methods.
2268 Added #include of <math.h>.
2270 * registryd/deviceeventcontroller.c:
2271 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2272 we don't currently use this method.
2273 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2275 (impl_generate_key_event):
2276 Remove unused variables.
2277 (impl_generate_mouse_event):
2278 Initialize button to zero, just in case we get an invalid
2279 input. Added support for mouse buttons 4 and 5.
2280 (spi_device_event_controller_new):
2281 Removed unused variable declaration for 'private'.
2283 Added #include of <gdk/gdk.h>
2285 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2287 * configure.in: Update to work when X is not installed in expected
2288 location. Fixes bug #105836.
2290 * atk-bridge/bridge.c
2291 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2293 (spi_atk_register_event_listener): Add signal listener for
2295 (spi_atk_bridge_signal_listener): Event event when link-selected
2296 signal is emitted. (bug #104622)
2298 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2299 on returned string. (bug #105291)
2301 * test/event-listener-test.c: Add test for link-selected.
2303 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2305 * atk-bridge/Makefile.am: Correct typo in previous commit.
2307 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2309 * atk-bridge/Makefile.am: Allow for build directory to be different
2310 from source directory
2312 * registryd/Makefile.am: Allow for build directory to be different
2313 from source directory
2317 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2320 Fixed dependencies for libcspi so that libspi gets pulled in
2321 properly. Fixes 104741.
2325 Clean up inline docs a little.
2327 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2329 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2330 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2331 the AtkObject within an SpiDesktop.
2332 This addresses bug #101524.
2334 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2335 Remove call to gdk_init().
2337 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2338 so that Display is set when SpiDesktop is created.
2340 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2342 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2343 This fixes bug #102830.
2345 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2347 * test/test-simple.c: Update to take account of fact that GailButton
2348 now implements AtkText.
2349 (create_text_window): Set name on AtkObject for GtkEntry.
2350 (validate_accessible): Check accessible name before calling test_text().
2352 * libspi/Makefile.am: Fix problem with building outside of source
2353 directory. Bug #98120.
2355 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2356 typo in documentation comments. Bug #94275.
2358 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2360 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2362 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2365 Add includes to avoid compiler warnings on Solaris.
2366 (impl_getRangeExtents): Bug fix.
2368 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2370 Fix for 100944, [API addition approved by Gman and murrayc].
2377 * idl/Accessibility_Text.idl:
2378 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2379 (Text::getRangeExtents): New method for efficient
2380 bounds query of a text range.
2381 (Text::getBoundedRanges): New method for efficient
2382 clipping of text to bounding boxes.
2383 (unImplemented7, unImplemented8):
2384 Removed these padding methods to preserve bincompat.
2387 (impl_getRangeExtents): implementation of new IDL.
2388 (impl_getBoundedRanges): implementation of new IDL.
2389 (SpiTextRect): Internal use struct.
2390 (_spi_text_rect_union): internal method, calculates union of two
2391 SpiTextRect bounding rects.
2392 (_spi_text_range_seq_from_gslist): internal method, allows us
2393 to build our sequence efficiently as a gslist then convert it
2395 (_spi_bounds_contain): internal method, determines whether
2396 a text character is "in" or "out" of a clip rect according to
2397 values of TEXT_CLIP_TYPE.
2398 (spi_text_class_init): Initialize the new methods in the epv.
2401 (AccessibleTextClipType): New enum used by screen review api.
2402 (AccessibleTextRange): New struct used by screen review api.
2403 (AccessibleText_getRangeExtents):
2404 cspi binding for Accessibility_Text_getRangeExtents.
2405 (AccessibleText_getBoundedRanges):
2406 cspi binding for Accessibility_Text_getBoundedRanges.
2407 (AccessibleTextRange_freeRanges): convenience method.
2410 (AccessibleText_getRangeExtents):
2411 cspi binding for Accessibility_Text_getRangeExtents.
2412 (AccessibleText_getBoundedRanges):
2413 cspi binding for Accessibility_Text_getBoundedRanges.
2414 (AccessibleTextRange_freeRanges): convenience method.
2415 (get_accessible_text_clip_type): internal conversion method.
2416 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2418 * registryd/deviceeventcontroller.c:
2419 (spi_dec_mouse_check):
2420 Improved behavior for mouse:abs events
2421 [same granularity as mouse:rel events, and no
2422 events when mouse is idle].
2424 2002-12-16 Michael Meeks <michael@ximian.com>
2426 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2428 * libspi/stateset.c (state_spi_to_atk): split out
2429 ( fix several remote array bounds nasties )
2430 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2431 (impl_remove): make safe from array bounds issues.
2432 (spi_atk_state_from_spi_state): impl.
2434 * libspi/stateset.h (spi_state_set_cache_is_empty):
2435 add a set of wrapper defines to get layering right.
2437 * cspi/spi_accessible.c: update state set stuff to
2440 2002-12-14 Michael Meeks <michael@ximian.com>
2442 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2443 to avoid 2 roundtrips to the registry per key event
2444 (spi_atk_bridge_key_listener): upd.
2445 (deregister_application): release the dec.
2447 * registryd/registry.c (notify_listeners_cb):
2448 bin lots of re-enterant complexity - we no longer
2449 do a round-trip bonobo ref here, ensure that a single
2450 listener's exception failure won't poison all other
2452 (impl_registry_notify_event): bin obvious memory leak.
2454 2002-12-13 Michael Meeks <michael@ximian.com>
2456 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2457 init the ev so the error is meaningful.
2458 (spi_atk_bridge_key_listener): ditto.
2460 * cspi/spi_main.c (cspi_ev): init the ev so we start
2461 with a clean slate, otherwise the first exception
2462 kills us completely.
2464 * cspi/spi_text.c (get_accessible_text_boundary_type):
2465 add a fallthrough for no warnings.
2467 * cspi/spi_registry.c: prune unused warnings.
2469 * cspi/spi_main.c (cspi_object_take): fix
2470 mind-blowing brokenness ( by watching the compile
2473 * cspi/spi_accessible.c (Accessible_getStateSet):
2474 re-impl. to use an AtkStateSet.
2475 (spi_state_type_from_accessible_state),
2476 (init_state_table): bin these.
2478 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2480 (atk_state_set_from_accessibility_state_set): here.
2482 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2483 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2484 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2485 (AccessibleStateSet_add, AccessibleStateSet_remove),
2486 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2487 (AccessibleStateSet_isEmpty): re-write to use a local
2490 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2492 * configure.in: Revved to 1.1.7 (new keymask vals).
2494 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2496 * libspi/keymasks.h:
2497 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2499 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2502 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2503 to compare two CORBA_TypeCodes.
2504 (cspi_internal_event_add): Silence warning from FORTE compiler.
2506 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2507 avoid implicit declaration of functions.
2509 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2511 * atk-bridge/bridge.c:
2512 (spi_atk_bridge_init_event_type_consts): Store signal id for
2513 active-descendant-changed signal.
2514 (spi_atk_register_event_listeners): Add signal listener for
2515 active-descendant-changed signal,
2516 (spi_atk_bridge_signal_listener): Move code in function
2517 spi_atk-signal_emit_event() into this function.
2518 Add support for active-descendant-changed
2519 Update support for child-changed signal.
2520 (spi_bridge_window_event_listener): Silence warning.
2522 * libspi/spi_private.[ch]:
2523 (spi_init_any_object): Change second parameter from CORBA_Object to
2525 Omit call to CORBA_Object_duplicate().
2526 Set CORBA_any's _value to CORBA_Object*.
2528 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2534 (AccessibleEvent_ref, AccessibleEvent_unref):
2535 New methods, for persisting an event outside the emission context.
2536 Must be used if the new accessor methods are to be called
2537 outside of the event listener's callback.
2539 * cspi/bonobo/cspi-bonobo.c:
2540 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2541 as second parameter instead of NULL, so we can call
2542 cspi_check_ev afterwards.
2545 (cspi_object_take): New internal method,
2546 converts a CORBA_Object reference to a hard ref on
2547 an Accessible if possible, returning NULL if the object
2548 reference is invalid or an Accessible * otherwise.
2551 (AccessibleEvent_ref):
2552 Increment the event's internal private refcount, and
2553 add the event's internal struct to an internal cache
2554 if it's not already there.
2555 (AccessibleEvent_unref):
2556 Decrement the event's refcount and remove it from
2557 the cspi event cache if refcount==0.
2558 (cspi_event_compare): New private method.
2559 Compares two event structs via their ids. Used
2561 (cspi_internal_event_lookup): New private method.
2562 (cspi_internal_event_check): New private method,
2563 a 0-order sanity check for events to make sure their
2564 private data is intact.
2565 (cspi_internal_event_add, cspi_internal_event_remove):
2566 New private methods for managiing the event cache.
2568 * cspi/bonobo/cspi-bonobo-listener.c:
2570 Initialize the new private data elements (id, magic, ref_count).
2572 * atk-bridge/bridge.c:
2573 (spi_atk_bridge_signal_listener):
2574 Fixed bug #100530, passing wrong params to emission func.
2576 * registryd/deviceeventcontroller.c:
2577 (spi_dec_button_update_and_emit):
2578 Fixed type in mask bit operations; fix for #99799.
2580 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2582 Removed some of the more dangerous workarounds from
2583 previous commit; they are only needed by GOK, which
2584 in reality should be using another method to accomplish
2585 the goals. So on reconsideration some of the workarounds
2586 need to be reverted:
2588 * registryd/deviceeventcontroller.c:
2589 (spi_keycodes_contain, spi_dec_init_keycode_list):
2590 Removed these methods, used only by a nasty hack to try
2591 and detect whether a key synthesis should be allowed
2592 to reset the XKB latch state or not. This code was only
2593 required to work around an interaction between GOK,
2594 button events, and XKB.
2595 (impl_generate_key_event):
2596 Removed hack at end of key generation that tried to
2597 "do the right thing" if XKB latch keys were generated
2598 in the midst of button press/release pairs.
2601 Added a check for HAVE_XINPUT. Not normally used yet.
2603 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2605 Workarounds and fixes for mouse event/XKB interaction.
2607 * registryd/deviceeventcontroller.c:
2608 (spi_keycodes_contain, spi_dec_init_keycode_list):
2609 New internal methods.
2610 (spi_dec_set_unlatch_pending):
2611 Split the method that tells XKB to expect an
2612 unlatch (and revert it) out of the rest of the
2613 event handling code. This method is called by the
2614 two mouse event handlers (the poll and the filter).
2615 (spi_dec_update_and_emit, spi_dec_mouse_check):
2616 New methods split from spi_dec_poll_mouse_moved.
2617 The second one is now called from inside the filterFn
2618 when an XKB delatch event is received, to determine
2619 whether to revert the delatch or not.
2620 (spi_poll_mouse_moved): Refactor; also we can now
2621 properly handle the case where multiple button states
2622 have changed between polling cycles and we didn't get
2623 notified due to another client's grab.
2625 Synchronize the server while handling an XKB notification.
2626 Ugly, but apparently necessary to avoid nasty races.
2627 Check the mouse state on receipt of an XKB latch change,
2628 to decide whether to revert the latch or not. (Latches are
2629 reverted if there is an immediately preceding mouse button
2630 event that a client has consumed, in which case we don't want
2631 the user to see the side-effect of the event).
2632 (spi_device_event_controller_forward_mouse_event):
2633 Check for modifier events and fire before resetting mouse_mask_state,
2634 prevents losing modifier events.
2636 (impl_generate_keyboard_event):
2637 If we've just generated a keyboard event for a non-shift key,
2638 we don't want to revert the pending XKB latch.
2639 Otherwise, check the modifier state (via a call to
2640 spi_dev_mouse_check) and set the relatch mask to
2641 that state before returning.
2643 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2646 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2649 * atk-bridge/bridge.c:
2650 (spi_atk_register_event_listeners):
2651 Don't re-register for ATK events if the registry has died
2652 and the app needs to re-register; the ATK listeners are in
2653 process and doing so will cause duplicate emission.
2655 * registryd/deviceeventcontroller.c:
2656 (spi_poll_mouse_moved):
2657 Reformat the source, detect and emit multiple button-change
2658 events (i.e. if multiple buttons have changed between poll
2660 Add code to detect mouse-down events even when the pointer
2661 is grabbed; workaround for GOK bug 98420.
2662 (spi_controller_register_with_devices):
2663 Call XTestGrabControl with 'impervious' flag set to True,
2664 allows us to synthesize events and query the pointer even during
2665 an active grab by another client.
2666 (spi_device_event_controller_forward_mouse_event):
2667 Set the mouse_mask_state to the mouse_button_state from
2668 the intercepted event, to synchronize the grab listener with
2671 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2673 * cspi/spi_accessible.c:
2674 (AccessibleRole_getName):
2675 Added necessary strings for making this (deprecated)
2676 method work with the new role types.
2677 (init_role_table, role_table):
2678 Added definition of SPI_ROLE_APPLICATION.
2680 * libspi/spi-roletypes.h:
2681 Added SPI_ROLE_APPLICATION.
2683 * idl/Accessibility_Role.idl:
2684 Added ROLE_APPLICATION.
2686 * docs/reference/cspi/at-spi-cspi-decl.txt:
2687 Added SPI_ROLE_APPLICATION to docs.
2689 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2691 * cspi/spi_accessible.c
2692 (cspi_init_role_table): Do not write beyond end of role_table.
2693 (Accessible_getRole): Use correct type for value returned by
2694 Accessibility_Accessible_getRole().
2696 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2697 beyond end of role_table. (This fixes bug #98269)
2699 * libspi/application.c: Add include file spi-private.h for
2700 definition of spi_init_any_nil.
2702 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2706 * libspi/spi-private.h:
2707 Added DGB() macro, and extern int _dbg declaration.
2709 * registryd/registry.c:
2710 (definitions) storage for _dbg.
2711 (spi_registry_init):
2712 Get environment variable "AT_SPI_DEBUG".
2713 (spi_registry_set_debug):
2714 New method, to initialize _dbg value.
2715 (spi_listener_struct_new, spi_registry_object_finalize):
2716 (notify_listeners_cb):
2717 Changed fprintfs to use DBG and g_warning().
2719 * registryd/deviceeventcontroller.c:
2720 (_deregister_keygrab, spi_controller_register_device_listener):
2721 Changed debug/warning messages to use DBG macro.
2723 * libspi/listener.c:
2724 (impl_notify_event):
2725 Changed warning messages to use DBG macro and g_warning().
2727 * atk-bridge/bridge.c:
2728 (atk_bridge_init, spi_atk_bridge_get_registry):
2729 (spi_atk_bridge_exit_func):
2730 (spi_atk_bridge_property_event_listener):
2731 Changed status, warning, and error messages to use
2732 g_warning, g_message, and DBG macros.
2735 Read the state of the AT_SPI_DEBUG environment variable
2736 and set a local '_dbg' accordingly.
2738 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2740 FIXES for 98836, 98842, other bugs.
2743 Revved to 1.1.4, interface-age=4, binary-age=4.
2745 * registryd/deviceeventcontroller.c:
2747 Fixed crasher bug in last_mouse_pos initialization.
2749 * registryd/registry.c:
2750 (desktop_add_application, desktop_remove_application):
2751 Added (and then commented out) some support for
2752 object context marshalling. [TODO]
2754 * atk-bridge/bridge.c:
2755 (spi_atk_bridge_event_context_create):
2756 Commented out object context creation until it can
2757 be properly tested and debugged.
2759 * registryd/registry.c:
2760 (impl_registry_notify_event):
2761 Fixed crasher bug, we were calling
2762 spi_re_entrant_list_foreach () with an empty list.
2764 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2766 * idl/Accessibility_Action.idl:
2767 * idl/Accessibility_Component.idl:
2768 * idl/Accessibility_Desktop.idl:
2769 * idl/Accessibility_Event.idl:
2770 * idl/Accessibility_Hyperlink.idl:
2771 * idl/Accessibility_Image.idl:
2772 * idl/Accessibility_Relation.idl:
2773 * idl/Accessibility_Selection.idl:
2774 * idl/Accessibility_State.idl:
2775 * idl/Accessibility_Value.idl:
2776 Updated unimplemented slot count to minimum of
2777 four for all interfaces, for ABI freeze.
2779 * idl/Accessibility_EditableText.idl:
2780 * idl/Accessibility_Text.idl:
2781 Updated unimplemented slot count to six
2784 * idl/Accessibility_Registry.idl:
2785 Updated unimplemented slot count to six
2786 (also for DeviceEventController),
2789 * idl/Accessibility_Table.idl:
2790 Updated unimplemented slot count to eight,
2793 * idl/Accessibility_Event.idl:
2794 Added CORBA_any "any_data" member to Event struct.
2796 * idl/Accessibility_Event.idl:
2797 Added CORBA_any "any_data" member to Event struct.
2799 * atk-bridge/bridge.c:
2801 atk_signal_text_changed, atk_signal_child_changed,
2802 signal ids queried from gtype system.
2803 (AtkBridgeEventContextType): New enum.
2804 (AtkBridgeEventContextData): New struct.
2805 (AtkBridgeEventContext): New struct.
2806 (atk_bridge_init_event_type_consts):
2807 New method, initializes type contants for comparison
2808 prior to emit_eventv.
2809 (atk_bridge_event_context_init): New method,
2810 initializes a CORBA_any from an AtkBridgeEventContext.
2811 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2812 initialize the event.any_data struct.
2813 (spi_atk_bridge_event_context_create): New method,
2814 creates an AtkBridgeEventContext from signal/event info.
2815 (spi_atk_bridge_event_context_free): New method.
2816 (spi_atk_emit_eventv): Changed to take an
2817 AtkBridgeEventContext parameter. We now initialize
2818 the event.any_data member prior to notifying the
2819 Registry, via the AtkBridgeEventContext.
2820 (spi_atk_bridge_property_event_listener):
2821 (spi_atk_bridge_state_event_listener):
2822 Match emit_eventv signature.
2823 (spi_atk_bridge_object_event_listener):
2824 Match emit_eventv signature, and create an
2825 event context from the event details.
2826 Free the event context afterwards.
2827 (spi_atk_bridge_window_event_listener):
2828 Create an event context, pass it to the
2832 (AccessibleEvent_getContextString):
2833 (AccessibleEvent_getContextObject):
2834 New methods, allow query of AccessibleEvent objects
2835 for more context details (via the "any_data" member
2836 of the Event struct, above).
2839 Definitions for AccessibleEvent_getContextString
2840 and AccessibleEvent_getContextObject.
2842 * cspi/spi_listener.h:
2843 (InternalEvent): New struct.
2846 (AccessibleEvent_getContextString):
2847 (AccessibleEvent_getContextObject):
2848 Implementations of new methods, for obtaining
2849 additional context information from some event types.
2851 * cspi/spi_registry.c:
2852 (SPI_registerGlobalEventListener):
2853 Added mention of active-descendant-changed event in docs.
2855 * cspi/cspi-bonobo-listener.c:
2857 Marshal the any into the AccessibleEvent via
2860 * libspi/spi-private.h:
2861 #include <orbit/orbit.h>
2863 (spi_init_any_string):
2864 (spi_init_any_object):
2865 New convenience function declarations.
2869 (spi_init_any_string):
2870 (spi_init_any_object):
2871 New convenience function implementations.
2873 * registryd/deviceeventcontroller.c:
2874 (spi_poll_dec_mouse_moved):
2875 (spi_device_event_controller_forward_mous_event):
2876 Initialize any_data member of event.
2877 (spi_deregister_controller_device_listener):
2878 Fix incorrect param pass which was preventing deregistration.
2880 * registryd/registry.c:
2881 (desktop_add_application):
2882 (desktop_remove_application):
2883 Add object data to event's any_data before dispatch.
2885 Fix for error messages from GAIL.
2887 * test/event-listener-test.c:
2888 Test new ContextString and "any_data" API:
2889 (report_text_event): New method query and output context string.
2890 (main): register a new text listener with report_text_event
2893 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2895 Fixes for bugs 98127 and 97914.
2896 * cspi/spi-roletypes.h:
2897 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2899 * cspi/spi-statetypes.h:
2900 Added SPI_STATE_MANAGES_DESCENDANTS
2902 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2903 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2904 * cspi/spi_accessible.c:
2905 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2906 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2907 Accessibility_STATE_MANAGES_DESCENDANTS
2908 * libspi/accessible.c:
2909 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2910 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2911 As requested by Bill, I also cleaned up the alignment.
2912 * libspi/relation.c:
2913 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2914 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2915 * libspi/stateset.c:
2916 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2917 Accessibility_STATE_MANAGES_DESCENDANTS
2918 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2919 Document changes reflecting modifications to roles.
2920 * docs/reference/cspi/tmpl/spi_relation.sgml:
2921 Document changes reflecting modifications to relations.
2922 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2923 Document changes reflecting modifications to states.
2925 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2928 Revved to 1.1.3, interface-age=3, binary-age=3.
2929 Added REBUILD macro.
2932 Removed accessx-gui from the tests, since we have a nice
2933 keyboard accessibility capplet now :-)
2935 * test/keysynth-demo.c:
2936 (increment_scan): removed do-nothing default: case,
2939 * test/visual-bell.c:
2940 (main) : removed do-nothing default: case,
2943 * cspi/spi_action.c:
2944 (AccessibleAction_getKeyBinding_):
2945 Documented keybinding string format.
2949 (AccessibleText_getAttributes):
2950 Documented the text attribute string format.
2951 It's changed to use semicolon delimiters also,
2952 to prevent clashes with CSS attributes, but the old
2953 trick of looking for ", " strings will still work
2954 (as unreliably as ever). Fix for bug related to 97916.
2957 Include <cspi/bonobo/cspi-bonobo-listener.h>
2958 Fixes build warning.
2959 (SPI_freeAccessibleKeySet):
2960 (AccessibleKeystrokeListener_addCallback):
2961 (AccessibleKeystrokeListener_removeCallback):
2962 Modify to use AccessibleDeviceListener API internally,
2963 instead of AccessibleKeystrokeListener.
2965 * idl/Accessibility_Event.idl:
2966 Added two more empty slots to EventListener (for a total of four).
2968 * idl/Accessibility_Accessible.idl:
2969 Added four empty slots to Accessible interface.
2971 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2973 * idl/Accessibility_Registry.idl:
2974 (KeyEventType, EventType):
2975 Marked KeyEventType as deprecated; it duplicates
2976 functionality of EventType, which has been extended to
2977 include Mouse-button events.
2978 (KeyEventTypeSeq): defined in terms of EventType.
2979 (registerDeviceEventListener, deregisterDeviceEventListener):
2980 New methods, for managing listeners to device events,
2981 which potentially may consume them.
2984 Added definition for AccessibleDeviceListener.
2986 * cspi/spi-listener.h:
2987 (enum AccessibleDeviceEventType):
2988 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2989 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2990 for backwards compat.
2991 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2992 and typedef'd AccessibleKeystroke to it for back-compat.
2993 (AccessibleDeviceListenerCB):
2994 New function prototype typedef.
2997 (AccessibleDeviceEventMask): New typedef.
2998 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2999 (AccessibleKeyMaskType):
3000 Set equivalent to AccessibleModifierMaskType for back-compat.
3001 (SPI_createAccessibleKeystrokeListener):
3002 (AccessibleKeystrokeListener_unref):
3003 Deprecated in favor of equivalent (better-named) new API below..
3004 keystroke listeners are like all device listeners.
3005 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3006 New API names for old features :-).
3007 (AccessibleDeviceListener_addCallback):
3008 (AccessibleDeviceListener_removeCallback):
3009 (SPI_registerDeviceEventListener):
3010 (SPI_deregisterDeviceEventListener):
3014 (SPI_createAccessibleKeystrokeListener):
3015 Use new preferred API, cspi_device_listener_new() and
3016 cspi_device_listener_add_cb().
3017 (AccessibleKeystrokeListener_removeCallback):
3018 Use new preferred API, cspi_device_listener_remove_cb().
3019 (AccessibleKeystrokeListener_unref):
3020 Use new preferred API, cspi_device_listener_unref().
3021 (SPI_createAccessibleDeviceListener):
3022 (AccessibleDeviceListener_addCallback):
3023 (AccessibleDeviceListener_removeCallback):
3024 Implementation of new API.
3026 * cspi/spi_registry.c:
3027 (SPI_registerDeviceEventListener):
3028 (SPI_deregisterDeviceEventListener):
3029 Implementation of new API. Fixed memory leak and removed need to
3030 allocate EventTypeSeq (thanks Michael for catching this).
3031 Squashed a wayward CORBA_exception_free that shouldn't get called.
3033 * cspi/bonobo/cspi-bonobo-listener.c:
3035 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3036 (cspi_key_event): renamed to cspi_device_event().
3037 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3038 Extended to handle mouse button events as well as key events.
3039 (CSpiKeystrokeListener):
3040 Class superceded by CSpiDeviceListener.
3041 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3042 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3044 * cspi/bonobo/cspi-bonobo-listener.h:
3045 (CSpiKeystrokeListener):
3046 Class superceded by CSpiDeviceListener.
3047 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3048 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3050 * libspi/Makefile.am:
3051 Replaced keystrokelistener.h and keystrokelistener.c
3052 with devicelistener.h and devicelistener.c; keystrokelisener.h
3053 stub retained for back-compat.
3055 * libspi/keystrokelistener.c:
3059 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3061 * registryd/deviceeventcontroller.c:
3062 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3063 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3064 (DEControllerPrivateData): Added xkb settings data.
3065 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3066 button release events (which can't be captured via XGrabButton).
3067 Don't dispatch via the 'normal' event mechanism if the device event was
3069 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3070 Handle the typeseq data in its new location (see above).
3071 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3072 New methods, for "generic" device listeners.
3073 (spi_controller_register_device_listener):
3074 Now handle mouse event listeners as well as key listeners.
3075 (spi_controller_notify_mouselisteners):
3076 New internal method.
3077 (spi_device_event_controller_forward_mouse_event):
3078 Now we notify mouse device listeners as well as generating the
3079 non-consumable "mouse:" events.
3081 We must check and restore the XKB
3082 modifier map if we consume the event, since the act of triggering
3083 a mouse event will normally reset the XKB latch. This is required for
3085 (spi_controller_register_with_devices):
3086 Load the XKB settings when registering, and register for XKB
3087 state notify events.
3088 (spi_key_eventtype_seq_contains_event):
3089 Renamed spi_eventtype_seq_contains_event, since it's used
3090 internally for all device event types now.
3091 (spi_key_event_matches_listener):
3092 Uses spi_eventtype_seq_contains_event now.
3093 (spi_device_event_controller_object_finalize):
3094 Free the private data and the XkbKeyboard struct.
3095 (impl_register_device_listener, impl_deregister_device_listener):
3096 Implementation of new IDL.
3097 (spi_deregister_controller_device_listener):
3098 New internal method.
3099 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3100 More efficient implementation, we don't have to create a new
3101 XkbControls structure every time we query.
3102 (spi_device_event_controller_class_init):
3103 Initialize the epv entries for the new IDL. Assign the
3104 "spi-dec-private" quark.
3105 (spi_device_event_controller_init):
3106 Initialize the private data.
3107 (spi_device_event_controller_forward_key_event):
3108 Removed a bogus CORBA_exception_free() call.
3110 * registryd/deviceeventcontroller.h:
3111 Replaced inclusion of keystrokelistener.h with
3114 * test/event-listener-test.c:
3115 (report_mouse_event):
3118 Added mouse-event device listener.
3120 * test/test-simple.c:
3121 (create_test_window):
3122 Fixed regression (we were instantiating a GtkRange,
3123 which is now an abstract class). Also fixed to match
3124 existing AtkRole names, this seems to have changed in ATK
3125 awhile ago; too late now I think, and the new
3126 mechanism is at least elegant and consistent with the
3127 glib enum "nick" APIs.
3129 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3131 * idl/Accessibility_Relation.idl:
3132 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3133 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3134 * idl/Accessibility_Role.idl:
3135 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3136 * idl/Accessibility_State.idl:
3137 add STATE_MANAGES_DESCENDANTS
3138 * test/event-listener-test.c:
3139 Added a listener for active-descendant events.
3141 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3143 * atk-bridge/bridge.c
3144 (atk_bridge_init): If application is Bonobo component wait until top
3145 level is added before registering
3146 (spi_atk_bridge_do_registration): New function which contains code,
3147 formerly in atk_bridge_init, to do application registration.
3148 (spi_atk_bridge_toplevel_added): Signal called when top level
3149 added to Bonobo component
3151 This fixes bug #83134.
3153 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3155 * registryd/deviceeventcontroller.c
3156 Fixed compilation error caused by calling gettimeofday()
3159 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3164 Added template for HAVE_XKB.
3167 Changes to check for XKB, and to set the HAVE_XKB #define if it
3170 * libspi/listener.c:
3171 ()impl_notify_event): Make failure to get event source name
3174 * registryd/deviceeventcontroller.c:
3175 (#include): include X11/XKBlib.h.
3176 (DEControllerPrivateData) : New struct.
3177 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3179 (dec_synth_keycode_press) (dec_synth_keycode_release):
3180 New methods; split the key synthesis code into these methods.
3181 They check XKB settings before determining the "time" values to
3182 pass to Xtest; this fixes bug #95828.
3183 (impl_generate_keyboard_event): Changed to use methods above,
3184 instead of callng Xtest directly.
3185 (spi_device_event_controller_init): Initialize new privae struct s
3187 (spi_device_event_controllr_object_finalize):
3188 Free the (new) private data.
3190 * registryd/deviceeventcontroller.h:
3191 Add new gpointer to end of struct data.
3193 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3196 Incremented revision to 1.1.2, SONAME is still '.so', library
3197 extensions are ".so.0.0.2".
3199 * registryd/deviceeventcontroller.c:
3200 FIXES FOR #93592 and #95940.
3201 (statics): renamed mouse_button_state to mouse_mask_state,
3202 added key_modifier_mask.
3203 (spi_dec_poll_mouse_moved):
3204 Added key modifier checks, and emit "keyboard:modifiers"
3205 events when the key modifiers currently in use change.
3206 Also generate "mouse:abs" events periodically, even if the mouse
3207 is stationary (should we?).
3208 Alternatively we could generate "mouse:abs" events for either all
3209 mouse movements, or every 'nth' mouse movement, or at the
3210 beginning and end of every "active" mouse period.
3212 * test/event-listener-test.c:
3213 (main): Added listener for "keyboard:modifiers" events.
3215 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3217 * libspi/keymasks.h:
3218 Added key mask #defines for mouse buttons; e.g.
3219 SPI_KEYMASK_BUTTON1, etc.
3222 Incremented dependency on ATK to version 1.1.0. (This dependency
3223 is probably premature but will soon be real enough).
3225 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3227 * libspi/hyperlink.[ch]
3228 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3229 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3232 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3237 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3239 * registryd/deviceeventcontroller.c
3240 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3241 events to be ignored.
3242 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3243 keyboard_mode so that XAllowEvents() can be called.
3247 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3249 * cspi/spi-accessible.c: Correct names of roles returned by
3250 AccessibleRole_getName(). Fixes bug #95055.
3252 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3254 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3257 * registryd/registry.c
3258 (desktop_remove_application: Write diagnostic message to stderr for
3261 (impl_accessibility_registry_deregister_global_event_listener):
3262 Correct size of lists array. This addresses bug #94555).
3264 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3266 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3269 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3271 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3274 * registryd/registry.c (impl_registry_notify_event): Remove
3275 unnecessary call to parser_event_type().
3277 * docs/reference/cspi/tmpl/spi_component.sgml:
3278 Add reference to SPI_LAYER_WINDOW.
3280 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3282 * registryd/registry.c
3283 (desktop_add_application): Remove leak.
3284 (desktop_remove_application): Remove leak.
3285 (parser_event_type): Remove leak.
3287 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3289 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3290 bogus call to CORBA_string_dup(). Also removed unnecessary
3291 g_string_dup/g_free calls.
3293 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3295 * registryd/deviceeventcontroller.c:
3296 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3298 * test/event-listener-test.c:
3299 main: commented out three redundant listeners, to reduce output
3300 noise. (They still are potentially useful for testing).
3303 2002-09-13 Michael Meeks <michael@ximian.com>
3305 * Update all the copyrights to include Ximian.
3307 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3309 * cspi/spi.h: add SPI_LAYER_WINDOW.
3311 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3312 add Accessibility_LAYER_WINDOW case.
3314 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3316 * libspi/component.c: (impl_accessibility_component_get_layer):
3317 add ATK_LAYER_WINDOW case.
3319 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3321 * configure.in: incremented micro version.
3323 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3325 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3328 Clarified and reworded our commit policy.
3331 Started an API "todo" addition list for 2.2.
3334 (impl_getSelection):
3335 Free char pointer from atk_text_get_selection, which was being leaked.
3337 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3340 Small revision to author acknowledgement.
3342 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3344 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3345 If signal has detail add it to the type of the event.
3348 2002-08-12 Michael Meeks <michael@ximian.com>
3350 * test/test-simple.c (global_listener_cb): bin bogosity.
3351 (test_keylisteners): disable, still doesn't work reliably,
3352 certainly not on my system anyway.
3354 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3355 don't leak a reference on the DEC. This round-trip
3356 fetching of the DEC per keystroke sucks, it should be
3359 * cspi/spi-private.h,
3360 * cspi/cspi-lowlevel.h,
3361 * cspi/bonobo/cspi-bonobo-listener.[ch],
3362 * cspi/bonobo/cspi-bonobo.c: get the copyright
3363 notices better - there is still a large amount of
3364 work in at-spi falsely attributed solely to Sun.
3366 * cspi/spi_main.c (cspi_object_ref): kill bogus
3367 hash lookup, just increment the ref.
3368 (SPI_freeString): make explicit the fact that we
3369 handle NULL strings just fine.
3370 (report_leaked_ref): obey coding standards.
3371 (cspi_object_hash, cspi_object_equal): kill retval.
3372 (cspi_object_release): only release if not on loan.
3373 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3374 (cspi_object_borrow, cspi_object_return): impl.
3376 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3377 use cspi_object_borrow / return.
3379 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3381 * cspi/bonobo/cspi-bonobo-listener.c:
3383 Don't call cspi_oject_new() because this is creating a new Accessible
3384 every single time that an event is fired. This causes ATs like at-poke
3385 to nolonger recognise the source of the event and thus ignore it.
3386 Re-use the object from the cache, ref it and then unref it after the
3387 listeners have been called.
3389 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3391 * test/event-listener-test.c:
3392 Added command-line options to disable mouse events (m) and
3395 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3397 * configure.in: Update required versions of ATK, GTK+ and GAIL
3399 * cspi-1.0.pc.in: Add dependency for X include files
3402 * cspi/bonobo/Makefile.am:
3403 Add $(X_CFLAGS) so that X include files
3404 are picked up even if not in standard place (bug #71686)
3406 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3408 * registryd/deviceeventcontroller.c: fix for 84261
3409 (spi_dec_mouse_moved):
3410 Added test of mouse button mask, so that we can detect mouse
3411 button release. Unfortunately we can't otherwise detect mouse
3412 button release events without consuming the mouse press event,
3413 because of the way XGrabButton works. This means that our mouse
3414 release events have a latency dependent on the polling period
3415 while the mouse button is down. At least in this case we only
3416 have to poll while the button is down, and not at other times.
3417 If the button masks don't match with what the last press event
3418 reported, we report the appropriate button release event.
3419 (spi_dec_ungrab_mouse):
3420 New method (not yet called).
3421 (spi_device_event_controller_forward_mouse_event):
3422 New method, sends mouse press event from GdkFilter.
3423 (spi_dec_init_mouse_listener):
3424 Added code to call XGrabButton, redirecting mouse button events to
3425 the root window and our Gdk event loop.
3427 Added code to filter mouse button events, and reordered.
3429 * test/event-listener-test.c:
3431 Added registration for mouse events of type "mouse:button".
3433 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3435 * registryd/deviceeventcontroller.c: partial fix for 84261
3436 (spi_dec_poll_mouse_idle):
3437 New method, a timeout which checks to see if the mouse
3439 (spi_dec_poll_mouse_moving):
3440 A timeout to be called when mouse motion is underway.
3441 (spi_dec_poll_mouse_moved):
3442 A method which fires an event if the mouse has moved, and reports
3443 whether or not it did so.
3444 (spi_dec_init_mouse_listener):
3445 A method which sets up the timeouts above.
3446 (spi_device_event_controller_new):
3447 Now calls spi_dec_init_mouse_listener.
3449 * registryd/registry.c:
3450 (spi_registry_init):
3451 Now we initialize the device event controller when the registry is
3452 initialized, instead of waiting until a client has requested a key
3453 event notification; this is because we need the event controller
3454 for mouse events, but the mouse event registration API is a
3455 "registry" call and doesn't explicitly call the
3456 deviceeventcontroller.
3457 We now report mouse motion events with a 100 ms idle latency and
3458 a 20 ms granularity when motion is in progress.
3460 * test/event-listener-test.c:
3462 We now register the "detail listener" for events of type
3463 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3464 delivered only for the first mouse event received, and thereafter
3465 "mouse:abs" events are delivered.)
3467 * cspi/spi_registry.c:
3468 DOCS: Documented the above mouse event typestrings.
3470 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3472 Happy Summer Solstice...
3474 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3475 (spi_controller_notify_keylisteners):
3476 Changes to remove a listener from the listener list, freeing its
3477 open keygrabs, if a notification to that listener fails. This
3478 means that although a dead listener can continue to hold a passive
3479 keygrab, a maximum of one dispatch to such a listener can fail
3480 before the listener is removed from the list, thus the keygrab
3481 will be released on the next occurrence.
3482 As part of this fix:
3483 (spi_notify_keylisteners):
3484 Renamed to spi_controller_notify_keylisteners, as the controller
3485 instance must now be passed as an argument.
3486 The copied 'notify' GList is now a list of DEControllerKeyListener
3487 objects, since we need more than just the CORBA reference if a
3488 notify fails and we need to deregister the listener.
3489 (impl_notify_listeners_sync):
3490 (impl_notify_listeners_async):
3491 (spi_device_event_controller_forward_key_event):
3492 Modify use of notify_keylisteners in accordance with above
3494 (spi_deregister_controller_key_listener):
3495 New method introduced by refactoring, from
3496 impl_deregister_keystroke_listener.
3497 (impl_deregister_keystroke_listener):
3498 Call spi_deregister_controller_key_listener.
3499 (spi_key_listener_clone):
3500 New method to copy a key listner without doing a 'ref' on the
3501 remote object instance; used to create a notifier list.
3502 (spi_key_listener_data_free):
3503 New method, frees data without unreffing the source.
3505 (spi_key_listener_clone_free): new method.
3506 (spi_key_listener_free):
3507 refactored to call spi_key_listener_data_free.
3509 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3511 * registryd/registry.c: [fix for bug 86048]
3512 (notify_listeners_cb):
3513 Clear CORBA system exceptions which occur when notifying
3514 listeners, before returning to the source of the original event,
3515 since the event source doesn't care if the relayed notify failed.
3516 In other words, don't complain to the atk-bridge if the registry
3517 could not notify all its listeners, that's no fault of the
3518 application and thus should not appear to be an error from the
3519 application's perspective.
3521 * cspi/spi_main.c: [fix for bug 85980]
3523 Replaced use of bonobo_object_dup_ref with call to the wrapper
3524 method, csou_dup_ref (); this silences a compiler warning and
3525 provided more portability.
3527 Ping the registry before return, and restart if necessary.
3529 * cspi/bonobo/cspi-bonobo.c:
3531 New internal method.
3533 Fixed this method to return an object reference, as it should have
3536 * cspi/cspi-lowlevel.h:
3537 Added internal definition for cspi_ping() and fixed
3538 return type of cspi_dup_ref().
3541 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3543 * atk-bridge/bridge.c: [fix for bug 85305]
3544 (spi_atk_bridge_register_application):
3545 New method where the initial application registry calls have been
3546 moved; it allows an application to re-register in response to
3547 certain error conditions (such as a registry restart, see below).
3549 Moved some initialization code to the method
3550 spi_atk_bridge_get_registry, below.
3551 (spi_atk_bridge_get_registry):
3552 New, private accessor function for the Accessibility_Registry
3553 instance. If the registry has not been started before, or has
3554 died (as detected by failure of a CORBA exception), it is
3555 restarted before return, and spi_atk_bridge_register_application
3556 is called again to register with the new bridge instance.
3557 (spi_atk_emit_eventv):
3558 Set registry_died on error; use spi_atk_bridge_get_registry () to
3559 access the registry.
3561 * registryd/registry.c:
3562 (impl_accessibility_registry_register_global_event_listener):
3563 Set listener's event_type_quark to etype.minor instead of
3564 etype.major (fix for bug 84856).
3566 * test/event-listener-test.c:
3567 (report_detail_event):
3568 Change the output string so that user/tester can tell that the
3569 'detail listener' was called instead of the 'generic listener'.
3571 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3573 Fixes for bugs 84900, 84908, 84897, 84898.
3578 Revved version to 1.1.0
3579 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3580 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3582 * idl/Accessibility_Registry.idl:
3583 (EventListener::notifyEvent):
3584 Removed 'oneway' directive after extensive consulation with
3585 ORBit2 team and others. This means also that unref() of the event
3586 source can and should be done synchronously after emission, rather
3587 than remotely in the client, after servicing the notify call on
3590 NOTE: This change speeds up listener performance considerably, but
3591 introduces new latency on the application side. We may want to
3592 add an event queue to the atk-bridge.
3594 * atk-bridge/bridge.c:
3595 (spi_atk_bridge_focus_tracker):
3596 Do a local unref() on the event source after emission.
3598 * registryd/registry.c:
3599 (desktop_remove_application):
3600 Do an unref() on the event source after emission.
3601 (desktop_add_application):
3602 Do an unref() on the event source after emission.
3603 (notify_listeners_cb):
3604 When relaying an event, don't automatically add the event source
3605 to the local object cache, just CORBA_dup it instead. Likewise,
3606 if this method reenters, release the ref rather than calling
3608 (impl_registry_notify_event):
3609 No longer call remote unref() on the event source after dispatch.
3611 * libspi/eventlistener.c:
3612 (impl_accessible_event_notify_event):
3613 Removed remote unref ()
3615 * cspi/bonobo/cspi-bonobo-listener.c:
3617 We now call cspi_object_new() instead of cspi_object_add() on
3618 receipt of an event; thus we only have an implicit object ref
3619 while the cspi_event method is being executed. If we need to keep
3620 a reference to the object, the listener must call ref() on the
3621 object. Thus also we don't need to call cspi_object_unref() after
3622 invoking the listener callbacks in this method.
3626 New internal API for creating a new cspi object, without adding it
3627 to the object cache.
3629 Now uses cspi_object_new() to create the cspi object instance.
3631 Now checks to see if the object is in the internal object cache,
3632 and adds it if necessary before incrementing its refcount (note
3633 that new objects are added with a refcount of 1).
3634 (report_leaked_ref):
3635 New method which gives some information on leaked object instances
3636 if leak detection is turned on.
3638 * test/event-listener-test.c:
3639 (timing_test_event):
3640 New method, used for testing event delivery timing for special
3641 events of type "object:test". It reports elapsed time and
3642 events/sec every 500 events.
3644 Added a new listener, 'test listener', to check timing of event
3645 receipt as noted above.
3647 Added some timing output here also, reports elapsed time every 100
3650 * test/stress-test.c:
3651 Emit events of type "object:test", for use with "event-listener-test".
3653 * test/test-simple.c:
3654 (global_listener_cb):
3655 Call Accessible_ref() on the event source before calling
3656 validate_accessible, since the validation process does pointer
3657 comparisons on the event source, meaning that the event source
3658 needs to be added to the local object cache first. Any use of
3659 such pointer comparisons between Accessible objects requires that
3660 the caller hold an explicit reference to those objects.
3661 We also must therefore call Accessible_unref() when leaving this method.
3663 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3665 * registryd/deviceeventcontroller.c:
3666 (spi_controller_update_key_grabs):
3667 Fix for #84735, subsequent keygrab listeners not informed of
3668 registration failure.
3671 (spi_base_construct):
3672 Add an assertion on construct, to make sure the GObject passed in
3673 is really a GObject.
3675 Explicitly initialize object->gobj pointer to NULL;
3677 * cspi/bonobo/cspi-bonobo-listener.c:
3678 (cspi_object_add_ref):
3679 New method, can specify whether to dup-ref a bonobo object passed
3680 in if it's newly added to the object cache.
3682 Now calls cspi_object_add_ref with second param of "FALSE". This
3683 prevents us from doing a pointless dup-ref followed by
3684 release-unref for all those cases where the object is already in
3685 our object cache (fix for #85205).
3687 * atk-bridge/bridge.c:
3688 (spi_atk_bridge_idle_init):
3689 Removed this method, we don't need to initialize in an idle
3692 Changed to call spi_atk_register_event_listeners directly, not via an
3693 idle handler. (fix for #81139)
3694 (gnome_accessibility_module_shutdown):
3695 Removed conditional around deregistration of listeners, since we
3696 don't use the idle handler and thus have always registered when
3698 (spi_init_keystroke_from_atk_key_event):
3699 Changed references to Accessibility_KEY_PRESSED to
3700 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3702 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3704 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3709 * test/stress-test.c:
3712 (may have been an incomplete commit yesterday?)
3714 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3717 Added target for new stress-test.
3719 * test/stress-test.c:
3720 New test, sends 1000 focus notifies in quick succession.
3722 * test/key-listener-test.c:
3723 Now we report whether a keylistener registration
3724 request succeeded or failed.
3726 * test/event-listener-test.c:
3727 Uncommented some listeners which are now implemented.
3730 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3732 * registryd/deviceeventcontroller.c:
3733 (spi_controller_update_key_grabs):
3734 Fix for #82509, lack of failure notification when
3735 ALL_WINDOWS keygrabs fail due to XGrabKey
3736 failure: we synchronize the server when
3737 registering a passive grab, to make sure we get the
3738 error message before the call returns.
3740 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3742 * test/test-simple.c:
3744 Removed #ifdef KEY_IMPL_WORKS guards.
3745 (test_keylisteners):
3746 Removed #ifdef KEY_IMPL_WORKS guards.
3747 Fixed bug which was causing a hang waiting for a
3748 "press" event (which was already overwritten by a "release"
3749 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3751 Added code to set globals 'key_press_received' and
3752 'key_release_received'.
3755 Added section "1.1 API Proposed Additions" which
3756 lists API additions desired for at-spi-1.1 (only one so far).
3757 Updated TODO list a little.
3759 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3761 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3764 * configure.in: Revved to 1.0.0.
3766 * idl/Accessibility_Registry.idl:
3767 (registerKeystrokeListener):
3768 Added boolean return value.
3770 * registryd/registry.c:
3771 (notify_listeners_cb): Minor fix to debug output.
3773 * registryd/Accessibility_Registry.server.in.in:
3774 Revved version number in OAFIID to 1.0.
3776 * registryd/registryd.c:
3778 Use new OAFIID version.
3780 * cspi/bonobo/cspi-bonobo.c:
3782 Use new OAFIID version.
3788 * atk-bridge/bridge.c:
3790 Use new OAFIID version.
3792 * registryd/deviceeventcontroller.c:
3793 (impl_register_keystroke_listener):
3794 Added CORBA_boolean return value.
3795 (spi_controller_register_device_listener):
3796 Added gboolean return value.
3797 (spi_controller_register_global_keygrabs):
3798 Added gboolean return value.
3799 (spi_key_set_contains_key):
3800 Added implementation for many more control keys,
3801 for instance F1-F12, arrow keys, End, Home, Page_Up,
3803 [TODO: some still not implemented].
3805 * text/screen-review-test.c:
3806 (text_chunk_pad_string):
3807 New function: it provides mapping between coordinate
3808 positions of text chunks and character positions in the
3809 screen-review-line output string.
3810 (text_chunk_to_string):
3811 New function, calls text_chunk_pad_string with various
3812 pad/delimiter characters. Pushbuttons are delimited with
3813 square brackets, Frames with vertical 'pipe' lines, and
3814 other text with double quotes.
3815 (text_chunk_list_to_string):
3816 Calls new function text_chunk_to_string.
3817 (toplevel_composite):
3818 New function to composite layers CANVAS through
3819 POPUP in each toplevel (other layers are composited
3820 across toplevels, i.e. BACKGROUND and OVERLAY).
3821 (review_buffer_composite):
3822 Revise to use new methods.
3828 2002-05-31 Laszlo Peter <laca@sun.com>
3830 * configure.in: add the Xtst libdir to the runpath on Solaris,
3831 since it's not in the default library search path.
3833 2002-05-29 jacob berkman <jacob@ximian.com>
3835 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3837 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3839 * test/screen-review-test.c:
3840 (text_chunk_pad_string):
3841 Added method, which pads the string according to the
3842 text bounds of the chunk. It also takes a 3-character
3843 string as a param which indicates the characters to be
3844 used for start, padding, and end delimitation of the chunk.
3845 (text_chunk_to_string):
3846 Changed to use text_chunk_pad_string.
3848 * configure.in: Fixed bug in AC_OUTPUT that was
3849 causing path substitution in Accessibility_Registry.server
3852 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3854 * text/screen-review-test.c:
3855 (guess_string_clip):
3856 New method which attempts a best-guess at clipping
3857 text from components (like Java labels) which don't
3858 actually implement AccessibleText. This inaccurate
3859 clip is based on the assumption that the label is
3860 justified left-and-right, and monospaced.
3861 (text_chunk_get_clipped_string):
3862 We now call guess_string_clip() for text-containing
3863 components that don't implement AccessibleText.
3865 * test/screen-review-test.c:
3866 (review_buffer_get_text_chunk):
3867 We now pull "name" from labels if they do not implement
3868 AccessibleText (i.e. for Java labels).
3869 (get_screen_review_line_at):
3870 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3873 Replaceded AC_OUTPUT target
3874 registryd/Accessibility_Registry.server with
3875 registryd/Accessibility_Registry.server.in.
3877 * registryd/Accessibility_Registry.server.in:
3878 Removed (this is now a Makefile target).
3880 * registryd/Accessibility_Registry.server.in.in:
3881 Added (source for target above). We now use $(libexecdir) as
3882 prefix for the executable at-spi-registryd.
3884 * registry/Makefile.am:
3885 Now install at-spi-registryd into $(libexecdir), and build .server
3886 file with path (see above).
3888 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3890 * test/screen-review-test.c:
3891 (text_chunk_get_clipped_string):
3892 We now check to see if words fall within clip bounds
3893 before resorting to character-by-character clip bounds testing.
3895 * TODO: Added a section for "2.2 Proposed API Additions".
3897 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3899 * test/screen-review-test.c:
3901 Added a screen review benchmarking and test program to test
3904 * cspi/spi_accessible.c:
3906 Made some of the debug strings passed to cspi_check_ev a
3907 little more specific.
3909 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3911 * test/screen-review-test.c: Fix crashes in debug statements
3913 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3915 * test/screen-review-test.c: Added this file.
3917 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3919 * atk-bridge/bridge.c: changed "object:state-change" to
3920 "object:state-changed" to match docs.
3922 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3924 * atk-bridge/bridge.c: Hooked up state-change event details.
3926 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3928 * registryd/registry.c:
3929 Fixed quarking bug in event string parsing; now events with
3930 detail parameters get matched correctly to listeners.
3933 * util/idl/Magnifier.idl: remove.
3935 * util/*.[ch]: Remove.
3936 Magnification utilities and IDL are now in module gnome-mag.
3938 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3940 * registryd/deviceeventcontroller.c:
3941 Fixed bug in grab key conversion which was causing keycode grabs
3942 to be converted to AnyKey grabs.
3945 updated NEWS file to reflect recent spin-off of gnome-mag.
3947 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3949 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3950 busted AccessibleStateSet_compare. Removed redundant casts.
3952 * cspi/spi-action.c: Removed redundant casts.
3954 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3956 * cspi/spi_component.c: Fixed typos and casting error.
3958 * cspi/spi_editabletext.c: Removed redundant casts.
3960 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3962 * cspi/spi_hypertext.c: Eliminated redundant casts.
3964 * cspi/spi_image.c: Eliminated redundant casts.
3966 * cspi/spi_registry.c: Eliminated redundant casts.
3967 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3968 * cspi/spi_selection.c: Removed redundant casts.
3969 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3970 handling. Screen geometry and text offsets were being returned as 0
3971 on error which is technically valid-- changed these to return -1.
3972 Added marshaller for text boundary types to fix bug with boundary
3973 types being passed incorrectly to atk.
3975 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3978 * cspi/spi_registry.c:
3979 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3980 which was uncovered by the recent key changes.
3982 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3984 * test/event-listener-test.c:
3986 Added new test, "event-listener-test";
3987 this code does two things; it benchmarks traversal time
3988 for the accessible hierarchy for the first running accessible
3989 app, and it connects listeners for all supported event types.
3990 It is thus useful as an example event listener and for
3991 diagnostics/debugging of event generation.
3993 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3996 Removed unnecessary dependency on libutil.
3999 Revved micro version: 0.13.1
4001 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4004 Removed util/Makefile from targets.
4007 Removed util subdir from SUBDIRS (temporarily,
4008 pending removal of magnifier-only code
4012 #ifdef-ed out magnifier dependencies, since
4013 magnifier IDL, headers, and binary now live in
4014 module gnome-mag and we don't want at-spi to depend
4015 on gnome-mag. A magnifier demo which can run alongside
4016 simple-at is forthcoming in the gnome-mag module.
4018 NOTE: Split magnifier binary, IDL, and magnification
4019 activation code from at-spi into module gnome-mag.
4021 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4023 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4024 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4026 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4029 Revved to version 0.13.0
4031 * idl/Accessibility_Registry.idl:
4032 Changed definition of KeySet from sequence of longs to sequence of
4033 KeyDefinitions, and added KeyDefinition struct.
4034 Required for fix to bug 80616.
4036 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4037 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4038 to use new definition (see above).
4040 * registryd/deviceeventcontroller.c: handle_keygrab(),
4041 spi_keyset_contains_key():
4042 Changed to make use of new struct; this allows matching based on
4043 string key-name, for instance "Tab". This also allows matching of
4044 composed characters, non-alphanumeric characters in a way that
4045 doesn't involve dependencies on X keysym codes directly, etc.
4047 * test/key-listener-test.c:
4048 Added test for Alt-Tab key using "string" specification of keyset,
4049 and modified one of the tests to use a keycode-based keyset.
4050 Thus this test both tests and demonstrates the creation and use of
4051 keysets of three forms: specified via keycode array,
4052 keysym array, and string array. (The string case only contains a
4053 single string, i.e. a string array of length 1).
4056 Turned on PRINT_TREE option by default. Also fixed a
4057 string-freeing bug in the PRINT_TREE code.
4058 Added a listener to window:minimize events.
4060 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4062 * atk-bridge/bridge.c:
4063 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4064 for window:activate and window:deactiveate
4065 (atk_bridge_property_event_listener atk_bridge_signal_listener
4066 atk_bridge_window_event_listener) Tidy debug code
4068 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4070 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4071 Fixed handling for NULL return value from ATK.
4073 * libspi/action.c libspi/component.c libspi/editabletext.
4074 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4075 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4076 Removed redundant casts.
4078 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4079 Fixed off by one bug.
4081 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4082 function not present in idl)
4084 2002-05-02 jacob berkman <jacob@ximian.com>
4086 * atk-bridge/Makefile.am: make atk-bridge a real module
4088 2002-04-26 Radek Doulik <rodo@ximian.com>
4090 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4091 atk_state_types table
4093 2002-04-22 jacob berkman <jacob@ximian.com>
4096 * libspi/Makefile.am: add deps on the built files to help
4097 automake, and don't version the ORBit typelib
4099 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4101 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4102 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4103 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4104 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4105 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4106 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4107 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4108 libspi/accessible.h libspi/accessible.h libspi/base.h
4109 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4110 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4111 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4112 libspi/spi-private.h libspi/statetset.h libspi/table.h
4113 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4114 util/mag_client.h util/mag_control.c util/mag_image.c
4115 util/mag_image.h util/magnifier.c util/magnifier.h:
4116 Add missing file headers; standardize existing ones
4118 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4120 * atk-bridge/bridge.c: Added window event support.
4122 2002-04-18 Michael Meeks <michael@ximian.com>
4124 * libspi/relation.c (impl_getNTargets): impl.
4125 (impl_getTarget): impl.
4127 * libspi/Makefile.am: fix stateset install.
4129 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4132 Started putting useful info in this file.
4134 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4136 * atk-bridge/bridge.c:
4137 Propagate state-changed notifications to ATs
4139 * cspi/spi_registry.c: update docs to reflect actual behavior of
4140 state-change events.
4142 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4145 Incremented version to 0.12.1
4147 * util/mag_client.h:
4148 Add missing declaration for magnifier_exit,
4149 used by mag_control.c - Forte compiler didn't like
4150 the implicit redeclaration of the function :-(
4153 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4156 Revved version to 0.12 due to API change (see below).
4158 * cspi/spi-roletypes.h:
4159 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4160 definition from the inline docs, and added docs
4161 for SPI_ROLE_LAST_DEFINED.
4164 * cspi/spi_streamablecontent.c:
4165 Added missing seek_type parameter to
4166 (so far unused) method,
4167 AccessibleStreamableContent_seek().
4168 [ RT approval JodyG. ]
4171 Fixed docs for SPI_createAccessibleKeystrokeListener.
4173 * cspi/spi_registry.c:
4174 Fixed docs for SPI_KEYSET_ALL_KEYS.
4176 * docs/reference/cspi/at-spi-cspi-sections.txt:
4177 Added a number of missing APIs to SECTIONS.
4179 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4181 * registryd/Makefile.am:
4183 * cspi/bonobo/Makefile.am:
4184 Add $(X_LIBS) to makefiles.
4186 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4189 Revved version to 0.11.
4191 * libspi/component.c:
4192 Added implementation for grabFocus.
4194 * idl/Accessibility_Component.idl
4195 (Accessibility_Component_grabFocus):
4196 Made this method return boolean to indicate success or failure, to
4197 be consistent with cspi and the corresponding ATK method.
4199 * idl/Accessibility_Selection.idl
4200 (Accessibility_Selection_selectAll) :
4201 Made these methods return boolean to indicate success or
4202 failure, to be consistent with cspi and the corresponding ATK methods.
4204 * idl/Accessibility_EditableText.idl
4205 (Accessibility_EditableText_setTextContents,
4206 Accessibility_EditableText_insertText,
4207 Accessibility_EditableText_cutText,
4208 Accessibility_EditableText_deleteText,
4209 Accessibility_EditableText_pasteText):
4210 Made these methods return boolean to indicate
4213 * cspi/spi_editabletext.c:
4214 Made these methods return booleans.
4216 * libspi/selection.c:
4217 * libspi/component.c:
4218 * libspi/editabletext.c:
4219 Connected the boolean returns from ATK
4220 to the server-side code referenced above.
4222 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4224 * idl/Accessibility_Table.idl: Added missing methods,
4225 Accessibility_Table_addRowSelection,
4226 Accessibility_Table_addColumnSelection,
4227 Accessibility_Table_removeRowSelection,
4228 Accessibility_Table_removeColumnSelection.
4231 Added C wrappers for above IDL:
4232 AccessibleTable_addRowSelection,
4233 AccessibleTable_addColumnSelection,
4234 AccessibleTable_removeRowSelection,
4235 AccessibleTable_removeColumnSelection.
4238 Added server-side implementation code for IDL above, connecting
4239 to pre-existing ATK api.
4241 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4243 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4245 * libspi/accessible.c: Added implementation fo
4246 Accessibility_Accessible_get_state.
4248 * libspi/libspi.h: Added stateset.h to the list of includes.
4250 * libspi/stateset.c: Fixed broken implementation.
4252 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4255 Added implementation code for Accessibility_Magnifier_exit ().
4257 * util/mag_control.c:
4258 Added test code for above method; you can
4259 now kill an existing magnifier via
4260 ./mag_control q, from the util directory.
4262 * test/key-listener-test.c:
4264 Added a new test, for our key listener API.
4266 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4268 * test/app.c, test/keysynth-demo.c:
4270 Replace use of snprintf with g_snprintf.
4271 (fix for bugzilla 78249)
4273 2002-03-27 Michael Meeks <michael@ximian.com>
4277 * util/Makefile.am (INCLUDES): fix.
4278 (DONT_DIST_SOURCE): don't distribute the
4281 * libspi/Makefile.am (dist-hook): ditto.
4283 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4285 * libspi/hypertext.c:
4286 Fix warnings when yelp is used with atk-bridge
4288 2002-03-21 Michael Meeks <michael@ximian.com>
4290 * libspi/application.c (spi_application_new):
4291 use spi_accessible_construct so we use the AtkObject
4294 2002-03-19 Michael Meeks <michael@ximian.com>
4296 * registryd/registry.c (desktop_remove_application),
4297 (desktop_add_application): clean coding style.
4299 * registryd/desktop.c (spi_desktop_remove_application),
4300 (spi_desktop_add_application): kill re-enterency hazards.
4301 (spi_desktop_dispose): remove bogus redundant cast
4302 obscuring bug; fix bug too.
4303 (spi_desktop_init): make the desktop object immortal.
4305 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4308 Added a #define-guarded tree-traversal step
4309 when enumerating the apps (diagnostic tool).
4311 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4313 * idl/Accessibility_Role.idl:
4314 Added ROLE_DRAWING_AREA which seemed to be missing from the
4317 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4319 * cspi/spi-roletypes.h cspi/spi_accessible.c
4320 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4323 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4324 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4325 AT when applications are added and removed from the desktop. This
4326 reverts the previous broken implementation using the backing
4327 AtkObject for the SpiDesktop.
4329 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4331 * registryd/desktop.c: emit the "children-changed::add" and
4332 "children-changed::remove" signals on the backing ATK object for
4333 the desktop so AT can tell when applications are started and shut
4336 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4338 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4340 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4342 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4344 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4346 * cspi/state-types.h: synched with IDL and ATK
4348 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4350 * libspi/accessible.c
4351 (impl_accessibility_accessible_get_child_at_index):
4352 Change return value for g_return_if_fail ()
4353 to CORBA_OBJECT_NIL instead of "0" (!)
4355 * registryd/Makefile.am:
4356 * registryd/Accessibility_Register.server.in:
4357 Changed name of executable, "registryd",
4358 to something more informative:
4361 2002-03-13 Michael Meeks <michael@ximian.com>
4363 * atk-bridge/bridge.c (atk_bridge_init): don't register
4364 if we're in a bonobo-component, rather than a bonobo app.
4366 2002-03-13 Michael Meeks <michael@ximian.com>
4368 * atk-bridge/bridge.c (gtk_module_init): split
4369 out body to (atk_bridge_init): here, since otherwise
4370 we get symbol conflicts and oddness when invoked
4371 from (gnome_accessibility_module_init): here (upd.)
4373 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4376 New file. Explicitly allow "build sheriff" putbacks provided
4377 they are tested on Solaris.
4379 * docs/reference/cspi/Makefile.am:
4380 Added '-' to the "cp" command for index.sgml.
4381 ("patch by thomasvs, soon coming to a GUADEC near you")
4384 Incremented version number (0.9.0) for new release.
4385 Changed macro that checks for popt, to better detect
4386 obsolete versions of popt.
4389 Added X_LIBS to AC_SUBST, for applications
4390 that call Xlib API directly.
4393 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4396 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4399 Fix regression caused by hard-coding major
4400 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4403 * test/test-simple.c (test_editable_text),
4404 (test_test): revert previous change (error was
4405 a regression in gail which is now fixed).
4407 2002-03-04 Michael Meeks <michael@ximian.com>
4409 * test/test-simple.c (test_editable_text),
4410 (test_text): pass G_MAXINT instead of '-1' for
4411 whole string - is this a good thing !?
4413 * cspi/spi_accessible.c
4414 (Accessible_getRelationSet): fix crasher bug
4415 overwriting the end of the array.
4417 * test/test-simple.c (validate_accessible): free,
4418 not g_free returned relation set.
4420 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4422 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4423 implemented stateset support
4425 * idl/Accessibility_State.idl: Made necessary changes to
4426 the IDL to support state sets.
4428 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4430 * registryd/deviceeventcontroller.c:
4431 Added implementation for generateMouseEvent.
4433 * cspi/spi_registry.c:
4434 Connected new implementation for generateMouseEvent
4437 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4440 Incremented revision (but no change in public API
4441 outside of 'utils', which are not installed public yet.)
4443 * libspi/component.c:
4444 Changed to use atk_component API for layers and
4445 mdi_zorder, instead of deprecated atk_object API.
4447 Magnification Utility Enhancements:
4450 Added implementation of createZoomRegion, clearAllZoomRegions,
4451 resizeZoomRegion. Added new commandline argument
4452 "--no-initial-region". Note that clearAllZoomRegions doesn't
4453 unmap the old '0' region as it should (yet), and the other
4454 methods only work when creating/resizing a single region,
4455 which is "region 0".
4456 (Code for multiple region support will be added later.)
4459 Now we raise the magnifier window each time it's refreshed;
4460 this will help keep it on top.
4462 * util/mag_client.h:
4463 Added simple wrappers for above, used by mag_control.
4464 For general use, it's recommended to use the bonobo magnifier
4465 control API directly instead of using these wrappers.
4468 Moved ZoomRegionData from magnifier.c to this file.
4470 * util/mag_control.c:
4471 Added some code to exercise new IDL implementations.
4473 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4475 * libspi/text.c: Provide implementation for getAttributes.
4477 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4480 Incremented revision.
4482 * test/test-simple.c:
4483 Replaced use of deprecated g_main_iteration with
4484 g_main_context_iteration.
4486 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4489 Incremented revision for desktop alpha 2.
4491 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4493 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4496 * test/simple-at.c: include netinet/in.h.
4498 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4500 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4501 use NULL, not CORBA_OBJECT_NIL.
4503 * libspi/accessible.c:
4504 (impl_accessibility_accessible_get_relation_set):
4505 allocate the sequence correctly.
4507 * libspi/remoteobject.h: kill spi_remote_object_new.
4509 * test/test-simple.c: (validate_accessible): add code
4510 to test relation sets, now all we need is to figure
4511 out how to excercise this code path :/
4513 2002-01-18 Michael Meeks <michael@ximian.com>
4515 * test/test-simple.c
4516 (key_listener_cb): consume the key.
4517 (test_keylisteners): update.
4518 (main): wait for any pending unrefs on events.
4520 * registryd/deviceeventcontroller.c
4521 (spi_controller_update_key_grabs): only re-issue the
4522 grab on a key release.
4523 (spi_device_event_controller_forward_key_event):
4524 refresh the keygrabs before we notify the listeners,
4525 to reduce the X ungrab / re-grab race.
4526 (spi_controller_register_with_devices): remove
4527 XSelectInput - we do that with the gdk_window_ call.
4528 (_spi_controller_device_error_handler): return a value.
4529 s/GDK_DISPLAY/spi_get_display/
4531 2002-01-17 Michael Meeks <michael@ximian.com>
4533 * registryd/deviceeventcontroller.c
4534 (_deregister_keygrab): don't blow out the later
4537 * test/test-simple.c (test_keylisteners): do a
4538 more intelligent validation.
4540 2002-01-14 Michael Meeks <michael@ximian.com>
4542 * atk-bridge/bridge.c
4543 (gnome_accessibility_module_init),
4544 (gnome_accessibility_module_shutdown): impl.
4545 (gtk_module_init): protect vs. double inits.
4546 (add_signal_listener): impl.
4547 (spi_atk_bridge_state_event_listener): kill
4548 (deregister_application): split out of
4549 (spi_atk_bridge_exit_func): here.
4551 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4554 Added caret tracking when using magnifier, and
4555 now use text bounds for focus tracking of text elements, rather than
4556 the component bounds - this is helpful for short text fields in long
4557 table cells, at high magnification.
4559 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4561 * registryd/deviceeventcontroller.c:
4562 Regression fix for keylistener de-registration; global keygrabs
4563 were not being released when deregisterKeystrokeListener was
4564 called in cspi, since
4565 Accessibility_DeviceEventController_deregisterKeystrokeListener
4566 was called with a zero-length keyset. That is because the cspi
4567 method, SPI_deregisterKeystrokeListener, does not take a keyset
4568 parameter but instead should remove all the key grabs held be a
4570 The code in impl_deregister_keystroke_listener was changed to copy
4571 the keylist from the listener instance previously registered with
4572 the DeviceEventController before releasing the grabs.
4574 * registryd/registry.c:
4575 * registryd/deviceeventcontroller.c:
4576 * libspi/spi-private.h:
4578 Changed spelling of "re-enterant" to "re-entrant" globally.
4580 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4582 * test/test-simple.c:
4583 Changed key listeners test - the test was slightly mis-using the
4584 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4585 It now uses '=' as the key event listened to and generated,
4586 relying on a keysym match rather than assuming that keycode 33
4587 is always equal to keysym '!'.
4589 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4592 Changed simple-at to use a specific keyset, rather than
4593 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4594 manager, desktop, etc.
4596 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4598 * registryd/deviceeventcontroller.c:
4599 Replaced standard X error handler with a special handler that
4600 is non-fatal for failed keygrabs. This works around
4601 problems with keygrab clashes sometimes observed on
4603 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4604 mouse handling code as yet).
4606 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4609 Incremented revision for desktop alpha release.
4612 Fixed a couple of the more glaring errors (still not
4615 2002-01-11 Michael Meeks <michael@ximian.com>
4617 * registryd/deviceeventcontroller.c
4618 (spi_device_event_controller_forward_key_event): kill
4619 XUngrabKey / XKeyGrab race.
4620 (spi_controller_grab_keyboard): rename to
4621 (spi_controller_update_key_grabs): this, and deal
4622 with incremental adding / removing grabs more
4624 (_register_keygrab): ensure we're not pending a remove.
4625 (spi_grab_mask_free): impl.
4626 (spi_controller_register_global_keygrabs): split out
4628 (handle_keygrab): impl.
4629 (_deregister_keygrab): impl.
4630 (spi_controller_deregister_global_keygrabs): impl.
4631 (spi_controller_update_key_grabs): re-issue the grab if
4632 we just recieved a notification.
4634 * test/test-simple.c (key_listener_cb): remove debug.
4636 * registryd/deviceeventcontroller.c
4637 (spi_controller_register_device_listener): after
4638 registering a global keygrab, actualy register it !
4639 don't wait for a timeout; doh !
4641 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4642 to make it more readable / manipulable.
4643 s/grabmask/grab_mask/ s/refcount/ref_count/
4644 s/keyval/key_val/ s/modmask/mod_mask
4646 2002-01-08 Michael Meeks <michael@ximian.com>
4648 * registryd/deviceeventcontroller.c
4649 (spi_controller_register_with_devices): use gdk calls to
4651 (global_filter_fn): implement the filter.
4652 (spi_device_event_controller_check_key_event): rename to
4653 (spi_device_event_controller_forward_key_event): this & upd.
4654 (spi_get_display): replace with GDK_DISPLAY.
4656 * registryd/deviceeventcontroller.c
4657 (spi_controller_deregister_device_listener): unroll into
4658 (impl_deregister_keystroke_listener): here to simplify.
4659 (spi_controller_register_global_keygrabs): split cut and
4660 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4661 (spi_controller_deregister_device_listener): remove.
4662 (impl_register_mouse_listener): remove, no mouse listener
4663 support in at-spi-1.0
4665 * registryd/registry.c
4666 (_device_event_controller_hook): kill.
4667 (spi_registry_init): upd.
4669 * registryd/deviceeventcontroller.c
4670 (spi_device_event_controller_class_init): upd.
4671 (spi_check_key_event): merge into.
4672 (spi_device_event_controller_check_key_event):
4673 here and kill strange static ev init, don't leak
4674 the x_event - nor dynamicaly allocate it.
4676 * registryd/registry-main.c (main): re-direct
4677 timeout to remove strange vtable mess.
4679 * registryd/deviceeventcontroller.c
4680 (remove_listener_cb): impl.
4681 (spi_controller_deregister_device_listener):
4682 fix re-enterancy hazard.
4684 2002-01-07 Michael Meeks <michael@ximian.com>
4686 * registryd/deviceeventcontroller.c
4687 (spi_device_event_controller_new): upd.
4688 (impl_notify_listeners_sync): upd. debug.
4689 (spi_notify_keylisteners): fix re-enterancy hazards,
4690 prettify, remove O(n*n) iteration.
4691 (spi_controller_grab_keyboard): fix iteration.
4692 (spi_check_key_event): re-format to suit coding style.
4693 Clean all the warnings - we're warning free.
4695 * registryd/deviceeventcontroller.h:
4696 * registryd/registry.h: make mutualy referential with
4697 typesafe forward references instead of (!) void pointer
4700 2002-01-11 Michael Meeks <michael@ximian.com>
4702 * cspi/spi_accessible.c (role_names): add a role name
4703 to sync this array with the enum; and make the regression
4706 2002-01-10 Michael Meeks <michael@ximian.com>
4708 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4709 allow expansion of enumeration & kill warning.
4711 * test/test-simple.c (key_listener_cb): impl.
4712 (test_keylisteners): impl.
4714 * cspi/spi-listener.h: make listener signatures const
4715 on the provided (const) events.
4717 * test/keysynth-demo.c: upd. to const events.
4719 * test/simple-at.c: ditto.
4721 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4724 Rev the version to 0.5 (the previous tarball was named 0.4,
4725 even though the micro number was 3), so we need to rev upwards
4726 again for beta2/"desktop-alpha"
4729 Checked in a demo script, which requires editing before use!
4730 Proceed with caution.
4733 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4735 * cspi/spi_accessible.c:
4736 Add a couple of missing enum initializations, and fix some enum
4739 * cspi/spi_registry.c:
4740 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4742 * docs/reference/cspi/at-spi-cspi-sections.txt:
4743 Remove/fix a couple of broken document references.
4746 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4747 as Alt-Control to listen for commands, since on some systems
4748 Control-Alt may already be grabbed.
4750 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4753 Update version number to 0.4 for Beta2.
4755 * libspi/accessible.c, libspi/accessible.h:
4756 Expose spi_accessible_construct, to enable libgail-gnome
4757 construction from spi_accessible subtype.
4759 * utils/magnifier.c:
4760 Workaround for bug in some non-gnome-compliant window managers
4761 which made magnifier resize improperly.
4763 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4765 * libspi/accessible.c: (spi_accessible_new) :
4766 Move the test for SPI_IS_REMOTE_OBJECT to
4767 spi_accessible_new_return, fixing a bug and compile time warning.
4769 2002-01-08 Michael Meeks <michael@ximian.com>
4771 * registryd/registry.c (parse_event_type): remove strndup.
4773 * libspi/Makefile.am (libspi_la_SOURCES): remove
4774 sources already included in the headers section.
4776 * libspi/util.c: add.
4778 * libspi/spi-private.h: add.
4780 * registryd/registry.c: update to moved list iterators.
4782 2002-01-05 Michael Meeks <michael@ximian.com>
4784 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4786 * test/test-simple.c (main): ditto.
4788 2002-01-04 Michael Meeks <michael@ximian.com>
4790 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4791 redundant construct.
4793 * registryd/registry.c
4794 (get_listener_list): impl.
4795 (impl_accessibility_registry_register_global_event_listener):
4796 re-impl. to simplify using ~, remove dodgy const cast off.
4797 (parse_event_type): constify.
4798 (impl_accessibility_registry_deregister_global_event_listener_all):
4799 re-write, more efficiency and simplicity, kill re-enterancy
4801 (compare_listener_corbaref, compare_corba_objects),
4802 (compare_listener_quarks): define out.
4803 (impl_accessibility_registry_deregister_global_event_listener):
4804 re-write for effiency, and nail re-enterancy hazard.
4805 (impl_accessibility_registry_get_desktop_list): impl.
4806 (re_enterant_list_delete_link): impl.
4807 (re_enterant_list_foreach): impl.
4808 (remove_listener_cb): impl.
4809 (_registry_notify_listeners): kill.
4810 (notify_listeners_cb): impl.
4812 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4813 (SPI_getDesktopList): impl.
4815 * test/test-simple.c (test_desktop): test the methods.
4817 2002-01-03 Michael Meeks <michael@ximian.com>
4819 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4820 keystrings since we free them
4821 (SPI_freeAccessibleKeySet): in here.
4823 * libspi/accessible.c (spi_accessible_new): kill warning,
4824 wonder what is going on with the constructor here.
4826 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4828 * libspi/accessible.c (spi_accessible_new ()) :
4829 Added check to see if AtkObject is an SpiRemoteObject before
4830 creating an SpiAccessible.
4832 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4834 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4835 Enable keygrabs using the Control modifier, now that they are
4836 working properly (they were previously disabled).
4839 Change the command keygrab for this demo to "Control+Alt", so as
4840 to conflict with fewer other key commands on the system; this
4841 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4843 Removed a pointlessly-chatty keylistener for unshifted keys
4844 (shifted keys are still reported).
4846 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4848 * libspi/remoteobject.h:
4849 * libspi/remoteobject.c:
4850 Added definitions for special AtkObject subtype, required for
4851 support of remote components (specifically, used by BonoboControl
4852 accessibility implementation).
4854 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4856 * cspi/spi.h: synched relation types with ATK
4858 * cspi/spi_accessible.c: Added implementations of
4859 AcccessibleRelation_* methods
4861 * idl/Accessibility_Relation.idl: added getRelationTypeName
4862 method. Synched known relation types with ATK. Allowed for
4863 relation type extension with the RELATION_EXTENDED type.
4865 * libspi/relation.c: Provided implementations for
4866 AccessibleRelation methods.
4868 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4870 API tweaks for today's API 'freeze'.
4873 Added placeholder functions to allow future compatible expansion
4874 of the IDL interfaces.
4876 * idl/Accessibility_Registry.idl:
4877 Changed generateKeyEvent to generateKeyboardEvent. Changed
4878 signature of this method to accept an optional keystring in
4879 parameter (for complex text input synthesis) and changed use of
4880 simple 'boolean' parameter in registerKeystrokeListener to a
4881 struct, EventListenerMode.
4883 * cspi/spi_accessible.c:
4885 * cspi/spi_streamablecontent.c:
4886 Added references to AccessibleStreamableContent interface, and
4887 definition and implementation of AccessibleStreamableContent
4890 * cspi/spi_registry.c:
4892 Changed generateKeyEvent API to generateKeyboardEvent,
4893 taking a new (optional) keystring parameter to support complex
4898 Renamed directory (to better reflect its actual purpose, bridging
4899 from at-spi to ATK). The .so module is also now named
4902 * idl/Accessibility_Hypertext.idl:
4903 * libspi/accessible.c:
4904 * libspi/hypertext.h:
4905 * libspi/hypertext.c:
4906 Changed Accessibility_Hypertext to *not* derive from
4909 * cspi/spi_registry.c:
4910 Added list of legal event type names for 'window' events, which
4911 completes the registry event API.
4913 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4915 * at-bridge/bridge.c: Added registration for separate
4916 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4917 signals. If either of the first two parameters to the generic
4918 bridge signal handler are ints, they are passed on as event
4919 details. This allows an AT to determine what text was inserted.
4921 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4923 * registryd/deviceeventcontroller.c:
4924 Fixed regressions in generateKeyEvent caused by the removal of
4925 gdk_init from registryd; we now use pure X calls to connect to the
4926 display, which makes sense because deviceeventcontroller already
4927 uses a fair bit of X API (should eventually be migrated to a
4928 'portability layer').
4930 * registryd/desktop.c:
4931 Fixed minor regression in spi_desktop_init, changed the way the
4932 desktop name is being set to work with new spi_base API
4933 (gobject-based, rather than AtkObject-based).
4935 * registryd/Makefile.am:
4936 Minor revision of makefile to use XTST_LIBS variable rather than
4937 hard-wiring the Xtst LD_ADD element.
4939 * test/keysynth-demo.c:
4940 Tweaked an output message; added initialization of the
4941 'keystrings' member of the "switch listener" key_set.
4943 * libspi/relation.c:
4944 Squashed compile-time warning.
4946 * libspi/accessible.c:
4947 Cosmetic and formatting fixes, renamed a static method.
4949 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4951 * libspi/accessible.c
4953 * libspi/application.c
4956 * libspi/component.c
4957 * libspi/editabletext.c
4958 * libspi/hyperlink.c
4959 * libspi/hypertext.c
4961 * libspi/selection.c
4965 * registryd/desktop.c:
4966 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4968 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4970 * idl/Accessibility_Registry.idl:
4971 Added boolean member 'is_text' to DeviceEvent. This is for the
4972 use of key events, and helps prevent ambiguity between composed
4973 key strings and keysym names, since both may potentially be
4974 returned in the 'event_string' member.
4976 * at-bridge/bridge.c:
4977 * registryd/deviceeventcontroller.c:
4978 Use the 'is_text' member when notifying device event listeners.
4979 Knon issue: composed characters are not dealt with correctly by
4980 the global key listener implementation yet.
4982 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4984 * at-bridge/bridge.c:
4985 Namespaced local static methods to spi_atk_bridge_* where
4986 previously named bridge_*, and spi_* elsewhere.
4988 * at-bridge/bridge.c:
4989 * cspi/bonobo/cspi-bonobo-listener.c:
4990 Added demarshalling/conversion for string member of
4991 Accessibility_DeviceEvent to AccessibleKeystroke.
4993 * registryd/deviceeventcontroller.c:
4994 Added code to fill the Accessibility_DeviceEvent key string value
4995 member for global key events (i.e. from XGrabKey), to match
4996 behavior of Accessibility_DeviceEvent from the toolkit key events
4997 from the bridge. Fixed timestamp in global key event notifications.
5000 Added printout of key event's string value to
5001 report_ordinary_key_event, for demo/debugging purposes.
5003 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5005 * idl/Accessibility_Registry.idl:
5006 Removed Accessibility_KeyStroke structure in favor of generic
5007 Accessibility_DeviceEvent structure.
5008 Changed Accessibility_ControllerEventMask from a struct to an
5011 * at-bridge/bridge.c:
5012 Changed APIs to use DeviceEvent structure as above, and removed
5013 bogus casting between these event structures.
5015 * cspi/spi-listener.h:
5016 Added keystring member of AccessibleKeystroke structure, to enable
5017 matching on event "names" rather than only hardware codes and
5021 Added keystrings member of AccessibleKeySet struct, to allow
5022 matching on event names (as above).
5023 Added declarations for SPI_createAccessibleKeySet and
5024 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5025 event modmasks directly as unsigned ints rather than structs with
5026 refcounts, in the DeviceEventController methods.
5028 * cspi/spi_registry.c:
5029 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5031 * cspi/spi-roletypes.h:
5032 Added documentation of newly added SPI Roles.
5034 * cspi/bonobo/cspi-bonobo-listener.c:
5035 Changes in support of API changes above.
5037 * libspi/accessible.c:
5038 Converted APIs to use DeviceEvent structure (see IDL changes
5041 * registryd/deviceeventcontroller.c:
5042 Added DEControllerGrabMask structure to track keygrabs not only by
5043 modmask but by keyset as well; this allows us to do "global"
5044 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5045 grabbing on AnyKey and then filtering after-the-fact.
5046 Bugfixes for event filtration mean that we don't get false matches
5047 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5049 * registryd/deviceeventcontroller.c:
5050 Namespaced a number of static methods to use spi_ prefix. Major
5051 revision to internals of global (i.e. X) key grabs.
5053 * registryd/deviceeventcontroller.h:
5054 Removed keymask_list and added keygrabs_list to
5055 SpiDeviceEventController struct.
5058 Added use of SPI_createAccessibleKeySet API when creating a
5059 listener for only one key. Attach a listener to "shift spacebar
5060 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5061 X key event names to SPI key event names, so that listeners are
5062 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5064 * test/keysynth-demo.c:
5065 Changed (incorrect) use of X key event names (KeyPressed,
5066 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5069 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5071 * libspi/accessible.c:
5072 Convert all AtkRole enumerations to Accessibility_Role enums when
5073 getting a role from an AtkObject.
5075 * cspi/spi_accessible.c:
5076 Complete the conversion of Accessibility_Role enums at runtime to
5077 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5078 role enums correctly match those given in spi-roletypes.h.
5079 Re-synchronize the local names list for AccessibleRole_getName ().
5080 AccessibleRole_getName is now deprecated, since it duplicates the
5081 more reliable Accessible_getRoleName.
5082 Added some role types from Accessibility_Role.idl.
5084 * idl/Accessibility_Role.idl:
5085 Added some role types used by AtkRole.
5087 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5090 * cspi/spi_registry.c:
5092 * cspi/cspi-bonobo-listener.c:
5093 Namespaced all methods that did not begin with an "SPI_" or
5094 "Accessible" prefix to "SPI_".
5097 Homogenized internal function namespace to "cspi_" for statics.
5100 Patched tests to use the new CSPI API.
5102 * docs/reference/cspi/at-spi-cspi-sections.txt:
5103 Updated docs to reflect namespace changes, and added a number of
5104 methods to the documentation.
5106 * registryd/registry.c:
5107 Changed use of strings and string hashes in listener event
5108 matching and parse_event_string to use GQuark, which is guaranteed
5111 * registryd/registry.h:
5112 Squashed annoying warning.
5114 * idl/Accessibility_Role.idl:
5115 Extended range of available Accessibility_Role values.
5117 * cspi/spi_accessible.c:
5118 Re-ordered role names.
5120 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5122 * idl/Accessibility_Value.idl:
5123 Revert use of union back to CORBA_double, since the double type is
5124 more efficient and can contain the other types without loss of
5127 * idl/Accessibility_Accessible.idl:
5128 Added method Accessibility:Accessible:getRoleName, to complement
5129 Accessibility:Accessible:getRole.
5131 * cspi/spi_accessible.c:
5133 Added C binding for above, Accessible_getRoleName (), and changed
5134 signature of Accessible_getRole () to return an AccessibleRole.
5136 * cspi/spi-roletypes.h:
5137 Changed AccessibleRole_getName to return a char * instead of a
5138 const char *. This method is now at least temporarily deprecated
5139 in favor of asking Accessibles for their RoleNames directly.
5142 Revert to match Accessibility_Value.idl;
5146 Change signature of AccessibleValue methods to use double rather
5150 * cspi/spi_accessible.c:
5151 Changed Accessible_getRole to return an AccessibleRole enum rather
5152 than a UTF-8 string. The UTF-8 string can still be obtained via
5153 AccessibleRole_getName ().
5155 * test/test-simple.c:
5156 Add test_action. Small fixup to match API change to Accessible_getRole.
5159 Bugfix for get_action_from_servant ().
5161 2001-12-11 Michael Meeks <michael@ximian.com>
5163 * libspi/libspi.h: remove registry.h and
5164 desktop.h, deviceeventcontroller.h
5166 * libspi/Makefile.am: remove registry.[ch],
5167 desktop.[ch], deviceeventcontroller.[ch]
5169 * registryd/Makefile.am: add registry.[ch],
5170 desktop.[ch], rename registryd.c to registry-main.c.
5171 add deviceeventcontroller.[ch]
5173 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5176 Replace setenv() call with putenv ().
5178 * libspi/component.c:
5179 Bugfix in AccessibleComponent_getExtents (),
5182 2001-12-11 Michael Meeks <michael@ximian.com>
5184 * libspi/image.c (impl_getImageExtents): impl.
5185 (spi_image_class_init): upd.
5188 (AccessibleImage_getImageDescription): fix daft bug
5191 * test/test-simple.c (global_listener_cb): update
5192 to only quit if not --poke
5193 (main): catch --poke.
5194 (validate_accessible): upd. dumping, call test_image
5197 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5200 * idl/Accessibility.idl: update all IDL includes.
5202 * idl/*.idl - rename to namespace - this sucks, blame
5203 mjs' bad decision for oafd.
5205 * test/test-simple.c (create_test_window): add more tests.
5206 (create_tree): split this out.
5207 (validate_accessible): bugfix.
5209 2001-12-11 Michael Meeks <michael@ximian.com>
5211 * cspi/bonobo/cspi-bonobo-listener.c:
5212 (cspi_kestroke_listener_unref),
5213 (cspi_event_listener_unref): impl. undoing previous
5214 homenous environment - for Bill.
5216 * cspi/spi_table.c (long_seq_to_array): use
5219 * cspi/spi_main.c: split out all bonoboish bits into
5222 * cspi/spi-impl.h: upd. typedefs.
5224 * cspi/spi_registry.c: update to lowlevel API,
5225 return booleans to indicate success in some places.
5227 * cspi/spi_event.c: update to lowlevel API.
5229 * cspi/bonobo/Makefile.am: add.
5231 * cspi/bonobo/cspi-lowlevel.h: add
5233 * cspi/bonobo/cspi-bonobo.c: add
5235 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5237 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5238 (SUBDIRS): add bonobo, link in the libs.
5240 * cspi/spi-util.c: kill this file.
5242 * TODO: merge in my bits.
5244 2001-12-11 Michael Meeks <michael@ximian.com>
5246 * test/test-simple.c (test_value, test_table, main):
5247 remove unused variables causing warnings.
5249 * configure.in: cleanup checks - require gail.
5251 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5254 Changed Value interface to use SValue (scalars) rather than
5255 assuming all values are floats. This allows floats, doubles,
5256 longs, shorts, and unsigned values to be manipulated.
5257 Introduced Accessibility:SValue union.
5260 Updated to use new API above, and to work correctly with GValues
5261 of different types in AtkValue.
5264 Updated to use new API above. cspi's API is as yet unchanged.
5267 Updated the Value revision action item.
5269 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5271 * test/test-simple.c:
5272 Added test_table (GtkTreeView widget in test window to follow).
5273 Un-commented test_value, added GtkRange widget.
5274 Added GtkTreeView widget with GtkListStore. It passes regression
5275 test but leaks one SPI object for some reason.
5278 Fixed bug in impl__set_currentValue.
5280 2001-12-10 Michael Meeks <michael@ximian.com>
5282 * cspi/spi_text.c: audit for exception handling,
5283 tolerating NULL object references safely etc.
5285 * cspi/spi_value.c: ditto.
5287 * cspi/spi_table.c (AccessibleTable_getSummary),
5288 (AccessibleTable_getAccessibleAt),
5289 (AccessibleTable_getRowHeader),
5290 (AccessibleTable_getColumnHeader),
5291 (AccessibleTable_getCaption): fix bugs hidden by
5293 (long_seq_to_array): impl.
5294 (AccessibleTable_getSelectedRows),
5295 (AccessibleTable_getSelectedColumns): use it.
5297 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5300 Added a TODO list (rough and short for now).
5302 * cspi/spi_hyperlink.c:
5303 * cspi/spi_hypertext.c:
5304 Fixed macro name typos, and remove use of obsolete macro in
5305 AccessibleHyperlink_getLink.
5307 * cspi/spi_action.c:
5308 * cspi/spi_accessible.c:
5309 * cspi/spi_application.c:
5310 * cspi/spi_component.c:
5311 * cspi/spi_selection.c:
5314 Documentation fixes (removed return values from ref/unref methods).
5316 2001-12-10 Michael Meeks <michael@ximian.com>
5318 * cspi/spi_action.c: audit for exception handling,
5319 tolerating NULL object references safely etc.
5321 * cspi/spi_accessible.c: ditto.
5323 * cspi/spi_component.c: ditto.
5325 * cspi/spi_editabletext.c: ditto.
5327 * cspi/spi_hyperlink.c: ditto.
5329 * cspi/spi_hypertext.c: ditto.
5331 * cspi/spi_image.c: ditto.
5333 * cspi/spi_selection.c: ditto.
5335 2001-12-10 Michael Meeks <michael@ximian.com>
5337 * configure.in: use cspi/libspi.pc.in instead.
5339 * Makefile.am (pkgconfig_DATA): upd. to match.
5341 * test/simple-at.c (report_focus_event): kill hacks around
5342 bad return values, use putenv not setenv
5344 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5345 fire ChildGone - I killed it.
5347 * libspi/component.c
5348 (impl_accessibility_component_get_extents): remove
5351 * idl/Accessible.idl: kill ChildGone exception.
5353 * cspi/*.[ch]: kill int return from ref / unref.
5355 * cspi/spi_main.c (cspi_object_add_check): fold into
5356 (cspi_object_add): here.
5358 * cspi/spi_component.c (AccessibleComponent_getExtents):
5359 handle exceptions elegantly.
5361 * cspi/spi-private.h (cspi_check_ev_return),
5362 (cspi_return_if_fail): impl.
5364 * cspi/spi_accessible.c: use extensively.
5365 (AccessibleStateSet_equals): add direct compare check.
5367 * cspi/spi_selection.c: tolerate NULL objs, and check
5368 exceptions before return.
5370 * cspi/spi-util.c (cspi_warn_ev): rename to
5371 (cspi_check_ev): this & don't pass ev in; no point.
5373 2001-12-10 Michael Meeks <michael@ximian.com>
5375 * test/test-simple.c: use putenv not setenv
5376 (get_environment_vars): more chatty if you're not using
5379 * test/simple-at.c: do the setenv so more people see the
5382 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5384 * libspi/registry.c:
5385 Changed check of CORBA_environment on notification to be a warning
5386 instead of an error for the moment, since we can recover from this
5387 error when caused by a queued notification from a dead app.
5390 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5391 used by all current implementors of AtkValue), and coerce to
5392 CORBA_float. (Proper general case fix may require change to Value.idl).
5394 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5398 * cspi/spi_accessible.c:
5399 Documentation fixes: added user_data params to documentation for
5400 listeners and callbacks.
5402 * cspi/spi_accessible.c:
5403 Changed AccessibleStateSet_compare to return a
5404 StateSet rather than return the difference set into a third parameter.
5407 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5410 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5411 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5415 Remove subdirectory po from SUBDIRS for now.
5417 * at-bridge/bridge.c:
5418 Beefed up a couple of debug printouts.
5419 One-line fix for signal notification name formatting.
5421 * libspi/accessible.c:
5422 Added assertion to spi_accessible_new ().
5424 * libspi/application.c:
5425 Put #ifdef qualifiers around a printf.
5428 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5430 * registryd/Makefile.am:
5432 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5433 INTLTOOL_SERVER_RULE macro.
5436 Added an event listener for several ATK signals, for
5437 testing and debugging. Removed a few g_warnings.
5438 Added test output if focussed item implements the Value interface.
5440 * test/test-simple.c:
5441 Added test_value () function (known not to pass at the moment, so
5442 not actually called yet.
5444 2001-12-08 Michael Meeks <michael@ximian.com>
5446 * at-bridge/bridge.c (bridge_focus_tracker),
5447 (emit_eventv): fix the same ref. leak.
5448 (register_atk_event_listeners): don't leak.
5450 * cspi/spi-listener-impl.c (cspi_event): more
5451 protection from client code.
5453 * test/test-simple.c (test_desktop): unref the app.
5455 * test/Makefile.am: upd. TESTS.
5457 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5459 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5461 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5463 * cspi/spi_registry.c: constify in strings.
5464 (deregisterGlobalEventListenerAll): don't release the ref.
5466 * cspi/spi.h: start removing redundant / conflicting
5467 gtkdoc comments, making the API readable at a glance :-)
5469 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5471 * test/keysynth-demo.c (keysynth_exit, main): upd.
5473 * test/simple-at.c (main, simple_at_exit): upd.
5475 * test/test-simple.c (unutterable_horror): kill.
5476 (utterable_normal_derefs): kill.
5477 (main): upd & do a setenv before gtk_init, so that we
5478 can use memprof - and to save the pain of remembering
5479 this, if we're running under memprof - don't exit.
5481 * cspi/spi_main.c (SPI_exit): return exit status
5483 (SPI_event_quit): impl.
5484 (SPI_event_main): simplify.
5485 (cspi_is_gnome_app): kill.
5486 (SPI_init): kill isGNOMEapp arg.
5488 * at-bridge/bridge.c (register_atk_event_listeners):
5489 re-instate the unref.
5490 (bridge_exit_func): don't re-activate the registry,
5491 protect vs. theoretical re-entry, use the
5492 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5493 assert a clean shutdown - for regression tests.
5495 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5497 * configure.in: Comment out dummy i18n support for now,
5498 otherwise it fails to build.
5499 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5500 EXTRA_DIST. They are missing in tarball.
5502 2001-12-07 Michael Meeks <michael@ximian.com>
5504 * util/magnifier.c: kill bonobo activation reg. race.
5506 * libspi/component.c
5507 (impl_accessibility_component_get_extents): make it match
5510 * libspi/registry.c (_registry_notify_listeners):
5511 re-remove X headers & reconcile conflicts.
5512 (spi_listener_struct_free): bad conflict resolve.
5513 (impl_accessibility_registry_register_application):
5514 more bad merging fixed.
5515 (impl_accessibility_registry_deregister_application): ditto.
5516 (spi_registry_new): ditto.
5517 (spi_registry_init): don't have an applications field.
5519 [ merge fixups2 branch to here ]
5520 2001-12-07 Michael Meeks <michael@ximian.com>
5522 * test/simple-at.c (report_focus_event),
5523 (report_focussed_accessible): remove g_warning debug.
5525 2001-12-07 Michael Meeks <michael@ximian.com>
5527 * test/test-simple.c (validate_tree): comment out some checks.
5528 (test_desktop): app now not registered idly - horay.
5530 2001-12-07 Michael Meeks <michael@ximian.com>
5532 * cspi/spi_registry.c
5533 (registerAccessibleKeystrokeListener): clean, stop it leaking
5534 great swathes of memory, and device event controller references.
5535 ensure we always pass valid sequences.
5536 (deregisterAccessibleKeystrokeListener): ditto.
5537 (generateKeyEvent): upd.
5539 * at-bridge/bridge.c (bridge_key_listener): handle
5540 registry dead exception gracefully.
5541 (bridge_focus_tracker, emit_eventv): free ev.
5543 * test/simple-at.c (report_focus_event): fix polarity.
5545 * libspi/application.c (notify_listeners): kill the ev
5546 argument, and make sure we init the ev we use.
5547 (spi_application_object_event_listener): split out a chunk
5548 (get_atk_object_ref): here & fixup.
5549 (reverse_lookup_name_for_toolkit_event): make const.
5550 (spi_application_toolkit_event_listener): fixup, kill leaks
5553 * at-bridge/bridge.c (register_atk_event_listeners):
5554 don't unref the noop object - causes grief.
5556 * libspi/registry.c: remove the X headers.
5557 turn off the debug churn.
5559 * libspi/accessible.c (spi_accessible_new_return): only
5560 release the ref if we are supposed to [doh]
5562 * test/simple-at.c (report_button_press, report_focus_event):
5563 guard vs. unexpected exit.
5565 * at-bridge/bridge.c (gtk_module_init): prune printf.
5566 (bridge_exit_func): fix app unref.
5568 * libspi/Makefile.am: don't install registry or desktop.h
5570 * libspi/*.h: update includes.
5572 * libspi/application.h: don't include ourself, or
5573 other redundant headers.
5575 2001-12-06 Michael Meeks <michael@ximian.com>
5577 * libspi/accessible.c
5578 (get_accessible_from_servant): impl.
5579 Upd. all CORBA impl.s to use it killing cut and paste.
5581 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5583 (SPI_init): register atexit cleanup handler here.
5585 2001-12-06 Michael Meeks <michael@ximian.com>
5587 * at-bridge/bridge.c (gtk_module_init): g_error on
5588 activation exception
5590 2001-12-06 Michael Meeks <michael@ximian.com>
5592 * at-bridge/bridge.c (gtk_module_init): some sort of
5593 confusing merge clash - reverted.
5594 (bridge_idle_init): ditto.
5596 * test/test-simple.c (main, utterable_normal_derefs):
5597 merge from Bill - somehow not committed.
5599 2001-12-06 Michael Meeks <michael@ximian.com>
5601 * libspi/value.c (spi_value_class_init): upd.
5602 (spi_value_finalize): kill.
5604 * libspi/table.c (spi_table_finalize): kill.
5605 (spi_table_interface_new): upd.
5606 (spi_table_class_init): upd.
5607 (get_table_from_servant): impl.
5608 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5610 * libspi/selection.c (spi_selection_finalize): kill.
5611 (spi_selection_interface_new): upd.
5612 (spi_selection_class_init): upd.
5613 (get_selection_from_servant): impl.
5614 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5616 * libspi/relation.c (spi_relation_finalize): kill.
5617 (spi_relation_class_init, spi_relation_new): upd
5619 * libspi/image.c (spi_image_finalize): kill.
5620 (spi_image_class_init): upd.
5621 (spi_image_interface_new): upd.
5622 (get_image_from_servant): impl.
5623 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5625 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5626 (spi_hyperlink_finalize): kill.
5627 (spi_hyperlink_new): upd.
5628 (get_hyperlink_from_servant): impl.
5629 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5631 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5632 (spi_hypertext_finalize): kill.
5633 (spi_hypertext_class_init): upd.
5634 (get_hypertext_from_servant): impl.
5635 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5637 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5638 (spi_editable_text_interface_new): upd.
5639 (get_editable_text_from_servant): impl.
5640 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5642 * libspi/text.c (get_text_from_servant): impl.
5643 All impls - update to use it killing more cut and paste,
5644 also fix bad string returns on duff args ( a somewhat
5645 impossible case to handle - but hey ).
5646 (spi_text_construct): impl.
5647 (spi_text_interface_new): upd.
5648 (spi_text_object_finalize): kill.
5650 * libspi/component.c
5651 (accessibility_component_object_finalize): kill.
5652 (spi_component_class_init): upd.
5653 (get_component_from_servant): impl. helper to kill cut & paste.
5654 (impl_accessibility_component_contains):
5655 (impl_accessibility_component_get_accessible_at_point):
5656 (impl_accessibility_component_get_position):
5657 (impl_accessibility_component_get_extents):
5658 (impl_accessibility_component_get_mdi_z_order):
5659 (impl_accessibility_component_get_layer):
5660 (spi_component_interface_new): upd.
5662 * libspi/action.c (spi_action_finalize): kill.
5663 (spi_action_class_init): upd. inherit from SpiObject.
5664 (spi_action_interface_new): upd.
5665 (get_action_from_servant): impl. helper to reduce cut & paste.
5666 (impl_getKeyBinding, impl_getName, impl_doAction),
5667 (impl_getDescription): Use it everywhere.
5669 * cspi/spi_main.c (get_live_refs): a pointer hash.
5670 (spi_object_hash, spi_object_equal): comment out.
5671 There are issues with CORBA object hashing that need
5674 * libspi/application.c (spi_application_init),
5675 (spi_application_new): upd.
5677 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5678 (spi_accessible_class_init): upd.
5679 s/accessible/object/ in epv methods.
5681 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5683 * at-bridge/bridge.c:
5684 Reorder the bridge initialization into the bridge gtk_module_init,
5685 an immediate call to bridge_register_app, and an idle_add for
5686 register_atk_event_listeners (the only code that *must* wait until
5687 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5688 the activation, creates the application's Accessible object, and
5689 queues the bridge_idle_init function. Restored call to
5690 Accessibility_Registry_deregisterApplication().
5691 Prior to making this call we obtain a new reference to the
5692 registry, which is a temporary hack that helps us handle apps that
5693 shut down the bonobo mainloop before we get there.
5695 * libspi/registry.c:
5696 Fix string leakage in debug block, and don't segv if a an app
5697 dies before its event notifications have been propagated.
5700 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5701 as stopgap measure until we get proper exception handling when
5702 objects die during or before interrogation.
5706 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5707 Also changed default value of is_gnome_app to TRUE.
5710 * test/keysynth-demo.c:
5711 Changed use of SPI_init and SPI_event_main to reflect API change above.
5714 Made report_focus_event check the warning value from getName
5715 before reporting on focussed accessible; simplifies handling of
5716 notifications from dead objects.
5718 * test/test-simple.c: (Changes not in this patch since source is
5721 2001-12-05 Michael Meeks <michael@ximian.com>
5723 * registryd/registryd.c (main): protect against
5724 bonobo-activation startup race condition.
5726 * cspi/spi_main.c (cspi_object_add_check): cope
5727 with the exception elegantly.
5729 * idl/Accessible.idl: decl. ChildGone
5731 * libspi/desktop.c (spi_desktop_dispose): impl.
5732 (spi_desktop_class_init): upd.
5733 (spi_desktop_add_application),
5734 (spi_desktop_remove_application),
5735 (abnormal_application_termination): impl.
5736 (impl_desktop_get_child_at_index): re-impl.
5739 (impl_accessibility_registry_deregister_application),
5740 (impl_accessibility_registry_register_application):
5741 kill excessive debug clutter.
5743 * test/test-simple.c (test_misc): test some NULL
5744 tolerance. (main): upd.
5746 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5747 implements no interfaces - so let's not crash.
5749 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5751 * libspi/accessible.c (spi_accessible_new_return): impl.
5752 helper to calm the cut and paste, to cope with
5753 NULL AtkObjects effectively and efficiently, and to kill
5754 the referencing bugs.
5756 * libspi/table.c (impl_getAccessibleAt),
5757 (impl_getRowHeader, impl_getColumnHeader): upd.
5759 * libspi/hyperlink.c (impl_getObject): upd.
5761 * libspi/accessible.c
5762 (impl_accessibility_accessible_get_child_at_index): upd.
5764 * libspi/component.c
5765 (impl_accessibility_component_get_accessible_at_point): upd.
5767 * test/test-simple.c (test_editable_text, test_text): impl.
5770 * cspi/spi_editabletext.c
5771 (AccessibleEditableText_insertText): constify.
5773 * test/test-simple.c (focus_me): make more robust.
5775 * libspi/accessible.c: remove some printfs in methods that
5776 we test and work fine, so we can get a clean tree dump.
5778 * test/test-simple.c (validate_accessible),
5779 (validate_tree): make tree dumping pretty too.
5781 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5782 it builds without debug on.
5784 * test/test-simple.c (validate_accessible): fix the most
5787 * cspi/spi_main.c (spi_object_release): leave the nicely
5788 blanked memory around if in debug mode.
5790 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5792 [committed to fixups2]
5793 2001-12-05 Michael Meeks <michael@ximian.com>
5795 * libspi/editabletext.c
5796 (spi_editable_text_class_init): g_type_class_peek_parent,
5797 not interface peek - so we finalize cleanly.
5799 * libspi/accessible.c (spi_accessible_new): kill debug.
5801 * test/test-simple.c (validate_accessible): fix ref.
5802 leak, print strings before freeing them; sigh, comment a
5803 chunk out due to strangeness.
5804 (validate_tree): unref the child after use.
5806 * cspi/spi_component.c (AccessibleComponent_getLayer):
5807 add missing break statement, switch on zlayer not the
5808 uninitialized retval.
5810 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5811 before (possibly re-entering) remote unref.
5813 * test/simple-at.c (main): unref the desktop.
5815 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5818 * cspi/spi_main.c (cspi_accessible_is_a): here to
5819 isolate bonobo API usage more.
5821 * libspi/registry.c (impl_accessibility_registry_register_application):
5822 prune bogus comment.
5824 2001-12-04 Michael Meeks <michael@ximian.com>
5826 * test/test-simple.c (validate_tree): upd.
5827 IndexInParent check to make it more lucid.
5828 (validate_accessible): dump the tree.
5830 * libspi/accessible.c (de_register_public_ref),
5831 (get_public_refs): impl.
5832 (spi_accessible_new): make more efficient & intuitive.
5833 Now IndexInParent check works.
5835 2001-12-04 Michael Meeks <michael@ximian.com>
5837 * cspi/spi-util.h: remove.
5839 * cspi/spi.h: move SPI_freeString here
5841 * libspi/component.c (impl_accessibility_component_get_layer):
5843 (impl_accessibility_component_get_mdi_z_order): ditto,
5844 return -1 on error - is this ok ?
5846 * test/test-simple.c (test_application): impl.
5848 * cspi/spi_accessible.c (Accessible_getApplication),
5849 (Accessible_isApplication): impl.
5851 * libspi/registry.c (spi_listener_struct_free): release
5852 the CORBA reference too.
5854 * libspi/accessible.c
5855 (impl_accessibility_accessible_get_parent): fix ref leak.
5857 * libspi/registry.c (spi_registry_new): make the registry
5858 immortal - we don't want it to go away ever.
5860 * libspi/application.c
5861 (spi_accessible_application_finalize): impl. cleanup.
5863 * cspi/spi_registry.c
5864 (deregisterGlobalEventListenerAll),
5865 (deregisterGlobalEventListener),
5866 (deregisterAccessibleKeystrokeListener): fix ref leak.
5868 * cspi/spi_main.c (SPI_init): remove redundant ref.
5870 * test/test-simple.c (unutterable_horror): impl. to force a
5875 (impl_accessibility_registry_deregister_application): release
5876 the application when we de-register it.
5878 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5879 until we have the infastructure to get it right.
5881 2001-12-03 Michael Meeks <michael@ximian.com>
5883 * libspi/Makefile.am: only build eventlistener.[ch]
5885 * libspi/accessible.c
5886 (impl_accessibility_accessible_get_child_at_index): don't leak.
5888 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5889 before we hit the idle handler.
5891 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5892 debugging than exit.
5894 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5896 * libspi/listener.c (impl_notify_event): check source
5897 not NIL before unref.
5899 * libspi/registry.c (impl_registry_notify_event): ditto.
5901 * libspi/eventlistener.c
5902 (impl_accessible_event_notify_event): unref the source.
5904 * libspi/accessibleeventlistener.c
5905 (impl_accessible_event_notify_event): unref the source.
5907 * idl/Event.idl: remove 'hash_id' attribute - of no
5910 * libspi/application.c (notify_listeners): upd list
5912 (spi_application_object_event_listener),
5913 (spi_application_toolkit_event_listener): upd to do correct
5917 (_registry_notify_listeners): update.
5918 (parse_event_type): this method also leaks like a sieve.
5919 (impl_accessibility_registry_deregister_global_event_listener):
5920 fix ETYPE_WINDOW case.
5922 * libspi/application.c
5923 (impl_accessibility_application_register_object_event_listener):
5926 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5928 * libspi/hypertext.c (impl_getLink): ditto.
5930 * cspi/spi_main.c (cspi_object_add): remove
5931 bogus CORBA_Object_duplicate.
5933 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5936 * cspi/spi_accessible.c
5937 (Accessible_getRelationSet): fix leak / referencing issue.
5939 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5940 (cspi_object_add, cspi_object_unref): upd.
5941 (spi_object_release, get_live_refs): impl.
5942 (cspi_cleanup): simplify.
5944 * *.[ch]: s/boolean/SpiBoolean/
5946 * cspi/spi_accessible.c (role_names): actualy order so it
5947 corresponds with the enum !
5949 * test/test-simple.c (test_roles): check some role strings
5950 vs. enums to detect offset errors.
5952 2001-12-01 Michael Meeks <michael@ximian.com>
5954 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5956 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5958 (Accessible_getChildAtIndex): use cspi_add_check so we
5959 check the ev before using a (possibly) invalid value.
5961 * libspi/accessible.c
5962 (impl_accessibility_accessible_get_parent): don't segv
5965 * at-bridge/bridge.c (gtk_module_init): upd.
5966 (bridge_property_event_listener): don't leak strings
5968 (bridge_state_event_listener),
5969 (bridge_property_event_listener): don't use a static
5970 buffer in case of recursive event emission &
5971 re-enterancy - split out the swathe of cut and paste
5973 (emit_eventv): and fix 2 ref leaks here & comply to the
5975 (bridge_register_app): rename to
5976 (bridge_idle_init): this and kill arg parsing, split
5977 various inits & bonobo-activation registration to module
5978 init time, kill referencing error.
5979 (bridge_exit_func): fix the same leak.
5980 (bridge_focus_tracker): don't leak event structures
5982 (bridge_signal_listener): more leakage and cut & paste
5984 (bridge_key_listener): return the result - FIXME is
5985 this polarity correct ?
5986 (accessibility_keystroke_from_atk_key_event): rename
5987 (accessibility_init_keystroke_from_atk_key_event): and stop
5989 (gtk_module_init): return a value - not that it is checked by
5991 (bridge_key_listener): register my horror at casting between
5992 IDL defined structs.
5993 (bridge_get_registry): kill - not used.
5995 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5997 * test/test-simple.c (test_roles): impl.
5998 (test_desktop, validate_accessible, validate_tree): impl.
6000 * cspi/spi_accessible.c (role_names): fixup bogus
6001 MAX_ROLES setup, make constants const for efficient linkage
6002 (AccessibleRole_getName): conform to coding style, make
6005 2001-11-30 Michael Meeks <michael@ximian.com>
6007 * cspi/spi.h: add missing prototype.
6009 * libspi/registry.c (spi_listener_struct_new): fix sig.
6011 * test/Makefile.am: add test-simple
6013 * test/test-simple.c: add
6015 * test/test.sh: add.
6017 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6019 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6020 do it straight - since otherwise we often get an activation race.
6022 [ work before Bill duplicated a chunk of it ... ]
6023 2001-11-30 Michael Meeks <michael@ximian.com>
6025 * libspi/keystrokelistener.c
6026 (spi_keystroke_listener_class_init): fixup arg
6029 * libspi/eventlistener.c
6030 (spi_event_listener_class_init): ditto.
6032 * tests/test.sh: add.
6034 * cspi/spi-listener-impl.h: update macros.
6036 * cspi/spi-listener-impl.c
6037 (cspi_event_listener_remove_callback): add
6038 correct pre-conditions.
6040 * cspi/spi_main.c (SPI_exit): guard vs. double
6041 exits, exit the mainloop nicely.
6042 (SPI_event_main): make more sense.
6043 (SPI_init): move the atexit evilness here so we
6044 always do it (yuck).
6045 (SPI_event_main): upd.
6047 * test/simple-at.c: update for listener changes.
6049 * registryd/registryd.c (main): prune kruft.
6051 * libspi/libspi.h: upd.
6053 * libspi/eventlistener.[ch]: rename broken macros.
6055 * libspi/accessibleeventlistener.[ch]: remove.
6057 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6059 * test/test-simple.c: Add - automated tests.
6061 * cspi/spi-listener-impl.c (cspi_event),
6062 (cspi_key_event): add user_data to invoke.
6063 (cspi_keystroke_listener_finalize): impl.
6064 (cspi_keystroke_listener_class_init): upd.
6067 (createAccessibleEventListener),
6068 (AccessibleEventListener_addCallback),
6069 (createAccessibleKeystrokeListener),
6070 (AccessibleKeystrokeListener_addCallback): upd.
6072 * libspi/deviceeventcontroller.c
6073 (spi_device_event_controller_check_key_event): add public proto.
6076 (impl_accessibility_registry_deregister_global_event_listener):
6077 always init listeners.
6078 (_registry_notify_listeners): yes it is.
6080 * cspi/spi-listener-impl.c (cspi_key_event):
6082 (cspi_event_listener_finalize): impl.
6083 (cspi_event_listener_class_init): hook up.
6084 (event_handler_new, event_handler_free),
6085 (event_list_remove_by_callback): impl.
6086 (cspi_event_listener_remove_callback),
6087 (cspi_keystroke_listener_remove_callback),
6088 (cspi_keystroke_listener_add_callback),
6089 (cspi_event_listener_add_callback): upd.
6091 * libspi/keystrokelistener.c
6092 (keystroke_listener_object_finalize): kill
6093 (spi_keystroke_listener_class_init): upd.
6094 (spi_keystroke_listener_add_callback),
6095 (spi_keystroke_listener_remove_callback): kill,
6097 (impl_key_event): prune drasticaly.
6099 * libspi/eventlistener.c
6100 (spi_event_listener_add_callback),
6101 (spi_event_listener_remove_callback): kill, use
6103 (impl_accessible_event_notify_event): upd.
6104 (spi_event_listener_object_finalize): remove.
6106 * libspi/Makefile.am: use eventlistener.[ch]
6108 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6110 * libspi/registry.c (_registry_notify_listeners):
6111 Changed listener loop iteration to use preferred convention.
6112 Got rid of string memory leaks caused be calling g_strconcat
6113 inside function calls.
6115 * libspi/registry.c (parse_event_type):
6116 Stopped g_strconcat memory leaks, free the g_strsplit return,
6117 g_strdup the split pieces when used, etc.
6119 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6122 Change method 'compare' to return a 'difference set' rather than
6123 taking a StateSet as an out parameter (more Java-friendly).
6125 * idl/Accessible.idl:
6126 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6128 * idl/Component.idl:
6130 Changed methods 'getExtents' and 'getImageExtents' in these
6131 interfaces to return a BoundingBox structure.
6132 (getPosition and getSize are redundant and possibly should be
6133 removed, rather than creating a corresponding Point struct.)
6135 * cspi/spi_component.c:
6136 Modify implementation of getExtents to reflect the above IDL
6141 Add (missing) AccessibleImage_getExtents () API.
6143 * docs/reference/cspi/at-spi-cspi-sections.txt:
6144 Added AccessibleImage_getImageExtents () to docs.
6146 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6148 * idl/Component.idl:
6149 Added two methods, getLayer () and getMDIZOrder (), to reflect
6150 the new ATK methods atk_object_get_layer and
6151 atk_object_get_mdi_z_order. (Which arguably should be part of the
6152 AtkComponent API and AtkObject). Also added an enum,
6153 ComponentLayer, for the first method's return value.
6155 * libspi/component.c:
6156 Added implementations for these methods.
6158 * cspi/spi_component.c:
6160 Added cspi binding methods for above,
6161 AccessibleComponent_getLayer() and
6162 AccessibleComponent_getMDIZOrder().
6163 Added cspi enum 'AccessibleComponentLayer'.
6165 * docs/reference/cspi/at-spi-cspi-sections.txt:
6166 Added above methods to docs.
6170 Changed typedef for 'boolean' type (and all references to it) to
6171 SPIBoolean, to avoid keyword clashes with C++.
6174 Changed usages of 'boolean' to SPIBoolean.
6176 * test/keysynth-demo.c:
6177 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6178 app), except where SPIBoolean is required by the callbacks API.
6180 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6182 * cspi/spi_registry.c:
6183 Removed obsolete X event loop for passive keygrabs (which now
6186 * registryd/registryd.c:
6187 Removed unnecessary call to gdk_init() [cruft]. This also allows
6188 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6191 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6193 * docs/reference/cspi:
6194 Included docs for SPI_freeString in generated documentation.
6197 Renamed spi_freeString to SPI_freeString, for consistency. Added
6198 documentation for this function.
6201 Renamed spi_freeString to SPI_freeString, for consistency.
6202 Removed obsolete method declaration string_from_corba_string.
6204 * test/keysynth-demo.c:
6205 Small tweak to comments.
6208 Stopped leaking the strings returned from CSPI.
6210 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6212 Merged Michael's branch (see his ChangeLog entries below).
6214 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6215 bridge is alive, release on exit.
6217 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6218 Fix type check macro.
6221 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6224 Added is_gnome_app static, and method cspi_is_gnome_app(),
6225 so we can call the appropriate shutdown routine at exit in SPI_exit.
6227 * cspi/spi_main.c (cspi_object_ref):
6228 Duplicate the corba object passed in, since we're keeping it around.
6230 * cspi/SPI_exit.c, cspi_cleanup:
6231 Moved the releasing of the live refs to its own function, so we
6232 can put it in g_atexit (). Call the appropriate shutdown API
6233 depending on whethe calling client is a gnome app or not
6234 (bonobo_main_quit or CORBA_ORB_shutdown).
6236 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6237 Unref the listener when this method is called, after
6238 deregistration. Updated the API docs to note this behavior.
6240 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6241 Bugfixes: Ref the bonobo object when returning a parent or child
6242 reference, or an AccessibleRelation. Generally made sure
6243 BonoboObject refcount is incremented whenever we return an
6246 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6247 Fixed typo/bug in signal declaration.
6249 * libspi/accessibleeventlistener.h:
6252 * libspi/application.c (spi_application_new):
6253 Fixed leak in initialization.
6256 Remembered to increment bonobo-object refcount when returning
6257 children (applications) from desktop object.
6258 Added (empty) finalize method.
6260 * libspi/deviceeventcontroller.c:
6261 Hold a ref to listeners inside DEControllerKeyListeners.
6262 Added dec_key_listener_free() method. Use prepend instead of
6263 append in key_listener list. Fixed some refcount madness and
6264 leaks in the listener registration/deregistration - deregistration
6265 now calls dec_key_listener_free() on listeners, and on the
6266 temporarily constructed dec_key_listener() used to perform the search/match.
6268 * libspi/hypertext.c (spi_hypertest_finalize):
6269 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6270 class. Also fixed spi_hypertext_interface_new() and
6271 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6273 * libspi/hypertext.h:
6274 Removed pointless and duplicate AtkObject pointer from
6277 * libspi/keystrokelistener.c:
6278 Fixed incorrect type of keystroke_listener_parent_class,
6279 renamed keystroke_listener_object_finalize to
6280 spi_keystroke_listener_object_finalize.
6281 Fixed typo in signal declaration
6282 (spi_keystroke_listener_class_init).
6284 * libspi/registry.c:
6285 Added funcsions spi_listener_struct_new() and
6286 spi_listener_struct_free() to help with memory management issues.
6287 We also now use these methods instead of gnew + poking stuff into
6288 the struct, and to decrement listener counts/free the listeners
6289 when deregistering them.
6290 Fix more refcount bugs in getDesktop() and
6291 getDeviceEventController().
6294 De-ref the desktop after enumerating the applications. Explicitly
6295 decrement the refcounts on the created listeners on exit (using
6296 _unref for keystroke listeners, and via the
6297 deregisterGlobalEventListenerAll command for other event
6300 2001-11-27 Michael Meeks <michael@ximian.com>
6302 * cspi/spi-listener.h: fixup enum.
6304 2001-11-27 Michael Meeks <michael@ximian.com>
6306 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6307 (cspi_keystroke_listener_new): Use the cspi variants.
6309 2001-11-26 Michael Meeks <michael@ximian.com>
6311 * test/keysynth-demo.c: fix 2 compile warnings, missing
6314 * test/simple-at.c (report_focussed_accessible),
6315 (report_focus_event, report_button_press),
6316 (check_property_change, is_command_key),
6317 (report_ordinary_key_event, report_command_key_event): upd.
6319 * util/mag_client.h: include pre-requisites.
6321 * libspi/accessibleeventlistener.c
6322 (spi_event_listener_object_finalize): free any lingering
6325 * libspi/keystrokelistener.c
6326 (keystroke_listener_object_finalize): ditto.
6328 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6329 callbacks, with cspi types.
6331 * cspi/spi_event.c (createAccessibleEventListener): chain to
6332 (AccessibleEventListener_addCallback): here.
6333 (createAccessibleKeystrokeListener): chain to
6334 (AccessibleKeystrokeListener_addCallback): here.
6336 * libspi/keystrokelistener.c
6337 (spi_keystroke_listener_class_init): add signal.
6338 (impl_key_event): emit the event.
6339 (boolean_handled_accumulator): impl.
6340 (marshal_BOOLEAN__POINTER): add, gack.
6342 * libspi/accessibleeventlistener.c
6343 (spi_event_listener_class_init): add signal.
6344 (impl_accessible_event_notify_event): emit the signal &
6345 make the loop efficient.
6346 (spi_event_listener_add_callback): prepend the callback.
6348 * libspi/accessibleeventlistener.h: add an 'event' signal,
6349 decl type on callback.
6351 * libspi/keystrokelistener.h: ditto.
6353 * cspi/spi-listener.h: make methods typesafe and
6354 make them use the new event typedefs.
6356 * test/simple-at.c (report_focussed_accessible):
6357 include mag_client.h
6358 Use *(void *)text_interface not the other thing.
6360 * configure.in: add gtk to registryd bits - since we use
6363 * util/magnifier.c: include libbonobo.h
6365 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6367 * test/keysynth-demo.c:
6368 Turned this into a simple scanning keyboard, to demonstrate the
6369 use of g_timeout_add () as a means of creating timers for
6370 scanning, and the use of GtkStyle for visually indicating when
6371 virtual keyboard elements are selected.
6373 keysynth-demo now listens to any keyboard keys with zero-valued
6374 keycodes (i.e. 'unused' keys) and interprets them as
6377 Reworked the shiftlatch code so that shift-down state isn't held
6378 for long periods (it's only synthesized immediately prior to
6379 the keysynth event it's modifying). Note that shiftlatch in this
6380 demo is a convenience, not intended to take the place of AccessX
6381 which is the better choice for getting 'sticky' modifier keys.
6383 * libspi/deviceeventcontroller.c:
6384 * at-bridge/bridge.c:
6385 * cspi/spi_registry.c:
6386 Removed some debug print stuff, and put other verbosity in #ifdef
6391 Implemented some more of the magnifier IDL for the simple
6392 magnifier: namely, getZoomRegionParams.
6393 Added mag_x and mag_y members to MagnifierData struct, aid of this
6395 Added GtkWindow::realize signal handler to magnifier, to keep it
6396 from receiving keyboard focus from the WM.
6398 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6400 * cspi/spi-private.h: my guess at what michael forgot
6401 before he ran off to NZ :-)
6403 2001-11-23 Michael Meeks <michael@ximian.com>
6405 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6406 comment out non existant method invoke so we link.
6408 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6409 use bonobo_exception_get_text for more friendly warnings.
6411 * cspi/spi.c (Obj_Add): move into spi_main & rename
6412 spi_object_add; kill spi.c
6414 * cspi/spi_registry.c
6415 (deregisterGlobalEventListener),
6416 (deregisterGlobalEventListenerAll),
6417 (registerGlobalEventListener): fix exception leaks.
6419 * cspi/spi_main.c (spi_exception): impl. helper, so we
6420 don't leak exceptions.
6422 * cspi/spi_selection.c
6423 (AccessibleSelection_deselectSelectedChild): return the
6426 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6427 (spi_registry): ditto.
6428 (SPI_init): guard against double inits.
6430 * cspi/*.c: use spi_ev (), and spi_registry () where
6431 appropriate - a temporary hack until we have something
6432 better. Use spi_object_add
6434 2001-11-22 Michael Meeks <michael@ximian.com>
6436 * cspi/Makefile.am: re organise, install the headers.
6438 * cspi/*.h: add G_BEGIN/END_DECLS
6440 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6443 Added non-preemptive keylistener for key events with no modifiers
6444 and shift-only modifier.
6446 * libspi/keystrokelistener.c:
6447 Removed some verbose diagnostics printout.
6449 * cspi/spi_registry.c:
6450 Fixed a bug that caused all key listeners to be registered as
6453 * libspi/deviceeventcontroller.c:
6454 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6455 for non-preemptive key masks.
6458 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6460 * docs/reference/idl/at-spi-idl-docs.sgml:
6461 * docs/reference/idl/at-spi-idl-sections.txt:
6462 * docs/reference/idl/at-spi-idl-overrides.txt:
6463 Added missing files.
6465 * docs/reference/Makefile.am:
6466 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6467 to scan the IDL files :-(
6472 Added .cvsignore files.
6474 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6476 * libspi/deviceeventcontroller.c:
6477 * libspi/keystrokelistener.c:
6479 * cspi/spi_registry.c:
6480 Added filters for KeySets, KeyEventSeq, and event types to key
6481 event dispatching, so listeners should only receive those events
6482 that they requested :-)
6484 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6489 * docs/reference:Makefile.am:
6490 * docs/reference/cspi:
6491 * docs/reference/cspi:Makefile.am:
6492 * docs/reference/cspi:tmpl:
6493 * docs/reference/cspi:tmpl:*.sgml:
6494 * docs/reference/idl:
6495 * docs/reference/idl:Makefile.am:
6496 * docs/reference/idl:at-spi-idl-sections.txt:
6497 * docs/reference/idl:at-spi-idl-docs.sgml:
6498 * docs/reference/idl:tmpl:
6499 * docs/reference/idl:tmpl:*.sgml:
6501 Restructured docs directory to allow separate 'reference' docs
6502 section, and forked idl and cspi docs. Added the sgml template
6503 files to CVS. Added the first sections/structural sgml for the
6506 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6508 * configure.in, libspi/Makefile.am: find libXtst.
6510 2001-11-21 Michael Meeks <michael@ximian.com>
6512 * test/accessx-gui.c: s/spi_value/value/ - doh.
6514 * libspi/base.[ch]: add.
6516 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6518 * idl/Accessible.idl:
6519 * idl/Application.idl:
6522 Started gtk-doc cleanup on IDL.
6524 * libspi/deviceeventcontroller.c:
6525 Added and connected non-preemptive key notification from the
6526 toolkits (in addition to the pre-emptive support from XServer
6527 which we had before, but which causes 'focus flashing'). Filters
6528 are presently limited to key modifiers and global/non-global,
6529 KeySets are presently ignored, as are KeyEvent masks.
6531 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6532 structs into the persistant structure rather than just storing
6533 pointers to things that might not persist across servant
6536 The XGrabKey call now does async keygrabs, because synchronous
6537 ones were deadlocking with GDK_event code in a very nasty way.
6539 Added boolean to internal method notify_keylisteners, to indicate
6540 whether the event came from the 'toolkit source' or the 'global
6541 (XServer) source' - this is used in the notification process to
6542 determine which listeners to send the event to.
6544 deviceeventcontroller.c is now warning-free.
6546 * libspi/registry.c:
6547 Fixed regression in application de-registration.
6548 Also fixed some really brain-dead weirdness having to do with
6549 event dispatching - event structs are now duplicated before being
6550 re-marshalled in the dispatch to listeners. This also fixes a
6551 Solaris build problem.
6554 2001-11-20 Michael Meeks <michael@ximian.com>
6557 (impl_accessibility_registry_deregister_global_event_listener):
6560 * libspi/deviceeventcontroller.c
6561 (spi_device_event_controller_check_key_event): return
6562 FALSE on no virtual method.
6564 * libspi/*..h: make includes work on a correctly pathed install.
6566 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6568 * libspi/application.h: kill unused ( and whacked out )
6569 gboolean *spi_application_set_id (AtkObject *app, long id);
6571 2001-11-20 Michael Meeks <michael@ximian.com>
6573 * libspi/*.[ch]: further convert to bonobo's type func
6574 macros, remove redundnant casts etc.
6576 * libspi/text.c s/accessibility_text/spi_text/g,
6577 re-order to de-cruft.
6579 * libspi/hypertext.c: re-order to kill a huge slew
6580 of redundant forward decls.
6582 * libspi/relation.c: ditto.
6584 * libspi/image.c: ditto.
6586 * */.cvsignore: update
6588 2001-11-20 Michael Meeks <michael@ximian.com>
6590 * libspi/deviceeventcontroller.c
6591 (_controller_register_with_devices): use g_getenv,
6592 kill stdlib.h include.
6594 * libspi/keystrokelistener.c
6595 (spi_keystroke_listener_get_type): kill
6596 (spi_keystroke_listener_class_init),
6597 (spi_keystroke_listener_init): rename to this.
6599 * libspi/text.c (impl_getAttributes): fix warning / bug.
6601 * libspi/*.[ch]: more headers, includes and over commenting.
6603 2001-11-20 Michael Meeks <michael@ximian.com>
6605 * libspi/*.[ch]: fixup headers, includes and over commenting.
6607 * libspi/image.c (impl__get_imageDescription): const
6608 correctness warning fix. remove redundant casting.
6610 * libspi/table.c (impl_getRowDescription): ditto.
6611 (impl_getColumnDescription): ditto.
6613 * libspi/libspi.h: add.
6615 2001-11-19 Michael Meeks <michael@ximian.com>
6617 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6619 * libspi/component.c (accessibility_component_get_type):
6620 rename to (spi_component_get_type): and macroify.
6621 (accessibility_component_init): rename to
6622 (spi_component_init): this
6623 (accessibility_component_class_init): rename to
6624 (spi_component_class_init): this
6626 * libspi/action.c (spi_action_get_type): kill, use the macro.
6628 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6631 * libspi/application.c (spi_application_object_event_listener),
6632 (impl_accessibility_application_register_object_event_listener):
6633 warning fixes / const understanding updates.
6635 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6638 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6640 * libspi/spi_accessible.c: Added docs and C bindings for
6641 AccessibleStateSet. (No implementations yet). Documentation
6642 coverage for C bindings now 100%. Made docs for event listeners
6647 boolean notifyListenersSync (in DeviceEventListener listener,
6648 in DeviceEvent event);
6650 oneway void notifyListenersAsync (in DeviceEventListener listener,
6651 in DeviceEvent event);
6653 Added DeviceEventListener and DeviceEvent structs (may deprecate
6654 KeyStroke and KeystrokeListener in favor of this generic
6655 event/listener framework for devices).
6657 * libspi/deviceeventcontroller.c:
6659 Changed some key listener code to take masks, etc., and paved the
6660 way for integration of toolkit/non-preemptive key events. Changed
6661 signatures of some internal methods.
6663 * at-bridge/bridge.c:
6664 Fixed regression connecting to interface signals, apparently
6665 caused by GTK+ changes.
6667 Added an internal bridge_state_listener to deal with
6668 property-change:accessible-state signals.
6670 Changed the key_listeners GList to store structs (including masks,
6671 etc.) instead of just CORBA_Objects (required for full
6672 implementation of key listener API).
6674 Connected the bridge to all currently supported Atk signals.
6675 Events now supported:
6676 object:property-change
6677 object:property-change:accessible-name
6678 object:property-change:accessible-state
6679 object:property-change:accessible-description
6680 object:property-change:accessible-parent
6681 object:property-change:accessible-value
6682 object:property-change:accessible-role
6683 object:property-change:accessible-table-caption
6684 object:property-change:accessible-table-column-description
6685 object:property-change:accessible-table-column-header
6686 object:property-change:accessible-table-row-description
6687 object:property-change:accessible-table-row-header
6688 object:property-change:accessible-table-summary
6689 object:children-changed
6690 object:visible-data-changed
6691 object:selection-changed
6692 object:text-selection-changed
6694 object:text-caret-moved
6696 object:row-reordered
6698 object:column-inserted
6699 object:column-reordered
6700 object:column-deleted
6701 object:model-changed
6703 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6705 * libspi/hyperlink.c,h:
6706 Fixed some broken stuff in hyperlink.
6708 * libspi/relation.h:
6709 * libspi/relation.c:
6710 * cspi/spi_accessible.c:
6711 Initial implementations of AccessibleRelation methods, and docs.
6713 * libspi/accessible.c:
6714 Fixed a bug that caused SEGV if an accessible
6715 object's description is NULL, and a client
6716 requests it. An empty string is now returned.
6718 * cspi/spi_editabletext.c:
6719 * cspi/spi_hypertext.c:
6721 * cspi/spi_hyperlink.c:
6725 Doc coverage now 95%.
6727 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6729 One last namespacing revision:
6730 * libspi/accessibleeventlistener.[ch]:
6731 Renamed SpiAccessibleEventListener to SpiEventListener,
6732 (no need for two namespaces ;-)
6734 And lots of documentation fixes:
6736 * docs/at-spi-docs.sgml:
6737 Fixed 'underscore vs. hyphen' bug that was preventing
6738 the gtk-doc API docs from being automatically generated.
6741 * cspi/spi-listener.h
6743 * cspi/spi_accessible.c
6745 * cspi/spi_application.c
6746 * cspi/spi_component.c
6747 * cspi/spi_editabletext.c
6749 * cspi/spi_hypertext.c
6751 * cspi/spi_registry.c
6752 * cspi/spi_selection.c
6756 * docs/at-spi-docs.sgml
6757 * docs/at-spi-sections.txt
6759 Added and fixed up gtk-doc documentation in cspi.
6761 Interfaces now (fully) documented (subject to revision and enhancement):
6763 Event Listener Support
6765 AccessibleApplication
6769 AccessibleEditableText
6776 AccessibleRelationSet
6781 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6783 * at-bridge/bridge.c:
6784 Initial work for toolkit-level key snooper connection by bridge.
6789 New typedefs and fixes to support new namespacing, and cleaner
6790 separation of cspi bindings from libspi bonobo implementation.
6791 Removed inconsistent and extraneous Spi* namespace prefix that
6792 had crept into cspi headers.
6793 Lots of comment fixes that sed had missed.
6795 * cspi/spi-roletypes.h:
6796 * cspi/spi-statetypes.h:
6797 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6798 to AccessibleRoleType.
6800 * libspi/accessibleeventlistener.h:
6801 Fixed minor namespacing weirdness.
6803 * libspi/deviceeventcontroller.c:
6804 Reordered some internal API for device listeners.
6805 Changed the key registry final boolean to 'is_system_global'
6806 rather than 'is_synchronous', which is more descriptive of its
6808 Added spi_device_event_controller_new().
6809 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6811 * libspi/keystrokelistener.[ch]:
6812 Namespaced KeystrokeListener to SpiKeystrokeListener.
6813 Changed uses of keymasks to use SPI_ prefix, and did other
6816 * libspi/keymasks.h:
6817 Namespaced keymask constants with SPI_ prefix.
6819 * libspi/registry.c:
6820 Some warning fixes, and knock-on fixes from namespace changes.
6823 Added rules for accessx-gui test program.
6825 * test/accessx-gui.c:
6826 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6827 utility. It doesn't actually use at-spi, but it's still cool and
6830 * test/keysynth-demo.c:
6834 Fixes so that these test clients work properly with the namespaced
6835 libraries. (Incompletely tested for technical reasons, fixes may follow)
6838 2001-11-13 Michael Meeks <michael@ximian.com>
6840 * libspi/application.c
6841 (impl_accessibility_application_get_version),
6842 (impl_accessibility_application_get_toolkit_name):
6844 (impl_accessibility_application_set_id),
6845 (impl_accessibility_application_get_id): remove
6846 redundant casting code.
6848 * libspi/action.c (impl_getDescription): fix warnings.
6850 * libspi/accessible.c
6851 (impl_accessibility_accessible_get_parent),
6852 (impl_accessibility_accessible_get_child_at_index),
6853 (impl_accessibility_accessible_get_state),
6854 (impl_accessibility_accessible_get_relation_set):
6855 warning fixes & include action.h
6857 2001-11-13 Michael Meeks <michael@ximian.com>
6859 * *.[ch] fix bits I screwed up:
6861 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6862 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6864 2001-11-13 Michael Meeks <michael@ximian.com>
6866 * *.[ch] Namespace libspi into spi_ and Spi.
6868 2001-13-11 Michael Meeks <michael@ximian.com>
6870 * Makefile.am: dist & install at-spi-1.0.pc
6872 * libspi/Makefile.am: install into at-spi-1.0
6874 * idl/Makefile.am (idldir): install into at-spi-1.0
6876 * at-spi-1.0.pc.in: add.
6878 * configure.in: build it.
6880 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6882 * test/keysynth-demo.c:
6883 Use a 'realize' signal-handler to set the WM properties for
6884 the virtual keyboard, rather than making it a "POPUP" type
6885 override-redirect window (thanks to anders carlsson for that
6888 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6891 * test/keysynth-demo.c:
6892 Added new test of key synthesis, which creates a simple
6893 (mouse-operated) onscreen keyboard. It inserts key events into
6894 the currently-focused window, thus it does not grab keyboard focus
6897 * cspi/spi_registry.c:
6898 Added C binding for AT-SPI generateKeyEvent.
6900 * libspi/deviceeventcontroller.c:
6901 Added call to XFilterEvent so that key listener works with XIM (we
6902 hope). Added event_synth_type to generateKeyEvent, so that we can
6903 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6904 synthesize a press/release pair for KeySyms.
6906 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6908 * libspi/Makefile.am:
6909 * registryd/Makefile.am:
6910 (temporary) hack to include libXtst in libspi and registryd.
6911 (Needed for keystroke synthesis, see below).
6914 Improved API for registerKeystrokeListener, in accordance with
6915 discussions with Gnopernicus team and X server research.
6917 * libspi/registry.c:
6918 * libspi/deviceeventcontroller.c:
6919 * libspi/accessible.c:
6920 * libspi/keystrokelistener.c:
6921 Changes and fixes to support keylisteners for potentially
6922 consumed key events (that is, 'passive grabs').
6923 Added implementation for generateKeyEvent() [untested].
6926 Changes to registerKeystrokeListener() API, as above.
6927 Added deregisterGlobalEventListenerAll(), and
6928 deregisterKeystrokeListener(), which are needed for clean exit of
6930 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6931 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6933 * cspi/spi_registry.c:
6934 Added implementations of function prototypes mentioned above.
6936 * registryd/registryd.c:
6937 Added the key listener event source as a g_timeout(), to allow
6938 receipt of key events that are not caught by GDK (since GDK
6939 doesn't support passive keygrabs, this was necessary).
6942 Changed to attach a keylistener to 'Alt' keys, and
6943 respond to the following keycommands: Alt-M (toggle magnifier);
6944 Alt-F (toggle speech); Alt-Q (quit).
6945 Added an exit routine to deregister the listeners, and a key
6946 listener that prints some key info to the console when a key
6947 matches the listener mask (and is thus received by the listener).
6949 * util/idl/Magnifier.idl:
6950 Changes to magnifier API to support multiple zoom regions,
6951 non-uniform scaling in x and y, markDirty, and a host of other
6952 features that would be useful to magnification.
6955 * util/mag_client.c:
6956 * util/mag_client.h:
6957 * util/mag_control.c:
6959 Source code changes to support the above IDL changes.
6962 As above, and also changes to use a (slower) generic conversion
6963 path for colormap conversions, since the fast RGB conversions have been
6964 reported to fail for 16-bit displays.
6966 2001-10-26 Michael Meeks <michael@ximian.com>
6968 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6970 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6972 * at-bridge/Makefile.am: fix LDFLAGS.
6974 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6976 * at-bridge/bridge.c:
6977 Re-worked listeners for toolkit events, now we have signal
6978 and property listeners. Added a private method
6979 register_atk_event_listeners(), which registers with the
6980 various atk and gtk signals we need to monitor in order to emit
6982 Added emission hook for AtkObject:property-change events, to
6983 support the 'property listeners'.
6984 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6987 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6988 which emit warnings and exit, respectively, if CORBA errors occur
6989 during remote calls, and we now use these methods to check most of
6990 our CORBA calls in the C bindings.
6992 * cspi/spi_accessible.c:
6993 Changed AccessibleSelection_refSelectedChild() to
6994 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6995 now increment refcounts.
6997 * cspi/spi_component.c:
6998 Fixed some long pointer casts (dangerous!) to pass pointers to
6999 CORBA_longs of the proper type to the CORBA stubs, and copy the
7000 data into the longs that were passed into the C bindings code.
7002 * at-bridge/bridge.c:
7004 * libspi/accessible.c:
7005 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7006 hyperlinks, AtkHyperlink is an object type.
7008 * libspi/application.c:
7009 Added various conversions to and from "generic" event types and
7010 atk-specific types; this is really part of the 'bridge'
7011 implementation but is valid for all AtkObject-based accessibility
7014 * libspi/editabletext.c:
7015 Fixed nasty bug wherein editable text's finalize method was
7016 unref'ing tha AtkObject reference that the text parent class was
7017 about to unref _again_. There was also a nasty inheritance bug
7018 that meant that the AccessibleEditableText class was corrupt.
7020 * libspi/selection.c:
7021 Provided implementations for some selection API that was broken.
7023 * idl/Application.idl:
7024 Added registerObjectEventListener () method.
7027 Fixed a number of return values that were Bonobo_Unknowns from
7028 bonobo_object_corba_objref(), which I
7029 forgot to dup before returning. Changed instances of
7030 bonobo_object_corba_objref (bonobo_object(o)) to
7031 BONOBO_OBJREF(o), for concision and clarity.
7033 2001-10-13 Louise Miller <louise.miller@sun.com>
7035 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7036 idl/Event.idl, idl/Registry.idl
7037 Changed these files to include Bonobo_Unknown.idl instead
7040 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7042 * libspi/component.c libspi/component.h:
7043 Fixed typo. Added assertions for object checks in
7044 AccessibleComponent code.
7046 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7048 * idl/Accessible.idl:
7049 Added 'isEqual (Accessible *object)'
7050 method for Accessible. (Not Yet Implemented).
7053 Changed signature of registerKeystrokeListener() to
7054 take a KeySet and KeyEventSeq so that specific keys and event
7055 types could be requested for monitoring, and added a flag
7056 is_synchronous so that either synchronous or asynchronous
7057 notification could be requested. (However this is not all
7058 implemented yet). This also meant adding two new typedefs,
7059 KeyEventSeq and KeySet.
7062 Added two new relations, RELATION_TOOLTIP_FOR and
7063 RELATION_LEAFNODE_OF.
7066 Added new state, STATE_HAS_TOOLTIP.
7068 * libspi/text.c, editabletext.c:
7069 Added new assertions to all casts of bonobo-objects from
7070 CORBA servants, to prevent Text API calls on non-text objects.
7071 Changed suspect casts of int-pointer types, so that we
7072 always send a valid CORBA_long pointer to the CORBA APIs that use
7073 in/out long parameters. We then have to copy from the CORBA_long
7074 into the regular long or int for return to the C bindings, or
7075 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7078 * libspi/deviceeventcontroller.c:
7079 Cleaned these sources up.
7081 Changed return type for getCharacterAtOffset to
7082 CORBA_unsigned_long, to allow for 32-bit characters.
7085 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7089 Fixed 'make dist' so that distro compiles...
7090 * libspi/keymasks.h:
7092 * cspi/spi-listener.c:
7093 KeystrokeListenerCB now returns a boolean.
7095 Added KeyEventType struct, and KeyStroke.
7096 Also added createKeystrokeListener(),
7097 KeystrokeListener_addCallback(),
7098 KeystrokeListener_removeCallback(), and added a keymask to
7099 registerKeystrokeListener().
7100 * cspi/spi_accessible.c:
7101 Changed numerous return types for interfaces from
7102 AccessibleComponent to Accessible<InterfaceName>; this was
7103 probably a cut-and-paste error.
7105 Implementations of new KeystrokeListener api (from spi.h,
7108 Changes to key modifier mapping.
7109 Created ControllerEventMask struct.
7110 Made DeviceEventController derive from Bonobo::Unknown.
7112 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7113 * libspi/deviceeventcontroller.c:
7114 Added a number of new internal (private) methods.
7115 * libspi/editabletext.c:
7116 * libspi/editabletext.h:
7117 Fixed a number of bugs related to the fact that
7118 editabletext inherits from text. Fixed the EditableText struct,
7119 the init() call, and use correct casts when calling Text methods
7120 from an EditableText object. Removed (duplicate) atko from the
7121 EditableText structure, we use the one in the parent Text
7122 structure via the casts mentioned above.
7123 * libspi/keystrokelistener.[ch]:
7124 * libspi/registry.c:
7125 Changes in support of keyboard handling (above).
7127 Keyboard handling, though partly functional, is still not
7128 recommended for at-spi client use as there is considerable
7129 work yet to be done.
7132 Changed some places where pointers to various int types
7133 are cast to be pointers to CORBA_long types and vice-versa:
7134 pointer casting is not safe so we pass pointers of the correct
7135 types and then cast the result before putting it into the target
7138 * libspi/text.h: minor typos corrected.
7140 We now speak not only the name of a Text element, but the
7141 first sentence of its content, when it receives focus.
7142 I also changed the text compression to 75% from 50%.
7143 * util/Accessibility_Util.server.in:
7144 Changed the default magnifier type to be a 3x vertical
7145 splitscreen magnifier (was previously a 2x horizontal one).
7147 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7149 * libspi/keystrokelistener.h:
7150 * libspi/keystrokelistener.c:
7151 Initial functional implementations of KeystrokeListener.
7154 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7156 Fixed string handling for NULL strings in libspi.
7157 Added spi_freeString to free strings returned by C bindings.
7159 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7161 * libspi/keystrokelistener.h:
7162 * libspi/keystrokelistener.c:
7163 Began (no-op) implementations of KeystrokeListener
7165 * libspi/deviceeventcontroller.c:
7166 * libspi/deviceeventcontroller.h:
7167 Began creating implementations of DeviceEventController,
7168 to handle keystroke and mouse event listening and
7170 * libspi/accessible.c:
7171 Stubbed-in the implementations for
7172 Accessibility_Accessible_getState and
7173 Accessibility_Accessible_getRelationSet.
7174 * libspi/registry.c:
7175 Improved de-registration process and fixed some bugs,
7176 deregistration now works correctly.
7178 Added initialization of applications list (to NULL).
7180 Reduced speech compression from 0.5 to 0.7, for demo.
7181 Changed call to gdk_window_set_decorations()
7182 to gtk_window_set_decorated().
7183 * at-bridge/bridge.c:
7184 Bridge now deregisters when app exits, via
7185 registration of a cleanup function
7186 with the g_atexit() call.
7187 Required making 'app' static, renamed 'this_app'.
7188 Fixed broken use of bonobo_init, passing argv wrongly.
7190 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7194 Created a new directory for
7195 accessibility-related utilities, primarily for
7196 testing and demo purposes, but with possible
7203 Onscreen magnifier utility that
7204 is implemented as a bonobo service.
7206 * util/mag_client.c:
7207 * util/mag_client.h:
7208 Client-side support (simple C bindings)
7209 for Magnification service
7211 * util/mag_control.c:
7212 Client program example for
7213 Magnification service
7215 * util/Accessibility_Magnifier.server.in:
7216 Bonobo-activation file for the
7217 Magnification service.
7220 * util/idl/Magnifier.idl:
7221 IDL defining the bonobo Magnification
7225 Modifications to use the bonobo-activated magnifier
7226 above, in place of trying to connect to an existing
7227 magnifier that uses socket-listening IPC.
7229 If env variable MAGNIFIER is set, a magnifier service
7230 will be started if one does not exist.
7232 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7234 * at-bridge/bridge.c:
7235 applied patch from Marc to build and run
7236 against new glib and gtk+ (seemed like a change
7237 to bonobo_init signature was made ?)
7239 made festival-server support turned off by default.
7240 Added support for a simple magnifier (off by default)
7241 which will be added to a 'util' directory later.
7242 * at-bridge/Makefile.am:
7243 Changed "application.h" header from a 'source'
7244 to a 'dependency' of libat-bridge.
7246 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7255 Added interface implementation c files to list of
7256 includes so they are included in libcspi.
7259 Changed prototype of AccessibleAction_doAction to return a
7261 Changed prototype of AccessibleTable_getCaption to
7262 return an Accessible.
7263 Changed prototype of AccessibleTable_getSelectedRows
7264 and AccessibleTable_getSelectedColumns to
7265 return a long (returns the number of selected rows
7266 or columns respectively).
7267 Changed name of AccessibleText_refRunAttributes to
7268 AccessibleText_getAttributes.
7269 Changed prototype of AccessibleText_getCharacterExtents to
7270 return a void rather than a boolean.
7271 Added support for a AccessibleCoordType parameter
7272 specifying what type of coordinates are desired.
7273 Added an AccessibleCordType parameter to
7274 AccessibleText_getPointAtOffset.
7276 * cspi/spi_accessible.c:
7277 Added code to return the outstanding interfaces from
7278 Accessible_queryInterface.
7280 * cspi/spi_action.c:
7282 Corrected call to getNActions to call the c binding
7285 * cspi/spi_editabletext.c:
7287 Changed name from setRunAttributes to setAttributes.
7289 * cspi/spi_hyperlink.c:
7291 Changed call to getNAnchors to correctly call the c
7292 binding for an attribute.
7294 * cspi/spi_hypertext.c:
7296 Changed getImageDescription to correctly call the
7297 binding for an attribute.
7299 * cspi/spi_selection.c:
7300 Changed getNSelectedChildren to correctly call the c
7301 binding for the attribute.
7302 Changed refSelectedChild to getSelectedChild.
7306 Changed getCaption to return an Accessible.
7307 Fixed calls which retrieve attributes.
7308 Changed refAt to getAccessibleAt.
7309 Changed getNSelectedRows and getNSelectedColumns to
7313 Changed getCharacterExtents and getPointAtOffset to accept an
7314 AccessibleCoordType.
7316 Changed calls which retrieve attributes.
7317 Changed refRunAttributes to getAttributes.
7322 * idl/Hyperlink.idl:
7323 Changed n_anchors attribute to nAnchors to keep naming
7324 convention consistent.
7327 Made Table inherit from Bonobo::Unknown.
7328 Added nSelectedColumns and nSelectedRows attributes.
7331 Made Value inherit from Bonobo::Unknown.
7333 * libspi/hyperlink.c:
7334 Change for nAnchors attributte name change.
7336 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7344 Added interface implementation c files to list of
7345 includes so they are included in libcspi.
7348 Changed prototype of AccessibleAction_doAction to return a
7350 Changed prototype of AccessibleTable_getCaption to
7351 return an Accessible.
7352 Changed prototype of AccessibleTable_getSelectedRows
7353 and AccessibleTable_getSelectedColumns to
7354 return a long (returns the number of selected rows
7355 or columns respectively).
7356 Changed name of AccessibleText_refRunAttributes to
7357 AccessibleText_getAttributes.
7358 Changed prototype of AccessibleText_getCharacterExtents to
7359 return a void rather than a boolean.
7360 Added support for a AccessibleCoordType parameter
7361 specifying what type of coordinates are desired.
7362 Added an AccessibleCordType parameter to
7363 AccessibleText_getPointAtOffset.
7365 * cspi/spi_accessible.c:
7366 Added code to return the outstanding interfaces from
7367 Accessible_queryInterface.
7369 * cspi/spi_action.c:
7371 Corrected call to getNActions to call the c binding
7374 * cspi/spi_editabletext.c:
7376 Changed name from setRunAttributes to setAttributes.
7378 * cspi/spi_hyperlink.c:
7380 Changed call to getNAnchors to correctly call the c
7381 binding for an attribute.
7383 * cspi/spi_hypertext.c:
7385 Changed getImageDescription to correctly call the
7386 binding for an attribute.
7388 * cspi/spi_selection.c:
7389 Changed getNSelectedChildren to correctly call the c
7390 binding for the attribute.
7391 Changed refSelectedChild to getSelectedChild.
7395 Changed getCaption to return an Accessible.
7396 Fixed calls which retrieve attributes.
7397 Changed refAt to getAccessibleAt.
7398 Changed getNSelectedRows and getNSelectedColumns to
7402 Changed getCharacterExtents and getPointAtOffset to accept an
7403 AccessibleCoordType.
7405 Changed calls which retrieve attributes.
7406 Changed refRunAttributes to getAttributes.
7411 * idl/Hyperlink.idl:
7412 Changed n_anchors attribute to nAnchors to keep naming
7413 convention consistent.
7416 Made Table inherit from Bonobo::Unknown.
7417 Added nSelectedColumns and nSelectedRows attributes.
7420 Made Value inherit from Bonobo::Unknown.
7422 * libspi/hyperlink.c:
7423 Change for nAnchors attributte name change.
7426 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7428 implementations-- made server implementations own AtkObject pointers
7429 rather than their respective AtkInterrface pointers to fix
7430 refcounting. AtkHyperlink is still broken.
7432 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7433 * cspi/spi_accessible.c:
7434 Added method Accessible_Role_getName(),
7435 and requisite string array (role_names).
7436 Added conversion string_from_corba_strin() call
7437 to Accessible_getName and _getDescription.
7438 * libspi/accessible.c:
7439 Added implementation for Accessible_getRole()
7441 Added festival support, used if environment variable
7444 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7446 * at-bridge/bridge.c:
7447 Now allocate Accessibility_Event using
7448 Accessibility_Event__alloc() instead of g_new0().
7449 * libspi/accessibleeventlistener.c:
7450 Initialize AccessibleEventListener->callbacks to NULL.
7451 Fixed accessible__event_listener_init() param, changed to
7452 "AccessibleEventListener *" type.
7453 Changed a bonobo_object_release_unref() call to
7454 Accessibility_Accessible_unref().
7455 * libspi/listener.c:
7456 Changed Bonobo_Unknown_unref to (equivalent)
7457 Accessibility_Accessible_unref.
7458 * libspi/registry.c:
7459 Changed bonobo_object_release_unref to
7460 Accessibility_Accessible_unref.
7462 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7465 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7466 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7467 spi-util.c spi-util.h
7468 Implementations for C bindings to remaining accessibility
7471 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7474 changed return value of Action from void to boolean to
7475 bring in line with ATK.
7478 Changed getText funcions to return "out" start and end offsets.
7479 Changed getAttributes to take and offset and return the start
7480 and end offset of the attribute run.
7481 Changed getOffsetAtPoint and getCharacterExtents to take an
7482 enum describing whether coordinates are window or screen.
7485 libspi/action.c libspi/action.h libspi/editabletext.c
7486 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7487 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7488 libspi/image.h libspi/selection.c libspi/selection.h
7489 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7490 libspi/value.c libspi/value.h
7491 Added server implementations for outstanding ATK interfaces
7492 not yet implemented.
7494 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7497 Added (missing) getName() method.
7498 Made nActions an attribute.
7499 * idl/EditableText.idl:
7500 Changed order of params in setAttributes.
7501 * idl/Hyperlink.idl:
7502 Removed getAnchor, added getURI.
7504 Changed attributes to methods, for efficiency
7505 (so that getting extents can be done in one call)
7506 * idl/Selection.idl:
7507 Changed nSelectedChildren to attribute, and re-indented.
7508 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7510 * idl/Text.idl: reformatted to match our coding style.
7511 (temporarily?) removed getRowColumnAtOffset().
7512 Changed text selection API to support multi-select and
7513 non-contiguous selections, as in ATK.
7514 * idl/Value.idl: changed some methods to attributes.
7516 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7518 * libspi/listener.c(impl_notify_event):
7519 BonoboUnkown_unref the source instead
7520 of bonobo_object_release_unref - the ORB
7521 handles the releasing.
7523 * configure.in: require ORBit-2.3.94 for
7526 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7528 Tagged CVS repository 'EA_1_0'.
7529 * README.EARLY_ACCESS:
7530 Alphabetized acknowledgements list, and
7532 Listed some known dependencies of at-spi.
7534 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7536 * docs/at-spi-docs.sgml:
7537 * docs/at-spi-sections.txt:
7538 * docs/at-spi-overrides.txt: (Added zero-length file)
7539 Documentation improvements - gtk-doc should build
7540 docs for all implemented C bindings now.
7543 * cspi/spi.c: (New file)
7544 * cspi/spi_event.c: (New file)
7545 * cspi/spi_registry.c: (New file)
7546 * cspi/spi_accessible.c: (New file)
7547 * cspi/spi_application.c: (New file)
7548 * cspi/spi_component.c: (New file)
7549 Split spi_main.c into six parts, and included them from
7550 "spi.c". This is a bit of a hack, probably temporary,
7551 but required by gtk-doc, apparently.
7553 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7556 * docs/at-spi-docs.sgml:
7557 * docs/at-spi-sections.txt:
7559 Initial checkins/modifications for gtk-doc generation.
7562 Added (missing) interface query methods to Accessible's C binding.
7564 Added GenericInterface type definition.
7566 Added query for AccessibleComponent interface to focus event handler.
7567 Added printout of bounding box for focussed component.
7568 * libspi/component.c:
7569 Added partial implementation for AccessibleComponent to C binding.
7570 * idl/Application.idl:
7571 * libspi/registry.c:
7572 * libspi/listener.c:
7573 * libspi/application.c:
7574 * libspi/application.h:
7575 Changed "ID" attribute type from string to long.
7577 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7581 Made method naming consistent: methods taking object args
7582 start with uppercase, other methods (except those using
7583 acronyms) start with lowercase. Underscores delimit between
7584 object names and method names:
7585 SPI_init() - uppercase since it starts with an acronym.
7586 getDesktopCount () - lowercase start since no object param0.
7587 Accessible_getName() - uppercase object type name, studlyCaps method
7591 Added gtk-doc documentation for all currently implemented
7592 methods in the C bindings API.
7594 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7596 * Makefile.am : changed build order to build test last.
7599 Changed "createEventListener" to "CreateEventListener".
7600 * libspi/accessibleeventlistener.c :
7601 Bugfix for addition of callbacks.
7602 * test/Makefile.am :
7603 * test/simple-at.c :
7604 Added new test that uses the C bindings API.
7606 * libspi/listener.c :
7607 * libspi/registry.c :
7608 * libspi/accessibleeventlistener.c :
7609 * at-bridge/bridge.c :
7610 Renamed member "target" of Accessibility_Event to "source",
7611 which is more descriptive.
7614 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7618 * cspi/Makefile.am :
7619 Added makefile support for at-spi/cspi directory.
7622 * cspi/spi-listener.h : (NEW FILE)
7623 Added support for/use of spi-listener.h.
7625 C bindings now build successfully, with no warnings.
7626 * libspi/accessibleeventlistener.h : (NEW FILE)
7627 * libspi/accessibleeventlistener.c : (NEW FILE)
7628 * libspi/Makefile.am :
7629 Added new object type "AccessibleEventListener"
7630 which inherits from Listener, and allows attachment
7631 of in-process callbacks (so that a client with a listening
7632 object instance can add functionality to the local
7633 implementation, dynamically).
7635 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7637 * libspi/accessible.c:
7638 Add implementation for get_index_in_parent().
7640 Added #include of "spi-roletypes.h", and
7641 added enumerated type AccessibleCoordType.
7642 Added definition for KeystrokeListener (function type).
7645 * cspi/spi-statetypes.h :
7646 * cspi/spi-roletypes.h :
7648 Added these headers, used by spi.h.
7650 Added code (NOTE: not yet built by make).
7652 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7654 * libspi/Makefile.am: generate imodule
7655 at the same time as other idl compiler
7658 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7659 * libspi/registry.c :
7660 * libspi/application.c :
7661 * idl/Application.idl :
7662 Made registration with toolkit an application method,
7663 which is required since each app has its own toolkit static
7664 environment. Thus the bridge must register for
7665 notification of toolkit events from each application in turn.
7666 Toolkit notifications are now successfully registered for, and
7667 sent to the listening at client.
7669 Changed toolkit event string to use hyphens rather than underscores.
7670 * libspi/listener.c :
7671 listner now gives more info in debug mode - it reports the
7672 name of the event received, as well as the name of the source.
7675 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7677 * libspi/registry.c :
7678 added more implementation for toolkit events.
7679 Fixed bug such that toolkit event registrations
7680 (via atk) use the whole event name string, not
7682 Removed a useless call to an ORBit_ method.
7683 * at-bridge/bridge.c :
7684 Removed unused local sbuf[] variable.
7686 We now register for Gtk:GtkWidget:button_press_event
7687 events as well as "focus:" events.
7689 Add some more API from Registry.idl that was missing,
7690 for keystroke listening, keystroke and mouse event
7691 synthesis, and enumeration of accessible desktops.
7693 2001-08-16 Michael Meeks <michael@ximian.com>
7695 * configure.in: use AM_GLIB_GNU_GETTEXT.
7697 * Makefile.am (SUBDIRS): kill intl.
7699 2001-08-15 Michael Meeks <michael@ximian.com>
7701 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7703 * configure.in: upd.
7705 * configure.in: depend on a recent bonobo-activation that
7706 will find our server files ...
7708 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7710 * libspi/accessible.c : accessible_new() :
7711 Now we add the Component interface via bonobo_object_add_interface,
7712 if the contained AtkObject implements AtkComponent.
7713 * libspi/accessible.h : now include "component.h"
7714 * libspi/component.h :
7715 * libspi/component.c : added files - implementation of
7716 bonobo wrapper object for Accessibility/Component
7717 * libspi/listener.c :
7718 Added test code to check for Accessibility/Component:1.0
7719 interface and report whether it is implemented by the
7721 * libspi/registry.c :
7722 Now we check for not only the hash of the whole event
7723 string before relaying the event, we also check the
7724 "minor" event string (without the detail string).
7725 This allows event listeners to be registered against
7726 all events of a certain major+minor type, or just
7727 against a specific major+minor+detail type.
7728 * libspi/accessible.c :
7729 Added implementations for Accessible:get_parent(),
7730 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7731 * libspi/registry.c :
7732 * libspi/listener.c :
7733 Replaced calls to Accessibility_Accessible_ref() and
7734 Accessibility_Accessible_unref() with
7735 calls to bonobo_object_dup_ref() and
7736 bonobo_object_release_unref(), so that the CORBA object
7737 is dup-ed and released when relayed, as well as the bonobo object.
7739 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7741 * libspi/Makefile.am,
7742 registryd/Makefile.am,
7743 at-bridge/Makefile.am.
7744 test/Makefile.am, configure.in:
7745 reverse previous changes.
7747 * /idl/Image.idl: fix typo.
7749 * test/Makefile.am: put DEBUG_FLAGS
7752 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7754 * test/app.c: use argv[0] instead of
7757 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7759 * libspi/Makefile.am,
7760 registryd/Makefile.am,
7761 at-bridge/Makefile.am.
7762 test/Makefile.am, configure.in:
7763 cleanup, replace individual LIBS/CFLAGS with
7764 AT_COMMON_{LIBS|CFLAGS}.
7768 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7770 * configure.in, libspi/Makefile.am:
7771 Change IDL path checking for bonobo-activation
7774 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7776 * registryd/registry.c : separated event listeners to use
7777 3 separate lists (focus, window, toolkit). Began testing
7778 event names against hashes before relaying events.
7779 * test/at.c : now register for events of type "focus:"
7780 * test/app.c : now generate events of type "focus:"
7781 * at-bridge/bridge.c : register with ATK for focus events,
7782 and we now relay those focus events to any "focus:" listeners.
7783 This now works with the bridge as a GTK_MODULE when running test/at.
7784 * libspi/registry.c :
7785 * libspi/listener.c :
7786 now we ref event sources before propagating, and unref on receipt.
7787 * libspi/registry.c :
7788 some changes to internal structs, to support event typestring hashes.
7789 * text/app.c : changed the way the appname is generated.
7790 * cspi : added directory that will hold the C bindings library for
7791 non-CORBA/bonobo-savvy clients.
7792 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7793 * idl/Component.idl : added in parameter to indicate coord system for
7794 geometry-related calls.
7795 * idl/Hyperlink.idl : added readonly n_links attribute
7796 * idl/Image.idl : changed methods to attributes.
7798 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7800 * at-bridge/Makefile.am: link against
7801 ../libspi/libspi.la instead of -lspi.
7803 * at-spi/test/app.c: include
7804 bonobo-activation.h. Use a default appname
7805 if one is not provided.
7807 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7809 * idl/Registry.idl : temporarily changed register_Application
7810 to oneway, to work around issue with initial registration
7812 * idl/Application.idl : changed attribute "id" from readonly
7813 to read-write, since it needs to be assigned by Registry.
7814 * registryd/registryd.c : added call to set application id
7816 * registryd/registry.c : changed de-registration procedure to
7817 use CORBA_Object_hash() to find matching object ref in application
7818 lists and listener lists.
7819 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7820 began distinguishing between event types (work in progress).
7822 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7825 * libspi/application.c:
7826 Added implementations for get/set id, get_toolkitName,
7828 * registryd/registryd.c :
7832 Converted from use of OAF to bonobo-activation.
7833 * libspi/desktop.h :
7834 * libspi/desktop.c :
7836 Removed references to atksimpleobject, since base atkobject
7837 implementation now provides functionality we need.
7838 * libspi/atksimpleobject.c :
7839 * libspi/atksimpleobject.h :
7844 * at-bridge/Makefile.am
7845 * at-bridge/bridge.c
7848 Added directory "bridge" and contents, and added dependencies
7849 in Makefile.am/configure.in.
7850 Initial checkin of "at-bridge".
7851 This code is a GTK_MODULE which automatically registers
7852 GTK+ apps with the accessibility registry, using an object
7853 reference to the root ATK object.
7855 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7857 * po/Makefile.in.in: Remove. Again. If this
7858 doesn't get autogenerated - you need to update
7861 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7863 * po/Makefile.in.in: Add. Again.
7865 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7867 * libspi/accessible.c : added support for 'description' property.
7868 * libspi/accessible.c
7870 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7871 (since the two are now equivalent in libbonobo)
7879 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7880 Bonobo::Unknown as does Accessibility::Accessible.
7881 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7882 interface with Bonobo::Stream, since it was redundant with it.
7883 (The Stream returned by a StreamableContext object is expected to
7884 implement only a subset of Bonobo::Stream)
7886 2001-07-28 Anders Carlsson <andersca@gnome.org>
7888 * libspi/accessible.c (accessible_object_finalize): Change
7889 g_free to g_object_unref since the AtkObject is a GObject.
7891 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7893 * idl/Accessibility.idl: add new IDL files
7896 * idl/Action.idl: Definitions of actionable UI object
7897 * idl/Component.idl: Definitions of UI component geometry, etc.
7898 * idl/Hyperlink.idl: Defs of hyperlink behavior
7899 * idl/Image.idl: Def of accessible image
7900 * idl/Selection.idl: Definition of UI object with selectable children
7901 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7902 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7903 * idl/Text.idl: Interface defs for UI elements with complex textual content
7904 * idl/Value.idl: Definition of UI element that is a value controller or display
7906 2001-07-27 Michael Meeks <michael@ximian.com>
7908 * po/Makefile.in.in: remove autogenerated file from CVS.
7910 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7913 * idl/Registry.idl: include guard.
7915 * idl/Accessibility.idl: Add, and include all the other IDL
7918 * idl/*.idl: remove mass of pragmas etc.
7920 2001-07-26 Michael Meeks <michael@ximian.com>
7922 * registryd/Makefile.am (registryd_SOURCES): remove
7925 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7927 * libspi/.cvsignore, registryd/.cvsignore,
7928 test/.cvsignore: updated.
7930 * po/Makefile.in.in: gettext update.
7932 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7934 * initial CVS checkin
7936 2001-06-29 Michael Meeks <michael@ximian.com>
7938 * configure.in: add AM_CONFIG_HEADER to gen config.h