1 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
4 Revved to 1.7.10, and edited the Xevie check (bug #319994).
6 * idl/Accessibility.idl:
7 Reworked inclusion of Bonobo_Unknown.idl, to
8 avoid double-linking libs in the Bonobo environment.
9 Thanks to Michael Meeks for the workaround, see bug #313122.
11 * registryd/deviceeventcontroller.c:
12 (spi_controller_notify_keylisteners):
13 Set the SPI_NUMLOCK_MASK bit if the modifier
14 corresponding to the conceptual numlock state is set.
17 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
19 * idl/Accessibility_Selection.idl:
20 (deselectChild): New method.
23 (impl_deselectChild): Implement the new IDL method.
26 (AccessibleSelection_deselectChild): Added new method.
28 * cspi/spi_selection.c:
29 (AccessibleSelection_deselectChild): New method implemented.
31 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
33 * cspi/bonobo/cspi-bonobo.c:
34 (cspi_init): Replace g_error with g_warning, prevent
35 SEGV if the registry cannot be activated. Bug #346393.
37 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
39 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
41 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
42 2006-07-12 Ariel Rios <arios@us.ibm.com>
46 * idl/Accessibility_Table.idl:
47 (getRowColumnExtentsAtIndex): New method for getting
48 selection status and extents in one API call.
51 (impl_getRowColumnExtentsAtIndex): Implementation of
53 (spi_table_class_init): Add above to epv.
57 (AccessibleTable_getRowColumnExtentsAtIndex): New
58 method, retrieves selection status and row/col extents
59 for a table cell in a single API call.
61 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
62 2006-07-12 Ariel Rios <arios@us.ibm.com>
64 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
67 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
68 New bindings for new methods defined in idl and libspi.
71 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
72 Added prototype functions.
75 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
77 (spi_text_class_init): Added previous methods.
80 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
81 * libspi/spi-private.h: Corrections.
83 2006-06-29 Bill Haneman <bill.haneman@sun.com>
85 Added Document interface (see bug #326520),
86 with work from Ariel Rios <arios@us.ibm.com>.
88 * configure.in: Bump to 1.7.8.
90 * libspi/Makefile.am: Added document.[ch] to sources
93 (SpiDocument, SpiDocumentClass):
94 New interface implementation.
95 (spi_document_get_type, spi_document_construct)
96 (spi_document_interface_new): New methods added.
97 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
98 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
99 Added macros for SpiDocument
103 (spi_document_interface_new): Get a
104 new document interface. New.
105 (get_document_from_servant): Get an AtkDocument from servant New.
106 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
107 Implementation of methods defined on idl.
108 (spi_document_class_init, spi_document_init)
109 Init methods for SpiDocument. new
111 * idl/Accessibility.idl: Added Accessibility_Document.idl.
113 * cspi/Makefile.am: Added spi_document.c to sources.
115 * cspi/spi_document.c:
116 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
117 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
118 (AccessibleDocument_getAttributes): Bindings for methods defined
121 * cspi/spi_accessible.c:
122 (Accessible_isDocument, Accessible_getDocument) New.
124 (Accessible_isDocument, Accessible_getDocument)
125 (AccessibleDocument_ref, AccessibleDocument_unref)
126 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
127 (AccessibleDocument_getAttributes): Bindings added.
129 * idl/Makefile.am: Added Accessibility_Document.idl to
132 2006-06-29 Bill Haneman <bill.haneman@sun.com>
134 * idl/Accessibility_Document.idl: New interface
135 for complex documents. First stage of fix for RFE
138 2006-06-27 Bill Haneman <bill.haneman@sun.com>
140 * libspi/streamablecontent.c:
141 (impl_content_stream_close):
142 Unref the GIOChannel on close.
144 2006-06-23 Bill Haneman <bill.haneman@sun.com>
146 * idl/Accessibility_Role.idl:
147 * libspi/accessiblerole.c:
148 * cspi/spi_accessible.c: Added ROLE_LINK,
149 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
150 Bug #345758 and bug #140635.
153 2006-06-22 Bill Haneman <bill.haneman@sun.com>
157 * idl/Accessibility_StreamableContent.idl:
158 Fix derivation of StreamableContent and ContentStream.
160 * cspi/spi_streamablecontent.c:
161 (accessible_content_stream_client_read):
162 Fix the datatype of the content stream used.
163 Interpret short reads as EOF, and stop trying to
164 read when we've fulfilled the request.
165 (AccessibleStreamableContent_getContentTypes):
166 Use g_strdup, not CORBA_string_dup, for the strings.
167 (AccessibleStreamableContent_open):
168 Correctly use the new getStream method for opening,
169 not the deprecated getContent method.
170 Use the object reference as the stream hash key.
171 Make note of the 'one stream per client per streamable'
172 limitation in the docs.
175 Add streamablecontent.h to the list of #includes.
177 * libspi/streamablecontent.c:
178 (impl_content_stream_read): Initialize the GError.
179 Allocate the incoming buffer if reading a fixed length of
180 data. Use g_memmove instead of memcpy.
181 (impl_accessibility_streamable_get_content_types):
182 Init typelist->_maximum. Only allocate the buffer if
183 there is a non-zero number of content types available.
184 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
186 * libspi/streamablecontent.h:
187 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
190 (SPI_IS_VALUE): Fix a typo in this macro too.
192 2006-06-16 Bill Haneman <bill.haneman@sun.com>
196 * idl/Accessibility_StreambleContent.idl:
197 Deprecate the Bonobo_Stream-based methods in favor of
198 a self-contained "ContentStream" interface. This should
199 allow us to remove BonoboStream dependencies entirely, since
200 there were no non-NIL implementations of the old methods anyway.
201 (ContentStream): New interface.
202 (ContentStream::SeekType): Enum.
203 (ContentStream::seek): New.
204 (ContentStream::read): New.
205 (ContentStream::close): New.
206 (getContent): Deprecate.
207 (getURI): New method, returns a URI pointing to the content, if available.
209 * libspi/streamablecontent.c:
210 (SpiContentStream): Internal object type definition used to
211 implement Accessibility::StreamableContent::ContentStream via
212 AtkStreamableContent's GIOChannel back-end.
213 (spi_content_stream_new, spi_content_stream_dispose): See above;
215 (impl_content_stream_seek, impl_content_stream_read):
216 (impl_content_stream_close): New, implementations of
218 (impl_accessibility_streamable_get_stream): Implement the
219 public method Accessibility::StreamableContent::getStream.
220 (impl_accessibility_streamable_get_uri): Implement the
221 public method Accessibility::StreamableContent::getURI.
223 * cspi/spi_streamablecontent.c:
224 (accessible_bonobo_stream_client_seek): Replaced by
225 (accessible_content_stream_client_seek).
226 (accessible_bonobo_stream_client_read): Replaced by
227 (accessible_content_stream_client_read).
228 (AccessibleStreamableContent_open):
229 (AccessibleStreamableContent_seek):
230 (AccessibleStreamableContent_read):
231 (AccessibleStreamableContent_close): Use the new 'getStream'
232 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
234 2006-06-15 Bill Haneman <bill.haneman@sun.com>
236 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
237 remove from other .idl files (except LoginHelper).
240 2006-06-14 Bill Haneman <bill.haneman@sun.com>
242 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
245 * configure.in, */Makefile.am: mingw patch, modified from
246 original patch by yselkowitz. Bug #314216.
248 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
249 for completeness. Bug #163111.
251 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
252 * libspi/util.c, registryd/registry-main.c:
253 Fix guint/char* casts.
254 Patch from chpe, bug #333883.
256 2006-06-12 Bill Haneman <bill.haneman@sun.com>
258 * configure.in: Require atk-1.12.0, to pick up
259 new API. (bug #344412).
261 * libspi-1.0-uninstalled.pc.in:
263 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
264 Fix for #341488 from Samual Thibault.
266 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
267 Thanks to Brian Pepple.
269 2006-06-09 Bill Haneman <bill.haneman@sun.com>
272 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
273 New, missing implementations of attribute reading methods
276 * cspi/spi.h, spi_value.c:
277 (AccessibleValue_getMinimumIncrement): New methods wrapping
278 the (formerly unimplemented) property from Value.idl.
281 (impl_get_minimumIncrement): Implementation for retrieving
282 the minimum valuator increment, (formerly unimplemented).
285 2006-06-09 Bill Haneman <bill.haneman@sun.com>
287 * idl/Accessibility_State.idl:
288 Added STATE_VISITED (bug #338369).
290 * cspi/spi_accessible.c:
291 (spi_state_to_corba) Fixed marshalling of new statetypes.
294 (spi_init_state_tables, impl_getStates):
295 Fixed conversion of new statetypes to/from ATK.
297 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
299 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
300 definitions/conversions for new roles from ATK.
302 * idl/Accessibility_Relation.idl:
304 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
305 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
306 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
308 * libspi/accessible.c: Fixed marshalling of new role types from
311 2006-04-17 Matthias Clasen <mclasen@redhat.com>
313 * revert my previous change
315 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
317 * configure.in: Remove obssolete no_NO locale
318 * po/no.po: And the translation.
320 2006-04-05 Matthias Clasen <mclasen@redhat.com>
322 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
323 memory-management error that caused crashes on x86_64.
326 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
328 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
330 2006-03-27 Bill Haneman <bill.haneman@sun.com>
332 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
333 to strip "cspi_*" from the symbol table.
335 * cspi/spi_streamablecontent.c:
336 (get_streams): Make this method static.
339 (_cspi_exception_throw): rename to cspi_exception_throw,
340 so we can strip it with the rest...
343 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
345 2006-03-27 Bill Haneman <bill.haneman@sun.com>
347 Add doxygen-generated IDL docs to tarball, and enable
348 doxygen during build/install when available. Bug #301345.
350 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
352 * docs/reference/Makefile.am: Add idl to SUBDIRS.
354 * docs/reference/idl/Makefile.am: Optionally use
355 doxygen to create docs.
357 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
359 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
361 2006-03-20 Bill Haneman <bill.haneman@sun.com>
364 (impl_get_selected_rows): Don't free the selection if it's
365 empty or has not been assigned; init it to NULL so you can tell.
366 Also, allow for zero selected rows.
367 (impl_getSelectedColumns): Ditto. Bug #319088.
369 2006-03-11 Vincent Untz <vuntz@gnome.org>
371 Leak fix for bug #334217.
373 * libspi/application.c: spi_application_toolkit_event_listener():
374 don't duplicate the string we pass as an argument to
375 spi_init_any_nil() since spi_init_any_nil() already does it
376 * registryd/deviceeventcontroller.c:
377 (spi_dec_button_update_and_emit): ditto
378 (spi_dec_mouse_check): ditto
379 (spi_dec_emit_modifier_event): ditto
380 (spi_device_event_controller_forward_mouse): ditto
381 * registryd/registry.c:
382 (desktop_add_application): ditto
383 (desktop_remove_application): ditto
385 2006-02-20 Bill Haneman <billh@gnome.org>
387 * configure.in: Rev to 1.7.6.
389 Leak fixes for bug #331924.
391 * atk-bridge/bridge.c:
392 (spi_atk_bridge_init_base): Don't dup the string, it's already
393 been dup-ed. Fixes a leak.
394 (spi_atk_emit_eventv): Move the CORBA_free call here,
395 instead of spi_atk_state_event_listener; fixes another leak.
396 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
397 notifying the registry; fixes another leak.
399 * registryd/registry.c:
400 (registry_flush_event_queue): Free the CORBA_any when
401 flushing the event, not just the string. Fixes another leak.
402 (registry_queue_event): Free the CORBA_any when dropping
403 events on the floor; fixes another leak.
406 (spi_init_any_object, spi_init_any_nil):
407 Always set _release to TRUE. Fixes another leak.
409 2006-02-20 Bill Haneman <billh@gnome.org>
411 * configure.in: Rev to 1.7.5.
412 Reinstate localization of this module. Thanks for Rodney
413 Dawes for fixing my patch.
415 * registryd/Makefile.am: Remove Accessibility_Registry.server
416 from dist, since it needs to be re-created at configure time.
419 2006-01-31 Bill Haneman <billh@gnome.org>
421 * configure.in: Rev to 1.7.4 (to include build fix below).
423 * idl/Makefile.am: Include Selector.idl in dist.
427 (cspi_internal_event_get_object): Handle case where
428 "object" isn't present, i.e. CORBA_TC_Object doesn't match
429 the EventDetails data.
430 (cspi_internal_event_get_text): Handle NULL string.
431 (cspi_internal_event_get_rect): Handle missing/empty rect
432 data, Accessibility_TC_RectBounds doesn't match any_data.
434 2006-01-30 Bill Haneman <billh@gnome.org>
438 * atk-bridge/bridge.c:
439 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
440 interface and use that when instantiating a new source
441 accessible. Better fix for bug #321814.
443 2006-01-27 Bill Haneman <billh@gnome.org>
445 * idl/Accessibility_Selector.idl: Added to the cvs repository.
447 * configure.in: Revved to 1.7.3.
449 2006-01-17 Bill Haneman <billh@gnome.org>
451 * configure.in: Revved to 1.7.2, re-dist to include docs.
453 2006-01-09 Bill Haneman <billh@gnome.org>
455 * configure.in: Removed po/Makefile.in inclusion, we do not need
458 * idl/Accessibility.idl: Improved documentation here, and for all
459 IDL in the 'GNOME::Accessibility' namespace.
461 * idl/Accessibility_Accessible.idl:
462 (LOCALE_TYPE): Added enum.
463 (AttributeSet): New, for returning multiple name/value attribute pairs.
464 (RoleSet): New, sequence of Roles, to be used in upcoming
466 (getAttributes): New API, allows retrieval of name/value pair
467 annotations for all kinds of Accessible objects. C.f.
468 Text:getAttributes, which is only for typographic/textual/semantic tags in
470 (getApplication): New, retrieves the host/containing Application
471 instance for an object (without having to walk up the whole tree).
473 * idl/Accessibility_Component.idl:
474 (getAlpha): New method, returns the alpha blending (aka 'opacity')
475 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
478 * idl/Accessibility_Event.idl:
479 (EventDetails): New struct definition, for encapsulating
480 commonly-queried information about emitted events. The use of
481 this structure in emitted events (in the 'any' member of
482 Accessibility_Event) should greatly reduce the number of
483 client-server roundtrips necessary.
485 * idl/Accessibility_Image.idl:
486 (imageLocale): New, a readonly attribute indicating the POSIX
487 LC_MESSAGES locale of the image and associated Alt/descriptive
490 * idl/Accessibility_Relation.idl:
491 (RELATION_PARENT_WINDOW_OF): Include, as complement to
494 * idl/Accessibility_Role.idl:
495 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
496 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
497 complex document and form support.
499 * idl/Accessibility_State.idl:
500 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
501 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
502 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
503 for support of complex documents and forms.
505 * idl/Accessibility_StreamableContent.idl:
506 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
507 allow old bonobo-stream interfaces to be deprecated in the next
510 * idl/Accessibility_Text.idl:
511 (getAttributeValue): New method, allows query-by-name of single
514 * libspi/accessible.c:
515 Added support for new roles. Implemented new methods
516 (impl_accessibility_accessible_get_application): New
517 (impl_accessibility_accessible_get_attributes): New
519 * libspi/component.c:
520 (impl_accessibility_component_get_alpha): New.
523 (impl_accessibility_image_get_locale): New.
525 * libspi/relation.c: Added support for new relation type.
527 * libspi/stateset.c: Added support for new state types.
530 (impl_getAttributeValue): New.
533 New prototypes for private methods
535 spi_init_any_object, spi_init_any_string,
538 * libspi/spi_event.c:
539 Use EventDetails in the event emission methods.
541 * cspi/spi-private.h:
542 (cspi_role_from_spi_role): Expose this adapter method, since
543 we need it in the bridge (see below).
546 (AccessibleEvent_getSourceName):
547 (AccessibleEvent_getSourceRole):
548 (AccessibleEvent_getSourceApplication):
549 (AccessibleEvent_getSourceDetails):
550 New methods for interrogating/demarshalling
551 event details (i.e. source's accessible name, role,
554 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
555 Make use of the new EventDetails struct in events, if present.
556 (AccessibleEvent_getSourceName)
557 (AccessibleEvent_getSourceRole)
558 (AccessibleEvent_getSourceApplication)
559 (AccessibleEvent_getSourceDetails): Implement the newly exposed
561 (Accessible_getAttributes): New, wraps
562 Accessibility_Accessible_getAttributes.
563 (Accessible_getHostApplication): New, wraps
564 Accessibility_Accessible_getApplication.
567 (AccessibleImage_getImageLocale): New wrapper for
568 Accessibility_Image_get_imageLocale.
570 * cspi/spi_component.c:
571 (AccessibleComponent_getAlpha): New wrapper for
572 Accessibility_Component_getAlpha.
574 * atk-bridge/bridge.c:
575 Use new prototyped for init_any methods.
576 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
577 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
578 (spi_atk_bridge_init_base): Wrappers
579 for spi_init_any_* methods, due to refactor; include extended
580 information in the Accessibility_EventDetails struct, for instance
581 accessible-name, Role, and containing Application.
583 * registryd/registry.c:
584 Use new event emission (with EventDetails).
586 * registryd/deviceeventcontroller.c:
587 Use new event emission (with EventDetails).
589 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
591 * configure.in: Generate po/Makefile.in
592 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
593 * cspi/spi_streamablecontent.c:
594 (accessible_bonobo_stream_client_seek),
595 (AccessibleStreamableContent_seek): Remove unused vars.
596 * libspi/application.c: Missing header.
597 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
598 * login-helper/login-helper.c: (login_helper_finalize),
599 (login_helper_init): Remove unused stuff
600 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
601 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
602 and surround some with #ifdef GRAB_BUTTON.
603 * test/event-listener-test.c: (main), (report_event),
604 (report_caret_event), (report_detail_event),
605 (report_detail1_event), (report_bounds_event), (report_text_event),
606 (report_text_selection_event),
607 (report_active_descendant_changed_event),
608 (report_children_changed_event), (report_name_changed_event),
609 (report_description_changed_event), (report_parent_changed_event),
610 (report_window_event), (report_table_summary_event),
611 (report_table_header_event), (report_table_caption_event),
612 (report_table_row_description_event),
613 (report_table_column_description_event), (timing_test_event):
614 Remove a bunch of unused variables and fix a slew of format specifiers
615 * test/key-listener-test.c: (report_all_key_event): Format specifier
616 * test/keypad-test.c: (print_key_event): Same
617 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
619 * test/screen-review-test.c: (main), (print_chunk_debug),
620 (review_buffer_get_text_chunk), (debug_chunk_list),
621 (string_guess_clip), (text_chunk_get_clipped_string),
622 (text_chunk_list_to_string), (get_screen_review_line_at):
623 Remove unused variables and fix format specifiers.
624 * test/simple-at.c: (report_text_event): Format specifier fix.
625 * test/stress-test.c: (main): Remove unused var.
627 2005-12-29 Abel Cheung <maddog@linuxhall.org>
629 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
630 (yes I know that's useless)
632 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
634 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
636 2005-11-17 Michael Meeks <michael.meeks@novell.com>
638 * atk-bridge/bridge.c (spi_atk_emit_eventv):
639 urgh-fix embarassing typo.
641 2005-11-16 Michael Meeks <michael.meeks@novell.com>
643 * atk-bridge/bridge.c (spi_atk_emit_eventv):
644 do a faster, less problematic _unref call on this local
645 object, rather than a slower (potentially cross-thread
646 complicated) CORBA call.
648 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
650 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
651 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
652 * registryd/deviceeventcontroller.c:
653 (spi_controller_notify_mouselisteners),
654 (impl_generate_keyboard_event):
655 * test/screen-review-test.c: (chunk_bounds_within):
656 * test/test-simple.c: (test_desktop): Remove some unused code
657 and fix compiler warnings. Closes bug #320049.
659 2005-10-27 Bill Haneman <bill.haneman@sun.com>
661 * registryd/deviceeventcontroller.c:
662 (spi_controller_notify_keylisteners): Check
663 to make sure the event listener has requested 'preemptive'
664 status before pre-empting an event.
666 2005-08-29 Bill Haneman <bill.haneman@sun.com>
668 * configure.in, README, NEWS: Release 1.6.5.
670 2005-07-25 Matthias Clasen <mclasen@redhat.com>
672 * test/window-listener-test.c: Fix a printf
673 format error. (#169453)
675 2005-07-15 Bill Haneman <bill.haneman@sun.com>
677 * tests/test-simple.c:
678 (key_listener_cb): Ensure that the keystring is dup'ed instead of
679 relying on the old string from the key event hanging around after
680 the event handler returns. Fixes broken 'make check'.
682 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
684 * Added Marathi (mr_IN) translations.
686 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
688 * cspi/bonobo/cspi-bonobo-listener.c:
689 (cspi_event_list_remove_by_cb): Fix the build.
691 2005-05-26 Michael Meeks <michael.meeks@novell.com>
693 * cspi/bonobo/cspi-bonobo-listener.c
694 (cspi_event_list_remove_by_cb): actually filter by callback.
696 2005-05-25 Bill Haneman <bill.haneman@sun.com>
698 * registryd/registry.c (remove_listener_cb):
699 Make deregistration filter rules match the event emission rules.
701 2005-05-25 Michael Meeks <michael.meeks@novell.com>
703 * registryd/registry.c (remove_listener_cb),
704 (impl_accessibility_registry_deregister_global_event_listener),
705 (impl_accessibility_registry_deregister_global_event_listener_all):
706 pass a closure to the remove callback to filter listeners more
707 accurately on remove.
709 2005-04-05 Bill Haneman <bill.haneman@sun.com>
711 * configure.in: Revved to 1.6.4.
712 Remember to put quotes around XEVIE_LIBS assignment.
713 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
716 * tests/event-listener-test.c: Tweaked the tests - more detail
717 from caret events, and some interrogation of AccessibleText APIs.
718 Commented-out the bounds-changed events by default, since they can
721 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
723 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
724 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
725 Same here. Closes bug #167806
727 2005-04-05 Bill Haneman <bill.haneman@sun.com>
729 * atk-bridge/bridge.c:
730 (spi_atk_bridge_signal_listener):
731 Free the any._value if any._release is TRUE,
732 since the ORB won't do it for us in this case
733 [because this method is not a skel].
736 2005-03-30 Steve Murphy <murf@e-tools.com>
738 * configure.in: Added "rw" to ALL_LINGUAS.
740 2005-03-29 Bill Haneman <bill.haneman@sun.com>
742 * configure.in: Improved check for HAVE_XEVIE, to detect
743 presence on XOrg, where -lXevie is a separate library.
745 2005-03-08 Bill Haneman <bill.haneman@sun.com>
747 * configure.in, NEWS, README: Revved to 1.6.3.
749 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
751 * configure.in: Added "xh" to ALL_LINGUAS.
753 2005-02-07 Bill Haneman <bill.haneman@sun.com>
755 * atk-bridge/bridge.c:
756 (atk_bridge_init): Added missing NULL in g_strconcat(),
757 also check for symlink before logging to
758 insecure directory. Thanks to meissner@suse.de.
760 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
762 * tests/login-helper-server-test.c: Add return call to main
763 function. Patch from Chris Lahey. Fixes bug #165129.
765 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
767 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
769 2004-12-09 Bill Haneman <billh@gnome.org>
771 * registryd/registry-main.c:
772 Added #define <string.h> for strrchr. (bug 160862).
773 Thanks to Vincent Berger for catching.
775 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
777 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
778 restart registry process if the registry process is found to have died
779 and the current process is exiting.
780 (spi_atk_bridge_exit_func): Do not attempt to deregister the
781 application if the registry process has died.
782 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
783 does not return a registry object.
784 (spi_atk_tidy_windows): Give up if the registry process has died.
786 This fixes problems with hangs and crashes when logging out.
788 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
790 * registryd/desktop.c: Add checking that we are not exiting before
791 calling spi_desktop_remove_application in
792 abnormal_application_termination. Fix for bug #152147.
794 2004-12-02 Bill Haneman <billh@gnome.org>
796 * configure.in, NEWS, README: Revved to 1.6.1.
798 Patch from Padraig O'Briain <padraig.obriain@sun.com>
799 * atk-bridge/bridge.c:
800 (atk_bridge_init): Save the pid when we start, to detect forks.
801 (spi_atk_bridge_exit_func): Don't call the cleanup routines
802 if we're in a forked pid.
804 2004-10-09 Bill Haneman <billh@gnome.org>
806 * idl/Accessibility_LoginHelper.idl:
807 Improved inline documentation.
809 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
811 * configure.in: Added gl (Galician) to ALL_LINGUAS
813 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
815 * libspi/accessible.c:
816 (impl_accessibility_accessible_get_role_name),
817 (impl_accessibility_accessible_get_local_role_name):
819 * libspi/component.c:
820 (impl_accessibility_component_get_accessible_at_point):
822 * libspi/eventlistener.c: (spi_event_listener_new):
824 * libspi/stateset.c: (impl_compare): More of the same
825 * libspi/table.c: (impl_getRowDescription): Again.
826 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
827 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
828 (impl_generate_keyboard_event): Same.
829 * registryd/registry-main.c: (main): Same
830 * test/event-listener-test.c: (test_exit): Same
831 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
832 * test/keysynth-test.c: (test_key_synthesis): Same
833 * test/login-helper-server-test.c: (main): Fix warning.
834 * test/screen-review-test.c: (test_exit): Fix include.
835 * test/simple-at.c: (simple_at_exit), (_festival_init):
838 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
840 * configure.in, NEWS, README: Revved to 1.6.0.
842 2004-09-12 Bill Haneman <bill.haneman@sun.com>
844 * configure.in: Rev and re-dist, since the 1.5.4 tarball
845 was missing the HTML docs.
847 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
849 * configure.in: only cleanups:
850 - better looking PKG_CHECK_MODULES() output,
852 - declare in one common place required versions of other tools using
855 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
857 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
858 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
859 required ATK version accordingly.
861 2004-09-03 Bill Haneman <bill.haneman@sun.com>
863 * cspi/bonobo/cspi-bonobo.c:
864 (cspi_display_name): Fix C99ism.
865 * atk-bridge/bridge.c:
866 (spi_display_name): Fix C99ism.
867 Patch from Jens Granseuer, jensgr@gmx.net.
869 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
871 * configure.in: Added "or" to ALL_LINGUAS.
873 2004-08-20 Bill Haneman <bill.haneman@sun.com>
875 * configure.in, NEWS, README: Revved to 1.5.4.
877 * registryd/registry-main.c:
878 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
881 * cspi/bonobo/cspi-bonobo.c:
882 (cspi_display_name): New convenience method, gets DISPLAY with
883 screen number stripped, if AT_SPI_DISPLAY isn't already set.
884 (cspi_init): Set the activation env value above before getting
887 * atk-bridge/bridge.c:
888 (spi_display_name): Create the AT_SPI_DISPLAY activation
889 environment for an app, based on the DISPLAY environment with the
890 screen number stripped off.
891 (atk_bridge_init): Allow redirection of error messages to a log.
892 (spi_atk_bridge_get_registry): Call
893 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
895 Fixes for bugs #149962, #136986, #144086.
897 2004-08-16 Christian Rose <menthos@menthos.com>
899 * configure.in: Added "bs" to ALL_LINGUAS.
901 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
903 * configure.in: Added nb to ALL_LINGUAS.
905 2004-09-03 Bill Haneman <bill.haneman@sun.com>
908 (SPI_init): Return error code '2' if the activated
909 registry cannot be pinged. Fixes bug #147648.
911 2004-07-28 Bill Haneman <bill.haneman@sun.com>
913 * registryd/deviceeventcontroller.c:
914 (spi_dec_init_mouse_listener): Don't do XGrabButton,
915 rely on timer-poll instead, to avoid conflict with
918 2004-07-20 Bill Haneman <bill.haneman@sun.com>
920 * configure.in: Revved to 1.5.3.
922 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
924 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
926 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
928 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
930 2004-06-11 Bill Haneman <bill.haneman@sun.com>
932 * atk-bridge/bridge.c:
933 (spi_atk_bridge_do_registration):
934 Register with ATK for AtkComponent:bounds-changed events.
935 (api_atk_bridge_signal_listener):
936 Marshal the AtkRectangle info into the event notification
937 for object:bounds-changed events.
940 (spi_init_any_rect): New method, inits a corba struct of
941 type Accessibility_BoundingBox from an AtkRectangle.
943 * libspi/spi-private.h: Declared spi_init_any_rect (above).
946 (SPIRect): New struct definition.
947 (SPI_freeRect): New declaration.
948 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
951 (AccessibleBoundsChangedEvent_getNewBounds): New method,
952 implemented. Gets the bounding box data from the CORBA_any
953 associated with a bounds-changed event notification.
954 (cspi_internal_event_get_rect): New, used internally by above method.
957 (SPI_freeRect): Implemented this new method, for freeing
960 * test/event-listener-test.c:
961 (main, report_bounds_event):
962 Added a test for object:bounds-changed events.
964 2004-06-01 Bill Haneman <bill.haneman@sun.com>
966 * test/login-helper-server-test.c:
967 (main): Fix C99-ism. Thanks to Jens Granseuer.
969 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
971 * libloginhelper-1.0.pc.in:
972 * idl/Accessibility_LoginHelper.idl:
973 * login-helper/Makefile.am:
974 * login-helper/login-helper.[ch]:
975 * test/login-helper-client-test.c:
976 * test/login-helper-server-test.c: Added files missing from CVS.
977 Files obtained from at-spi-1.5.2 tarball.
979 2004-05-27 Bill Haneman <bill.haneman@sun.com>
981 * configure.in: Create login-helper/Makefile.
982 Incremented micro version.
984 * Makefile.am: Add login-helper subdir and pkgconfig data.
986 * login-helper: New subdir.
988 * libloginhelper-1.0.pc.in: New.
990 * idl/Accessibility_LoginHelper.idl: New file, defines
991 interface whereby authentication clients can identify agents which
992 need access to services during the login process, e.g. screen lock
995 * login-helper/Makefile.am : New.
997 * login-helper/login-helper.[ch] : New, implementation of
998 a LoginHelper base class. Services needing LoginHelper can subclass.
1000 * test/Makefile.am : Added test for login-helper, client and
1003 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1004 Use proper prefix in #include files.
1006 * test/login-helper-client-test.c: New.
1008 * test/login-helper-server-test.c: New.
1010 2004-05-27 Alexander Shopov <ash@contact.bg>
1012 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1014 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1016 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1017 is positive. This should make it easier to detect inapprorpiate unref
1020 2004-05-11 James Henstridge <james@daa.com.au>
1022 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1023 no-op and deprecated.
1025 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1027 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1029 2004-04-28 Bill Haneman <billh@gnome.org>
1031 * Makefile.am: Added --enable-gtk-doc to
1032 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1034 2004-04-19 Bill Haneman <billh@gnome.org>
1036 * configure.in: Revved to 1.5.1.
1038 * registryd/deviceeventcontroller.c:
1040 (DEControllerPrivateData): Added fields for
1041 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1042 (spi_dec_replace_map_keysym): New internal utility for
1043 replacing a keysym in the keymap - used to allow
1044 synthesis of individual characters which aren't in the
1046 (spi_dec_reset_reserved): New; resets the changed keysym value
1048 (keycode_for_keysym): We now try to deal with failed
1049 XKeysymToKeycode requests by changing a keymap value
1050 and returning a reserved keycode. We now take
1051 a DEController pointer as first arg.
1052 (spi_controller_register_with_devices): Call XkbGetMap with
1053 the XkbKeySymsMask. Find the highest keycode in the current
1054 keymap which doesn't have any grabs, and mark that one for
1055 temporary re-mapping when out-of-range KeySyms are synthesized.
1056 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1059 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1061 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1063 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1065 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1067 2004-03-24 Bill Haneman <billh@gnome.org>
1070 (AccessibleTable_addRowSelection),
1071 (AccessibleTable_addColumnSelection),
1072 (AccessibleTable_removeRowSelection),
1073 (AccessibleTable_removeColumnSelection):
1074 Add declarations for spi wrappers which were
1075 inadvertantly omitted. Fixes bug #133413.
1078 Revved to 1.5.0 (unstable series for GNOME 2.7).
1080 2004-03-24 Bill Haneman <billh@gnome.org>
1082 * atk-bridge/bridge.c:
1083 Bracketed some debug output in
1084 conditionals, to avoid printing it in normal use.
1087 * libspi/hyperlink.c:
1088 Don't cast 'object' to ATK_OBJECT when constructing
1089 an AtkAction interface for a hyperlink.
1090 See discussion in bug #120659.
1092 * test/key-listener-test.c:
1093 (report_all_key_event): Send output to stderr,
1094 not stdout, for consistency with the rest of the test callbacks.
1097 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1098 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1099 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1100 try incrementing the revision AFTER doing a dist, at least
1103 2004-03-22 Bill Haneman <billh@gnome.org>
1105 * configure.in: Revved to 1.4.0, libtool 9.14.9
1107 2004-03-17 Laszlo Peter <laca@sun.com>
1109 * libspi-1.0-uninstalled.pc.in: add idldir
1111 * cspi-1.0-uninstalled.pc.in: add idldir
1113 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1115 * configure.in: Added "en_GB" to ALL_LINGUAS
1117 2004-03-15 Bill Haneman <billh@gnome.org>
1119 * configure.in: Revved to 1.3.16,
1122 2004-03-15 Laszlo Peter <laca@sun.com>
1124 * libspi-1.0-uninstalled.pc.in: new file
1126 * cspi-1.0-uninstalled.pc.in: new file
1128 * configure.in: add the new pc files to AC_OUTPUT
1130 * Makefile.am: add the new pc files to EXTRA_DIST
1132 2004-03-12 Bill Haneman <billh@gnome.org>
1134 * atk-bridge/bridge.c:
1135 (spi_atk_bridge_key_listener):
1136 Make sure to return consumed=FALSE if snoop
1137 event is not dispatched to listener.
1140 2004-03-01 Bill Haneman <billh@gnome.org>
1142 * configure.in: Revved to 1.3.15,
1145 2004-03-07 Danilo Segan <dsegan@gmx.net>
1147 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1149 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1151 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1153 2004-03-01 Bill Haneman <billh@gnome.org>
1155 * configure.in: Revved to 1.3.14.
1158 (SPI_exit): Removed "bye-bye" exit message.
1159 Moved "leak" report to happen before the
1160 iteration over the leaked refs list.
1161 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1163 2004-02-24 Bill Haneman <billh@gnome.org>
1165 * configure.in: Revved to 1.3.13.
1167 * docs/reference/cspi/Makefile.am:
1168 Correct typo that was breaking the docs build.
1170 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1172 * autogen.sh: Require version 1.7 of automake.
1174 * configure.in: call GTK_DOC_CHECK([1.0])
1176 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1178 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1180 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1182 * test/Makefile.am: Remove use of CFLAGS.
1184 This fixes bug #132987.
1186 2004-02-11 Bill Haneman <billh@gnome.org>
1188 * reverted most of Tomasz' patch below, since it was breaking
1189 builds (see bug #134058).
1191 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1193 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1194 correct pass "make dist" (empty .. because seems no sach types in
1195 header files with gtk-doc markups).
1196 * docs/reference/cspi/Makefile.am, configure.in:
1197 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1198 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1199 * Makefile.am: added:
1200 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1201 for force correct pass generate documentation on "make distcheck".
1202 * libspi/Makefile.am: fixes for automake >= 1.6.
1203 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1204 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1207 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1209 * docs/reference/cspi/Makefile.am (install-data-local): Install
1210 index.sgml since the doc autobuilder on widget.gnome.org looks for
1213 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1215 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1218 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1220 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1222 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1224 * test/simple-at.c: Fixed null string problems that cause core
1225 dumping problems on Solaris.
1227 2004-01-12 Bill Haneman <billh@gnome.org>
1229 * configure.in: Incremented version to 1.3.11.
1231 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1233 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1234 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1237 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1239 * configure.in: Added "fa" to ALL_LINGUAS.
1241 2003-12-20 Arafat Medini <lumina@silverpen.de>
1243 * configure.in: Added "ar" to ALL_LINGUAS
1245 2003-12-16 Bill Haneman <billh@gnome.org>
1247 * registryd/registry-main.c:
1249 Set the reg_env DISPLAY variable before registering the
1250 activated registry service. Fixes bug #129479.
1252 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1254 * configure.in: Added "id" in ALL_LINGUAS
1255 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1257 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1259 * registryd/deviceeventcontroller.c (global_filter_fn):
1260 When an event is consumed discard any XEvents were added to
1261 the queue while dealing with the the event. This can happen if
1262 processing of the event takes a long time. Call XUngrabKeyboard
1263 if an event was discarded. This fixes bug $124837.
1264 Only call wait_for_release_event for a KeyPress.
1265 Use local variable display instead of spi_get_display().
1266 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1269 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1271 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1272 Allow for mask to contain values other than NumLock mask.
1275 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1277 * registryd/devieceventcontroller.c:
1278 (wait_for_release_event): Change first parameter from GdkEvent to
1280 (global_filter_fn); Correct call to wait_for_release_event.
1284 2003-12-08 Bill Haneman <billh@gnome.org>
1288 * registryd/ucs2keysym.c: New file.
1290 * registryd/deviceeventcontroller.c:
1291 (dec_keysym_for_unichar): Remove old partial implementation and
1292 replace with call to ucs2keysym(), which is much more complete.
1293 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1298 2003-12-05 Bill Haneman <billh@gnome.org>
1300 * configure.in: Version 1.3.9.
1302 * docs/reference/cspi/tmpl/spi_registry.sgml:
1303 Added reference to libspi/keymasks.h to the
1304 description of Registry queries: AccessibleKeyMaskType.
1307 2003-12-04 Bill Haneman <billh@gnome.org>
1309 Fix for bug #121974.
1311 * idl/Accessibility_Application.idl:
1312 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1313 setlocale's LC_TYPEs.
1314 (Accessibility::Application::getLocale): New method.
1315 Allows clients to query the locale, by type, of an app.
1318 * cspi/spi_application.c:
1319 (AccessibleApplication_getLocale): New method, wraps IDL above.
1321 * libspi/application.c:
1322 (spi_application_class_init): Init epv entry for getLocale.
1323 (impl_accessibility_application_get_locale): Impl for above.
1325 * test/test-simple.c:
1326 (test_application): Added assertion for getLocale, i.e.
1327 that the string from AccessibleApplication_getLocale (app, type)
1328 is the same as that from setlocale (type, NULL);
1330 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1332 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1333 the keyboard on a timeout intil the key state goes from pressed to
1334 released. Fixes bug #111429.
1336 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1338 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1339 root object so that it is present when a context menu in an
1340 out-of-process applet is popped up.
1341 (spi_atk_bridge_do_registration): Create acceessible application root
1342 object only if it does not exist.
1344 This fixes bug #125834.
1346 2003-12-01 Bill Haneman <billh@gnome.org>
1348 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1351 Added enum for AccessibleStreamableContentSeekType.
1352 (AccessibleStreamableContent_freeContentTypeList): New.
1354 * cspi/spi_streamablecontent.c:
1355 (accessible_bonobo_stream_client_seek): New private method.
1356 (AccessibleStreamableContent_seek): Implemented this method,
1357 using Bonobo_Stream_seek.
1358 (AccessibleStreamableContent_freeContentTypeList): New method
1359 for freeing the return value from
1360 AccessibleStreamableContent_getContentTypes.
1361 (stream_cache_item_free): Replaces stream_release; stop leaks.
1362 (stream_release): removed.
1363 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1364 free the memory properly.
1366 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1368 Fix for bug #116009.
1370 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1372 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1374 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1376 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1378 2003-12-01 Bill Haneman <billh@gnome.org>
1380 Fix for bug/rfe #127463.
1382 * idl/Accessibility_Accessible.idl:
1383 (getLocalizedRoleName): New.
1384 (unimplemented4): Removed (replaced by above).
1386 * libspi/accessible.c:
1387 (impl_accessibility_accessible_get_local_role_name): New.
1388 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1392 (Accessible_getLocalizedRoleName): New.
1394 * cspi/spi_accessible.c:
1395 (Accessible_getLocalizedRoleName): New.
1397 2003-12-01 Bill Haneman <billh@gnome.org>
1399 Fix for bug #118581.
1400 * idl/Accessibility_Text.idl:
1401 (getDefaultAttributes): New.
1402 (unimplemented4): Removed (replaced by above method).
1405 (impl_getDefaultAttributes): New method.
1406 (spi_text_class_init):
1407 initialize the get_default_attributes slot in the epv.
1410 (AccessibleText_getDefaultAttributes): New prototype.
1413 (AccessibleText_getDefaultAttributes): New method.
1415 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1417 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1418 write beyond the end of the table. Fixes bug #120473.
1420 2003-09-30 Christian Rose <menthos@menthos.com>
1422 * configure.in: Added "eu" to ALL_LINGUAS.
1424 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1426 * configure.in: ALL_LINGUAS: Added no.
1428 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1430 * configure.in: Added lt to ALL_LINGUAS.
1432 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1434 * atk-bridge/bridge.c:
1435 (atk_bridge_init): Register event listeners always even for
1436 out-of-process applet.
1437 (spi_atk_bridge_toplevel_added): Remove call to
1438 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1439 (spi_atk_bridge_toplevelk_removed): Remove call to
1440 spi_atk_deregister_event_listenersa as the listeners are now always
1442 (spi_atk_bridge_register_application): Remove call to
1443 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1445 This fixes bug #120991.
1447 * libspi/table.c (impl_getColumnDescription): Correct typo,
1448 pointed out by Bolian.Yin@sun.com.
1450 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1452 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1454 2003-09-08 Bill Haneman <billh@gnome.org>
1456 * configure.in: Revved to 1.3.7.
1458 This is the GNOME 2.4.0 release of at-spi.
1460 * docs/reference/cspi/Makefile.am:
1461 Removed spurious inclusion of 'index.sgml' in the
1462 html directory; this was breaking make distcheck and
1463 also some other build environments.
1465 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1467 * registryd/registry.[ch}:
1468 Add queue_handler_id and focus_object to SpiRegistry data structure.
1469 (registry_flush_event_queue): If event being discarded is
1470 "state-change:focused" store object as focus_object.
1471 (registry_start_queue): Remove queue handler and focus object
1473 (registry_discard_event): New function which discards a focus event
1474 if we had stored focus object in the registry.
1475 (registry_queue_event): Add new check that is_queueing is set as this
1476 function is reentrant.
1477 (registry_filer_event): Add call to registry_discard_event.
1479 This resolves issues raised in bug #108664.
1481 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1483 * configure.in: Added "bn" to ALL_LINGUAS.
1485 2003-09-04 Bill Haneman <billh@gnome.org>
1487 * cspi/spi_event.c: Documentation improvements for
1488 (SPI_registerAccessibleKeylistener).
1490 * docs/reference/tmpl/spi_registry.sgml:
1491 Documentation improvements for SpiAccessibleKeylistenerCB.
1493 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1495 * configure.in: Added "ro" to ALL_LINGUAS.
1498 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1500 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1501 not decremented to zero. Fixes bug #120725.
1503 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1505 * configure.in: Added "ja" to ALL_LINGUAS.
1507 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1509 * configure.in: Added "is" to ALL_LINGUAS.
1511 2003-08-22 Christian Rose <menthos@menthos.com>
1513 * configure.in: Added "nl" to ALL_LINGUAS.
1515 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1517 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1518 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1520 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1522 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1523 type for unspecified exception.
1524 * cspi_streamablecontect): Add include of string.h for memcpy.
1525 (stream_release): Correct call to bonobo_object_release_unref
1526 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1527 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1528 argument of _cspi_expection_throw.
1529 * libspi/hyperlink.c: Add include of libspi/action.h:
1530 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1531 * libspi/streamablecontent.c: add include of libspi/component.h.
1532 * regisrtyd/deviceeventcontroller.c:
1533 (spi_dec_translate_mask): Removed unused variable priv.
1534 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1535 * registryd/registry.c:
1536 (registry_filter_event): Remove unused variable queue_is-empty.
1537 (impl_registry_notify_event): Use correct modifier in fprintf call.
1539 This fixes compiler warnings reported in bug #120220.
1541 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1543 * registryd/registryd.c: Remove this file.
1545 2003-08-17 Sanlig Badral <badral@openmn.org>
1547 * configure.in: Added mn to ALL_LINGUAS.
1549 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1551 * configure.in: Added et to ALL_LINGUAS.
1553 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1555 * test/event-listener-test.c: Change active-descendant to
1556 active-descendant-changed.
1558 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1560 * configure.in: Added "fi" in ALL_LINGUAS.
1562 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1564 * configure.in: Added "hi" in ALL_LINGUAS.
1566 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1568 * configure.in: Revved to 1.3.6.
1572 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1574 * registryd/deviceeventcontroller.c
1575 (spi_device_event_controller_object_finalize): Fix typo in previous
1578 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1580 * registryd/deviceeventcontroller.c
1581 (spi_device_event_controller_object_finalize): Fix build on
1582 systems without XEvIE.
1584 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1586 * acconfig.h, configure.in, registryd/Makefile.am,
1587 registryd/devicecontoller.[ch]: Add XEViE support.
1589 2003-08-06 Wang Jian <lark@linux.net.cn>
1591 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1593 2003-08-06 Metin Amiroff<metin@karegen.com>
1595 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1597 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1599 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1600 MODIFIER_ALT in correct place.
1602 This fixes part of bug #118114.
1604 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1606 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1608 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1610 * configure.in: Added "ko" to ALL_LINGUAS.
1612 2003-07-28 Ole Laursen <olau@hardworking.dk>
1614 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1616 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1618 * configure.in: Added "sq" to ALL_LINGUAS.
1620 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1622 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1624 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1626 * configure.in: updated ALL_LINGUAS list
1628 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1630 * configure.in: Added Belarusian to ALL_LINGUAS.
1632 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1634 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1636 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1637 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1639 This fixes bug #116949.
1641 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1643 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1644 Correct CSPI to SPI in function documentation.
1646 This fixes bug #118054.
1648 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1650 * configure.in: Added Russian to ALL_LINGUAS.
1652 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1654 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1656 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1658 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1660 2003-07-10 Joel Brich <joel.brich@laposte.net>
1662 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1664 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1666 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1668 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1670 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1671 resources allocated for AccessibleEvent. See cspi_event().
1673 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1674 static variable streams to NULL.
1676 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1677 Update so that AcessibleEvent_ref will work.
1679 This fixes bug #116624.
1681 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1683 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1685 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1687 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1689 2003-07-02 Christian Neumair <chris@gnome-de.org>
1691 * configure.in: Added "de" (German) to ALL_LINGUAS.
1693 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1695 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1697 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1699 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1701 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1703 * configure.in: Added "pl" to ALL_LINGUAS.
1705 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1707 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1709 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1712 (get_action_from_servant):
1713 Removed assertion that action is implemented on an AtkObject.
1715 * libspi/hyperlink.c:
1716 (spi_hyperlink_new):
1717 Aggregate AccessibleAction interface on the hyperlink object if
1718 the object implements AtkAction. (This convention is used in
1721 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1723 * configure.in: Revved to 1.3.5.
1725 * registryd/Accessibility_Registry.server.in.in:
1726 Marked up appropriate strings for translation.
1728 * atk-bridge/bridge.c: Marked a couple of
1729 user-visible warnings for translation. Questionable
1730 whether they are really useful, but possibly so.
1733 2003-06-28 Christian Rose <menthos@menthos.com>
1735 * configure.in: Added "sv" to ALL_LINGUAS.
1737 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1739 * registryd/registry.c:
1740 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1741 (registry_defer_on_event): Defer focus: events, this is an
1742 improvement to the patch for bug #108664.
1744 * TODO: Update with 2.4/"Dev Complete" items.
1746 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1748 * atk-bridge/bridge.c:
1749 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1750 looks up signals once.
1751 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1752 if doing registration.
1753 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1754 when doing registration.
1756 This fixes bug #115014.
1758 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1760 * atk-bridge/bridge.c:
1761 (atk_bridge_init): Add signal handler for children-changed:remove on
1762 root when in a BonoboComponent.
1763 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1764 for first toplevel only other incrememt variable toplevels.
1765 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1766 application and remove listeners.
1767 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1769 (spi_atk_deregister_event_listeners): New function which removes
1771 (reinit_register_vars): New fuction which reinitializes variables.
1773 This fixes bug #111578.
1775 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1777 * configure.in: version 1.3.4.
1779 * cspi/spi_accessible.c:
1780 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1783 2003-06-13 Michael Meeks <michael@ximian.com>
1785 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1787 * cspi/spi_main.c (cspi_peek_ev): impl.
1789 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1791 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1793 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1795 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1796 SPI_ROLE_AUTOCOMPLETE
1798 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1800 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1801 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1803 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1805 * libspi/streamablecontent.h:
1806 * libspi/streamablecontent.c:
1807 New files, provide implementation/wrappers for
1808 Accessibility_StreamableContent.
1810 * cspi/spi_streamablecontent.c:
1811 Connected the C wrappers to the libspi C bindings.
1812 (AccessibleStreamableContent_close): New method.
1815 (AccessibleStreamableContent_close): New method, needed
1816 since we have an "open, [seek], read, close" model in cspi.
1818 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1820 Fix for #108664; Padraig's revision of my original patch.
1822 * registryd/registry.h:
1823 Added event queue list, is_queuing, and exit_notify_timeout
1824 to the registry struct.
1826 * registryd/registry.c:
1827 (registry_init): Initialize new struct from registry.h.
1828 (impl_registry_notify_event):
1829 Filter events before notifying, in case some need to be
1831 (registry_filter_event): New,
1832 we defer certain incoming events (for instance
1833 window:deactivate) because we may wish to hide
1834 or reject them based on pending events. This is
1835 mostly a workaround for bug #108664.
1836 (registry_queue_event, registry_start_queue): New.
1837 (registry_defer_on_event): Test event to see if it
1839 (registry_reset_on_event): Returns TRUE if the
1840 event should cause a queue reset.
1841 (registry_discard_on_event): Returns TRUE if the event
1842 should cause the previous queue contents to be discarded.
1843 (registry_timeout_flush_queue): Flushes the pending event
1844 queue if no reset/discard-triggering events have come in
1845 within the timeout period.
1846 (registry_emit_event): New.
1847 (registry_clone_notify_context): New, used when queueing the
1848 event notify contexts.
1850 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1852 * configure.in: Version revved to 1.3.2, lt 0.9.2
1853 Incremented ATK required version to 1.3.4.
1855 * cspi/spi_registry.c:
1856 (SPI_generateKeyEvent):
1857 We now pass the keystring along if it's non-null.
1859 * registryd/deviceeventcontroller.c:
1860 (keysym_mod_mask): New method, returns modifier mask
1861 required to generate a keysym from a given keycode.
1862 (dec_synth_keysym): New method.
1863 (dec_synth_keystring): New method.
1864 (dec_get_modifier_state): New method.
1865 (dec_lock_modifiers): New
1866 (dec_unlock_modifiers): New.
1867 (dec_keysym_for_unichar): New, rather brute-force
1868 conversion from UCS-4 to X KeySyms. Only works for
1869 Latin at the moment, with partial implementations for
1870 Greek, Hebrew, and (incomplete) Katakana.
1871 (impl_generate_keyboard_event): Now implement
1872 "KEYSTRING" synthesis and implement "KEYSYM"
1874 (keycode_from_keysym): Improved, passes a returned
1875 modmask value now if the corresponding param is non-NULL.
1877 Fixes bugs #92143 and #109776.
1880 * test/keysynth-test.c:
1881 New test program for key synthesis, to confirm fixes for
1885 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1887 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1889 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1890 Add line for RELATION_POPUP_FOR
1892 * docs/reference/cspi/tmpl/spi_relation.sgml:
1893 Add relation SPI_RELATION_POPUP_FOR
1895 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1896 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1898 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1900 * libspi/relation.c (spi_init_relation_type_table):
1901 Add line for RELATION_POPUP_FOR
1903 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1905 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1906 there are still windows which have not been deleted and emit
1907 window:deactivate, if necessary and window:destroy events.
1908 This fixes bug #114370. The change on June 5th was not correct.
1910 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1912 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1915 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1917 New methods for client exception handling and interception.
1918 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1919 (SPI_exceptionHandlerPop): You guessed it...
1920 (SPI_getSourceType): Return the type of object which offended.
1921 (SPI_getExceptionCode): Return an enum code telling, possibly,
1922 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1923 (SPIAccessibleException_getSource): get the source object for
1924 exceptions that come from Accessibles, if SPIExceptionSourceType is
1925 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1926 (SPIException_getDescription): New, returns a string description of
1927 the problem. [Not yet a stable ABI, strings are not frozen]
1929 * cspi/spi-private.h:
1930 Added implementation details of opaque SPIException
1934 Implementations of above. Also
1935 (_cspi_exception_throw): new private method that
1936 dispatches exceptions to handlers, called from cspi-bonobo.c
1938 * cspi/bonobo/cspi-bonobo.c:
1939 (cspi_check_ev): call _cspi_exception_throw.
1940 Don't print a warning message if the exception has been
1941 handled by _cspi_exception_throw.
1943 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1945 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1946 there are still windows which have not been deleted and emit
1947 window:deactivate, if necessary and window:destroy events.
1948 This fixes bug #114370.
1950 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1953 (cspi_accessible_is_a): Make non-fatal
1954 if the object reference is dead.
1956 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1958 * cspi/spi_main.c: #include <stdio.h>
1959 * test/simple-at.c: ditto
1960 * test/event-listener-test.c: ditto
1961 * test/screen-review-test.c: ditto
1963 2003-05-30 Michael Meeks <michael@ximian.com>
1965 * test/test-simple.c (main): use CORBA_ORB_perform_work
1966 instead of an unnecessary linc_ call.
1968 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1970 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1971 Add SPI_STATE_INDETERMINATE.
1973 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1976 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1978 * libspi/stateset.c (init_state_type_tables): Add support for
1981 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1983 * configure: Update versions of atk and gail required.
1984 This fixes bug #113268.
1986 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1988 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1990 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1992 * libspi/Makefile.am:
1993 Ensure headers are generated before being used by c sources.
1995 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1998 Simplified lt versioning rules.
1999 Incremented version to 1.3.0, to indicate that we're on the
2000 unstable branch now.
2002 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2004 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2005 Add MKDB_OPTIONS=--outtput-format=xml
2007 * docs/reference/cspi/at-spi-cspi-docs.sgml
2008 docs/reference/idl/at-spi-idl-docs.sgml:
2009 Convert to Docbook XML.
2011 This fixes bug #111793.
2013 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2015 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2016 AcccessibleKeyEventType, AccessibleKeyMaskType.
2018 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2020 * cspi/state-types.h: Add documentation for AccessibleState.
2022 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2023 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2024 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2025 AccessibleComponentLayer.
2027 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2030 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2032 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2033 Accessible. Add description of AccessibleEvent,
2034 AccessibleEventListenerCB.
2036 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2039 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2040 documentation. Add description of AccessibleKeystrokeListenerCB,
2041 AccessibleKeyEventMask, AccessibleModifierMaskType,
2042 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2043 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2045 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2048 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2051 This fixes bug #104730.
2053 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2055 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2056 Set is_text field of Accessibility_DeviceEvent data structure.
2058 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2059 is-text field of AccessibleDeviceEvent data structure.
2061 This addresses part of bug #108666.
2063 * registryd/devcieeventcontroller.c: Unset debug option.
2065 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2067 * cspi/accessible.c:
2068 (cpi_initial_relation_type_table): New function which initializes
2069 mapping between Accessibility_RelationType and AccessibleRelationType.
2070 (cspi_relation_type_from_spi_relation_type): New function which
2071 translates an Accessibility_RelationType into an AccessibleRelationType.
2072 (AccessibleRelation_getRelationType): Use
2073 cpi_relation_type_get_spi_relation_type to return correct value.
2074 (spi_state_to_corba): Return correct type for default case.
2076 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2077 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2079 * cspi/cspi-bonobo-listener.c:
2080 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2083 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2084 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2085 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2086 libspi/image.c, libspi/listener.c, libspi/selection.c,
2087 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2088 registryd/desktop.c, registryd/registry.c:
2089 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2091 * libspi/eventlistener.c
2092 Remove semicolon after BONOBO_TYPE_FUNC.
2094 * libspi/relation.c:
2095 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2096 (spi_init_relation_type_table): Initialize using correct type.
2098 * registryd/desktop.c:
2099 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2100 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2101 of Accessibility_KeyEventType.
2103 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2106 * tests/simple-at.c, tests/screen-review-test.c:
2107 Add include for <strings.h>.
2109 * tests.stress-test.c:
2110 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2112 These changes fix compiler warnings when using FORTE compiler on
2113 Solaris; fixes bug #107479.
2116 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2119 * configure.in: revved to 1.1.10
2121 * libspi/keymasks.h:
2122 (SPI_KEYMASK_NUMLOCK): Added.
2124 * registryd/deviceeventcontroller.c:
2125 (spi_key_event_matches_listener): AND with a smaller
2126 bitmask (as we should).
2127 (spi_dec_translate_mask):
2128 New method, sets the virtual NumLock modifier bit
2129 if numlock is on. Eventually it can handle other virtual
2130 modifier bits if needed, or other marshalling from
2131 at-spi modifier masks to platform (X) masks.
2132 (spi_dec_key_listener_new):
2133 Call spi_dec_translate_mask to set up virtual mod bits
2134 in the 'mask' field when creating a new listener struct.
2135 (spi_dec_emit_modifier_event):
2136 Set the virtual (i.e. NumLock) bits before emitting event.
2137 (spi_controller_register_with_devices):
2138 Query for the NumLock modifier 'physical' bit if Xkb is
2139 present, for use in above methods.
2143 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2145 * registryd/deviceeventcontroller.c:
2146 (spi_keystroke_from_x_key_event):
2147 Instead of checking to see if the keysym is
2148 printable, check the string from XLookupString
2149 if available, get the first unicode character from it,
2150 and call g_unichar_isprint to determine whether the
2151 is_text flag should be TRUE or FALSE.
2155 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2157 * atk-bridge/bridge.c: Add support for extended events
2158 * cspi/spi_event.c: Add documentation and implementation for
2160 * tests/event-listener-test.c: Add tests for extended events.
2162 This fixes bugs #100424 and #100426.
2164 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2166 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2167 of LT_CURRENT. This fixes bug #89350.
2169 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2171 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2172 number of signal parameter values before accessing them. This fixes
2175 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2177 * configure.in: Fixed duplicate inclusion of -lspi.
2178 * branched for gnome-2-2/HEAD.
2179 [created tag "gnome-2-2"]
2181 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2183 * configure.in: 1.1.9 release.
2186 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2188 [needed by GOK, to fix bugs 107985 and 107988]
2189 * registryd/deviceeventcontroller.c:
2190 (spi_dec_clear_unlatch_pending):
2191 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2192 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2193 (spi_dec_init_mouse_listener):Emit warning if mouse button
2195 (spi_device_event_controller_forward_mouse_event):
2196 Removed unnecessary parens from a conditional.
2197 (global_filter_fn):Added TODO comment.
2198 (impl_generate_keyboard_event):
2199 Cancel a pending relatch if a 'delatching' key was
2202 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2204 * atk-bridge/bridge.c:
2205 Change atk_signal_child_changed to atk_signal_children_changed.
2206 Reorganize code in spi_atk_bridge_signal_listener().
2208 * test/event-listener-test.c:
2209 Add children_changed_listener and report_children_changed_event()
2210 to test AccessibleChildEvent_getChildAccessible.
2212 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2214 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2215 g_strdup to CORBA_String_dup (bug #105291)
2217 * test/event-listener-test.c (report_text_event): Add call to
2220 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2222 * registryd/deviceeventcontroller.c:
2223 (spi_keystroke_from_x_key_event):
2224 Fix string and keysym return codes to match modifier state.
2227 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2229 * registryd/deviceeventcontroller.c:
2230 (spi_keystroke_from_x_key_event):
2231 Fix segv due to improper use of isprint(c). [bug #107254]
2233 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2236 (get_accessible_text_boundary_type):
2237 Move default return value to (new) default case in switch.
2238 (get_accessible_text_clip_type):
2239 Move default return value to (new) default case in switch.
2241 * libspi/application.c:
2242 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2243 Remove unused methods.
2244 (impl_accessibility_application_register_object_event_listener):
2245 Remove unused methods.
2248 Added #include of <math.h>.
2250 * registryd/deviceeventcontroller.c:
2251 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2252 we don't currently use this method.
2253 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2255 (impl_generate_key_event):
2256 Remove unused variables.
2257 (impl_generate_mouse_event):
2258 Initialize button to zero, just in case we get an invalid
2259 input. Added support for mouse buttons 4 and 5.
2260 (spi_device_event_controller_new):
2261 Removed unused variable declaration for 'private'.
2263 Added #include of <gdk/gdk.h>
2265 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2267 * configure.in: Update to work when X is not installed in expected
2268 location. Fixes bug #105836.
2270 * atk-bridge/bridge.c
2271 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2273 (spi_atk_register_event_listener): Add signal listener for
2275 (spi_atk_bridge_signal_listener): Event event when link-selected
2276 signal is emitted. (bug #104622)
2278 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2279 on returned string. (bug #105291)
2281 * test/event-listener-test.c: Add test for link-selected.
2283 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2285 * atk-bridge/Makefile.am: Correct typo in previous commit.
2287 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2289 * atk-bridge/Makefile.am: Allow for build directory to be different
2290 from source directory
2292 * registryd/Makefile.am: Allow for build directory to be different
2293 from source directory
2297 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2300 Fixed dependencies for libcspi so that libspi gets pulled in
2301 properly. Fixes 104741.
2305 Clean up inline docs a little.
2307 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2309 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2310 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2311 the AtkObject within an SpiDesktop.
2312 This addresses bug #101524.
2314 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2315 Remove call to gdk_init().
2317 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2318 so that Display is set when SpiDesktop is created.
2320 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2322 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2323 This fixes bug #102830.
2325 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2327 * test/test-simple.c: Update to take account of fact that GailButton
2328 now implements AtkText.
2329 (create_text_window): Set name on AtkObject for GtkEntry.
2330 (validate_accessible): Check accessible name before calling test_text().
2332 * libspi/Makefile.am: Fix problem with building outside of source
2333 directory. Bug #98120.
2335 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2336 typo in documentation comments. Bug #94275.
2338 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2340 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2342 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2345 Add includes to avoid compiler warnings on Solaris.
2346 (impl_getRangeExtents): Bug fix.
2348 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2350 Fix for 100944, [API addition approved by Gman and murrayc].
2357 * idl/Accessibility_Text.idl:
2358 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2359 (Text::getRangeExtents): New method for efficient
2360 bounds query of a text range.
2361 (Text::getBoundedRanges): New method for efficient
2362 clipping of text to bounding boxes.
2363 (unImplemented7, unImplemented8):
2364 Removed these padding methods to preserve bincompat.
2367 (impl_getRangeExtents): implementation of new IDL.
2368 (impl_getBoundedRanges): implementation of new IDL.
2369 (SpiTextRect): Internal use struct.
2370 (_spi_text_rect_union): internal method, calculates union of two
2371 SpiTextRect bounding rects.
2372 (_spi_text_range_seq_from_gslist): internal method, allows us
2373 to build our sequence efficiently as a gslist then convert it
2375 (_spi_bounds_contain): internal method, determines whether
2376 a text character is "in" or "out" of a clip rect according to
2377 values of TEXT_CLIP_TYPE.
2378 (spi_text_class_init): Initialize the new methods in the epv.
2381 (AccessibleTextClipType): New enum used by screen review api.
2382 (AccessibleTextRange): New struct used by screen review api.
2383 (AccessibleText_getRangeExtents):
2384 cspi binding for Accessibility_Text_getRangeExtents.
2385 (AccessibleText_getBoundedRanges):
2386 cspi binding for Accessibility_Text_getBoundedRanges.
2387 (AccessibleTextRange_freeRanges): convenience method.
2390 (AccessibleText_getRangeExtents):
2391 cspi binding for Accessibility_Text_getRangeExtents.
2392 (AccessibleText_getBoundedRanges):
2393 cspi binding for Accessibility_Text_getBoundedRanges.
2394 (AccessibleTextRange_freeRanges): convenience method.
2395 (get_accessible_text_clip_type): internal conversion method.
2396 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2398 * registryd/deviceeventcontroller.c:
2399 (spi_dec_mouse_check):
2400 Improved behavior for mouse:abs events
2401 [same granularity as mouse:rel events, and no
2402 events when mouse is idle].
2404 2002-12-16 Michael Meeks <michael@ximian.com>
2406 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2408 * libspi/stateset.c (state_spi_to_atk): split out
2409 ( fix several remote array bounds nasties )
2410 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2411 (impl_remove): make safe from array bounds issues.
2412 (spi_atk_state_from_spi_state): impl.
2414 * libspi/stateset.h (spi_state_set_cache_is_empty):
2415 add a set of wrapper defines to get layering right.
2417 * cspi/spi_accessible.c: update state set stuff to
2420 2002-12-14 Michael Meeks <michael@ximian.com>
2422 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2423 to avoid 2 roundtrips to the registry per key event
2424 (spi_atk_bridge_key_listener): upd.
2425 (deregister_application): release the dec.
2427 * registryd/registry.c (notify_listeners_cb):
2428 bin lots of re-enterant complexity - we no longer
2429 do a round-trip bonobo ref here, ensure that a single
2430 listener's exception failure won't poison all other
2432 (impl_registry_notify_event): bin obvious memory leak.
2434 2002-12-13 Michael Meeks <michael@ximian.com>
2436 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2437 init the ev so the error is meaningful.
2438 (spi_atk_bridge_key_listener): ditto.
2440 * cspi/spi_main.c (cspi_ev): init the ev so we start
2441 with a clean slate, otherwise the first exception
2442 kills us completely.
2444 * cspi/spi_text.c (get_accessible_text_boundary_type):
2445 add a fallthrough for no warnings.
2447 * cspi/spi_registry.c: prune unused warnings.
2449 * cspi/spi_main.c (cspi_object_take): fix
2450 mind-blowing brokenness ( by watching the compile
2453 * cspi/spi_accessible.c (Accessible_getStateSet):
2454 re-impl. to use an AtkStateSet.
2455 (spi_state_type_from_accessible_state),
2456 (init_state_table): bin these.
2458 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2460 (atk_state_set_from_accessibility_state_set): here.
2462 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2463 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2464 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2465 (AccessibleStateSet_add, AccessibleStateSet_remove),
2466 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2467 (AccessibleStateSet_isEmpty): re-write to use a local
2470 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2472 * configure.in: Revved to 1.1.7 (new keymask vals).
2474 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2476 * libspi/keymasks.h:
2477 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2479 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2482 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2483 to compare two CORBA_TypeCodes.
2484 (cspi_internal_event_add): Silence warning from FORTE compiler.
2486 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2487 avoid implicit declaration of functions.
2489 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2491 * atk-bridge/bridge.c:
2492 (spi_atk_bridge_init_event_type_consts): Store signal id for
2493 active-descendant-changed signal.
2494 (spi_atk_register_event_listeners): Add signal listener for
2495 active-descendant-changed signal,
2496 (spi_atk_bridge_signal_listener): Move code in function
2497 spi_atk-signal_emit_event() into this function.
2498 Add support for active-descendant-changed
2499 Update support for child-changed signal.
2500 (spi_bridge_window_event_listener): Silence warning.
2502 * libspi/spi_private.[ch]:
2503 (spi_init_any_object): Change second parameter from CORBA_Object to
2505 Omit call to CORBA_Object_duplicate().
2506 Set CORBA_any's _value to CORBA_Object*.
2508 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2514 (AccessibleEvent_ref, AccessibleEvent_unref):
2515 New methods, for persisting an event outside the emission context.
2516 Must be used if the new accessor methods are to be called
2517 outside of the event listener's callback.
2519 * cspi/bonobo/cspi-bonobo.c:
2520 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2521 as second parameter instead of NULL, so we can call
2522 cspi_check_ev afterwards.
2525 (cspi_object_take): New internal method,
2526 converts a CORBA_Object reference to a hard ref on
2527 an Accessible if possible, returning NULL if the object
2528 reference is invalid or an Accessible * otherwise.
2531 (AccessibleEvent_ref):
2532 Increment the event's internal private refcount, and
2533 add the event's internal struct to an internal cache
2534 if it's not already there.
2535 (AccessibleEvent_unref):
2536 Decrement the event's refcount and remove it from
2537 the cspi event cache if refcount==0.
2538 (cspi_event_compare): New private method.
2539 Compares two event structs via their ids. Used
2541 (cspi_internal_event_lookup): New private method.
2542 (cspi_internal_event_check): New private method,
2543 a 0-order sanity check for events to make sure their
2544 private data is intact.
2545 (cspi_internal_event_add, cspi_internal_event_remove):
2546 New private methods for managiing the event cache.
2548 * cspi/bonobo/cspi-bonobo-listener.c:
2550 Initialize the new private data elements (id, magic, ref_count).
2552 * atk-bridge/bridge.c:
2553 (spi_atk_bridge_signal_listener):
2554 Fixed bug #100530, passing wrong params to emission func.
2556 * registryd/deviceeventcontroller.c:
2557 (spi_dec_button_update_and_emit):
2558 Fixed type in mask bit operations; fix for #99799.
2560 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2562 Removed some of the more dangerous workarounds from
2563 previous commit; they are only needed by GOK, which
2564 in reality should be using another method to accomplish
2565 the goals. So on reconsideration some of the workarounds
2566 need to be reverted:
2568 * registryd/deviceeventcontroller.c:
2569 (spi_keycodes_contain, spi_dec_init_keycode_list):
2570 Removed these methods, used only by a nasty hack to try
2571 and detect whether a key synthesis should be allowed
2572 to reset the XKB latch state or not. This code was only
2573 required to work around an interaction between GOK,
2574 button events, and XKB.
2575 (impl_generate_key_event):
2576 Removed hack at end of key generation that tried to
2577 "do the right thing" if XKB latch keys were generated
2578 in the midst of button press/release pairs.
2581 Added a check for HAVE_XINPUT. Not normally used yet.
2583 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2585 Workarounds and fixes for mouse event/XKB interaction.
2587 * registryd/deviceeventcontroller.c:
2588 (spi_keycodes_contain, spi_dec_init_keycode_list):
2589 New internal methods.
2590 (spi_dec_set_unlatch_pending):
2591 Split the method that tells XKB to expect an
2592 unlatch (and revert it) out of the rest of the
2593 event handling code. This method is called by the
2594 two mouse event handlers (the poll and the filter).
2595 (spi_dec_update_and_emit, spi_dec_mouse_check):
2596 New methods split from spi_dec_poll_mouse_moved.
2597 The second one is now called from inside the filterFn
2598 when an XKB delatch event is received, to determine
2599 whether to revert the delatch or not.
2600 (spi_poll_mouse_moved): Refactor; also we can now
2601 properly handle the case where multiple button states
2602 have changed between polling cycles and we didn't get
2603 notified due to another client's grab.
2605 Synchronize the server while handling an XKB notification.
2606 Ugly, but apparently necessary to avoid nasty races.
2607 Check the mouse state on receipt of an XKB latch change,
2608 to decide whether to revert the latch or not. (Latches are
2609 reverted if there is an immediately preceding mouse button
2610 event that a client has consumed, in which case we don't want
2611 the user to see the side-effect of the event).
2612 (spi_device_event_controller_forward_mouse_event):
2613 Check for modifier events and fire before resetting mouse_mask_state,
2614 prevents losing modifier events.
2616 (impl_generate_keyboard_event):
2617 If we've just generated a keyboard event for a non-shift key,
2618 we don't want to revert the pending XKB latch.
2619 Otherwise, check the modifier state (via a call to
2620 spi_dev_mouse_check) and set the relatch mask to
2621 that state before returning.
2623 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2626 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2629 * atk-bridge/bridge.c:
2630 (spi_atk_register_event_listeners):
2631 Don't re-register for ATK events if the registry has died
2632 and the app needs to re-register; the ATK listeners are in
2633 process and doing so will cause duplicate emission.
2635 * registryd/deviceeventcontroller.c:
2636 (spi_poll_mouse_moved):
2637 Reformat the source, detect and emit multiple button-change
2638 events (i.e. if multiple buttons have changed between poll
2640 Add code to detect mouse-down events even when the pointer
2641 is grabbed; workaround for GOK bug 98420.
2642 (spi_controller_register_with_devices):
2643 Call XTestGrabControl with 'impervious' flag set to True,
2644 allows us to synthesize events and query the pointer even during
2645 an active grab by another client.
2646 (spi_device_event_controller_forward_mouse_event):
2647 Set the mouse_mask_state to the mouse_button_state from
2648 the intercepted event, to synchronize the grab listener with
2651 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2653 * cspi/spi_accessible.c:
2654 (AccessibleRole_getName):
2655 Added necessary strings for making this (deprecated)
2656 method work with the new role types.
2657 (init_role_table, role_table):
2658 Added definition of SPI_ROLE_APPLICATION.
2660 * libspi/spi-roletypes.h:
2661 Added SPI_ROLE_APPLICATION.
2663 * idl/Accessibility_Role.idl:
2664 Added ROLE_APPLICATION.
2666 * docs/reference/cspi/at-spi-cspi-decl.txt:
2667 Added SPI_ROLE_APPLICATION to docs.
2669 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2671 * cspi/spi_accessible.c
2672 (cspi_init_role_table): Do not write beyond end of role_table.
2673 (Accessible_getRole): Use correct type for value returned by
2674 Accessibility_Accessible_getRole().
2676 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2677 beyond end of role_table. (This fixes bug #98269)
2679 * libspi/application.c: Add include file spi-private.h for
2680 definition of spi_init_any_nil.
2682 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2686 * libspi/spi-private.h:
2687 Added DGB() macro, and extern int _dbg declaration.
2689 * registryd/registry.c:
2690 (definitions) storage for _dbg.
2691 (spi_registry_init):
2692 Get environment variable "AT_SPI_DEBUG".
2693 (spi_registry_set_debug):
2694 New method, to initialize _dbg value.
2695 (spi_listener_struct_new, spi_registry_object_finalize):
2696 (notify_listeners_cb):
2697 Changed fprintfs to use DBG and g_warning().
2699 * registryd/deviceeventcontroller.c:
2700 (_deregister_keygrab, spi_controller_register_device_listener):
2701 Changed debug/warning messages to use DBG macro.
2703 * libspi/listener.c:
2704 (impl_notify_event):
2705 Changed warning messages to use DBG macro and g_warning().
2707 * atk-bridge/bridge.c:
2708 (atk_bridge_init, spi_atk_bridge_get_registry):
2709 (spi_atk_bridge_exit_func):
2710 (spi_atk_bridge_property_event_listener):
2711 Changed status, warning, and error messages to use
2712 g_warning, g_message, and DBG macros.
2715 Read the state of the AT_SPI_DEBUG environment variable
2716 and set a local '_dbg' accordingly.
2718 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2720 FIXES for 98836, 98842, other bugs.
2723 Revved to 1.1.4, interface-age=4, binary-age=4.
2725 * registryd/deviceeventcontroller.c:
2727 Fixed crasher bug in last_mouse_pos initialization.
2729 * registryd/registry.c:
2730 (desktop_add_application, desktop_remove_application):
2731 Added (and then commented out) some support for
2732 object context marshalling. [TODO]
2734 * atk-bridge/bridge.c:
2735 (spi_atk_bridge_event_context_create):
2736 Commented out object context creation until it can
2737 be properly tested and debugged.
2739 * registryd/registry.c:
2740 (impl_registry_notify_event):
2741 Fixed crasher bug, we were calling
2742 spi_re_entrant_list_foreach () with an empty list.
2744 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2746 * idl/Accessibility_Action.idl:
2747 * idl/Accessibility_Component.idl:
2748 * idl/Accessibility_Desktop.idl:
2749 * idl/Accessibility_Event.idl:
2750 * idl/Accessibility_Hyperlink.idl:
2751 * idl/Accessibility_Image.idl:
2752 * idl/Accessibility_Relation.idl:
2753 * idl/Accessibility_Selection.idl:
2754 * idl/Accessibility_State.idl:
2755 * idl/Accessibility_Value.idl:
2756 Updated unimplemented slot count to minimum of
2757 four for all interfaces, for ABI freeze.
2759 * idl/Accessibility_EditableText.idl:
2760 * idl/Accessibility_Text.idl:
2761 Updated unimplemented slot count to six
2764 * idl/Accessibility_Registry.idl:
2765 Updated unimplemented slot count to six
2766 (also for DeviceEventController),
2769 * idl/Accessibility_Table.idl:
2770 Updated unimplemented slot count to eight,
2773 * idl/Accessibility_Event.idl:
2774 Added CORBA_any "any_data" member to Event struct.
2776 * idl/Accessibility_Event.idl:
2777 Added CORBA_any "any_data" member to Event struct.
2779 * atk-bridge/bridge.c:
2781 atk_signal_text_changed, atk_signal_child_changed,
2782 signal ids queried from gtype system.
2783 (AtkBridgeEventContextType): New enum.
2784 (AtkBridgeEventContextData): New struct.
2785 (AtkBridgeEventContext): New struct.
2786 (atk_bridge_init_event_type_consts):
2787 New method, initializes type contants for comparison
2788 prior to emit_eventv.
2789 (atk_bridge_event_context_init): New method,
2790 initializes a CORBA_any from an AtkBridgeEventContext.
2791 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2792 initialize the event.any_data struct.
2793 (spi_atk_bridge_event_context_create): New method,
2794 creates an AtkBridgeEventContext from signal/event info.
2795 (spi_atk_bridge_event_context_free): New method.
2796 (spi_atk_emit_eventv): Changed to take an
2797 AtkBridgeEventContext parameter. We now initialize
2798 the event.any_data member prior to notifying the
2799 Registry, via the AtkBridgeEventContext.
2800 (spi_atk_bridge_property_event_listener):
2801 (spi_atk_bridge_state_event_listener):
2802 Match emit_eventv signature.
2803 (spi_atk_bridge_object_event_listener):
2804 Match emit_eventv signature, and create an
2805 event context from the event details.
2806 Free the event context afterwards.
2807 (spi_atk_bridge_window_event_listener):
2808 Create an event context, pass it to the
2812 (AccessibleEvent_getContextString):
2813 (AccessibleEvent_getContextObject):
2814 New methods, allow query of AccessibleEvent objects
2815 for more context details (via the "any_data" member
2816 of the Event struct, above).
2819 Definitions for AccessibleEvent_getContextString
2820 and AccessibleEvent_getContextObject.
2822 * cspi/spi_listener.h:
2823 (InternalEvent): New struct.
2826 (AccessibleEvent_getContextString):
2827 (AccessibleEvent_getContextObject):
2828 Implementations of new methods, for obtaining
2829 additional context information from some event types.
2831 * cspi/spi_registry.c:
2832 (SPI_registerGlobalEventListener):
2833 Added mention of active-descendant-changed event in docs.
2835 * cspi/cspi-bonobo-listener.c:
2837 Marshal the any into the AccessibleEvent via
2840 * libspi/spi-private.h:
2841 #include <orbit/orbit.h>
2843 (spi_init_any_string):
2844 (spi_init_any_object):
2845 New convenience function declarations.
2849 (spi_init_any_string):
2850 (spi_init_any_object):
2851 New convenience function implementations.
2853 * registryd/deviceeventcontroller.c:
2854 (spi_poll_dec_mouse_moved):
2855 (spi_device_event_controller_forward_mous_event):
2856 Initialize any_data member of event.
2857 (spi_deregister_controller_device_listener):
2858 Fix incorrect param pass which was preventing deregistration.
2860 * registryd/registry.c:
2861 (desktop_add_application):
2862 (desktop_remove_application):
2863 Add object data to event's any_data before dispatch.
2865 Fix for error messages from GAIL.
2867 * test/event-listener-test.c:
2868 Test new ContextString and "any_data" API:
2869 (report_text_event): New method query and output context string.
2870 (main): register a new text listener with report_text_event
2873 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2875 Fixes for bugs 98127 and 97914.
2876 * cspi/spi-roletypes.h:
2877 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2879 * cspi/spi-statetypes.h:
2880 Added SPI_STATE_MANAGES_DESCENDANTS
2882 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2883 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2884 * cspi/spi_accessible.c:
2885 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2886 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2887 Accessibility_STATE_MANAGES_DESCENDANTS
2888 * libspi/accessible.c:
2889 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2890 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2891 As requested by Bill, I also cleaned up the alignment.
2892 * libspi/relation.c:
2893 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2894 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2895 * libspi/stateset.c:
2896 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2897 Accessibility_STATE_MANAGES_DESCENDANTS
2898 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2899 Document changes reflecting modifications to roles.
2900 * docs/reference/cspi/tmpl/spi_relation.sgml:
2901 Document changes reflecting modifications to relations.
2902 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2903 Document changes reflecting modifications to states.
2905 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2908 Revved to 1.1.3, interface-age=3, binary-age=3.
2909 Added REBUILD macro.
2912 Removed accessx-gui from the tests, since we have a nice
2913 keyboard accessibility capplet now :-)
2915 * test/keysynth-demo.c:
2916 (increment_scan): removed do-nothing default: case,
2919 * test/visual-bell.c:
2920 (main) : removed do-nothing default: case,
2923 * cspi/spi_action.c:
2924 (AccessibleAction_getKeyBinding_):
2925 Documented keybinding string format.
2929 (AccessibleText_getAttributes):
2930 Documented the text attribute string format.
2931 It's changed to use semicolon delimiters also,
2932 to prevent clashes with CSS attributes, but the old
2933 trick of looking for ", " strings will still work
2934 (as unreliably as ever). Fix for bug related to 97916.
2937 Include <cspi/bonobo/cspi-bonobo-listener.h>
2938 Fixes build warning.
2939 (SPI_freeAccessibleKeySet):
2940 (AccessibleKeystrokeListener_addCallback):
2941 (AccessibleKeystrokeListener_removeCallback):
2942 Modify to use AccessibleDeviceListener API internally,
2943 instead of AccessibleKeystrokeListener.
2945 * idl/Accessibility_Event.idl:
2946 Added two more empty slots to EventListener (for a total of four).
2948 * idl/Accessibility_Accessible.idl:
2949 Added four empty slots to Accessible interface.
2951 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2953 * idl/Accessibility_Registry.idl:
2954 (KeyEventType, EventType):
2955 Marked KeyEventType as deprecated; it duplicates
2956 functionality of EventType, which has been extended to
2957 include Mouse-button events.
2958 (KeyEventTypeSeq): defined in terms of EventType.
2959 (registerDeviceEventListener, deregisterDeviceEventListener):
2960 New methods, for managing listeners to device events,
2961 which potentially may consume them.
2964 Added definition for AccessibleDeviceListener.
2966 * cspi/spi-listener.h:
2967 (enum AccessibleDeviceEventType):
2968 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2969 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2970 for backwards compat.
2971 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2972 and typedef'd AccessibleKeystroke to it for back-compat.
2973 (AccessibleDeviceListenerCB):
2974 New function prototype typedef.
2977 (AccessibleDeviceEventMask): New typedef.
2978 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2979 (AccessibleKeyMaskType):
2980 Set equivalent to AccessibleModifierMaskType for back-compat.
2981 (SPI_createAccessibleKeystrokeListener):
2982 (AccessibleKeystrokeListener_unref):
2983 Deprecated in favor of equivalent (better-named) new API below..
2984 keystroke listeners are like all device listeners.
2985 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2986 New API names for old features :-).
2987 (AccessibleDeviceListener_addCallback):
2988 (AccessibleDeviceListener_removeCallback):
2989 (SPI_registerDeviceEventListener):
2990 (SPI_deregisterDeviceEventListener):
2994 (SPI_createAccessibleKeystrokeListener):
2995 Use new preferred API, cspi_device_listener_new() and
2996 cspi_device_listener_add_cb().
2997 (AccessibleKeystrokeListener_removeCallback):
2998 Use new preferred API, cspi_device_listener_remove_cb().
2999 (AccessibleKeystrokeListener_unref):
3000 Use new preferred API, cspi_device_listener_unref().
3001 (SPI_createAccessibleDeviceListener):
3002 (AccessibleDeviceListener_addCallback):
3003 (AccessibleDeviceListener_removeCallback):
3004 Implementation of new API.
3006 * cspi/spi_registry.c:
3007 (SPI_registerDeviceEventListener):
3008 (SPI_deregisterDeviceEventListener):
3009 Implementation of new API. Fixed memory leak and removed need to
3010 allocate EventTypeSeq (thanks Michael for catching this).
3011 Squashed a wayward CORBA_exception_free that shouldn't get called.
3013 * cspi/bonobo/cspi-bonobo-listener.c:
3015 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3016 (cspi_key_event): renamed to cspi_device_event().
3017 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3018 Extended to handle mouse button events as well as key events.
3019 (CSpiKeystrokeListener):
3020 Class superceded by CSpiDeviceListener.
3021 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3022 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3024 * cspi/bonobo/cspi-bonobo-listener.h:
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 * libspi/Makefile.am:
3031 Replaced keystrokelistener.h and keystrokelistener.c
3032 with devicelistener.h and devicelistener.c; keystrokelisener.h
3033 stub retained for back-compat.
3035 * libspi/keystrokelistener.c:
3039 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3041 * registryd/deviceeventcontroller.c:
3042 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3043 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3044 (DEControllerPrivateData): Added xkb settings data.
3045 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3046 button release events (which can't be captured via XGrabButton).
3047 Don't dispatch via the 'normal' event mechanism if the device event was
3049 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3050 Handle the typeseq data in its new location (see above).
3051 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3052 New methods, for "generic" device listeners.
3053 (spi_controller_register_device_listener):
3054 Now handle mouse event listeners as well as key listeners.
3055 (spi_controller_notify_mouselisteners):
3056 New internal method.
3057 (spi_device_event_controller_forward_mouse_event):
3058 Now we notify mouse device listeners as well as generating the
3059 non-consumable "mouse:" events.
3061 We must check and restore the XKB
3062 modifier map if we consume the event, since the act of triggering
3063 a mouse event will normally reset the XKB latch. This is required for
3065 (spi_controller_register_with_devices):
3066 Load the XKB settings when registering, and register for XKB
3067 state notify events.
3068 (spi_key_eventtype_seq_contains_event):
3069 Renamed spi_eventtype_seq_contains_event, since it's used
3070 internally for all device event types now.
3071 (spi_key_event_matches_listener):
3072 Uses spi_eventtype_seq_contains_event now.
3073 (spi_device_event_controller_object_finalize):
3074 Free the private data and the XkbKeyboard struct.
3075 (impl_register_device_listener, impl_deregister_device_listener):
3076 Implementation of new IDL.
3077 (spi_deregister_controller_device_listener):
3078 New internal method.
3079 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3080 More efficient implementation, we don't have to create a new
3081 XkbControls structure every time we query.
3082 (spi_device_event_controller_class_init):
3083 Initialize the epv entries for the new IDL. Assign the
3084 "spi-dec-private" quark.
3085 (spi_device_event_controller_init):
3086 Initialize the private data.
3087 (spi_device_event_controller_forward_key_event):
3088 Removed a bogus CORBA_exception_free() call.
3090 * registryd/deviceeventcontroller.h:
3091 Replaced inclusion of keystrokelistener.h with
3094 * test/event-listener-test.c:
3095 (report_mouse_event):
3098 Added mouse-event device listener.
3100 * test/test-simple.c:
3101 (create_test_window):
3102 Fixed regression (we were instantiating a GtkRange,
3103 which is now an abstract class). Also fixed to match
3104 existing AtkRole names, this seems to have changed in ATK
3105 awhile ago; too late now I think, and the new
3106 mechanism is at least elegant and consistent with the
3107 glib enum "nick" APIs.
3109 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3111 * idl/Accessibility_Relation.idl:
3112 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3113 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3114 * idl/Accessibility_Role.idl:
3115 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3116 * idl/Accessibility_State.idl:
3117 add STATE_MANAGES_DESCENDANTS
3118 * test/event-listener-test.c:
3119 Added a listener for active-descendant events.
3121 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3123 * atk-bridge/bridge.c
3124 (atk_bridge_init): If application is Bonobo component wait until top
3125 level is added before registering
3126 (spi_atk_bridge_do_registration): New function which contains code,
3127 formerly in atk_bridge_init, to do application registration.
3128 (spi_atk_bridge_toplevel_added): Signal called when top level
3129 added to Bonobo component
3131 This fixes bug #83134.
3133 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3135 * registryd/deviceeventcontroller.c
3136 Fixed compilation error caused by calling gettimeofday()
3139 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3144 Added template for HAVE_XKB.
3147 Changes to check for XKB, and to set the HAVE_XKB #define if it
3150 * libspi/listener.c:
3151 ()impl_notify_event): Make failure to get event source name
3154 * registryd/deviceeventcontroller.c:
3155 (#include): include X11/XKBlib.h.
3156 (DEControllerPrivateData) : New struct.
3157 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3159 (dec_synth_keycode_press) (dec_synth_keycode_release):
3160 New methods; split the key synthesis code into these methods.
3161 They check XKB settings before determining the "time" values to
3162 pass to Xtest; this fixes bug #95828.
3163 (impl_generate_keyboard_event): Changed to use methods above,
3164 instead of callng Xtest directly.
3165 (spi_device_event_controller_init): Initialize new privae struct s
3167 (spi_device_event_controllr_object_finalize):
3168 Free the (new) private data.
3170 * registryd/deviceeventcontroller.h:
3171 Add new gpointer to end of struct data.
3173 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3176 Incremented revision to 1.1.2, SONAME is still '.so', library
3177 extensions are ".so.0.0.2".
3179 * registryd/deviceeventcontroller.c:
3180 FIXES FOR #93592 and #95940.
3181 (statics): renamed mouse_button_state to mouse_mask_state,
3182 added key_modifier_mask.
3183 (spi_dec_poll_mouse_moved):
3184 Added key modifier checks, and emit "keyboard:modifiers"
3185 events when the key modifiers currently in use change.
3186 Also generate "mouse:abs" events periodically, even if the mouse
3187 is stationary (should we?).
3188 Alternatively we could generate "mouse:abs" events for either all
3189 mouse movements, or every 'nth' mouse movement, or at the
3190 beginning and end of every "active" mouse period.
3192 * test/event-listener-test.c:
3193 (main): Added listener for "keyboard:modifiers" events.
3195 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3197 * libspi/keymasks.h:
3198 Added key mask #defines for mouse buttons; e.g.
3199 SPI_KEYMASK_BUTTON1, etc.
3202 Incremented dependency on ATK to version 1.1.0. (This dependency
3203 is probably premature but will soon be real enough).
3205 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3207 * libspi/hyperlink.[ch]
3208 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3209 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3212 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3217 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3219 * registryd/deviceeventcontroller.c
3220 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3221 events to be ignored.
3222 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3223 keyboard_mode so that XAllowEvents() can be called.
3227 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3229 * cspi/spi-accessible.c: Correct names of roles returned by
3230 AccessibleRole_getName(). Fixes bug #95055.
3232 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3234 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3237 * registryd/registry.c
3238 (desktop_remove_application: Write diagnostic message to stderr for
3241 (impl_accessibility_registry_deregister_global_event_listener):
3242 Correct size of lists array. This addresses bug #94555).
3244 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3246 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3249 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3251 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3254 * registryd/registry.c (impl_registry_notify_event): Remove
3255 unnecessary call to parser_event_type().
3257 * docs/reference/cspi/tmpl/spi_component.sgml:
3258 Add reference to SPI_LAYER_WINDOW.
3260 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3262 * registryd/registry.c
3263 (desktop_add_application): Remove leak.
3264 (desktop_remove_application): Remove leak.
3265 (parser_event_type): Remove leak.
3267 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3269 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3270 bogus call to CORBA_string_dup(). Also removed unnecessary
3271 g_string_dup/g_free calls.
3273 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3275 * registryd/deviceeventcontroller.c:
3276 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3278 * test/event-listener-test.c:
3279 main: commented out three redundant listeners, to reduce output
3280 noise. (They still are potentially useful for testing).
3283 2002-09-13 Michael Meeks <michael@ximian.com>
3285 * Update all the copyrights to include Ximian.
3287 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3289 * cspi/spi.h: add SPI_LAYER_WINDOW.
3291 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3292 add Accessibility_LAYER_WINDOW case.
3294 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3296 * libspi/component.c: (impl_accessibility_component_get_layer):
3297 add ATK_LAYER_WINDOW case.
3299 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3301 * configure.in: incremented micro version.
3303 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3305 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3308 Clarified and reworded our commit policy.
3311 Started an API "todo" addition list for 2.2.
3314 (impl_getSelection):
3315 Free char pointer from atk_text_get_selection, which was being leaked.
3317 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3320 Small revision to author acknowledgement.
3322 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3324 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3325 If signal has detail add it to the type of the event.
3328 2002-08-12 Michael Meeks <michael@ximian.com>
3330 * test/test-simple.c (global_listener_cb): bin bogosity.
3331 (test_keylisteners): disable, still doesn't work reliably,
3332 certainly not on my system anyway.
3334 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3335 don't leak a reference on the DEC. This round-trip
3336 fetching of the DEC per keystroke sucks, it should be
3339 * cspi/spi-private.h,
3340 * cspi/cspi-lowlevel.h,
3341 * cspi/bonobo/cspi-bonobo-listener.[ch],
3342 * cspi/bonobo/cspi-bonobo.c: get the copyright
3343 notices better - there is still a large amount of
3344 work in at-spi falsely attributed solely to Sun.
3346 * cspi/spi_main.c (cspi_object_ref): kill bogus
3347 hash lookup, just increment the ref.
3348 (SPI_freeString): make explicit the fact that we
3349 handle NULL strings just fine.
3350 (report_leaked_ref): obey coding standards.
3351 (cspi_object_hash, cspi_object_equal): kill retval.
3352 (cspi_object_release): only release if not on loan.
3353 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3354 (cspi_object_borrow, cspi_object_return): impl.
3356 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3357 use cspi_object_borrow / return.
3359 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3361 * cspi/bonobo/cspi-bonobo-listener.c:
3363 Don't call cspi_oject_new() because this is creating a new Accessible
3364 every single time that an event is fired. This causes ATs like at-poke
3365 to nolonger recognise the source of the event and thus ignore it.
3366 Re-use the object from the cache, ref it and then unref it after the
3367 listeners have been called.
3369 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3371 * test/event-listener-test.c:
3372 Added command-line options to disable mouse events (m) and
3375 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3377 * configure.in: Update required versions of ATK, GTK+ and GAIL
3379 * cspi-1.0.pc.in: Add dependency for X include files
3382 * cspi/bonobo/Makefile.am:
3383 Add $(X_CFLAGS) so that X include files
3384 are picked up even if not in standard place (bug #71686)
3386 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3388 * registryd/deviceeventcontroller.c: fix for 84261
3389 (spi_dec_mouse_moved):
3390 Added test of mouse button mask, so that we can detect mouse
3391 button release. Unfortunately we can't otherwise detect mouse
3392 button release events without consuming the mouse press event,
3393 because of the way XGrabButton works. This means that our mouse
3394 release events have a latency dependent on the polling period
3395 while the mouse button is down. At least in this case we only
3396 have to poll while the button is down, and not at other times.
3397 If the button masks don't match with what the last press event
3398 reported, we report the appropriate button release event.
3399 (spi_dec_ungrab_mouse):
3400 New method (not yet called).
3401 (spi_device_event_controller_forward_mouse_event):
3402 New method, sends mouse press event from GdkFilter.
3403 (spi_dec_init_mouse_listener):
3404 Added code to call XGrabButton, redirecting mouse button events to
3405 the root window and our Gdk event loop.
3407 Added code to filter mouse button events, and reordered.
3409 * test/event-listener-test.c:
3411 Added registration for mouse events of type "mouse:button".
3413 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3415 * registryd/deviceeventcontroller.c: partial fix for 84261
3416 (spi_dec_poll_mouse_idle):
3417 New method, a timeout which checks to see if the mouse
3419 (spi_dec_poll_mouse_moving):
3420 A timeout to be called when mouse motion is underway.
3421 (spi_dec_poll_mouse_moved):
3422 A method which fires an event if the mouse has moved, and reports
3423 whether or not it did so.
3424 (spi_dec_init_mouse_listener):
3425 A method which sets up the timeouts above.
3426 (spi_device_event_controller_new):
3427 Now calls spi_dec_init_mouse_listener.
3429 * registryd/registry.c:
3430 (spi_registry_init):
3431 Now we initialize the device event controller when the registry is
3432 initialized, instead of waiting until a client has requested a key
3433 event notification; this is because we need the event controller
3434 for mouse events, but the mouse event registration API is a
3435 "registry" call and doesn't explicitly call the
3436 deviceeventcontroller.
3437 We now report mouse motion events with a 100 ms idle latency and
3438 a 20 ms granularity when motion is in progress.
3440 * test/event-listener-test.c:
3442 We now register the "detail listener" for events of type
3443 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3444 delivered only for the first mouse event received, and thereafter
3445 "mouse:abs" events are delivered.)
3447 * cspi/spi_registry.c:
3448 DOCS: Documented the above mouse event typestrings.
3450 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3452 Happy Summer Solstice...
3454 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3455 (spi_controller_notify_keylisteners):
3456 Changes to remove a listener from the listener list, freeing its
3457 open keygrabs, if a notification to that listener fails. This
3458 means that although a dead listener can continue to hold a passive
3459 keygrab, a maximum of one dispatch to such a listener can fail
3460 before the listener is removed from the list, thus the keygrab
3461 will be released on the next occurrence.
3462 As part of this fix:
3463 (spi_notify_keylisteners):
3464 Renamed to spi_controller_notify_keylisteners, as the controller
3465 instance must now be passed as an argument.
3466 The copied 'notify' GList is now a list of DEControllerKeyListener
3467 objects, since we need more than just the CORBA reference if a
3468 notify fails and we need to deregister the listener.
3469 (impl_notify_listeners_sync):
3470 (impl_notify_listeners_async):
3471 (spi_device_event_controller_forward_key_event):
3472 Modify use of notify_keylisteners in accordance with above
3474 (spi_deregister_controller_key_listener):
3475 New method introduced by refactoring, from
3476 impl_deregister_keystroke_listener.
3477 (impl_deregister_keystroke_listener):
3478 Call spi_deregister_controller_key_listener.
3479 (spi_key_listener_clone):
3480 New method to copy a key listner without doing a 'ref' on the
3481 remote object instance; used to create a notifier list.
3482 (spi_key_listener_data_free):
3483 New method, frees data without unreffing the source.
3485 (spi_key_listener_clone_free): new method.
3486 (spi_key_listener_free):
3487 refactored to call spi_key_listener_data_free.
3489 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3491 * registryd/registry.c: [fix for bug 86048]
3492 (notify_listeners_cb):
3493 Clear CORBA system exceptions which occur when notifying
3494 listeners, before returning to the source of the original event,
3495 since the event source doesn't care if the relayed notify failed.
3496 In other words, don't complain to the atk-bridge if the registry
3497 could not notify all its listeners, that's no fault of the
3498 application and thus should not appear to be an error from the
3499 application's perspective.
3501 * cspi/spi_main.c: [fix for bug 85980]
3503 Replaced use of bonobo_object_dup_ref with call to the wrapper
3504 method, csou_dup_ref (); this silences a compiler warning and
3505 provided more portability.
3507 Ping the registry before return, and restart if necessary.
3509 * cspi/bonobo/cspi-bonobo.c:
3511 New internal method.
3513 Fixed this method to return an object reference, as it should have
3516 * cspi/cspi-lowlevel.h:
3517 Added internal definition for cspi_ping() and fixed
3518 return type of cspi_dup_ref().
3521 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3523 * atk-bridge/bridge.c: [fix for bug 85305]
3524 (spi_atk_bridge_register_application):
3525 New method where the initial application registry calls have been
3526 moved; it allows an application to re-register in response to
3527 certain error conditions (such as a registry restart, see below).
3529 Moved some initialization code to the method
3530 spi_atk_bridge_get_registry, below.
3531 (spi_atk_bridge_get_registry):
3532 New, private accessor function for the Accessibility_Registry
3533 instance. If the registry has not been started before, or has
3534 died (as detected by failure of a CORBA exception), it is
3535 restarted before return, and spi_atk_bridge_register_application
3536 is called again to register with the new bridge instance.
3537 (spi_atk_emit_eventv):
3538 Set registry_died on error; use spi_atk_bridge_get_registry () to
3539 access the registry.
3541 * registryd/registry.c:
3542 (impl_accessibility_registry_register_global_event_listener):
3543 Set listener's event_type_quark to etype.minor instead of
3544 etype.major (fix for bug 84856).
3546 * test/event-listener-test.c:
3547 (report_detail_event):
3548 Change the output string so that user/tester can tell that the
3549 'detail listener' was called instead of the 'generic listener'.
3551 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3553 Fixes for bugs 84900, 84908, 84897, 84898.
3558 Revved version to 1.1.0
3559 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3560 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3562 * idl/Accessibility_Registry.idl:
3563 (EventListener::notifyEvent):
3564 Removed 'oneway' directive after extensive consulation with
3565 ORBit2 team and others. This means also that unref() of the event
3566 source can and should be done synchronously after emission, rather
3567 than remotely in the client, after servicing the notify call on
3570 NOTE: This change speeds up listener performance considerably, but
3571 introduces new latency on the application side. We may want to
3572 add an event queue to the atk-bridge.
3574 * atk-bridge/bridge.c:
3575 (spi_atk_bridge_focus_tracker):
3576 Do a local unref() on the event source after emission.
3578 * registryd/registry.c:
3579 (desktop_remove_application):
3580 Do an unref() on the event source after emission.
3581 (desktop_add_application):
3582 Do an unref() on the event source after emission.
3583 (notify_listeners_cb):
3584 When relaying an event, don't automatically add the event source
3585 to the local object cache, just CORBA_dup it instead. Likewise,
3586 if this method reenters, release the ref rather than calling
3588 (impl_registry_notify_event):
3589 No longer call remote unref() on the event source after dispatch.
3591 * libspi/eventlistener.c:
3592 (impl_accessible_event_notify_event):
3593 Removed remote unref ()
3595 * cspi/bonobo/cspi-bonobo-listener.c:
3597 We now call cspi_object_new() instead of cspi_object_add() on
3598 receipt of an event; thus we only have an implicit object ref
3599 while the cspi_event method is being executed. If we need to keep
3600 a reference to the object, the listener must call ref() on the
3601 object. Thus also we don't need to call cspi_object_unref() after
3602 invoking the listener callbacks in this method.
3606 New internal API for creating a new cspi object, without adding it
3607 to the object cache.
3609 Now uses cspi_object_new() to create the cspi object instance.
3611 Now checks to see if the object is in the internal object cache,
3612 and adds it if necessary before incrementing its refcount (note
3613 that new objects are added with a refcount of 1).
3614 (report_leaked_ref):
3615 New method which gives some information on leaked object instances
3616 if leak detection is turned on.
3618 * test/event-listener-test.c:
3619 (timing_test_event):
3620 New method, used for testing event delivery timing for special
3621 events of type "object:test". It reports elapsed time and
3622 events/sec every 500 events.
3624 Added a new listener, 'test listener', to check timing of event
3625 receipt as noted above.
3627 Added some timing output here also, reports elapsed time every 100
3630 * test/stress-test.c:
3631 Emit events of type "object:test", for use with "event-listener-test".
3633 * test/test-simple.c:
3634 (global_listener_cb):
3635 Call Accessible_ref() on the event source before calling
3636 validate_accessible, since the validation process does pointer
3637 comparisons on the event source, meaning that the event source
3638 needs to be added to the local object cache first. Any use of
3639 such pointer comparisons between Accessible objects requires that
3640 the caller hold an explicit reference to those objects.
3641 We also must therefore call Accessible_unref() when leaving this method.
3643 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3645 * registryd/deviceeventcontroller.c:
3646 (spi_controller_update_key_grabs):
3647 Fix for #84735, subsequent keygrab listeners not informed of
3648 registration failure.
3651 (spi_base_construct):
3652 Add an assertion on construct, to make sure the GObject passed in
3653 is really a GObject.
3655 Explicitly initialize object->gobj pointer to NULL;
3657 * cspi/bonobo/cspi-bonobo-listener.c:
3658 (cspi_object_add_ref):
3659 New method, can specify whether to dup-ref a bonobo object passed
3660 in if it's newly added to the object cache.
3662 Now calls cspi_object_add_ref with second param of "FALSE". This
3663 prevents us from doing a pointless dup-ref followed by
3664 release-unref for all those cases where the object is already in
3665 our object cache (fix for #85205).
3667 * atk-bridge/bridge.c:
3668 (spi_atk_bridge_idle_init):
3669 Removed this method, we don't need to initialize in an idle
3672 Changed to call spi_atk_register_event_listeners directly, not via an
3673 idle handler. (fix for #81139)
3674 (gnome_accessibility_module_shutdown):
3675 Removed conditional around deregistration of listeners, since we
3676 don't use the idle handler and thus have always registered when
3678 (spi_init_keystroke_from_atk_key_event):
3679 Changed references to Accessibility_KEY_PRESSED to
3680 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3682 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3684 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3689 * test/stress-test.c:
3692 (may have been an incomplete commit yesterday?)
3694 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3697 Added target for new stress-test.
3699 * test/stress-test.c:
3700 New test, sends 1000 focus notifies in quick succession.
3702 * test/key-listener-test.c:
3703 Now we report whether a keylistener registration
3704 request succeeded or failed.
3706 * test/event-listener-test.c:
3707 Uncommented some listeners which are now implemented.
3710 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3712 * registryd/deviceeventcontroller.c:
3713 (spi_controller_update_key_grabs):
3714 Fix for #82509, lack of failure notification when
3715 ALL_WINDOWS keygrabs fail due to XGrabKey
3716 failure: we synchronize the server when
3717 registering a passive grab, to make sure we get the
3718 error message before the call returns.
3720 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3722 * test/test-simple.c:
3724 Removed #ifdef KEY_IMPL_WORKS guards.
3725 (test_keylisteners):
3726 Removed #ifdef KEY_IMPL_WORKS guards.
3727 Fixed bug which was causing a hang waiting for a
3728 "press" event (which was already overwritten by a "release"
3729 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3731 Added code to set globals 'key_press_received' and
3732 'key_release_received'.
3735 Added section "1.1 API Proposed Additions" which
3736 lists API additions desired for at-spi-1.1 (only one so far).
3737 Updated TODO list a little.
3739 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3741 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3744 * configure.in: Revved to 1.0.0.
3746 * idl/Accessibility_Registry.idl:
3747 (registerKeystrokeListener):
3748 Added boolean return value.
3750 * registryd/registry.c:
3751 (notify_listeners_cb): Minor fix to debug output.
3753 * registryd/Accessibility_Registry.server.in.in:
3754 Revved version number in OAFIID to 1.0.
3756 * registryd/registryd.c:
3758 Use new OAFIID version.
3760 * cspi/bonobo/cspi-bonobo.c:
3762 Use new OAFIID version.
3768 * atk-bridge/bridge.c:
3770 Use new OAFIID version.
3772 * registryd/deviceeventcontroller.c:
3773 (impl_register_keystroke_listener):
3774 Added CORBA_boolean return value.
3775 (spi_controller_register_device_listener):
3776 Added gboolean return value.
3777 (spi_controller_register_global_keygrabs):
3778 Added gboolean return value.
3779 (spi_key_set_contains_key):
3780 Added implementation for many more control keys,
3781 for instance F1-F12, arrow keys, End, Home, Page_Up,
3783 [TODO: some still not implemented].
3785 * text/screen-review-test.c:
3786 (text_chunk_pad_string):
3787 New function: it provides mapping between coordinate
3788 positions of text chunks and character positions in the
3789 screen-review-line output string.
3790 (text_chunk_to_string):
3791 New function, calls text_chunk_pad_string with various
3792 pad/delimiter characters. Pushbuttons are delimited with
3793 square brackets, Frames with vertical 'pipe' lines, and
3794 other text with double quotes.
3795 (text_chunk_list_to_string):
3796 Calls new function text_chunk_to_string.
3797 (toplevel_composite):
3798 New function to composite layers CANVAS through
3799 POPUP in each toplevel (other layers are composited
3800 across toplevels, i.e. BACKGROUND and OVERLAY).
3801 (review_buffer_composite):
3802 Revise to use new methods.
3808 2002-05-31 Laszlo Peter <laca@sun.com>
3810 * configure.in: add the Xtst libdir to the runpath on Solaris,
3811 since it's not in the default library search path.
3813 2002-05-29 jacob berkman <jacob@ximian.com>
3815 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3817 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3819 * test/screen-review-test.c:
3820 (text_chunk_pad_string):
3821 Added method, which pads the string according to the
3822 text bounds of the chunk. It also takes a 3-character
3823 string as a param which indicates the characters to be
3824 used for start, padding, and end delimitation of the chunk.
3825 (text_chunk_to_string):
3826 Changed to use text_chunk_pad_string.
3828 * configure.in: Fixed bug in AC_OUTPUT that was
3829 causing path substitution in Accessibility_Registry.server
3832 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3834 * text/screen-review-test.c:
3835 (guess_string_clip):
3836 New method which attempts a best-guess at clipping
3837 text from components (like Java labels) which don't
3838 actually implement AccessibleText. This inaccurate
3839 clip is based on the assumption that the label is
3840 justified left-and-right, and monospaced.
3841 (text_chunk_get_clipped_string):
3842 We now call guess_string_clip() for text-containing
3843 components that don't implement AccessibleText.
3845 * test/screen-review-test.c:
3846 (review_buffer_get_text_chunk):
3847 We now pull "name" from labels if they do not implement
3848 AccessibleText (i.e. for Java labels).
3849 (get_screen_review_line_at):
3850 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3853 Replaceded AC_OUTPUT target
3854 registryd/Accessibility_Registry.server with
3855 registryd/Accessibility_Registry.server.in.
3857 * registryd/Accessibility_Registry.server.in:
3858 Removed (this is now a Makefile target).
3860 * registryd/Accessibility_Registry.server.in.in:
3861 Added (source for target above). We now use $(libexecdir) as
3862 prefix for the executable at-spi-registryd.
3864 * registry/Makefile.am:
3865 Now install at-spi-registryd into $(libexecdir), and build .server
3866 file with path (see above).
3868 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3870 * test/screen-review-test.c:
3871 (text_chunk_get_clipped_string):
3872 We now check to see if words fall within clip bounds
3873 before resorting to character-by-character clip bounds testing.
3875 * TODO: Added a section for "2.2 Proposed API Additions".
3877 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3879 * test/screen-review-test.c:
3881 Added a screen review benchmarking and test program to test
3884 * cspi/spi_accessible.c:
3886 Made some of the debug strings passed to cspi_check_ev a
3887 little more specific.
3889 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3891 * test/screen-review-test.c: Fix crashes in debug statements
3893 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3895 * test/screen-review-test.c: Added this file.
3897 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3899 * atk-bridge/bridge.c: changed "object:state-change" to
3900 "object:state-changed" to match docs.
3902 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3904 * atk-bridge/bridge.c: Hooked up state-change event details.
3906 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3908 * registryd/registry.c:
3909 Fixed quarking bug in event string parsing; now events with
3910 detail parameters get matched correctly to listeners.
3913 * util/idl/Magnifier.idl: remove.
3915 * util/*.[ch]: Remove.
3916 Magnification utilities and IDL are now in module gnome-mag.
3918 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3920 * registryd/deviceeventcontroller.c:
3921 Fixed bug in grab key conversion which was causing keycode grabs
3922 to be converted to AnyKey grabs.
3925 updated NEWS file to reflect recent spin-off of gnome-mag.
3927 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3929 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3930 busted AccessibleStateSet_compare. Removed redundant casts.
3932 * cspi/spi-action.c: Removed redundant casts.
3934 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3936 * cspi/spi_component.c: Fixed typos and casting error.
3938 * cspi/spi_editabletext.c: Removed redundant casts.
3940 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3942 * cspi/spi_hypertext.c: Eliminated redundant casts.
3944 * cspi/spi_image.c: Eliminated redundant casts.
3946 * cspi/spi_registry.c: Eliminated redundant casts.
3947 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3948 * cspi/spi_selection.c: Removed redundant casts.
3949 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3950 handling. Screen geometry and text offsets were being returned as 0
3951 on error which is technically valid-- changed these to return -1.
3952 Added marshaller for text boundary types to fix bug with boundary
3953 types being passed incorrectly to atk.
3955 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3958 * cspi/spi_registry.c:
3959 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3960 which was uncovered by the recent key changes.
3962 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3964 * test/event-listener-test.c:
3966 Added new test, "event-listener-test";
3967 this code does two things; it benchmarks traversal time
3968 for the accessible hierarchy for the first running accessible
3969 app, and it connects listeners for all supported event types.
3970 It is thus useful as an example event listener and for
3971 diagnostics/debugging of event generation.
3973 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3976 Removed unnecessary dependency on libutil.
3979 Revved micro version: 0.13.1
3981 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3984 Removed util/Makefile from targets.
3987 Removed util subdir from SUBDIRS (temporarily,
3988 pending removal of magnifier-only code
3992 #ifdef-ed out magnifier dependencies, since
3993 magnifier IDL, headers, and binary now live in
3994 module gnome-mag and we don't want at-spi to depend
3995 on gnome-mag. A magnifier demo which can run alongside
3996 simple-at is forthcoming in the gnome-mag module.
3998 NOTE: Split magnifier binary, IDL, and magnification
3999 activation code from at-spi into module gnome-mag.
4001 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4003 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4004 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4006 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4009 Revved to version 0.13.0
4011 * idl/Accessibility_Registry.idl:
4012 Changed definition of KeySet from sequence of longs to sequence of
4013 KeyDefinitions, and added KeyDefinition struct.
4014 Required for fix to bug 80616.
4016 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4017 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4018 to use new definition (see above).
4020 * registryd/deviceeventcontroller.c: handle_keygrab(),
4021 spi_keyset_contains_key():
4022 Changed to make use of new struct; this allows matching based on
4023 string key-name, for instance "Tab". This also allows matching of
4024 composed characters, non-alphanumeric characters in a way that
4025 doesn't involve dependencies on X keysym codes directly, etc.
4027 * test/key-listener-test.c:
4028 Added test for Alt-Tab key using "string" specification of keyset,
4029 and modified one of the tests to use a keycode-based keyset.
4030 Thus this test both tests and demonstrates the creation and use of
4031 keysets of three forms: specified via keycode array,
4032 keysym array, and string array. (The string case only contains a
4033 single string, i.e. a string array of length 1).
4036 Turned on PRINT_TREE option by default. Also fixed a
4037 string-freeing bug in the PRINT_TREE code.
4038 Added a listener to window:minimize events.
4040 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4042 * atk-bridge/bridge.c:
4043 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4044 for window:activate and window:deactiveate
4045 (atk_bridge_property_event_listener atk_bridge_signal_listener
4046 atk_bridge_window_event_listener) Tidy debug code
4048 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4050 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4051 Fixed handling for NULL return value from ATK.
4053 * libspi/action.c libspi/component.c libspi/editabletext.
4054 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4055 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4056 Removed redundant casts.
4058 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4059 Fixed off by one bug.
4061 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4062 function not present in idl)
4064 2002-05-02 jacob berkman <jacob@ximian.com>
4066 * atk-bridge/Makefile.am: make atk-bridge a real module
4068 2002-04-26 Radek Doulik <rodo@ximian.com>
4070 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4071 atk_state_types table
4073 2002-04-22 jacob berkman <jacob@ximian.com>
4076 * libspi/Makefile.am: add deps on the built files to help
4077 automake, and don't version the ORBit typelib
4079 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4081 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4082 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4083 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4084 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4085 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4086 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4087 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4088 libspi/accessible.h libspi/accessible.h libspi/base.h
4089 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4090 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4091 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4092 libspi/spi-private.h libspi/statetset.h libspi/table.h
4093 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4094 util/mag_client.h util/mag_control.c util/mag_image.c
4095 util/mag_image.h util/magnifier.c util/magnifier.h:
4096 Add missing file headers; standardize existing ones
4098 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4100 * atk-bridge/bridge.c: Added window event support.
4102 2002-04-18 Michael Meeks <michael@ximian.com>
4104 * libspi/relation.c (impl_getNTargets): impl.
4105 (impl_getTarget): impl.
4107 * libspi/Makefile.am: fix stateset install.
4109 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4112 Started putting useful info in this file.
4114 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4116 * atk-bridge/bridge.c:
4117 Propagate state-changed notifications to ATs
4119 * cspi/spi_registry.c: update docs to reflect actual behavior of
4120 state-change events.
4122 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4125 Incremented version to 0.12.1
4127 * util/mag_client.h:
4128 Add missing declaration for magnifier_exit,
4129 used by mag_control.c - Forte compiler didn't like
4130 the implicit redeclaration of the function :-(
4133 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4136 Revved version to 0.12 due to API change (see below).
4138 * cspi/spi-roletypes.h:
4139 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4140 definition from the inline docs, and added docs
4141 for SPI_ROLE_LAST_DEFINED.
4144 * cspi/spi_streamablecontent.c:
4145 Added missing seek_type parameter to
4146 (so far unused) method,
4147 AccessibleStreamableContent_seek().
4148 [ RT approval JodyG. ]
4151 Fixed docs for SPI_createAccessibleKeystrokeListener.
4153 * cspi/spi_registry.c:
4154 Fixed docs for SPI_KEYSET_ALL_KEYS.
4156 * docs/reference/cspi/at-spi-cspi-sections.txt:
4157 Added a number of missing APIs to SECTIONS.
4159 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4161 * registryd/Makefile.am:
4163 * cspi/bonobo/Makefile.am:
4164 Add $(X_LIBS) to makefiles.
4166 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4169 Revved version to 0.11.
4171 * libspi/component.c:
4172 Added implementation for grabFocus.
4174 * idl/Accessibility_Component.idl
4175 (Accessibility_Component_grabFocus):
4176 Made this method return boolean to indicate success or failure, to
4177 be consistent with cspi and the corresponding ATK method.
4179 * idl/Accessibility_Selection.idl
4180 (Accessibility_Selection_selectAll) :
4181 Made these methods return boolean to indicate success or
4182 failure, to be consistent with cspi and the corresponding ATK methods.
4184 * idl/Accessibility_EditableText.idl
4185 (Accessibility_EditableText_setTextContents,
4186 Accessibility_EditableText_insertText,
4187 Accessibility_EditableText_cutText,
4188 Accessibility_EditableText_deleteText,
4189 Accessibility_EditableText_pasteText):
4190 Made these methods return boolean to indicate
4193 * cspi/spi_editabletext.c:
4194 Made these methods return booleans.
4196 * libspi/selection.c:
4197 * libspi/component.c:
4198 * libspi/editabletext.c:
4199 Connected the boolean returns from ATK
4200 to the server-side code referenced above.
4202 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4204 * idl/Accessibility_Table.idl: Added missing methods,
4205 Accessibility_Table_addRowSelection,
4206 Accessibility_Table_addColumnSelection,
4207 Accessibility_Table_removeRowSelection,
4208 Accessibility_Table_removeColumnSelection.
4211 Added C wrappers for above IDL:
4212 AccessibleTable_addRowSelection,
4213 AccessibleTable_addColumnSelection,
4214 AccessibleTable_removeRowSelection,
4215 AccessibleTable_removeColumnSelection.
4218 Added server-side implementation code for IDL above, connecting
4219 to pre-existing ATK api.
4221 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4223 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4225 * libspi/accessible.c: Added implementation fo
4226 Accessibility_Accessible_get_state.
4228 * libspi/libspi.h: Added stateset.h to the list of includes.
4230 * libspi/stateset.c: Fixed broken implementation.
4232 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4235 Added implementation code for Accessibility_Magnifier_exit ().
4237 * util/mag_control.c:
4238 Added test code for above method; you can
4239 now kill an existing magnifier via
4240 ./mag_control q, from the util directory.
4242 * test/key-listener-test.c:
4244 Added a new test, for our key listener API.
4246 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4248 * test/app.c, test/keysynth-demo.c:
4250 Replace use of snprintf with g_snprintf.
4251 (fix for bugzilla 78249)
4253 2002-03-27 Michael Meeks <michael@ximian.com>
4257 * util/Makefile.am (INCLUDES): fix.
4258 (DONT_DIST_SOURCE): don't distribute the
4261 * libspi/Makefile.am (dist-hook): ditto.
4263 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4265 * libspi/hypertext.c:
4266 Fix warnings when yelp is used with atk-bridge
4268 2002-03-21 Michael Meeks <michael@ximian.com>
4270 * libspi/application.c (spi_application_new):
4271 use spi_accessible_construct so we use the AtkObject
4274 2002-03-19 Michael Meeks <michael@ximian.com>
4276 * registryd/registry.c (desktop_remove_application),
4277 (desktop_add_application): clean coding style.
4279 * registryd/desktop.c (spi_desktop_remove_application),
4280 (spi_desktop_add_application): kill re-enterency hazards.
4281 (spi_desktop_dispose): remove bogus redundant cast
4282 obscuring bug; fix bug too.
4283 (spi_desktop_init): make the desktop object immortal.
4285 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4288 Added a #define-guarded tree-traversal step
4289 when enumerating the apps (diagnostic tool).
4291 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4293 * idl/Accessibility_Role.idl:
4294 Added ROLE_DRAWING_AREA which seemed to be missing from the
4297 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4299 * cspi/spi-roletypes.h cspi/spi_accessible.c
4300 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4303 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4304 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4305 AT when applications are added and removed from the desktop. This
4306 reverts the previous broken implementation using the backing
4307 AtkObject for the SpiDesktop.
4309 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4311 * registryd/desktop.c: emit the "children-changed::add" and
4312 "children-changed::remove" signals on the backing ATK object for
4313 the desktop so AT can tell when applications are started and shut
4316 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4318 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4320 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4322 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4324 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4326 * cspi/state-types.h: synched with IDL and ATK
4328 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4330 * libspi/accessible.c
4331 (impl_accessibility_accessible_get_child_at_index):
4332 Change return value for g_return_if_fail ()
4333 to CORBA_OBJECT_NIL instead of "0" (!)
4335 * registryd/Makefile.am:
4336 * registryd/Accessibility_Register.server.in:
4337 Changed name of executable, "registryd",
4338 to something more informative:
4341 2002-03-13 Michael Meeks <michael@ximian.com>
4343 * atk-bridge/bridge.c (atk_bridge_init): don't register
4344 if we're in a bonobo-component, rather than a bonobo app.
4346 2002-03-13 Michael Meeks <michael@ximian.com>
4348 * atk-bridge/bridge.c (gtk_module_init): split
4349 out body to (atk_bridge_init): here, since otherwise
4350 we get symbol conflicts and oddness when invoked
4351 from (gnome_accessibility_module_init): here (upd.)
4353 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4356 New file. Explicitly allow "build sheriff" putbacks provided
4357 they are tested on Solaris.
4359 * docs/reference/cspi/Makefile.am:
4360 Added '-' to the "cp" command for index.sgml.
4361 ("patch by thomasvs, soon coming to a GUADEC near you")
4364 Incremented version number (0.9.0) for new release.
4365 Changed macro that checks for popt, to better detect
4366 obsolete versions of popt.
4369 Added X_LIBS to AC_SUBST, for applications
4370 that call Xlib API directly.
4373 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4376 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4379 Fix regression caused by hard-coding major
4380 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4383 * test/test-simple.c (test_editable_text),
4384 (test_test): revert previous change (error was
4385 a regression in gail which is now fixed).
4387 2002-03-04 Michael Meeks <michael@ximian.com>
4389 * test/test-simple.c (test_editable_text),
4390 (test_text): pass G_MAXINT instead of '-1' for
4391 whole string - is this a good thing !?
4393 * cspi/spi_accessible.c
4394 (Accessible_getRelationSet): fix crasher bug
4395 overwriting the end of the array.
4397 * test/test-simple.c (validate_accessible): free,
4398 not g_free returned relation set.
4400 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4402 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4403 implemented stateset support
4405 * idl/Accessibility_State.idl: Made necessary changes to
4406 the IDL to support state sets.
4408 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4410 * registryd/deviceeventcontroller.c:
4411 Added implementation for generateMouseEvent.
4413 * cspi/spi_registry.c:
4414 Connected new implementation for generateMouseEvent
4417 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4420 Incremented revision (but no change in public API
4421 outside of 'utils', which are not installed public yet.)
4423 * libspi/component.c:
4424 Changed to use atk_component API for layers and
4425 mdi_zorder, instead of deprecated atk_object API.
4427 Magnification Utility Enhancements:
4430 Added implementation of createZoomRegion, clearAllZoomRegions,
4431 resizeZoomRegion. Added new commandline argument
4432 "--no-initial-region". Note that clearAllZoomRegions doesn't
4433 unmap the old '0' region as it should (yet), and the other
4434 methods only work when creating/resizing a single region,
4435 which is "region 0".
4436 (Code for multiple region support will be added later.)
4439 Now we raise the magnifier window each time it's refreshed;
4440 this will help keep it on top.
4442 * util/mag_client.h:
4443 Added simple wrappers for above, used by mag_control.
4444 For general use, it's recommended to use the bonobo magnifier
4445 control API directly instead of using these wrappers.
4448 Moved ZoomRegionData from magnifier.c to this file.
4450 * util/mag_control.c:
4451 Added some code to exercise new IDL implementations.
4453 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4455 * libspi/text.c: Provide implementation for getAttributes.
4457 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4460 Incremented revision.
4462 * test/test-simple.c:
4463 Replaced use of deprecated g_main_iteration with
4464 g_main_context_iteration.
4466 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4469 Incremented revision for desktop alpha 2.
4471 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4473 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4476 * test/simple-at.c: include netinet/in.h.
4478 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4480 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4481 use NULL, not CORBA_OBJECT_NIL.
4483 * libspi/accessible.c:
4484 (impl_accessibility_accessible_get_relation_set):
4485 allocate the sequence correctly.
4487 * libspi/remoteobject.h: kill spi_remote_object_new.
4489 * test/test-simple.c: (validate_accessible): add code
4490 to test relation sets, now all we need is to figure
4491 out how to excercise this code path :/
4493 2002-01-18 Michael Meeks <michael@ximian.com>
4495 * test/test-simple.c
4496 (key_listener_cb): consume the key.
4497 (test_keylisteners): update.
4498 (main): wait for any pending unrefs on events.
4500 * registryd/deviceeventcontroller.c
4501 (spi_controller_update_key_grabs): only re-issue the
4502 grab on a key release.
4503 (spi_device_event_controller_forward_key_event):
4504 refresh the keygrabs before we notify the listeners,
4505 to reduce the X ungrab / re-grab race.
4506 (spi_controller_register_with_devices): remove
4507 XSelectInput - we do that with the gdk_window_ call.
4508 (_spi_controller_device_error_handler): return a value.
4509 s/GDK_DISPLAY/spi_get_display/
4511 2002-01-17 Michael Meeks <michael@ximian.com>
4513 * registryd/deviceeventcontroller.c
4514 (_deregister_keygrab): don't blow out the later
4517 * test/test-simple.c (test_keylisteners): do a
4518 more intelligent validation.
4520 2002-01-14 Michael Meeks <michael@ximian.com>
4522 * atk-bridge/bridge.c
4523 (gnome_accessibility_module_init),
4524 (gnome_accessibility_module_shutdown): impl.
4525 (gtk_module_init): protect vs. double inits.
4526 (add_signal_listener): impl.
4527 (spi_atk_bridge_state_event_listener): kill
4528 (deregister_application): split out of
4529 (spi_atk_bridge_exit_func): here.
4531 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4534 Added caret tracking when using magnifier, and
4535 now use text bounds for focus tracking of text elements, rather than
4536 the component bounds - this is helpful for short text fields in long
4537 table cells, at high magnification.
4539 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4541 * registryd/deviceeventcontroller.c:
4542 Regression fix for keylistener de-registration; global keygrabs
4543 were not being released when deregisterKeystrokeListener was
4544 called in cspi, since
4545 Accessibility_DeviceEventController_deregisterKeystrokeListener
4546 was called with a zero-length keyset. That is because the cspi
4547 method, SPI_deregisterKeystrokeListener, does not take a keyset
4548 parameter but instead should remove all the key grabs held be a
4550 The code in impl_deregister_keystroke_listener was changed to copy
4551 the keylist from the listener instance previously registered with
4552 the DeviceEventController before releasing the grabs.
4554 * registryd/registry.c:
4555 * registryd/deviceeventcontroller.c:
4556 * libspi/spi-private.h:
4558 Changed spelling of "re-enterant" to "re-entrant" globally.
4560 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4562 * test/test-simple.c:
4563 Changed key listeners test - the test was slightly mis-using the
4564 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4565 It now uses '=' as the key event listened to and generated,
4566 relying on a keysym match rather than assuming that keycode 33
4567 is always equal to keysym '!'.
4569 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4572 Changed simple-at to use a specific keyset, rather than
4573 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4574 manager, desktop, etc.
4576 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4578 * registryd/deviceeventcontroller.c:
4579 Replaced standard X error handler with a special handler that
4580 is non-fatal for failed keygrabs. This works around
4581 problems with keygrab clashes sometimes observed on
4583 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4584 mouse handling code as yet).
4586 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4589 Incremented revision for desktop alpha release.
4592 Fixed a couple of the more glaring errors (still not
4595 2002-01-11 Michael Meeks <michael@ximian.com>
4597 * registryd/deviceeventcontroller.c
4598 (spi_device_event_controller_forward_key_event): kill
4599 XUngrabKey / XKeyGrab race.
4600 (spi_controller_grab_keyboard): rename to
4601 (spi_controller_update_key_grabs): this, and deal
4602 with incremental adding / removing grabs more
4604 (_register_keygrab): ensure we're not pending a remove.
4605 (spi_grab_mask_free): impl.
4606 (spi_controller_register_global_keygrabs): split out
4608 (handle_keygrab): impl.
4609 (_deregister_keygrab): impl.
4610 (spi_controller_deregister_global_keygrabs): impl.
4611 (spi_controller_update_key_grabs): re-issue the grab if
4612 we just recieved a notification.
4614 * test/test-simple.c (key_listener_cb): remove debug.
4616 * registryd/deviceeventcontroller.c
4617 (spi_controller_register_device_listener): after
4618 registering a global keygrab, actualy register it !
4619 don't wait for a timeout; doh !
4621 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4622 to make it more readable / manipulable.
4623 s/grabmask/grab_mask/ s/refcount/ref_count/
4624 s/keyval/key_val/ s/modmask/mod_mask
4626 2002-01-08 Michael Meeks <michael@ximian.com>
4628 * registryd/deviceeventcontroller.c
4629 (spi_controller_register_with_devices): use gdk calls to
4631 (global_filter_fn): implement the filter.
4632 (spi_device_event_controller_check_key_event): rename to
4633 (spi_device_event_controller_forward_key_event): this & upd.
4634 (spi_get_display): replace with GDK_DISPLAY.
4636 * registryd/deviceeventcontroller.c
4637 (spi_controller_deregister_device_listener): unroll into
4638 (impl_deregister_keystroke_listener): here to simplify.
4639 (spi_controller_register_global_keygrabs): split cut and
4640 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4641 (spi_controller_deregister_device_listener): remove.
4642 (impl_register_mouse_listener): remove, no mouse listener
4643 support in at-spi-1.0
4645 * registryd/registry.c
4646 (_device_event_controller_hook): kill.
4647 (spi_registry_init): upd.
4649 * registryd/deviceeventcontroller.c
4650 (spi_device_event_controller_class_init): upd.
4651 (spi_check_key_event): merge into.
4652 (spi_device_event_controller_check_key_event):
4653 here and kill strange static ev init, don't leak
4654 the x_event - nor dynamicaly allocate it.
4656 * registryd/registry-main.c (main): re-direct
4657 timeout to remove strange vtable mess.
4659 * registryd/deviceeventcontroller.c
4660 (remove_listener_cb): impl.
4661 (spi_controller_deregister_device_listener):
4662 fix re-enterancy hazard.
4664 2002-01-07 Michael Meeks <michael@ximian.com>
4666 * registryd/deviceeventcontroller.c
4667 (spi_device_event_controller_new): upd.
4668 (impl_notify_listeners_sync): upd. debug.
4669 (spi_notify_keylisteners): fix re-enterancy hazards,
4670 prettify, remove O(n*n) iteration.
4671 (spi_controller_grab_keyboard): fix iteration.
4672 (spi_check_key_event): re-format to suit coding style.
4673 Clean all the warnings - we're warning free.
4675 * registryd/deviceeventcontroller.h:
4676 * registryd/registry.h: make mutualy referential with
4677 typesafe forward references instead of (!) void pointer
4680 2002-01-11 Michael Meeks <michael@ximian.com>
4682 * cspi/spi_accessible.c (role_names): add a role name
4683 to sync this array with the enum; and make the regression
4686 2002-01-10 Michael Meeks <michael@ximian.com>
4688 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4689 allow expansion of enumeration & kill warning.
4691 * test/test-simple.c (key_listener_cb): impl.
4692 (test_keylisteners): impl.
4694 * cspi/spi-listener.h: make listener signatures const
4695 on the provided (const) events.
4697 * test/keysynth-demo.c: upd. to const events.
4699 * test/simple-at.c: ditto.
4701 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4704 Rev the version to 0.5 (the previous tarball was named 0.4,
4705 even though the micro number was 3), so we need to rev upwards
4706 again for beta2/"desktop-alpha"
4709 Checked in a demo script, which requires editing before use!
4710 Proceed with caution.
4713 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4715 * cspi/spi_accessible.c:
4716 Add a couple of missing enum initializations, and fix some enum
4719 * cspi/spi_registry.c:
4720 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4722 * docs/reference/cspi/at-spi-cspi-sections.txt:
4723 Remove/fix a couple of broken document references.
4726 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4727 as Alt-Control to listen for commands, since on some systems
4728 Control-Alt may already be grabbed.
4730 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4733 Update version number to 0.4 for Beta2.
4735 * libspi/accessible.c, libspi/accessible.h:
4736 Expose spi_accessible_construct, to enable libgail-gnome
4737 construction from spi_accessible subtype.
4739 * utils/magnifier.c:
4740 Workaround for bug in some non-gnome-compliant window managers
4741 which made magnifier resize improperly.
4743 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4745 * libspi/accessible.c: (spi_accessible_new) :
4746 Move the test for SPI_IS_REMOTE_OBJECT to
4747 spi_accessible_new_return, fixing a bug and compile time warning.
4749 2002-01-08 Michael Meeks <michael@ximian.com>
4751 * registryd/registry.c (parse_event_type): remove strndup.
4753 * libspi/Makefile.am (libspi_la_SOURCES): remove
4754 sources already included in the headers section.
4756 * libspi/util.c: add.
4758 * libspi/spi-private.h: add.
4760 * registryd/registry.c: update to moved list iterators.
4762 2002-01-05 Michael Meeks <michael@ximian.com>
4764 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4766 * test/test-simple.c (main): ditto.
4768 2002-01-04 Michael Meeks <michael@ximian.com>
4770 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4771 redundant construct.
4773 * registryd/registry.c
4774 (get_listener_list): impl.
4775 (impl_accessibility_registry_register_global_event_listener):
4776 re-impl. to simplify using ~, remove dodgy const cast off.
4777 (parse_event_type): constify.
4778 (impl_accessibility_registry_deregister_global_event_listener_all):
4779 re-write, more efficiency and simplicity, kill re-enterancy
4781 (compare_listener_corbaref, compare_corba_objects),
4782 (compare_listener_quarks): define out.
4783 (impl_accessibility_registry_deregister_global_event_listener):
4784 re-write for effiency, and nail re-enterancy hazard.
4785 (impl_accessibility_registry_get_desktop_list): impl.
4786 (re_enterant_list_delete_link): impl.
4787 (re_enterant_list_foreach): impl.
4788 (remove_listener_cb): impl.
4789 (_registry_notify_listeners): kill.
4790 (notify_listeners_cb): impl.
4792 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4793 (SPI_getDesktopList): impl.
4795 * test/test-simple.c (test_desktop): test the methods.
4797 2002-01-03 Michael Meeks <michael@ximian.com>
4799 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4800 keystrings since we free them
4801 (SPI_freeAccessibleKeySet): in here.
4803 * libspi/accessible.c (spi_accessible_new): kill warning,
4804 wonder what is going on with the constructor here.
4806 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4808 * libspi/accessible.c (spi_accessible_new ()) :
4809 Added check to see if AtkObject is an SpiRemoteObject before
4810 creating an SpiAccessible.
4812 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4814 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4815 Enable keygrabs using the Control modifier, now that they are
4816 working properly (they were previously disabled).
4819 Change the command keygrab for this demo to "Control+Alt", so as
4820 to conflict with fewer other key commands on the system; this
4821 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4823 Removed a pointlessly-chatty keylistener for unshifted keys
4824 (shifted keys are still reported).
4826 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4828 * libspi/remoteobject.h:
4829 * libspi/remoteobject.c:
4830 Added definitions for special AtkObject subtype, required for
4831 support of remote components (specifically, used by BonoboControl
4832 accessibility implementation).
4834 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4836 * cspi/spi.h: synched relation types with ATK
4838 * cspi/spi_accessible.c: Added implementations of
4839 AcccessibleRelation_* methods
4841 * idl/Accessibility_Relation.idl: added getRelationTypeName
4842 method. Synched known relation types with ATK. Allowed for
4843 relation type extension with the RELATION_EXTENDED type.
4845 * libspi/relation.c: Provided implementations for
4846 AccessibleRelation methods.
4848 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4850 API tweaks for today's API 'freeze'.
4853 Added placeholder functions to allow future compatible expansion
4854 of the IDL interfaces.
4856 * idl/Accessibility_Registry.idl:
4857 Changed generateKeyEvent to generateKeyboardEvent. Changed
4858 signature of this method to accept an optional keystring in
4859 parameter (for complex text input synthesis) and changed use of
4860 simple 'boolean' parameter in registerKeystrokeListener to a
4861 struct, EventListenerMode.
4863 * cspi/spi_accessible.c:
4865 * cspi/spi_streamablecontent.c:
4866 Added references to AccessibleStreamableContent interface, and
4867 definition and implementation of AccessibleStreamableContent
4870 * cspi/spi_registry.c:
4872 Changed generateKeyEvent API to generateKeyboardEvent,
4873 taking a new (optional) keystring parameter to support complex
4878 Renamed directory (to better reflect its actual purpose, bridging
4879 from at-spi to ATK). The .so module is also now named
4882 * idl/Accessibility_Hypertext.idl:
4883 * libspi/accessible.c:
4884 * libspi/hypertext.h:
4885 * libspi/hypertext.c:
4886 Changed Accessibility_Hypertext to *not* derive from
4889 * cspi/spi_registry.c:
4890 Added list of legal event type names for 'window' events, which
4891 completes the registry event API.
4893 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4895 * at-bridge/bridge.c: Added registration for separate
4896 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4897 signals. If either of the first two parameters to the generic
4898 bridge signal handler are ints, they are passed on as event
4899 details. This allows an AT to determine what text was inserted.
4901 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4903 * registryd/deviceeventcontroller.c:
4904 Fixed regressions in generateKeyEvent caused by the removal of
4905 gdk_init from registryd; we now use pure X calls to connect to the
4906 display, which makes sense because deviceeventcontroller already
4907 uses a fair bit of X API (should eventually be migrated to a
4908 'portability layer').
4910 * registryd/desktop.c:
4911 Fixed minor regression in spi_desktop_init, changed the way the
4912 desktop name is being set to work with new spi_base API
4913 (gobject-based, rather than AtkObject-based).
4915 * registryd/Makefile.am:
4916 Minor revision of makefile to use XTST_LIBS variable rather than
4917 hard-wiring the Xtst LD_ADD element.
4919 * test/keysynth-demo.c:
4920 Tweaked an output message; added initialization of the
4921 'keystrings' member of the "switch listener" key_set.
4923 * libspi/relation.c:
4924 Squashed compile-time warning.
4926 * libspi/accessible.c:
4927 Cosmetic and formatting fixes, renamed a static method.
4929 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4931 * libspi/accessible.c
4933 * libspi/application.c
4936 * libspi/component.c
4937 * libspi/editabletext.c
4938 * libspi/hyperlink.c
4939 * libspi/hypertext.c
4941 * libspi/selection.c
4945 * registryd/desktop.c:
4946 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4948 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4950 * idl/Accessibility_Registry.idl:
4951 Added boolean member 'is_text' to DeviceEvent. This is for the
4952 use of key events, and helps prevent ambiguity between composed
4953 key strings and keysym names, since both may potentially be
4954 returned in the 'event_string' member.
4956 * at-bridge/bridge.c:
4957 * registryd/deviceeventcontroller.c:
4958 Use the 'is_text' member when notifying device event listeners.
4959 Knon issue: composed characters are not dealt with correctly by
4960 the global key listener implementation yet.
4962 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4964 * at-bridge/bridge.c:
4965 Namespaced local static methods to spi_atk_bridge_* where
4966 previously named bridge_*, and spi_* elsewhere.
4968 * at-bridge/bridge.c:
4969 * cspi/bonobo/cspi-bonobo-listener.c:
4970 Added demarshalling/conversion for string member of
4971 Accessibility_DeviceEvent to AccessibleKeystroke.
4973 * registryd/deviceeventcontroller.c:
4974 Added code to fill the Accessibility_DeviceEvent key string value
4975 member for global key events (i.e. from XGrabKey), to match
4976 behavior of Accessibility_DeviceEvent from the toolkit key events
4977 from the bridge. Fixed timestamp in global key event notifications.
4980 Added printout of key event's string value to
4981 report_ordinary_key_event, for demo/debugging purposes.
4983 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4985 * idl/Accessibility_Registry.idl:
4986 Removed Accessibility_KeyStroke structure in favor of generic
4987 Accessibility_DeviceEvent structure.
4988 Changed Accessibility_ControllerEventMask from a struct to an
4991 * at-bridge/bridge.c:
4992 Changed APIs to use DeviceEvent structure as above, and removed
4993 bogus casting between these event structures.
4995 * cspi/spi-listener.h:
4996 Added keystring member of AccessibleKeystroke structure, to enable
4997 matching on event "names" rather than only hardware codes and
5001 Added keystrings member of AccessibleKeySet struct, to allow
5002 matching on event names (as above).
5003 Added declarations for SPI_createAccessibleKeySet and
5004 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5005 event modmasks directly as unsigned ints rather than structs with
5006 refcounts, in the DeviceEventController methods.
5008 * cspi/spi_registry.c:
5009 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5011 * cspi/spi-roletypes.h:
5012 Added documentation of newly added SPI Roles.
5014 * cspi/bonobo/cspi-bonobo-listener.c:
5015 Changes in support of API changes above.
5017 * libspi/accessible.c:
5018 Converted APIs to use DeviceEvent structure (see IDL changes
5021 * registryd/deviceeventcontroller.c:
5022 Added DEControllerGrabMask structure to track keygrabs not only by
5023 modmask but by keyset as well; this allows us to do "global"
5024 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5025 grabbing on AnyKey and then filtering after-the-fact.
5026 Bugfixes for event filtration mean that we don't get false matches
5027 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5029 * registryd/deviceeventcontroller.c:
5030 Namespaced a number of static methods to use spi_ prefix. Major
5031 revision to internals of global (i.e. X) key grabs.
5033 * registryd/deviceeventcontroller.h:
5034 Removed keymask_list and added keygrabs_list to
5035 SpiDeviceEventController struct.
5038 Added use of SPI_createAccessibleKeySet API when creating a
5039 listener for only one key. Attach a listener to "shift spacebar
5040 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5041 X key event names to SPI key event names, so that listeners are
5042 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5044 * test/keysynth-demo.c:
5045 Changed (incorrect) use of X key event names (KeyPressed,
5046 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5049 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5051 * libspi/accessible.c:
5052 Convert all AtkRole enumerations to Accessibility_Role enums when
5053 getting a role from an AtkObject.
5055 * cspi/spi_accessible.c:
5056 Complete the conversion of Accessibility_Role enums at runtime to
5057 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5058 role enums correctly match those given in spi-roletypes.h.
5059 Re-synchronize the local names list for AccessibleRole_getName ().
5060 AccessibleRole_getName is now deprecated, since it duplicates the
5061 more reliable Accessible_getRoleName.
5062 Added some role types from Accessibility_Role.idl.
5064 * idl/Accessibility_Role.idl:
5065 Added some role types used by AtkRole.
5067 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5070 * cspi/spi_registry.c:
5072 * cspi/cspi-bonobo-listener.c:
5073 Namespaced all methods that did not begin with an "SPI_" or
5074 "Accessible" prefix to "SPI_".
5077 Homogenized internal function namespace to "cspi_" for statics.
5080 Patched tests to use the new CSPI API.
5082 * docs/reference/cspi/at-spi-cspi-sections.txt:
5083 Updated docs to reflect namespace changes, and added a number of
5084 methods to the documentation.
5086 * registryd/registry.c:
5087 Changed use of strings and string hashes in listener event
5088 matching and parse_event_string to use GQuark, which is guaranteed
5091 * registryd/registry.h:
5092 Squashed annoying warning.
5094 * idl/Accessibility_Role.idl:
5095 Extended range of available Accessibility_Role values.
5097 * cspi/spi_accessible.c:
5098 Re-ordered role names.
5100 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5102 * idl/Accessibility_Value.idl:
5103 Revert use of union back to CORBA_double, since the double type is
5104 more efficient and can contain the other types without loss of
5107 * idl/Accessibility_Accessible.idl:
5108 Added method Accessibility:Accessible:getRoleName, to complement
5109 Accessibility:Accessible:getRole.
5111 * cspi/spi_accessible.c:
5113 Added C binding for above, Accessible_getRoleName (), and changed
5114 signature of Accessible_getRole () to return an AccessibleRole.
5116 * cspi/spi-roletypes.h:
5117 Changed AccessibleRole_getName to return a char * instead of a
5118 const char *. This method is now at least temporarily deprecated
5119 in favor of asking Accessibles for their RoleNames directly.
5122 Revert to match Accessibility_Value.idl;
5126 Change signature of AccessibleValue methods to use double rather
5130 * cspi/spi_accessible.c:
5131 Changed Accessible_getRole to return an AccessibleRole enum rather
5132 than a UTF-8 string. The UTF-8 string can still be obtained via
5133 AccessibleRole_getName ().
5135 * test/test-simple.c:
5136 Add test_action. Small fixup to match API change to Accessible_getRole.
5139 Bugfix for get_action_from_servant ().
5141 2001-12-11 Michael Meeks <michael@ximian.com>
5143 * libspi/libspi.h: remove registry.h and
5144 desktop.h, deviceeventcontroller.h
5146 * libspi/Makefile.am: remove registry.[ch],
5147 desktop.[ch], deviceeventcontroller.[ch]
5149 * registryd/Makefile.am: add registry.[ch],
5150 desktop.[ch], rename registryd.c to registry-main.c.
5151 add deviceeventcontroller.[ch]
5153 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5156 Replace setenv() call with putenv ().
5158 * libspi/component.c:
5159 Bugfix in AccessibleComponent_getExtents (),
5162 2001-12-11 Michael Meeks <michael@ximian.com>
5164 * libspi/image.c (impl_getImageExtents): impl.
5165 (spi_image_class_init): upd.
5168 (AccessibleImage_getImageDescription): fix daft bug
5171 * test/test-simple.c (global_listener_cb): update
5172 to only quit if not --poke
5173 (main): catch --poke.
5174 (validate_accessible): upd. dumping, call test_image
5177 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5180 * idl/Accessibility.idl: update all IDL includes.
5182 * idl/*.idl - rename to namespace - this sucks, blame
5183 mjs' bad decision for oafd.
5185 * test/test-simple.c (create_test_window): add more tests.
5186 (create_tree): split this out.
5187 (validate_accessible): bugfix.
5189 2001-12-11 Michael Meeks <michael@ximian.com>
5191 * cspi/bonobo/cspi-bonobo-listener.c:
5192 (cspi_kestroke_listener_unref),
5193 (cspi_event_listener_unref): impl. undoing previous
5194 homenous environment - for Bill.
5196 * cspi/spi_table.c (long_seq_to_array): use
5199 * cspi/spi_main.c: split out all bonoboish bits into
5202 * cspi/spi-impl.h: upd. typedefs.
5204 * cspi/spi_registry.c: update to lowlevel API,
5205 return booleans to indicate success in some places.
5207 * cspi/spi_event.c: update to lowlevel API.
5209 * cspi/bonobo/Makefile.am: add.
5211 * cspi/bonobo/cspi-lowlevel.h: add
5213 * cspi/bonobo/cspi-bonobo.c: add
5215 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5217 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5218 (SUBDIRS): add bonobo, link in the libs.
5220 * cspi/spi-util.c: kill this file.
5222 * TODO: merge in my bits.
5224 2001-12-11 Michael Meeks <michael@ximian.com>
5226 * test/test-simple.c (test_value, test_table, main):
5227 remove unused variables causing warnings.
5229 * configure.in: cleanup checks - require gail.
5231 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5234 Changed Value interface to use SValue (scalars) rather than
5235 assuming all values are floats. This allows floats, doubles,
5236 longs, shorts, and unsigned values to be manipulated.
5237 Introduced Accessibility:SValue union.
5240 Updated to use new API above, and to work correctly with GValues
5241 of different types in AtkValue.
5244 Updated to use new API above. cspi's API is as yet unchanged.
5247 Updated the Value revision action item.
5249 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5251 * test/test-simple.c:
5252 Added test_table (GtkTreeView widget in test window to follow).
5253 Un-commented test_value, added GtkRange widget.
5254 Added GtkTreeView widget with GtkListStore. It passes regression
5255 test but leaks one SPI object for some reason.
5258 Fixed bug in impl__set_currentValue.
5260 2001-12-10 Michael Meeks <michael@ximian.com>
5262 * cspi/spi_text.c: audit for exception handling,
5263 tolerating NULL object references safely etc.
5265 * cspi/spi_value.c: ditto.
5267 * cspi/spi_table.c (AccessibleTable_getSummary),
5268 (AccessibleTable_getAccessibleAt),
5269 (AccessibleTable_getRowHeader),
5270 (AccessibleTable_getColumnHeader),
5271 (AccessibleTable_getCaption): fix bugs hidden by
5273 (long_seq_to_array): impl.
5274 (AccessibleTable_getSelectedRows),
5275 (AccessibleTable_getSelectedColumns): use it.
5277 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5280 Added a TODO list (rough and short for now).
5282 * cspi/spi_hyperlink.c:
5283 * cspi/spi_hypertext.c:
5284 Fixed macro name typos, and remove use of obsolete macro in
5285 AccessibleHyperlink_getLink.
5287 * cspi/spi_action.c:
5288 * cspi/spi_accessible.c:
5289 * cspi/spi_application.c:
5290 * cspi/spi_component.c:
5291 * cspi/spi_selection.c:
5294 Documentation fixes (removed return values from ref/unref methods).
5296 2001-12-10 Michael Meeks <michael@ximian.com>
5298 * cspi/spi_action.c: audit for exception handling,
5299 tolerating NULL object references safely etc.
5301 * cspi/spi_accessible.c: ditto.
5303 * cspi/spi_component.c: ditto.
5305 * cspi/spi_editabletext.c: ditto.
5307 * cspi/spi_hyperlink.c: ditto.
5309 * cspi/spi_hypertext.c: ditto.
5311 * cspi/spi_image.c: ditto.
5313 * cspi/spi_selection.c: ditto.
5315 2001-12-10 Michael Meeks <michael@ximian.com>
5317 * configure.in: use cspi/libspi.pc.in instead.
5319 * Makefile.am (pkgconfig_DATA): upd. to match.
5321 * test/simple-at.c (report_focus_event): kill hacks around
5322 bad return values, use putenv not setenv
5324 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5325 fire ChildGone - I killed it.
5327 * libspi/component.c
5328 (impl_accessibility_component_get_extents): remove
5331 * idl/Accessible.idl: kill ChildGone exception.
5333 * cspi/*.[ch]: kill int return from ref / unref.
5335 * cspi/spi_main.c (cspi_object_add_check): fold into
5336 (cspi_object_add): here.
5338 * cspi/spi_component.c (AccessibleComponent_getExtents):
5339 handle exceptions elegantly.
5341 * cspi/spi-private.h (cspi_check_ev_return),
5342 (cspi_return_if_fail): impl.
5344 * cspi/spi_accessible.c: use extensively.
5345 (AccessibleStateSet_equals): add direct compare check.
5347 * cspi/spi_selection.c: tolerate NULL objs, and check
5348 exceptions before return.
5350 * cspi/spi-util.c (cspi_warn_ev): rename to
5351 (cspi_check_ev): this & don't pass ev in; no point.
5353 2001-12-10 Michael Meeks <michael@ximian.com>
5355 * test/test-simple.c: use putenv not setenv
5356 (get_environment_vars): more chatty if you're not using
5359 * test/simple-at.c: do the setenv so more people see the
5362 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5364 * libspi/registry.c:
5365 Changed check of CORBA_environment on notification to be a warning
5366 instead of an error for the moment, since we can recover from this
5367 error when caused by a queued notification from a dead app.
5370 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5371 used by all current implementors of AtkValue), and coerce to
5372 CORBA_float. (Proper general case fix may require change to Value.idl).
5374 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5378 * cspi/spi_accessible.c:
5379 Documentation fixes: added user_data params to documentation for
5380 listeners and callbacks.
5382 * cspi/spi_accessible.c:
5383 Changed AccessibleStateSet_compare to return a
5384 StateSet rather than return the difference set into a third parameter.
5387 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5390 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5391 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5395 Remove subdirectory po from SUBDIRS for now.
5397 * at-bridge/bridge.c:
5398 Beefed up a couple of debug printouts.
5399 One-line fix for signal notification name formatting.
5401 * libspi/accessible.c:
5402 Added assertion to spi_accessible_new ().
5404 * libspi/application.c:
5405 Put #ifdef qualifiers around a printf.
5408 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5410 * registryd/Makefile.am:
5412 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5413 INTLTOOL_SERVER_RULE macro.
5416 Added an event listener for several ATK signals, for
5417 testing and debugging. Removed a few g_warnings.
5418 Added test output if focussed item implements the Value interface.
5420 * test/test-simple.c:
5421 Added test_value () function (known not to pass at the moment, so
5422 not actually called yet.
5424 2001-12-08 Michael Meeks <michael@ximian.com>
5426 * at-bridge/bridge.c (bridge_focus_tracker),
5427 (emit_eventv): fix the same ref. leak.
5428 (register_atk_event_listeners): don't leak.
5430 * cspi/spi-listener-impl.c (cspi_event): more
5431 protection from client code.
5433 * test/test-simple.c (test_desktop): unref the app.
5435 * test/Makefile.am: upd. TESTS.
5437 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5439 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5441 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5443 * cspi/spi_registry.c: constify in strings.
5444 (deregisterGlobalEventListenerAll): don't release the ref.
5446 * cspi/spi.h: start removing redundant / conflicting
5447 gtkdoc comments, making the API readable at a glance :-)
5449 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5451 * test/keysynth-demo.c (keysynth_exit, main): upd.
5453 * test/simple-at.c (main, simple_at_exit): upd.
5455 * test/test-simple.c (unutterable_horror): kill.
5456 (utterable_normal_derefs): kill.
5457 (main): upd & do a setenv before gtk_init, so that we
5458 can use memprof - and to save the pain of remembering
5459 this, if we're running under memprof - don't exit.
5461 * cspi/spi_main.c (SPI_exit): return exit status
5463 (SPI_event_quit): impl.
5464 (SPI_event_main): simplify.
5465 (cspi_is_gnome_app): kill.
5466 (SPI_init): kill isGNOMEapp arg.
5468 * at-bridge/bridge.c (register_atk_event_listeners):
5469 re-instate the unref.
5470 (bridge_exit_func): don't re-activate the registry,
5471 protect vs. theoretical re-entry, use the
5472 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5473 assert a clean shutdown - for regression tests.
5475 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5477 * configure.in: Comment out dummy i18n support for now,
5478 otherwise it fails to build.
5479 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5480 EXTRA_DIST. They are missing in tarball.
5482 2001-12-07 Michael Meeks <michael@ximian.com>
5484 * util/magnifier.c: kill bonobo activation reg. race.
5486 * libspi/component.c
5487 (impl_accessibility_component_get_extents): make it match
5490 * libspi/registry.c (_registry_notify_listeners):
5491 re-remove X headers & reconcile conflicts.
5492 (spi_listener_struct_free): bad conflict resolve.
5493 (impl_accessibility_registry_register_application):
5494 more bad merging fixed.
5495 (impl_accessibility_registry_deregister_application): ditto.
5496 (spi_registry_new): ditto.
5497 (spi_registry_init): don't have an applications field.
5499 [ merge fixups2 branch to here ]
5500 2001-12-07 Michael Meeks <michael@ximian.com>
5502 * test/simple-at.c (report_focus_event),
5503 (report_focussed_accessible): remove g_warning debug.
5505 2001-12-07 Michael Meeks <michael@ximian.com>
5507 * test/test-simple.c (validate_tree): comment out some checks.
5508 (test_desktop): app now not registered idly - horay.
5510 2001-12-07 Michael Meeks <michael@ximian.com>
5512 * cspi/spi_registry.c
5513 (registerAccessibleKeystrokeListener): clean, stop it leaking
5514 great swathes of memory, and device event controller references.
5515 ensure we always pass valid sequences.
5516 (deregisterAccessibleKeystrokeListener): ditto.
5517 (generateKeyEvent): upd.
5519 * at-bridge/bridge.c (bridge_key_listener): handle
5520 registry dead exception gracefully.
5521 (bridge_focus_tracker, emit_eventv): free ev.
5523 * test/simple-at.c (report_focus_event): fix polarity.
5525 * libspi/application.c (notify_listeners): kill the ev
5526 argument, and make sure we init the ev we use.
5527 (spi_application_object_event_listener): split out a chunk
5528 (get_atk_object_ref): here & fixup.
5529 (reverse_lookup_name_for_toolkit_event): make const.
5530 (spi_application_toolkit_event_listener): fixup, kill leaks
5533 * at-bridge/bridge.c (register_atk_event_listeners):
5534 don't unref the noop object - causes grief.
5536 * libspi/registry.c: remove the X headers.
5537 turn off the debug churn.
5539 * libspi/accessible.c (spi_accessible_new_return): only
5540 release the ref if we are supposed to [doh]
5542 * test/simple-at.c (report_button_press, report_focus_event):
5543 guard vs. unexpected exit.
5545 * at-bridge/bridge.c (gtk_module_init): prune printf.
5546 (bridge_exit_func): fix app unref.
5548 * libspi/Makefile.am: don't install registry or desktop.h
5550 * libspi/*.h: update includes.
5552 * libspi/application.h: don't include ourself, or
5553 other redundant headers.
5555 2001-12-06 Michael Meeks <michael@ximian.com>
5557 * libspi/accessible.c
5558 (get_accessible_from_servant): impl.
5559 Upd. all CORBA impl.s to use it killing cut and paste.
5561 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5563 (SPI_init): register atexit cleanup handler here.
5565 2001-12-06 Michael Meeks <michael@ximian.com>
5567 * at-bridge/bridge.c (gtk_module_init): g_error on
5568 activation exception
5570 2001-12-06 Michael Meeks <michael@ximian.com>
5572 * at-bridge/bridge.c (gtk_module_init): some sort of
5573 confusing merge clash - reverted.
5574 (bridge_idle_init): ditto.
5576 * test/test-simple.c (main, utterable_normal_derefs):
5577 merge from Bill - somehow not committed.
5579 2001-12-06 Michael Meeks <michael@ximian.com>
5581 * libspi/value.c (spi_value_class_init): upd.
5582 (spi_value_finalize): kill.
5584 * libspi/table.c (spi_table_finalize): kill.
5585 (spi_table_interface_new): upd.
5586 (spi_table_class_init): upd.
5587 (get_table_from_servant): impl.
5588 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5590 * libspi/selection.c (spi_selection_finalize): kill.
5591 (spi_selection_interface_new): upd.
5592 (spi_selection_class_init): upd.
5593 (get_selection_from_servant): impl.
5594 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5596 * libspi/relation.c (spi_relation_finalize): kill.
5597 (spi_relation_class_init, spi_relation_new): upd
5599 * libspi/image.c (spi_image_finalize): kill.
5600 (spi_image_class_init): upd.
5601 (spi_image_interface_new): upd.
5602 (get_image_from_servant): impl.
5603 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5605 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5606 (spi_hyperlink_finalize): kill.
5607 (spi_hyperlink_new): upd.
5608 (get_hyperlink_from_servant): impl.
5609 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5611 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5612 (spi_hypertext_finalize): kill.
5613 (spi_hypertext_class_init): upd.
5614 (get_hypertext_from_servant): impl.
5615 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5617 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5618 (spi_editable_text_interface_new): upd.
5619 (get_editable_text_from_servant): impl.
5620 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5622 * libspi/text.c (get_text_from_servant): impl.
5623 All impls - update to use it killing more cut and paste,
5624 also fix bad string returns on duff args ( a somewhat
5625 impossible case to handle - but hey ).
5626 (spi_text_construct): impl.
5627 (spi_text_interface_new): upd.
5628 (spi_text_object_finalize): kill.
5630 * libspi/component.c
5631 (accessibility_component_object_finalize): kill.
5632 (spi_component_class_init): upd.
5633 (get_component_from_servant): impl. helper to kill cut & paste.
5634 (impl_accessibility_component_contains):
5635 (impl_accessibility_component_get_accessible_at_point):
5636 (impl_accessibility_component_get_position):
5637 (impl_accessibility_component_get_extents):
5638 (impl_accessibility_component_get_mdi_z_order):
5639 (impl_accessibility_component_get_layer):
5640 (spi_component_interface_new): upd.
5642 * libspi/action.c (spi_action_finalize): kill.
5643 (spi_action_class_init): upd. inherit from SpiObject.
5644 (spi_action_interface_new): upd.
5645 (get_action_from_servant): impl. helper to reduce cut & paste.
5646 (impl_getKeyBinding, impl_getName, impl_doAction),
5647 (impl_getDescription): Use it everywhere.
5649 * cspi/spi_main.c (get_live_refs): a pointer hash.
5650 (spi_object_hash, spi_object_equal): comment out.
5651 There are issues with CORBA object hashing that need
5654 * libspi/application.c (spi_application_init),
5655 (spi_application_new): upd.
5657 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5658 (spi_accessible_class_init): upd.
5659 s/accessible/object/ in epv methods.
5661 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5663 * at-bridge/bridge.c:
5664 Reorder the bridge initialization into the bridge gtk_module_init,
5665 an immediate call to bridge_register_app, and an idle_add for
5666 register_atk_event_listeners (the only code that *must* wait until
5667 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5668 the activation, creates the application's Accessible object, and
5669 queues the bridge_idle_init function. Restored call to
5670 Accessibility_Registry_deregisterApplication().
5671 Prior to making this call we obtain a new reference to the
5672 registry, which is a temporary hack that helps us handle apps that
5673 shut down the bonobo mainloop before we get there.
5675 * libspi/registry.c:
5676 Fix string leakage in debug block, and don't segv if a an app
5677 dies before its event notifications have been propagated.
5680 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5681 as stopgap measure until we get proper exception handling when
5682 objects die during or before interrogation.
5686 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5687 Also changed default value of is_gnome_app to TRUE.
5690 * test/keysynth-demo.c:
5691 Changed use of SPI_init and SPI_event_main to reflect API change above.
5694 Made report_focus_event check the warning value from getName
5695 before reporting on focussed accessible; simplifies handling of
5696 notifications from dead objects.
5698 * test/test-simple.c: (Changes not in this patch since source is
5701 2001-12-05 Michael Meeks <michael@ximian.com>
5703 * registryd/registryd.c (main): protect against
5704 bonobo-activation startup race condition.
5706 * cspi/spi_main.c (cspi_object_add_check): cope
5707 with the exception elegantly.
5709 * idl/Accessible.idl: decl. ChildGone
5711 * libspi/desktop.c (spi_desktop_dispose): impl.
5712 (spi_desktop_class_init): upd.
5713 (spi_desktop_add_application),
5714 (spi_desktop_remove_application),
5715 (abnormal_application_termination): impl.
5716 (impl_desktop_get_child_at_index): re-impl.
5719 (impl_accessibility_registry_deregister_application),
5720 (impl_accessibility_registry_register_application):
5721 kill excessive debug clutter.
5723 * test/test-simple.c (test_misc): test some NULL
5724 tolerance. (main): upd.
5726 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5727 implements no interfaces - so let's not crash.
5729 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5731 * libspi/accessible.c (spi_accessible_new_return): impl.
5732 helper to calm the cut and paste, to cope with
5733 NULL AtkObjects effectively and efficiently, and to kill
5734 the referencing bugs.
5736 * libspi/table.c (impl_getAccessibleAt),
5737 (impl_getRowHeader, impl_getColumnHeader): upd.
5739 * libspi/hyperlink.c (impl_getObject): upd.
5741 * libspi/accessible.c
5742 (impl_accessibility_accessible_get_child_at_index): upd.
5744 * libspi/component.c
5745 (impl_accessibility_component_get_accessible_at_point): upd.
5747 * test/test-simple.c (test_editable_text, test_text): impl.
5750 * cspi/spi_editabletext.c
5751 (AccessibleEditableText_insertText): constify.
5753 * test/test-simple.c (focus_me): make more robust.
5755 * libspi/accessible.c: remove some printfs in methods that
5756 we test and work fine, so we can get a clean tree dump.
5758 * test/test-simple.c (validate_accessible),
5759 (validate_tree): make tree dumping pretty too.
5761 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5762 it builds without debug on.
5764 * test/test-simple.c (validate_accessible): fix the most
5767 * cspi/spi_main.c (spi_object_release): leave the nicely
5768 blanked memory around if in debug mode.
5770 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5772 [committed to fixups2]
5773 2001-12-05 Michael Meeks <michael@ximian.com>
5775 * libspi/editabletext.c
5776 (spi_editable_text_class_init): g_type_class_peek_parent,
5777 not interface peek - so we finalize cleanly.
5779 * libspi/accessible.c (spi_accessible_new): kill debug.
5781 * test/test-simple.c (validate_accessible): fix ref.
5782 leak, print strings before freeing them; sigh, comment a
5783 chunk out due to strangeness.
5784 (validate_tree): unref the child after use.
5786 * cspi/spi_component.c (AccessibleComponent_getLayer):
5787 add missing break statement, switch on zlayer not the
5788 uninitialized retval.
5790 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5791 before (possibly re-entering) remote unref.
5793 * test/simple-at.c (main): unref the desktop.
5795 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5798 * cspi/spi_main.c (cspi_accessible_is_a): here to
5799 isolate bonobo API usage more.
5801 * libspi/registry.c (impl_accessibility_registry_register_application):
5802 prune bogus comment.
5804 2001-12-04 Michael Meeks <michael@ximian.com>
5806 * test/test-simple.c (validate_tree): upd.
5807 IndexInParent check to make it more lucid.
5808 (validate_accessible): dump the tree.
5810 * libspi/accessible.c (de_register_public_ref),
5811 (get_public_refs): impl.
5812 (spi_accessible_new): make more efficient & intuitive.
5813 Now IndexInParent check works.
5815 2001-12-04 Michael Meeks <michael@ximian.com>
5817 * cspi/spi-util.h: remove.
5819 * cspi/spi.h: move SPI_freeString here
5821 * libspi/component.c (impl_accessibility_component_get_layer):
5823 (impl_accessibility_component_get_mdi_z_order): ditto,
5824 return -1 on error - is this ok ?
5826 * test/test-simple.c (test_application): impl.
5828 * cspi/spi_accessible.c (Accessible_getApplication),
5829 (Accessible_isApplication): impl.
5831 * libspi/registry.c (spi_listener_struct_free): release
5832 the CORBA reference too.
5834 * libspi/accessible.c
5835 (impl_accessibility_accessible_get_parent): fix ref leak.
5837 * libspi/registry.c (spi_registry_new): make the registry
5838 immortal - we don't want it to go away ever.
5840 * libspi/application.c
5841 (spi_accessible_application_finalize): impl. cleanup.
5843 * cspi/spi_registry.c
5844 (deregisterGlobalEventListenerAll),
5845 (deregisterGlobalEventListener),
5846 (deregisterAccessibleKeystrokeListener): fix ref leak.
5848 * cspi/spi_main.c (SPI_init): remove redundant ref.
5850 * test/test-simple.c (unutterable_horror): impl. to force a
5855 (impl_accessibility_registry_deregister_application): release
5856 the application when we de-register it.
5858 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5859 until we have the infastructure to get it right.
5861 2001-12-03 Michael Meeks <michael@ximian.com>
5863 * libspi/Makefile.am: only build eventlistener.[ch]
5865 * libspi/accessible.c
5866 (impl_accessibility_accessible_get_child_at_index): don't leak.
5868 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5869 before we hit the idle handler.
5871 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5872 debugging than exit.
5874 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5876 * libspi/listener.c (impl_notify_event): check source
5877 not NIL before unref.
5879 * libspi/registry.c (impl_registry_notify_event): ditto.
5881 * libspi/eventlistener.c
5882 (impl_accessible_event_notify_event): unref the source.
5884 * libspi/accessibleeventlistener.c
5885 (impl_accessible_event_notify_event): unref the source.
5887 * idl/Event.idl: remove 'hash_id' attribute - of no
5890 * libspi/application.c (notify_listeners): upd list
5892 (spi_application_object_event_listener),
5893 (spi_application_toolkit_event_listener): upd to do correct
5897 (_registry_notify_listeners): update.
5898 (parse_event_type): this method also leaks like a sieve.
5899 (impl_accessibility_registry_deregister_global_event_listener):
5900 fix ETYPE_WINDOW case.
5902 * libspi/application.c
5903 (impl_accessibility_application_register_object_event_listener):
5906 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5908 * libspi/hypertext.c (impl_getLink): ditto.
5910 * cspi/spi_main.c (cspi_object_add): remove
5911 bogus CORBA_Object_duplicate.
5913 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5916 * cspi/spi_accessible.c
5917 (Accessible_getRelationSet): fix leak / referencing issue.
5919 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5920 (cspi_object_add, cspi_object_unref): upd.
5921 (spi_object_release, get_live_refs): impl.
5922 (cspi_cleanup): simplify.
5924 * *.[ch]: s/boolean/SpiBoolean/
5926 * cspi/spi_accessible.c (role_names): actualy order so it
5927 corresponds with the enum !
5929 * test/test-simple.c (test_roles): check some role strings
5930 vs. enums to detect offset errors.
5932 2001-12-01 Michael Meeks <michael@ximian.com>
5934 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5936 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5938 (Accessible_getChildAtIndex): use cspi_add_check so we
5939 check the ev before using a (possibly) invalid value.
5941 * libspi/accessible.c
5942 (impl_accessibility_accessible_get_parent): don't segv
5945 * at-bridge/bridge.c (gtk_module_init): upd.
5946 (bridge_property_event_listener): don't leak strings
5948 (bridge_state_event_listener),
5949 (bridge_property_event_listener): don't use a static
5950 buffer in case of recursive event emission &
5951 re-enterancy - split out the swathe of cut and paste
5953 (emit_eventv): and fix 2 ref leaks here & comply to the
5955 (bridge_register_app): rename to
5956 (bridge_idle_init): this and kill arg parsing, split
5957 various inits & bonobo-activation registration to module
5958 init time, kill referencing error.
5959 (bridge_exit_func): fix the same leak.
5960 (bridge_focus_tracker): don't leak event structures
5962 (bridge_signal_listener): more leakage and cut & paste
5964 (bridge_key_listener): return the result - FIXME is
5965 this polarity correct ?
5966 (accessibility_keystroke_from_atk_key_event): rename
5967 (accessibility_init_keystroke_from_atk_key_event): and stop
5969 (gtk_module_init): return a value - not that it is checked by
5971 (bridge_key_listener): register my horror at casting between
5972 IDL defined structs.
5973 (bridge_get_registry): kill - not used.
5975 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5977 * test/test-simple.c (test_roles): impl.
5978 (test_desktop, validate_accessible, validate_tree): impl.
5980 * cspi/spi_accessible.c (role_names): fixup bogus
5981 MAX_ROLES setup, make constants const for efficient linkage
5982 (AccessibleRole_getName): conform to coding style, make
5985 2001-11-30 Michael Meeks <michael@ximian.com>
5987 * cspi/spi.h: add missing prototype.
5989 * libspi/registry.c (spi_listener_struct_new): fix sig.
5991 * test/Makefile.am: add test-simple
5993 * test/test-simple.c: add
5995 * test/test.sh: add.
5997 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5999 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6000 do it straight - since otherwise we often get an activation race.
6002 [ work before Bill duplicated a chunk of it ... ]
6003 2001-11-30 Michael Meeks <michael@ximian.com>
6005 * libspi/keystrokelistener.c
6006 (spi_keystroke_listener_class_init): fixup arg
6009 * libspi/eventlistener.c
6010 (spi_event_listener_class_init): ditto.
6012 * tests/test.sh: add.
6014 * cspi/spi-listener-impl.h: update macros.
6016 * cspi/spi-listener-impl.c
6017 (cspi_event_listener_remove_callback): add
6018 correct pre-conditions.
6020 * cspi/spi_main.c (SPI_exit): guard vs. double
6021 exits, exit the mainloop nicely.
6022 (SPI_event_main): make more sense.
6023 (SPI_init): move the atexit evilness here so we
6024 always do it (yuck).
6025 (SPI_event_main): upd.
6027 * test/simple-at.c: update for listener changes.
6029 * registryd/registryd.c (main): prune kruft.
6031 * libspi/libspi.h: upd.
6033 * libspi/eventlistener.[ch]: rename broken macros.
6035 * libspi/accessibleeventlistener.[ch]: remove.
6037 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6039 * test/test-simple.c: Add - automated tests.
6041 * cspi/spi-listener-impl.c (cspi_event),
6042 (cspi_key_event): add user_data to invoke.
6043 (cspi_keystroke_listener_finalize): impl.
6044 (cspi_keystroke_listener_class_init): upd.
6047 (createAccessibleEventListener),
6048 (AccessibleEventListener_addCallback),
6049 (createAccessibleKeystrokeListener),
6050 (AccessibleKeystrokeListener_addCallback): upd.
6052 * libspi/deviceeventcontroller.c
6053 (spi_device_event_controller_check_key_event): add public proto.
6056 (impl_accessibility_registry_deregister_global_event_listener):
6057 always init listeners.
6058 (_registry_notify_listeners): yes it is.
6060 * cspi/spi-listener-impl.c (cspi_key_event):
6062 (cspi_event_listener_finalize): impl.
6063 (cspi_event_listener_class_init): hook up.
6064 (event_handler_new, event_handler_free),
6065 (event_list_remove_by_callback): impl.
6066 (cspi_event_listener_remove_callback),
6067 (cspi_keystroke_listener_remove_callback),
6068 (cspi_keystroke_listener_add_callback),
6069 (cspi_event_listener_add_callback): upd.
6071 * libspi/keystrokelistener.c
6072 (keystroke_listener_object_finalize): kill
6073 (spi_keystroke_listener_class_init): upd.
6074 (spi_keystroke_listener_add_callback),
6075 (spi_keystroke_listener_remove_callback): kill,
6077 (impl_key_event): prune drasticaly.
6079 * libspi/eventlistener.c
6080 (spi_event_listener_add_callback),
6081 (spi_event_listener_remove_callback): kill, use
6083 (impl_accessible_event_notify_event): upd.
6084 (spi_event_listener_object_finalize): remove.
6086 * libspi/Makefile.am: use eventlistener.[ch]
6088 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6090 * libspi/registry.c (_registry_notify_listeners):
6091 Changed listener loop iteration to use preferred convention.
6092 Got rid of string memory leaks caused be calling g_strconcat
6093 inside function calls.
6095 * libspi/registry.c (parse_event_type):
6096 Stopped g_strconcat memory leaks, free the g_strsplit return,
6097 g_strdup the split pieces when used, etc.
6099 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6102 Change method 'compare' to return a 'difference set' rather than
6103 taking a StateSet as an out parameter (more Java-friendly).
6105 * idl/Accessible.idl:
6106 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6108 * idl/Component.idl:
6110 Changed methods 'getExtents' and 'getImageExtents' in these
6111 interfaces to return a BoundingBox structure.
6112 (getPosition and getSize are redundant and possibly should be
6113 removed, rather than creating a corresponding Point struct.)
6115 * cspi/spi_component.c:
6116 Modify implementation of getExtents to reflect the above IDL
6121 Add (missing) AccessibleImage_getExtents () API.
6123 * docs/reference/cspi/at-spi-cspi-sections.txt:
6124 Added AccessibleImage_getImageExtents () to docs.
6126 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6128 * idl/Component.idl:
6129 Added two methods, getLayer () and getMDIZOrder (), to reflect
6130 the new ATK methods atk_object_get_layer and
6131 atk_object_get_mdi_z_order. (Which arguably should be part of the
6132 AtkComponent API and AtkObject). Also added an enum,
6133 ComponentLayer, for the first method's return value.
6135 * libspi/component.c:
6136 Added implementations for these methods.
6138 * cspi/spi_component.c:
6140 Added cspi binding methods for above,
6141 AccessibleComponent_getLayer() and
6142 AccessibleComponent_getMDIZOrder().
6143 Added cspi enum 'AccessibleComponentLayer'.
6145 * docs/reference/cspi/at-spi-cspi-sections.txt:
6146 Added above methods to docs.
6150 Changed typedef for 'boolean' type (and all references to it) to
6151 SPIBoolean, to avoid keyword clashes with C++.
6154 Changed usages of 'boolean' to SPIBoolean.
6156 * test/keysynth-demo.c:
6157 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6158 app), except where SPIBoolean is required by the callbacks API.
6160 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6162 * cspi/spi_registry.c:
6163 Removed obsolete X event loop for passive keygrabs (which now
6166 * registryd/registryd.c:
6167 Removed unnecessary call to gdk_init() [cruft]. This also allows
6168 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6171 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6173 * docs/reference/cspi:
6174 Included docs for SPI_freeString in generated documentation.
6177 Renamed spi_freeString to SPI_freeString, for consistency. Added
6178 documentation for this function.
6181 Renamed spi_freeString to SPI_freeString, for consistency.
6182 Removed obsolete method declaration string_from_corba_string.
6184 * test/keysynth-demo.c:
6185 Small tweak to comments.
6188 Stopped leaking the strings returned from CSPI.
6190 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6192 Merged Michael's branch (see his ChangeLog entries below).
6194 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6195 bridge is alive, release on exit.
6197 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6198 Fix type check macro.
6201 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6204 Added is_gnome_app static, and method cspi_is_gnome_app(),
6205 so we can call the appropriate shutdown routine at exit in SPI_exit.
6207 * cspi/spi_main.c (cspi_object_ref):
6208 Duplicate the corba object passed in, since we're keeping it around.
6210 * cspi/SPI_exit.c, cspi_cleanup:
6211 Moved the releasing of the live refs to its own function, so we
6212 can put it in g_atexit (). Call the appropriate shutdown API
6213 depending on whethe calling client is a gnome app or not
6214 (bonobo_main_quit or CORBA_ORB_shutdown).
6216 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6217 Unref the listener when this method is called, after
6218 deregistration. Updated the API docs to note this behavior.
6220 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6221 Bugfixes: Ref the bonobo object when returning a parent or child
6222 reference, or an AccessibleRelation. Generally made sure
6223 BonoboObject refcount is incremented whenever we return an
6226 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6227 Fixed typo/bug in signal declaration.
6229 * libspi/accessibleeventlistener.h:
6232 * libspi/application.c (spi_application_new):
6233 Fixed leak in initialization.
6236 Remembered to increment bonobo-object refcount when returning
6237 children (applications) from desktop object.
6238 Added (empty) finalize method.
6240 * libspi/deviceeventcontroller.c:
6241 Hold a ref to listeners inside DEControllerKeyListeners.
6242 Added dec_key_listener_free() method. Use prepend instead of
6243 append in key_listener list. Fixed some refcount madness and
6244 leaks in the listener registration/deregistration - deregistration
6245 now calls dec_key_listener_free() on listeners, and on the
6246 temporarily constructed dec_key_listener() used to perform the search/match.
6248 * libspi/hypertext.c (spi_hypertest_finalize):
6249 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6250 class. Also fixed spi_hypertext_interface_new() and
6251 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6253 * libspi/hypertext.h:
6254 Removed pointless and duplicate AtkObject pointer from
6257 * libspi/keystrokelistener.c:
6258 Fixed incorrect type of keystroke_listener_parent_class,
6259 renamed keystroke_listener_object_finalize to
6260 spi_keystroke_listener_object_finalize.
6261 Fixed typo in signal declaration
6262 (spi_keystroke_listener_class_init).
6264 * libspi/registry.c:
6265 Added funcsions spi_listener_struct_new() and
6266 spi_listener_struct_free() to help with memory management issues.
6267 We also now use these methods instead of gnew + poking stuff into
6268 the struct, and to decrement listener counts/free the listeners
6269 when deregistering them.
6270 Fix more refcount bugs in getDesktop() and
6271 getDeviceEventController().
6274 De-ref the desktop after enumerating the applications. Explicitly
6275 decrement the refcounts on the created listeners on exit (using
6276 _unref for keystroke listeners, and via the
6277 deregisterGlobalEventListenerAll command for other event
6280 2001-11-27 Michael Meeks <michael@ximian.com>
6282 * cspi/spi-listener.h: fixup enum.
6284 2001-11-27 Michael Meeks <michael@ximian.com>
6286 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6287 (cspi_keystroke_listener_new): Use the cspi variants.
6289 2001-11-26 Michael Meeks <michael@ximian.com>
6291 * test/keysynth-demo.c: fix 2 compile warnings, missing
6294 * test/simple-at.c (report_focussed_accessible),
6295 (report_focus_event, report_button_press),
6296 (check_property_change, is_command_key),
6297 (report_ordinary_key_event, report_command_key_event): upd.
6299 * util/mag_client.h: include pre-requisites.
6301 * libspi/accessibleeventlistener.c
6302 (spi_event_listener_object_finalize): free any lingering
6305 * libspi/keystrokelistener.c
6306 (keystroke_listener_object_finalize): ditto.
6308 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6309 callbacks, with cspi types.
6311 * cspi/spi_event.c (createAccessibleEventListener): chain to
6312 (AccessibleEventListener_addCallback): here.
6313 (createAccessibleKeystrokeListener): chain to
6314 (AccessibleKeystrokeListener_addCallback): here.
6316 * libspi/keystrokelistener.c
6317 (spi_keystroke_listener_class_init): add signal.
6318 (impl_key_event): emit the event.
6319 (boolean_handled_accumulator): impl.
6320 (marshal_BOOLEAN__POINTER): add, gack.
6322 * libspi/accessibleeventlistener.c
6323 (spi_event_listener_class_init): add signal.
6324 (impl_accessible_event_notify_event): emit the signal &
6325 make the loop efficient.
6326 (spi_event_listener_add_callback): prepend the callback.
6328 * libspi/accessibleeventlistener.h: add an 'event' signal,
6329 decl type on callback.
6331 * libspi/keystrokelistener.h: ditto.
6333 * cspi/spi-listener.h: make methods typesafe and
6334 make them use the new event typedefs.
6336 * test/simple-at.c (report_focussed_accessible):
6337 include mag_client.h
6338 Use *(void *)text_interface not the other thing.
6340 * configure.in: add gtk to registryd bits - since we use
6343 * util/magnifier.c: include libbonobo.h
6345 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6347 * test/keysynth-demo.c:
6348 Turned this into a simple scanning keyboard, to demonstrate the
6349 use of g_timeout_add () as a means of creating timers for
6350 scanning, and the use of GtkStyle for visually indicating when
6351 virtual keyboard elements are selected.
6353 keysynth-demo now listens to any keyboard keys with zero-valued
6354 keycodes (i.e. 'unused' keys) and interprets them as
6357 Reworked the shiftlatch code so that shift-down state isn't held
6358 for long periods (it's only synthesized immediately prior to
6359 the keysynth event it's modifying). Note that shiftlatch in this
6360 demo is a convenience, not intended to take the place of AccessX
6361 which is the better choice for getting 'sticky' modifier keys.
6363 * libspi/deviceeventcontroller.c:
6364 * at-bridge/bridge.c:
6365 * cspi/spi_registry.c:
6366 Removed some debug print stuff, and put other verbosity in #ifdef
6371 Implemented some more of the magnifier IDL for the simple
6372 magnifier: namely, getZoomRegionParams.
6373 Added mag_x and mag_y members to MagnifierData struct, aid of this
6375 Added GtkWindow::realize signal handler to magnifier, to keep it
6376 from receiving keyboard focus from the WM.
6378 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6380 * cspi/spi-private.h: my guess at what michael forgot
6381 before he ran off to NZ :-)
6383 2001-11-23 Michael Meeks <michael@ximian.com>
6385 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6386 comment out non existant method invoke so we link.
6388 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6389 use bonobo_exception_get_text for more friendly warnings.
6391 * cspi/spi.c (Obj_Add): move into spi_main & rename
6392 spi_object_add; kill spi.c
6394 * cspi/spi_registry.c
6395 (deregisterGlobalEventListener),
6396 (deregisterGlobalEventListenerAll),
6397 (registerGlobalEventListener): fix exception leaks.
6399 * cspi/spi_main.c (spi_exception): impl. helper, so we
6400 don't leak exceptions.
6402 * cspi/spi_selection.c
6403 (AccessibleSelection_deselectSelectedChild): return the
6406 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6407 (spi_registry): ditto.
6408 (SPI_init): guard against double inits.
6410 * cspi/*.c: use spi_ev (), and spi_registry () where
6411 appropriate - a temporary hack until we have something
6412 better. Use spi_object_add
6414 2001-11-22 Michael Meeks <michael@ximian.com>
6416 * cspi/Makefile.am: re organise, install the headers.
6418 * cspi/*.h: add G_BEGIN/END_DECLS
6420 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6423 Added non-preemptive keylistener for key events with no modifiers
6424 and shift-only modifier.
6426 * libspi/keystrokelistener.c:
6427 Removed some verbose diagnostics printout.
6429 * cspi/spi_registry.c:
6430 Fixed a bug that caused all key listeners to be registered as
6433 * libspi/deviceeventcontroller.c:
6434 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6435 for non-preemptive key masks.
6438 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6440 * docs/reference/idl/at-spi-idl-docs.sgml:
6441 * docs/reference/idl/at-spi-idl-sections.txt:
6442 * docs/reference/idl/at-spi-idl-overrides.txt:
6443 Added missing files.
6445 * docs/reference/Makefile.am:
6446 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6447 to scan the IDL files :-(
6452 Added .cvsignore files.
6454 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6456 * libspi/deviceeventcontroller.c:
6457 * libspi/keystrokelistener.c:
6459 * cspi/spi_registry.c:
6460 Added filters for KeySets, KeyEventSeq, and event types to key
6461 event dispatching, so listeners should only receive those events
6462 that they requested :-)
6464 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6469 * docs/reference:Makefile.am:
6470 * docs/reference/cspi:
6471 * docs/reference/cspi:Makefile.am:
6472 * docs/reference/cspi:tmpl:
6473 * docs/reference/cspi:tmpl:*.sgml:
6474 * docs/reference/idl:
6475 * docs/reference/idl:Makefile.am:
6476 * docs/reference/idl:at-spi-idl-sections.txt:
6477 * docs/reference/idl:at-spi-idl-docs.sgml:
6478 * docs/reference/idl:tmpl:
6479 * docs/reference/idl:tmpl:*.sgml:
6481 Restructured docs directory to allow separate 'reference' docs
6482 section, and forked idl and cspi docs. Added the sgml template
6483 files to CVS. Added the first sections/structural sgml for the
6486 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6488 * configure.in, libspi/Makefile.am: find libXtst.
6490 2001-11-21 Michael Meeks <michael@ximian.com>
6492 * test/accessx-gui.c: s/spi_value/value/ - doh.
6494 * libspi/base.[ch]: add.
6496 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6498 * idl/Accessible.idl:
6499 * idl/Application.idl:
6502 Started gtk-doc cleanup on IDL.
6504 * libspi/deviceeventcontroller.c:
6505 Added and connected non-preemptive key notification from the
6506 toolkits (in addition to the pre-emptive support from XServer
6507 which we had before, but which causes 'focus flashing'). Filters
6508 are presently limited to key modifiers and global/non-global,
6509 KeySets are presently ignored, as are KeyEvent masks.
6511 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6512 structs into the persistant structure rather than just storing
6513 pointers to things that might not persist across servant
6516 The XGrabKey call now does async keygrabs, because synchronous
6517 ones were deadlocking with GDK_event code in a very nasty way.
6519 Added boolean to internal method notify_keylisteners, to indicate
6520 whether the event came from the 'toolkit source' or the 'global
6521 (XServer) source' - this is used in the notification process to
6522 determine which listeners to send the event to.
6524 deviceeventcontroller.c is now warning-free.
6526 * libspi/registry.c:
6527 Fixed regression in application de-registration.
6528 Also fixed some really brain-dead weirdness having to do with
6529 event dispatching - event structs are now duplicated before being
6530 re-marshalled in the dispatch to listeners. This also fixes a
6531 Solaris build problem.
6534 2001-11-20 Michael Meeks <michael@ximian.com>
6537 (impl_accessibility_registry_deregister_global_event_listener):
6540 * libspi/deviceeventcontroller.c
6541 (spi_device_event_controller_check_key_event): return
6542 FALSE on no virtual method.
6544 * libspi/*..h: make includes work on a correctly pathed install.
6546 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6548 * libspi/application.h: kill unused ( and whacked out )
6549 gboolean *spi_application_set_id (AtkObject *app, long id);
6551 2001-11-20 Michael Meeks <michael@ximian.com>
6553 * libspi/*.[ch]: further convert to bonobo's type func
6554 macros, remove redundnant casts etc.
6556 * libspi/text.c s/accessibility_text/spi_text/g,
6557 re-order to de-cruft.
6559 * libspi/hypertext.c: re-order to kill a huge slew
6560 of redundant forward decls.
6562 * libspi/relation.c: ditto.
6564 * libspi/image.c: ditto.
6566 * */.cvsignore: update
6568 2001-11-20 Michael Meeks <michael@ximian.com>
6570 * libspi/deviceeventcontroller.c
6571 (_controller_register_with_devices): use g_getenv,
6572 kill stdlib.h include.
6574 * libspi/keystrokelistener.c
6575 (spi_keystroke_listener_get_type): kill
6576 (spi_keystroke_listener_class_init),
6577 (spi_keystroke_listener_init): rename to this.
6579 * libspi/text.c (impl_getAttributes): fix warning / bug.
6581 * libspi/*.[ch]: more headers, includes and over commenting.
6583 2001-11-20 Michael Meeks <michael@ximian.com>
6585 * libspi/*.[ch]: fixup headers, includes and over commenting.
6587 * libspi/image.c (impl__get_imageDescription): const
6588 correctness warning fix. remove redundant casting.
6590 * libspi/table.c (impl_getRowDescription): ditto.
6591 (impl_getColumnDescription): ditto.
6593 * libspi/libspi.h: add.
6595 2001-11-19 Michael Meeks <michael@ximian.com>
6597 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6599 * libspi/component.c (accessibility_component_get_type):
6600 rename to (spi_component_get_type): and macroify.
6601 (accessibility_component_init): rename to
6602 (spi_component_init): this
6603 (accessibility_component_class_init): rename to
6604 (spi_component_class_init): this
6606 * libspi/action.c (spi_action_get_type): kill, use the macro.
6608 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6611 * libspi/application.c (spi_application_object_event_listener),
6612 (impl_accessibility_application_register_object_event_listener):
6613 warning fixes / const understanding updates.
6615 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6618 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6620 * libspi/spi_accessible.c: Added docs and C bindings for
6621 AccessibleStateSet. (No implementations yet). Documentation
6622 coverage for C bindings now 100%. Made docs for event listeners
6627 boolean notifyListenersSync (in DeviceEventListener listener,
6628 in DeviceEvent event);
6630 oneway void notifyListenersAsync (in DeviceEventListener listener,
6631 in DeviceEvent event);
6633 Added DeviceEventListener and DeviceEvent structs (may deprecate
6634 KeyStroke and KeystrokeListener in favor of this generic
6635 event/listener framework for devices).
6637 * libspi/deviceeventcontroller.c:
6639 Changed some key listener code to take masks, etc., and paved the
6640 way for integration of toolkit/non-preemptive key events. Changed
6641 signatures of some internal methods.
6643 * at-bridge/bridge.c:
6644 Fixed regression connecting to interface signals, apparently
6645 caused by GTK+ changes.
6647 Added an internal bridge_state_listener to deal with
6648 property-change:accessible-state signals.
6650 Changed the key_listeners GList to store structs (including masks,
6651 etc.) instead of just CORBA_Objects (required for full
6652 implementation of key listener API).
6654 Connected the bridge to all currently supported Atk signals.
6655 Events now supported:
6656 object:property-change
6657 object:property-change:accessible-name
6658 object:property-change:accessible-state
6659 object:property-change:accessible-description
6660 object:property-change:accessible-parent
6661 object:property-change:accessible-value
6662 object:property-change:accessible-role
6663 object:property-change:accessible-table-caption
6664 object:property-change:accessible-table-column-description
6665 object:property-change:accessible-table-column-header
6666 object:property-change:accessible-table-row-description
6667 object:property-change:accessible-table-row-header
6668 object:property-change:accessible-table-summary
6669 object:children-changed
6670 object:visible-data-changed
6671 object:selection-changed
6672 object:text-selection-changed
6674 object:text-caret-moved
6676 object:row-reordered
6678 object:column-inserted
6679 object:column-reordered
6680 object:column-deleted
6681 object:model-changed
6683 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6685 * libspi/hyperlink.c,h:
6686 Fixed some broken stuff in hyperlink.
6688 * libspi/relation.h:
6689 * libspi/relation.c:
6690 * cspi/spi_accessible.c:
6691 Initial implementations of AccessibleRelation methods, and docs.
6693 * libspi/accessible.c:
6694 Fixed a bug that caused SEGV if an accessible
6695 object's description is NULL, and a client
6696 requests it. An empty string is now returned.
6698 * cspi/spi_editabletext.c:
6699 * cspi/spi_hypertext.c:
6701 * cspi/spi_hyperlink.c:
6705 Doc coverage now 95%.
6707 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6709 One last namespacing revision:
6710 * libspi/accessibleeventlistener.[ch]:
6711 Renamed SpiAccessibleEventListener to SpiEventListener,
6712 (no need for two namespaces ;-)
6714 And lots of documentation fixes:
6716 * docs/at-spi-docs.sgml:
6717 Fixed 'underscore vs. hyphen' bug that was preventing
6718 the gtk-doc API docs from being automatically generated.
6721 * cspi/spi-listener.h
6723 * cspi/spi_accessible.c
6725 * cspi/spi_application.c
6726 * cspi/spi_component.c
6727 * cspi/spi_editabletext.c
6729 * cspi/spi_hypertext.c
6731 * cspi/spi_registry.c
6732 * cspi/spi_selection.c
6736 * docs/at-spi-docs.sgml
6737 * docs/at-spi-sections.txt
6739 Added and fixed up gtk-doc documentation in cspi.
6741 Interfaces now (fully) documented (subject to revision and enhancement):
6743 Event Listener Support
6745 AccessibleApplication
6749 AccessibleEditableText
6756 AccessibleRelationSet
6761 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6763 * at-bridge/bridge.c:
6764 Initial work for toolkit-level key snooper connection by bridge.
6769 New typedefs and fixes to support new namespacing, and cleaner
6770 separation of cspi bindings from libspi bonobo implementation.
6771 Removed inconsistent and extraneous Spi* namespace prefix that
6772 had crept into cspi headers.
6773 Lots of comment fixes that sed had missed.
6775 * cspi/spi-roletypes.h:
6776 * cspi/spi-statetypes.h:
6777 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6778 to AccessibleRoleType.
6780 * libspi/accessibleeventlistener.h:
6781 Fixed minor namespacing weirdness.
6783 * libspi/deviceeventcontroller.c:
6784 Reordered some internal API for device listeners.
6785 Changed the key registry final boolean to 'is_system_global'
6786 rather than 'is_synchronous', which is more descriptive of its
6788 Added spi_device_event_controller_new().
6789 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6791 * libspi/keystrokelistener.[ch]:
6792 Namespaced KeystrokeListener to SpiKeystrokeListener.
6793 Changed uses of keymasks to use SPI_ prefix, and did other
6796 * libspi/keymasks.h:
6797 Namespaced keymask constants with SPI_ prefix.
6799 * libspi/registry.c:
6800 Some warning fixes, and knock-on fixes from namespace changes.
6803 Added rules for accessx-gui test program.
6805 * test/accessx-gui.c:
6806 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6807 utility. It doesn't actually use at-spi, but it's still cool and
6810 * test/keysynth-demo.c:
6814 Fixes so that these test clients work properly with the namespaced
6815 libraries. (Incompletely tested for technical reasons, fixes may follow)
6818 2001-11-13 Michael Meeks <michael@ximian.com>
6820 * libspi/application.c
6821 (impl_accessibility_application_get_version),
6822 (impl_accessibility_application_get_toolkit_name):
6824 (impl_accessibility_application_set_id),
6825 (impl_accessibility_application_get_id): remove
6826 redundant casting code.
6828 * libspi/action.c (impl_getDescription): fix warnings.
6830 * libspi/accessible.c
6831 (impl_accessibility_accessible_get_parent),
6832 (impl_accessibility_accessible_get_child_at_index),
6833 (impl_accessibility_accessible_get_state),
6834 (impl_accessibility_accessible_get_relation_set):
6835 warning fixes & include action.h
6837 2001-11-13 Michael Meeks <michael@ximian.com>
6839 * *.[ch] fix bits I screwed up:
6841 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6842 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6844 2001-11-13 Michael Meeks <michael@ximian.com>
6846 * *.[ch] Namespace libspi into spi_ and Spi.
6848 2001-13-11 Michael Meeks <michael@ximian.com>
6850 * Makefile.am: dist & install at-spi-1.0.pc
6852 * libspi/Makefile.am: install into at-spi-1.0
6854 * idl/Makefile.am (idldir): install into at-spi-1.0
6856 * at-spi-1.0.pc.in: add.
6858 * configure.in: build it.
6860 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6862 * test/keysynth-demo.c:
6863 Use a 'realize' signal-handler to set the WM properties for
6864 the virtual keyboard, rather than making it a "POPUP" type
6865 override-redirect window (thanks to anders carlsson for that
6868 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6871 * test/keysynth-demo.c:
6872 Added new test of key synthesis, which creates a simple
6873 (mouse-operated) onscreen keyboard. It inserts key events into
6874 the currently-focused window, thus it does not grab keyboard focus
6877 * cspi/spi_registry.c:
6878 Added C binding for AT-SPI generateKeyEvent.
6880 * libspi/deviceeventcontroller.c:
6881 Added call to XFilterEvent so that key listener works with XIM (we
6882 hope). Added event_synth_type to generateKeyEvent, so that we can
6883 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6884 synthesize a press/release pair for KeySyms.
6886 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6888 * libspi/Makefile.am:
6889 * registryd/Makefile.am:
6890 (temporary) hack to include libXtst in libspi and registryd.
6891 (Needed for keystroke synthesis, see below).
6894 Improved API for registerKeystrokeListener, in accordance with
6895 discussions with Gnopernicus team and X server research.
6897 * libspi/registry.c:
6898 * libspi/deviceeventcontroller.c:
6899 * libspi/accessible.c:
6900 * libspi/keystrokelistener.c:
6901 Changes and fixes to support keylisteners for potentially
6902 consumed key events (that is, 'passive grabs').
6903 Added implementation for generateKeyEvent() [untested].
6906 Changes to registerKeystrokeListener() API, as above.
6907 Added deregisterGlobalEventListenerAll(), and
6908 deregisterKeystrokeListener(), which are needed for clean exit of
6910 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6911 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6913 * cspi/spi_registry.c:
6914 Added implementations of function prototypes mentioned above.
6916 * registryd/registryd.c:
6917 Added the key listener event source as a g_timeout(), to allow
6918 receipt of key events that are not caught by GDK (since GDK
6919 doesn't support passive keygrabs, this was necessary).
6922 Changed to attach a keylistener to 'Alt' keys, and
6923 respond to the following keycommands: Alt-M (toggle magnifier);
6924 Alt-F (toggle speech); Alt-Q (quit).
6925 Added an exit routine to deregister the listeners, and a key
6926 listener that prints some key info to the console when a key
6927 matches the listener mask (and is thus received by the listener).
6929 * util/idl/Magnifier.idl:
6930 Changes to magnifier API to support multiple zoom regions,
6931 non-uniform scaling in x and y, markDirty, and a host of other
6932 features that would be useful to magnification.
6935 * util/mag_client.c:
6936 * util/mag_client.h:
6937 * util/mag_control.c:
6939 Source code changes to support the above IDL changes.
6942 As above, and also changes to use a (slower) generic conversion
6943 path for colormap conversions, since the fast RGB conversions have been
6944 reported to fail for 16-bit displays.
6946 2001-10-26 Michael Meeks <michael@ximian.com>
6948 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6950 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6952 * at-bridge/Makefile.am: fix LDFLAGS.
6954 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6956 * at-bridge/bridge.c:
6957 Re-worked listeners for toolkit events, now we have signal
6958 and property listeners. Added a private method
6959 register_atk_event_listeners(), which registers with the
6960 various atk and gtk signals we need to monitor in order to emit
6962 Added emission hook for AtkObject:property-change events, to
6963 support the 'property listeners'.
6964 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6967 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6968 which emit warnings and exit, respectively, if CORBA errors occur
6969 during remote calls, and we now use these methods to check most of
6970 our CORBA calls in the C bindings.
6972 * cspi/spi_accessible.c:
6973 Changed AccessibleSelection_refSelectedChild() to
6974 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6975 now increment refcounts.
6977 * cspi/spi_component.c:
6978 Fixed some long pointer casts (dangerous!) to pass pointers to
6979 CORBA_longs of the proper type to the CORBA stubs, and copy the
6980 data into the longs that were passed into the C bindings code.
6982 * at-bridge/bridge.c:
6984 * libspi/accessible.c:
6985 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6986 hyperlinks, AtkHyperlink is an object type.
6988 * libspi/application.c:
6989 Added various conversions to and from "generic" event types and
6990 atk-specific types; this is really part of the 'bridge'
6991 implementation but is valid for all AtkObject-based accessibility
6994 * libspi/editabletext.c:
6995 Fixed nasty bug wherein editable text's finalize method was
6996 unref'ing tha AtkObject reference that the text parent class was
6997 about to unref _again_. There was also a nasty inheritance bug
6998 that meant that the AccessibleEditableText class was corrupt.
7000 * libspi/selection.c:
7001 Provided implementations for some selection API that was broken.
7003 * idl/Application.idl:
7004 Added registerObjectEventListener () method.
7007 Fixed a number of return values that were Bonobo_Unknowns from
7008 bonobo_object_corba_objref(), which I
7009 forgot to dup before returning. Changed instances of
7010 bonobo_object_corba_objref (bonobo_object(o)) to
7011 BONOBO_OBJREF(o), for concision and clarity.
7013 2001-10-13 Louise Miller <louise.miller@sun.com>
7015 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7016 idl/Event.idl, idl/Registry.idl
7017 Changed these files to include Bonobo_Unknown.idl instead
7020 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7022 * libspi/component.c libspi/component.h:
7023 Fixed typo. Added assertions for object checks in
7024 AccessibleComponent code.
7026 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7028 * idl/Accessible.idl:
7029 Added 'isEqual (Accessible *object)'
7030 method for Accessible. (Not Yet Implemented).
7033 Changed signature of registerKeystrokeListener() to
7034 take a KeySet and KeyEventSeq so that specific keys and event
7035 types could be requested for monitoring, and added a flag
7036 is_synchronous so that either synchronous or asynchronous
7037 notification could be requested. (However this is not all
7038 implemented yet). This also meant adding two new typedefs,
7039 KeyEventSeq and KeySet.
7042 Added two new relations, RELATION_TOOLTIP_FOR and
7043 RELATION_LEAFNODE_OF.
7046 Added new state, STATE_HAS_TOOLTIP.
7048 * libspi/text.c, editabletext.c:
7049 Added new assertions to all casts of bonobo-objects from
7050 CORBA servants, to prevent Text API calls on non-text objects.
7051 Changed suspect casts of int-pointer types, so that we
7052 always send a valid CORBA_long pointer to the CORBA APIs that use
7053 in/out long parameters. We then have to copy from the CORBA_long
7054 into the regular long or int for return to the C bindings, or
7055 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7058 * libspi/deviceeventcontroller.c:
7059 Cleaned these sources up.
7061 Changed return type for getCharacterAtOffset to
7062 CORBA_unsigned_long, to allow for 32-bit characters.
7065 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7069 Fixed 'make dist' so that distro compiles...
7070 * libspi/keymasks.h:
7072 * cspi/spi-listener.c:
7073 KeystrokeListenerCB now returns a boolean.
7075 Added KeyEventType struct, and KeyStroke.
7076 Also added createKeystrokeListener(),
7077 KeystrokeListener_addCallback(),
7078 KeystrokeListener_removeCallback(), and added a keymask to
7079 registerKeystrokeListener().
7080 * cspi/spi_accessible.c:
7081 Changed numerous return types for interfaces from
7082 AccessibleComponent to Accessible<InterfaceName>; this was
7083 probably a cut-and-paste error.
7085 Implementations of new KeystrokeListener api (from spi.h,
7088 Changes to key modifier mapping.
7089 Created ControllerEventMask struct.
7090 Made DeviceEventController derive from Bonobo::Unknown.
7092 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7093 * libspi/deviceeventcontroller.c:
7094 Added a number of new internal (private) methods.
7095 * libspi/editabletext.c:
7096 * libspi/editabletext.h:
7097 Fixed a number of bugs related to the fact that
7098 editabletext inherits from text. Fixed the EditableText struct,
7099 the init() call, and use correct casts when calling Text methods
7100 from an EditableText object. Removed (duplicate) atko from the
7101 EditableText structure, we use the one in the parent Text
7102 structure via the casts mentioned above.
7103 * libspi/keystrokelistener.[ch]:
7104 * libspi/registry.c:
7105 Changes in support of keyboard handling (above).
7107 Keyboard handling, though partly functional, is still not
7108 recommended for at-spi client use as there is considerable
7109 work yet to be done.
7112 Changed some places where pointers to various int types
7113 are cast to be pointers to CORBA_long types and vice-versa:
7114 pointer casting is not safe so we pass pointers of the correct
7115 types and then cast the result before putting it into the target
7118 * libspi/text.h: minor typos corrected.
7120 We now speak not only the name of a Text element, but the
7121 first sentence of its content, when it receives focus.
7122 I also changed the text compression to 75% from 50%.
7123 * util/Accessibility_Util.server.in:
7124 Changed the default magnifier type to be a 3x vertical
7125 splitscreen magnifier (was previously a 2x horizontal one).
7127 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7129 * libspi/keystrokelistener.h:
7130 * libspi/keystrokelistener.c:
7131 Initial functional implementations of KeystrokeListener.
7134 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7136 Fixed string handling for NULL strings in libspi.
7137 Added spi_freeString to free strings returned by C bindings.
7139 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7141 * libspi/keystrokelistener.h:
7142 * libspi/keystrokelistener.c:
7143 Began (no-op) implementations of KeystrokeListener
7145 * libspi/deviceeventcontroller.c:
7146 * libspi/deviceeventcontroller.h:
7147 Began creating implementations of DeviceEventController,
7148 to handle keystroke and mouse event listening and
7150 * libspi/accessible.c:
7151 Stubbed-in the implementations for
7152 Accessibility_Accessible_getState and
7153 Accessibility_Accessible_getRelationSet.
7154 * libspi/registry.c:
7155 Improved de-registration process and fixed some bugs,
7156 deregistration now works correctly.
7158 Added initialization of applications list (to NULL).
7160 Reduced speech compression from 0.5 to 0.7, for demo.
7161 Changed call to gdk_window_set_decorations()
7162 to gtk_window_set_decorated().
7163 * at-bridge/bridge.c:
7164 Bridge now deregisters when app exits, via
7165 registration of a cleanup function
7166 with the g_atexit() call.
7167 Required making 'app' static, renamed 'this_app'.
7168 Fixed broken use of bonobo_init, passing argv wrongly.
7170 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7174 Created a new directory for
7175 accessibility-related utilities, primarily for
7176 testing and demo purposes, but with possible
7183 Onscreen magnifier utility that
7184 is implemented as a bonobo service.
7186 * util/mag_client.c:
7187 * util/mag_client.h:
7188 Client-side support (simple C bindings)
7189 for Magnification service
7191 * util/mag_control.c:
7192 Client program example for
7193 Magnification service
7195 * util/Accessibility_Magnifier.server.in:
7196 Bonobo-activation file for the
7197 Magnification service.
7200 * util/idl/Magnifier.idl:
7201 IDL defining the bonobo Magnification
7205 Modifications to use the bonobo-activated magnifier
7206 above, in place of trying to connect to an existing
7207 magnifier that uses socket-listening IPC.
7209 If env variable MAGNIFIER is set, a magnifier service
7210 will be started if one does not exist.
7212 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7214 * at-bridge/bridge.c:
7215 applied patch from Marc to build and run
7216 against new glib and gtk+ (seemed like a change
7217 to bonobo_init signature was made ?)
7219 made festival-server support turned off by default.
7220 Added support for a simple magnifier (off by default)
7221 which will be added to a 'util' directory later.
7222 * at-bridge/Makefile.am:
7223 Changed "application.h" header from a 'source'
7224 to a 'dependency' of libat-bridge.
7226 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7235 Added interface implementation c files to list of
7236 includes so they are included in libcspi.
7239 Changed prototype of AccessibleAction_doAction to return a
7241 Changed prototype of AccessibleTable_getCaption to
7242 return an Accessible.
7243 Changed prototype of AccessibleTable_getSelectedRows
7244 and AccessibleTable_getSelectedColumns to
7245 return a long (returns the number of selected rows
7246 or columns respectively).
7247 Changed name of AccessibleText_refRunAttributes to
7248 AccessibleText_getAttributes.
7249 Changed prototype of AccessibleText_getCharacterExtents to
7250 return a void rather than a boolean.
7251 Added support for a AccessibleCoordType parameter
7252 specifying what type of coordinates are desired.
7253 Added an AccessibleCordType parameter to
7254 AccessibleText_getPointAtOffset.
7256 * cspi/spi_accessible.c:
7257 Added code to return the outstanding interfaces from
7258 Accessible_queryInterface.
7260 * cspi/spi_action.c:
7262 Corrected call to getNActions to call the c binding
7265 * cspi/spi_editabletext.c:
7267 Changed name from setRunAttributes to setAttributes.
7269 * cspi/spi_hyperlink.c:
7271 Changed call to getNAnchors to correctly call the c
7272 binding for an attribute.
7274 * cspi/spi_hypertext.c:
7276 Changed getImageDescription to correctly call the
7277 binding for an attribute.
7279 * cspi/spi_selection.c:
7280 Changed getNSelectedChildren to correctly call the c
7281 binding for the attribute.
7282 Changed refSelectedChild to getSelectedChild.
7286 Changed getCaption to return an Accessible.
7287 Fixed calls which retrieve attributes.
7288 Changed refAt to getAccessibleAt.
7289 Changed getNSelectedRows and getNSelectedColumns to
7293 Changed getCharacterExtents and getPointAtOffset to accept an
7294 AccessibleCoordType.
7296 Changed calls which retrieve attributes.
7297 Changed refRunAttributes to getAttributes.
7302 * idl/Hyperlink.idl:
7303 Changed n_anchors attribute to nAnchors to keep naming
7304 convention consistent.
7307 Made Table inherit from Bonobo::Unknown.
7308 Added nSelectedColumns and nSelectedRows attributes.
7311 Made Value inherit from Bonobo::Unknown.
7313 * libspi/hyperlink.c:
7314 Change for nAnchors attributte name change.
7316 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7324 Added interface implementation c files to list of
7325 includes so they are included in libcspi.
7328 Changed prototype of AccessibleAction_doAction to return a
7330 Changed prototype of AccessibleTable_getCaption to
7331 return an Accessible.
7332 Changed prototype of AccessibleTable_getSelectedRows
7333 and AccessibleTable_getSelectedColumns to
7334 return a long (returns the number of selected rows
7335 or columns respectively).
7336 Changed name of AccessibleText_refRunAttributes to
7337 AccessibleText_getAttributes.
7338 Changed prototype of AccessibleText_getCharacterExtents to
7339 return a void rather than a boolean.
7340 Added support for a AccessibleCoordType parameter
7341 specifying what type of coordinates are desired.
7342 Added an AccessibleCordType parameter to
7343 AccessibleText_getPointAtOffset.
7345 * cspi/spi_accessible.c:
7346 Added code to return the outstanding interfaces from
7347 Accessible_queryInterface.
7349 * cspi/spi_action.c:
7351 Corrected call to getNActions to call the c binding
7354 * cspi/spi_editabletext.c:
7356 Changed name from setRunAttributes to setAttributes.
7358 * cspi/spi_hyperlink.c:
7360 Changed call to getNAnchors to correctly call the c
7361 binding for an attribute.
7363 * cspi/spi_hypertext.c:
7365 Changed getImageDescription to correctly call the
7366 binding for an attribute.
7368 * cspi/spi_selection.c:
7369 Changed getNSelectedChildren to correctly call the c
7370 binding for the attribute.
7371 Changed refSelectedChild to getSelectedChild.
7375 Changed getCaption to return an Accessible.
7376 Fixed calls which retrieve attributes.
7377 Changed refAt to getAccessibleAt.
7378 Changed getNSelectedRows and getNSelectedColumns to
7382 Changed getCharacterExtents and getPointAtOffset to accept an
7383 AccessibleCoordType.
7385 Changed calls which retrieve attributes.
7386 Changed refRunAttributes to getAttributes.
7391 * idl/Hyperlink.idl:
7392 Changed n_anchors attribute to nAnchors to keep naming
7393 convention consistent.
7396 Made Table inherit from Bonobo::Unknown.
7397 Added nSelectedColumns and nSelectedRows attributes.
7400 Made Value inherit from Bonobo::Unknown.
7402 * libspi/hyperlink.c:
7403 Change for nAnchors attributte name change.
7406 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7408 implementations-- made server implementations own AtkObject pointers
7409 rather than their respective AtkInterrface pointers to fix
7410 refcounting. AtkHyperlink is still broken.
7412 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7413 * cspi/spi_accessible.c:
7414 Added method Accessible_Role_getName(),
7415 and requisite string array (role_names).
7416 Added conversion string_from_corba_strin() call
7417 to Accessible_getName and _getDescription.
7418 * libspi/accessible.c:
7419 Added implementation for Accessible_getRole()
7421 Added festival support, used if environment variable
7424 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7426 * at-bridge/bridge.c:
7427 Now allocate Accessibility_Event using
7428 Accessibility_Event__alloc() instead of g_new0().
7429 * libspi/accessibleeventlistener.c:
7430 Initialize AccessibleEventListener->callbacks to NULL.
7431 Fixed accessible__event_listener_init() param, changed to
7432 "AccessibleEventListener *" type.
7433 Changed a bonobo_object_release_unref() call to
7434 Accessibility_Accessible_unref().
7435 * libspi/listener.c:
7436 Changed Bonobo_Unknown_unref to (equivalent)
7437 Accessibility_Accessible_unref.
7438 * libspi/registry.c:
7439 Changed bonobo_object_release_unref to
7440 Accessibility_Accessible_unref.
7442 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7445 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7446 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7447 spi-util.c spi-util.h
7448 Implementations for C bindings to remaining accessibility
7451 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7454 changed return value of Action from void to boolean to
7455 bring in line with ATK.
7458 Changed getText funcions to return "out" start and end offsets.
7459 Changed getAttributes to take and offset and return the start
7460 and end offset of the attribute run.
7461 Changed getOffsetAtPoint and getCharacterExtents to take an
7462 enum describing whether coordinates are window or screen.
7465 libspi/action.c libspi/action.h libspi/editabletext.c
7466 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7467 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7468 libspi/image.h libspi/selection.c libspi/selection.h
7469 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7470 libspi/value.c libspi/value.h
7471 Added server implementations for outstanding ATK interfaces
7472 not yet implemented.
7474 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7477 Added (missing) getName() method.
7478 Made nActions an attribute.
7479 * idl/EditableText.idl:
7480 Changed order of params in setAttributes.
7481 * idl/Hyperlink.idl:
7482 Removed getAnchor, added getURI.
7484 Changed attributes to methods, for efficiency
7485 (so that getting extents can be done in one call)
7486 * idl/Selection.idl:
7487 Changed nSelectedChildren to attribute, and re-indented.
7488 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7490 * idl/Text.idl: reformatted to match our coding style.
7491 (temporarily?) removed getRowColumnAtOffset().
7492 Changed text selection API to support multi-select and
7493 non-contiguous selections, as in ATK.
7494 * idl/Value.idl: changed some methods to attributes.
7496 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7498 * libspi/listener.c(impl_notify_event):
7499 BonoboUnkown_unref the source instead
7500 of bonobo_object_release_unref - the ORB
7501 handles the releasing.
7503 * configure.in: require ORBit-2.3.94 for
7506 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7508 Tagged CVS repository 'EA_1_0'.
7509 * README.EARLY_ACCESS:
7510 Alphabetized acknowledgements list, and
7512 Listed some known dependencies of at-spi.
7514 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7516 * docs/at-spi-docs.sgml:
7517 * docs/at-spi-sections.txt:
7518 * docs/at-spi-overrides.txt: (Added zero-length file)
7519 Documentation improvements - gtk-doc should build
7520 docs for all implemented C bindings now.
7523 * cspi/spi.c: (New file)
7524 * cspi/spi_event.c: (New file)
7525 * cspi/spi_registry.c: (New file)
7526 * cspi/spi_accessible.c: (New file)
7527 * cspi/spi_application.c: (New file)
7528 * cspi/spi_component.c: (New file)
7529 Split spi_main.c into six parts, and included them from
7530 "spi.c". This is a bit of a hack, probably temporary,
7531 but required by gtk-doc, apparently.
7533 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7536 * docs/at-spi-docs.sgml:
7537 * docs/at-spi-sections.txt:
7539 Initial checkins/modifications for gtk-doc generation.
7542 Added (missing) interface query methods to Accessible's C binding.
7544 Added GenericInterface type definition.
7546 Added query for AccessibleComponent interface to focus event handler.
7547 Added printout of bounding box for focussed component.
7548 * libspi/component.c:
7549 Added partial implementation for AccessibleComponent to C binding.
7550 * idl/Application.idl:
7551 * libspi/registry.c:
7552 * libspi/listener.c:
7553 * libspi/application.c:
7554 * libspi/application.h:
7555 Changed "ID" attribute type from string to long.
7557 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7561 Made method naming consistent: methods taking object args
7562 start with uppercase, other methods (except those using
7563 acronyms) start with lowercase. Underscores delimit between
7564 object names and method names:
7565 SPI_init() - uppercase since it starts with an acronym.
7566 getDesktopCount () - lowercase start since no object param0.
7567 Accessible_getName() - uppercase object type name, studlyCaps method
7571 Added gtk-doc documentation for all currently implemented
7572 methods in the C bindings API.
7574 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7576 * Makefile.am : changed build order to build test last.
7579 Changed "createEventListener" to "CreateEventListener".
7580 * libspi/accessibleeventlistener.c :
7581 Bugfix for addition of callbacks.
7582 * test/Makefile.am :
7583 * test/simple-at.c :
7584 Added new test that uses the C bindings API.
7586 * libspi/listener.c :
7587 * libspi/registry.c :
7588 * libspi/accessibleeventlistener.c :
7589 * at-bridge/bridge.c :
7590 Renamed member "target" of Accessibility_Event to "source",
7591 which is more descriptive.
7594 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7598 * cspi/Makefile.am :
7599 Added makefile support for at-spi/cspi directory.
7602 * cspi/spi-listener.h : (NEW FILE)
7603 Added support for/use of spi-listener.h.
7605 C bindings now build successfully, with no warnings.
7606 * libspi/accessibleeventlistener.h : (NEW FILE)
7607 * libspi/accessibleeventlistener.c : (NEW FILE)
7608 * libspi/Makefile.am :
7609 Added new object type "AccessibleEventListener"
7610 which inherits from Listener, and allows attachment
7611 of in-process callbacks (so that a client with a listening
7612 object instance can add functionality to the local
7613 implementation, dynamically).
7615 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7617 * libspi/accessible.c:
7618 Add implementation for get_index_in_parent().
7620 Added #include of "spi-roletypes.h", and
7621 added enumerated type AccessibleCoordType.
7622 Added definition for KeystrokeListener (function type).
7625 * cspi/spi-statetypes.h :
7626 * cspi/spi-roletypes.h :
7628 Added these headers, used by spi.h.
7630 Added code (NOTE: not yet built by make).
7632 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7634 * libspi/Makefile.am: generate imodule
7635 at the same time as other idl compiler
7638 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7639 * libspi/registry.c :
7640 * libspi/application.c :
7641 * idl/Application.idl :
7642 Made registration with toolkit an application method,
7643 which is required since each app has its own toolkit static
7644 environment. Thus the bridge must register for
7645 notification of toolkit events from each application in turn.
7646 Toolkit notifications are now successfully registered for, and
7647 sent to the listening at client.
7649 Changed toolkit event string to use hyphens rather than underscores.
7650 * libspi/listener.c :
7651 listner now gives more info in debug mode - it reports the
7652 name of the event received, as well as the name of the source.
7655 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7657 * libspi/registry.c :
7658 added more implementation for toolkit events.
7659 Fixed bug such that toolkit event registrations
7660 (via atk) use the whole event name string, not
7662 Removed a useless call to an ORBit_ method.
7663 * at-bridge/bridge.c :
7664 Removed unused local sbuf[] variable.
7666 We now register for Gtk:GtkWidget:button_press_event
7667 events as well as "focus:" events.
7669 Add some more API from Registry.idl that was missing,
7670 for keystroke listening, keystroke and mouse event
7671 synthesis, and enumeration of accessible desktops.
7673 2001-08-16 Michael Meeks <michael@ximian.com>
7675 * configure.in: use AM_GLIB_GNU_GETTEXT.
7677 * Makefile.am (SUBDIRS): kill intl.
7679 2001-08-15 Michael Meeks <michael@ximian.com>
7681 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7683 * configure.in: upd.
7685 * configure.in: depend on a recent bonobo-activation that
7686 will find our server files ...
7688 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7690 * libspi/accessible.c : accessible_new() :
7691 Now we add the Component interface via bonobo_object_add_interface,
7692 if the contained AtkObject implements AtkComponent.
7693 * libspi/accessible.h : now include "component.h"
7694 * libspi/component.h :
7695 * libspi/component.c : added files - implementation of
7696 bonobo wrapper object for Accessibility/Component
7697 * libspi/listener.c :
7698 Added test code to check for Accessibility/Component:1.0
7699 interface and report whether it is implemented by the
7701 * libspi/registry.c :
7702 Now we check for not only the hash of the whole event
7703 string before relaying the event, we also check the
7704 "minor" event string (without the detail string).
7705 This allows event listeners to be registered against
7706 all events of a certain major+minor type, or just
7707 against a specific major+minor+detail type.
7708 * libspi/accessible.c :
7709 Added implementations for Accessible:get_parent(),
7710 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7711 * libspi/registry.c :
7712 * libspi/listener.c :
7713 Replaced calls to Accessibility_Accessible_ref() and
7714 Accessibility_Accessible_unref() with
7715 calls to bonobo_object_dup_ref() and
7716 bonobo_object_release_unref(), so that the CORBA object
7717 is dup-ed and released when relayed, as well as the bonobo object.
7719 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7721 * libspi/Makefile.am,
7722 registryd/Makefile.am,
7723 at-bridge/Makefile.am.
7724 test/Makefile.am, configure.in:
7725 reverse previous changes.
7727 * /idl/Image.idl: fix typo.
7729 * test/Makefile.am: put DEBUG_FLAGS
7732 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7734 * test/app.c: use argv[0] instead of
7737 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7739 * libspi/Makefile.am,
7740 registryd/Makefile.am,
7741 at-bridge/Makefile.am.
7742 test/Makefile.am, configure.in:
7743 cleanup, replace individual LIBS/CFLAGS with
7744 AT_COMMON_{LIBS|CFLAGS}.
7748 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7750 * configure.in, libspi/Makefile.am:
7751 Change IDL path checking for bonobo-activation
7754 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7756 * registryd/registry.c : separated event listeners to use
7757 3 separate lists (focus, window, toolkit). Began testing
7758 event names against hashes before relaying events.
7759 * test/at.c : now register for events of type "focus:"
7760 * test/app.c : now generate events of type "focus:"
7761 * at-bridge/bridge.c : register with ATK for focus events,
7762 and we now relay those focus events to any "focus:" listeners.
7763 This now works with the bridge as a GTK_MODULE when running test/at.
7764 * libspi/registry.c :
7765 * libspi/listener.c :
7766 now we ref event sources before propagating, and unref on receipt.
7767 * libspi/registry.c :
7768 some changes to internal structs, to support event typestring hashes.
7769 * text/app.c : changed the way the appname is generated.
7770 * cspi : added directory that will hold the C bindings library for
7771 non-CORBA/bonobo-savvy clients.
7772 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7773 * idl/Component.idl : added in parameter to indicate coord system for
7774 geometry-related calls.
7775 * idl/Hyperlink.idl : added readonly n_links attribute
7776 * idl/Image.idl : changed methods to attributes.
7778 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7780 * at-bridge/Makefile.am: link against
7781 ../libspi/libspi.la instead of -lspi.
7783 * at-spi/test/app.c: include
7784 bonobo-activation.h. Use a default appname
7785 if one is not provided.
7787 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7789 * idl/Registry.idl : temporarily changed register_Application
7790 to oneway, to work around issue with initial registration
7792 * idl/Application.idl : changed attribute "id" from readonly
7793 to read-write, since it needs to be assigned by Registry.
7794 * registryd/registryd.c : added call to set application id
7796 * registryd/registry.c : changed de-registration procedure to
7797 use CORBA_Object_hash() to find matching object ref in application
7798 lists and listener lists.
7799 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7800 began distinguishing between event types (work in progress).
7802 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7805 * libspi/application.c:
7806 Added implementations for get/set id, get_toolkitName,
7808 * registryd/registryd.c :
7812 Converted from use of OAF to bonobo-activation.
7813 * libspi/desktop.h :
7814 * libspi/desktop.c :
7816 Removed references to atksimpleobject, since base atkobject
7817 implementation now provides functionality we need.
7818 * libspi/atksimpleobject.c :
7819 * libspi/atksimpleobject.h :
7824 * at-bridge/Makefile.am
7825 * at-bridge/bridge.c
7828 Added directory "bridge" and contents, and added dependencies
7829 in Makefile.am/configure.in.
7830 Initial checkin of "at-bridge".
7831 This code is a GTK_MODULE which automatically registers
7832 GTK+ apps with the accessibility registry, using an object
7833 reference to the root ATK object.
7835 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7837 * po/Makefile.in.in: Remove. Again. If this
7838 doesn't get autogenerated - you need to update
7841 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7843 * po/Makefile.in.in: Add. Again.
7845 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7847 * libspi/accessible.c : added support for 'description' property.
7848 * libspi/accessible.c
7850 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7851 (since the two are now equivalent in libbonobo)
7859 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7860 Bonobo::Unknown as does Accessibility::Accessible.
7861 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7862 interface with Bonobo::Stream, since it was redundant with it.
7863 (The Stream returned by a StreamableContext object is expected to
7864 implement only a subset of Bonobo::Stream)
7866 2001-07-28 Anders Carlsson <andersca@gnome.org>
7868 * libspi/accessible.c (accessible_object_finalize): Change
7869 g_free to g_object_unref since the AtkObject is a GObject.
7871 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7873 * idl/Accessibility.idl: add new IDL files
7876 * idl/Action.idl: Definitions of actionable UI object
7877 * idl/Component.idl: Definitions of UI component geometry, etc.
7878 * idl/Hyperlink.idl: Defs of hyperlink behavior
7879 * idl/Image.idl: Def of accessible image
7880 * idl/Selection.idl: Definition of UI object with selectable children
7881 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7882 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7883 * idl/Text.idl: Interface defs for UI elements with complex textual content
7884 * idl/Value.idl: Definition of UI element that is a value controller or display
7886 2001-07-27 Michael Meeks <michael@ximian.com>
7888 * po/Makefile.in.in: remove autogenerated file from CVS.
7890 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7893 * idl/Registry.idl: include guard.
7895 * idl/Accessibility.idl: Add, and include all the other IDL
7898 * idl/*.idl: remove mass of pragmas etc.
7900 2001-07-26 Michael Meeks <michael@ximian.com>
7902 * registryd/Makefile.am (registryd_SOURCES): remove
7905 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7907 * libspi/.cvsignore, registryd/.cvsignore,
7908 test/.cvsignore: updated.
7910 * po/Makefile.in.in: gettext update.
7912 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7914 * initial CVS checkin
7916 2001-06-29 Michael Meeks <michael@ximian.com>
7918 * configure.in: add AM_CONFIG_HEADER to gen config.h