1 2006-07-21 Bill Haneman <billh@gnome.org>
3 * idl/Accessibility.idl:
4 Reverted pragma changes, this broke the build in some envs
5 including the Debian team's build and some tinderbox builds.
7 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
10 Revved to 1.7.10, and edited the Xevie check (bug #319994).
12 * idl/Accessibility.idl:
13 Reworked inclusion of Bonobo_Unknown.idl, to
14 avoid double-linking libs in the Bonobo environment.
15 Thanks to Michael Meeks for the workaround, see bug #313122.
17 * registryd/deviceeventcontroller.c:
18 (spi_controller_notify_keylisteners):
19 Set the SPI_NUMLOCK_MASK bit if the modifier
20 corresponding to the conceptual numlock state is set.
23 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
25 * idl/Accessibility_Selection.idl:
26 (deselectChild): New method.
29 (impl_deselectChild): Implement the new IDL method.
32 (AccessibleSelection_deselectChild): Added new method.
34 * cspi/spi_selection.c:
35 (AccessibleSelection_deselectChild): New method implemented.
37 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
39 * cspi/bonobo/cspi-bonobo.c:
40 (cspi_init): Replace g_error with g_warning, prevent
41 SEGV if the registry cannot be activated. Bug #346393.
43 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
45 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
47 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
48 2006-07-12 Ariel Rios <arios@us.ibm.com>
52 * idl/Accessibility_Table.idl:
53 (getRowColumnExtentsAtIndex): New method for getting
54 selection status and extents in one API call.
57 (impl_getRowColumnExtentsAtIndex): Implementation of
59 (spi_table_class_init): Add above to epv.
63 (AccessibleTable_getRowColumnExtentsAtIndex): New
64 method, retrieves selection status and row/col extents
65 for a table cell in a single API call.
67 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
68 2006-07-12 Ariel Rios <arios@us.ibm.com>
70 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
73 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
74 New bindings for new methods defined in idl and libspi.
77 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
78 Added prototype functions.
81 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
83 (spi_text_class_init): Added previous methods.
86 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
87 * libspi/spi-private.h: Corrections.
89 2006-06-29 Bill Haneman <bill.haneman@sun.com>
91 Added Document interface (see bug #326520),
92 with work from Ariel Rios <arios@us.ibm.com>.
94 * configure.in: Bump to 1.7.8.
96 * libspi/Makefile.am: Added document.[ch] to sources
99 (SpiDocument, SpiDocumentClass):
100 New interface implementation.
101 (spi_document_get_type, spi_document_construct)
102 (spi_document_interface_new): New methods added.
103 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
104 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
105 Added macros for SpiDocument
109 (spi_document_interface_new): Get a
110 new document interface. New.
111 (get_document_from_servant): Get an AtkDocument from servant New.
112 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
113 Implementation of methods defined on idl.
114 (spi_document_class_init, spi_document_init)
115 Init methods for SpiDocument. new
117 * idl/Accessibility.idl: Added Accessibility_Document.idl.
119 * cspi/Makefile.am: Added spi_document.c to sources.
121 * cspi/spi_document.c:
122 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
123 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
124 (AccessibleDocument_getAttributes): Bindings for methods defined
127 * cspi/spi_accessible.c:
128 (Accessible_isDocument, Accessible_getDocument) New.
130 (Accessible_isDocument, Accessible_getDocument)
131 (AccessibleDocument_ref, AccessibleDocument_unref)
132 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
133 (AccessibleDocument_getAttributes): Bindings added.
135 * idl/Makefile.am: Added Accessibility_Document.idl to
138 2006-06-29 Bill Haneman <bill.haneman@sun.com>
140 * idl/Accessibility_Document.idl: New interface
141 for complex documents. First stage of fix for RFE
144 2006-06-27 Bill Haneman <bill.haneman@sun.com>
146 * libspi/streamablecontent.c:
147 (impl_content_stream_close):
148 Unref the GIOChannel on close.
150 2006-06-23 Bill Haneman <bill.haneman@sun.com>
152 * idl/Accessibility_Role.idl:
153 * libspi/accessiblerole.c:
154 * cspi/spi_accessible.c: Added ROLE_LINK,
155 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
156 Bug #345758 and bug #140635.
159 2006-06-22 Bill Haneman <bill.haneman@sun.com>
163 * idl/Accessibility_StreamableContent.idl:
164 Fix derivation of StreamableContent and ContentStream.
166 * cspi/spi_streamablecontent.c:
167 (accessible_content_stream_client_read):
168 Fix the datatype of the content stream used.
169 Interpret short reads as EOF, and stop trying to
170 read when we've fulfilled the request.
171 (AccessibleStreamableContent_getContentTypes):
172 Use g_strdup, not CORBA_string_dup, for the strings.
173 (AccessibleStreamableContent_open):
174 Correctly use the new getStream method for opening,
175 not the deprecated getContent method.
176 Use the object reference as the stream hash key.
177 Make note of the 'one stream per client per streamable'
178 limitation in the docs.
181 Add streamablecontent.h to the list of #includes.
183 * libspi/streamablecontent.c:
184 (impl_content_stream_read): Initialize the GError.
185 Allocate the incoming buffer if reading a fixed length of
186 data. Use g_memmove instead of memcpy.
187 (impl_accessibility_streamable_get_content_types):
188 Init typelist->_maximum. Only allocate the buffer if
189 there is a non-zero number of content types available.
190 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
192 * libspi/streamablecontent.h:
193 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
196 (SPI_IS_VALUE): Fix a typo in this macro too.
198 2006-06-16 Bill Haneman <bill.haneman@sun.com>
202 * idl/Accessibility_StreambleContent.idl:
203 Deprecate the Bonobo_Stream-based methods in favor of
204 a self-contained "ContentStream" interface. This should
205 allow us to remove BonoboStream dependencies entirely, since
206 there were no non-NIL implementations of the old methods anyway.
207 (ContentStream): New interface.
208 (ContentStream::SeekType): Enum.
209 (ContentStream::seek): New.
210 (ContentStream::read): New.
211 (ContentStream::close): New.
212 (getContent): Deprecate.
213 (getURI): New method, returns a URI pointing to the content, if available.
215 * libspi/streamablecontent.c:
216 (SpiContentStream): Internal object type definition used to
217 implement Accessibility::StreamableContent::ContentStream via
218 AtkStreamableContent's GIOChannel back-end.
219 (spi_content_stream_new, spi_content_stream_dispose): See above;
221 (impl_content_stream_seek, impl_content_stream_read):
222 (impl_content_stream_close): New, implementations of
224 (impl_accessibility_streamable_get_stream): Implement the
225 public method Accessibility::StreamableContent::getStream.
226 (impl_accessibility_streamable_get_uri): Implement the
227 public method Accessibility::StreamableContent::getURI.
229 * cspi/spi_streamablecontent.c:
230 (accessible_bonobo_stream_client_seek): Replaced by
231 (accessible_content_stream_client_seek).
232 (accessible_bonobo_stream_client_read): Replaced by
233 (accessible_content_stream_client_read).
234 (AccessibleStreamableContent_open):
235 (AccessibleStreamableContent_seek):
236 (AccessibleStreamableContent_read):
237 (AccessibleStreamableContent_close): Use the new 'getStream'
238 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
240 2006-06-15 Bill Haneman <bill.haneman@sun.com>
242 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
243 remove from other .idl files (except LoginHelper).
246 2006-06-14 Bill Haneman <bill.haneman@sun.com>
248 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
251 * configure.in, */Makefile.am: mingw patch, modified from
252 original patch by yselkowitz. Bug #314216.
254 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
255 for completeness. Bug #163111.
257 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
258 * libspi/util.c, registryd/registry-main.c:
259 Fix guint/char* casts.
260 Patch from chpe, bug #333883.
262 2006-06-12 Bill Haneman <bill.haneman@sun.com>
264 * configure.in: Require atk-1.12.0, to pick up
265 new API. (bug #344412).
267 * libspi-1.0-uninstalled.pc.in:
269 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
270 Fix for #341488 from Samual Thibault.
272 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
273 Thanks to Brian Pepple.
275 2006-06-09 Bill Haneman <bill.haneman@sun.com>
278 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
279 New, missing implementations of attribute reading methods
282 * cspi/spi.h, spi_value.c:
283 (AccessibleValue_getMinimumIncrement): New methods wrapping
284 the (formerly unimplemented) property from Value.idl.
287 (impl_get_minimumIncrement): Implementation for retrieving
288 the minimum valuator increment, (formerly unimplemented).
291 2006-06-09 Bill Haneman <bill.haneman@sun.com>
293 * idl/Accessibility_State.idl:
294 Added STATE_VISITED (bug #338369).
296 * cspi/spi_accessible.c:
297 (spi_state_to_corba) Fixed marshalling of new statetypes.
300 (spi_init_state_tables, impl_getStates):
301 Fixed conversion of new statetypes to/from ATK.
303 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
305 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
306 definitions/conversions for new roles from ATK.
308 * idl/Accessibility_Relation.idl:
310 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
311 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
312 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
314 * libspi/accessible.c: Fixed marshalling of new role types from
317 2006-04-17 Matthias Clasen <mclasen@redhat.com>
319 * revert my previous change
321 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
323 * configure.in: Remove obssolete no_NO locale
324 * po/no.po: And the translation.
326 2006-04-05 Matthias Clasen <mclasen@redhat.com>
328 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
329 memory-management error that caused crashes on x86_64.
332 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
334 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
336 2006-03-27 Bill Haneman <bill.haneman@sun.com>
338 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
339 to strip "cspi_*" from the symbol table.
341 * cspi/spi_streamablecontent.c:
342 (get_streams): Make this method static.
345 (_cspi_exception_throw): rename to cspi_exception_throw,
346 so we can strip it with the rest...
349 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
351 2006-03-27 Bill Haneman <bill.haneman@sun.com>
353 Add doxygen-generated IDL docs to tarball, and enable
354 doxygen during build/install when available. Bug #301345.
356 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
358 * docs/reference/Makefile.am: Add idl to SUBDIRS.
360 * docs/reference/idl/Makefile.am: Optionally use
361 doxygen to create docs.
363 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
365 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
367 2006-03-20 Bill Haneman <bill.haneman@sun.com>
370 (impl_get_selected_rows): Don't free the selection if it's
371 empty or has not been assigned; init it to NULL so you can tell.
372 Also, allow for zero selected rows.
373 (impl_getSelectedColumns): Ditto. Bug #319088.
375 2006-03-11 Vincent Untz <vuntz@gnome.org>
377 Leak fix for bug #334217.
379 * libspi/application.c: spi_application_toolkit_event_listener():
380 don't duplicate the string we pass as an argument to
381 spi_init_any_nil() since spi_init_any_nil() already does it
382 * registryd/deviceeventcontroller.c:
383 (spi_dec_button_update_and_emit): ditto
384 (spi_dec_mouse_check): ditto
385 (spi_dec_emit_modifier_event): ditto
386 (spi_device_event_controller_forward_mouse): ditto
387 * registryd/registry.c:
388 (desktop_add_application): ditto
389 (desktop_remove_application): ditto
391 2006-02-20 Bill Haneman <billh@gnome.org>
393 * configure.in: Rev to 1.7.6.
395 Leak fixes for bug #331924.
397 * atk-bridge/bridge.c:
398 (spi_atk_bridge_init_base): Don't dup the string, it's already
399 been dup-ed. Fixes a leak.
400 (spi_atk_emit_eventv): Move the CORBA_free call here,
401 instead of spi_atk_state_event_listener; fixes another leak.
402 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
403 notifying the registry; fixes another leak.
405 * registryd/registry.c:
406 (registry_flush_event_queue): Free the CORBA_any when
407 flushing the event, not just the string. Fixes another leak.
408 (registry_queue_event): Free the CORBA_any when dropping
409 events on the floor; fixes another leak.
412 (spi_init_any_object, spi_init_any_nil):
413 Always set _release to TRUE. Fixes another leak.
415 2006-02-20 Bill Haneman <billh@gnome.org>
417 * configure.in: Rev to 1.7.5.
418 Reinstate localization of this module. Thanks for Rodney
419 Dawes for fixing my patch.
421 * registryd/Makefile.am: Remove Accessibility_Registry.server
422 from dist, since it needs to be re-created at configure time.
425 2006-01-31 Bill Haneman <billh@gnome.org>
427 * configure.in: Rev to 1.7.4 (to include build fix below).
429 * idl/Makefile.am: Include Selector.idl in dist.
433 (cspi_internal_event_get_object): Handle case where
434 "object" isn't present, i.e. CORBA_TC_Object doesn't match
435 the EventDetails data.
436 (cspi_internal_event_get_text): Handle NULL string.
437 (cspi_internal_event_get_rect): Handle missing/empty rect
438 data, Accessibility_TC_RectBounds doesn't match any_data.
440 2006-01-30 Bill Haneman <billh@gnome.org>
444 * atk-bridge/bridge.c:
445 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
446 interface and use that when instantiating a new source
447 accessible. Better fix for bug #321814.
449 2006-01-27 Bill Haneman <billh@gnome.org>
451 * idl/Accessibility_Selector.idl: Added to the cvs repository.
453 * configure.in: Revved to 1.7.3.
455 2006-01-17 Bill Haneman <billh@gnome.org>
457 * configure.in: Revved to 1.7.2, re-dist to include docs.
459 2006-01-09 Bill Haneman <billh@gnome.org>
461 * configure.in: Removed po/Makefile.in inclusion, we do not need
464 * idl/Accessibility.idl: Improved documentation here, and for all
465 IDL in the 'GNOME::Accessibility' namespace.
467 * idl/Accessibility_Accessible.idl:
468 (LOCALE_TYPE): Added enum.
469 (AttributeSet): New, for returning multiple name/value attribute pairs.
470 (RoleSet): New, sequence of Roles, to be used in upcoming
472 (getAttributes): New API, allows retrieval of name/value pair
473 annotations for all kinds of Accessible objects. C.f.
474 Text:getAttributes, which is only for typographic/textual/semantic tags in
476 (getApplication): New, retrieves the host/containing Application
477 instance for an object (without having to walk up the whole tree).
479 * idl/Accessibility_Component.idl:
480 (getAlpha): New method, returns the alpha blending (aka 'opacity')
481 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
484 * idl/Accessibility_Event.idl:
485 (EventDetails): New struct definition, for encapsulating
486 commonly-queried information about emitted events. The use of
487 this structure in emitted events (in the 'any' member of
488 Accessibility_Event) should greatly reduce the number of
489 client-server roundtrips necessary.
491 * idl/Accessibility_Image.idl:
492 (imageLocale): New, a readonly attribute indicating the POSIX
493 LC_MESSAGES locale of the image and associated Alt/descriptive
496 * idl/Accessibility_Relation.idl:
497 (RELATION_PARENT_WINDOW_OF): Include, as complement to
500 * idl/Accessibility_Role.idl:
501 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
502 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
503 complex document and form support.
505 * idl/Accessibility_State.idl:
506 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
507 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
508 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
509 for support of complex documents and forms.
511 * idl/Accessibility_StreamableContent.idl:
512 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
513 allow old bonobo-stream interfaces to be deprecated in the next
516 * idl/Accessibility_Text.idl:
517 (getAttributeValue): New method, allows query-by-name of single
520 * libspi/accessible.c:
521 Added support for new roles. Implemented new methods
522 (impl_accessibility_accessible_get_application): New
523 (impl_accessibility_accessible_get_attributes): New
525 * libspi/component.c:
526 (impl_accessibility_component_get_alpha): New.
529 (impl_accessibility_image_get_locale): New.
531 * libspi/relation.c: Added support for new relation type.
533 * libspi/stateset.c: Added support for new state types.
536 (impl_getAttributeValue): New.
539 New prototypes for private methods
541 spi_init_any_object, spi_init_any_string,
544 * libspi/spi_event.c:
545 Use EventDetails in the event emission methods.
547 * cspi/spi-private.h:
548 (cspi_role_from_spi_role): Expose this adapter method, since
549 we need it in the bridge (see below).
552 (AccessibleEvent_getSourceName):
553 (AccessibleEvent_getSourceRole):
554 (AccessibleEvent_getSourceApplication):
555 (AccessibleEvent_getSourceDetails):
556 New methods for interrogating/demarshalling
557 event details (i.e. source's accessible name, role,
560 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
561 Make use of the new EventDetails struct in events, if present.
562 (AccessibleEvent_getSourceName)
563 (AccessibleEvent_getSourceRole)
564 (AccessibleEvent_getSourceApplication)
565 (AccessibleEvent_getSourceDetails): Implement the newly exposed
567 (Accessible_getAttributes): New, wraps
568 Accessibility_Accessible_getAttributes.
569 (Accessible_getHostApplication): New, wraps
570 Accessibility_Accessible_getApplication.
573 (AccessibleImage_getImageLocale): New wrapper for
574 Accessibility_Image_get_imageLocale.
576 * cspi/spi_component.c:
577 (AccessibleComponent_getAlpha): New wrapper for
578 Accessibility_Component_getAlpha.
580 * atk-bridge/bridge.c:
581 Use new prototyped for init_any methods.
582 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
583 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
584 (spi_atk_bridge_init_base): Wrappers
585 for spi_init_any_* methods, due to refactor; include extended
586 information in the Accessibility_EventDetails struct, for instance
587 accessible-name, Role, and containing Application.
589 * registryd/registry.c:
590 Use new event emission (with EventDetails).
592 * registryd/deviceeventcontroller.c:
593 Use new event emission (with EventDetails).
595 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
597 * configure.in: Generate po/Makefile.in
598 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
599 * cspi/spi_streamablecontent.c:
600 (accessible_bonobo_stream_client_seek),
601 (AccessibleStreamableContent_seek): Remove unused vars.
602 * libspi/application.c: Missing header.
603 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
604 * login-helper/login-helper.c: (login_helper_finalize),
605 (login_helper_init): Remove unused stuff
606 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
607 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
608 and surround some with #ifdef GRAB_BUTTON.
609 * test/event-listener-test.c: (main), (report_event),
610 (report_caret_event), (report_detail_event),
611 (report_detail1_event), (report_bounds_event), (report_text_event),
612 (report_text_selection_event),
613 (report_active_descendant_changed_event),
614 (report_children_changed_event), (report_name_changed_event),
615 (report_description_changed_event), (report_parent_changed_event),
616 (report_window_event), (report_table_summary_event),
617 (report_table_header_event), (report_table_caption_event),
618 (report_table_row_description_event),
619 (report_table_column_description_event), (timing_test_event):
620 Remove a bunch of unused variables and fix a slew of format specifiers
621 * test/key-listener-test.c: (report_all_key_event): Format specifier
622 * test/keypad-test.c: (print_key_event): Same
623 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
625 * test/screen-review-test.c: (main), (print_chunk_debug),
626 (review_buffer_get_text_chunk), (debug_chunk_list),
627 (string_guess_clip), (text_chunk_get_clipped_string),
628 (text_chunk_list_to_string), (get_screen_review_line_at):
629 Remove unused variables and fix format specifiers.
630 * test/simple-at.c: (report_text_event): Format specifier fix.
631 * test/stress-test.c: (main): Remove unused var.
633 2005-12-29 Abel Cheung <maddog@linuxhall.org>
635 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
636 (yes I know that's useless)
638 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
640 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
642 2005-11-17 Michael Meeks <michael.meeks@novell.com>
644 * atk-bridge/bridge.c (spi_atk_emit_eventv):
645 urgh-fix embarassing typo.
647 2005-11-16 Michael Meeks <michael.meeks@novell.com>
649 * atk-bridge/bridge.c (spi_atk_emit_eventv):
650 do a faster, less problematic _unref call on this local
651 object, rather than a slower (potentially cross-thread
652 complicated) CORBA call.
654 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
656 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
657 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
658 * registryd/deviceeventcontroller.c:
659 (spi_controller_notify_mouselisteners),
660 (impl_generate_keyboard_event):
661 * test/screen-review-test.c: (chunk_bounds_within):
662 * test/test-simple.c: (test_desktop): Remove some unused code
663 and fix compiler warnings. Closes bug #320049.
665 2005-10-27 Bill Haneman <bill.haneman@sun.com>
667 * registryd/deviceeventcontroller.c:
668 (spi_controller_notify_keylisteners): Check
669 to make sure the event listener has requested 'preemptive'
670 status before pre-empting an event.
672 2005-08-29 Bill Haneman <bill.haneman@sun.com>
674 * configure.in, README, NEWS: Release 1.6.5.
676 2005-07-25 Matthias Clasen <mclasen@redhat.com>
678 * test/window-listener-test.c: Fix a printf
679 format error. (#169453)
681 2005-07-15 Bill Haneman <bill.haneman@sun.com>
683 * tests/test-simple.c:
684 (key_listener_cb): Ensure that the keystring is dup'ed instead of
685 relying on the old string from the key event hanging around after
686 the event handler returns. Fixes broken 'make check'.
688 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
690 * Added Marathi (mr_IN) translations.
692 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
694 * cspi/bonobo/cspi-bonobo-listener.c:
695 (cspi_event_list_remove_by_cb): Fix the build.
697 2005-05-26 Michael Meeks <michael.meeks@novell.com>
699 * cspi/bonobo/cspi-bonobo-listener.c
700 (cspi_event_list_remove_by_cb): actually filter by callback.
702 2005-05-25 Bill Haneman <bill.haneman@sun.com>
704 * registryd/registry.c (remove_listener_cb):
705 Make deregistration filter rules match the event emission rules.
707 2005-05-25 Michael Meeks <michael.meeks@novell.com>
709 * registryd/registry.c (remove_listener_cb),
710 (impl_accessibility_registry_deregister_global_event_listener),
711 (impl_accessibility_registry_deregister_global_event_listener_all):
712 pass a closure to the remove callback to filter listeners more
713 accurately on remove.
715 2005-04-05 Bill Haneman <bill.haneman@sun.com>
717 * configure.in: Revved to 1.6.4.
718 Remember to put quotes around XEVIE_LIBS assignment.
719 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
722 * tests/event-listener-test.c: Tweaked the tests - more detail
723 from caret events, and some interrogation of AccessibleText APIs.
724 Commented-out the bounds-changed events by default, since they can
727 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
729 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
730 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
731 Same here. Closes bug #167806
733 2005-04-05 Bill Haneman <bill.haneman@sun.com>
735 * atk-bridge/bridge.c:
736 (spi_atk_bridge_signal_listener):
737 Free the any._value if any._release is TRUE,
738 since the ORB won't do it for us in this case
739 [because this method is not a skel].
742 2005-03-30 Steve Murphy <murf@e-tools.com>
744 * configure.in: Added "rw" to ALL_LINGUAS.
746 2005-03-29 Bill Haneman <bill.haneman@sun.com>
748 * configure.in: Improved check for HAVE_XEVIE, to detect
749 presence on XOrg, where -lXevie is a separate library.
751 2005-03-08 Bill Haneman <bill.haneman@sun.com>
753 * configure.in, NEWS, README: Revved to 1.6.3.
755 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
757 * configure.in: Added "xh" to ALL_LINGUAS.
759 2005-02-07 Bill Haneman <bill.haneman@sun.com>
761 * atk-bridge/bridge.c:
762 (atk_bridge_init): Added missing NULL in g_strconcat(),
763 also check for symlink before logging to
764 insecure directory. Thanks to meissner@suse.de.
766 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
768 * tests/login-helper-server-test.c: Add return call to main
769 function. Patch from Chris Lahey. Fixes bug #165129.
771 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
773 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
775 2004-12-09 Bill Haneman <billh@gnome.org>
777 * registryd/registry-main.c:
778 Added #define <string.h> for strrchr. (bug 160862).
779 Thanks to Vincent Berger for catching.
781 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
783 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
784 restart registry process if the registry process is found to have died
785 and the current process is exiting.
786 (spi_atk_bridge_exit_func): Do not attempt to deregister the
787 application if the registry process has died.
788 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
789 does not return a registry object.
790 (spi_atk_tidy_windows): Give up if the registry process has died.
792 This fixes problems with hangs and crashes when logging out.
794 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
796 * registryd/desktop.c: Add checking that we are not exiting before
797 calling spi_desktop_remove_application in
798 abnormal_application_termination. Fix for bug #152147.
800 2004-12-02 Bill Haneman <billh@gnome.org>
802 * configure.in, NEWS, README: Revved to 1.6.1.
804 Patch from Padraig O'Briain <padraig.obriain@sun.com>
805 * atk-bridge/bridge.c:
806 (atk_bridge_init): Save the pid when we start, to detect forks.
807 (spi_atk_bridge_exit_func): Don't call the cleanup routines
808 if we're in a forked pid.
810 2004-10-09 Bill Haneman <billh@gnome.org>
812 * idl/Accessibility_LoginHelper.idl:
813 Improved inline documentation.
815 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
817 * configure.in: Added gl (Galician) to ALL_LINGUAS
819 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
821 * libspi/accessible.c:
822 (impl_accessibility_accessible_get_role_name),
823 (impl_accessibility_accessible_get_local_role_name):
825 * libspi/component.c:
826 (impl_accessibility_component_get_accessible_at_point):
828 * libspi/eventlistener.c: (spi_event_listener_new):
830 * libspi/stateset.c: (impl_compare): More of the same
831 * libspi/table.c: (impl_getRowDescription): Again.
832 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
833 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
834 (impl_generate_keyboard_event): Same.
835 * registryd/registry-main.c: (main): Same
836 * test/event-listener-test.c: (test_exit): Same
837 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
838 * test/keysynth-test.c: (test_key_synthesis): Same
839 * test/login-helper-server-test.c: (main): Fix warning.
840 * test/screen-review-test.c: (test_exit): Fix include.
841 * test/simple-at.c: (simple_at_exit), (_festival_init):
844 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
846 * configure.in, NEWS, README: Revved to 1.6.0.
848 2004-09-12 Bill Haneman <bill.haneman@sun.com>
850 * configure.in: Rev and re-dist, since the 1.5.4 tarball
851 was missing the HTML docs.
853 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
855 * configure.in: only cleanups:
856 - better looking PKG_CHECK_MODULES() output,
858 - declare in one common place required versions of other tools using
861 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
863 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
864 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
865 required ATK version accordingly.
867 2004-09-03 Bill Haneman <bill.haneman@sun.com>
869 * cspi/bonobo/cspi-bonobo.c:
870 (cspi_display_name): Fix C99ism.
871 * atk-bridge/bridge.c:
872 (spi_display_name): Fix C99ism.
873 Patch from Jens Granseuer, jensgr@gmx.net.
875 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
877 * configure.in: Added "or" to ALL_LINGUAS.
879 2004-08-20 Bill Haneman <bill.haneman@sun.com>
881 * configure.in, NEWS, README: Revved to 1.5.4.
883 * registryd/registry-main.c:
884 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
887 * cspi/bonobo/cspi-bonobo.c:
888 (cspi_display_name): New convenience method, gets DISPLAY with
889 screen number stripped, if AT_SPI_DISPLAY isn't already set.
890 (cspi_init): Set the activation env value above before getting
893 * atk-bridge/bridge.c:
894 (spi_display_name): Create the AT_SPI_DISPLAY activation
895 environment for an app, based on the DISPLAY environment with the
896 screen number stripped off.
897 (atk_bridge_init): Allow redirection of error messages to a log.
898 (spi_atk_bridge_get_registry): Call
899 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
901 Fixes for bugs #149962, #136986, #144086.
903 2004-08-16 Christian Rose <menthos@menthos.com>
905 * configure.in: Added "bs" to ALL_LINGUAS.
907 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
909 * configure.in: Added nb to ALL_LINGUAS.
911 2004-09-03 Bill Haneman <bill.haneman@sun.com>
914 (SPI_init): Return error code '2' if the activated
915 registry cannot be pinged. Fixes bug #147648.
917 2004-07-28 Bill Haneman <bill.haneman@sun.com>
919 * registryd/deviceeventcontroller.c:
920 (spi_dec_init_mouse_listener): Don't do XGrabButton,
921 rely on timer-poll instead, to avoid conflict with
924 2004-07-20 Bill Haneman <bill.haneman@sun.com>
926 * configure.in: Revved to 1.5.3.
928 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
930 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
932 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
934 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
936 2004-06-11 Bill Haneman <bill.haneman@sun.com>
938 * atk-bridge/bridge.c:
939 (spi_atk_bridge_do_registration):
940 Register with ATK for AtkComponent:bounds-changed events.
941 (api_atk_bridge_signal_listener):
942 Marshal the AtkRectangle info into the event notification
943 for object:bounds-changed events.
946 (spi_init_any_rect): New method, inits a corba struct of
947 type Accessibility_BoundingBox from an AtkRectangle.
949 * libspi/spi-private.h: Declared spi_init_any_rect (above).
952 (SPIRect): New struct definition.
953 (SPI_freeRect): New declaration.
954 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
957 (AccessibleBoundsChangedEvent_getNewBounds): New method,
958 implemented. Gets the bounding box data from the CORBA_any
959 associated with a bounds-changed event notification.
960 (cspi_internal_event_get_rect): New, used internally by above method.
963 (SPI_freeRect): Implemented this new method, for freeing
966 * test/event-listener-test.c:
967 (main, report_bounds_event):
968 Added a test for object:bounds-changed events.
970 2004-06-01 Bill Haneman <bill.haneman@sun.com>
972 * test/login-helper-server-test.c:
973 (main): Fix C99-ism. Thanks to Jens Granseuer.
975 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
977 * libloginhelper-1.0.pc.in:
978 * idl/Accessibility_LoginHelper.idl:
979 * login-helper/Makefile.am:
980 * login-helper/login-helper.[ch]:
981 * test/login-helper-client-test.c:
982 * test/login-helper-server-test.c: Added files missing from CVS.
983 Files obtained from at-spi-1.5.2 tarball.
985 2004-05-27 Bill Haneman <bill.haneman@sun.com>
987 * configure.in: Create login-helper/Makefile.
988 Incremented micro version.
990 * Makefile.am: Add login-helper subdir and pkgconfig data.
992 * login-helper: New subdir.
994 * libloginhelper-1.0.pc.in: New.
996 * idl/Accessibility_LoginHelper.idl: New file, defines
997 interface whereby authentication clients can identify agents which
998 need access to services during the login process, e.g. screen lock
1001 * login-helper/Makefile.am : New.
1003 * login-helper/login-helper.[ch] : New, implementation of
1004 a LoginHelper base class. Services needing LoginHelper can subclass.
1006 * test/Makefile.am : Added test for login-helper, client and
1009 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1010 Use proper prefix in #include files.
1012 * test/login-helper-client-test.c: New.
1014 * test/login-helper-server-test.c: New.
1016 2004-05-27 Alexander Shopov <ash@contact.bg>
1018 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1020 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1022 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1023 is positive. This should make it easier to detect inapprorpiate unref
1026 2004-05-11 James Henstridge <james@daa.com.au>
1028 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1029 no-op and deprecated.
1031 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1033 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1035 2004-04-28 Bill Haneman <billh@gnome.org>
1037 * Makefile.am: Added --enable-gtk-doc to
1038 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1040 2004-04-19 Bill Haneman <billh@gnome.org>
1042 * configure.in: Revved to 1.5.1.
1044 * registryd/deviceeventcontroller.c:
1046 (DEControllerPrivateData): Added fields for
1047 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1048 (spi_dec_replace_map_keysym): New internal utility for
1049 replacing a keysym in the keymap - used to allow
1050 synthesis of individual characters which aren't in the
1052 (spi_dec_reset_reserved): New; resets the changed keysym value
1054 (keycode_for_keysym): We now try to deal with failed
1055 XKeysymToKeycode requests by changing a keymap value
1056 and returning a reserved keycode. We now take
1057 a DEController pointer as first arg.
1058 (spi_controller_register_with_devices): Call XkbGetMap with
1059 the XkbKeySymsMask. Find the highest keycode in the current
1060 keymap which doesn't have any grabs, and mark that one for
1061 temporary re-mapping when out-of-range KeySyms are synthesized.
1062 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1065 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1067 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1069 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1071 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1073 2004-03-24 Bill Haneman <billh@gnome.org>
1076 (AccessibleTable_addRowSelection),
1077 (AccessibleTable_addColumnSelection),
1078 (AccessibleTable_removeRowSelection),
1079 (AccessibleTable_removeColumnSelection):
1080 Add declarations for spi wrappers which were
1081 inadvertantly omitted. Fixes bug #133413.
1084 Revved to 1.5.0 (unstable series for GNOME 2.7).
1086 2004-03-24 Bill Haneman <billh@gnome.org>
1088 * atk-bridge/bridge.c:
1089 Bracketed some debug output in
1090 conditionals, to avoid printing it in normal use.
1093 * libspi/hyperlink.c:
1094 Don't cast 'object' to ATK_OBJECT when constructing
1095 an AtkAction interface for a hyperlink.
1096 See discussion in bug #120659.
1098 * test/key-listener-test.c:
1099 (report_all_key_event): Send output to stderr,
1100 not stdout, for consistency with the rest of the test callbacks.
1103 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1104 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1105 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1106 try incrementing the revision AFTER doing a dist, at least
1109 2004-03-22 Bill Haneman <billh@gnome.org>
1111 * configure.in: Revved to 1.4.0, libtool 9.14.9
1113 2004-03-17 Laszlo Peter <laca@sun.com>
1115 * libspi-1.0-uninstalled.pc.in: add idldir
1117 * cspi-1.0-uninstalled.pc.in: add idldir
1119 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1121 * configure.in: Added "en_GB" to ALL_LINGUAS
1123 2004-03-15 Bill Haneman <billh@gnome.org>
1125 * configure.in: Revved to 1.3.16,
1128 2004-03-15 Laszlo Peter <laca@sun.com>
1130 * libspi-1.0-uninstalled.pc.in: new file
1132 * cspi-1.0-uninstalled.pc.in: new file
1134 * configure.in: add the new pc files to AC_OUTPUT
1136 * Makefile.am: add the new pc files to EXTRA_DIST
1138 2004-03-12 Bill Haneman <billh@gnome.org>
1140 * atk-bridge/bridge.c:
1141 (spi_atk_bridge_key_listener):
1142 Make sure to return consumed=FALSE if snoop
1143 event is not dispatched to listener.
1146 2004-03-01 Bill Haneman <billh@gnome.org>
1148 * configure.in: Revved to 1.3.15,
1151 2004-03-07 Danilo Segan <dsegan@gmx.net>
1153 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1155 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1157 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1159 2004-03-01 Bill Haneman <billh@gnome.org>
1161 * configure.in: Revved to 1.3.14.
1164 (SPI_exit): Removed "bye-bye" exit message.
1165 Moved "leak" report to happen before the
1166 iteration over the leaked refs list.
1167 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1169 2004-02-24 Bill Haneman <billh@gnome.org>
1171 * configure.in: Revved to 1.3.13.
1173 * docs/reference/cspi/Makefile.am:
1174 Correct typo that was breaking the docs build.
1176 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1178 * autogen.sh: Require version 1.7 of automake.
1180 * configure.in: call GTK_DOC_CHECK([1.0])
1182 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1184 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1186 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1188 * test/Makefile.am: Remove use of CFLAGS.
1190 This fixes bug #132987.
1192 2004-02-11 Bill Haneman <billh@gnome.org>
1194 * reverted most of Tomasz' patch below, since it was breaking
1195 builds (see bug #134058).
1197 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1199 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1200 correct pass "make dist" (empty .. because seems no sach types in
1201 header files with gtk-doc markups).
1202 * docs/reference/cspi/Makefile.am, configure.in:
1203 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1204 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1205 * Makefile.am: added:
1206 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1207 for force correct pass generate documentation on "make distcheck".
1208 * libspi/Makefile.am: fixes for automake >= 1.6.
1209 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1210 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1213 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1215 * docs/reference/cspi/Makefile.am (install-data-local): Install
1216 index.sgml since the doc autobuilder on widget.gnome.org looks for
1219 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1221 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1224 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1226 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1228 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1230 * test/simple-at.c: Fixed null string problems that cause core
1231 dumping problems on Solaris.
1233 2004-01-12 Bill Haneman <billh@gnome.org>
1235 * configure.in: Incremented version to 1.3.11.
1237 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1239 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1240 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1243 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1245 * configure.in: Added "fa" to ALL_LINGUAS.
1247 2003-12-20 Arafat Medini <lumina@silverpen.de>
1249 * configure.in: Added "ar" to ALL_LINGUAS
1251 2003-12-16 Bill Haneman <billh@gnome.org>
1253 * registryd/registry-main.c:
1255 Set the reg_env DISPLAY variable before registering the
1256 activated registry service. Fixes bug #129479.
1258 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1260 * configure.in: Added "id" in ALL_LINGUAS
1261 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1263 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1265 * registryd/deviceeventcontroller.c (global_filter_fn):
1266 When an event is consumed discard any XEvents were added to
1267 the queue while dealing with the the event. This can happen if
1268 processing of the event takes a long time. Call XUngrabKeyboard
1269 if an event was discarded. This fixes bug $124837.
1270 Only call wait_for_release_event for a KeyPress.
1271 Use local variable display instead of spi_get_display().
1272 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1275 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1277 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1278 Allow for mask to contain values other than NumLock mask.
1281 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1283 * registryd/devieceventcontroller.c:
1284 (wait_for_release_event): Change first parameter from GdkEvent to
1286 (global_filter_fn); Correct call to wait_for_release_event.
1290 2003-12-08 Bill Haneman <billh@gnome.org>
1294 * registryd/ucs2keysym.c: New file.
1296 * registryd/deviceeventcontroller.c:
1297 (dec_keysym_for_unichar): Remove old partial implementation and
1298 replace with call to ucs2keysym(), which is much more complete.
1299 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1304 2003-12-05 Bill Haneman <billh@gnome.org>
1306 * configure.in: Version 1.3.9.
1308 * docs/reference/cspi/tmpl/spi_registry.sgml:
1309 Added reference to libspi/keymasks.h to the
1310 description of Registry queries: AccessibleKeyMaskType.
1313 2003-12-04 Bill Haneman <billh@gnome.org>
1315 Fix for bug #121974.
1317 * idl/Accessibility_Application.idl:
1318 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1319 setlocale's LC_TYPEs.
1320 (Accessibility::Application::getLocale): New method.
1321 Allows clients to query the locale, by type, of an app.
1324 * cspi/spi_application.c:
1325 (AccessibleApplication_getLocale): New method, wraps IDL above.
1327 * libspi/application.c:
1328 (spi_application_class_init): Init epv entry for getLocale.
1329 (impl_accessibility_application_get_locale): Impl for above.
1331 * test/test-simple.c:
1332 (test_application): Added assertion for getLocale, i.e.
1333 that the string from AccessibleApplication_getLocale (app, type)
1334 is the same as that from setlocale (type, NULL);
1336 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1338 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1339 the keyboard on a timeout intil the key state goes from pressed to
1340 released. Fixes bug #111429.
1342 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1344 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1345 root object so that it is present when a context menu in an
1346 out-of-process applet is popped up.
1347 (spi_atk_bridge_do_registration): Create acceessible application root
1348 object only if it does not exist.
1350 This fixes bug #125834.
1352 2003-12-01 Bill Haneman <billh@gnome.org>
1354 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1357 Added enum for AccessibleStreamableContentSeekType.
1358 (AccessibleStreamableContent_freeContentTypeList): New.
1360 * cspi/spi_streamablecontent.c:
1361 (accessible_bonobo_stream_client_seek): New private method.
1362 (AccessibleStreamableContent_seek): Implemented this method,
1363 using Bonobo_Stream_seek.
1364 (AccessibleStreamableContent_freeContentTypeList): New method
1365 for freeing the return value from
1366 AccessibleStreamableContent_getContentTypes.
1367 (stream_cache_item_free): Replaces stream_release; stop leaks.
1368 (stream_release): removed.
1369 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1370 free the memory properly.
1372 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1374 Fix for bug #116009.
1376 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1378 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1380 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1382 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1384 2003-12-01 Bill Haneman <billh@gnome.org>
1386 Fix for bug/rfe #127463.
1388 * idl/Accessibility_Accessible.idl:
1389 (getLocalizedRoleName): New.
1390 (unimplemented4): Removed (replaced by above).
1392 * libspi/accessible.c:
1393 (impl_accessibility_accessible_get_local_role_name): New.
1394 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1398 (Accessible_getLocalizedRoleName): New.
1400 * cspi/spi_accessible.c:
1401 (Accessible_getLocalizedRoleName): New.
1403 2003-12-01 Bill Haneman <billh@gnome.org>
1405 Fix for bug #118581.
1406 * idl/Accessibility_Text.idl:
1407 (getDefaultAttributes): New.
1408 (unimplemented4): Removed (replaced by above method).
1411 (impl_getDefaultAttributes): New method.
1412 (spi_text_class_init):
1413 initialize the get_default_attributes slot in the epv.
1416 (AccessibleText_getDefaultAttributes): New prototype.
1419 (AccessibleText_getDefaultAttributes): New method.
1421 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1423 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1424 write beyond the end of the table. Fixes bug #120473.
1426 2003-09-30 Christian Rose <menthos@menthos.com>
1428 * configure.in: Added "eu" to ALL_LINGUAS.
1430 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1432 * configure.in: ALL_LINGUAS: Added no.
1434 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1436 * configure.in: Added lt to ALL_LINGUAS.
1438 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1440 * atk-bridge/bridge.c:
1441 (atk_bridge_init): Register event listeners always even for
1442 out-of-process applet.
1443 (spi_atk_bridge_toplevel_added): Remove call to
1444 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1445 (spi_atk_bridge_toplevelk_removed): Remove call to
1446 spi_atk_deregister_event_listenersa as the listeners are now always
1448 (spi_atk_bridge_register_application): Remove call to
1449 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1451 This fixes bug #120991.
1453 * libspi/table.c (impl_getColumnDescription): Correct typo,
1454 pointed out by Bolian.Yin@sun.com.
1456 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1458 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1460 2003-09-08 Bill Haneman <billh@gnome.org>
1462 * configure.in: Revved to 1.3.7.
1464 This is the GNOME 2.4.0 release of at-spi.
1466 * docs/reference/cspi/Makefile.am:
1467 Removed spurious inclusion of 'index.sgml' in the
1468 html directory; this was breaking make distcheck and
1469 also some other build environments.
1471 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1473 * registryd/registry.[ch}:
1474 Add queue_handler_id and focus_object to SpiRegistry data structure.
1475 (registry_flush_event_queue): If event being discarded is
1476 "state-change:focused" store object as focus_object.
1477 (registry_start_queue): Remove queue handler and focus object
1479 (registry_discard_event): New function which discards a focus event
1480 if we had stored focus object in the registry.
1481 (registry_queue_event): Add new check that is_queueing is set as this
1482 function is reentrant.
1483 (registry_filer_event): Add call to registry_discard_event.
1485 This resolves issues raised in bug #108664.
1487 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1489 * configure.in: Added "bn" to ALL_LINGUAS.
1491 2003-09-04 Bill Haneman <billh@gnome.org>
1493 * cspi/spi_event.c: Documentation improvements for
1494 (SPI_registerAccessibleKeylistener).
1496 * docs/reference/tmpl/spi_registry.sgml:
1497 Documentation improvements for SpiAccessibleKeylistenerCB.
1499 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1501 * configure.in: Added "ro" to ALL_LINGUAS.
1504 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1506 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1507 not decremented to zero. Fixes bug #120725.
1509 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1511 * configure.in: Added "ja" to ALL_LINGUAS.
1513 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1515 * configure.in: Added "is" to ALL_LINGUAS.
1517 2003-08-22 Christian Rose <menthos@menthos.com>
1519 * configure.in: Added "nl" to ALL_LINGUAS.
1521 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1523 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1524 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1526 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1528 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1529 type for unspecified exception.
1530 * cspi_streamablecontect): Add include of string.h for memcpy.
1531 (stream_release): Correct call to bonobo_object_release_unref
1532 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1533 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1534 argument of _cspi_expection_throw.
1535 * libspi/hyperlink.c: Add include of libspi/action.h:
1536 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1537 * libspi/streamablecontent.c: add include of libspi/component.h.
1538 * regisrtyd/deviceeventcontroller.c:
1539 (spi_dec_translate_mask): Removed unused variable priv.
1540 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1541 * registryd/registry.c:
1542 (registry_filter_event): Remove unused variable queue_is-empty.
1543 (impl_registry_notify_event): Use correct modifier in fprintf call.
1545 This fixes compiler warnings reported in bug #120220.
1547 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1549 * registryd/registryd.c: Remove this file.
1551 2003-08-17 Sanlig Badral <badral@openmn.org>
1553 * configure.in: Added mn to ALL_LINGUAS.
1555 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1557 * configure.in: Added et to ALL_LINGUAS.
1559 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1561 * test/event-listener-test.c: Change active-descendant to
1562 active-descendant-changed.
1564 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1566 * configure.in: Added "fi" in ALL_LINGUAS.
1568 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1570 * configure.in: Added "hi" in ALL_LINGUAS.
1572 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1574 * configure.in: Revved to 1.3.6.
1578 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1580 * registryd/deviceeventcontroller.c
1581 (spi_device_event_controller_object_finalize): Fix typo in previous
1584 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1586 * registryd/deviceeventcontroller.c
1587 (spi_device_event_controller_object_finalize): Fix build on
1588 systems without XEvIE.
1590 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1592 * acconfig.h, configure.in, registryd/Makefile.am,
1593 registryd/devicecontoller.[ch]: Add XEViE support.
1595 2003-08-06 Wang Jian <lark@linux.net.cn>
1597 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1599 2003-08-06 Metin Amiroff<metin@karegen.com>
1601 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1603 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1605 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1606 MODIFIER_ALT in correct place.
1608 This fixes part of bug #118114.
1610 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1612 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1614 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1616 * configure.in: Added "ko" to ALL_LINGUAS.
1618 2003-07-28 Ole Laursen <olau@hardworking.dk>
1620 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1622 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1624 * configure.in: Added "sq" to ALL_LINGUAS.
1626 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1628 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1630 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1632 * configure.in: updated ALL_LINGUAS list
1634 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1636 * configure.in: Added Belarusian to ALL_LINGUAS.
1638 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1640 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1642 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1643 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1645 This fixes bug #116949.
1647 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1649 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1650 Correct CSPI to SPI in function documentation.
1652 This fixes bug #118054.
1654 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1656 * configure.in: Added Russian to ALL_LINGUAS.
1658 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1660 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1662 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1664 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1666 2003-07-10 Joel Brich <joel.brich@laposte.net>
1668 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1670 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1672 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1674 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1676 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1677 resources allocated for AccessibleEvent. See cspi_event().
1679 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1680 static variable streams to NULL.
1682 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1683 Update so that AcessibleEvent_ref will work.
1685 This fixes bug #116624.
1687 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1689 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1691 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1693 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1695 2003-07-02 Christian Neumair <chris@gnome-de.org>
1697 * configure.in: Added "de" (German) to ALL_LINGUAS.
1699 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1701 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1703 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1705 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1707 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1709 * configure.in: Added "pl" to ALL_LINGUAS.
1711 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1713 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1715 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1718 (get_action_from_servant):
1719 Removed assertion that action is implemented on an AtkObject.
1721 * libspi/hyperlink.c:
1722 (spi_hyperlink_new):
1723 Aggregate AccessibleAction interface on the hyperlink object if
1724 the object implements AtkAction. (This convention is used in
1727 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1729 * configure.in: Revved to 1.3.5.
1731 * registryd/Accessibility_Registry.server.in.in:
1732 Marked up appropriate strings for translation.
1734 * atk-bridge/bridge.c: Marked a couple of
1735 user-visible warnings for translation. Questionable
1736 whether they are really useful, but possibly so.
1739 2003-06-28 Christian Rose <menthos@menthos.com>
1741 * configure.in: Added "sv" to ALL_LINGUAS.
1743 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1745 * registryd/registry.c:
1746 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1747 (registry_defer_on_event): Defer focus: events, this is an
1748 improvement to the patch for bug #108664.
1750 * TODO: Update with 2.4/"Dev Complete" items.
1752 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1754 * atk-bridge/bridge.c:
1755 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1756 looks up signals once.
1757 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1758 if doing registration.
1759 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1760 when doing registration.
1762 This fixes bug #115014.
1764 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1766 * atk-bridge/bridge.c:
1767 (atk_bridge_init): Add signal handler for children-changed:remove on
1768 root when in a BonoboComponent.
1769 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1770 for first toplevel only other incrememt variable toplevels.
1771 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1772 application and remove listeners.
1773 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1775 (spi_atk_deregister_event_listeners): New function which removes
1777 (reinit_register_vars): New fuction which reinitializes variables.
1779 This fixes bug #111578.
1781 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1783 * configure.in: version 1.3.4.
1785 * cspi/spi_accessible.c:
1786 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1789 2003-06-13 Michael Meeks <michael@ximian.com>
1791 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1793 * cspi/spi_main.c (cspi_peek_ev): impl.
1795 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1797 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1799 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1801 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1802 SPI_ROLE_AUTOCOMPLETE
1804 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1806 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1807 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1809 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1811 * libspi/streamablecontent.h:
1812 * libspi/streamablecontent.c:
1813 New files, provide implementation/wrappers for
1814 Accessibility_StreamableContent.
1816 * cspi/spi_streamablecontent.c:
1817 Connected the C wrappers to the libspi C bindings.
1818 (AccessibleStreamableContent_close): New method.
1821 (AccessibleStreamableContent_close): New method, needed
1822 since we have an "open, [seek], read, close" model in cspi.
1824 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1826 Fix for #108664; Padraig's revision of my original patch.
1828 * registryd/registry.h:
1829 Added event queue list, is_queuing, and exit_notify_timeout
1830 to the registry struct.
1832 * registryd/registry.c:
1833 (registry_init): Initialize new struct from registry.h.
1834 (impl_registry_notify_event):
1835 Filter events before notifying, in case some need to be
1837 (registry_filter_event): New,
1838 we defer certain incoming events (for instance
1839 window:deactivate) because we may wish to hide
1840 or reject them based on pending events. This is
1841 mostly a workaround for bug #108664.
1842 (registry_queue_event, registry_start_queue): New.
1843 (registry_defer_on_event): Test event to see if it
1845 (registry_reset_on_event): Returns TRUE if the
1846 event should cause a queue reset.
1847 (registry_discard_on_event): Returns TRUE if the event
1848 should cause the previous queue contents to be discarded.
1849 (registry_timeout_flush_queue): Flushes the pending event
1850 queue if no reset/discard-triggering events have come in
1851 within the timeout period.
1852 (registry_emit_event): New.
1853 (registry_clone_notify_context): New, used when queueing the
1854 event notify contexts.
1856 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1858 * configure.in: Version revved to 1.3.2, lt 0.9.2
1859 Incremented ATK required version to 1.3.4.
1861 * cspi/spi_registry.c:
1862 (SPI_generateKeyEvent):
1863 We now pass the keystring along if it's non-null.
1865 * registryd/deviceeventcontroller.c:
1866 (keysym_mod_mask): New method, returns modifier mask
1867 required to generate a keysym from a given keycode.
1868 (dec_synth_keysym): New method.
1869 (dec_synth_keystring): New method.
1870 (dec_get_modifier_state): New method.
1871 (dec_lock_modifiers): New
1872 (dec_unlock_modifiers): New.
1873 (dec_keysym_for_unichar): New, rather brute-force
1874 conversion from UCS-4 to X KeySyms. Only works for
1875 Latin at the moment, with partial implementations for
1876 Greek, Hebrew, and (incomplete) Katakana.
1877 (impl_generate_keyboard_event): Now implement
1878 "KEYSTRING" synthesis and implement "KEYSYM"
1880 (keycode_from_keysym): Improved, passes a returned
1881 modmask value now if the corresponding param is non-NULL.
1883 Fixes bugs #92143 and #109776.
1886 * test/keysynth-test.c:
1887 New test program for key synthesis, to confirm fixes for
1891 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1893 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1895 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1896 Add line for RELATION_POPUP_FOR
1898 * docs/reference/cspi/tmpl/spi_relation.sgml:
1899 Add relation SPI_RELATION_POPUP_FOR
1901 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1902 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1904 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1906 * libspi/relation.c (spi_init_relation_type_table):
1907 Add line for RELATION_POPUP_FOR
1909 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1911 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1912 there are still windows which have not been deleted and emit
1913 window:deactivate, if necessary and window:destroy events.
1914 This fixes bug #114370. The change on June 5th was not correct.
1916 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1918 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1921 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1923 New methods for client exception handling and interception.
1924 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1925 (SPI_exceptionHandlerPop): You guessed it...
1926 (SPI_getSourceType): Return the type of object which offended.
1927 (SPI_getExceptionCode): Return an enum code telling, possibly,
1928 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1929 (SPIAccessibleException_getSource): get the source object for
1930 exceptions that come from Accessibles, if SPIExceptionSourceType is
1931 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1932 (SPIException_getDescription): New, returns a string description of
1933 the problem. [Not yet a stable ABI, strings are not frozen]
1935 * cspi/spi-private.h:
1936 Added implementation details of opaque SPIException
1940 Implementations of above. Also
1941 (_cspi_exception_throw): new private method that
1942 dispatches exceptions to handlers, called from cspi-bonobo.c
1944 * cspi/bonobo/cspi-bonobo.c:
1945 (cspi_check_ev): call _cspi_exception_throw.
1946 Don't print a warning message if the exception has been
1947 handled by _cspi_exception_throw.
1949 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1951 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1952 there are still windows which have not been deleted and emit
1953 window:deactivate, if necessary and window:destroy events.
1954 This fixes bug #114370.
1956 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1959 (cspi_accessible_is_a): Make non-fatal
1960 if the object reference is dead.
1962 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1964 * cspi/spi_main.c: #include <stdio.h>
1965 * test/simple-at.c: ditto
1966 * test/event-listener-test.c: ditto
1967 * test/screen-review-test.c: ditto
1969 2003-05-30 Michael Meeks <michael@ximian.com>
1971 * test/test-simple.c (main): use CORBA_ORB_perform_work
1972 instead of an unnecessary linc_ call.
1974 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1976 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1977 Add SPI_STATE_INDETERMINATE.
1979 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1982 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1984 * libspi/stateset.c (init_state_type_tables): Add support for
1987 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1989 * configure: Update versions of atk and gail required.
1990 This fixes bug #113268.
1992 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1994 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1996 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1998 * libspi/Makefile.am:
1999 Ensure headers are generated before being used by c sources.
2001 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2004 Simplified lt versioning rules.
2005 Incremented version to 1.3.0, to indicate that we're on the
2006 unstable branch now.
2008 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2010 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2011 Add MKDB_OPTIONS=--outtput-format=xml
2013 * docs/reference/cspi/at-spi-cspi-docs.sgml
2014 docs/reference/idl/at-spi-idl-docs.sgml:
2015 Convert to Docbook XML.
2017 This fixes bug #111793.
2019 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2021 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2022 AcccessibleKeyEventType, AccessibleKeyMaskType.
2024 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2026 * cspi/state-types.h: Add documentation for AccessibleState.
2028 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2029 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2030 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2031 AccessibleComponentLayer.
2033 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2036 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2038 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2039 Accessible. Add description of AccessibleEvent,
2040 AccessibleEventListenerCB.
2042 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2045 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2046 documentation. Add description of AccessibleKeystrokeListenerCB,
2047 AccessibleKeyEventMask, AccessibleModifierMaskType,
2048 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2049 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2051 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2054 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2057 This fixes bug #104730.
2059 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2061 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2062 Set is_text field of Accessibility_DeviceEvent data structure.
2064 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2065 is-text field of AccessibleDeviceEvent data structure.
2067 This addresses part of bug #108666.
2069 * registryd/devcieeventcontroller.c: Unset debug option.
2071 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2073 * cspi/accessible.c:
2074 (cpi_initial_relation_type_table): New function which initializes
2075 mapping between Accessibility_RelationType and AccessibleRelationType.
2076 (cspi_relation_type_from_spi_relation_type): New function which
2077 translates an Accessibility_RelationType into an AccessibleRelationType.
2078 (AccessibleRelation_getRelationType): Use
2079 cpi_relation_type_get_spi_relation_type to return correct value.
2080 (spi_state_to_corba): Return correct type for default case.
2082 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2083 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2085 * cspi/cspi-bonobo-listener.c:
2086 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2089 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2090 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2091 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2092 libspi/image.c, libspi/listener.c, libspi/selection.c,
2093 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2094 registryd/desktop.c, registryd/registry.c:
2095 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2097 * libspi/eventlistener.c
2098 Remove semicolon after BONOBO_TYPE_FUNC.
2100 * libspi/relation.c:
2101 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2102 (spi_init_relation_type_table): Initialize using correct type.
2104 * registryd/desktop.c:
2105 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2106 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2107 of Accessibility_KeyEventType.
2109 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2112 * tests/simple-at.c, tests/screen-review-test.c:
2113 Add include for <strings.h>.
2115 * tests.stress-test.c:
2116 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2118 These changes fix compiler warnings when using FORTE compiler on
2119 Solaris; fixes bug #107479.
2122 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2125 * configure.in: revved to 1.1.10
2127 * libspi/keymasks.h:
2128 (SPI_KEYMASK_NUMLOCK): Added.
2130 * registryd/deviceeventcontroller.c:
2131 (spi_key_event_matches_listener): AND with a smaller
2132 bitmask (as we should).
2133 (spi_dec_translate_mask):
2134 New method, sets the virtual NumLock modifier bit
2135 if numlock is on. Eventually it can handle other virtual
2136 modifier bits if needed, or other marshalling from
2137 at-spi modifier masks to platform (X) masks.
2138 (spi_dec_key_listener_new):
2139 Call spi_dec_translate_mask to set up virtual mod bits
2140 in the 'mask' field when creating a new listener struct.
2141 (spi_dec_emit_modifier_event):
2142 Set the virtual (i.e. NumLock) bits before emitting event.
2143 (spi_controller_register_with_devices):
2144 Query for the NumLock modifier 'physical' bit if Xkb is
2145 present, for use in above methods.
2149 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2151 * registryd/deviceeventcontroller.c:
2152 (spi_keystroke_from_x_key_event):
2153 Instead of checking to see if the keysym is
2154 printable, check the string from XLookupString
2155 if available, get the first unicode character from it,
2156 and call g_unichar_isprint to determine whether the
2157 is_text flag should be TRUE or FALSE.
2161 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2163 * atk-bridge/bridge.c: Add support for extended events
2164 * cspi/spi_event.c: Add documentation and implementation for
2166 * tests/event-listener-test.c: Add tests for extended events.
2168 This fixes bugs #100424 and #100426.
2170 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2172 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2173 of LT_CURRENT. This fixes bug #89350.
2175 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2177 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2178 number of signal parameter values before accessing them. This fixes
2181 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2183 * configure.in: Fixed duplicate inclusion of -lspi.
2184 * branched for gnome-2-2/HEAD.
2185 [created tag "gnome-2-2"]
2187 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2189 * configure.in: 1.1.9 release.
2192 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2194 [needed by GOK, to fix bugs 107985 and 107988]
2195 * registryd/deviceeventcontroller.c:
2196 (spi_dec_clear_unlatch_pending):
2197 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2198 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2199 (spi_dec_init_mouse_listener):Emit warning if mouse button
2201 (spi_device_event_controller_forward_mouse_event):
2202 Removed unnecessary parens from a conditional.
2203 (global_filter_fn):Added TODO comment.
2204 (impl_generate_keyboard_event):
2205 Cancel a pending relatch if a 'delatching' key was
2208 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2210 * atk-bridge/bridge.c:
2211 Change atk_signal_child_changed to atk_signal_children_changed.
2212 Reorganize code in spi_atk_bridge_signal_listener().
2214 * test/event-listener-test.c:
2215 Add children_changed_listener and report_children_changed_event()
2216 to test AccessibleChildEvent_getChildAccessible.
2218 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2220 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2221 g_strdup to CORBA_String_dup (bug #105291)
2223 * test/event-listener-test.c (report_text_event): Add call to
2226 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2228 * registryd/deviceeventcontroller.c:
2229 (spi_keystroke_from_x_key_event):
2230 Fix string and keysym return codes to match modifier state.
2233 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2235 * registryd/deviceeventcontroller.c:
2236 (spi_keystroke_from_x_key_event):
2237 Fix segv due to improper use of isprint(c). [bug #107254]
2239 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2242 (get_accessible_text_boundary_type):
2243 Move default return value to (new) default case in switch.
2244 (get_accessible_text_clip_type):
2245 Move default return value to (new) default case in switch.
2247 * libspi/application.c:
2248 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2249 Remove unused methods.
2250 (impl_accessibility_application_register_object_event_listener):
2251 Remove unused methods.
2254 Added #include of <math.h>.
2256 * registryd/deviceeventcontroller.c:
2257 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2258 we don't currently use this method.
2259 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2261 (impl_generate_key_event):
2262 Remove unused variables.
2263 (impl_generate_mouse_event):
2264 Initialize button to zero, just in case we get an invalid
2265 input. Added support for mouse buttons 4 and 5.
2266 (spi_device_event_controller_new):
2267 Removed unused variable declaration for 'private'.
2269 Added #include of <gdk/gdk.h>
2271 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2273 * configure.in: Update to work when X is not installed in expected
2274 location. Fixes bug #105836.
2276 * atk-bridge/bridge.c
2277 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2279 (spi_atk_register_event_listener): Add signal listener for
2281 (spi_atk_bridge_signal_listener): Event event when link-selected
2282 signal is emitted. (bug #104622)
2284 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2285 on returned string. (bug #105291)
2287 * test/event-listener-test.c: Add test for link-selected.
2289 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2291 * atk-bridge/Makefile.am: Correct typo in previous commit.
2293 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2295 * atk-bridge/Makefile.am: Allow for build directory to be different
2296 from source directory
2298 * registryd/Makefile.am: Allow for build directory to be different
2299 from source directory
2303 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2306 Fixed dependencies for libcspi so that libspi gets pulled in
2307 properly. Fixes 104741.
2311 Clean up inline docs a little.
2313 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2315 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2316 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2317 the AtkObject within an SpiDesktop.
2318 This addresses bug #101524.
2320 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2321 Remove call to gdk_init().
2323 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2324 so that Display is set when SpiDesktop is created.
2326 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2328 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2329 This fixes bug #102830.
2331 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2333 * test/test-simple.c: Update to take account of fact that GailButton
2334 now implements AtkText.
2335 (create_text_window): Set name on AtkObject for GtkEntry.
2336 (validate_accessible): Check accessible name before calling test_text().
2338 * libspi/Makefile.am: Fix problem with building outside of source
2339 directory. Bug #98120.
2341 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2342 typo in documentation comments. Bug #94275.
2344 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2346 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2348 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2351 Add includes to avoid compiler warnings on Solaris.
2352 (impl_getRangeExtents): Bug fix.
2354 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2356 Fix for 100944, [API addition approved by Gman and murrayc].
2363 * idl/Accessibility_Text.idl:
2364 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2365 (Text::getRangeExtents): New method for efficient
2366 bounds query of a text range.
2367 (Text::getBoundedRanges): New method for efficient
2368 clipping of text to bounding boxes.
2369 (unImplemented7, unImplemented8):
2370 Removed these padding methods to preserve bincompat.
2373 (impl_getRangeExtents): implementation of new IDL.
2374 (impl_getBoundedRanges): implementation of new IDL.
2375 (SpiTextRect): Internal use struct.
2376 (_spi_text_rect_union): internal method, calculates union of two
2377 SpiTextRect bounding rects.
2378 (_spi_text_range_seq_from_gslist): internal method, allows us
2379 to build our sequence efficiently as a gslist then convert it
2381 (_spi_bounds_contain): internal method, determines whether
2382 a text character is "in" or "out" of a clip rect according to
2383 values of TEXT_CLIP_TYPE.
2384 (spi_text_class_init): Initialize the new methods in the epv.
2387 (AccessibleTextClipType): New enum used by screen review api.
2388 (AccessibleTextRange): New struct used by screen review api.
2389 (AccessibleText_getRangeExtents):
2390 cspi binding for Accessibility_Text_getRangeExtents.
2391 (AccessibleText_getBoundedRanges):
2392 cspi binding for Accessibility_Text_getBoundedRanges.
2393 (AccessibleTextRange_freeRanges): convenience method.
2396 (AccessibleText_getRangeExtents):
2397 cspi binding for Accessibility_Text_getRangeExtents.
2398 (AccessibleText_getBoundedRanges):
2399 cspi binding for Accessibility_Text_getBoundedRanges.
2400 (AccessibleTextRange_freeRanges): convenience method.
2401 (get_accessible_text_clip_type): internal conversion method.
2402 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2404 * registryd/deviceeventcontroller.c:
2405 (spi_dec_mouse_check):
2406 Improved behavior for mouse:abs events
2407 [same granularity as mouse:rel events, and no
2408 events when mouse is idle].
2410 2002-12-16 Michael Meeks <michael@ximian.com>
2412 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2414 * libspi/stateset.c (state_spi_to_atk): split out
2415 ( fix several remote array bounds nasties )
2416 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2417 (impl_remove): make safe from array bounds issues.
2418 (spi_atk_state_from_spi_state): impl.
2420 * libspi/stateset.h (spi_state_set_cache_is_empty):
2421 add a set of wrapper defines to get layering right.
2423 * cspi/spi_accessible.c: update state set stuff to
2426 2002-12-14 Michael Meeks <michael@ximian.com>
2428 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2429 to avoid 2 roundtrips to the registry per key event
2430 (spi_atk_bridge_key_listener): upd.
2431 (deregister_application): release the dec.
2433 * registryd/registry.c (notify_listeners_cb):
2434 bin lots of re-enterant complexity - we no longer
2435 do a round-trip bonobo ref here, ensure that a single
2436 listener's exception failure won't poison all other
2438 (impl_registry_notify_event): bin obvious memory leak.
2440 2002-12-13 Michael Meeks <michael@ximian.com>
2442 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2443 init the ev so the error is meaningful.
2444 (spi_atk_bridge_key_listener): ditto.
2446 * cspi/spi_main.c (cspi_ev): init the ev so we start
2447 with a clean slate, otherwise the first exception
2448 kills us completely.
2450 * cspi/spi_text.c (get_accessible_text_boundary_type):
2451 add a fallthrough for no warnings.
2453 * cspi/spi_registry.c: prune unused warnings.
2455 * cspi/spi_main.c (cspi_object_take): fix
2456 mind-blowing brokenness ( by watching the compile
2459 * cspi/spi_accessible.c (Accessible_getStateSet):
2460 re-impl. to use an AtkStateSet.
2461 (spi_state_type_from_accessible_state),
2462 (init_state_table): bin these.
2464 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2466 (atk_state_set_from_accessibility_state_set): here.
2468 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2469 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2470 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2471 (AccessibleStateSet_add, AccessibleStateSet_remove),
2472 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2473 (AccessibleStateSet_isEmpty): re-write to use a local
2476 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2478 * configure.in: Revved to 1.1.7 (new keymask vals).
2480 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2482 * libspi/keymasks.h:
2483 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2485 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2488 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2489 to compare two CORBA_TypeCodes.
2490 (cspi_internal_event_add): Silence warning from FORTE compiler.
2492 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2493 avoid implicit declaration of functions.
2495 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2497 * atk-bridge/bridge.c:
2498 (spi_atk_bridge_init_event_type_consts): Store signal id for
2499 active-descendant-changed signal.
2500 (spi_atk_register_event_listeners): Add signal listener for
2501 active-descendant-changed signal,
2502 (spi_atk_bridge_signal_listener): Move code in function
2503 spi_atk-signal_emit_event() into this function.
2504 Add support for active-descendant-changed
2505 Update support for child-changed signal.
2506 (spi_bridge_window_event_listener): Silence warning.
2508 * libspi/spi_private.[ch]:
2509 (spi_init_any_object): Change second parameter from CORBA_Object to
2511 Omit call to CORBA_Object_duplicate().
2512 Set CORBA_any's _value to CORBA_Object*.
2514 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2520 (AccessibleEvent_ref, AccessibleEvent_unref):
2521 New methods, for persisting an event outside the emission context.
2522 Must be used if the new accessor methods are to be called
2523 outside of the event listener's callback.
2525 * cspi/bonobo/cspi-bonobo.c:
2526 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2527 as second parameter instead of NULL, so we can call
2528 cspi_check_ev afterwards.
2531 (cspi_object_take): New internal method,
2532 converts a CORBA_Object reference to a hard ref on
2533 an Accessible if possible, returning NULL if the object
2534 reference is invalid or an Accessible * otherwise.
2537 (AccessibleEvent_ref):
2538 Increment the event's internal private refcount, and
2539 add the event's internal struct to an internal cache
2540 if it's not already there.
2541 (AccessibleEvent_unref):
2542 Decrement the event's refcount and remove it from
2543 the cspi event cache if refcount==0.
2544 (cspi_event_compare): New private method.
2545 Compares two event structs via their ids. Used
2547 (cspi_internal_event_lookup): New private method.
2548 (cspi_internal_event_check): New private method,
2549 a 0-order sanity check for events to make sure their
2550 private data is intact.
2551 (cspi_internal_event_add, cspi_internal_event_remove):
2552 New private methods for managiing the event cache.
2554 * cspi/bonobo/cspi-bonobo-listener.c:
2556 Initialize the new private data elements (id, magic, ref_count).
2558 * atk-bridge/bridge.c:
2559 (spi_atk_bridge_signal_listener):
2560 Fixed bug #100530, passing wrong params to emission func.
2562 * registryd/deviceeventcontroller.c:
2563 (spi_dec_button_update_and_emit):
2564 Fixed type in mask bit operations; fix for #99799.
2566 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2568 Removed some of the more dangerous workarounds from
2569 previous commit; they are only needed by GOK, which
2570 in reality should be using another method to accomplish
2571 the goals. So on reconsideration some of the workarounds
2572 need to be reverted:
2574 * registryd/deviceeventcontroller.c:
2575 (spi_keycodes_contain, spi_dec_init_keycode_list):
2576 Removed these methods, used only by a nasty hack to try
2577 and detect whether a key synthesis should be allowed
2578 to reset the XKB latch state or not. This code was only
2579 required to work around an interaction between GOK,
2580 button events, and XKB.
2581 (impl_generate_key_event):
2582 Removed hack at end of key generation that tried to
2583 "do the right thing" if XKB latch keys were generated
2584 in the midst of button press/release pairs.
2587 Added a check for HAVE_XINPUT. Not normally used yet.
2589 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2591 Workarounds and fixes for mouse event/XKB interaction.
2593 * registryd/deviceeventcontroller.c:
2594 (spi_keycodes_contain, spi_dec_init_keycode_list):
2595 New internal methods.
2596 (spi_dec_set_unlatch_pending):
2597 Split the method that tells XKB to expect an
2598 unlatch (and revert it) out of the rest of the
2599 event handling code. This method is called by the
2600 two mouse event handlers (the poll and the filter).
2601 (spi_dec_update_and_emit, spi_dec_mouse_check):
2602 New methods split from spi_dec_poll_mouse_moved.
2603 The second one is now called from inside the filterFn
2604 when an XKB delatch event is received, to determine
2605 whether to revert the delatch or not.
2606 (spi_poll_mouse_moved): Refactor; also we can now
2607 properly handle the case where multiple button states
2608 have changed between polling cycles and we didn't get
2609 notified due to another client's grab.
2611 Synchronize the server while handling an XKB notification.
2612 Ugly, but apparently necessary to avoid nasty races.
2613 Check the mouse state on receipt of an XKB latch change,
2614 to decide whether to revert the latch or not. (Latches are
2615 reverted if there is an immediately preceding mouse button
2616 event that a client has consumed, in which case we don't want
2617 the user to see the side-effect of the event).
2618 (spi_device_event_controller_forward_mouse_event):
2619 Check for modifier events and fire before resetting mouse_mask_state,
2620 prevents losing modifier events.
2622 (impl_generate_keyboard_event):
2623 If we've just generated a keyboard event for a non-shift key,
2624 we don't want to revert the pending XKB latch.
2625 Otherwise, check the modifier state (via a call to
2626 spi_dev_mouse_check) and set the relatch mask to
2627 that state before returning.
2629 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2632 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2635 * atk-bridge/bridge.c:
2636 (spi_atk_register_event_listeners):
2637 Don't re-register for ATK events if the registry has died
2638 and the app needs to re-register; the ATK listeners are in
2639 process and doing so will cause duplicate emission.
2641 * registryd/deviceeventcontroller.c:
2642 (spi_poll_mouse_moved):
2643 Reformat the source, detect and emit multiple button-change
2644 events (i.e. if multiple buttons have changed between poll
2646 Add code to detect mouse-down events even when the pointer
2647 is grabbed; workaround for GOK bug 98420.
2648 (spi_controller_register_with_devices):
2649 Call XTestGrabControl with 'impervious' flag set to True,
2650 allows us to synthesize events and query the pointer even during
2651 an active grab by another client.
2652 (spi_device_event_controller_forward_mouse_event):
2653 Set the mouse_mask_state to the mouse_button_state from
2654 the intercepted event, to synchronize the grab listener with
2657 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2659 * cspi/spi_accessible.c:
2660 (AccessibleRole_getName):
2661 Added necessary strings for making this (deprecated)
2662 method work with the new role types.
2663 (init_role_table, role_table):
2664 Added definition of SPI_ROLE_APPLICATION.
2666 * libspi/spi-roletypes.h:
2667 Added SPI_ROLE_APPLICATION.
2669 * idl/Accessibility_Role.idl:
2670 Added ROLE_APPLICATION.
2672 * docs/reference/cspi/at-spi-cspi-decl.txt:
2673 Added SPI_ROLE_APPLICATION to docs.
2675 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2677 * cspi/spi_accessible.c
2678 (cspi_init_role_table): Do not write beyond end of role_table.
2679 (Accessible_getRole): Use correct type for value returned by
2680 Accessibility_Accessible_getRole().
2682 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2683 beyond end of role_table. (This fixes bug #98269)
2685 * libspi/application.c: Add include file spi-private.h for
2686 definition of spi_init_any_nil.
2688 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2692 * libspi/spi-private.h:
2693 Added DGB() macro, and extern int _dbg declaration.
2695 * registryd/registry.c:
2696 (definitions) storage for _dbg.
2697 (spi_registry_init):
2698 Get environment variable "AT_SPI_DEBUG".
2699 (spi_registry_set_debug):
2700 New method, to initialize _dbg value.
2701 (spi_listener_struct_new, spi_registry_object_finalize):
2702 (notify_listeners_cb):
2703 Changed fprintfs to use DBG and g_warning().
2705 * registryd/deviceeventcontroller.c:
2706 (_deregister_keygrab, spi_controller_register_device_listener):
2707 Changed debug/warning messages to use DBG macro.
2709 * libspi/listener.c:
2710 (impl_notify_event):
2711 Changed warning messages to use DBG macro and g_warning().
2713 * atk-bridge/bridge.c:
2714 (atk_bridge_init, spi_atk_bridge_get_registry):
2715 (spi_atk_bridge_exit_func):
2716 (spi_atk_bridge_property_event_listener):
2717 Changed status, warning, and error messages to use
2718 g_warning, g_message, and DBG macros.
2721 Read the state of the AT_SPI_DEBUG environment variable
2722 and set a local '_dbg' accordingly.
2724 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2726 FIXES for 98836, 98842, other bugs.
2729 Revved to 1.1.4, interface-age=4, binary-age=4.
2731 * registryd/deviceeventcontroller.c:
2733 Fixed crasher bug in last_mouse_pos initialization.
2735 * registryd/registry.c:
2736 (desktop_add_application, desktop_remove_application):
2737 Added (and then commented out) some support for
2738 object context marshalling. [TODO]
2740 * atk-bridge/bridge.c:
2741 (spi_atk_bridge_event_context_create):
2742 Commented out object context creation until it can
2743 be properly tested and debugged.
2745 * registryd/registry.c:
2746 (impl_registry_notify_event):
2747 Fixed crasher bug, we were calling
2748 spi_re_entrant_list_foreach () with an empty list.
2750 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2752 * idl/Accessibility_Action.idl:
2753 * idl/Accessibility_Component.idl:
2754 * idl/Accessibility_Desktop.idl:
2755 * idl/Accessibility_Event.idl:
2756 * idl/Accessibility_Hyperlink.idl:
2757 * idl/Accessibility_Image.idl:
2758 * idl/Accessibility_Relation.idl:
2759 * idl/Accessibility_Selection.idl:
2760 * idl/Accessibility_State.idl:
2761 * idl/Accessibility_Value.idl:
2762 Updated unimplemented slot count to minimum of
2763 four for all interfaces, for ABI freeze.
2765 * idl/Accessibility_EditableText.idl:
2766 * idl/Accessibility_Text.idl:
2767 Updated unimplemented slot count to six
2770 * idl/Accessibility_Registry.idl:
2771 Updated unimplemented slot count to six
2772 (also for DeviceEventController),
2775 * idl/Accessibility_Table.idl:
2776 Updated unimplemented slot count to eight,
2779 * idl/Accessibility_Event.idl:
2780 Added CORBA_any "any_data" member to Event struct.
2782 * idl/Accessibility_Event.idl:
2783 Added CORBA_any "any_data" member to Event struct.
2785 * atk-bridge/bridge.c:
2787 atk_signal_text_changed, atk_signal_child_changed,
2788 signal ids queried from gtype system.
2789 (AtkBridgeEventContextType): New enum.
2790 (AtkBridgeEventContextData): New struct.
2791 (AtkBridgeEventContext): New struct.
2792 (atk_bridge_init_event_type_consts):
2793 New method, initializes type contants for comparison
2794 prior to emit_eventv.
2795 (atk_bridge_event_context_init): New method,
2796 initializes a CORBA_any from an AtkBridgeEventContext.
2797 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2798 initialize the event.any_data struct.
2799 (spi_atk_bridge_event_context_create): New method,
2800 creates an AtkBridgeEventContext from signal/event info.
2801 (spi_atk_bridge_event_context_free): New method.
2802 (spi_atk_emit_eventv): Changed to take an
2803 AtkBridgeEventContext parameter. We now initialize
2804 the event.any_data member prior to notifying the
2805 Registry, via the AtkBridgeEventContext.
2806 (spi_atk_bridge_property_event_listener):
2807 (spi_atk_bridge_state_event_listener):
2808 Match emit_eventv signature.
2809 (spi_atk_bridge_object_event_listener):
2810 Match emit_eventv signature, and create an
2811 event context from the event details.
2812 Free the event context afterwards.
2813 (spi_atk_bridge_window_event_listener):
2814 Create an event context, pass it to the
2818 (AccessibleEvent_getContextString):
2819 (AccessibleEvent_getContextObject):
2820 New methods, allow query of AccessibleEvent objects
2821 for more context details (via the "any_data" member
2822 of the Event struct, above).
2825 Definitions for AccessibleEvent_getContextString
2826 and AccessibleEvent_getContextObject.
2828 * cspi/spi_listener.h:
2829 (InternalEvent): New struct.
2832 (AccessibleEvent_getContextString):
2833 (AccessibleEvent_getContextObject):
2834 Implementations of new methods, for obtaining
2835 additional context information from some event types.
2837 * cspi/spi_registry.c:
2838 (SPI_registerGlobalEventListener):
2839 Added mention of active-descendant-changed event in docs.
2841 * cspi/cspi-bonobo-listener.c:
2843 Marshal the any into the AccessibleEvent via
2846 * libspi/spi-private.h:
2847 #include <orbit/orbit.h>
2849 (spi_init_any_string):
2850 (spi_init_any_object):
2851 New convenience function declarations.
2855 (spi_init_any_string):
2856 (spi_init_any_object):
2857 New convenience function implementations.
2859 * registryd/deviceeventcontroller.c:
2860 (spi_poll_dec_mouse_moved):
2861 (spi_device_event_controller_forward_mous_event):
2862 Initialize any_data member of event.
2863 (spi_deregister_controller_device_listener):
2864 Fix incorrect param pass which was preventing deregistration.
2866 * registryd/registry.c:
2867 (desktop_add_application):
2868 (desktop_remove_application):
2869 Add object data to event's any_data before dispatch.
2871 Fix for error messages from GAIL.
2873 * test/event-listener-test.c:
2874 Test new ContextString and "any_data" API:
2875 (report_text_event): New method query and output context string.
2876 (main): register a new text listener with report_text_event
2879 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2881 Fixes for bugs 98127 and 97914.
2882 * cspi/spi-roletypes.h:
2883 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2885 * cspi/spi-statetypes.h:
2886 Added SPI_STATE_MANAGES_DESCENDANTS
2888 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2889 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2890 * cspi/spi_accessible.c:
2891 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2892 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2893 Accessibility_STATE_MANAGES_DESCENDANTS
2894 * libspi/accessible.c:
2895 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2896 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2897 As requested by Bill, I also cleaned up the alignment.
2898 * libspi/relation.c:
2899 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2900 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2901 * libspi/stateset.c:
2902 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2903 Accessibility_STATE_MANAGES_DESCENDANTS
2904 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2905 Document changes reflecting modifications to roles.
2906 * docs/reference/cspi/tmpl/spi_relation.sgml:
2907 Document changes reflecting modifications to relations.
2908 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2909 Document changes reflecting modifications to states.
2911 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2914 Revved to 1.1.3, interface-age=3, binary-age=3.
2915 Added REBUILD macro.
2918 Removed accessx-gui from the tests, since we have a nice
2919 keyboard accessibility capplet now :-)
2921 * test/keysynth-demo.c:
2922 (increment_scan): removed do-nothing default: case,
2925 * test/visual-bell.c:
2926 (main) : removed do-nothing default: case,
2929 * cspi/spi_action.c:
2930 (AccessibleAction_getKeyBinding_):
2931 Documented keybinding string format.
2935 (AccessibleText_getAttributes):
2936 Documented the text attribute string format.
2937 It's changed to use semicolon delimiters also,
2938 to prevent clashes with CSS attributes, but the old
2939 trick of looking for ", " strings will still work
2940 (as unreliably as ever). Fix for bug related to 97916.
2943 Include <cspi/bonobo/cspi-bonobo-listener.h>
2944 Fixes build warning.
2945 (SPI_freeAccessibleKeySet):
2946 (AccessibleKeystrokeListener_addCallback):
2947 (AccessibleKeystrokeListener_removeCallback):
2948 Modify to use AccessibleDeviceListener API internally,
2949 instead of AccessibleKeystrokeListener.
2951 * idl/Accessibility_Event.idl:
2952 Added two more empty slots to EventListener (for a total of four).
2954 * idl/Accessibility_Accessible.idl:
2955 Added four empty slots to Accessible interface.
2957 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2959 * idl/Accessibility_Registry.idl:
2960 (KeyEventType, EventType):
2961 Marked KeyEventType as deprecated; it duplicates
2962 functionality of EventType, which has been extended to
2963 include Mouse-button events.
2964 (KeyEventTypeSeq): defined in terms of EventType.
2965 (registerDeviceEventListener, deregisterDeviceEventListener):
2966 New methods, for managing listeners to device events,
2967 which potentially may consume them.
2970 Added definition for AccessibleDeviceListener.
2972 * cspi/spi-listener.h:
2973 (enum AccessibleDeviceEventType):
2974 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2975 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2976 for backwards compat.
2977 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2978 and typedef'd AccessibleKeystroke to it for back-compat.
2979 (AccessibleDeviceListenerCB):
2980 New function prototype typedef.
2983 (AccessibleDeviceEventMask): New typedef.
2984 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2985 (AccessibleKeyMaskType):
2986 Set equivalent to AccessibleModifierMaskType for back-compat.
2987 (SPI_createAccessibleKeystrokeListener):
2988 (AccessibleKeystrokeListener_unref):
2989 Deprecated in favor of equivalent (better-named) new API below..
2990 keystroke listeners are like all device listeners.
2991 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2992 New API names for old features :-).
2993 (AccessibleDeviceListener_addCallback):
2994 (AccessibleDeviceListener_removeCallback):
2995 (SPI_registerDeviceEventListener):
2996 (SPI_deregisterDeviceEventListener):
3000 (SPI_createAccessibleKeystrokeListener):
3001 Use new preferred API, cspi_device_listener_new() and
3002 cspi_device_listener_add_cb().
3003 (AccessibleKeystrokeListener_removeCallback):
3004 Use new preferred API, cspi_device_listener_remove_cb().
3005 (AccessibleKeystrokeListener_unref):
3006 Use new preferred API, cspi_device_listener_unref().
3007 (SPI_createAccessibleDeviceListener):
3008 (AccessibleDeviceListener_addCallback):
3009 (AccessibleDeviceListener_removeCallback):
3010 Implementation of new API.
3012 * cspi/spi_registry.c:
3013 (SPI_registerDeviceEventListener):
3014 (SPI_deregisterDeviceEventListener):
3015 Implementation of new API. Fixed memory leak and removed need to
3016 allocate EventTypeSeq (thanks Michael for catching this).
3017 Squashed a wayward CORBA_exception_free that shouldn't get called.
3019 * cspi/bonobo/cspi-bonobo-listener.c:
3021 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3022 (cspi_key_event): renamed to cspi_device_event().
3023 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3024 Extended to handle mouse button events as well as key events.
3025 (CSpiKeystrokeListener):
3026 Class superceded by CSpiDeviceListener.
3027 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3028 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3030 * cspi/bonobo/cspi-bonobo-listener.h:
3031 (CSpiKeystrokeListener):
3032 Class superceded by CSpiDeviceListener.
3033 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3034 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3036 * libspi/Makefile.am:
3037 Replaced keystrokelistener.h and keystrokelistener.c
3038 with devicelistener.h and devicelistener.c; keystrokelisener.h
3039 stub retained for back-compat.
3041 * libspi/keystrokelistener.c:
3045 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3047 * registryd/deviceeventcontroller.c:
3048 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3049 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3050 (DEControllerPrivateData): Added xkb settings data.
3051 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3052 button release events (which can't be captured via XGrabButton).
3053 Don't dispatch via the 'normal' event mechanism if the device event was
3055 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3056 Handle the typeseq data in its new location (see above).
3057 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3058 New methods, for "generic" device listeners.
3059 (spi_controller_register_device_listener):
3060 Now handle mouse event listeners as well as key listeners.
3061 (spi_controller_notify_mouselisteners):
3062 New internal method.
3063 (spi_device_event_controller_forward_mouse_event):
3064 Now we notify mouse device listeners as well as generating the
3065 non-consumable "mouse:" events.
3067 We must check and restore the XKB
3068 modifier map if we consume the event, since the act of triggering
3069 a mouse event will normally reset the XKB latch. This is required for
3071 (spi_controller_register_with_devices):
3072 Load the XKB settings when registering, and register for XKB
3073 state notify events.
3074 (spi_key_eventtype_seq_contains_event):
3075 Renamed spi_eventtype_seq_contains_event, since it's used
3076 internally for all device event types now.
3077 (spi_key_event_matches_listener):
3078 Uses spi_eventtype_seq_contains_event now.
3079 (spi_device_event_controller_object_finalize):
3080 Free the private data and the XkbKeyboard struct.
3081 (impl_register_device_listener, impl_deregister_device_listener):
3082 Implementation of new IDL.
3083 (spi_deregister_controller_device_listener):
3084 New internal method.
3085 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3086 More efficient implementation, we don't have to create a new
3087 XkbControls structure every time we query.
3088 (spi_device_event_controller_class_init):
3089 Initialize the epv entries for the new IDL. Assign the
3090 "spi-dec-private" quark.
3091 (spi_device_event_controller_init):
3092 Initialize the private data.
3093 (spi_device_event_controller_forward_key_event):
3094 Removed a bogus CORBA_exception_free() call.
3096 * registryd/deviceeventcontroller.h:
3097 Replaced inclusion of keystrokelistener.h with
3100 * test/event-listener-test.c:
3101 (report_mouse_event):
3104 Added mouse-event device listener.
3106 * test/test-simple.c:
3107 (create_test_window):
3108 Fixed regression (we were instantiating a GtkRange,
3109 which is now an abstract class). Also fixed to match
3110 existing AtkRole names, this seems to have changed in ATK
3111 awhile ago; too late now I think, and the new
3112 mechanism is at least elegant and consistent with the
3113 glib enum "nick" APIs.
3115 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3117 * idl/Accessibility_Relation.idl:
3118 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3119 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3120 * idl/Accessibility_Role.idl:
3121 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3122 * idl/Accessibility_State.idl:
3123 add STATE_MANAGES_DESCENDANTS
3124 * test/event-listener-test.c:
3125 Added a listener for active-descendant events.
3127 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3129 * atk-bridge/bridge.c
3130 (atk_bridge_init): If application is Bonobo component wait until top
3131 level is added before registering
3132 (spi_atk_bridge_do_registration): New function which contains code,
3133 formerly in atk_bridge_init, to do application registration.
3134 (spi_atk_bridge_toplevel_added): Signal called when top level
3135 added to Bonobo component
3137 This fixes bug #83134.
3139 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3141 * registryd/deviceeventcontroller.c
3142 Fixed compilation error caused by calling gettimeofday()
3145 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3150 Added template for HAVE_XKB.
3153 Changes to check for XKB, and to set the HAVE_XKB #define if it
3156 * libspi/listener.c:
3157 ()impl_notify_event): Make failure to get event source name
3160 * registryd/deviceeventcontroller.c:
3161 (#include): include X11/XKBlib.h.
3162 (DEControllerPrivateData) : New struct.
3163 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3165 (dec_synth_keycode_press) (dec_synth_keycode_release):
3166 New methods; split the key synthesis code into these methods.
3167 They check XKB settings before determining the "time" values to
3168 pass to Xtest; this fixes bug #95828.
3169 (impl_generate_keyboard_event): Changed to use methods above,
3170 instead of callng Xtest directly.
3171 (spi_device_event_controller_init): Initialize new privae struct s
3173 (spi_device_event_controllr_object_finalize):
3174 Free the (new) private data.
3176 * registryd/deviceeventcontroller.h:
3177 Add new gpointer to end of struct data.
3179 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3182 Incremented revision to 1.1.2, SONAME is still '.so', library
3183 extensions are ".so.0.0.2".
3185 * registryd/deviceeventcontroller.c:
3186 FIXES FOR #93592 and #95940.
3187 (statics): renamed mouse_button_state to mouse_mask_state,
3188 added key_modifier_mask.
3189 (spi_dec_poll_mouse_moved):
3190 Added key modifier checks, and emit "keyboard:modifiers"
3191 events when the key modifiers currently in use change.
3192 Also generate "mouse:abs" events periodically, even if the mouse
3193 is stationary (should we?).
3194 Alternatively we could generate "mouse:abs" events for either all
3195 mouse movements, or every 'nth' mouse movement, or at the
3196 beginning and end of every "active" mouse period.
3198 * test/event-listener-test.c:
3199 (main): Added listener for "keyboard:modifiers" events.
3201 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3203 * libspi/keymasks.h:
3204 Added key mask #defines for mouse buttons; e.g.
3205 SPI_KEYMASK_BUTTON1, etc.
3208 Incremented dependency on ATK to version 1.1.0. (This dependency
3209 is probably premature but will soon be real enough).
3211 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3213 * libspi/hyperlink.[ch]
3214 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3215 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3218 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3223 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3225 * registryd/deviceeventcontroller.c
3226 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3227 events to be ignored.
3228 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3229 keyboard_mode so that XAllowEvents() can be called.
3233 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3235 * cspi/spi-accessible.c: Correct names of roles returned by
3236 AccessibleRole_getName(). Fixes bug #95055.
3238 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3240 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3243 * registryd/registry.c
3244 (desktop_remove_application: Write diagnostic message to stderr for
3247 (impl_accessibility_registry_deregister_global_event_listener):
3248 Correct size of lists array. This addresses bug #94555).
3250 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3252 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3255 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3257 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3260 * registryd/registry.c (impl_registry_notify_event): Remove
3261 unnecessary call to parser_event_type().
3263 * docs/reference/cspi/tmpl/spi_component.sgml:
3264 Add reference to SPI_LAYER_WINDOW.
3266 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3268 * registryd/registry.c
3269 (desktop_add_application): Remove leak.
3270 (desktop_remove_application): Remove leak.
3271 (parser_event_type): Remove leak.
3273 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3275 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3276 bogus call to CORBA_string_dup(). Also removed unnecessary
3277 g_string_dup/g_free calls.
3279 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3281 * registryd/deviceeventcontroller.c:
3282 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3284 * test/event-listener-test.c:
3285 main: commented out three redundant listeners, to reduce output
3286 noise. (They still are potentially useful for testing).
3289 2002-09-13 Michael Meeks <michael@ximian.com>
3291 * Update all the copyrights to include Ximian.
3293 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3295 * cspi/spi.h: add SPI_LAYER_WINDOW.
3297 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3298 add Accessibility_LAYER_WINDOW case.
3300 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3302 * libspi/component.c: (impl_accessibility_component_get_layer):
3303 add ATK_LAYER_WINDOW case.
3305 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3307 * configure.in: incremented micro version.
3309 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3311 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3314 Clarified and reworded our commit policy.
3317 Started an API "todo" addition list for 2.2.
3320 (impl_getSelection):
3321 Free char pointer from atk_text_get_selection, which was being leaked.
3323 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3326 Small revision to author acknowledgement.
3328 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3330 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3331 If signal has detail add it to the type of the event.
3334 2002-08-12 Michael Meeks <michael@ximian.com>
3336 * test/test-simple.c (global_listener_cb): bin bogosity.
3337 (test_keylisteners): disable, still doesn't work reliably,
3338 certainly not on my system anyway.
3340 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3341 don't leak a reference on the DEC. This round-trip
3342 fetching of the DEC per keystroke sucks, it should be
3345 * cspi/spi-private.h,
3346 * cspi/cspi-lowlevel.h,
3347 * cspi/bonobo/cspi-bonobo-listener.[ch],
3348 * cspi/bonobo/cspi-bonobo.c: get the copyright
3349 notices better - there is still a large amount of
3350 work in at-spi falsely attributed solely to Sun.
3352 * cspi/spi_main.c (cspi_object_ref): kill bogus
3353 hash lookup, just increment the ref.
3354 (SPI_freeString): make explicit the fact that we
3355 handle NULL strings just fine.
3356 (report_leaked_ref): obey coding standards.
3357 (cspi_object_hash, cspi_object_equal): kill retval.
3358 (cspi_object_release): only release if not on loan.
3359 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3360 (cspi_object_borrow, cspi_object_return): impl.
3362 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3363 use cspi_object_borrow / return.
3365 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3367 * cspi/bonobo/cspi-bonobo-listener.c:
3369 Don't call cspi_oject_new() because this is creating a new Accessible
3370 every single time that an event is fired. This causes ATs like at-poke
3371 to nolonger recognise the source of the event and thus ignore it.
3372 Re-use the object from the cache, ref it and then unref it after the
3373 listeners have been called.
3375 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3377 * test/event-listener-test.c:
3378 Added command-line options to disable mouse events (m) and
3381 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3383 * configure.in: Update required versions of ATK, GTK+ and GAIL
3385 * cspi-1.0.pc.in: Add dependency for X include files
3388 * cspi/bonobo/Makefile.am:
3389 Add $(X_CFLAGS) so that X include files
3390 are picked up even if not in standard place (bug #71686)
3392 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3394 * registryd/deviceeventcontroller.c: fix for 84261
3395 (spi_dec_mouse_moved):
3396 Added test of mouse button mask, so that we can detect mouse
3397 button release. Unfortunately we can't otherwise detect mouse
3398 button release events without consuming the mouse press event,
3399 because of the way XGrabButton works. This means that our mouse
3400 release events have a latency dependent on the polling period
3401 while the mouse button is down. At least in this case we only
3402 have to poll while the button is down, and not at other times.
3403 If the button masks don't match with what the last press event
3404 reported, we report the appropriate button release event.
3405 (spi_dec_ungrab_mouse):
3406 New method (not yet called).
3407 (spi_device_event_controller_forward_mouse_event):
3408 New method, sends mouse press event from GdkFilter.
3409 (spi_dec_init_mouse_listener):
3410 Added code to call XGrabButton, redirecting mouse button events to
3411 the root window and our Gdk event loop.
3413 Added code to filter mouse button events, and reordered.
3415 * test/event-listener-test.c:
3417 Added registration for mouse events of type "mouse:button".
3419 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3421 * registryd/deviceeventcontroller.c: partial fix for 84261
3422 (spi_dec_poll_mouse_idle):
3423 New method, a timeout which checks to see if the mouse
3425 (spi_dec_poll_mouse_moving):
3426 A timeout to be called when mouse motion is underway.
3427 (spi_dec_poll_mouse_moved):
3428 A method which fires an event if the mouse has moved, and reports
3429 whether or not it did so.
3430 (spi_dec_init_mouse_listener):
3431 A method which sets up the timeouts above.
3432 (spi_device_event_controller_new):
3433 Now calls spi_dec_init_mouse_listener.
3435 * registryd/registry.c:
3436 (spi_registry_init):
3437 Now we initialize the device event controller when the registry is
3438 initialized, instead of waiting until a client has requested a key
3439 event notification; this is because we need the event controller
3440 for mouse events, but the mouse event registration API is a
3441 "registry" call and doesn't explicitly call the
3442 deviceeventcontroller.
3443 We now report mouse motion events with a 100 ms idle latency and
3444 a 20 ms granularity when motion is in progress.
3446 * test/event-listener-test.c:
3448 We now register the "detail listener" for events of type
3449 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3450 delivered only for the first mouse event received, and thereafter
3451 "mouse:abs" events are delivered.)
3453 * cspi/spi_registry.c:
3454 DOCS: Documented the above mouse event typestrings.
3456 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3458 Happy Summer Solstice...
3460 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3461 (spi_controller_notify_keylisteners):
3462 Changes to remove a listener from the listener list, freeing its
3463 open keygrabs, if a notification to that listener fails. This
3464 means that although a dead listener can continue to hold a passive
3465 keygrab, a maximum of one dispatch to such a listener can fail
3466 before the listener is removed from the list, thus the keygrab
3467 will be released on the next occurrence.
3468 As part of this fix:
3469 (spi_notify_keylisteners):
3470 Renamed to spi_controller_notify_keylisteners, as the controller
3471 instance must now be passed as an argument.
3472 The copied 'notify' GList is now a list of DEControllerKeyListener
3473 objects, since we need more than just the CORBA reference if a
3474 notify fails and we need to deregister the listener.
3475 (impl_notify_listeners_sync):
3476 (impl_notify_listeners_async):
3477 (spi_device_event_controller_forward_key_event):
3478 Modify use of notify_keylisteners in accordance with above
3480 (spi_deregister_controller_key_listener):
3481 New method introduced by refactoring, from
3482 impl_deregister_keystroke_listener.
3483 (impl_deregister_keystroke_listener):
3484 Call spi_deregister_controller_key_listener.
3485 (spi_key_listener_clone):
3486 New method to copy a key listner without doing a 'ref' on the
3487 remote object instance; used to create a notifier list.
3488 (spi_key_listener_data_free):
3489 New method, frees data without unreffing the source.
3491 (spi_key_listener_clone_free): new method.
3492 (spi_key_listener_free):
3493 refactored to call spi_key_listener_data_free.
3495 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3497 * registryd/registry.c: [fix for bug 86048]
3498 (notify_listeners_cb):
3499 Clear CORBA system exceptions which occur when notifying
3500 listeners, before returning to the source of the original event,
3501 since the event source doesn't care if the relayed notify failed.
3502 In other words, don't complain to the atk-bridge if the registry
3503 could not notify all its listeners, that's no fault of the
3504 application and thus should not appear to be an error from the
3505 application's perspective.
3507 * cspi/spi_main.c: [fix for bug 85980]
3509 Replaced use of bonobo_object_dup_ref with call to the wrapper
3510 method, csou_dup_ref (); this silences a compiler warning and
3511 provided more portability.
3513 Ping the registry before return, and restart if necessary.
3515 * cspi/bonobo/cspi-bonobo.c:
3517 New internal method.
3519 Fixed this method to return an object reference, as it should have
3522 * cspi/cspi-lowlevel.h:
3523 Added internal definition for cspi_ping() and fixed
3524 return type of cspi_dup_ref().
3527 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3529 * atk-bridge/bridge.c: [fix for bug 85305]
3530 (spi_atk_bridge_register_application):
3531 New method where the initial application registry calls have been
3532 moved; it allows an application to re-register in response to
3533 certain error conditions (such as a registry restart, see below).
3535 Moved some initialization code to the method
3536 spi_atk_bridge_get_registry, below.
3537 (spi_atk_bridge_get_registry):
3538 New, private accessor function for the Accessibility_Registry
3539 instance. If the registry has not been started before, or has
3540 died (as detected by failure of a CORBA exception), it is
3541 restarted before return, and spi_atk_bridge_register_application
3542 is called again to register with the new bridge instance.
3543 (spi_atk_emit_eventv):
3544 Set registry_died on error; use spi_atk_bridge_get_registry () to
3545 access the registry.
3547 * registryd/registry.c:
3548 (impl_accessibility_registry_register_global_event_listener):
3549 Set listener's event_type_quark to etype.minor instead of
3550 etype.major (fix for bug 84856).
3552 * test/event-listener-test.c:
3553 (report_detail_event):
3554 Change the output string so that user/tester can tell that the
3555 'detail listener' was called instead of the 'generic listener'.
3557 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3559 Fixes for bugs 84900, 84908, 84897, 84898.
3564 Revved version to 1.1.0
3565 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3566 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3568 * idl/Accessibility_Registry.idl:
3569 (EventListener::notifyEvent):
3570 Removed 'oneway' directive after extensive consulation with
3571 ORBit2 team and others. This means also that unref() of the event
3572 source can and should be done synchronously after emission, rather
3573 than remotely in the client, after servicing the notify call on
3576 NOTE: This change speeds up listener performance considerably, but
3577 introduces new latency on the application side. We may want to
3578 add an event queue to the atk-bridge.
3580 * atk-bridge/bridge.c:
3581 (spi_atk_bridge_focus_tracker):
3582 Do a local unref() on the event source after emission.
3584 * registryd/registry.c:
3585 (desktop_remove_application):
3586 Do an unref() on the event source after emission.
3587 (desktop_add_application):
3588 Do an unref() on the event source after emission.
3589 (notify_listeners_cb):
3590 When relaying an event, don't automatically add the event source
3591 to the local object cache, just CORBA_dup it instead. Likewise,
3592 if this method reenters, release the ref rather than calling
3594 (impl_registry_notify_event):
3595 No longer call remote unref() on the event source after dispatch.
3597 * libspi/eventlistener.c:
3598 (impl_accessible_event_notify_event):
3599 Removed remote unref ()
3601 * cspi/bonobo/cspi-bonobo-listener.c:
3603 We now call cspi_object_new() instead of cspi_object_add() on
3604 receipt of an event; thus we only have an implicit object ref
3605 while the cspi_event method is being executed. If we need to keep
3606 a reference to the object, the listener must call ref() on the
3607 object. Thus also we don't need to call cspi_object_unref() after
3608 invoking the listener callbacks in this method.
3612 New internal API for creating a new cspi object, without adding it
3613 to the object cache.
3615 Now uses cspi_object_new() to create the cspi object instance.
3617 Now checks to see if the object is in the internal object cache,
3618 and adds it if necessary before incrementing its refcount (note
3619 that new objects are added with a refcount of 1).
3620 (report_leaked_ref):
3621 New method which gives some information on leaked object instances
3622 if leak detection is turned on.
3624 * test/event-listener-test.c:
3625 (timing_test_event):
3626 New method, used for testing event delivery timing for special
3627 events of type "object:test". It reports elapsed time and
3628 events/sec every 500 events.
3630 Added a new listener, 'test listener', to check timing of event
3631 receipt as noted above.
3633 Added some timing output here also, reports elapsed time every 100
3636 * test/stress-test.c:
3637 Emit events of type "object:test", for use with "event-listener-test".
3639 * test/test-simple.c:
3640 (global_listener_cb):
3641 Call Accessible_ref() on the event source before calling
3642 validate_accessible, since the validation process does pointer
3643 comparisons on the event source, meaning that the event source
3644 needs to be added to the local object cache first. Any use of
3645 such pointer comparisons between Accessible objects requires that
3646 the caller hold an explicit reference to those objects.
3647 We also must therefore call Accessible_unref() when leaving this method.
3649 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3651 * registryd/deviceeventcontroller.c:
3652 (spi_controller_update_key_grabs):
3653 Fix for #84735, subsequent keygrab listeners not informed of
3654 registration failure.
3657 (spi_base_construct):
3658 Add an assertion on construct, to make sure the GObject passed in
3659 is really a GObject.
3661 Explicitly initialize object->gobj pointer to NULL;
3663 * cspi/bonobo/cspi-bonobo-listener.c:
3664 (cspi_object_add_ref):
3665 New method, can specify whether to dup-ref a bonobo object passed
3666 in if it's newly added to the object cache.
3668 Now calls cspi_object_add_ref with second param of "FALSE". This
3669 prevents us from doing a pointless dup-ref followed by
3670 release-unref for all those cases where the object is already in
3671 our object cache (fix for #85205).
3673 * atk-bridge/bridge.c:
3674 (spi_atk_bridge_idle_init):
3675 Removed this method, we don't need to initialize in an idle
3678 Changed to call spi_atk_register_event_listeners directly, not via an
3679 idle handler. (fix for #81139)
3680 (gnome_accessibility_module_shutdown):
3681 Removed conditional around deregistration of listeners, since we
3682 don't use the idle handler and thus have always registered when
3684 (spi_init_keystroke_from_atk_key_event):
3685 Changed references to Accessibility_KEY_PRESSED to
3686 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3688 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3690 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3695 * test/stress-test.c:
3698 (may have been an incomplete commit yesterday?)
3700 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3703 Added target for new stress-test.
3705 * test/stress-test.c:
3706 New test, sends 1000 focus notifies in quick succession.
3708 * test/key-listener-test.c:
3709 Now we report whether a keylistener registration
3710 request succeeded or failed.
3712 * test/event-listener-test.c:
3713 Uncommented some listeners which are now implemented.
3716 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3718 * registryd/deviceeventcontroller.c:
3719 (spi_controller_update_key_grabs):
3720 Fix for #82509, lack of failure notification when
3721 ALL_WINDOWS keygrabs fail due to XGrabKey
3722 failure: we synchronize the server when
3723 registering a passive grab, to make sure we get the
3724 error message before the call returns.
3726 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3728 * test/test-simple.c:
3730 Removed #ifdef KEY_IMPL_WORKS guards.
3731 (test_keylisteners):
3732 Removed #ifdef KEY_IMPL_WORKS guards.
3733 Fixed bug which was causing a hang waiting for a
3734 "press" event (which was already overwritten by a "release"
3735 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3737 Added code to set globals 'key_press_received' and
3738 'key_release_received'.
3741 Added section "1.1 API Proposed Additions" which
3742 lists API additions desired for at-spi-1.1 (only one so far).
3743 Updated TODO list a little.
3745 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3747 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3750 * configure.in: Revved to 1.0.0.
3752 * idl/Accessibility_Registry.idl:
3753 (registerKeystrokeListener):
3754 Added boolean return value.
3756 * registryd/registry.c:
3757 (notify_listeners_cb): Minor fix to debug output.
3759 * registryd/Accessibility_Registry.server.in.in:
3760 Revved version number in OAFIID to 1.0.
3762 * registryd/registryd.c:
3764 Use new OAFIID version.
3766 * cspi/bonobo/cspi-bonobo.c:
3768 Use new OAFIID version.
3774 * atk-bridge/bridge.c:
3776 Use new OAFIID version.
3778 * registryd/deviceeventcontroller.c:
3779 (impl_register_keystroke_listener):
3780 Added CORBA_boolean return value.
3781 (spi_controller_register_device_listener):
3782 Added gboolean return value.
3783 (spi_controller_register_global_keygrabs):
3784 Added gboolean return value.
3785 (spi_key_set_contains_key):
3786 Added implementation for many more control keys,
3787 for instance F1-F12, arrow keys, End, Home, Page_Up,
3789 [TODO: some still not implemented].
3791 * text/screen-review-test.c:
3792 (text_chunk_pad_string):
3793 New function: it provides mapping between coordinate
3794 positions of text chunks and character positions in the
3795 screen-review-line output string.
3796 (text_chunk_to_string):
3797 New function, calls text_chunk_pad_string with various
3798 pad/delimiter characters. Pushbuttons are delimited with
3799 square brackets, Frames with vertical 'pipe' lines, and
3800 other text with double quotes.
3801 (text_chunk_list_to_string):
3802 Calls new function text_chunk_to_string.
3803 (toplevel_composite):
3804 New function to composite layers CANVAS through
3805 POPUP in each toplevel (other layers are composited
3806 across toplevels, i.e. BACKGROUND and OVERLAY).
3807 (review_buffer_composite):
3808 Revise to use new methods.
3814 2002-05-31 Laszlo Peter <laca@sun.com>
3816 * configure.in: add the Xtst libdir to the runpath on Solaris,
3817 since it's not in the default library search path.
3819 2002-05-29 jacob berkman <jacob@ximian.com>
3821 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3823 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3825 * test/screen-review-test.c:
3826 (text_chunk_pad_string):
3827 Added method, which pads the string according to the
3828 text bounds of the chunk. It also takes a 3-character
3829 string as a param which indicates the characters to be
3830 used for start, padding, and end delimitation of the chunk.
3831 (text_chunk_to_string):
3832 Changed to use text_chunk_pad_string.
3834 * configure.in: Fixed bug in AC_OUTPUT that was
3835 causing path substitution in Accessibility_Registry.server
3838 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3840 * text/screen-review-test.c:
3841 (guess_string_clip):
3842 New method which attempts a best-guess at clipping
3843 text from components (like Java labels) which don't
3844 actually implement AccessibleText. This inaccurate
3845 clip is based on the assumption that the label is
3846 justified left-and-right, and monospaced.
3847 (text_chunk_get_clipped_string):
3848 We now call guess_string_clip() for text-containing
3849 components that don't implement AccessibleText.
3851 * test/screen-review-test.c:
3852 (review_buffer_get_text_chunk):
3853 We now pull "name" from labels if they do not implement
3854 AccessibleText (i.e. for Java labels).
3855 (get_screen_review_line_at):
3856 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3859 Replaceded AC_OUTPUT target
3860 registryd/Accessibility_Registry.server with
3861 registryd/Accessibility_Registry.server.in.
3863 * registryd/Accessibility_Registry.server.in:
3864 Removed (this is now a Makefile target).
3866 * registryd/Accessibility_Registry.server.in.in:
3867 Added (source for target above). We now use $(libexecdir) as
3868 prefix for the executable at-spi-registryd.
3870 * registry/Makefile.am:
3871 Now install at-spi-registryd into $(libexecdir), and build .server
3872 file with path (see above).
3874 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3876 * test/screen-review-test.c:
3877 (text_chunk_get_clipped_string):
3878 We now check to see if words fall within clip bounds
3879 before resorting to character-by-character clip bounds testing.
3881 * TODO: Added a section for "2.2 Proposed API Additions".
3883 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3885 * test/screen-review-test.c:
3887 Added a screen review benchmarking and test program to test
3890 * cspi/spi_accessible.c:
3892 Made some of the debug strings passed to cspi_check_ev a
3893 little more specific.
3895 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3897 * test/screen-review-test.c: Fix crashes in debug statements
3899 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3901 * test/screen-review-test.c: Added this file.
3903 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3905 * atk-bridge/bridge.c: changed "object:state-change" to
3906 "object:state-changed" to match docs.
3908 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3910 * atk-bridge/bridge.c: Hooked up state-change event details.
3912 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3914 * registryd/registry.c:
3915 Fixed quarking bug in event string parsing; now events with
3916 detail parameters get matched correctly to listeners.
3919 * util/idl/Magnifier.idl: remove.
3921 * util/*.[ch]: Remove.
3922 Magnification utilities and IDL are now in module gnome-mag.
3924 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3926 * registryd/deviceeventcontroller.c:
3927 Fixed bug in grab key conversion which was causing keycode grabs
3928 to be converted to AnyKey grabs.
3931 updated NEWS file to reflect recent spin-off of gnome-mag.
3933 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3935 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3936 busted AccessibleStateSet_compare. Removed redundant casts.
3938 * cspi/spi-action.c: Removed redundant casts.
3940 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3942 * cspi/spi_component.c: Fixed typos and casting error.
3944 * cspi/spi_editabletext.c: Removed redundant casts.
3946 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3948 * cspi/spi_hypertext.c: Eliminated redundant casts.
3950 * cspi/spi_image.c: Eliminated redundant casts.
3952 * cspi/spi_registry.c: Eliminated redundant casts.
3953 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3954 * cspi/spi_selection.c: Removed redundant casts.
3955 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3956 handling. Screen geometry and text offsets were being returned as 0
3957 on error which is technically valid-- changed these to return -1.
3958 Added marshaller for text boundary types to fix bug with boundary
3959 types being passed incorrectly to atk.
3961 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3964 * cspi/spi_registry.c:
3965 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3966 which was uncovered by the recent key changes.
3968 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3970 * test/event-listener-test.c:
3972 Added new test, "event-listener-test";
3973 this code does two things; it benchmarks traversal time
3974 for the accessible hierarchy for the first running accessible
3975 app, and it connects listeners for all supported event types.
3976 It is thus useful as an example event listener and for
3977 diagnostics/debugging of event generation.
3979 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3982 Removed unnecessary dependency on libutil.
3985 Revved micro version: 0.13.1
3987 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3990 Removed util/Makefile from targets.
3993 Removed util subdir from SUBDIRS (temporarily,
3994 pending removal of magnifier-only code
3998 #ifdef-ed out magnifier dependencies, since
3999 magnifier IDL, headers, and binary now live in
4000 module gnome-mag and we don't want at-spi to depend
4001 on gnome-mag. A magnifier demo which can run alongside
4002 simple-at is forthcoming in the gnome-mag module.
4004 NOTE: Split magnifier binary, IDL, and magnification
4005 activation code from at-spi into module gnome-mag.
4007 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4009 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4010 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4012 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4015 Revved to version 0.13.0
4017 * idl/Accessibility_Registry.idl:
4018 Changed definition of KeySet from sequence of longs to sequence of
4019 KeyDefinitions, and added KeyDefinition struct.
4020 Required for fix to bug 80616.
4022 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4023 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4024 to use new definition (see above).
4026 * registryd/deviceeventcontroller.c: handle_keygrab(),
4027 spi_keyset_contains_key():
4028 Changed to make use of new struct; this allows matching based on
4029 string key-name, for instance "Tab". This also allows matching of
4030 composed characters, non-alphanumeric characters in a way that
4031 doesn't involve dependencies on X keysym codes directly, etc.
4033 * test/key-listener-test.c:
4034 Added test for Alt-Tab key using "string" specification of keyset,
4035 and modified one of the tests to use a keycode-based keyset.
4036 Thus this test both tests and demonstrates the creation and use of
4037 keysets of three forms: specified via keycode array,
4038 keysym array, and string array. (The string case only contains a
4039 single string, i.e. a string array of length 1).
4042 Turned on PRINT_TREE option by default. Also fixed a
4043 string-freeing bug in the PRINT_TREE code.
4044 Added a listener to window:minimize events.
4046 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4048 * atk-bridge/bridge.c:
4049 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4050 for window:activate and window:deactiveate
4051 (atk_bridge_property_event_listener atk_bridge_signal_listener
4052 atk_bridge_window_event_listener) Tidy debug code
4054 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4056 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4057 Fixed handling for NULL return value from ATK.
4059 * libspi/action.c libspi/component.c libspi/editabletext.
4060 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4061 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4062 Removed redundant casts.
4064 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4065 Fixed off by one bug.
4067 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4068 function not present in idl)
4070 2002-05-02 jacob berkman <jacob@ximian.com>
4072 * atk-bridge/Makefile.am: make atk-bridge a real module
4074 2002-04-26 Radek Doulik <rodo@ximian.com>
4076 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4077 atk_state_types table
4079 2002-04-22 jacob berkman <jacob@ximian.com>
4082 * libspi/Makefile.am: add deps on the built files to help
4083 automake, and don't version the ORBit typelib
4085 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4087 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4088 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4089 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4090 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4091 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4092 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4093 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4094 libspi/accessible.h libspi/accessible.h libspi/base.h
4095 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4096 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4097 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4098 libspi/spi-private.h libspi/statetset.h libspi/table.h
4099 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4100 util/mag_client.h util/mag_control.c util/mag_image.c
4101 util/mag_image.h util/magnifier.c util/magnifier.h:
4102 Add missing file headers; standardize existing ones
4104 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4106 * atk-bridge/bridge.c: Added window event support.
4108 2002-04-18 Michael Meeks <michael@ximian.com>
4110 * libspi/relation.c (impl_getNTargets): impl.
4111 (impl_getTarget): impl.
4113 * libspi/Makefile.am: fix stateset install.
4115 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4118 Started putting useful info in this file.
4120 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4122 * atk-bridge/bridge.c:
4123 Propagate state-changed notifications to ATs
4125 * cspi/spi_registry.c: update docs to reflect actual behavior of
4126 state-change events.
4128 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4131 Incremented version to 0.12.1
4133 * util/mag_client.h:
4134 Add missing declaration for magnifier_exit,
4135 used by mag_control.c - Forte compiler didn't like
4136 the implicit redeclaration of the function :-(
4139 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4142 Revved version to 0.12 due to API change (see below).
4144 * cspi/spi-roletypes.h:
4145 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4146 definition from the inline docs, and added docs
4147 for SPI_ROLE_LAST_DEFINED.
4150 * cspi/spi_streamablecontent.c:
4151 Added missing seek_type parameter to
4152 (so far unused) method,
4153 AccessibleStreamableContent_seek().
4154 [ RT approval JodyG. ]
4157 Fixed docs for SPI_createAccessibleKeystrokeListener.
4159 * cspi/spi_registry.c:
4160 Fixed docs for SPI_KEYSET_ALL_KEYS.
4162 * docs/reference/cspi/at-spi-cspi-sections.txt:
4163 Added a number of missing APIs to SECTIONS.
4165 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4167 * registryd/Makefile.am:
4169 * cspi/bonobo/Makefile.am:
4170 Add $(X_LIBS) to makefiles.
4172 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4175 Revved version to 0.11.
4177 * libspi/component.c:
4178 Added implementation for grabFocus.
4180 * idl/Accessibility_Component.idl
4181 (Accessibility_Component_grabFocus):
4182 Made this method return boolean to indicate success or failure, to
4183 be consistent with cspi and the corresponding ATK method.
4185 * idl/Accessibility_Selection.idl
4186 (Accessibility_Selection_selectAll) :
4187 Made these methods return boolean to indicate success or
4188 failure, to be consistent with cspi and the corresponding ATK methods.
4190 * idl/Accessibility_EditableText.idl
4191 (Accessibility_EditableText_setTextContents,
4192 Accessibility_EditableText_insertText,
4193 Accessibility_EditableText_cutText,
4194 Accessibility_EditableText_deleteText,
4195 Accessibility_EditableText_pasteText):
4196 Made these methods return boolean to indicate
4199 * cspi/spi_editabletext.c:
4200 Made these methods return booleans.
4202 * libspi/selection.c:
4203 * libspi/component.c:
4204 * libspi/editabletext.c:
4205 Connected the boolean returns from ATK
4206 to the server-side code referenced above.
4208 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4210 * idl/Accessibility_Table.idl: Added missing methods,
4211 Accessibility_Table_addRowSelection,
4212 Accessibility_Table_addColumnSelection,
4213 Accessibility_Table_removeRowSelection,
4214 Accessibility_Table_removeColumnSelection.
4217 Added C wrappers for above IDL:
4218 AccessibleTable_addRowSelection,
4219 AccessibleTable_addColumnSelection,
4220 AccessibleTable_removeRowSelection,
4221 AccessibleTable_removeColumnSelection.
4224 Added server-side implementation code for IDL above, connecting
4225 to pre-existing ATK api.
4227 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4229 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4231 * libspi/accessible.c: Added implementation fo
4232 Accessibility_Accessible_get_state.
4234 * libspi/libspi.h: Added stateset.h to the list of includes.
4236 * libspi/stateset.c: Fixed broken implementation.
4238 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4241 Added implementation code for Accessibility_Magnifier_exit ().
4243 * util/mag_control.c:
4244 Added test code for above method; you can
4245 now kill an existing magnifier via
4246 ./mag_control q, from the util directory.
4248 * test/key-listener-test.c:
4250 Added a new test, for our key listener API.
4252 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4254 * test/app.c, test/keysynth-demo.c:
4256 Replace use of snprintf with g_snprintf.
4257 (fix for bugzilla 78249)
4259 2002-03-27 Michael Meeks <michael@ximian.com>
4263 * util/Makefile.am (INCLUDES): fix.
4264 (DONT_DIST_SOURCE): don't distribute the
4267 * libspi/Makefile.am (dist-hook): ditto.
4269 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4271 * libspi/hypertext.c:
4272 Fix warnings when yelp is used with atk-bridge
4274 2002-03-21 Michael Meeks <michael@ximian.com>
4276 * libspi/application.c (spi_application_new):
4277 use spi_accessible_construct so we use the AtkObject
4280 2002-03-19 Michael Meeks <michael@ximian.com>
4282 * registryd/registry.c (desktop_remove_application),
4283 (desktop_add_application): clean coding style.
4285 * registryd/desktop.c (spi_desktop_remove_application),
4286 (spi_desktop_add_application): kill re-enterency hazards.
4287 (spi_desktop_dispose): remove bogus redundant cast
4288 obscuring bug; fix bug too.
4289 (spi_desktop_init): make the desktop object immortal.
4291 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4294 Added a #define-guarded tree-traversal step
4295 when enumerating the apps (diagnostic tool).
4297 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4299 * idl/Accessibility_Role.idl:
4300 Added ROLE_DRAWING_AREA which seemed to be missing from the
4303 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4305 * cspi/spi-roletypes.h cspi/spi_accessible.c
4306 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4309 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4310 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4311 AT when applications are added and removed from the desktop. This
4312 reverts the previous broken implementation using the backing
4313 AtkObject for the SpiDesktop.
4315 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4317 * registryd/desktop.c: emit the "children-changed::add" and
4318 "children-changed::remove" signals on the backing ATK object for
4319 the desktop so AT can tell when applications are started and shut
4322 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4324 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4326 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4328 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4330 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4332 * cspi/state-types.h: synched with IDL and ATK
4334 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4336 * libspi/accessible.c
4337 (impl_accessibility_accessible_get_child_at_index):
4338 Change return value for g_return_if_fail ()
4339 to CORBA_OBJECT_NIL instead of "0" (!)
4341 * registryd/Makefile.am:
4342 * registryd/Accessibility_Register.server.in:
4343 Changed name of executable, "registryd",
4344 to something more informative:
4347 2002-03-13 Michael Meeks <michael@ximian.com>
4349 * atk-bridge/bridge.c (atk_bridge_init): don't register
4350 if we're in a bonobo-component, rather than a bonobo app.
4352 2002-03-13 Michael Meeks <michael@ximian.com>
4354 * atk-bridge/bridge.c (gtk_module_init): split
4355 out body to (atk_bridge_init): here, since otherwise
4356 we get symbol conflicts and oddness when invoked
4357 from (gnome_accessibility_module_init): here (upd.)
4359 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4362 New file. Explicitly allow "build sheriff" putbacks provided
4363 they are tested on Solaris.
4365 * docs/reference/cspi/Makefile.am:
4366 Added '-' to the "cp" command for index.sgml.
4367 ("patch by thomasvs, soon coming to a GUADEC near you")
4370 Incremented version number (0.9.0) for new release.
4371 Changed macro that checks for popt, to better detect
4372 obsolete versions of popt.
4375 Added X_LIBS to AC_SUBST, for applications
4376 that call Xlib API directly.
4379 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4382 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4385 Fix regression caused by hard-coding major
4386 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4389 * test/test-simple.c (test_editable_text),
4390 (test_test): revert previous change (error was
4391 a regression in gail which is now fixed).
4393 2002-03-04 Michael Meeks <michael@ximian.com>
4395 * test/test-simple.c (test_editable_text),
4396 (test_text): pass G_MAXINT instead of '-1' for
4397 whole string - is this a good thing !?
4399 * cspi/spi_accessible.c
4400 (Accessible_getRelationSet): fix crasher bug
4401 overwriting the end of the array.
4403 * test/test-simple.c (validate_accessible): free,
4404 not g_free returned relation set.
4406 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4408 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4409 implemented stateset support
4411 * idl/Accessibility_State.idl: Made necessary changes to
4412 the IDL to support state sets.
4414 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4416 * registryd/deviceeventcontroller.c:
4417 Added implementation for generateMouseEvent.
4419 * cspi/spi_registry.c:
4420 Connected new implementation for generateMouseEvent
4423 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4426 Incremented revision (but no change in public API
4427 outside of 'utils', which are not installed public yet.)
4429 * libspi/component.c:
4430 Changed to use atk_component API for layers and
4431 mdi_zorder, instead of deprecated atk_object API.
4433 Magnification Utility Enhancements:
4436 Added implementation of createZoomRegion, clearAllZoomRegions,
4437 resizeZoomRegion. Added new commandline argument
4438 "--no-initial-region". Note that clearAllZoomRegions doesn't
4439 unmap the old '0' region as it should (yet), and the other
4440 methods only work when creating/resizing a single region,
4441 which is "region 0".
4442 (Code for multiple region support will be added later.)
4445 Now we raise the magnifier window each time it's refreshed;
4446 this will help keep it on top.
4448 * util/mag_client.h:
4449 Added simple wrappers for above, used by mag_control.
4450 For general use, it's recommended to use the bonobo magnifier
4451 control API directly instead of using these wrappers.
4454 Moved ZoomRegionData from magnifier.c to this file.
4456 * util/mag_control.c:
4457 Added some code to exercise new IDL implementations.
4459 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4461 * libspi/text.c: Provide implementation for getAttributes.
4463 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4466 Incremented revision.
4468 * test/test-simple.c:
4469 Replaced use of deprecated g_main_iteration with
4470 g_main_context_iteration.
4472 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4475 Incremented revision for desktop alpha 2.
4477 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4479 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4482 * test/simple-at.c: include netinet/in.h.
4484 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4486 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4487 use NULL, not CORBA_OBJECT_NIL.
4489 * libspi/accessible.c:
4490 (impl_accessibility_accessible_get_relation_set):
4491 allocate the sequence correctly.
4493 * libspi/remoteobject.h: kill spi_remote_object_new.
4495 * test/test-simple.c: (validate_accessible): add code
4496 to test relation sets, now all we need is to figure
4497 out how to excercise this code path :/
4499 2002-01-18 Michael Meeks <michael@ximian.com>
4501 * test/test-simple.c
4502 (key_listener_cb): consume the key.
4503 (test_keylisteners): update.
4504 (main): wait for any pending unrefs on events.
4506 * registryd/deviceeventcontroller.c
4507 (spi_controller_update_key_grabs): only re-issue the
4508 grab on a key release.
4509 (spi_device_event_controller_forward_key_event):
4510 refresh the keygrabs before we notify the listeners,
4511 to reduce the X ungrab / re-grab race.
4512 (spi_controller_register_with_devices): remove
4513 XSelectInput - we do that with the gdk_window_ call.
4514 (_spi_controller_device_error_handler): return a value.
4515 s/GDK_DISPLAY/spi_get_display/
4517 2002-01-17 Michael Meeks <michael@ximian.com>
4519 * registryd/deviceeventcontroller.c
4520 (_deregister_keygrab): don't blow out the later
4523 * test/test-simple.c (test_keylisteners): do a
4524 more intelligent validation.
4526 2002-01-14 Michael Meeks <michael@ximian.com>
4528 * atk-bridge/bridge.c
4529 (gnome_accessibility_module_init),
4530 (gnome_accessibility_module_shutdown): impl.
4531 (gtk_module_init): protect vs. double inits.
4532 (add_signal_listener): impl.
4533 (spi_atk_bridge_state_event_listener): kill
4534 (deregister_application): split out of
4535 (spi_atk_bridge_exit_func): here.
4537 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4540 Added caret tracking when using magnifier, and
4541 now use text bounds for focus tracking of text elements, rather than
4542 the component bounds - this is helpful for short text fields in long
4543 table cells, at high magnification.
4545 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4547 * registryd/deviceeventcontroller.c:
4548 Regression fix for keylistener de-registration; global keygrabs
4549 were not being released when deregisterKeystrokeListener was
4550 called in cspi, since
4551 Accessibility_DeviceEventController_deregisterKeystrokeListener
4552 was called with a zero-length keyset. That is because the cspi
4553 method, SPI_deregisterKeystrokeListener, does not take a keyset
4554 parameter but instead should remove all the key grabs held be a
4556 The code in impl_deregister_keystroke_listener was changed to copy
4557 the keylist from the listener instance previously registered with
4558 the DeviceEventController before releasing the grabs.
4560 * registryd/registry.c:
4561 * registryd/deviceeventcontroller.c:
4562 * libspi/spi-private.h:
4564 Changed spelling of "re-enterant" to "re-entrant" globally.
4566 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4568 * test/test-simple.c:
4569 Changed key listeners test - the test was slightly mis-using the
4570 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4571 It now uses '=' as the key event listened to and generated,
4572 relying on a keysym match rather than assuming that keycode 33
4573 is always equal to keysym '!'.
4575 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4578 Changed simple-at to use a specific keyset, rather than
4579 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4580 manager, desktop, etc.
4582 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4584 * registryd/deviceeventcontroller.c:
4585 Replaced standard X error handler with a special handler that
4586 is non-fatal for failed keygrabs. This works around
4587 problems with keygrab clashes sometimes observed on
4589 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4590 mouse handling code as yet).
4592 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4595 Incremented revision for desktop alpha release.
4598 Fixed a couple of the more glaring errors (still not
4601 2002-01-11 Michael Meeks <michael@ximian.com>
4603 * registryd/deviceeventcontroller.c
4604 (spi_device_event_controller_forward_key_event): kill
4605 XUngrabKey / XKeyGrab race.
4606 (spi_controller_grab_keyboard): rename to
4607 (spi_controller_update_key_grabs): this, and deal
4608 with incremental adding / removing grabs more
4610 (_register_keygrab): ensure we're not pending a remove.
4611 (spi_grab_mask_free): impl.
4612 (spi_controller_register_global_keygrabs): split out
4614 (handle_keygrab): impl.
4615 (_deregister_keygrab): impl.
4616 (spi_controller_deregister_global_keygrabs): impl.
4617 (spi_controller_update_key_grabs): re-issue the grab if
4618 we just recieved a notification.
4620 * test/test-simple.c (key_listener_cb): remove debug.
4622 * registryd/deviceeventcontroller.c
4623 (spi_controller_register_device_listener): after
4624 registering a global keygrab, actualy register it !
4625 don't wait for a timeout; doh !
4627 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4628 to make it more readable / manipulable.
4629 s/grabmask/grab_mask/ s/refcount/ref_count/
4630 s/keyval/key_val/ s/modmask/mod_mask
4632 2002-01-08 Michael Meeks <michael@ximian.com>
4634 * registryd/deviceeventcontroller.c
4635 (spi_controller_register_with_devices): use gdk calls to
4637 (global_filter_fn): implement the filter.
4638 (spi_device_event_controller_check_key_event): rename to
4639 (spi_device_event_controller_forward_key_event): this & upd.
4640 (spi_get_display): replace with GDK_DISPLAY.
4642 * registryd/deviceeventcontroller.c
4643 (spi_controller_deregister_device_listener): unroll into
4644 (impl_deregister_keystroke_listener): here to simplify.
4645 (spi_controller_register_global_keygrabs): split cut and
4646 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4647 (spi_controller_deregister_device_listener): remove.
4648 (impl_register_mouse_listener): remove, no mouse listener
4649 support in at-spi-1.0
4651 * registryd/registry.c
4652 (_device_event_controller_hook): kill.
4653 (spi_registry_init): upd.
4655 * registryd/deviceeventcontroller.c
4656 (spi_device_event_controller_class_init): upd.
4657 (spi_check_key_event): merge into.
4658 (spi_device_event_controller_check_key_event):
4659 here and kill strange static ev init, don't leak
4660 the x_event - nor dynamicaly allocate it.
4662 * registryd/registry-main.c (main): re-direct
4663 timeout to remove strange vtable mess.
4665 * registryd/deviceeventcontroller.c
4666 (remove_listener_cb): impl.
4667 (spi_controller_deregister_device_listener):
4668 fix re-enterancy hazard.
4670 2002-01-07 Michael Meeks <michael@ximian.com>
4672 * registryd/deviceeventcontroller.c
4673 (spi_device_event_controller_new): upd.
4674 (impl_notify_listeners_sync): upd. debug.
4675 (spi_notify_keylisteners): fix re-enterancy hazards,
4676 prettify, remove O(n*n) iteration.
4677 (spi_controller_grab_keyboard): fix iteration.
4678 (spi_check_key_event): re-format to suit coding style.
4679 Clean all the warnings - we're warning free.
4681 * registryd/deviceeventcontroller.h:
4682 * registryd/registry.h: make mutualy referential with
4683 typesafe forward references instead of (!) void pointer
4686 2002-01-11 Michael Meeks <michael@ximian.com>
4688 * cspi/spi_accessible.c (role_names): add a role name
4689 to sync this array with the enum; and make the regression
4692 2002-01-10 Michael Meeks <michael@ximian.com>
4694 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4695 allow expansion of enumeration & kill warning.
4697 * test/test-simple.c (key_listener_cb): impl.
4698 (test_keylisteners): impl.
4700 * cspi/spi-listener.h: make listener signatures const
4701 on the provided (const) events.
4703 * test/keysynth-demo.c: upd. to const events.
4705 * test/simple-at.c: ditto.
4707 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4710 Rev the version to 0.5 (the previous tarball was named 0.4,
4711 even though the micro number was 3), so we need to rev upwards
4712 again for beta2/"desktop-alpha"
4715 Checked in a demo script, which requires editing before use!
4716 Proceed with caution.
4719 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4721 * cspi/spi_accessible.c:
4722 Add a couple of missing enum initializations, and fix some enum
4725 * cspi/spi_registry.c:
4726 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4728 * docs/reference/cspi/at-spi-cspi-sections.txt:
4729 Remove/fix a couple of broken document references.
4732 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4733 as Alt-Control to listen for commands, since on some systems
4734 Control-Alt may already be grabbed.
4736 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4739 Update version number to 0.4 for Beta2.
4741 * libspi/accessible.c, libspi/accessible.h:
4742 Expose spi_accessible_construct, to enable libgail-gnome
4743 construction from spi_accessible subtype.
4745 * utils/magnifier.c:
4746 Workaround for bug in some non-gnome-compliant window managers
4747 which made magnifier resize improperly.
4749 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4751 * libspi/accessible.c: (spi_accessible_new) :
4752 Move the test for SPI_IS_REMOTE_OBJECT to
4753 spi_accessible_new_return, fixing a bug and compile time warning.
4755 2002-01-08 Michael Meeks <michael@ximian.com>
4757 * registryd/registry.c (parse_event_type): remove strndup.
4759 * libspi/Makefile.am (libspi_la_SOURCES): remove
4760 sources already included in the headers section.
4762 * libspi/util.c: add.
4764 * libspi/spi-private.h: add.
4766 * registryd/registry.c: update to moved list iterators.
4768 2002-01-05 Michael Meeks <michael@ximian.com>
4770 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4772 * test/test-simple.c (main): ditto.
4774 2002-01-04 Michael Meeks <michael@ximian.com>
4776 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4777 redundant construct.
4779 * registryd/registry.c
4780 (get_listener_list): impl.
4781 (impl_accessibility_registry_register_global_event_listener):
4782 re-impl. to simplify using ~, remove dodgy const cast off.
4783 (parse_event_type): constify.
4784 (impl_accessibility_registry_deregister_global_event_listener_all):
4785 re-write, more efficiency and simplicity, kill re-enterancy
4787 (compare_listener_corbaref, compare_corba_objects),
4788 (compare_listener_quarks): define out.
4789 (impl_accessibility_registry_deregister_global_event_listener):
4790 re-write for effiency, and nail re-enterancy hazard.
4791 (impl_accessibility_registry_get_desktop_list): impl.
4792 (re_enterant_list_delete_link): impl.
4793 (re_enterant_list_foreach): impl.
4794 (remove_listener_cb): impl.
4795 (_registry_notify_listeners): kill.
4796 (notify_listeners_cb): impl.
4798 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4799 (SPI_getDesktopList): impl.
4801 * test/test-simple.c (test_desktop): test the methods.
4803 2002-01-03 Michael Meeks <michael@ximian.com>
4805 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4806 keystrings since we free them
4807 (SPI_freeAccessibleKeySet): in here.
4809 * libspi/accessible.c (spi_accessible_new): kill warning,
4810 wonder what is going on with the constructor here.
4812 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4814 * libspi/accessible.c (spi_accessible_new ()) :
4815 Added check to see if AtkObject is an SpiRemoteObject before
4816 creating an SpiAccessible.
4818 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4820 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4821 Enable keygrabs using the Control modifier, now that they are
4822 working properly (they were previously disabled).
4825 Change the command keygrab for this demo to "Control+Alt", so as
4826 to conflict with fewer other key commands on the system; this
4827 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4829 Removed a pointlessly-chatty keylistener for unshifted keys
4830 (shifted keys are still reported).
4832 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4834 * libspi/remoteobject.h:
4835 * libspi/remoteobject.c:
4836 Added definitions for special AtkObject subtype, required for
4837 support of remote components (specifically, used by BonoboControl
4838 accessibility implementation).
4840 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4842 * cspi/spi.h: synched relation types with ATK
4844 * cspi/spi_accessible.c: Added implementations of
4845 AcccessibleRelation_* methods
4847 * idl/Accessibility_Relation.idl: added getRelationTypeName
4848 method. Synched known relation types with ATK. Allowed for
4849 relation type extension with the RELATION_EXTENDED type.
4851 * libspi/relation.c: Provided implementations for
4852 AccessibleRelation methods.
4854 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4856 API tweaks for today's API 'freeze'.
4859 Added placeholder functions to allow future compatible expansion
4860 of the IDL interfaces.
4862 * idl/Accessibility_Registry.idl:
4863 Changed generateKeyEvent to generateKeyboardEvent. Changed
4864 signature of this method to accept an optional keystring in
4865 parameter (for complex text input synthesis) and changed use of
4866 simple 'boolean' parameter in registerKeystrokeListener to a
4867 struct, EventListenerMode.
4869 * cspi/spi_accessible.c:
4871 * cspi/spi_streamablecontent.c:
4872 Added references to AccessibleStreamableContent interface, and
4873 definition and implementation of AccessibleStreamableContent
4876 * cspi/spi_registry.c:
4878 Changed generateKeyEvent API to generateKeyboardEvent,
4879 taking a new (optional) keystring parameter to support complex
4884 Renamed directory (to better reflect its actual purpose, bridging
4885 from at-spi to ATK). The .so module is also now named
4888 * idl/Accessibility_Hypertext.idl:
4889 * libspi/accessible.c:
4890 * libspi/hypertext.h:
4891 * libspi/hypertext.c:
4892 Changed Accessibility_Hypertext to *not* derive from
4895 * cspi/spi_registry.c:
4896 Added list of legal event type names for 'window' events, which
4897 completes the registry event API.
4899 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4901 * at-bridge/bridge.c: Added registration for separate
4902 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4903 signals. If either of the first two parameters to the generic
4904 bridge signal handler are ints, they are passed on as event
4905 details. This allows an AT to determine what text was inserted.
4907 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4909 * registryd/deviceeventcontroller.c:
4910 Fixed regressions in generateKeyEvent caused by the removal of
4911 gdk_init from registryd; we now use pure X calls to connect to the
4912 display, which makes sense because deviceeventcontroller already
4913 uses a fair bit of X API (should eventually be migrated to a
4914 'portability layer').
4916 * registryd/desktop.c:
4917 Fixed minor regression in spi_desktop_init, changed the way the
4918 desktop name is being set to work with new spi_base API
4919 (gobject-based, rather than AtkObject-based).
4921 * registryd/Makefile.am:
4922 Minor revision of makefile to use XTST_LIBS variable rather than
4923 hard-wiring the Xtst LD_ADD element.
4925 * test/keysynth-demo.c:
4926 Tweaked an output message; added initialization of the
4927 'keystrings' member of the "switch listener" key_set.
4929 * libspi/relation.c:
4930 Squashed compile-time warning.
4932 * libspi/accessible.c:
4933 Cosmetic and formatting fixes, renamed a static method.
4935 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4937 * libspi/accessible.c
4939 * libspi/application.c
4942 * libspi/component.c
4943 * libspi/editabletext.c
4944 * libspi/hyperlink.c
4945 * libspi/hypertext.c
4947 * libspi/selection.c
4951 * registryd/desktop.c:
4952 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4954 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4956 * idl/Accessibility_Registry.idl:
4957 Added boolean member 'is_text' to DeviceEvent. This is for the
4958 use of key events, and helps prevent ambiguity between composed
4959 key strings and keysym names, since both may potentially be
4960 returned in the 'event_string' member.
4962 * at-bridge/bridge.c:
4963 * registryd/deviceeventcontroller.c:
4964 Use the 'is_text' member when notifying device event listeners.
4965 Knon issue: composed characters are not dealt with correctly by
4966 the global key listener implementation yet.
4968 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4970 * at-bridge/bridge.c:
4971 Namespaced local static methods to spi_atk_bridge_* where
4972 previously named bridge_*, and spi_* elsewhere.
4974 * at-bridge/bridge.c:
4975 * cspi/bonobo/cspi-bonobo-listener.c:
4976 Added demarshalling/conversion for string member of
4977 Accessibility_DeviceEvent to AccessibleKeystroke.
4979 * registryd/deviceeventcontroller.c:
4980 Added code to fill the Accessibility_DeviceEvent key string value
4981 member for global key events (i.e. from XGrabKey), to match
4982 behavior of Accessibility_DeviceEvent from the toolkit key events
4983 from the bridge. Fixed timestamp in global key event notifications.
4986 Added printout of key event's string value to
4987 report_ordinary_key_event, for demo/debugging purposes.
4989 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4991 * idl/Accessibility_Registry.idl:
4992 Removed Accessibility_KeyStroke structure in favor of generic
4993 Accessibility_DeviceEvent structure.
4994 Changed Accessibility_ControllerEventMask from a struct to an
4997 * at-bridge/bridge.c:
4998 Changed APIs to use DeviceEvent structure as above, and removed
4999 bogus casting between these event structures.
5001 * cspi/spi-listener.h:
5002 Added keystring member of AccessibleKeystroke structure, to enable
5003 matching on event "names" rather than only hardware codes and
5007 Added keystrings member of AccessibleKeySet struct, to allow
5008 matching on event names (as above).
5009 Added declarations for SPI_createAccessibleKeySet and
5010 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5011 event modmasks directly as unsigned ints rather than structs with
5012 refcounts, in the DeviceEventController methods.
5014 * cspi/spi_registry.c:
5015 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5017 * cspi/spi-roletypes.h:
5018 Added documentation of newly added SPI Roles.
5020 * cspi/bonobo/cspi-bonobo-listener.c:
5021 Changes in support of API changes above.
5023 * libspi/accessible.c:
5024 Converted APIs to use DeviceEvent structure (see IDL changes
5027 * registryd/deviceeventcontroller.c:
5028 Added DEControllerGrabMask structure to track keygrabs not only by
5029 modmask but by keyset as well; this allows us to do "global"
5030 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5031 grabbing on AnyKey and then filtering after-the-fact.
5032 Bugfixes for event filtration mean that we don't get false matches
5033 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5035 * registryd/deviceeventcontroller.c:
5036 Namespaced a number of static methods to use spi_ prefix. Major
5037 revision to internals of global (i.e. X) key grabs.
5039 * registryd/deviceeventcontroller.h:
5040 Removed keymask_list and added keygrabs_list to
5041 SpiDeviceEventController struct.
5044 Added use of SPI_createAccessibleKeySet API when creating a
5045 listener for only one key. Attach a listener to "shift spacebar
5046 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5047 X key event names to SPI key event names, so that listeners are
5048 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5050 * test/keysynth-demo.c:
5051 Changed (incorrect) use of X key event names (KeyPressed,
5052 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5055 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5057 * libspi/accessible.c:
5058 Convert all AtkRole enumerations to Accessibility_Role enums when
5059 getting a role from an AtkObject.
5061 * cspi/spi_accessible.c:
5062 Complete the conversion of Accessibility_Role enums at runtime to
5063 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5064 role enums correctly match those given in spi-roletypes.h.
5065 Re-synchronize the local names list for AccessibleRole_getName ().
5066 AccessibleRole_getName is now deprecated, since it duplicates the
5067 more reliable Accessible_getRoleName.
5068 Added some role types from Accessibility_Role.idl.
5070 * idl/Accessibility_Role.idl:
5071 Added some role types used by AtkRole.
5073 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5076 * cspi/spi_registry.c:
5078 * cspi/cspi-bonobo-listener.c:
5079 Namespaced all methods that did not begin with an "SPI_" or
5080 "Accessible" prefix to "SPI_".
5083 Homogenized internal function namespace to "cspi_" for statics.
5086 Patched tests to use the new CSPI API.
5088 * docs/reference/cspi/at-spi-cspi-sections.txt:
5089 Updated docs to reflect namespace changes, and added a number of
5090 methods to the documentation.
5092 * registryd/registry.c:
5093 Changed use of strings and string hashes in listener event
5094 matching and parse_event_string to use GQuark, which is guaranteed
5097 * registryd/registry.h:
5098 Squashed annoying warning.
5100 * idl/Accessibility_Role.idl:
5101 Extended range of available Accessibility_Role values.
5103 * cspi/spi_accessible.c:
5104 Re-ordered role names.
5106 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5108 * idl/Accessibility_Value.idl:
5109 Revert use of union back to CORBA_double, since the double type is
5110 more efficient and can contain the other types without loss of
5113 * idl/Accessibility_Accessible.idl:
5114 Added method Accessibility:Accessible:getRoleName, to complement
5115 Accessibility:Accessible:getRole.
5117 * cspi/spi_accessible.c:
5119 Added C binding for above, Accessible_getRoleName (), and changed
5120 signature of Accessible_getRole () to return an AccessibleRole.
5122 * cspi/spi-roletypes.h:
5123 Changed AccessibleRole_getName to return a char * instead of a
5124 const char *. This method is now at least temporarily deprecated
5125 in favor of asking Accessibles for their RoleNames directly.
5128 Revert to match Accessibility_Value.idl;
5132 Change signature of AccessibleValue methods to use double rather
5136 * cspi/spi_accessible.c:
5137 Changed Accessible_getRole to return an AccessibleRole enum rather
5138 than a UTF-8 string. The UTF-8 string can still be obtained via
5139 AccessibleRole_getName ().
5141 * test/test-simple.c:
5142 Add test_action. Small fixup to match API change to Accessible_getRole.
5145 Bugfix for get_action_from_servant ().
5147 2001-12-11 Michael Meeks <michael@ximian.com>
5149 * libspi/libspi.h: remove registry.h and
5150 desktop.h, deviceeventcontroller.h
5152 * libspi/Makefile.am: remove registry.[ch],
5153 desktop.[ch], deviceeventcontroller.[ch]
5155 * registryd/Makefile.am: add registry.[ch],
5156 desktop.[ch], rename registryd.c to registry-main.c.
5157 add deviceeventcontroller.[ch]
5159 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5162 Replace setenv() call with putenv ().
5164 * libspi/component.c:
5165 Bugfix in AccessibleComponent_getExtents (),
5168 2001-12-11 Michael Meeks <michael@ximian.com>
5170 * libspi/image.c (impl_getImageExtents): impl.
5171 (spi_image_class_init): upd.
5174 (AccessibleImage_getImageDescription): fix daft bug
5177 * test/test-simple.c (global_listener_cb): update
5178 to only quit if not --poke
5179 (main): catch --poke.
5180 (validate_accessible): upd. dumping, call test_image
5183 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5186 * idl/Accessibility.idl: update all IDL includes.
5188 * idl/*.idl - rename to namespace - this sucks, blame
5189 mjs' bad decision for oafd.
5191 * test/test-simple.c (create_test_window): add more tests.
5192 (create_tree): split this out.
5193 (validate_accessible): bugfix.
5195 2001-12-11 Michael Meeks <michael@ximian.com>
5197 * cspi/bonobo/cspi-bonobo-listener.c:
5198 (cspi_kestroke_listener_unref),
5199 (cspi_event_listener_unref): impl. undoing previous
5200 homenous environment - for Bill.
5202 * cspi/spi_table.c (long_seq_to_array): use
5205 * cspi/spi_main.c: split out all bonoboish bits into
5208 * cspi/spi-impl.h: upd. typedefs.
5210 * cspi/spi_registry.c: update to lowlevel API,
5211 return booleans to indicate success in some places.
5213 * cspi/spi_event.c: update to lowlevel API.
5215 * cspi/bonobo/Makefile.am: add.
5217 * cspi/bonobo/cspi-lowlevel.h: add
5219 * cspi/bonobo/cspi-bonobo.c: add
5221 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5223 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5224 (SUBDIRS): add bonobo, link in the libs.
5226 * cspi/spi-util.c: kill this file.
5228 * TODO: merge in my bits.
5230 2001-12-11 Michael Meeks <michael@ximian.com>
5232 * test/test-simple.c (test_value, test_table, main):
5233 remove unused variables causing warnings.
5235 * configure.in: cleanup checks - require gail.
5237 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5240 Changed Value interface to use SValue (scalars) rather than
5241 assuming all values are floats. This allows floats, doubles,
5242 longs, shorts, and unsigned values to be manipulated.
5243 Introduced Accessibility:SValue union.
5246 Updated to use new API above, and to work correctly with GValues
5247 of different types in AtkValue.
5250 Updated to use new API above. cspi's API is as yet unchanged.
5253 Updated the Value revision action item.
5255 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5257 * test/test-simple.c:
5258 Added test_table (GtkTreeView widget in test window to follow).
5259 Un-commented test_value, added GtkRange widget.
5260 Added GtkTreeView widget with GtkListStore. It passes regression
5261 test but leaks one SPI object for some reason.
5264 Fixed bug in impl__set_currentValue.
5266 2001-12-10 Michael Meeks <michael@ximian.com>
5268 * cspi/spi_text.c: audit for exception handling,
5269 tolerating NULL object references safely etc.
5271 * cspi/spi_value.c: ditto.
5273 * cspi/spi_table.c (AccessibleTable_getSummary),
5274 (AccessibleTable_getAccessibleAt),
5275 (AccessibleTable_getRowHeader),
5276 (AccessibleTable_getColumnHeader),
5277 (AccessibleTable_getCaption): fix bugs hidden by
5279 (long_seq_to_array): impl.
5280 (AccessibleTable_getSelectedRows),
5281 (AccessibleTable_getSelectedColumns): use it.
5283 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5286 Added a TODO list (rough and short for now).
5288 * cspi/spi_hyperlink.c:
5289 * cspi/spi_hypertext.c:
5290 Fixed macro name typos, and remove use of obsolete macro in
5291 AccessibleHyperlink_getLink.
5293 * cspi/spi_action.c:
5294 * cspi/spi_accessible.c:
5295 * cspi/spi_application.c:
5296 * cspi/spi_component.c:
5297 * cspi/spi_selection.c:
5300 Documentation fixes (removed return values from ref/unref methods).
5302 2001-12-10 Michael Meeks <michael@ximian.com>
5304 * cspi/spi_action.c: audit for exception handling,
5305 tolerating NULL object references safely etc.
5307 * cspi/spi_accessible.c: ditto.
5309 * cspi/spi_component.c: ditto.
5311 * cspi/spi_editabletext.c: ditto.
5313 * cspi/spi_hyperlink.c: ditto.
5315 * cspi/spi_hypertext.c: ditto.
5317 * cspi/spi_image.c: ditto.
5319 * cspi/spi_selection.c: ditto.
5321 2001-12-10 Michael Meeks <michael@ximian.com>
5323 * configure.in: use cspi/libspi.pc.in instead.
5325 * Makefile.am (pkgconfig_DATA): upd. to match.
5327 * test/simple-at.c (report_focus_event): kill hacks around
5328 bad return values, use putenv not setenv
5330 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5331 fire ChildGone - I killed it.
5333 * libspi/component.c
5334 (impl_accessibility_component_get_extents): remove
5337 * idl/Accessible.idl: kill ChildGone exception.
5339 * cspi/*.[ch]: kill int return from ref / unref.
5341 * cspi/spi_main.c (cspi_object_add_check): fold into
5342 (cspi_object_add): here.
5344 * cspi/spi_component.c (AccessibleComponent_getExtents):
5345 handle exceptions elegantly.
5347 * cspi/spi-private.h (cspi_check_ev_return),
5348 (cspi_return_if_fail): impl.
5350 * cspi/spi_accessible.c: use extensively.
5351 (AccessibleStateSet_equals): add direct compare check.
5353 * cspi/spi_selection.c: tolerate NULL objs, and check
5354 exceptions before return.
5356 * cspi/spi-util.c (cspi_warn_ev): rename to
5357 (cspi_check_ev): this & don't pass ev in; no point.
5359 2001-12-10 Michael Meeks <michael@ximian.com>
5361 * test/test-simple.c: use putenv not setenv
5362 (get_environment_vars): more chatty if you're not using
5365 * test/simple-at.c: do the setenv so more people see the
5368 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5370 * libspi/registry.c:
5371 Changed check of CORBA_environment on notification to be a warning
5372 instead of an error for the moment, since we can recover from this
5373 error when caused by a queued notification from a dead app.
5376 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5377 used by all current implementors of AtkValue), and coerce to
5378 CORBA_float. (Proper general case fix may require change to Value.idl).
5380 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5384 * cspi/spi_accessible.c:
5385 Documentation fixes: added user_data params to documentation for
5386 listeners and callbacks.
5388 * cspi/spi_accessible.c:
5389 Changed AccessibleStateSet_compare to return a
5390 StateSet rather than return the difference set into a third parameter.
5393 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5396 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5397 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5401 Remove subdirectory po from SUBDIRS for now.
5403 * at-bridge/bridge.c:
5404 Beefed up a couple of debug printouts.
5405 One-line fix for signal notification name formatting.
5407 * libspi/accessible.c:
5408 Added assertion to spi_accessible_new ().
5410 * libspi/application.c:
5411 Put #ifdef qualifiers around a printf.
5414 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5416 * registryd/Makefile.am:
5418 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5419 INTLTOOL_SERVER_RULE macro.
5422 Added an event listener for several ATK signals, for
5423 testing and debugging. Removed a few g_warnings.
5424 Added test output if focussed item implements the Value interface.
5426 * test/test-simple.c:
5427 Added test_value () function (known not to pass at the moment, so
5428 not actually called yet.
5430 2001-12-08 Michael Meeks <michael@ximian.com>
5432 * at-bridge/bridge.c (bridge_focus_tracker),
5433 (emit_eventv): fix the same ref. leak.
5434 (register_atk_event_listeners): don't leak.
5436 * cspi/spi-listener-impl.c (cspi_event): more
5437 protection from client code.
5439 * test/test-simple.c (test_desktop): unref the app.
5441 * test/Makefile.am: upd. TESTS.
5443 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5445 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5447 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5449 * cspi/spi_registry.c: constify in strings.
5450 (deregisterGlobalEventListenerAll): don't release the ref.
5452 * cspi/spi.h: start removing redundant / conflicting
5453 gtkdoc comments, making the API readable at a glance :-)
5455 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5457 * test/keysynth-demo.c (keysynth_exit, main): upd.
5459 * test/simple-at.c (main, simple_at_exit): upd.
5461 * test/test-simple.c (unutterable_horror): kill.
5462 (utterable_normal_derefs): kill.
5463 (main): upd & do a setenv before gtk_init, so that we
5464 can use memprof - and to save the pain of remembering
5465 this, if we're running under memprof - don't exit.
5467 * cspi/spi_main.c (SPI_exit): return exit status
5469 (SPI_event_quit): impl.
5470 (SPI_event_main): simplify.
5471 (cspi_is_gnome_app): kill.
5472 (SPI_init): kill isGNOMEapp arg.
5474 * at-bridge/bridge.c (register_atk_event_listeners):
5475 re-instate the unref.
5476 (bridge_exit_func): don't re-activate the registry,
5477 protect vs. theoretical re-entry, use the
5478 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5479 assert a clean shutdown - for regression tests.
5481 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5483 * configure.in: Comment out dummy i18n support for now,
5484 otherwise it fails to build.
5485 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5486 EXTRA_DIST. They are missing in tarball.
5488 2001-12-07 Michael Meeks <michael@ximian.com>
5490 * util/magnifier.c: kill bonobo activation reg. race.
5492 * libspi/component.c
5493 (impl_accessibility_component_get_extents): make it match
5496 * libspi/registry.c (_registry_notify_listeners):
5497 re-remove X headers & reconcile conflicts.
5498 (spi_listener_struct_free): bad conflict resolve.
5499 (impl_accessibility_registry_register_application):
5500 more bad merging fixed.
5501 (impl_accessibility_registry_deregister_application): ditto.
5502 (spi_registry_new): ditto.
5503 (spi_registry_init): don't have an applications field.
5505 [ merge fixups2 branch to here ]
5506 2001-12-07 Michael Meeks <michael@ximian.com>
5508 * test/simple-at.c (report_focus_event),
5509 (report_focussed_accessible): remove g_warning debug.
5511 2001-12-07 Michael Meeks <michael@ximian.com>
5513 * test/test-simple.c (validate_tree): comment out some checks.
5514 (test_desktop): app now not registered idly - horay.
5516 2001-12-07 Michael Meeks <michael@ximian.com>
5518 * cspi/spi_registry.c
5519 (registerAccessibleKeystrokeListener): clean, stop it leaking
5520 great swathes of memory, and device event controller references.
5521 ensure we always pass valid sequences.
5522 (deregisterAccessibleKeystrokeListener): ditto.
5523 (generateKeyEvent): upd.
5525 * at-bridge/bridge.c (bridge_key_listener): handle
5526 registry dead exception gracefully.
5527 (bridge_focus_tracker, emit_eventv): free ev.
5529 * test/simple-at.c (report_focus_event): fix polarity.
5531 * libspi/application.c (notify_listeners): kill the ev
5532 argument, and make sure we init the ev we use.
5533 (spi_application_object_event_listener): split out a chunk
5534 (get_atk_object_ref): here & fixup.
5535 (reverse_lookup_name_for_toolkit_event): make const.
5536 (spi_application_toolkit_event_listener): fixup, kill leaks
5539 * at-bridge/bridge.c (register_atk_event_listeners):
5540 don't unref the noop object - causes grief.
5542 * libspi/registry.c: remove the X headers.
5543 turn off the debug churn.
5545 * libspi/accessible.c (spi_accessible_new_return): only
5546 release the ref if we are supposed to [doh]
5548 * test/simple-at.c (report_button_press, report_focus_event):
5549 guard vs. unexpected exit.
5551 * at-bridge/bridge.c (gtk_module_init): prune printf.
5552 (bridge_exit_func): fix app unref.
5554 * libspi/Makefile.am: don't install registry or desktop.h
5556 * libspi/*.h: update includes.
5558 * libspi/application.h: don't include ourself, or
5559 other redundant headers.
5561 2001-12-06 Michael Meeks <michael@ximian.com>
5563 * libspi/accessible.c
5564 (get_accessible_from_servant): impl.
5565 Upd. all CORBA impl.s to use it killing cut and paste.
5567 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5569 (SPI_init): register atexit cleanup handler here.
5571 2001-12-06 Michael Meeks <michael@ximian.com>
5573 * at-bridge/bridge.c (gtk_module_init): g_error on
5574 activation exception
5576 2001-12-06 Michael Meeks <michael@ximian.com>
5578 * at-bridge/bridge.c (gtk_module_init): some sort of
5579 confusing merge clash - reverted.
5580 (bridge_idle_init): ditto.
5582 * test/test-simple.c (main, utterable_normal_derefs):
5583 merge from Bill - somehow not committed.
5585 2001-12-06 Michael Meeks <michael@ximian.com>
5587 * libspi/value.c (spi_value_class_init): upd.
5588 (spi_value_finalize): kill.
5590 * libspi/table.c (spi_table_finalize): kill.
5591 (spi_table_interface_new): upd.
5592 (spi_table_class_init): upd.
5593 (get_table_from_servant): impl.
5594 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5596 * libspi/selection.c (spi_selection_finalize): kill.
5597 (spi_selection_interface_new): upd.
5598 (spi_selection_class_init): upd.
5599 (get_selection_from_servant): impl.
5600 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5602 * libspi/relation.c (spi_relation_finalize): kill.
5603 (spi_relation_class_init, spi_relation_new): upd
5605 * libspi/image.c (spi_image_finalize): kill.
5606 (spi_image_class_init): upd.
5607 (spi_image_interface_new): upd.
5608 (get_image_from_servant): impl.
5609 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5611 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5612 (spi_hyperlink_finalize): kill.
5613 (spi_hyperlink_new): upd.
5614 (get_hyperlink_from_servant): impl.
5615 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5617 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5618 (spi_hypertext_finalize): kill.
5619 (spi_hypertext_class_init): upd.
5620 (get_hypertext_from_servant): impl.
5621 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5623 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5624 (spi_editable_text_interface_new): upd.
5625 (get_editable_text_from_servant): impl.
5626 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5628 * libspi/text.c (get_text_from_servant): impl.
5629 All impls - update to use it killing more cut and paste,
5630 also fix bad string returns on duff args ( a somewhat
5631 impossible case to handle - but hey ).
5632 (spi_text_construct): impl.
5633 (spi_text_interface_new): upd.
5634 (spi_text_object_finalize): kill.
5636 * libspi/component.c
5637 (accessibility_component_object_finalize): kill.
5638 (spi_component_class_init): upd.
5639 (get_component_from_servant): impl. helper to kill cut & paste.
5640 (impl_accessibility_component_contains):
5641 (impl_accessibility_component_get_accessible_at_point):
5642 (impl_accessibility_component_get_position):
5643 (impl_accessibility_component_get_extents):
5644 (impl_accessibility_component_get_mdi_z_order):
5645 (impl_accessibility_component_get_layer):
5646 (spi_component_interface_new): upd.
5648 * libspi/action.c (spi_action_finalize): kill.
5649 (spi_action_class_init): upd. inherit from SpiObject.
5650 (spi_action_interface_new): upd.
5651 (get_action_from_servant): impl. helper to reduce cut & paste.
5652 (impl_getKeyBinding, impl_getName, impl_doAction),
5653 (impl_getDescription): Use it everywhere.
5655 * cspi/spi_main.c (get_live_refs): a pointer hash.
5656 (spi_object_hash, spi_object_equal): comment out.
5657 There are issues with CORBA object hashing that need
5660 * libspi/application.c (spi_application_init),
5661 (spi_application_new): upd.
5663 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5664 (spi_accessible_class_init): upd.
5665 s/accessible/object/ in epv methods.
5667 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5669 * at-bridge/bridge.c:
5670 Reorder the bridge initialization into the bridge gtk_module_init,
5671 an immediate call to bridge_register_app, and an idle_add for
5672 register_atk_event_listeners (the only code that *must* wait until
5673 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5674 the activation, creates the application's Accessible object, and
5675 queues the bridge_idle_init function. Restored call to
5676 Accessibility_Registry_deregisterApplication().
5677 Prior to making this call we obtain a new reference to the
5678 registry, which is a temporary hack that helps us handle apps that
5679 shut down the bonobo mainloop before we get there.
5681 * libspi/registry.c:
5682 Fix string leakage in debug block, and don't segv if a an app
5683 dies before its event notifications have been propagated.
5686 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5687 as stopgap measure until we get proper exception handling when
5688 objects die during or before interrogation.
5692 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5693 Also changed default value of is_gnome_app to TRUE.
5696 * test/keysynth-demo.c:
5697 Changed use of SPI_init and SPI_event_main to reflect API change above.
5700 Made report_focus_event check the warning value from getName
5701 before reporting on focussed accessible; simplifies handling of
5702 notifications from dead objects.
5704 * test/test-simple.c: (Changes not in this patch since source is
5707 2001-12-05 Michael Meeks <michael@ximian.com>
5709 * registryd/registryd.c (main): protect against
5710 bonobo-activation startup race condition.
5712 * cspi/spi_main.c (cspi_object_add_check): cope
5713 with the exception elegantly.
5715 * idl/Accessible.idl: decl. ChildGone
5717 * libspi/desktop.c (spi_desktop_dispose): impl.
5718 (spi_desktop_class_init): upd.
5719 (spi_desktop_add_application),
5720 (spi_desktop_remove_application),
5721 (abnormal_application_termination): impl.
5722 (impl_desktop_get_child_at_index): re-impl.
5725 (impl_accessibility_registry_deregister_application),
5726 (impl_accessibility_registry_register_application):
5727 kill excessive debug clutter.
5729 * test/test-simple.c (test_misc): test some NULL
5730 tolerance. (main): upd.
5732 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5733 implements no interfaces - so let's not crash.
5735 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5737 * libspi/accessible.c (spi_accessible_new_return): impl.
5738 helper to calm the cut and paste, to cope with
5739 NULL AtkObjects effectively and efficiently, and to kill
5740 the referencing bugs.
5742 * libspi/table.c (impl_getAccessibleAt),
5743 (impl_getRowHeader, impl_getColumnHeader): upd.
5745 * libspi/hyperlink.c (impl_getObject): upd.
5747 * libspi/accessible.c
5748 (impl_accessibility_accessible_get_child_at_index): upd.
5750 * libspi/component.c
5751 (impl_accessibility_component_get_accessible_at_point): upd.
5753 * test/test-simple.c (test_editable_text, test_text): impl.
5756 * cspi/spi_editabletext.c
5757 (AccessibleEditableText_insertText): constify.
5759 * test/test-simple.c (focus_me): make more robust.
5761 * libspi/accessible.c: remove some printfs in methods that
5762 we test and work fine, so we can get a clean tree dump.
5764 * test/test-simple.c (validate_accessible),
5765 (validate_tree): make tree dumping pretty too.
5767 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5768 it builds without debug on.
5770 * test/test-simple.c (validate_accessible): fix the most
5773 * cspi/spi_main.c (spi_object_release): leave the nicely
5774 blanked memory around if in debug mode.
5776 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5778 [committed to fixups2]
5779 2001-12-05 Michael Meeks <michael@ximian.com>
5781 * libspi/editabletext.c
5782 (spi_editable_text_class_init): g_type_class_peek_parent,
5783 not interface peek - so we finalize cleanly.
5785 * libspi/accessible.c (spi_accessible_new): kill debug.
5787 * test/test-simple.c (validate_accessible): fix ref.
5788 leak, print strings before freeing them; sigh, comment a
5789 chunk out due to strangeness.
5790 (validate_tree): unref the child after use.
5792 * cspi/spi_component.c (AccessibleComponent_getLayer):
5793 add missing break statement, switch on zlayer not the
5794 uninitialized retval.
5796 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5797 before (possibly re-entering) remote unref.
5799 * test/simple-at.c (main): unref the desktop.
5801 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5804 * cspi/spi_main.c (cspi_accessible_is_a): here to
5805 isolate bonobo API usage more.
5807 * libspi/registry.c (impl_accessibility_registry_register_application):
5808 prune bogus comment.
5810 2001-12-04 Michael Meeks <michael@ximian.com>
5812 * test/test-simple.c (validate_tree): upd.
5813 IndexInParent check to make it more lucid.
5814 (validate_accessible): dump the tree.
5816 * libspi/accessible.c (de_register_public_ref),
5817 (get_public_refs): impl.
5818 (spi_accessible_new): make more efficient & intuitive.
5819 Now IndexInParent check works.
5821 2001-12-04 Michael Meeks <michael@ximian.com>
5823 * cspi/spi-util.h: remove.
5825 * cspi/spi.h: move SPI_freeString here
5827 * libspi/component.c (impl_accessibility_component_get_layer):
5829 (impl_accessibility_component_get_mdi_z_order): ditto,
5830 return -1 on error - is this ok ?
5832 * test/test-simple.c (test_application): impl.
5834 * cspi/spi_accessible.c (Accessible_getApplication),
5835 (Accessible_isApplication): impl.
5837 * libspi/registry.c (spi_listener_struct_free): release
5838 the CORBA reference too.
5840 * libspi/accessible.c
5841 (impl_accessibility_accessible_get_parent): fix ref leak.
5843 * libspi/registry.c (spi_registry_new): make the registry
5844 immortal - we don't want it to go away ever.
5846 * libspi/application.c
5847 (spi_accessible_application_finalize): impl. cleanup.
5849 * cspi/spi_registry.c
5850 (deregisterGlobalEventListenerAll),
5851 (deregisterGlobalEventListener),
5852 (deregisterAccessibleKeystrokeListener): fix ref leak.
5854 * cspi/spi_main.c (SPI_init): remove redundant ref.
5856 * test/test-simple.c (unutterable_horror): impl. to force a
5861 (impl_accessibility_registry_deregister_application): release
5862 the application when we de-register it.
5864 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5865 until we have the infastructure to get it right.
5867 2001-12-03 Michael Meeks <michael@ximian.com>
5869 * libspi/Makefile.am: only build eventlistener.[ch]
5871 * libspi/accessible.c
5872 (impl_accessibility_accessible_get_child_at_index): don't leak.
5874 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5875 before we hit the idle handler.
5877 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5878 debugging than exit.
5880 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5882 * libspi/listener.c (impl_notify_event): check source
5883 not NIL before unref.
5885 * libspi/registry.c (impl_registry_notify_event): ditto.
5887 * libspi/eventlistener.c
5888 (impl_accessible_event_notify_event): unref the source.
5890 * libspi/accessibleeventlistener.c
5891 (impl_accessible_event_notify_event): unref the source.
5893 * idl/Event.idl: remove 'hash_id' attribute - of no
5896 * libspi/application.c (notify_listeners): upd list
5898 (spi_application_object_event_listener),
5899 (spi_application_toolkit_event_listener): upd to do correct
5903 (_registry_notify_listeners): update.
5904 (parse_event_type): this method also leaks like a sieve.
5905 (impl_accessibility_registry_deregister_global_event_listener):
5906 fix ETYPE_WINDOW case.
5908 * libspi/application.c
5909 (impl_accessibility_application_register_object_event_listener):
5912 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5914 * libspi/hypertext.c (impl_getLink): ditto.
5916 * cspi/spi_main.c (cspi_object_add): remove
5917 bogus CORBA_Object_duplicate.
5919 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5922 * cspi/spi_accessible.c
5923 (Accessible_getRelationSet): fix leak / referencing issue.
5925 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5926 (cspi_object_add, cspi_object_unref): upd.
5927 (spi_object_release, get_live_refs): impl.
5928 (cspi_cleanup): simplify.
5930 * *.[ch]: s/boolean/SpiBoolean/
5932 * cspi/spi_accessible.c (role_names): actualy order so it
5933 corresponds with the enum !
5935 * test/test-simple.c (test_roles): check some role strings
5936 vs. enums to detect offset errors.
5938 2001-12-01 Michael Meeks <michael@ximian.com>
5940 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5942 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5944 (Accessible_getChildAtIndex): use cspi_add_check so we
5945 check the ev before using a (possibly) invalid value.
5947 * libspi/accessible.c
5948 (impl_accessibility_accessible_get_parent): don't segv
5951 * at-bridge/bridge.c (gtk_module_init): upd.
5952 (bridge_property_event_listener): don't leak strings
5954 (bridge_state_event_listener),
5955 (bridge_property_event_listener): don't use a static
5956 buffer in case of recursive event emission &
5957 re-enterancy - split out the swathe of cut and paste
5959 (emit_eventv): and fix 2 ref leaks here & comply to the
5961 (bridge_register_app): rename to
5962 (bridge_idle_init): this and kill arg parsing, split
5963 various inits & bonobo-activation registration to module
5964 init time, kill referencing error.
5965 (bridge_exit_func): fix the same leak.
5966 (bridge_focus_tracker): don't leak event structures
5968 (bridge_signal_listener): more leakage and cut & paste
5970 (bridge_key_listener): return the result - FIXME is
5971 this polarity correct ?
5972 (accessibility_keystroke_from_atk_key_event): rename
5973 (accessibility_init_keystroke_from_atk_key_event): and stop
5975 (gtk_module_init): return a value - not that it is checked by
5977 (bridge_key_listener): register my horror at casting between
5978 IDL defined structs.
5979 (bridge_get_registry): kill - not used.
5981 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5983 * test/test-simple.c (test_roles): impl.
5984 (test_desktop, validate_accessible, validate_tree): impl.
5986 * cspi/spi_accessible.c (role_names): fixup bogus
5987 MAX_ROLES setup, make constants const for efficient linkage
5988 (AccessibleRole_getName): conform to coding style, make
5991 2001-11-30 Michael Meeks <michael@ximian.com>
5993 * cspi/spi.h: add missing prototype.
5995 * libspi/registry.c (spi_listener_struct_new): fix sig.
5997 * test/Makefile.am: add test-simple
5999 * test/test-simple.c: add
6001 * test/test.sh: add.
6003 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6005 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6006 do it straight - since otherwise we often get an activation race.
6008 [ work before Bill duplicated a chunk of it ... ]
6009 2001-11-30 Michael Meeks <michael@ximian.com>
6011 * libspi/keystrokelistener.c
6012 (spi_keystroke_listener_class_init): fixup arg
6015 * libspi/eventlistener.c
6016 (spi_event_listener_class_init): ditto.
6018 * tests/test.sh: add.
6020 * cspi/spi-listener-impl.h: update macros.
6022 * cspi/spi-listener-impl.c
6023 (cspi_event_listener_remove_callback): add
6024 correct pre-conditions.
6026 * cspi/spi_main.c (SPI_exit): guard vs. double
6027 exits, exit the mainloop nicely.
6028 (SPI_event_main): make more sense.
6029 (SPI_init): move the atexit evilness here so we
6030 always do it (yuck).
6031 (SPI_event_main): upd.
6033 * test/simple-at.c: update for listener changes.
6035 * registryd/registryd.c (main): prune kruft.
6037 * libspi/libspi.h: upd.
6039 * libspi/eventlistener.[ch]: rename broken macros.
6041 * libspi/accessibleeventlistener.[ch]: remove.
6043 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6045 * test/test-simple.c: Add - automated tests.
6047 * cspi/spi-listener-impl.c (cspi_event),
6048 (cspi_key_event): add user_data to invoke.
6049 (cspi_keystroke_listener_finalize): impl.
6050 (cspi_keystroke_listener_class_init): upd.
6053 (createAccessibleEventListener),
6054 (AccessibleEventListener_addCallback),
6055 (createAccessibleKeystrokeListener),
6056 (AccessibleKeystrokeListener_addCallback): upd.
6058 * libspi/deviceeventcontroller.c
6059 (spi_device_event_controller_check_key_event): add public proto.
6062 (impl_accessibility_registry_deregister_global_event_listener):
6063 always init listeners.
6064 (_registry_notify_listeners): yes it is.
6066 * cspi/spi-listener-impl.c (cspi_key_event):
6068 (cspi_event_listener_finalize): impl.
6069 (cspi_event_listener_class_init): hook up.
6070 (event_handler_new, event_handler_free),
6071 (event_list_remove_by_callback): impl.
6072 (cspi_event_listener_remove_callback),
6073 (cspi_keystroke_listener_remove_callback),
6074 (cspi_keystroke_listener_add_callback),
6075 (cspi_event_listener_add_callback): upd.
6077 * libspi/keystrokelistener.c
6078 (keystroke_listener_object_finalize): kill
6079 (spi_keystroke_listener_class_init): upd.
6080 (spi_keystroke_listener_add_callback),
6081 (spi_keystroke_listener_remove_callback): kill,
6083 (impl_key_event): prune drasticaly.
6085 * libspi/eventlistener.c
6086 (spi_event_listener_add_callback),
6087 (spi_event_listener_remove_callback): kill, use
6089 (impl_accessible_event_notify_event): upd.
6090 (spi_event_listener_object_finalize): remove.
6092 * libspi/Makefile.am: use eventlistener.[ch]
6094 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6096 * libspi/registry.c (_registry_notify_listeners):
6097 Changed listener loop iteration to use preferred convention.
6098 Got rid of string memory leaks caused be calling g_strconcat
6099 inside function calls.
6101 * libspi/registry.c (parse_event_type):
6102 Stopped g_strconcat memory leaks, free the g_strsplit return,
6103 g_strdup the split pieces when used, etc.
6105 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6108 Change method 'compare' to return a 'difference set' rather than
6109 taking a StateSet as an out parameter (more Java-friendly).
6111 * idl/Accessible.idl:
6112 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6114 * idl/Component.idl:
6116 Changed methods 'getExtents' and 'getImageExtents' in these
6117 interfaces to return a BoundingBox structure.
6118 (getPosition and getSize are redundant and possibly should be
6119 removed, rather than creating a corresponding Point struct.)
6121 * cspi/spi_component.c:
6122 Modify implementation of getExtents to reflect the above IDL
6127 Add (missing) AccessibleImage_getExtents () API.
6129 * docs/reference/cspi/at-spi-cspi-sections.txt:
6130 Added AccessibleImage_getImageExtents () to docs.
6132 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6134 * idl/Component.idl:
6135 Added two methods, getLayer () and getMDIZOrder (), to reflect
6136 the new ATK methods atk_object_get_layer and
6137 atk_object_get_mdi_z_order. (Which arguably should be part of the
6138 AtkComponent API and AtkObject). Also added an enum,
6139 ComponentLayer, for the first method's return value.
6141 * libspi/component.c:
6142 Added implementations for these methods.
6144 * cspi/spi_component.c:
6146 Added cspi binding methods for above,
6147 AccessibleComponent_getLayer() and
6148 AccessibleComponent_getMDIZOrder().
6149 Added cspi enum 'AccessibleComponentLayer'.
6151 * docs/reference/cspi/at-spi-cspi-sections.txt:
6152 Added above methods to docs.
6156 Changed typedef for 'boolean' type (and all references to it) to
6157 SPIBoolean, to avoid keyword clashes with C++.
6160 Changed usages of 'boolean' to SPIBoolean.
6162 * test/keysynth-demo.c:
6163 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6164 app), except where SPIBoolean is required by the callbacks API.
6166 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6168 * cspi/spi_registry.c:
6169 Removed obsolete X event loop for passive keygrabs (which now
6172 * registryd/registryd.c:
6173 Removed unnecessary call to gdk_init() [cruft]. This also allows
6174 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6177 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6179 * docs/reference/cspi:
6180 Included docs for SPI_freeString in generated documentation.
6183 Renamed spi_freeString to SPI_freeString, for consistency. Added
6184 documentation for this function.
6187 Renamed spi_freeString to SPI_freeString, for consistency.
6188 Removed obsolete method declaration string_from_corba_string.
6190 * test/keysynth-demo.c:
6191 Small tweak to comments.
6194 Stopped leaking the strings returned from CSPI.
6196 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6198 Merged Michael's branch (see his ChangeLog entries below).
6200 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6201 bridge is alive, release on exit.
6203 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6204 Fix type check macro.
6207 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6210 Added is_gnome_app static, and method cspi_is_gnome_app(),
6211 so we can call the appropriate shutdown routine at exit in SPI_exit.
6213 * cspi/spi_main.c (cspi_object_ref):
6214 Duplicate the corba object passed in, since we're keeping it around.
6216 * cspi/SPI_exit.c, cspi_cleanup:
6217 Moved the releasing of the live refs to its own function, so we
6218 can put it in g_atexit (). Call the appropriate shutdown API
6219 depending on whethe calling client is a gnome app or not
6220 (bonobo_main_quit or CORBA_ORB_shutdown).
6222 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6223 Unref the listener when this method is called, after
6224 deregistration. Updated the API docs to note this behavior.
6226 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6227 Bugfixes: Ref the bonobo object when returning a parent or child
6228 reference, or an AccessibleRelation. Generally made sure
6229 BonoboObject refcount is incremented whenever we return an
6232 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6233 Fixed typo/bug in signal declaration.
6235 * libspi/accessibleeventlistener.h:
6238 * libspi/application.c (spi_application_new):
6239 Fixed leak in initialization.
6242 Remembered to increment bonobo-object refcount when returning
6243 children (applications) from desktop object.
6244 Added (empty) finalize method.
6246 * libspi/deviceeventcontroller.c:
6247 Hold a ref to listeners inside DEControllerKeyListeners.
6248 Added dec_key_listener_free() method. Use prepend instead of
6249 append in key_listener list. Fixed some refcount madness and
6250 leaks in the listener registration/deregistration - deregistration
6251 now calls dec_key_listener_free() on listeners, and on the
6252 temporarily constructed dec_key_listener() used to perform the search/match.
6254 * libspi/hypertext.c (spi_hypertest_finalize):
6255 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6256 class. Also fixed spi_hypertext_interface_new() and
6257 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6259 * libspi/hypertext.h:
6260 Removed pointless and duplicate AtkObject pointer from
6263 * libspi/keystrokelistener.c:
6264 Fixed incorrect type of keystroke_listener_parent_class,
6265 renamed keystroke_listener_object_finalize to
6266 spi_keystroke_listener_object_finalize.
6267 Fixed typo in signal declaration
6268 (spi_keystroke_listener_class_init).
6270 * libspi/registry.c:
6271 Added funcsions spi_listener_struct_new() and
6272 spi_listener_struct_free() to help with memory management issues.
6273 We also now use these methods instead of gnew + poking stuff into
6274 the struct, and to decrement listener counts/free the listeners
6275 when deregistering them.
6276 Fix more refcount bugs in getDesktop() and
6277 getDeviceEventController().
6280 De-ref the desktop after enumerating the applications. Explicitly
6281 decrement the refcounts on the created listeners on exit (using
6282 _unref for keystroke listeners, and via the
6283 deregisterGlobalEventListenerAll command for other event
6286 2001-11-27 Michael Meeks <michael@ximian.com>
6288 * cspi/spi-listener.h: fixup enum.
6290 2001-11-27 Michael Meeks <michael@ximian.com>
6292 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6293 (cspi_keystroke_listener_new): Use the cspi variants.
6295 2001-11-26 Michael Meeks <michael@ximian.com>
6297 * test/keysynth-demo.c: fix 2 compile warnings, missing
6300 * test/simple-at.c (report_focussed_accessible),
6301 (report_focus_event, report_button_press),
6302 (check_property_change, is_command_key),
6303 (report_ordinary_key_event, report_command_key_event): upd.
6305 * util/mag_client.h: include pre-requisites.
6307 * libspi/accessibleeventlistener.c
6308 (spi_event_listener_object_finalize): free any lingering
6311 * libspi/keystrokelistener.c
6312 (keystroke_listener_object_finalize): ditto.
6314 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6315 callbacks, with cspi types.
6317 * cspi/spi_event.c (createAccessibleEventListener): chain to
6318 (AccessibleEventListener_addCallback): here.
6319 (createAccessibleKeystrokeListener): chain to
6320 (AccessibleKeystrokeListener_addCallback): here.
6322 * libspi/keystrokelistener.c
6323 (spi_keystroke_listener_class_init): add signal.
6324 (impl_key_event): emit the event.
6325 (boolean_handled_accumulator): impl.
6326 (marshal_BOOLEAN__POINTER): add, gack.
6328 * libspi/accessibleeventlistener.c
6329 (spi_event_listener_class_init): add signal.
6330 (impl_accessible_event_notify_event): emit the signal &
6331 make the loop efficient.
6332 (spi_event_listener_add_callback): prepend the callback.
6334 * libspi/accessibleeventlistener.h: add an 'event' signal,
6335 decl type on callback.
6337 * libspi/keystrokelistener.h: ditto.
6339 * cspi/spi-listener.h: make methods typesafe and
6340 make them use the new event typedefs.
6342 * test/simple-at.c (report_focussed_accessible):
6343 include mag_client.h
6344 Use *(void *)text_interface not the other thing.
6346 * configure.in: add gtk to registryd bits - since we use
6349 * util/magnifier.c: include libbonobo.h
6351 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6353 * test/keysynth-demo.c:
6354 Turned this into a simple scanning keyboard, to demonstrate the
6355 use of g_timeout_add () as a means of creating timers for
6356 scanning, and the use of GtkStyle for visually indicating when
6357 virtual keyboard elements are selected.
6359 keysynth-demo now listens to any keyboard keys with zero-valued
6360 keycodes (i.e. 'unused' keys) and interprets them as
6363 Reworked the shiftlatch code so that shift-down state isn't held
6364 for long periods (it's only synthesized immediately prior to
6365 the keysynth event it's modifying). Note that shiftlatch in this
6366 demo is a convenience, not intended to take the place of AccessX
6367 which is the better choice for getting 'sticky' modifier keys.
6369 * libspi/deviceeventcontroller.c:
6370 * at-bridge/bridge.c:
6371 * cspi/spi_registry.c:
6372 Removed some debug print stuff, and put other verbosity in #ifdef
6377 Implemented some more of the magnifier IDL for the simple
6378 magnifier: namely, getZoomRegionParams.
6379 Added mag_x and mag_y members to MagnifierData struct, aid of this
6381 Added GtkWindow::realize signal handler to magnifier, to keep it
6382 from receiving keyboard focus from the WM.
6384 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6386 * cspi/spi-private.h: my guess at what michael forgot
6387 before he ran off to NZ :-)
6389 2001-11-23 Michael Meeks <michael@ximian.com>
6391 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6392 comment out non existant method invoke so we link.
6394 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6395 use bonobo_exception_get_text for more friendly warnings.
6397 * cspi/spi.c (Obj_Add): move into spi_main & rename
6398 spi_object_add; kill spi.c
6400 * cspi/spi_registry.c
6401 (deregisterGlobalEventListener),
6402 (deregisterGlobalEventListenerAll),
6403 (registerGlobalEventListener): fix exception leaks.
6405 * cspi/spi_main.c (spi_exception): impl. helper, so we
6406 don't leak exceptions.
6408 * cspi/spi_selection.c
6409 (AccessibleSelection_deselectSelectedChild): return the
6412 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6413 (spi_registry): ditto.
6414 (SPI_init): guard against double inits.
6416 * cspi/*.c: use spi_ev (), and spi_registry () where
6417 appropriate - a temporary hack until we have something
6418 better. Use spi_object_add
6420 2001-11-22 Michael Meeks <michael@ximian.com>
6422 * cspi/Makefile.am: re organise, install the headers.
6424 * cspi/*.h: add G_BEGIN/END_DECLS
6426 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6429 Added non-preemptive keylistener for key events with no modifiers
6430 and shift-only modifier.
6432 * libspi/keystrokelistener.c:
6433 Removed some verbose diagnostics printout.
6435 * cspi/spi_registry.c:
6436 Fixed a bug that caused all key listeners to be registered as
6439 * libspi/deviceeventcontroller.c:
6440 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6441 for non-preemptive key masks.
6444 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6446 * docs/reference/idl/at-spi-idl-docs.sgml:
6447 * docs/reference/idl/at-spi-idl-sections.txt:
6448 * docs/reference/idl/at-spi-idl-overrides.txt:
6449 Added missing files.
6451 * docs/reference/Makefile.am:
6452 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6453 to scan the IDL files :-(
6458 Added .cvsignore files.
6460 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6462 * libspi/deviceeventcontroller.c:
6463 * libspi/keystrokelistener.c:
6465 * cspi/spi_registry.c:
6466 Added filters for KeySets, KeyEventSeq, and event types to key
6467 event dispatching, so listeners should only receive those events
6468 that they requested :-)
6470 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6475 * docs/reference:Makefile.am:
6476 * docs/reference/cspi:
6477 * docs/reference/cspi:Makefile.am:
6478 * docs/reference/cspi:tmpl:
6479 * docs/reference/cspi:tmpl:*.sgml:
6480 * docs/reference/idl:
6481 * docs/reference/idl:Makefile.am:
6482 * docs/reference/idl:at-spi-idl-sections.txt:
6483 * docs/reference/idl:at-spi-idl-docs.sgml:
6484 * docs/reference/idl:tmpl:
6485 * docs/reference/idl:tmpl:*.sgml:
6487 Restructured docs directory to allow separate 'reference' docs
6488 section, and forked idl and cspi docs. Added the sgml template
6489 files to CVS. Added the first sections/structural sgml for the
6492 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6494 * configure.in, libspi/Makefile.am: find libXtst.
6496 2001-11-21 Michael Meeks <michael@ximian.com>
6498 * test/accessx-gui.c: s/spi_value/value/ - doh.
6500 * libspi/base.[ch]: add.
6502 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6504 * idl/Accessible.idl:
6505 * idl/Application.idl:
6508 Started gtk-doc cleanup on IDL.
6510 * libspi/deviceeventcontroller.c:
6511 Added and connected non-preemptive key notification from the
6512 toolkits (in addition to the pre-emptive support from XServer
6513 which we had before, but which causes 'focus flashing'). Filters
6514 are presently limited to key modifiers and global/non-global,
6515 KeySets are presently ignored, as are KeyEvent masks.
6517 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6518 structs into the persistant structure rather than just storing
6519 pointers to things that might not persist across servant
6522 The XGrabKey call now does async keygrabs, because synchronous
6523 ones were deadlocking with GDK_event code in a very nasty way.
6525 Added boolean to internal method notify_keylisteners, to indicate
6526 whether the event came from the 'toolkit source' or the 'global
6527 (XServer) source' - this is used in the notification process to
6528 determine which listeners to send the event to.
6530 deviceeventcontroller.c is now warning-free.
6532 * libspi/registry.c:
6533 Fixed regression in application de-registration.
6534 Also fixed some really brain-dead weirdness having to do with
6535 event dispatching - event structs are now duplicated before being
6536 re-marshalled in the dispatch to listeners. This also fixes a
6537 Solaris build problem.
6540 2001-11-20 Michael Meeks <michael@ximian.com>
6543 (impl_accessibility_registry_deregister_global_event_listener):
6546 * libspi/deviceeventcontroller.c
6547 (spi_device_event_controller_check_key_event): return
6548 FALSE on no virtual method.
6550 * libspi/*..h: make includes work on a correctly pathed install.
6552 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6554 * libspi/application.h: kill unused ( and whacked out )
6555 gboolean *spi_application_set_id (AtkObject *app, long id);
6557 2001-11-20 Michael Meeks <michael@ximian.com>
6559 * libspi/*.[ch]: further convert to bonobo's type func
6560 macros, remove redundnant casts etc.
6562 * libspi/text.c s/accessibility_text/spi_text/g,
6563 re-order to de-cruft.
6565 * libspi/hypertext.c: re-order to kill a huge slew
6566 of redundant forward decls.
6568 * libspi/relation.c: ditto.
6570 * libspi/image.c: ditto.
6572 * */.cvsignore: update
6574 2001-11-20 Michael Meeks <michael@ximian.com>
6576 * libspi/deviceeventcontroller.c
6577 (_controller_register_with_devices): use g_getenv,
6578 kill stdlib.h include.
6580 * libspi/keystrokelistener.c
6581 (spi_keystroke_listener_get_type): kill
6582 (spi_keystroke_listener_class_init),
6583 (spi_keystroke_listener_init): rename to this.
6585 * libspi/text.c (impl_getAttributes): fix warning / bug.
6587 * libspi/*.[ch]: more headers, includes and over commenting.
6589 2001-11-20 Michael Meeks <michael@ximian.com>
6591 * libspi/*.[ch]: fixup headers, includes and over commenting.
6593 * libspi/image.c (impl__get_imageDescription): const
6594 correctness warning fix. remove redundant casting.
6596 * libspi/table.c (impl_getRowDescription): ditto.
6597 (impl_getColumnDescription): ditto.
6599 * libspi/libspi.h: add.
6601 2001-11-19 Michael Meeks <michael@ximian.com>
6603 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6605 * libspi/component.c (accessibility_component_get_type):
6606 rename to (spi_component_get_type): and macroify.
6607 (accessibility_component_init): rename to
6608 (spi_component_init): this
6609 (accessibility_component_class_init): rename to
6610 (spi_component_class_init): this
6612 * libspi/action.c (spi_action_get_type): kill, use the macro.
6614 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6617 * libspi/application.c (spi_application_object_event_listener),
6618 (impl_accessibility_application_register_object_event_listener):
6619 warning fixes / const understanding updates.
6621 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6624 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6626 * libspi/spi_accessible.c: Added docs and C bindings for
6627 AccessibleStateSet. (No implementations yet). Documentation
6628 coverage for C bindings now 100%. Made docs for event listeners
6633 boolean notifyListenersSync (in DeviceEventListener listener,
6634 in DeviceEvent event);
6636 oneway void notifyListenersAsync (in DeviceEventListener listener,
6637 in DeviceEvent event);
6639 Added DeviceEventListener and DeviceEvent structs (may deprecate
6640 KeyStroke and KeystrokeListener in favor of this generic
6641 event/listener framework for devices).
6643 * libspi/deviceeventcontroller.c:
6645 Changed some key listener code to take masks, etc., and paved the
6646 way for integration of toolkit/non-preemptive key events. Changed
6647 signatures of some internal methods.
6649 * at-bridge/bridge.c:
6650 Fixed regression connecting to interface signals, apparently
6651 caused by GTK+ changes.
6653 Added an internal bridge_state_listener to deal with
6654 property-change:accessible-state signals.
6656 Changed the key_listeners GList to store structs (including masks,
6657 etc.) instead of just CORBA_Objects (required for full
6658 implementation of key listener API).
6660 Connected the bridge to all currently supported Atk signals.
6661 Events now supported:
6662 object:property-change
6663 object:property-change:accessible-name
6664 object:property-change:accessible-state
6665 object:property-change:accessible-description
6666 object:property-change:accessible-parent
6667 object:property-change:accessible-value
6668 object:property-change:accessible-role
6669 object:property-change:accessible-table-caption
6670 object:property-change:accessible-table-column-description
6671 object:property-change:accessible-table-column-header
6672 object:property-change:accessible-table-row-description
6673 object:property-change:accessible-table-row-header
6674 object:property-change:accessible-table-summary
6675 object:children-changed
6676 object:visible-data-changed
6677 object:selection-changed
6678 object:text-selection-changed
6680 object:text-caret-moved
6682 object:row-reordered
6684 object:column-inserted
6685 object:column-reordered
6686 object:column-deleted
6687 object:model-changed
6689 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6691 * libspi/hyperlink.c,h:
6692 Fixed some broken stuff in hyperlink.
6694 * libspi/relation.h:
6695 * libspi/relation.c:
6696 * cspi/spi_accessible.c:
6697 Initial implementations of AccessibleRelation methods, and docs.
6699 * libspi/accessible.c:
6700 Fixed a bug that caused SEGV if an accessible
6701 object's description is NULL, and a client
6702 requests it. An empty string is now returned.
6704 * cspi/spi_editabletext.c:
6705 * cspi/spi_hypertext.c:
6707 * cspi/spi_hyperlink.c:
6711 Doc coverage now 95%.
6713 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6715 One last namespacing revision:
6716 * libspi/accessibleeventlistener.[ch]:
6717 Renamed SpiAccessibleEventListener to SpiEventListener,
6718 (no need for two namespaces ;-)
6720 And lots of documentation fixes:
6722 * docs/at-spi-docs.sgml:
6723 Fixed 'underscore vs. hyphen' bug that was preventing
6724 the gtk-doc API docs from being automatically generated.
6727 * cspi/spi-listener.h
6729 * cspi/spi_accessible.c
6731 * cspi/spi_application.c
6732 * cspi/spi_component.c
6733 * cspi/spi_editabletext.c
6735 * cspi/spi_hypertext.c
6737 * cspi/spi_registry.c
6738 * cspi/spi_selection.c
6742 * docs/at-spi-docs.sgml
6743 * docs/at-spi-sections.txt
6745 Added and fixed up gtk-doc documentation in cspi.
6747 Interfaces now (fully) documented (subject to revision and enhancement):
6749 Event Listener Support
6751 AccessibleApplication
6755 AccessibleEditableText
6762 AccessibleRelationSet
6767 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6769 * at-bridge/bridge.c:
6770 Initial work for toolkit-level key snooper connection by bridge.
6775 New typedefs and fixes to support new namespacing, and cleaner
6776 separation of cspi bindings from libspi bonobo implementation.
6777 Removed inconsistent and extraneous Spi* namespace prefix that
6778 had crept into cspi headers.
6779 Lots of comment fixes that sed had missed.
6781 * cspi/spi-roletypes.h:
6782 * cspi/spi-statetypes.h:
6783 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6784 to AccessibleRoleType.
6786 * libspi/accessibleeventlistener.h:
6787 Fixed minor namespacing weirdness.
6789 * libspi/deviceeventcontroller.c:
6790 Reordered some internal API for device listeners.
6791 Changed the key registry final boolean to 'is_system_global'
6792 rather than 'is_synchronous', which is more descriptive of its
6794 Added spi_device_event_controller_new().
6795 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6797 * libspi/keystrokelistener.[ch]:
6798 Namespaced KeystrokeListener to SpiKeystrokeListener.
6799 Changed uses of keymasks to use SPI_ prefix, and did other
6802 * libspi/keymasks.h:
6803 Namespaced keymask constants with SPI_ prefix.
6805 * libspi/registry.c:
6806 Some warning fixes, and knock-on fixes from namespace changes.
6809 Added rules for accessx-gui test program.
6811 * test/accessx-gui.c:
6812 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6813 utility. It doesn't actually use at-spi, but it's still cool and
6816 * test/keysynth-demo.c:
6820 Fixes so that these test clients work properly with the namespaced
6821 libraries. (Incompletely tested for technical reasons, fixes may follow)
6824 2001-11-13 Michael Meeks <michael@ximian.com>
6826 * libspi/application.c
6827 (impl_accessibility_application_get_version),
6828 (impl_accessibility_application_get_toolkit_name):
6830 (impl_accessibility_application_set_id),
6831 (impl_accessibility_application_get_id): remove
6832 redundant casting code.
6834 * libspi/action.c (impl_getDescription): fix warnings.
6836 * libspi/accessible.c
6837 (impl_accessibility_accessible_get_parent),
6838 (impl_accessibility_accessible_get_child_at_index),
6839 (impl_accessibility_accessible_get_state),
6840 (impl_accessibility_accessible_get_relation_set):
6841 warning fixes & include action.h
6843 2001-11-13 Michael Meeks <michael@ximian.com>
6845 * *.[ch] fix bits I screwed up:
6847 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6848 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6850 2001-11-13 Michael Meeks <michael@ximian.com>
6852 * *.[ch] Namespace libspi into spi_ and Spi.
6854 2001-13-11 Michael Meeks <michael@ximian.com>
6856 * Makefile.am: dist & install at-spi-1.0.pc
6858 * libspi/Makefile.am: install into at-spi-1.0
6860 * idl/Makefile.am (idldir): install into at-spi-1.0
6862 * at-spi-1.0.pc.in: add.
6864 * configure.in: build it.
6866 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6868 * test/keysynth-demo.c:
6869 Use a 'realize' signal-handler to set the WM properties for
6870 the virtual keyboard, rather than making it a "POPUP" type
6871 override-redirect window (thanks to anders carlsson for that
6874 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6877 * test/keysynth-demo.c:
6878 Added new test of key synthesis, which creates a simple
6879 (mouse-operated) onscreen keyboard. It inserts key events into
6880 the currently-focused window, thus it does not grab keyboard focus
6883 * cspi/spi_registry.c:
6884 Added C binding for AT-SPI generateKeyEvent.
6886 * libspi/deviceeventcontroller.c:
6887 Added call to XFilterEvent so that key listener works with XIM (we
6888 hope). Added event_synth_type to generateKeyEvent, so that we can
6889 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6890 synthesize a press/release pair for KeySyms.
6892 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6894 * libspi/Makefile.am:
6895 * registryd/Makefile.am:
6896 (temporary) hack to include libXtst in libspi and registryd.
6897 (Needed for keystroke synthesis, see below).
6900 Improved API for registerKeystrokeListener, in accordance with
6901 discussions with Gnopernicus team and X server research.
6903 * libspi/registry.c:
6904 * libspi/deviceeventcontroller.c:
6905 * libspi/accessible.c:
6906 * libspi/keystrokelistener.c:
6907 Changes and fixes to support keylisteners for potentially
6908 consumed key events (that is, 'passive grabs').
6909 Added implementation for generateKeyEvent() [untested].
6912 Changes to registerKeystrokeListener() API, as above.
6913 Added deregisterGlobalEventListenerAll(), and
6914 deregisterKeystrokeListener(), which are needed for clean exit of
6916 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6917 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6919 * cspi/spi_registry.c:
6920 Added implementations of function prototypes mentioned above.
6922 * registryd/registryd.c:
6923 Added the key listener event source as a g_timeout(), to allow
6924 receipt of key events that are not caught by GDK (since GDK
6925 doesn't support passive keygrabs, this was necessary).
6928 Changed to attach a keylistener to 'Alt' keys, and
6929 respond to the following keycommands: Alt-M (toggle magnifier);
6930 Alt-F (toggle speech); Alt-Q (quit).
6931 Added an exit routine to deregister the listeners, and a key
6932 listener that prints some key info to the console when a key
6933 matches the listener mask (and is thus received by the listener).
6935 * util/idl/Magnifier.idl:
6936 Changes to magnifier API to support multiple zoom regions,
6937 non-uniform scaling in x and y, markDirty, and a host of other
6938 features that would be useful to magnification.
6941 * util/mag_client.c:
6942 * util/mag_client.h:
6943 * util/mag_control.c:
6945 Source code changes to support the above IDL changes.
6948 As above, and also changes to use a (slower) generic conversion
6949 path for colormap conversions, since the fast RGB conversions have been
6950 reported to fail for 16-bit displays.
6952 2001-10-26 Michael Meeks <michael@ximian.com>
6954 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6956 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6958 * at-bridge/Makefile.am: fix LDFLAGS.
6960 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6962 * at-bridge/bridge.c:
6963 Re-worked listeners for toolkit events, now we have signal
6964 and property listeners. Added a private method
6965 register_atk_event_listeners(), which registers with the
6966 various atk and gtk signals we need to monitor in order to emit
6968 Added emission hook for AtkObject:property-change events, to
6969 support the 'property listeners'.
6970 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6973 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6974 which emit warnings and exit, respectively, if CORBA errors occur
6975 during remote calls, and we now use these methods to check most of
6976 our CORBA calls in the C bindings.
6978 * cspi/spi_accessible.c:
6979 Changed AccessibleSelection_refSelectedChild() to
6980 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6981 now increment refcounts.
6983 * cspi/spi_component.c:
6984 Fixed some long pointer casts (dangerous!) to pass pointers to
6985 CORBA_longs of the proper type to the CORBA stubs, and copy the
6986 data into the longs that were passed into the C bindings code.
6988 * at-bridge/bridge.c:
6990 * libspi/accessible.c:
6991 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6992 hyperlinks, AtkHyperlink is an object type.
6994 * libspi/application.c:
6995 Added various conversions to and from "generic" event types and
6996 atk-specific types; this is really part of the 'bridge'
6997 implementation but is valid for all AtkObject-based accessibility
7000 * libspi/editabletext.c:
7001 Fixed nasty bug wherein editable text's finalize method was
7002 unref'ing tha AtkObject reference that the text parent class was
7003 about to unref _again_. There was also a nasty inheritance bug
7004 that meant that the AccessibleEditableText class was corrupt.
7006 * libspi/selection.c:
7007 Provided implementations for some selection API that was broken.
7009 * idl/Application.idl:
7010 Added registerObjectEventListener () method.
7013 Fixed a number of return values that were Bonobo_Unknowns from
7014 bonobo_object_corba_objref(), which I
7015 forgot to dup before returning. Changed instances of
7016 bonobo_object_corba_objref (bonobo_object(o)) to
7017 BONOBO_OBJREF(o), for concision and clarity.
7019 2001-10-13 Louise Miller <louise.miller@sun.com>
7021 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7022 idl/Event.idl, idl/Registry.idl
7023 Changed these files to include Bonobo_Unknown.idl instead
7026 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7028 * libspi/component.c libspi/component.h:
7029 Fixed typo. Added assertions for object checks in
7030 AccessibleComponent code.
7032 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7034 * idl/Accessible.idl:
7035 Added 'isEqual (Accessible *object)'
7036 method for Accessible. (Not Yet Implemented).
7039 Changed signature of registerKeystrokeListener() to
7040 take a KeySet and KeyEventSeq so that specific keys and event
7041 types could be requested for monitoring, and added a flag
7042 is_synchronous so that either synchronous or asynchronous
7043 notification could be requested. (However this is not all
7044 implemented yet). This also meant adding two new typedefs,
7045 KeyEventSeq and KeySet.
7048 Added two new relations, RELATION_TOOLTIP_FOR and
7049 RELATION_LEAFNODE_OF.
7052 Added new state, STATE_HAS_TOOLTIP.
7054 * libspi/text.c, editabletext.c:
7055 Added new assertions to all casts of bonobo-objects from
7056 CORBA servants, to prevent Text API calls on non-text objects.
7057 Changed suspect casts of int-pointer types, so that we
7058 always send a valid CORBA_long pointer to the CORBA APIs that use
7059 in/out long parameters. We then have to copy from the CORBA_long
7060 into the regular long or int for return to the C bindings, or
7061 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7064 * libspi/deviceeventcontroller.c:
7065 Cleaned these sources up.
7067 Changed return type for getCharacterAtOffset to
7068 CORBA_unsigned_long, to allow for 32-bit characters.
7071 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7075 Fixed 'make dist' so that distro compiles...
7076 * libspi/keymasks.h:
7078 * cspi/spi-listener.c:
7079 KeystrokeListenerCB now returns a boolean.
7081 Added KeyEventType struct, and KeyStroke.
7082 Also added createKeystrokeListener(),
7083 KeystrokeListener_addCallback(),
7084 KeystrokeListener_removeCallback(), and added a keymask to
7085 registerKeystrokeListener().
7086 * cspi/spi_accessible.c:
7087 Changed numerous return types for interfaces from
7088 AccessibleComponent to Accessible<InterfaceName>; this was
7089 probably a cut-and-paste error.
7091 Implementations of new KeystrokeListener api (from spi.h,
7094 Changes to key modifier mapping.
7095 Created ControllerEventMask struct.
7096 Made DeviceEventController derive from Bonobo::Unknown.
7098 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7099 * libspi/deviceeventcontroller.c:
7100 Added a number of new internal (private) methods.
7101 * libspi/editabletext.c:
7102 * libspi/editabletext.h:
7103 Fixed a number of bugs related to the fact that
7104 editabletext inherits from text. Fixed the EditableText struct,
7105 the init() call, and use correct casts when calling Text methods
7106 from an EditableText object. Removed (duplicate) atko from the
7107 EditableText structure, we use the one in the parent Text
7108 structure via the casts mentioned above.
7109 * libspi/keystrokelistener.[ch]:
7110 * libspi/registry.c:
7111 Changes in support of keyboard handling (above).
7113 Keyboard handling, though partly functional, is still not
7114 recommended for at-spi client use as there is considerable
7115 work yet to be done.
7118 Changed some places where pointers to various int types
7119 are cast to be pointers to CORBA_long types and vice-versa:
7120 pointer casting is not safe so we pass pointers of the correct
7121 types and then cast the result before putting it into the target
7124 * libspi/text.h: minor typos corrected.
7126 We now speak not only the name of a Text element, but the
7127 first sentence of its content, when it receives focus.
7128 I also changed the text compression to 75% from 50%.
7129 * util/Accessibility_Util.server.in:
7130 Changed the default magnifier type to be a 3x vertical
7131 splitscreen magnifier (was previously a 2x horizontal one).
7133 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7135 * libspi/keystrokelistener.h:
7136 * libspi/keystrokelistener.c:
7137 Initial functional implementations of KeystrokeListener.
7140 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7142 Fixed string handling for NULL strings in libspi.
7143 Added spi_freeString to free strings returned by C bindings.
7145 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7147 * libspi/keystrokelistener.h:
7148 * libspi/keystrokelistener.c:
7149 Began (no-op) implementations of KeystrokeListener
7151 * libspi/deviceeventcontroller.c:
7152 * libspi/deviceeventcontroller.h:
7153 Began creating implementations of DeviceEventController,
7154 to handle keystroke and mouse event listening and
7156 * libspi/accessible.c:
7157 Stubbed-in the implementations for
7158 Accessibility_Accessible_getState and
7159 Accessibility_Accessible_getRelationSet.
7160 * libspi/registry.c:
7161 Improved de-registration process and fixed some bugs,
7162 deregistration now works correctly.
7164 Added initialization of applications list (to NULL).
7166 Reduced speech compression from 0.5 to 0.7, for demo.
7167 Changed call to gdk_window_set_decorations()
7168 to gtk_window_set_decorated().
7169 * at-bridge/bridge.c:
7170 Bridge now deregisters when app exits, via
7171 registration of a cleanup function
7172 with the g_atexit() call.
7173 Required making 'app' static, renamed 'this_app'.
7174 Fixed broken use of bonobo_init, passing argv wrongly.
7176 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7180 Created a new directory for
7181 accessibility-related utilities, primarily for
7182 testing and demo purposes, but with possible
7189 Onscreen magnifier utility that
7190 is implemented as a bonobo service.
7192 * util/mag_client.c:
7193 * util/mag_client.h:
7194 Client-side support (simple C bindings)
7195 for Magnification service
7197 * util/mag_control.c:
7198 Client program example for
7199 Magnification service
7201 * util/Accessibility_Magnifier.server.in:
7202 Bonobo-activation file for the
7203 Magnification service.
7206 * util/idl/Magnifier.idl:
7207 IDL defining the bonobo Magnification
7211 Modifications to use the bonobo-activated magnifier
7212 above, in place of trying to connect to an existing
7213 magnifier that uses socket-listening IPC.
7215 If env variable MAGNIFIER is set, a magnifier service
7216 will be started if one does not exist.
7218 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7220 * at-bridge/bridge.c:
7221 applied patch from Marc to build and run
7222 against new glib and gtk+ (seemed like a change
7223 to bonobo_init signature was made ?)
7225 made festival-server support turned off by default.
7226 Added support for a simple magnifier (off by default)
7227 which will be added to a 'util' directory later.
7228 * at-bridge/Makefile.am:
7229 Changed "application.h" header from a 'source'
7230 to a 'dependency' of libat-bridge.
7232 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7241 Added interface implementation c files to list of
7242 includes so they are included in libcspi.
7245 Changed prototype of AccessibleAction_doAction to return a
7247 Changed prototype of AccessibleTable_getCaption to
7248 return an Accessible.
7249 Changed prototype of AccessibleTable_getSelectedRows
7250 and AccessibleTable_getSelectedColumns to
7251 return a long (returns the number of selected rows
7252 or columns respectively).
7253 Changed name of AccessibleText_refRunAttributes to
7254 AccessibleText_getAttributes.
7255 Changed prototype of AccessibleText_getCharacterExtents to
7256 return a void rather than a boolean.
7257 Added support for a AccessibleCoordType parameter
7258 specifying what type of coordinates are desired.
7259 Added an AccessibleCordType parameter to
7260 AccessibleText_getPointAtOffset.
7262 * cspi/spi_accessible.c:
7263 Added code to return the outstanding interfaces from
7264 Accessible_queryInterface.
7266 * cspi/spi_action.c:
7268 Corrected call to getNActions to call the c binding
7271 * cspi/spi_editabletext.c:
7273 Changed name from setRunAttributes to setAttributes.
7275 * cspi/spi_hyperlink.c:
7277 Changed call to getNAnchors to correctly call the c
7278 binding for an attribute.
7280 * cspi/spi_hypertext.c:
7282 Changed getImageDescription to correctly call the
7283 binding for an attribute.
7285 * cspi/spi_selection.c:
7286 Changed getNSelectedChildren to correctly call the c
7287 binding for the attribute.
7288 Changed refSelectedChild to getSelectedChild.
7292 Changed getCaption to return an Accessible.
7293 Fixed calls which retrieve attributes.
7294 Changed refAt to getAccessibleAt.
7295 Changed getNSelectedRows and getNSelectedColumns to
7299 Changed getCharacterExtents and getPointAtOffset to accept an
7300 AccessibleCoordType.
7302 Changed calls which retrieve attributes.
7303 Changed refRunAttributes to getAttributes.
7308 * idl/Hyperlink.idl:
7309 Changed n_anchors attribute to nAnchors to keep naming
7310 convention consistent.
7313 Made Table inherit from Bonobo::Unknown.
7314 Added nSelectedColumns and nSelectedRows attributes.
7317 Made Value inherit from Bonobo::Unknown.
7319 * libspi/hyperlink.c:
7320 Change for nAnchors attributte name change.
7322 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7330 Added interface implementation c files to list of
7331 includes so they are included in libcspi.
7334 Changed prototype of AccessibleAction_doAction to return a
7336 Changed prototype of AccessibleTable_getCaption to
7337 return an Accessible.
7338 Changed prototype of AccessibleTable_getSelectedRows
7339 and AccessibleTable_getSelectedColumns to
7340 return a long (returns the number of selected rows
7341 or columns respectively).
7342 Changed name of AccessibleText_refRunAttributes to
7343 AccessibleText_getAttributes.
7344 Changed prototype of AccessibleText_getCharacterExtents to
7345 return a void rather than a boolean.
7346 Added support for a AccessibleCoordType parameter
7347 specifying what type of coordinates are desired.
7348 Added an AccessibleCordType parameter to
7349 AccessibleText_getPointAtOffset.
7351 * cspi/spi_accessible.c:
7352 Added code to return the outstanding interfaces from
7353 Accessible_queryInterface.
7355 * cspi/spi_action.c:
7357 Corrected call to getNActions to call the c binding
7360 * cspi/spi_editabletext.c:
7362 Changed name from setRunAttributes to setAttributes.
7364 * cspi/spi_hyperlink.c:
7366 Changed call to getNAnchors to correctly call the c
7367 binding for an attribute.
7369 * cspi/spi_hypertext.c:
7371 Changed getImageDescription to correctly call the
7372 binding for an attribute.
7374 * cspi/spi_selection.c:
7375 Changed getNSelectedChildren to correctly call the c
7376 binding for the attribute.
7377 Changed refSelectedChild to getSelectedChild.
7381 Changed getCaption to return an Accessible.
7382 Fixed calls which retrieve attributes.
7383 Changed refAt to getAccessibleAt.
7384 Changed getNSelectedRows and getNSelectedColumns to
7388 Changed getCharacterExtents and getPointAtOffset to accept an
7389 AccessibleCoordType.
7391 Changed calls which retrieve attributes.
7392 Changed refRunAttributes to getAttributes.
7397 * idl/Hyperlink.idl:
7398 Changed n_anchors attribute to nAnchors to keep naming
7399 convention consistent.
7402 Made Table inherit from Bonobo::Unknown.
7403 Added nSelectedColumns and nSelectedRows attributes.
7406 Made Value inherit from Bonobo::Unknown.
7408 * libspi/hyperlink.c:
7409 Change for nAnchors attributte name change.
7412 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7414 implementations-- made server implementations own AtkObject pointers
7415 rather than their respective AtkInterrface pointers to fix
7416 refcounting. AtkHyperlink is still broken.
7418 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7419 * cspi/spi_accessible.c:
7420 Added method Accessible_Role_getName(),
7421 and requisite string array (role_names).
7422 Added conversion string_from_corba_strin() call
7423 to Accessible_getName and _getDescription.
7424 * libspi/accessible.c:
7425 Added implementation for Accessible_getRole()
7427 Added festival support, used if environment variable
7430 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7432 * at-bridge/bridge.c:
7433 Now allocate Accessibility_Event using
7434 Accessibility_Event__alloc() instead of g_new0().
7435 * libspi/accessibleeventlistener.c:
7436 Initialize AccessibleEventListener->callbacks to NULL.
7437 Fixed accessible__event_listener_init() param, changed to
7438 "AccessibleEventListener *" type.
7439 Changed a bonobo_object_release_unref() call to
7440 Accessibility_Accessible_unref().
7441 * libspi/listener.c:
7442 Changed Bonobo_Unknown_unref to (equivalent)
7443 Accessibility_Accessible_unref.
7444 * libspi/registry.c:
7445 Changed bonobo_object_release_unref to
7446 Accessibility_Accessible_unref.
7448 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7451 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7452 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7453 spi-util.c spi-util.h
7454 Implementations for C bindings to remaining accessibility
7457 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7460 changed return value of Action from void to boolean to
7461 bring in line with ATK.
7464 Changed getText funcions to return "out" start and end offsets.
7465 Changed getAttributes to take and offset and return the start
7466 and end offset of the attribute run.
7467 Changed getOffsetAtPoint and getCharacterExtents to take an
7468 enum describing whether coordinates are window or screen.
7471 libspi/action.c libspi/action.h libspi/editabletext.c
7472 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7473 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7474 libspi/image.h libspi/selection.c libspi/selection.h
7475 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7476 libspi/value.c libspi/value.h
7477 Added server implementations for outstanding ATK interfaces
7478 not yet implemented.
7480 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7483 Added (missing) getName() method.
7484 Made nActions an attribute.
7485 * idl/EditableText.idl:
7486 Changed order of params in setAttributes.
7487 * idl/Hyperlink.idl:
7488 Removed getAnchor, added getURI.
7490 Changed attributes to methods, for efficiency
7491 (so that getting extents can be done in one call)
7492 * idl/Selection.idl:
7493 Changed nSelectedChildren to attribute, and re-indented.
7494 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7496 * idl/Text.idl: reformatted to match our coding style.
7497 (temporarily?) removed getRowColumnAtOffset().
7498 Changed text selection API to support multi-select and
7499 non-contiguous selections, as in ATK.
7500 * idl/Value.idl: changed some methods to attributes.
7502 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7504 * libspi/listener.c(impl_notify_event):
7505 BonoboUnkown_unref the source instead
7506 of bonobo_object_release_unref - the ORB
7507 handles the releasing.
7509 * configure.in: require ORBit-2.3.94 for
7512 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7514 Tagged CVS repository 'EA_1_0'.
7515 * README.EARLY_ACCESS:
7516 Alphabetized acknowledgements list, and
7518 Listed some known dependencies of at-spi.
7520 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7522 * docs/at-spi-docs.sgml:
7523 * docs/at-spi-sections.txt:
7524 * docs/at-spi-overrides.txt: (Added zero-length file)
7525 Documentation improvements - gtk-doc should build
7526 docs for all implemented C bindings now.
7529 * cspi/spi.c: (New file)
7530 * cspi/spi_event.c: (New file)
7531 * cspi/spi_registry.c: (New file)
7532 * cspi/spi_accessible.c: (New file)
7533 * cspi/spi_application.c: (New file)
7534 * cspi/spi_component.c: (New file)
7535 Split spi_main.c into six parts, and included them from
7536 "spi.c". This is a bit of a hack, probably temporary,
7537 but required by gtk-doc, apparently.
7539 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7542 * docs/at-spi-docs.sgml:
7543 * docs/at-spi-sections.txt:
7545 Initial checkins/modifications for gtk-doc generation.
7548 Added (missing) interface query methods to Accessible's C binding.
7550 Added GenericInterface type definition.
7552 Added query for AccessibleComponent interface to focus event handler.
7553 Added printout of bounding box for focussed component.
7554 * libspi/component.c:
7555 Added partial implementation for AccessibleComponent to C binding.
7556 * idl/Application.idl:
7557 * libspi/registry.c:
7558 * libspi/listener.c:
7559 * libspi/application.c:
7560 * libspi/application.h:
7561 Changed "ID" attribute type from string to long.
7563 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7567 Made method naming consistent: methods taking object args
7568 start with uppercase, other methods (except those using
7569 acronyms) start with lowercase. Underscores delimit between
7570 object names and method names:
7571 SPI_init() - uppercase since it starts with an acronym.
7572 getDesktopCount () - lowercase start since no object param0.
7573 Accessible_getName() - uppercase object type name, studlyCaps method
7577 Added gtk-doc documentation for all currently implemented
7578 methods in the C bindings API.
7580 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7582 * Makefile.am : changed build order to build test last.
7585 Changed "createEventListener" to "CreateEventListener".
7586 * libspi/accessibleeventlistener.c :
7587 Bugfix for addition of callbacks.
7588 * test/Makefile.am :
7589 * test/simple-at.c :
7590 Added new test that uses the C bindings API.
7592 * libspi/listener.c :
7593 * libspi/registry.c :
7594 * libspi/accessibleeventlistener.c :
7595 * at-bridge/bridge.c :
7596 Renamed member "target" of Accessibility_Event to "source",
7597 which is more descriptive.
7600 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7604 * cspi/Makefile.am :
7605 Added makefile support for at-spi/cspi directory.
7608 * cspi/spi-listener.h : (NEW FILE)
7609 Added support for/use of spi-listener.h.
7611 C bindings now build successfully, with no warnings.
7612 * libspi/accessibleeventlistener.h : (NEW FILE)
7613 * libspi/accessibleeventlistener.c : (NEW FILE)
7614 * libspi/Makefile.am :
7615 Added new object type "AccessibleEventListener"
7616 which inherits from Listener, and allows attachment
7617 of in-process callbacks (so that a client with a listening
7618 object instance can add functionality to the local
7619 implementation, dynamically).
7621 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7623 * libspi/accessible.c:
7624 Add implementation for get_index_in_parent().
7626 Added #include of "spi-roletypes.h", and
7627 added enumerated type AccessibleCoordType.
7628 Added definition for KeystrokeListener (function type).
7631 * cspi/spi-statetypes.h :
7632 * cspi/spi-roletypes.h :
7634 Added these headers, used by spi.h.
7636 Added code (NOTE: not yet built by make).
7638 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7640 * libspi/Makefile.am: generate imodule
7641 at the same time as other idl compiler
7644 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7645 * libspi/registry.c :
7646 * libspi/application.c :
7647 * idl/Application.idl :
7648 Made registration with toolkit an application method,
7649 which is required since each app has its own toolkit static
7650 environment. Thus the bridge must register for
7651 notification of toolkit events from each application in turn.
7652 Toolkit notifications are now successfully registered for, and
7653 sent to the listening at client.
7655 Changed toolkit event string to use hyphens rather than underscores.
7656 * libspi/listener.c :
7657 listner now gives more info in debug mode - it reports the
7658 name of the event received, as well as the name of the source.
7661 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7663 * libspi/registry.c :
7664 added more implementation for toolkit events.
7665 Fixed bug such that toolkit event registrations
7666 (via atk) use the whole event name string, not
7668 Removed a useless call to an ORBit_ method.
7669 * at-bridge/bridge.c :
7670 Removed unused local sbuf[] variable.
7672 We now register for Gtk:GtkWidget:button_press_event
7673 events as well as "focus:" events.
7675 Add some more API from Registry.idl that was missing,
7676 for keystroke listening, keystroke and mouse event
7677 synthesis, and enumeration of accessible desktops.
7679 2001-08-16 Michael Meeks <michael@ximian.com>
7681 * configure.in: use AM_GLIB_GNU_GETTEXT.
7683 * Makefile.am (SUBDIRS): kill intl.
7685 2001-08-15 Michael Meeks <michael@ximian.com>
7687 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7689 * configure.in: upd.
7691 * configure.in: depend on a recent bonobo-activation that
7692 will find our server files ...
7694 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7696 * libspi/accessible.c : accessible_new() :
7697 Now we add the Component interface via bonobo_object_add_interface,
7698 if the contained AtkObject implements AtkComponent.
7699 * libspi/accessible.h : now include "component.h"
7700 * libspi/component.h :
7701 * libspi/component.c : added files - implementation of
7702 bonobo wrapper object for Accessibility/Component
7703 * libspi/listener.c :
7704 Added test code to check for Accessibility/Component:1.0
7705 interface and report whether it is implemented by the
7707 * libspi/registry.c :
7708 Now we check for not only the hash of the whole event
7709 string before relaying the event, we also check the
7710 "minor" event string (without the detail string).
7711 This allows event listeners to be registered against
7712 all events of a certain major+minor type, or just
7713 against a specific major+minor+detail type.
7714 * libspi/accessible.c :
7715 Added implementations for Accessible:get_parent(),
7716 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7717 * libspi/registry.c :
7718 * libspi/listener.c :
7719 Replaced calls to Accessibility_Accessible_ref() and
7720 Accessibility_Accessible_unref() with
7721 calls to bonobo_object_dup_ref() and
7722 bonobo_object_release_unref(), so that the CORBA object
7723 is dup-ed and released when relayed, as well as the bonobo object.
7725 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7727 * libspi/Makefile.am,
7728 registryd/Makefile.am,
7729 at-bridge/Makefile.am.
7730 test/Makefile.am, configure.in:
7731 reverse previous changes.
7733 * /idl/Image.idl: fix typo.
7735 * test/Makefile.am: put DEBUG_FLAGS
7738 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7740 * test/app.c: use argv[0] instead of
7743 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7745 * libspi/Makefile.am,
7746 registryd/Makefile.am,
7747 at-bridge/Makefile.am.
7748 test/Makefile.am, configure.in:
7749 cleanup, replace individual LIBS/CFLAGS with
7750 AT_COMMON_{LIBS|CFLAGS}.
7754 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7756 * configure.in, libspi/Makefile.am:
7757 Change IDL path checking for bonobo-activation
7760 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7762 * registryd/registry.c : separated event listeners to use
7763 3 separate lists (focus, window, toolkit). Began testing
7764 event names against hashes before relaying events.
7765 * test/at.c : now register for events of type "focus:"
7766 * test/app.c : now generate events of type "focus:"
7767 * at-bridge/bridge.c : register with ATK for focus events,
7768 and we now relay those focus events to any "focus:" listeners.
7769 This now works with the bridge as a GTK_MODULE when running test/at.
7770 * libspi/registry.c :
7771 * libspi/listener.c :
7772 now we ref event sources before propagating, and unref on receipt.
7773 * libspi/registry.c :
7774 some changes to internal structs, to support event typestring hashes.
7775 * text/app.c : changed the way the appname is generated.
7776 * cspi : added directory that will hold the C bindings library for
7777 non-CORBA/bonobo-savvy clients.
7778 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7779 * idl/Component.idl : added in parameter to indicate coord system for
7780 geometry-related calls.
7781 * idl/Hyperlink.idl : added readonly n_links attribute
7782 * idl/Image.idl : changed methods to attributes.
7784 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7786 * at-bridge/Makefile.am: link against
7787 ../libspi/libspi.la instead of -lspi.
7789 * at-spi/test/app.c: include
7790 bonobo-activation.h. Use a default appname
7791 if one is not provided.
7793 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7795 * idl/Registry.idl : temporarily changed register_Application
7796 to oneway, to work around issue with initial registration
7798 * idl/Application.idl : changed attribute "id" from readonly
7799 to read-write, since it needs to be assigned by Registry.
7800 * registryd/registryd.c : added call to set application id
7802 * registryd/registry.c : changed de-registration procedure to
7803 use CORBA_Object_hash() to find matching object ref in application
7804 lists and listener lists.
7805 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7806 began distinguishing between event types (work in progress).
7808 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7811 * libspi/application.c:
7812 Added implementations for get/set id, get_toolkitName,
7814 * registryd/registryd.c :
7818 Converted from use of OAF to bonobo-activation.
7819 * libspi/desktop.h :
7820 * libspi/desktop.c :
7822 Removed references to atksimpleobject, since base atkobject
7823 implementation now provides functionality we need.
7824 * libspi/atksimpleobject.c :
7825 * libspi/atksimpleobject.h :
7830 * at-bridge/Makefile.am
7831 * at-bridge/bridge.c
7834 Added directory "bridge" and contents, and added dependencies
7835 in Makefile.am/configure.in.
7836 Initial checkin of "at-bridge".
7837 This code is a GTK_MODULE which automatically registers
7838 GTK+ apps with the accessibility registry, using an object
7839 reference to the root ATK object.
7841 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7843 * po/Makefile.in.in: Remove. Again. If this
7844 doesn't get autogenerated - you need to update
7847 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7849 * po/Makefile.in.in: Add. Again.
7851 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7853 * libspi/accessible.c : added support for 'description' property.
7854 * libspi/accessible.c
7856 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7857 (since the two are now equivalent in libbonobo)
7865 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7866 Bonobo::Unknown as does Accessibility::Accessible.
7867 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7868 interface with Bonobo::Stream, since it was redundant with it.
7869 (The Stream returned by a StreamableContext object is expected to
7870 implement only a subset of Bonobo::Stream)
7872 2001-07-28 Anders Carlsson <andersca@gnome.org>
7874 * libspi/accessible.c (accessible_object_finalize): Change
7875 g_free to g_object_unref since the AtkObject is a GObject.
7877 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7879 * idl/Accessibility.idl: add new IDL files
7882 * idl/Action.idl: Definitions of actionable UI object
7883 * idl/Component.idl: Definitions of UI component geometry, etc.
7884 * idl/Hyperlink.idl: Defs of hyperlink behavior
7885 * idl/Image.idl: Def of accessible image
7886 * idl/Selection.idl: Definition of UI object with selectable children
7887 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7888 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7889 * idl/Text.idl: Interface defs for UI elements with complex textual content
7890 * idl/Value.idl: Definition of UI element that is a value controller or display
7892 2001-07-27 Michael Meeks <michael@ximian.com>
7894 * po/Makefile.in.in: remove autogenerated file from CVS.
7896 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7899 * idl/Registry.idl: include guard.
7901 * idl/Accessibility.idl: Add, and include all the other IDL
7904 * idl/*.idl: remove mass of pragmas etc.
7906 2001-07-26 Michael Meeks <michael@ximian.com>
7908 * registryd/Makefile.am (registryd_SOURCES): remove
7911 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7913 * libspi/.cvsignore, registryd/.cvsignore,
7914 test/.cvsignore: updated.
7916 * po/Makefile.in.in: gettext update.
7918 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7920 * initial CVS checkin
7922 2001-06-29 Michael Meeks <michael@ximian.com>
7924 * configure.in: add AM_CONFIG_HEADER to gen config.h