1 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
3 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
5 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
6 2006-07-12 Ariel Rios <arios@us.ibm.com>
10 * idl/Accessibility_Table.idl:
11 (getRowColumnExtentsAtIndex): New method for getting
12 selection status and extents in one API call.
15 (impl_getRowColumnExtentsAtIndex): Implementation of
17 (spi_table_class_init): Add above to epv.
21 (AccessibleTable_getRowColumnExtentsAtIndex): New
22 method, retrieves selection status and row/col extents
23 for a table cell in a single API call.
25 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
26 2006-07-12 Ariel Rios <arios@us.ibm.com>
28 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
31 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
32 New bindings for new methods defined in idl and libspi.
35 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
36 Added prototype functions.
39 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
41 (spi_text_class_init): Added previous methods.
44 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
45 * libspi/spi-private.h: Corrections.
47 2006-06-29 Bill Haneman <bill.haneman@sun.com>
49 Added Document interface (see bug #326520),
50 with work from Ariel Rios <arios@us.ibm.com>.
52 * configure.in: Bump to 1.7.8.
54 * libspi/Makefile.am: Added document.[ch] to sources
57 (SpiDocument, SpiDocumentClass):
58 New interface implementation.
59 (spi_document_get_type, spi_document_construct)
60 (spi_document_interface_new): New methods added.
61 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
62 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
63 Added macros for SpiDocument
67 (spi_document_interface_new): Get a
68 new document interface. New.
69 (get_document_from_servant): Get an AtkDocument from servant New.
70 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
71 Implementation of methods defined on idl.
72 (spi_document_class_init, spi_document_init)
73 Init methods for SpiDocument. new
75 * idl/Accessibility.idl: Added Accessibility_Document.idl.
77 * cspi/Makefile.am: Added spi_document.c to sources.
79 * cspi/spi_document.c:
80 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
81 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
82 (AccessibleDocument_getAttributes): Bindings for methods defined
85 * cspi/spi_accessible.c:
86 (Accessible_isDocument, Accessible_getDocument) New.
88 (Accessible_isDocument, Accessible_getDocument)
89 (AccessibleDocument_ref, AccessibleDocument_unref)
90 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
91 (AccessibleDocument_getAttributes): Bindings added.
93 * idl/Makefile.am: Added Accessibility_Document.idl to
96 2006-06-29 Bill Haneman <bill.haneman@sun.com>
98 * idl/Accessibility_Document.idl: New interface
99 for complex documents. First stage of fix for RFE
102 2006-06-27 Bill Haneman <bill.haneman@sun.com>
104 * libspi/streamablecontent.c:
105 (impl_content_stream_close):
106 Unref the GIOChannel on close.
108 2006-06-23 Bill Haneman <bill.haneman@sun.com>
110 * idl/Accessibility_Role.idl:
111 * libspi/accessiblerole.c:
112 * cspi/spi_accessible.c: Added ROLE_LINK,
113 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
114 Bug #345758 and bug #140635.
117 2006-06-22 Bill Haneman <bill.haneman@sun.com>
121 * idl/Accessibility_StreamableContent.idl:
122 Fix derivation of StreamableContent and ContentStream.
124 * cspi/spi_streamablecontent.c:
125 (accessible_content_stream_client_read):
126 Fix the datatype of the content stream used.
127 Interpret short reads as EOF, and stop trying to
128 read when we've fulfilled the request.
129 (AccessibleStreamableContent_getContentTypes):
130 Use g_strdup, not CORBA_string_dup, for the strings.
131 (AccessibleStreamableContent_open):
132 Correctly use the new getStream method for opening,
133 not the deprecated getContent method.
134 Use the object reference as the stream hash key.
135 Make note of the 'one stream per client per streamable'
136 limitation in the docs.
139 Add streamablecontent.h to the list of #includes.
141 * libspi/streamablecontent.c:
142 (impl_content_stream_read): Initialize the GError.
143 Allocate the incoming buffer if reading a fixed length of
144 data. Use g_memmove instead of memcpy.
145 (impl_accessibility_streamable_get_content_types):
146 Init typelist->_maximum. Only allocate the buffer if
147 there is a non-zero number of content types available.
148 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
150 * libspi/streamablecontent.h:
151 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
154 (SPI_IS_VALUE): Fix a typo in this macro too.
156 2006-06-16 Bill Haneman <bill.haneman@sun.com>
160 * idl/Accessibility_StreambleContent.idl:
161 Deprecate the Bonobo_Stream-based methods in favor of
162 a self-contained "ContentStream" interface. This should
163 allow us to remove BonoboStream dependencies entirely, since
164 there were no non-NIL implementations of the old methods anyway.
165 (ContentStream): New interface.
166 (ContentStream::SeekType): Enum.
167 (ContentStream::seek): New.
168 (ContentStream::read): New.
169 (ContentStream::close): New.
170 (getContent): Deprecate.
171 (getURI): New method, returns a URI pointing to the content, if available.
173 * libspi/streamablecontent.c:
174 (SpiContentStream): Internal object type definition used to
175 implement Accessibility::StreamableContent::ContentStream via
176 AtkStreamableContent's GIOChannel back-end.
177 (spi_content_stream_new, spi_content_stream_dispose): See above;
179 (impl_content_stream_seek, impl_content_stream_read):
180 (impl_content_stream_close): New, implementations of
182 (impl_accessibility_streamable_get_stream): Implement the
183 public method Accessibility::StreamableContent::getStream.
184 (impl_accessibility_streamable_get_uri): Implement the
185 public method Accessibility::StreamableContent::getURI.
187 * cspi/spi_streamablecontent.c:
188 (accessible_bonobo_stream_client_seek): Replaced by
189 (accessible_content_stream_client_seek).
190 (accessible_bonobo_stream_client_read): Replaced by
191 (accessible_content_stream_client_read).
192 (AccessibleStreamableContent_open):
193 (AccessibleStreamableContent_seek):
194 (AccessibleStreamableContent_read):
195 (AccessibleStreamableContent_close): Use the new 'getStream'
196 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
198 2006-06-15 Bill Haneman <bill.haneman@sun.com>
200 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
201 remove from other .idl files (except LoginHelper).
204 2006-06-14 Bill Haneman <bill.haneman@sun.com>
206 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
209 * configure.in, */Makefile.am: mingw patch, modified from
210 original patch by yselkowitz. Bug #314216.
212 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
213 for completeness. Bug #163111.
215 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
216 * libspi/util.c, registryd/registry-main.c:
217 Fix guint/char* casts.
218 Patch from chpe, bug #333883.
220 2006-06-12 Bill Haneman <bill.haneman@sun.com>
222 * configure.in: Require atk-1.12.0, to pick up
223 new API. (bug #344412).
225 * libspi-1.0-uninstalled.pc.in:
227 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
228 Fix for #341488 from Samual Thibault.
230 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
231 Thanks to Brian Pepple.
233 2006-06-09 Bill Haneman <bill.haneman@sun.com>
236 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
237 New, missing implementations of attribute reading methods
240 * cspi/spi.h, spi_value.c:
241 (AccessibleValue_getMinimumIncrement): New methods wrapping
242 the (formerly unimplemented) property from Value.idl.
245 (impl_get_minimumIncrement): Implementation for retrieving
246 the minimum valuator increment, (formerly unimplemented).
249 2006-06-09 Bill Haneman <bill.haneman@sun.com>
251 * idl/Accessibility_State.idl:
252 Added STATE_VISITED (bug #338369).
254 * cspi/spi_accessible.c:
255 (spi_state_to_corba) Fixed marshalling of new statetypes.
258 (spi_init_state_tables, impl_getStates):
259 Fixed conversion of new statetypes to/from ATK.
261 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
263 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
264 definitions/conversions for new roles from ATK.
266 * idl/Accessibility_Relation.idl:
268 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
269 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
270 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
272 * libspi/accessible.c: Fixed marshalling of new role types from
275 2006-04-17 Matthias Clasen <mclasen@redhat.com>
277 * revert my previous change
279 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
281 * configure.in: Remove obssolete no_NO locale
282 * po/no.po: And the translation.
284 2006-04-05 Matthias Clasen <mclasen@redhat.com>
286 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
287 memory-management error that caused crashes on x86_64.
290 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
292 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
294 2006-03-27 Bill Haneman <bill.haneman@sun.com>
296 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
297 to strip "cspi_*" from the symbol table.
299 * cspi/spi_streamablecontent.c:
300 (get_streams): Make this method static.
303 (_cspi_exception_throw): rename to cspi_exception_throw,
304 so we can strip it with the rest...
307 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
309 2006-03-27 Bill Haneman <bill.haneman@sun.com>
311 Add doxygen-generated IDL docs to tarball, and enable
312 doxygen during build/install when available. Bug #301345.
314 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
316 * docs/reference/Makefile.am: Add idl to SUBDIRS.
318 * docs/reference/idl/Makefile.am: Optionally use
319 doxygen to create docs.
321 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
323 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
325 2006-03-20 Bill Haneman <bill.haneman@sun.com>
328 (impl_get_selected_rows): Don't free the selection if it's
329 empty or has not been assigned; init it to NULL so you can tell.
330 Also, allow for zero selected rows.
331 (impl_getSelectedColumns): Ditto. Bug #319088.
333 2006-03-11 Vincent Untz <vuntz@gnome.org>
335 Leak fix for bug #334217.
337 * libspi/application.c: spi_application_toolkit_event_listener():
338 don't duplicate the string we pass as an argument to
339 spi_init_any_nil() since spi_init_any_nil() already does it
340 * registryd/deviceeventcontroller.c:
341 (spi_dec_button_update_and_emit): ditto
342 (spi_dec_mouse_check): ditto
343 (spi_dec_emit_modifier_event): ditto
344 (spi_device_event_controller_forward_mouse): ditto
345 * registryd/registry.c:
346 (desktop_add_application): ditto
347 (desktop_remove_application): ditto
349 2006-02-20 Bill Haneman <billh@gnome.org>
351 * configure.in: Rev to 1.7.6.
353 Leak fixes for bug #331924.
355 * atk-bridge/bridge.c:
356 (spi_atk_bridge_init_base): Don't dup the string, it's already
357 been dup-ed. Fixes a leak.
358 (spi_atk_emit_eventv): Move the CORBA_free call here,
359 instead of spi_atk_state_event_listener; fixes another leak.
360 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
361 notifying the registry; fixes another leak.
363 * registryd/registry.c:
364 (registry_flush_event_queue): Free the CORBA_any when
365 flushing the event, not just the string. Fixes another leak.
366 (registry_queue_event): Free the CORBA_any when dropping
367 events on the floor; fixes another leak.
370 (spi_init_any_object, spi_init_any_nil):
371 Always set _release to TRUE. Fixes another leak.
373 2006-02-20 Bill Haneman <billh@gnome.org>
375 * configure.in: Rev to 1.7.5.
376 Reinstate localization of this module. Thanks for Rodney
377 Dawes for fixing my patch.
379 * registryd/Makefile.am: Remove Accessibility_Registry.server
380 from dist, since it needs to be re-created at configure time.
383 2006-01-31 Bill Haneman <billh@gnome.org>
385 * configure.in: Rev to 1.7.4 (to include build fix below).
387 * idl/Makefile.am: Include Selector.idl in dist.
391 (cspi_internal_event_get_object): Handle case where
392 "object" isn't present, i.e. CORBA_TC_Object doesn't match
393 the EventDetails data.
394 (cspi_internal_event_get_text): Handle NULL string.
395 (cspi_internal_event_get_rect): Handle missing/empty rect
396 data, Accessibility_TC_RectBounds doesn't match any_data.
398 2006-01-30 Bill Haneman <billh@gnome.org>
402 * atk-bridge/bridge.c:
403 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
404 interface and use that when instantiating a new source
405 accessible. Better fix for bug #321814.
407 2006-01-27 Bill Haneman <billh@gnome.org>
409 * idl/Accessibility_Selector.idl: Added to the cvs repository.
411 * configure.in: Revved to 1.7.3.
413 2006-01-17 Bill Haneman <billh@gnome.org>
415 * configure.in: Revved to 1.7.2, re-dist to include docs.
417 2006-01-09 Bill Haneman <billh@gnome.org>
419 * configure.in: Removed po/Makefile.in inclusion, we do not need
422 * idl/Accessibility.idl: Improved documentation here, and for all
423 IDL in the 'GNOME::Accessibility' namespace.
425 * idl/Accessibility_Accessible.idl:
426 (LOCALE_TYPE): Added enum.
427 (AttributeSet): New, for returning multiple name/value attribute pairs.
428 (RoleSet): New, sequence of Roles, to be used in upcoming
430 (getAttributes): New API, allows retrieval of name/value pair
431 annotations for all kinds of Accessible objects. C.f.
432 Text:getAttributes, which is only for typographic/textual/semantic tags in
434 (getApplication): New, retrieves the host/containing Application
435 instance for an object (without having to walk up the whole tree).
437 * idl/Accessibility_Component.idl:
438 (getAlpha): New method, returns the alpha blending (aka 'opacity')
439 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
442 * idl/Accessibility_Event.idl:
443 (EventDetails): New struct definition, for encapsulating
444 commonly-queried information about emitted events. The use of
445 this structure in emitted events (in the 'any' member of
446 Accessibility_Event) should greatly reduce the number of
447 client-server roundtrips necessary.
449 * idl/Accessibility_Image.idl:
450 (imageLocale): New, a readonly attribute indicating the POSIX
451 LC_MESSAGES locale of the image and associated Alt/descriptive
454 * idl/Accessibility_Relation.idl:
455 (RELATION_PARENT_WINDOW_OF): Include, as complement to
458 * idl/Accessibility_Role.idl:
459 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
460 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
461 complex document and form support.
463 * idl/Accessibility_State.idl:
464 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
465 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
466 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
467 for support of complex documents and forms.
469 * idl/Accessibility_StreamableContent.idl:
470 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
471 allow old bonobo-stream interfaces to be deprecated in the next
474 * idl/Accessibility_Text.idl:
475 (getAttributeValue): New method, allows query-by-name of single
478 * libspi/accessible.c:
479 Added support for new roles. Implemented new methods
480 (impl_accessibility_accessible_get_application): New
481 (impl_accessibility_accessible_get_attributes): New
483 * libspi/component.c:
484 (impl_accessibility_component_get_alpha): New.
487 (impl_accessibility_image_get_locale): New.
489 * libspi/relation.c: Added support for new relation type.
491 * libspi/stateset.c: Added support for new state types.
494 (impl_getAttributeValue): New.
497 New prototypes for private methods
499 spi_init_any_object, spi_init_any_string,
502 * libspi/spi_event.c:
503 Use EventDetails in the event emission methods.
505 * cspi/spi-private.h:
506 (cspi_role_from_spi_role): Expose this adapter method, since
507 we need it in the bridge (see below).
510 (AccessibleEvent_getSourceName):
511 (AccessibleEvent_getSourceRole):
512 (AccessibleEvent_getSourceApplication):
513 (AccessibleEvent_getSourceDetails):
514 New methods for interrogating/demarshalling
515 event details (i.e. source's accessible name, role,
518 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
519 Make use of the new EventDetails struct in events, if present.
520 (AccessibleEvent_getSourceName)
521 (AccessibleEvent_getSourceRole)
522 (AccessibleEvent_getSourceApplication)
523 (AccessibleEvent_getSourceDetails): Implement the newly exposed
525 (Accessible_getAttributes): New, wraps
526 Accessibility_Accessible_getAttributes.
527 (Accessible_getHostApplication): New, wraps
528 Accessibility_Accessible_getApplication.
531 (AccessibleImage_getImageLocale): New wrapper for
532 Accessibility_Image_get_imageLocale.
534 * cspi/spi_component.c:
535 (AccessibleComponent_getAlpha): New wrapper for
536 Accessibility_Component_getAlpha.
538 * atk-bridge/bridge.c:
539 Use new prototyped for init_any methods.
540 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
541 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
542 (spi_atk_bridge_init_base): Wrappers
543 for spi_init_any_* methods, due to refactor; include extended
544 information in the Accessibility_EventDetails struct, for instance
545 accessible-name, Role, and containing Application.
547 * registryd/registry.c:
548 Use new event emission (with EventDetails).
550 * registryd/deviceeventcontroller.c:
551 Use new event emission (with EventDetails).
553 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
555 * configure.in: Generate po/Makefile.in
556 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
557 * cspi/spi_streamablecontent.c:
558 (accessible_bonobo_stream_client_seek),
559 (AccessibleStreamableContent_seek): Remove unused vars.
560 * libspi/application.c: Missing header.
561 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
562 * login-helper/login-helper.c: (login_helper_finalize),
563 (login_helper_init): Remove unused stuff
564 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
565 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
566 and surround some with #ifdef GRAB_BUTTON.
567 * test/event-listener-test.c: (main), (report_event),
568 (report_caret_event), (report_detail_event),
569 (report_detail1_event), (report_bounds_event), (report_text_event),
570 (report_text_selection_event),
571 (report_active_descendant_changed_event),
572 (report_children_changed_event), (report_name_changed_event),
573 (report_description_changed_event), (report_parent_changed_event),
574 (report_window_event), (report_table_summary_event),
575 (report_table_header_event), (report_table_caption_event),
576 (report_table_row_description_event),
577 (report_table_column_description_event), (timing_test_event):
578 Remove a bunch of unused variables and fix a slew of format specifiers
579 * test/key-listener-test.c: (report_all_key_event): Format specifier
580 * test/keypad-test.c: (print_key_event): Same
581 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
583 * test/screen-review-test.c: (main), (print_chunk_debug),
584 (review_buffer_get_text_chunk), (debug_chunk_list),
585 (string_guess_clip), (text_chunk_get_clipped_string),
586 (text_chunk_list_to_string), (get_screen_review_line_at):
587 Remove unused variables and fix format specifiers.
588 * test/simple-at.c: (report_text_event): Format specifier fix.
589 * test/stress-test.c: (main): Remove unused var.
591 2005-12-29 Abel Cheung <maddog@linuxhall.org>
593 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
594 (yes I know that's useless)
596 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
598 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
600 2005-11-17 Michael Meeks <michael.meeks@novell.com>
602 * atk-bridge/bridge.c (spi_atk_emit_eventv):
603 urgh-fix embarassing typo.
605 2005-11-16 Michael Meeks <michael.meeks@novell.com>
607 * atk-bridge/bridge.c (spi_atk_emit_eventv):
608 do a faster, less problematic _unref call on this local
609 object, rather than a slower (potentially cross-thread
610 complicated) CORBA call.
612 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
614 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
615 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
616 * registryd/deviceeventcontroller.c:
617 (spi_controller_notify_mouselisteners),
618 (impl_generate_keyboard_event):
619 * test/screen-review-test.c: (chunk_bounds_within):
620 * test/test-simple.c: (test_desktop): Remove some unused code
621 and fix compiler warnings. Closes bug #320049.
623 2005-10-27 Bill Haneman <bill.haneman@sun.com>
625 * registryd/deviceeventcontroller.c:
626 (spi_controller_notify_keylisteners): Check
627 to make sure the event listener has requested 'preemptive'
628 status before pre-empting an event.
630 2005-08-29 Bill Haneman <bill.haneman@sun.com>
632 * configure.in, README, NEWS: Release 1.6.5.
634 2005-07-25 Matthias Clasen <mclasen@redhat.com>
636 * test/window-listener-test.c: Fix a printf
637 format error. (#169453)
639 2005-07-15 Bill Haneman <bill.haneman@sun.com>
641 * tests/test-simple.c:
642 (key_listener_cb): Ensure that the keystring is dup'ed instead of
643 relying on the old string from the key event hanging around after
644 the event handler returns. Fixes broken 'make check'.
646 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
648 * Added Marathi (mr_IN) translations.
650 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
652 * cspi/bonobo/cspi-bonobo-listener.c:
653 (cspi_event_list_remove_by_cb): Fix the build.
655 2005-05-26 Michael Meeks <michael.meeks@novell.com>
657 * cspi/bonobo/cspi-bonobo-listener.c
658 (cspi_event_list_remove_by_cb): actually filter by callback.
660 2005-05-25 Bill Haneman <bill.haneman@sun.com>
662 * registryd/registry.c (remove_listener_cb):
663 Make deregistration filter rules match the event emission rules.
665 2005-05-25 Michael Meeks <michael.meeks@novell.com>
667 * registryd/registry.c (remove_listener_cb),
668 (impl_accessibility_registry_deregister_global_event_listener),
669 (impl_accessibility_registry_deregister_global_event_listener_all):
670 pass a closure to the remove callback to filter listeners more
671 accurately on remove.
673 2005-04-05 Bill Haneman <bill.haneman@sun.com>
675 * configure.in: Revved to 1.6.4.
676 Remember to put quotes around XEVIE_LIBS assignment.
677 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
680 * tests/event-listener-test.c: Tweaked the tests - more detail
681 from caret events, and some interrogation of AccessibleText APIs.
682 Commented-out the bounds-changed events by default, since they can
685 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
687 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
688 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
689 Same here. Closes bug #167806
691 2005-04-05 Bill Haneman <bill.haneman@sun.com>
693 * atk-bridge/bridge.c:
694 (spi_atk_bridge_signal_listener):
695 Free the any._value if any._release is TRUE,
696 since the ORB won't do it for us in this case
697 [because this method is not a skel].
700 2005-03-30 Steve Murphy <murf@e-tools.com>
702 * configure.in: Added "rw" to ALL_LINGUAS.
704 2005-03-29 Bill Haneman <bill.haneman@sun.com>
706 * configure.in: Improved check for HAVE_XEVIE, to detect
707 presence on XOrg, where -lXevie is a separate library.
709 2005-03-08 Bill Haneman <bill.haneman@sun.com>
711 * configure.in, NEWS, README: Revved to 1.6.3.
713 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
715 * configure.in: Added "xh" to ALL_LINGUAS.
717 2005-02-07 Bill Haneman <bill.haneman@sun.com>
719 * atk-bridge/bridge.c:
720 (atk_bridge_init): Added missing NULL in g_strconcat(),
721 also check for symlink before logging to
722 insecure directory. Thanks to meissner@suse.de.
724 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
726 * tests/login-helper-server-test.c: Add return call to main
727 function. Patch from Chris Lahey. Fixes bug #165129.
729 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
731 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
733 2004-12-09 Bill Haneman <billh@gnome.org>
735 * registryd/registry-main.c:
736 Added #define <string.h> for strrchr. (bug 160862).
737 Thanks to Vincent Berger for catching.
739 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
741 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
742 restart registry process if the registry process is found to have died
743 and the current process is exiting.
744 (spi_atk_bridge_exit_func): Do not attempt to deregister the
745 application if the registry process has died.
746 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
747 does not return a registry object.
748 (spi_atk_tidy_windows): Give up if the registry process has died.
750 This fixes problems with hangs and crashes when logging out.
752 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
754 * registryd/desktop.c: Add checking that we are not exiting before
755 calling spi_desktop_remove_application in
756 abnormal_application_termination. Fix for bug #152147.
758 2004-12-02 Bill Haneman <billh@gnome.org>
760 * configure.in, NEWS, README: Revved to 1.6.1.
762 Patch from Padraig O'Briain <padraig.obriain@sun.com>
763 * atk-bridge/bridge.c:
764 (atk_bridge_init): Save the pid when we start, to detect forks.
765 (spi_atk_bridge_exit_func): Don't call the cleanup routines
766 if we're in a forked pid.
768 2004-10-09 Bill Haneman <billh@gnome.org>
770 * idl/Accessibility_LoginHelper.idl:
771 Improved inline documentation.
773 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
775 * configure.in: Added gl (Galician) to ALL_LINGUAS
777 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
779 * libspi/accessible.c:
780 (impl_accessibility_accessible_get_role_name),
781 (impl_accessibility_accessible_get_local_role_name):
783 * libspi/component.c:
784 (impl_accessibility_component_get_accessible_at_point):
786 * libspi/eventlistener.c: (spi_event_listener_new):
788 * libspi/stateset.c: (impl_compare): More of the same
789 * libspi/table.c: (impl_getRowDescription): Again.
790 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
791 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
792 (impl_generate_keyboard_event): Same.
793 * registryd/registry-main.c: (main): Same
794 * test/event-listener-test.c: (test_exit): Same
795 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
796 * test/keysynth-test.c: (test_key_synthesis): Same
797 * test/login-helper-server-test.c: (main): Fix warning.
798 * test/screen-review-test.c: (test_exit): Fix include.
799 * test/simple-at.c: (simple_at_exit), (_festival_init):
802 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
804 * configure.in, NEWS, README: Revved to 1.6.0.
806 2004-09-12 Bill Haneman <bill.haneman@sun.com>
808 * configure.in: Rev and re-dist, since the 1.5.4 tarball
809 was missing the HTML docs.
811 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
813 * configure.in: only cleanups:
814 - better looking PKG_CHECK_MODULES() output,
816 - declare in one common place required versions of other tools using
819 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
821 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
822 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
823 required ATK version accordingly.
825 2004-09-03 Bill Haneman <bill.haneman@sun.com>
827 * cspi/bonobo/cspi-bonobo.c:
828 (cspi_display_name): Fix C99ism.
829 * atk-bridge/bridge.c:
830 (spi_display_name): Fix C99ism.
831 Patch from Jens Granseuer, jensgr@gmx.net.
833 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
835 * configure.in: Added "or" to ALL_LINGUAS.
837 2004-08-20 Bill Haneman <bill.haneman@sun.com>
839 * configure.in, NEWS, README: Revved to 1.5.4.
841 * registryd/registry-main.c:
842 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
845 * cspi/bonobo/cspi-bonobo.c:
846 (cspi_display_name): New convenience method, gets DISPLAY with
847 screen number stripped, if AT_SPI_DISPLAY isn't already set.
848 (cspi_init): Set the activation env value above before getting
851 * atk-bridge/bridge.c:
852 (spi_display_name): Create the AT_SPI_DISPLAY activation
853 environment for an app, based on the DISPLAY environment with the
854 screen number stripped off.
855 (atk_bridge_init): Allow redirection of error messages to a log.
856 (spi_atk_bridge_get_registry): Call
857 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
859 Fixes for bugs #149962, #136986, #144086.
861 2004-08-16 Christian Rose <menthos@menthos.com>
863 * configure.in: Added "bs" to ALL_LINGUAS.
865 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
867 * configure.in: Added nb to ALL_LINGUAS.
869 2004-09-03 Bill Haneman <bill.haneman@sun.com>
872 (SPI_init): Return error code '2' if the activated
873 registry cannot be pinged. Fixes bug #147648.
875 2004-07-28 Bill Haneman <bill.haneman@sun.com>
877 * registryd/deviceeventcontroller.c:
878 (spi_dec_init_mouse_listener): Don't do XGrabButton,
879 rely on timer-poll instead, to avoid conflict with
882 2004-07-20 Bill Haneman <bill.haneman@sun.com>
884 * configure.in: Revved to 1.5.3.
886 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
888 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
890 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
892 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
894 2004-06-11 Bill Haneman <bill.haneman@sun.com>
896 * atk-bridge/bridge.c:
897 (spi_atk_bridge_do_registration):
898 Register with ATK for AtkComponent:bounds-changed events.
899 (api_atk_bridge_signal_listener):
900 Marshal the AtkRectangle info into the event notification
901 for object:bounds-changed events.
904 (spi_init_any_rect): New method, inits a corba struct of
905 type Accessibility_BoundingBox from an AtkRectangle.
907 * libspi/spi-private.h: Declared spi_init_any_rect (above).
910 (SPIRect): New struct definition.
911 (SPI_freeRect): New declaration.
912 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
915 (AccessibleBoundsChangedEvent_getNewBounds): New method,
916 implemented. Gets the bounding box data from the CORBA_any
917 associated with a bounds-changed event notification.
918 (cspi_internal_event_get_rect): New, used internally by above method.
921 (SPI_freeRect): Implemented this new method, for freeing
924 * test/event-listener-test.c:
925 (main, report_bounds_event):
926 Added a test for object:bounds-changed events.
928 2004-06-01 Bill Haneman <bill.haneman@sun.com>
930 * test/login-helper-server-test.c:
931 (main): Fix C99-ism. Thanks to Jens Granseuer.
933 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
935 * libloginhelper-1.0.pc.in:
936 * idl/Accessibility_LoginHelper.idl:
937 * login-helper/Makefile.am:
938 * login-helper/login-helper.[ch]:
939 * test/login-helper-client-test.c:
940 * test/login-helper-server-test.c: Added files missing from CVS.
941 Files obtained from at-spi-1.5.2 tarball.
943 2004-05-27 Bill Haneman <bill.haneman@sun.com>
945 * configure.in: Create login-helper/Makefile.
946 Incremented micro version.
948 * Makefile.am: Add login-helper subdir and pkgconfig data.
950 * login-helper: New subdir.
952 * libloginhelper-1.0.pc.in: New.
954 * idl/Accessibility_LoginHelper.idl: New file, defines
955 interface whereby authentication clients can identify agents which
956 need access to services during the login process, e.g. screen lock
959 * login-helper/Makefile.am : New.
961 * login-helper/login-helper.[ch] : New, implementation of
962 a LoginHelper base class. Services needing LoginHelper can subclass.
964 * test/Makefile.am : Added test for login-helper, client and
967 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
968 Use proper prefix in #include files.
970 * test/login-helper-client-test.c: New.
972 * test/login-helper-server-test.c: New.
974 2004-05-27 Alexander Shopov <ash@contact.bg>
976 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
978 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
980 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
981 is positive. This should make it easier to detect inapprorpiate unref
984 2004-05-11 James Henstridge <james@daa.com.au>
986 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
987 no-op and deprecated.
989 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
991 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
993 2004-04-28 Bill Haneman <billh@gnome.org>
995 * Makefile.am: Added --enable-gtk-doc to
996 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
998 2004-04-19 Bill Haneman <billh@gnome.org>
1000 * configure.in: Revved to 1.5.1.
1002 * registryd/deviceeventcontroller.c:
1004 (DEControllerPrivateData): Added fields for
1005 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1006 (spi_dec_replace_map_keysym): New internal utility for
1007 replacing a keysym in the keymap - used to allow
1008 synthesis of individual characters which aren't in the
1010 (spi_dec_reset_reserved): New; resets the changed keysym value
1012 (keycode_for_keysym): We now try to deal with failed
1013 XKeysymToKeycode requests by changing a keymap value
1014 and returning a reserved keycode. We now take
1015 a DEController pointer as first arg.
1016 (spi_controller_register_with_devices): Call XkbGetMap with
1017 the XkbKeySymsMask. Find the highest keycode in the current
1018 keymap which doesn't have any grabs, and mark that one for
1019 temporary re-mapping when out-of-range KeySyms are synthesized.
1020 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1023 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1025 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1027 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1029 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1031 2004-03-24 Bill Haneman <billh@gnome.org>
1034 (AccessibleTable_addRowSelection),
1035 (AccessibleTable_addColumnSelection),
1036 (AccessibleTable_removeRowSelection),
1037 (AccessibleTable_removeColumnSelection):
1038 Add declarations for spi wrappers which were
1039 inadvertantly omitted. Fixes bug #133413.
1042 Revved to 1.5.0 (unstable series for GNOME 2.7).
1044 2004-03-24 Bill Haneman <billh@gnome.org>
1046 * atk-bridge/bridge.c:
1047 Bracketed some debug output in
1048 conditionals, to avoid printing it in normal use.
1051 * libspi/hyperlink.c:
1052 Don't cast 'object' to ATK_OBJECT when constructing
1053 an AtkAction interface for a hyperlink.
1054 See discussion in bug #120659.
1056 * test/key-listener-test.c:
1057 (report_all_key_event): Send output to stderr,
1058 not stdout, for consistency with the rest of the test callbacks.
1061 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1062 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1063 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1064 try incrementing the revision AFTER doing a dist, at least
1067 2004-03-22 Bill Haneman <billh@gnome.org>
1069 * configure.in: Revved to 1.4.0, libtool 9.14.9
1071 2004-03-17 Laszlo Peter <laca@sun.com>
1073 * libspi-1.0-uninstalled.pc.in: add idldir
1075 * cspi-1.0-uninstalled.pc.in: add idldir
1077 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1079 * configure.in: Added "en_GB" to ALL_LINGUAS
1081 2004-03-15 Bill Haneman <billh@gnome.org>
1083 * configure.in: Revved to 1.3.16,
1086 2004-03-15 Laszlo Peter <laca@sun.com>
1088 * libspi-1.0-uninstalled.pc.in: new file
1090 * cspi-1.0-uninstalled.pc.in: new file
1092 * configure.in: add the new pc files to AC_OUTPUT
1094 * Makefile.am: add the new pc files to EXTRA_DIST
1096 2004-03-12 Bill Haneman <billh@gnome.org>
1098 * atk-bridge/bridge.c:
1099 (spi_atk_bridge_key_listener):
1100 Make sure to return consumed=FALSE if snoop
1101 event is not dispatched to listener.
1104 2004-03-01 Bill Haneman <billh@gnome.org>
1106 * configure.in: Revved to 1.3.15,
1109 2004-03-07 Danilo Segan <dsegan@gmx.net>
1111 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1113 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1115 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1117 2004-03-01 Bill Haneman <billh@gnome.org>
1119 * configure.in: Revved to 1.3.14.
1122 (SPI_exit): Removed "bye-bye" exit message.
1123 Moved "leak" report to happen before the
1124 iteration over the leaked refs list.
1125 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1127 2004-02-24 Bill Haneman <billh@gnome.org>
1129 * configure.in: Revved to 1.3.13.
1131 * docs/reference/cspi/Makefile.am:
1132 Correct typo that was breaking the docs build.
1134 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1136 * autogen.sh: Require version 1.7 of automake.
1138 * configure.in: call GTK_DOC_CHECK([1.0])
1140 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1142 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1144 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1146 * test/Makefile.am: Remove use of CFLAGS.
1148 This fixes bug #132987.
1150 2004-02-11 Bill Haneman <billh@gnome.org>
1152 * reverted most of Tomasz' patch below, since it was breaking
1153 builds (see bug #134058).
1155 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1157 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1158 correct pass "make dist" (empty .. because seems no sach types in
1159 header files with gtk-doc markups).
1160 * docs/reference/cspi/Makefile.am, configure.in:
1161 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1162 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1163 * Makefile.am: added:
1164 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1165 for force correct pass generate documentation on "make distcheck".
1166 * libspi/Makefile.am: fixes for automake >= 1.6.
1167 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1168 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1171 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1173 * docs/reference/cspi/Makefile.am (install-data-local): Install
1174 index.sgml since the doc autobuilder on widget.gnome.org looks for
1177 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1179 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1182 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1184 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1186 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1188 * test/simple-at.c: Fixed null string problems that cause core
1189 dumping problems on Solaris.
1191 2004-01-12 Bill Haneman <billh@gnome.org>
1193 * configure.in: Incremented version to 1.3.11.
1195 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1197 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1198 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1201 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1203 * configure.in: Added "fa" to ALL_LINGUAS.
1205 2003-12-20 Arafat Medini <lumina@silverpen.de>
1207 * configure.in: Added "ar" to ALL_LINGUAS
1209 2003-12-16 Bill Haneman <billh@gnome.org>
1211 * registryd/registry-main.c:
1213 Set the reg_env DISPLAY variable before registering the
1214 activated registry service. Fixes bug #129479.
1216 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1218 * configure.in: Added "id" in ALL_LINGUAS
1219 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1221 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1223 * registryd/deviceeventcontroller.c (global_filter_fn):
1224 When an event is consumed discard any XEvents were added to
1225 the queue while dealing with the the event. This can happen if
1226 processing of the event takes a long time. Call XUngrabKeyboard
1227 if an event was discarded. This fixes bug $124837.
1228 Only call wait_for_release_event for a KeyPress.
1229 Use local variable display instead of spi_get_display().
1230 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1233 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1235 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1236 Allow for mask to contain values other than NumLock mask.
1239 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1241 * registryd/devieceventcontroller.c:
1242 (wait_for_release_event): Change first parameter from GdkEvent to
1244 (global_filter_fn); Correct call to wait_for_release_event.
1248 2003-12-08 Bill Haneman <billh@gnome.org>
1252 * registryd/ucs2keysym.c: New file.
1254 * registryd/deviceeventcontroller.c:
1255 (dec_keysym_for_unichar): Remove old partial implementation and
1256 replace with call to ucs2keysym(), which is much more complete.
1257 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1262 2003-12-05 Bill Haneman <billh@gnome.org>
1264 * configure.in: Version 1.3.9.
1266 * docs/reference/cspi/tmpl/spi_registry.sgml:
1267 Added reference to libspi/keymasks.h to the
1268 description of Registry queries: AccessibleKeyMaskType.
1271 2003-12-04 Bill Haneman <billh@gnome.org>
1273 Fix for bug #121974.
1275 * idl/Accessibility_Application.idl:
1276 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1277 setlocale's LC_TYPEs.
1278 (Accessibility::Application::getLocale): New method.
1279 Allows clients to query the locale, by type, of an app.
1282 * cspi/spi_application.c:
1283 (AccessibleApplication_getLocale): New method, wraps IDL above.
1285 * libspi/application.c:
1286 (spi_application_class_init): Init epv entry for getLocale.
1287 (impl_accessibility_application_get_locale): Impl for above.
1289 * test/test-simple.c:
1290 (test_application): Added assertion for getLocale, i.e.
1291 that the string from AccessibleApplication_getLocale (app, type)
1292 is the same as that from setlocale (type, NULL);
1294 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1296 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1297 the keyboard on a timeout intil the key state goes from pressed to
1298 released. Fixes bug #111429.
1300 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1302 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1303 root object so that it is present when a context menu in an
1304 out-of-process applet is popped up.
1305 (spi_atk_bridge_do_registration): Create acceessible application root
1306 object only if it does not exist.
1308 This fixes bug #125834.
1310 2003-12-01 Bill Haneman <billh@gnome.org>
1312 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1315 Added enum for AccessibleStreamableContentSeekType.
1316 (AccessibleStreamableContent_freeContentTypeList): New.
1318 * cspi/spi_streamablecontent.c:
1319 (accessible_bonobo_stream_client_seek): New private method.
1320 (AccessibleStreamableContent_seek): Implemented this method,
1321 using Bonobo_Stream_seek.
1322 (AccessibleStreamableContent_freeContentTypeList): New method
1323 for freeing the return value from
1324 AccessibleStreamableContent_getContentTypes.
1325 (stream_cache_item_free): Replaces stream_release; stop leaks.
1326 (stream_release): removed.
1327 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1328 free the memory properly.
1330 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1332 Fix for bug #116009.
1334 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1336 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1338 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1340 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1342 2003-12-01 Bill Haneman <billh@gnome.org>
1344 Fix for bug/rfe #127463.
1346 * idl/Accessibility_Accessible.idl:
1347 (getLocalizedRoleName): New.
1348 (unimplemented4): Removed (replaced by above).
1350 * libspi/accessible.c:
1351 (impl_accessibility_accessible_get_local_role_name): New.
1352 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1356 (Accessible_getLocalizedRoleName): New.
1358 * cspi/spi_accessible.c:
1359 (Accessible_getLocalizedRoleName): New.
1361 2003-12-01 Bill Haneman <billh@gnome.org>
1363 Fix for bug #118581.
1364 * idl/Accessibility_Text.idl:
1365 (getDefaultAttributes): New.
1366 (unimplemented4): Removed (replaced by above method).
1369 (impl_getDefaultAttributes): New method.
1370 (spi_text_class_init):
1371 initialize the get_default_attributes slot in the epv.
1374 (AccessibleText_getDefaultAttributes): New prototype.
1377 (AccessibleText_getDefaultAttributes): New method.
1379 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1381 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1382 write beyond the end of the table. Fixes bug #120473.
1384 2003-09-30 Christian Rose <menthos@menthos.com>
1386 * configure.in: Added "eu" to ALL_LINGUAS.
1388 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1390 * configure.in: ALL_LINGUAS: Added no.
1392 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1394 * configure.in: Added lt to ALL_LINGUAS.
1396 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1398 * atk-bridge/bridge.c:
1399 (atk_bridge_init): Register event listeners always even for
1400 out-of-process applet.
1401 (spi_atk_bridge_toplevel_added): Remove call to
1402 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1403 (spi_atk_bridge_toplevelk_removed): Remove call to
1404 spi_atk_deregister_event_listenersa as the listeners are now always
1406 (spi_atk_bridge_register_application): Remove call to
1407 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1409 This fixes bug #120991.
1411 * libspi/table.c (impl_getColumnDescription): Correct typo,
1412 pointed out by Bolian.Yin@sun.com.
1414 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1416 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1418 2003-09-08 Bill Haneman <billh@gnome.org>
1420 * configure.in: Revved to 1.3.7.
1422 This is the GNOME 2.4.0 release of at-spi.
1424 * docs/reference/cspi/Makefile.am:
1425 Removed spurious inclusion of 'index.sgml' in the
1426 html directory; this was breaking make distcheck and
1427 also some other build environments.
1429 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1431 * registryd/registry.[ch}:
1432 Add queue_handler_id and focus_object to SpiRegistry data structure.
1433 (registry_flush_event_queue): If event being discarded is
1434 "state-change:focused" store object as focus_object.
1435 (registry_start_queue): Remove queue handler and focus object
1437 (registry_discard_event): New function which discards a focus event
1438 if we had stored focus object in the registry.
1439 (registry_queue_event): Add new check that is_queueing is set as this
1440 function is reentrant.
1441 (registry_filer_event): Add call to registry_discard_event.
1443 This resolves issues raised in bug #108664.
1445 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1447 * configure.in: Added "bn" to ALL_LINGUAS.
1449 2003-09-04 Bill Haneman <billh@gnome.org>
1451 * cspi/spi_event.c: Documentation improvements for
1452 (SPI_registerAccessibleKeylistener).
1454 * docs/reference/tmpl/spi_registry.sgml:
1455 Documentation improvements for SpiAccessibleKeylistenerCB.
1457 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1459 * configure.in: Added "ro" to ALL_LINGUAS.
1462 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1464 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1465 not decremented to zero. Fixes bug #120725.
1467 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1469 * configure.in: Added "ja" to ALL_LINGUAS.
1471 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1473 * configure.in: Added "is" to ALL_LINGUAS.
1475 2003-08-22 Christian Rose <menthos@menthos.com>
1477 * configure.in: Added "nl" to ALL_LINGUAS.
1479 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1481 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1482 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1484 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1486 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1487 type for unspecified exception.
1488 * cspi_streamablecontect): Add include of string.h for memcpy.
1489 (stream_release): Correct call to bonobo_object_release_unref
1490 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1491 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1492 argument of _cspi_expection_throw.
1493 * libspi/hyperlink.c: Add include of libspi/action.h:
1494 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1495 * libspi/streamablecontent.c: add include of libspi/component.h.
1496 * regisrtyd/deviceeventcontroller.c:
1497 (spi_dec_translate_mask): Removed unused variable priv.
1498 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1499 * registryd/registry.c:
1500 (registry_filter_event): Remove unused variable queue_is-empty.
1501 (impl_registry_notify_event): Use correct modifier in fprintf call.
1503 This fixes compiler warnings reported in bug #120220.
1505 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1507 * registryd/registryd.c: Remove this file.
1509 2003-08-17 Sanlig Badral <badral@openmn.org>
1511 * configure.in: Added mn to ALL_LINGUAS.
1513 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1515 * configure.in: Added et to ALL_LINGUAS.
1517 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1519 * test/event-listener-test.c: Change active-descendant to
1520 active-descendant-changed.
1522 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1524 * configure.in: Added "fi" in ALL_LINGUAS.
1526 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1528 * configure.in: Added "hi" in ALL_LINGUAS.
1530 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1532 * configure.in: Revved to 1.3.6.
1536 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1538 * registryd/deviceeventcontroller.c
1539 (spi_device_event_controller_object_finalize): Fix typo in previous
1542 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1544 * registryd/deviceeventcontroller.c
1545 (spi_device_event_controller_object_finalize): Fix build on
1546 systems without XEvIE.
1548 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1550 * acconfig.h, configure.in, registryd/Makefile.am,
1551 registryd/devicecontoller.[ch]: Add XEViE support.
1553 2003-08-06 Wang Jian <lark@linux.net.cn>
1555 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1557 2003-08-06 Metin Amiroff<metin@karegen.com>
1559 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1561 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1563 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1564 MODIFIER_ALT in correct place.
1566 This fixes part of bug #118114.
1568 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1570 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1572 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1574 * configure.in: Added "ko" to ALL_LINGUAS.
1576 2003-07-28 Ole Laursen <olau@hardworking.dk>
1578 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1580 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1582 * configure.in: Added "sq" to ALL_LINGUAS.
1584 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1586 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1588 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1590 * configure.in: updated ALL_LINGUAS list
1592 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1594 * configure.in: Added Belarusian to ALL_LINGUAS.
1596 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1598 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1600 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1601 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1603 This fixes bug #116949.
1605 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1607 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1608 Correct CSPI to SPI in function documentation.
1610 This fixes bug #118054.
1612 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1614 * configure.in: Added Russian to ALL_LINGUAS.
1616 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1618 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1620 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1622 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1624 2003-07-10 Joel Brich <joel.brich@laposte.net>
1626 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1628 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1630 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1632 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1634 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1635 resources allocated for AccessibleEvent. See cspi_event().
1637 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1638 static variable streams to NULL.
1640 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1641 Update so that AcessibleEvent_ref will work.
1643 This fixes bug #116624.
1645 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1647 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1649 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1651 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1653 2003-07-02 Christian Neumair <chris@gnome-de.org>
1655 * configure.in: Added "de" (German) to ALL_LINGUAS.
1657 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1659 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1661 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1663 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1665 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1667 * configure.in: Added "pl" to ALL_LINGUAS.
1669 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1671 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1673 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1676 (get_action_from_servant):
1677 Removed assertion that action is implemented on an AtkObject.
1679 * libspi/hyperlink.c:
1680 (spi_hyperlink_new):
1681 Aggregate AccessibleAction interface on the hyperlink object if
1682 the object implements AtkAction. (This convention is used in
1685 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1687 * configure.in: Revved to 1.3.5.
1689 * registryd/Accessibility_Registry.server.in.in:
1690 Marked up appropriate strings for translation.
1692 * atk-bridge/bridge.c: Marked a couple of
1693 user-visible warnings for translation. Questionable
1694 whether they are really useful, but possibly so.
1697 2003-06-28 Christian Rose <menthos@menthos.com>
1699 * configure.in: Added "sv" to ALL_LINGUAS.
1701 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1703 * registryd/registry.c:
1704 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1705 (registry_defer_on_event): Defer focus: events, this is an
1706 improvement to the patch for bug #108664.
1708 * TODO: Update with 2.4/"Dev Complete" items.
1710 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1712 * atk-bridge/bridge.c:
1713 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1714 looks up signals once.
1715 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1716 if doing registration.
1717 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1718 when doing registration.
1720 This fixes bug #115014.
1722 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1724 * atk-bridge/bridge.c:
1725 (atk_bridge_init): Add signal handler for children-changed:remove on
1726 root when in a BonoboComponent.
1727 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1728 for first toplevel only other incrememt variable toplevels.
1729 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1730 application and remove listeners.
1731 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1733 (spi_atk_deregister_event_listeners): New function which removes
1735 (reinit_register_vars): New fuction which reinitializes variables.
1737 This fixes bug #111578.
1739 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1741 * configure.in: version 1.3.4.
1743 * cspi/spi_accessible.c:
1744 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1747 2003-06-13 Michael Meeks <michael@ximian.com>
1749 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1751 * cspi/spi_main.c (cspi_peek_ev): impl.
1753 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1755 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1757 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1759 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1760 SPI_ROLE_AUTOCOMPLETE
1762 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1764 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1765 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1767 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1769 * libspi/streamablecontent.h:
1770 * libspi/streamablecontent.c:
1771 New files, provide implementation/wrappers for
1772 Accessibility_StreamableContent.
1774 * cspi/spi_streamablecontent.c:
1775 Connected the C wrappers to the libspi C bindings.
1776 (AccessibleStreamableContent_close): New method.
1779 (AccessibleStreamableContent_close): New method, needed
1780 since we have an "open, [seek], read, close" model in cspi.
1782 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1784 Fix for #108664; Padraig's revision of my original patch.
1786 * registryd/registry.h:
1787 Added event queue list, is_queuing, and exit_notify_timeout
1788 to the registry struct.
1790 * registryd/registry.c:
1791 (registry_init): Initialize new struct from registry.h.
1792 (impl_registry_notify_event):
1793 Filter events before notifying, in case some need to be
1795 (registry_filter_event): New,
1796 we defer certain incoming events (for instance
1797 window:deactivate) because we may wish to hide
1798 or reject them based on pending events. This is
1799 mostly a workaround for bug #108664.
1800 (registry_queue_event, registry_start_queue): New.
1801 (registry_defer_on_event): Test event to see if it
1803 (registry_reset_on_event): Returns TRUE if the
1804 event should cause a queue reset.
1805 (registry_discard_on_event): Returns TRUE if the event
1806 should cause the previous queue contents to be discarded.
1807 (registry_timeout_flush_queue): Flushes the pending event
1808 queue if no reset/discard-triggering events have come in
1809 within the timeout period.
1810 (registry_emit_event): New.
1811 (registry_clone_notify_context): New, used when queueing the
1812 event notify contexts.
1814 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1816 * configure.in: Version revved to 1.3.2, lt 0.9.2
1817 Incremented ATK required version to 1.3.4.
1819 * cspi/spi_registry.c:
1820 (SPI_generateKeyEvent):
1821 We now pass the keystring along if it's non-null.
1823 * registryd/deviceeventcontroller.c:
1824 (keysym_mod_mask): New method, returns modifier mask
1825 required to generate a keysym from a given keycode.
1826 (dec_synth_keysym): New method.
1827 (dec_synth_keystring): New method.
1828 (dec_get_modifier_state): New method.
1829 (dec_lock_modifiers): New
1830 (dec_unlock_modifiers): New.
1831 (dec_keysym_for_unichar): New, rather brute-force
1832 conversion from UCS-4 to X KeySyms. Only works for
1833 Latin at the moment, with partial implementations for
1834 Greek, Hebrew, and (incomplete) Katakana.
1835 (impl_generate_keyboard_event): Now implement
1836 "KEYSTRING" synthesis and implement "KEYSYM"
1838 (keycode_from_keysym): Improved, passes a returned
1839 modmask value now if the corresponding param is non-NULL.
1841 Fixes bugs #92143 and #109776.
1844 * test/keysynth-test.c:
1845 New test program for key synthesis, to confirm fixes for
1849 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1851 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1853 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1854 Add line for RELATION_POPUP_FOR
1856 * docs/reference/cspi/tmpl/spi_relation.sgml:
1857 Add relation SPI_RELATION_POPUP_FOR
1859 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1860 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1862 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1864 * libspi/relation.c (spi_init_relation_type_table):
1865 Add line for RELATION_POPUP_FOR
1867 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1869 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1870 there are still windows which have not been deleted and emit
1871 window:deactivate, if necessary and window:destroy events.
1872 This fixes bug #114370. The change on June 5th was not correct.
1874 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1876 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1879 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1881 New methods for client exception handling and interception.
1882 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1883 (SPI_exceptionHandlerPop): You guessed it...
1884 (SPI_getSourceType): Return the type of object which offended.
1885 (SPI_getExceptionCode): Return an enum code telling, possibly,
1886 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1887 (SPIAccessibleException_getSource): get the source object for
1888 exceptions that come from Accessibles, if SPIExceptionSourceType is
1889 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1890 (SPIException_getDescription): New, returns a string description of
1891 the problem. [Not yet a stable ABI, strings are not frozen]
1893 * cspi/spi-private.h:
1894 Added implementation details of opaque SPIException
1898 Implementations of above. Also
1899 (_cspi_exception_throw): new private method that
1900 dispatches exceptions to handlers, called from cspi-bonobo.c
1902 * cspi/bonobo/cspi-bonobo.c:
1903 (cspi_check_ev): call _cspi_exception_throw.
1904 Don't print a warning message if the exception has been
1905 handled by _cspi_exception_throw.
1907 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1909 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1910 there are still windows which have not been deleted and emit
1911 window:deactivate, if necessary and window:destroy events.
1912 This fixes bug #114370.
1914 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1917 (cspi_accessible_is_a): Make non-fatal
1918 if the object reference is dead.
1920 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1922 * cspi/spi_main.c: #include <stdio.h>
1923 * test/simple-at.c: ditto
1924 * test/event-listener-test.c: ditto
1925 * test/screen-review-test.c: ditto
1927 2003-05-30 Michael Meeks <michael@ximian.com>
1929 * test/test-simple.c (main): use CORBA_ORB_perform_work
1930 instead of an unnecessary linc_ call.
1932 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1934 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1935 Add SPI_STATE_INDETERMINATE.
1937 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1940 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1942 * libspi/stateset.c (init_state_type_tables): Add support for
1945 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1947 * configure: Update versions of atk and gail required.
1948 This fixes bug #113268.
1950 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1952 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1954 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1956 * libspi/Makefile.am:
1957 Ensure headers are generated before being used by c sources.
1959 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1962 Simplified lt versioning rules.
1963 Incremented version to 1.3.0, to indicate that we're on the
1964 unstable branch now.
1966 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1968 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1969 Add MKDB_OPTIONS=--outtput-format=xml
1971 * docs/reference/cspi/at-spi-cspi-docs.sgml
1972 docs/reference/idl/at-spi-idl-docs.sgml:
1973 Convert to Docbook XML.
1975 This fixes bug #111793.
1977 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1979 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1980 AcccessibleKeyEventType, AccessibleKeyMaskType.
1982 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1984 * cspi/state-types.h: Add documentation for AccessibleState.
1986 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1987 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1988 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1989 AccessibleComponentLayer.
1991 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1994 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1996 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1997 Accessible. Add description of AccessibleEvent,
1998 AccessibleEventListenerCB.
2000 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2003 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2004 documentation. Add description of AccessibleKeystrokeListenerCB,
2005 AccessibleKeyEventMask, AccessibleModifierMaskType,
2006 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2007 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2009 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2012 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2015 This fixes bug #104730.
2017 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2019 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2020 Set is_text field of Accessibility_DeviceEvent data structure.
2022 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2023 is-text field of AccessibleDeviceEvent data structure.
2025 This addresses part of bug #108666.
2027 * registryd/devcieeventcontroller.c: Unset debug option.
2029 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2031 * cspi/accessible.c:
2032 (cpi_initial_relation_type_table): New function which initializes
2033 mapping between Accessibility_RelationType and AccessibleRelationType.
2034 (cspi_relation_type_from_spi_relation_type): New function which
2035 translates an Accessibility_RelationType into an AccessibleRelationType.
2036 (AccessibleRelation_getRelationType): Use
2037 cpi_relation_type_get_spi_relation_type to return correct value.
2038 (spi_state_to_corba): Return correct type for default case.
2040 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2041 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2043 * cspi/cspi-bonobo-listener.c:
2044 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2047 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2048 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2049 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2050 libspi/image.c, libspi/listener.c, libspi/selection.c,
2051 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2052 registryd/desktop.c, registryd/registry.c:
2053 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2055 * libspi/eventlistener.c
2056 Remove semicolon after BONOBO_TYPE_FUNC.
2058 * libspi/relation.c:
2059 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2060 (spi_init_relation_type_table): Initialize using correct type.
2062 * registryd/desktop.c:
2063 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2064 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2065 of Accessibility_KeyEventType.
2067 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2070 * tests/simple-at.c, tests/screen-review-test.c:
2071 Add include for <strings.h>.
2073 * tests.stress-test.c:
2074 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2076 These changes fix compiler warnings when using FORTE compiler on
2077 Solaris; fixes bug #107479.
2080 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2083 * configure.in: revved to 1.1.10
2085 * libspi/keymasks.h:
2086 (SPI_KEYMASK_NUMLOCK): Added.
2088 * registryd/deviceeventcontroller.c:
2089 (spi_key_event_matches_listener): AND with a smaller
2090 bitmask (as we should).
2091 (spi_dec_translate_mask):
2092 New method, sets the virtual NumLock modifier bit
2093 if numlock is on. Eventually it can handle other virtual
2094 modifier bits if needed, or other marshalling from
2095 at-spi modifier masks to platform (X) masks.
2096 (spi_dec_key_listener_new):
2097 Call spi_dec_translate_mask to set up virtual mod bits
2098 in the 'mask' field when creating a new listener struct.
2099 (spi_dec_emit_modifier_event):
2100 Set the virtual (i.e. NumLock) bits before emitting event.
2101 (spi_controller_register_with_devices):
2102 Query for the NumLock modifier 'physical' bit if Xkb is
2103 present, for use in above methods.
2107 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2109 * registryd/deviceeventcontroller.c:
2110 (spi_keystroke_from_x_key_event):
2111 Instead of checking to see if the keysym is
2112 printable, check the string from XLookupString
2113 if available, get the first unicode character from it,
2114 and call g_unichar_isprint to determine whether the
2115 is_text flag should be TRUE or FALSE.
2119 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2121 * atk-bridge/bridge.c: Add support for extended events
2122 * cspi/spi_event.c: Add documentation and implementation for
2124 * tests/event-listener-test.c: Add tests for extended events.
2126 This fixes bugs #100424 and #100426.
2128 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2130 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2131 of LT_CURRENT. This fixes bug #89350.
2133 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2135 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2136 number of signal parameter values before accessing them. This fixes
2139 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2141 * configure.in: Fixed duplicate inclusion of -lspi.
2142 * branched for gnome-2-2/HEAD.
2143 [created tag "gnome-2-2"]
2145 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2147 * configure.in: 1.1.9 release.
2150 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2152 [needed by GOK, to fix bugs 107985 and 107988]
2153 * registryd/deviceeventcontroller.c:
2154 (spi_dec_clear_unlatch_pending):
2155 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2156 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2157 (spi_dec_init_mouse_listener):Emit warning if mouse button
2159 (spi_device_event_controller_forward_mouse_event):
2160 Removed unnecessary parens from a conditional.
2161 (global_filter_fn):Added TODO comment.
2162 (impl_generate_keyboard_event):
2163 Cancel a pending relatch if a 'delatching' key was
2166 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2168 * atk-bridge/bridge.c:
2169 Change atk_signal_child_changed to atk_signal_children_changed.
2170 Reorganize code in spi_atk_bridge_signal_listener().
2172 * test/event-listener-test.c:
2173 Add children_changed_listener and report_children_changed_event()
2174 to test AccessibleChildEvent_getChildAccessible.
2176 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2178 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2179 g_strdup to CORBA_String_dup (bug #105291)
2181 * test/event-listener-test.c (report_text_event): Add call to
2184 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2186 * registryd/deviceeventcontroller.c:
2187 (spi_keystroke_from_x_key_event):
2188 Fix string and keysym return codes to match modifier state.
2191 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2193 * registryd/deviceeventcontroller.c:
2194 (spi_keystroke_from_x_key_event):
2195 Fix segv due to improper use of isprint(c). [bug #107254]
2197 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2200 (get_accessible_text_boundary_type):
2201 Move default return value to (new) default case in switch.
2202 (get_accessible_text_clip_type):
2203 Move default return value to (new) default case in switch.
2205 * libspi/application.c:
2206 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2207 Remove unused methods.
2208 (impl_accessibility_application_register_object_event_listener):
2209 Remove unused methods.
2212 Added #include of <math.h>.
2214 * registryd/deviceeventcontroller.c:
2215 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2216 we don't currently use this method.
2217 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2219 (impl_generate_key_event):
2220 Remove unused variables.
2221 (impl_generate_mouse_event):
2222 Initialize button to zero, just in case we get an invalid
2223 input. Added support for mouse buttons 4 and 5.
2224 (spi_device_event_controller_new):
2225 Removed unused variable declaration for 'private'.
2227 Added #include of <gdk/gdk.h>
2229 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2231 * configure.in: Update to work when X is not installed in expected
2232 location. Fixes bug #105836.
2234 * atk-bridge/bridge.c
2235 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2237 (spi_atk_register_event_listener): Add signal listener for
2239 (spi_atk_bridge_signal_listener): Event event when link-selected
2240 signal is emitted. (bug #104622)
2242 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2243 on returned string. (bug #105291)
2245 * test/event-listener-test.c: Add test for link-selected.
2247 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2249 * atk-bridge/Makefile.am: Correct typo in previous commit.
2251 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2253 * atk-bridge/Makefile.am: Allow for build directory to be different
2254 from source directory
2256 * registryd/Makefile.am: Allow for build directory to be different
2257 from source directory
2261 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2264 Fixed dependencies for libcspi so that libspi gets pulled in
2265 properly. Fixes 104741.
2269 Clean up inline docs a little.
2271 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2273 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2274 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2275 the AtkObject within an SpiDesktop.
2276 This addresses bug #101524.
2278 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2279 Remove call to gdk_init().
2281 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2282 so that Display is set when SpiDesktop is created.
2284 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2286 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2287 This fixes bug #102830.
2289 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2291 * test/test-simple.c: Update to take account of fact that GailButton
2292 now implements AtkText.
2293 (create_text_window): Set name on AtkObject for GtkEntry.
2294 (validate_accessible): Check accessible name before calling test_text().
2296 * libspi/Makefile.am: Fix problem with building outside of source
2297 directory. Bug #98120.
2299 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2300 typo in documentation comments. Bug #94275.
2302 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2304 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2306 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2309 Add includes to avoid compiler warnings on Solaris.
2310 (impl_getRangeExtents): Bug fix.
2312 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2314 Fix for 100944, [API addition approved by Gman and murrayc].
2321 * idl/Accessibility_Text.idl:
2322 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2323 (Text::getRangeExtents): New method for efficient
2324 bounds query of a text range.
2325 (Text::getBoundedRanges): New method for efficient
2326 clipping of text to bounding boxes.
2327 (unImplemented7, unImplemented8):
2328 Removed these padding methods to preserve bincompat.
2331 (impl_getRangeExtents): implementation of new IDL.
2332 (impl_getBoundedRanges): implementation of new IDL.
2333 (SpiTextRect): Internal use struct.
2334 (_spi_text_rect_union): internal method, calculates union of two
2335 SpiTextRect bounding rects.
2336 (_spi_text_range_seq_from_gslist): internal method, allows us
2337 to build our sequence efficiently as a gslist then convert it
2339 (_spi_bounds_contain): internal method, determines whether
2340 a text character is "in" or "out" of a clip rect according to
2341 values of TEXT_CLIP_TYPE.
2342 (spi_text_class_init): Initialize the new methods in the epv.
2345 (AccessibleTextClipType): New enum used by screen review api.
2346 (AccessibleTextRange): New struct used by screen review api.
2347 (AccessibleText_getRangeExtents):
2348 cspi binding for Accessibility_Text_getRangeExtents.
2349 (AccessibleText_getBoundedRanges):
2350 cspi binding for Accessibility_Text_getBoundedRanges.
2351 (AccessibleTextRange_freeRanges): convenience method.
2354 (AccessibleText_getRangeExtents):
2355 cspi binding for Accessibility_Text_getRangeExtents.
2356 (AccessibleText_getBoundedRanges):
2357 cspi binding for Accessibility_Text_getBoundedRanges.
2358 (AccessibleTextRange_freeRanges): convenience method.
2359 (get_accessible_text_clip_type): internal conversion method.
2360 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2362 * registryd/deviceeventcontroller.c:
2363 (spi_dec_mouse_check):
2364 Improved behavior for mouse:abs events
2365 [same granularity as mouse:rel events, and no
2366 events when mouse is idle].
2368 2002-12-16 Michael Meeks <michael@ximian.com>
2370 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2372 * libspi/stateset.c (state_spi_to_atk): split out
2373 ( fix several remote array bounds nasties )
2374 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2375 (impl_remove): make safe from array bounds issues.
2376 (spi_atk_state_from_spi_state): impl.
2378 * libspi/stateset.h (spi_state_set_cache_is_empty):
2379 add a set of wrapper defines to get layering right.
2381 * cspi/spi_accessible.c: update state set stuff to
2384 2002-12-14 Michael Meeks <michael@ximian.com>
2386 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2387 to avoid 2 roundtrips to the registry per key event
2388 (spi_atk_bridge_key_listener): upd.
2389 (deregister_application): release the dec.
2391 * registryd/registry.c (notify_listeners_cb):
2392 bin lots of re-enterant complexity - we no longer
2393 do a round-trip bonobo ref here, ensure that a single
2394 listener's exception failure won't poison all other
2396 (impl_registry_notify_event): bin obvious memory leak.
2398 2002-12-13 Michael Meeks <michael@ximian.com>
2400 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2401 init the ev so the error is meaningful.
2402 (spi_atk_bridge_key_listener): ditto.
2404 * cspi/spi_main.c (cspi_ev): init the ev so we start
2405 with a clean slate, otherwise the first exception
2406 kills us completely.
2408 * cspi/spi_text.c (get_accessible_text_boundary_type):
2409 add a fallthrough for no warnings.
2411 * cspi/spi_registry.c: prune unused warnings.
2413 * cspi/spi_main.c (cspi_object_take): fix
2414 mind-blowing brokenness ( by watching the compile
2417 * cspi/spi_accessible.c (Accessible_getStateSet):
2418 re-impl. to use an AtkStateSet.
2419 (spi_state_type_from_accessible_state),
2420 (init_state_table): bin these.
2422 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2424 (atk_state_set_from_accessibility_state_set): here.
2426 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2427 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2428 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2429 (AccessibleStateSet_add, AccessibleStateSet_remove),
2430 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2431 (AccessibleStateSet_isEmpty): re-write to use a local
2434 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2436 * configure.in: Revved to 1.1.7 (new keymask vals).
2438 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2440 * libspi/keymasks.h:
2441 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2443 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2446 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2447 to compare two CORBA_TypeCodes.
2448 (cspi_internal_event_add): Silence warning from FORTE compiler.
2450 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2451 avoid implicit declaration of functions.
2453 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2455 * atk-bridge/bridge.c:
2456 (spi_atk_bridge_init_event_type_consts): Store signal id for
2457 active-descendant-changed signal.
2458 (spi_atk_register_event_listeners): Add signal listener for
2459 active-descendant-changed signal,
2460 (spi_atk_bridge_signal_listener): Move code in function
2461 spi_atk-signal_emit_event() into this function.
2462 Add support for active-descendant-changed
2463 Update support for child-changed signal.
2464 (spi_bridge_window_event_listener): Silence warning.
2466 * libspi/spi_private.[ch]:
2467 (spi_init_any_object): Change second parameter from CORBA_Object to
2469 Omit call to CORBA_Object_duplicate().
2470 Set CORBA_any's _value to CORBA_Object*.
2472 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2478 (AccessibleEvent_ref, AccessibleEvent_unref):
2479 New methods, for persisting an event outside the emission context.
2480 Must be used if the new accessor methods are to be called
2481 outside of the event listener's callback.
2483 * cspi/bonobo/cspi-bonobo.c:
2484 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2485 as second parameter instead of NULL, so we can call
2486 cspi_check_ev afterwards.
2489 (cspi_object_take): New internal method,
2490 converts a CORBA_Object reference to a hard ref on
2491 an Accessible if possible, returning NULL if the object
2492 reference is invalid or an Accessible * otherwise.
2495 (AccessibleEvent_ref):
2496 Increment the event's internal private refcount, and
2497 add the event's internal struct to an internal cache
2498 if it's not already there.
2499 (AccessibleEvent_unref):
2500 Decrement the event's refcount and remove it from
2501 the cspi event cache if refcount==0.
2502 (cspi_event_compare): New private method.
2503 Compares two event structs via their ids. Used
2505 (cspi_internal_event_lookup): New private method.
2506 (cspi_internal_event_check): New private method,
2507 a 0-order sanity check for events to make sure their
2508 private data is intact.
2509 (cspi_internal_event_add, cspi_internal_event_remove):
2510 New private methods for managiing the event cache.
2512 * cspi/bonobo/cspi-bonobo-listener.c:
2514 Initialize the new private data elements (id, magic, ref_count).
2516 * atk-bridge/bridge.c:
2517 (spi_atk_bridge_signal_listener):
2518 Fixed bug #100530, passing wrong params to emission func.
2520 * registryd/deviceeventcontroller.c:
2521 (spi_dec_button_update_and_emit):
2522 Fixed type in mask bit operations; fix for #99799.
2524 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2526 Removed some of the more dangerous workarounds from
2527 previous commit; they are only needed by GOK, which
2528 in reality should be using another method to accomplish
2529 the goals. So on reconsideration some of the workarounds
2530 need to be reverted:
2532 * registryd/deviceeventcontroller.c:
2533 (spi_keycodes_contain, spi_dec_init_keycode_list):
2534 Removed these methods, used only by a nasty hack to try
2535 and detect whether a key synthesis should be allowed
2536 to reset the XKB latch state or not. This code was only
2537 required to work around an interaction between GOK,
2538 button events, and XKB.
2539 (impl_generate_key_event):
2540 Removed hack at end of key generation that tried to
2541 "do the right thing" if XKB latch keys were generated
2542 in the midst of button press/release pairs.
2545 Added a check for HAVE_XINPUT. Not normally used yet.
2547 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2549 Workarounds and fixes for mouse event/XKB interaction.
2551 * registryd/deviceeventcontroller.c:
2552 (spi_keycodes_contain, spi_dec_init_keycode_list):
2553 New internal methods.
2554 (spi_dec_set_unlatch_pending):
2555 Split the method that tells XKB to expect an
2556 unlatch (and revert it) out of the rest of the
2557 event handling code. This method is called by the
2558 two mouse event handlers (the poll and the filter).
2559 (spi_dec_update_and_emit, spi_dec_mouse_check):
2560 New methods split from spi_dec_poll_mouse_moved.
2561 The second one is now called from inside the filterFn
2562 when an XKB delatch event is received, to determine
2563 whether to revert the delatch or not.
2564 (spi_poll_mouse_moved): Refactor; also we can now
2565 properly handle the case where multiple button states
2566 have changed between polling cycles and we didn't get
2567 notified due to another client's grab.
2569 Synchronize the server while handling an XKB notification.
2570 Ugly, but apparently necessary to avoid nasty races.
2571 Check the mouse state on receipt of an XKB latch change,
2572 to decide whether to revert the latch or not. (Latches are
2573 reverted if there is an immediately preceding mouse button
2574 event that a client has consumed, in which case we don't want
2575 the user to see the side-effect of the event).
2576 (spi_device_event_controller_forward_mouse_event):
2577 Check for modifier events and fire before resetting mouse_mask_state,
2578 prevents losing modifier events.
2580 (impl_generate_keyboard_event):
2581 If we've just generated a keyboard event for a non-shift key,
2582 we don't want to revert the pending XKB latch.
2583 Otherwise, check the modifier state (via a call to
2584 spi_dev_mouse_check) and set the relatch mask to
2585 that state before returning.
2587 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2590 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2593 * atk-bridge/bridge.c:
2594 (spi_atk_register_event_listeners):
2595 Don't re-register for ATK events if the registry has died
2596 and the app needs to re-register; the ATK listeners are in
2597 process and doing so will cause duplicate emission.
2599 * registryd/deviceeventcontroller.c:
2600 (spi_poll_mouse_moved):
2601 Reformat the source, detect and emit multiple button-change
2602 events (i.e. if multiple buttons have changed between poll
2604 Add code to detect mouse-down events even when the pointer
2605 is grabbed; workaround for GOK bug 98420.
2606 (spi_controller_register_with_devices):
2607 Call XTestGrabControl with 'impervious' flag set to True,
2608 allows us to synthesize events and query the pointer even during
2609 an active grab by another client.
2610 (spi_device_event_controller_forward_mouse_event):
2611 Set the mouse_mask_state to the mouse_button_state from
2612 the intercepted event, to synchronize the grab listener with
2615 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2617 * cspi/spi_accessible.c:
2618 (AccessibleRole_getName):
2619 Added necessary strings for making this (deprecated)
2620 method work with the new role types.
2621 (init_role_table, role_table):
2622 Added definition of SPI_ROLE_APPLICATION.
2624 * libspi/spi-roletypes.h:
2625 Added SPI_ROLE_APPLICATION.
2627 * idl/Accessibility_Role.idl:
2628 Added ROLE_APPLICATION.
2630 * docs/reference/cspi/at-spi-cspi-decl.txt:
2631 Added SPI_ROLE_APPLICATION to docs.
2633 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2635 * cspi/spi_accessible.c
2636 (cspi_init_role_table): Do not write beyond end of role_table.
2637 (Accessible_getRole): Use correct type for value returned by
2638 Accessibility_Accessible_getRole().
2640 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2641 beyond end of role_table. (This fixes bug #98269)
2643 * libspi/application.c: Add include file spi-private.h for
2644 definition of spi_init_any_nil.
2646 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2650 * libspi/spi-private.h:
2651 Added DGB() macro, and extern int _dbg declaration.
2653 * registryd/registry.c:
2654 (definitions) storage for _dbg.
2655 (spi_registry_init):
2656 Get environment variable "AT_SPI_DEBUG".
2657 (spi_registry_set_debug):
2658 New method, to initialize _dbg value.
2659 (spi_listener_struct_new, spi_registry_object_finalize):
2660 (notify_listeners_cb):
2661 Changed fprintfs to use DBG and g_warning().
2663 * registryd/deviceeventcontroller.c:
2664 (_deregister_keygrab, spi_controller_register_device_listener):
2665 Changed debug/warning messages to use DBG macro.
2667 * libspi/listener.c:
2668 (impl_notify_event):
2669 Changed warning messages to use DBG macro and g_warning().
2671 * atk-bridge/bridge.c:
2672 (atk_bridge_init, spi_atk_bridge_get_registry):
2673 (spi_atk_bridge_exit_func):
2674 (spi_atk_bridge_property_event_listener):
2675 Changed status, warning, and error messages to use
2676 g_warning, g_message, and DBG macros.
2679 Read the state of the AT_SPI_DEBUG environment variable
2680 and set a local '_dbg' accordingly.
2682 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2684 FIXES for 98836, 98842, other bugs.
2687 Revved to 1.1.4, interface-age=4, binary-age=4.
2689 * registryd/deviceeventcontroller.c:
2691 Fixed crasher bug in last_mouse_pos initialization.
2693 * registryd/registry.c:
2694 (desktop_add_application, desktop_remove_application):
2695 Added (and then commented out) some support for
2696 object context marshalling. [TODO]
2698 * atk-bridge/bridge.c:
2699 (spi_atk_bridge_event_context_create):
2700 Commented out object context creation until it can
2701 be properly tested and debugged.
2703 * registryd/registry.c:
2704 (impl_registry_notify_event):
2705 Fixed crasher bug, we were calling
2706 spi_re_entrant_list_foreach () with an empty list.
2708 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2710 * idl/Accessibility_Action.idl:
2711 * idl/Accessibility_Component.idl:
2712 * idl/Accessibility_Desktop.idl:
2713 * idl/Accessibility_Event.idl:
2714 * idl/Accessibility_Hyperlink.idl:
2715 * idl/Accessibility_Image.idl:
2716 * idl/Accessibility_Relation.idl:
2717 * idl/Accessibility_Selection.idl:
2718 * idl/Accessibility_State.idl:
2719 * idl/Accessibility_Value.idl:
2720 Updated unimplemented slot count to minimum of
2721 four for all interfaces, for ABI freeze.
2723 * idl/Accessibility_EditableText.idl:
2724 * idl/Accessibility_Text.idl:
2725 Updated unimplemented slot count to six
2728 * idl/Accessibility_Registry.idl:
2729 Updated unimplemented slot count to six
2730 (also for DeviceEventController),
2733 * idl/Accessibility_Table.idl:
2734 Updated unimplemented slot count to eight,
2737 * idl/Accessibility_Event.idl:
2738 Added CORBA_any "any_data" member to Event struct.
2740 * idl/Accessibility_Event.idl:
2741 Added CORBA_any "any_data" member to Event struct.
2743 * atk-bridge/bridge.c:
2745 atk_signal_text_changed, atk_signal_child_changed,
2746 signal ids queried from gtype system.
2747 (AtkBridgeEventContextType): New enum.
2748 (AtkBridgeEventContextData): New struct.
2749 (AtkBridgeEventContext): New struct.
2750 (atk_bridge_init_event_type_consts):
2751 New method, initializes type contants for comparison
2752 prior to emit_eventv.
2753 (atk_bridge_event_context_init): New method,
2754 initializes a CORBA_any from an AtkBridgeEventContext.
2755 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2756 initialize the event.any_data struct.
2757 (spi_atk_bridge_event_context_create): New method,
2758 creates an AtkBridgeEventContext from signal/event info.
2759 (spi_atk_bridge_event_context_free): New method.
2760 (spi_atk_emit_eventv): Changed to take an
2761 AtkBridgeEventContext parameter. We now initialize
2762 the event.any_data member prior to notifying the
2763 Registry, via the AtkBridgeEventContext.
2764 (spi_atk_bridge_property_event_listener):
2765 (spi_atk_bridge_state_event_listener):
2766 Match emit_eventv signature.
2767 (spi_atk_bridge_object_event_listener):
2768 Match emit_eventv signature, and create an
2769 event context from the event details.
2770 Free the event context afterwards.
2771 (spi_atk_bridge_window_event_listener):
2772 Create an event context, pass it to the
2776 (AccessibleEvent_getContextString):
2777 (AccessibleEvent_getContextObject):
2778 New methods, allow query of AccessibleEvent objects
2779 for more context details (via the "any_data" member
2780 of the Event struct, above).
2783 Definitions for AccessibleEvent_getContextString
2784 and AccessibleEvent_getContextObject.
2786 * cspi/spi_listener.h:
2787 (InternalEvent): New struct.
2790 (AccessibleEvent_getContextString):
2791 (AccessibleEvent_getContextObject):
2792 Implementations of new methods, for obtaining
2793 additional context information from some event types.
2795 * cspi/spi_registry.c:
2796 (SPI_registerGlobalEventListener):
2797 Added mention of active-descendant-changed event in docs.
2799 * cspi/cspi-bonobo-listener.c:
2801 Marshal the any into the AccessibleEvent via
2804 * libspi/spi-private.h:
2805 #include <orbit/orbit.h>
2807 (spi_init_any_string):
2808 (spi_init_any_object):
2809 New convenience function declarations.
2813 (spi_init_any_string):
2814 (spi_init_any_object):
2815 New convenience function implementations.
2817 * registryd/deviceeventcontroller.c:
2818 (spi_poll_dec_mouse_moved):
2819 (spi_device_event_controller_forward_mous_event):
2820 Initialize any_data member of event.
2821 (spi_deregister_controller_device_listener):
2822 Fix incorrect param pass which was preventing deregistration.
2824 * registryd/registry.c:
2825 (desktop_add_application):
2826 (desktop_remove_application):
2827 Add object data to event's any_data before dispatch.
2829 Fix for error messages from GAIL.
2831 * test/event-listener-test.c:
2832 Test new ContextString and "any_data" API:
2833 (report_text_event): New method query and output context string.
2834 (main): register a new text listener with report_text_event
2837 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2839 Fixes for bugs 98127 and 97914.
2840 * cspi/spi-roletypes.h:
2841 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2843 * cspi/spi-statetypes.h:
2844 Added SPI_STATE_MANAGES_DESCENDANTS
2846 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2847 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2848 * cspi/spi_accessible.c:
2849 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2850 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2851 Accessibility_STATE_MANAGES_DESCENDANTS
2852 * libspi/accessible.c:
2853 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2854 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2855 As requested by Bill, I also cleaned up the alignment.
2856 * libspi/relation.c:
2857 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2858 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2859 * libspi/stateset.c:
2860 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2861 Accessibility_STATE_MANAGES_DESCENDANTS
2862 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2863 Document changes reflecting modifications to roles.
2864 * docs/reference/cspi/tmpl/spi_relation.sgml:
2865 Document changes reflecting modifications to relations.
2866 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2867 Document changes reflecting modifications to states.
2869 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2872 Revved to 1.1.3, interface-age=3, binary-age=3.
2873 Added REBUILD macro.
2876 Removed accessx-gui from the tests, since we have a nice
2877 keyboard accessibility capplet now :-)
2879 * test/keysynth-demo.c:
2880 (increment_scan): removed do-nothing default: case,
2883 * test/visual-bell.c:
2884 (main) : removed do-nothing default: case,
2887 * cspi/spi_action.c:
2888 (AccessibleAction_getKeyBinding_):
2889 Documented keybinding string format.
2893 (AccessibleText_getAttributes):
2894 Documented the text attribute string format.
2895 It's changed to use semicolon delimiters also,
2896 to prevent clashes with CSS attributes, but the old
2897 trick of looking for ", " strings will still work
2898 (as unreliably as ever). Fix for bug related to 97916.
2901 Include <cspi/bonobo/cspi-bonobo-listener.h>
2902 Fixes build warning.
2903 (SPI_freeAccessibleKeySet):
2904 (AccessibleKeystrokeListener_addCallback):
2905 (AccessibleKeystrokeListener_removeCallback):
2906 Modify to use AccessibleDeviceListener API internally,
2907 instead of AccessibleKeystrokeListener.
2909 * idl/Accessibility_Event.idl:
2910 Added two more empty slots to EventListener (for a total of four).
2912 * idl/Accessibility_Accessible.idl:
2913 Added four empty slots to Accessible interface.
2915 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2917 * idl/Accessibility_Registry.idl:
2918 (KeyEventType, EventType):
2919 Marked KeyEventType as deprecated; it duplicates
2920 functionality of EventType, which has been extended to
2921 include Mouse-button events.
2922 (KeyEventTypeSeq): defined in terms of EventType.
2923 (registerDeviceEventListener, deregisterDeviceEventListener):
2924 New methods, for managing listeners to device events,
2925 which potentially may consume them.
2928 Added definition for AccessibleDeviceListener.
2930 * cspi/spi-listener.h:
2931 (enum AccessibleDeviceEventType):
2932 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2933 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2934 for backwards compat.
2935 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2936 and typedef'd AccessibleKeystroke to it for back-compat.
2937 (AccessibleDeviceListenerCB):
2938 New function prototype typedef.
2941 (AccessibleDeviceEventMask): New typedef.
2942 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2943 (AccessibleKeyMaskType):
2944 Set equivalent to AccessibleModifierMaskType for back-compat.
2945 (SPI_createAccessibleKeystrokeListener):
2946 (AccessibleKeystrokeListener_unref):
2947 Deprecated in favor of equivalent (better-named) new API below..
2948 keystroke listeners are like all device listeners.
2949 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2950 New API names for old features :-).
2951 (AccessibleDeviceListener_addCallback):
2952 (AccessibleDeviceListener_removeCallback):
2953 (SPI_registerDeviceEventListener):
2954 (SPI_deregisterDeviceEventListener):
2958 (SPI_createAccessibleKeystrokeListener):
2959 Use new preferred API, cspi_device_listener_new() and
2960 cspi_device_listener_add_cb().
2961 (AccessibleKeystrokeListener_removeCallback):
2962 Use new preferred API, cspi_device_listener_remove_cb().
2963 (AccessibleKeystrokeListener_unref):
2964 Use new preferred API, cspi_device_listener_unref().
2965 (SPI_createAccessibleDeviceListener):
2966 (AccessibleDeviceListener_addCallback):
2967 (AccessibleDeviceListener_removeCallback):
2968 Implementation of new API.
2970 * cspi/spi_registry.c:
2971 (SPI_registerDeviceEventListener):
2972 (SPI_deregisterDeviceEventListener):
2973 Implementation of new API. Fixed memory leak and removed need to
2974 allocate EventTypeSeq (thanks Michael for catching this).
2975 Squashed a wayward CORBA_exception_free that shouldn't get called.
2977 * cspi/bonobo/cspi-bonobo-listener.c:
2979 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2980 (cspi_key_event): renamed to cspi_device_event().
2981 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2982 Extended to handle mouse button events as well as key events.
2983 (CSpiKeystrokeListener):
2984 Class superceded by CSpiDeviceListener.
2985 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2986 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2988 * cspi/bonobo/cspi-bonobo-listener.h:
2989 (CSpiKeystrokeListener):
2990 Class superceded by CSpiDeviceListener.
2991 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2992 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2994 * libspi/Makefile.am:
2995 Replaced keystrokelistener.h and keystrokelistener.c
2996 with devicelistener.h and devicelistener.c; keystrokelisener.h
2997 stub retained for back-compat.
2999 * libspi/keystrokelistener.c:
3003 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3005 * registryd/deviceeventcontroller.c:
3006 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3007 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3008 (DEControllerPrivateData): Added xkb settings data.
3009 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3010 button release events (which can't be captured via XGrabButton).
3011 Don't dispatch via the 'normal' event mechanism if the device event was
3013 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3014 Handle the typeseq data in its new location (see above).
3015 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3016 New methods, for "generic" device listeners.
3017 (spi_controller_register_device_listener):
3018 Now handle mouse event listeners as well as key listeners.
3019 (spi_controller_notify_mouselisteners):
3020 New internal method.
3021 (spi_device_event_controller_forward_mouse_event):
3022 Now we notify mouse device listeners as well as generating the
3023 non-consumable "mouse:" events.
3025 We must check and restore the XKB
3026 modifier map if we consume the event, since the act of triggering
3027 a mouse event will normally reset the XKB latch. This is required for
3029 (spi_controller_register_with_devices):
3030 Load the XKB settings when registering, and register for XKB
3031 state notify events.
3032 (spi_key_eventtype_seq_contains_event):
3033 Renamed spi_eventtype_seq_contains_event, since it's used
3034 internally for all device event types now.
3035 (spi_key_event_matches_listener):
3036 Uses spi_eventtype_seq_contains_event now.
3037 (spi_device_event_controller_object_finalize):
3038 Free the private data and the XkbKeyboard struct.
3039 (impl_register_device_listener, impl_deregister_device_listener):
3040 Implementation of new IDL.
3041 (spi_deregister_controller_device_listener):
3042 New internal method.
3043 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3044 More efficient implementation, we don't have to create a new
3045 XkbControls structure every time we query.
3046 (spi_device_event_controller_class_init):
3047 Initialize the epv entries for the new IDL. Assign the
3048 "spi-dec-private" quark.
3049 (spi_device_event_controller_init):
3050 Initialize the private data.
3051 (spi_device_event_controller_forward_key_event):
3052 Removed a bogus CORBA_exception_free() call.
3054 * registryd/deviceeventcontroller.h:
3055 Replaced inclusion of keystrokelistener.h with
3058 * test/event-listener-test.c:
3059 (report_mouse_event):
3062 Added mouse-event device listener.
3064 * test/test-simple.c:
3065 (create_test_window):
3066 Fixed regression (we were instantiating a GtkRange,
3067 which is now an abstract class). Also fixed to match
3068 existing AtkRole names, this seems to have changed in ATK
3069 awhile ago; too late now I think, and the new
3070 mechanism is at least elegant and consistent with the
3071 glib enum "nick" APIs.
3073 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3075 * idl/Accessibility_Relation.idl:
3076 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3077 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3078 * idl/Accessibility_Role.idl:
3079 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3080 * idl/Accessibility_State.idl:
3081 add STATE_MANAGES_DESCENDANTS
3082 * test/event-listener-test.c:
3083 Added a listener for active-descendant events.
3085 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3087 * atk-bridge/bridge.c
3088 (atk_bridge_init): If application is Bonobo component wait until top
3089 level is added before registering
3090 (spi_atk_bridge_do_registration): New function which contains code,
3091 formerly in atk_bridge_init, to do application registration.
3092 (spi_atk_bridge_toplevel_added): Signal called when top level
3093 added to Bonobo component
3095 This fixes bug #83134.
3097 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3099 * registryd/deviceeventcontroller.c
3100 Fixed compilation error caused by calling gettimeofday()
3103 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3108 Added template for HAVE_XKB.
3111 Changes to check for XKB, and to set the HAVE_XKB #define if it
3114 * libspi/listener.c:
3115 ()impl_notify_event): Make failure to get event source name
3118 * registryd/deviceeventcontroller.c:
3119 (#include): include X11/XKBlib.h.
3120 (DEControllerPrivateData) : New struct.
3121 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3123 (dec_synth_keycode_press) (dec_synth_keycode_release):
3124 New methods; split the key synthesis code into these methods.
3125 They check XKB settings before determining the "time" values to
3126 pass to Xtest; this fixes bug #95828.
3127 (impl_generate_keyboard_event): Changed to use methods above,
3128 instead of callng Xtest directly.
3129 (spi_device_event_controller_init): Initialize new privae struct s
3131 (spi_device_event_controllr_object_finalize):
3132 Free the (new) private data.
3134 * registryd/deviceeventcontroller.h:
3135 Add new gpointer to end of struct data.
3137 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3140 Incremented revision to 1.1.2, SONAME is still '.so', library
3141 extensions are ".so.0.0.2".
3143 * registryd/deviceeventcontroller.c:
3144 FIXES FOR #93592 and #95940.
3145 (statics): renamed mouse_button_state to mouse_mask_state,
3146 added key_modifier_mask.
3147 (spi_dec_poll_mouse_moved):
3148 Added key modifier checks, and emit "keyboard:modifiers"
3149 events when the key modifiers currently in use change.
3150 Also generate "mouse:abs" events periodically, even if the mouse
3151 is stationary (should we?).
3152 Alternatively we could generate "mouse:abs" events for either all
3153 mouse movements, or every 'nth' mouse movement, or at the
3154 beginning and end of every "active" mouse period.
3156 * test/event-listener-test.c:
3157 (main): Added listener for "keyboard:modifiers" events.
3159 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3161 * libspi/keymasks.h:
3162 Added key mask #defines for mouse buttons; e.g.
3163 SPI_KEYMASK_BUTTON1, etc.
3166 Incremented dependency on ATK to version 1.1.0. (This dependency
3167 is probably premature but will soon be real enough).
3169 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3171 * libspi/hyperlink.[ch]
3172 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3173 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3176 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3181 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3183 * registryd/deviceeventcontroller.c
3184 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3185 events to be ignored.
3186 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3187 keyboard_mode so that XAllowEvents() can be called.
3191 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3193 * cspi/spi-accessible.c: Correct names of roles returned by
3194 AccessibleRole_getName(). Fixes bug #95055.
3196 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3198 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3201 * registryd/registry.c
3202 (desktop_remove_application: Write diagnostic message to stderr for
3205 (impl_accessibility_registry_deregister_global_event_listener):
3206 Correct size of lists array. This addresses bug #94555).
3208 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3210 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3213 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3215 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3218 * registryd/registry.c (impl_registry_notify_event): Remove
3219 unnecessary call to parser_event_type().
3221 * docs/reference/cspi/tmpl/spi_component.sgml:
3222 Add reference to SPI_LAYER_WINDOW.
3224 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3226 * registryd/registry.c
3227 (desktop_add_application): Remove leak.
3228 (desktop_remove_application): Remove leak.
3229 (parser_event_type): Remove leak.
3231 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3233 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3234 bogus call to CORBA_string_dup(). Also removed unnecessary
3235 g_string_dup/g_free calls.
3237 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3239 * registryd/deviceeventcontroller.c:
3240 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3242 * test/event-listener-test.c:
3243 main: commented out three redundant listeners, to reduce output
3244 noise. (They still are potentially useful for testing).
3247 2002-09-13 Michael Meeks <michael@ximian.com>
3249 * Update all the copyrights to include Ximian.
3251 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3253 * cspi/spi.h: add SPI_LAYER_WINDOW.
3255 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3256 add Accessibility_LAYER_WINDOW case.
3258 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3260 * libspi/component.c: (impl_accessibility_component_get_layer):
3261 add ATK_LAYER_WINDOW case.
3263 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3265 * configure.in: incremented micro version.
3267 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3269 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3272 Clarified and reworded our commit policy.
3275 Started an API "todo" addition list for 2.2.
3278 (impl_getSelection):
3279 Free char pointer from atk_text_get_selection, which was being leaked.
3281 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3284 Small revision to author acknowledgement.
3286 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3288 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3289 If signal has detail add it to the type of the event.
3292 2002-08-12 Michael Meeks <michael@ximian.com>
3294 * test/test-simple.c (global_listener_cb): bin bogosity.
3295 (test_keylisteners): disable, still doesn't work reliably,
3296 certainly not on my system anyway.
3298 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3299 don't leak a reference on the DEC. This round-trip
3300 fetching of the DEC per keystroke sucks, it should be
3303 * cspi/spi-private.h,
3304 * cspi/cspi-lowlevel.h,
3305 * cspi/bonobo/cspi-bonobo-listener.[ch],
3306 * cspi/bonobo/cspi-bonobo.c: get the copyright
3307 notices better - there is still a large amount of
3308 work in at-spi falsely attributed solely to Sun.
3310 * cspi/spi_main.c (cspi_object_ref): kill bogus
3311 hash lookup, just increment the ref.
3312 (SPI_freeString): make explicit the fact that we
3313 handle NULL strings just fine.
3314 (report_leaked_ref): obey coding standards.
3315 (cspi_object_hash, cspi_object_equal): kill retval.
3316 (cspi_object_release): only release if not on loan.
3317 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3318 (cspi_object_borrow, cspi_object_return): impl.
3320 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3321 use cspi_object_borrow / return.
3323 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3325 * cspi/bonobo/cspi-bonobo-listener.c:
3327 Don't call cspi_oject_new() because this is creating a new Accessible
3328 every single time that an event is fired. This causes ATs like at-poke
3329 to nolonger recognise the source of the event and thus ignore it.
3330 Re-use the object from the cache, ref it and then unref it after the
3331 listeners have been called.
3333 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3335 * test/event-listener-test.c:
3336 Added command-line options to disable mouse events (m) and
3339 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3341 * configure.in: Update required versions of ATK, GTK+ and GAIL
3343 * cspi-1.0.pc.in: Add dependency for X include files
3346 * cspi/bonobo/Makefile.am:
3347 Add $(X_CFLAGS) so that X include files
3348 are picked up even if not in standard place (bug #71686)
3350 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3352 * registryd/deviceeventcontroller.c: fix for 84261
3353 (spi_dec_mouse_moved):
3354 Added test of mouse button mask, so that we can detect mouse
3355 button release. Unfortunately we can't otherwise detect mouse
3356 button release events without consuming the mouse press event,
3357 because of the way XGrabButton works. This means that our mouse
3358 release events have a latency dependent on the polling period
3359 while the mouse button is down. At least in this case we only
3360 have to poll while the button is down, and not at other times.
3361 If the button masks don't match with what the last press event
3362 reported, we report the appropriate button release event.
3363 (spi_dec_ungrab_mouse):
3364 New method (not yet called).
3365 (spi_device_event_controller_forward_mouse_event):
3366 New method, sends mouse press event from GdkFilter.
3367 (spi_dec_init_mouse_listener):
3368 Added code to call XGrabButton, redirecting mouse button events to
3369 the root window and our Gdk event loop.
3371 Added code to filter mouse button events, and reordered.
3373 * test/event-listener-test.c:
3375 Added registration for mouse events of type "mouse:button".
3377 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3379 * registryd/deviceeventcontroller.c: partial fix for 84261
3380 (spi_dec_poll_mouse_idle):
3381 New method, a timeout which checks to see if the mouse
3383 (spi_dec_poll_mouse_moving):
3384 A timeout to be called when mouse motion is underway.
3385 (spi_dec_poll_mouse_moved):
3386 A method which fires an event if the mouse has moved, and reports
3387 whether or not it did so.
3388 (spi_dec_init_mouse_listener):
3389 A method which sets up the timeouts above.
3390 (spi_device_event_controller_new):
3391 Now calls spi_dec_init_mouse_listener.
3393 * registryd/registry.c:
3394 (spi_registry_init):
3395 Now we initialize the device event controller when the registry is
3396 initialized, instead of waiting until a client has requested a key
3397 event notification; this is because we need the event controller
3398 for mouse events, but the mouse event registration API is a
3399 "registry" call and doesn't explicitly call the
3400 deviceeventcontroller.
3401 We now report mouse motion events with a 100 ms idle latency and
3402 a 20 ms granularity when motion is in progress.
3404 * test/event-listener-test.c:
3406 We now register the "detail listener" for events of type
3407 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3408 delivered only for the first mouse event received, and thereafter
3409 "mouse:abs" events are delivered.)
3411 * cspi/spi_registry.c:
3412 DOCS: Documented the above mouse event typestrings.
3414 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3416 Happy Summer Solstice...
3418 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3419 (spi_controller_notify_keylisteners):
3420 Changes to remove a listener from the listener list, freeing its
3421 open keygrabs, if a notification to that listener fails. This
3422 means that although a dead listener can continue to hold a passive
3423 keygrab, a maximum of one dispatch to such a listener can fail
3424 before the listener is removed from the list, thus the keygrab
3425 will be released on the next occurrence.
3426 As part of this fix:
3427 (spi_notify_keylisteners):
3428 Renamed to spi_controller_notify_keylisteners, as the controller
3429 instance must now be passed as an argument.
3430 The copied 'notify' GList is now a list of DEControllerKeyListener
3431 objects, since we need more than just the CORBA reference if a
3432 notify fails and we need to deregister the listener.
3433 (impl_notify_listeners_sync):
3434 (impl_notify_listeners_async):
3435 (spi_device_event_controller_forward_key_event):
3436 Modify use of notify_keylisteners in accordance with above
3438 (spi_deregister_controller_key_listener):
3439 New method introduced by refactoring, from
3440 impl_deregister_keystroke_listener.
3441 (impl_deregister_keystroke_listener):
3442 Call spi_deregister_controller_key_listener.
3443 (spi_key_listener_clone):
3444 New method to copy a key listner without doing a 'ref' on the
3445 remote object instance; used to create a notifier list.
3446 (spi_key_listener_data_free):
3447 New method, frees data without unreffing the source.
3449 (spi_key_listener_clone_free): new method.
3450 (spi_key_listener_free):
3451 refactored to call spi_key_listener_data_free.
3453 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3455 * registryd/registry.c: [fix for bug 86048]
3456 (notify_listeners_cb):
3457 Clear CORBA system exceptions which occur when notifying
3458 listeners, before returning to the source of the original event,
3459 since the event source doesn't care if the relayed notify failed.
3460 In other words, don't complain to the atk-bridge if the registry
3461 could not notify all its listeners, that's no fault of the
3462 application and thus should not appear to be an error from the
3463 application's perspective.
3465 * cspi/spi_main.c: [fix for bug 85980]
3467 Replaced use of bonobo_object_dup_ref with call to the wrapper
3468 method, csou_dup_ref (); this silences a compiler warning and
3469 provided more portability.
3471 Ping the registry before return, and restart if necessary.
3473 * cspi/bonobo/cspi-bonobo.c:
3475 New internal method.
3477 Fixed this method to return an object reference, as it should have
3480 * cspi/cspi-lowlevel.h:
3481 Added internal definition for cspi_ping() and fixed
3482 return type of cspi_dup_ref().
3485 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3487 * atk-bridge/bridge.c: [fix for bug 85305]
3488 (spi_atk_bridge_register_application):
3489 New method where the initial application registry calls have been
3490 moved; it allows an application to re-register in response to
3491 certain error conditions (such as a registry restart, see below).
3493 Moved some initialization code to the method
3494 spi_atk_bridge_get_registry, below.
3495 (spi_atk_bridge_get_registry):
3496 New, private accessor function for the Accessibility_Registry
3497 instance. If the registry has not been started before, or has
3498 died (as detected by failure of a CORBA exception), it is
3499 restarted before return, and spi_atk_bridge_register_application
3500 is called again to register with the new bridge instance.
3501 (spi_atk_emit_eventv):
3502 Set registry_died on error; use spi_atk_bridge_get_registry () to
3503 access the registry.
3505 * registryd/registry.c:
3506 (impl_accessibility_registry_register_global_event_listener):
3507 Set listener's event_type_quark to etype.minor instead of
3508 etype.major (fix for bug 84856).
3510 * test/event-listener-test.c:
3511 (report_detail_event):
3512 Change the output string so that user/tester can tell that the
3513 'detail listener' was called instead of the 'generic listener'.
3515 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3517 Fixes for bugs 84900, 84908, 84897, 84898.
3522 Revved version to 1.1.0
3523 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3524 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3526 * idl/Accessibility_Registry.idl:
3527 (EventListener::notifyEvent):
3528 Removed 'oneway' directive after extensive consulation with
3529 ORBit2 team and others. This means also that unref() of the event
3530 source can and should be done synchronously after emission, rather
3531 than remotely in the client, after servicing the notify call on
3534 NOTE: This change speeds up listener performance considerably, but
3535 introduces new latency on the application side. We may want to
3536 add an event queue to the atk-bridge.
3538 * atk-bridge/bridge.c:
3539 (spi_atk_bridge_focus_tracker):
3540 Do a local unref() on the event source after emission.
3542 * registryd/registry.c:
3543 (desktop_remove_application):
3544 Do an unref() on the event source after emission.
3545 (desktop_add_application):
3546 Do an unref() on the event source after emission.
3547 (notify_listeners_cb):
3548 When relaying an event, don't automatically add the event source
3549 to the local object cache, just CORBA_dup it instead. Likewise,
3550 if this method reenters, release the ref rather than calling
3552 (impl_registry_notify_event):
3553 No longer call remote unref() on the event source after dispatch.
3555 * libspi/eventlistener.c:
3556 (impl_accessible_event_notify_event):
3557 Removed remote unref ()
3559 * cspi/bonobo/cspi-bonobo-listener.c:
3561 We now call cspi_object_new() instead of cspi_object_add() on
3562 receipt of an event; thus we only have an implicit object ref
3563 while the cspi_event method is being executed. If we need to keep
3564 a reference to the object, the listener must call ref() on the
3565 object. Thus also we don't need to call cspi_object_unref() after
3566 invoking the listener callbacks in this method.
3570 New internal API for creating a new cspi object, without adding it
3571 to the object cache.
3573 Now uses cspi_object_new() to create the cspi object instance.
3575 Now checks to see if the object is in the internal object cache,
3576 and adds it if necessary before incrementing its refcount (note
3577 that new objects are added with a refcount of 1).
3578 (report_leaked_ref):
3579 New method which gives some information on leaked object instances
3580 if leak detection is turned on.
3582 * test/event-listener-test.c:
3583 (timing_test_event):
3584 New method, used for testing event delivery timing for special
3585 events of type "object:test". It reports elapsed time and
3586 events/sec every 500 events.
3588 Added a new listener, 'test listener', to check timing of event
3589 receipt as noted above.
3591 Added some timing output here also, reports elapsed time every 100
3594 * test/stress-test.c:
3595 Emit events of type "object:test", for use with "event-listener-test".
3597 * test/test-simple.c:
3598 (global_listener_cb):
3599 Call Accessible_ref() on the event source before calling
3600 validate_accessible, since the validation process does pointer
3601 comparisons on the event source, meaning that the event source
3602 needs to be added to the local object cache first. Any use of
3603 such pointer comparisons between Accessible objects requires that
3604 the caller hold an explicit reference to those objects.
3605 We also must therefore call Accessible_unref() when leaving this method.
3607 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3609 * registryd/deviceeventcontroller.c:
3610 (spi_controller_update_key_grabs):
3611 Fix for #84735, subsequent keygrab listeners not informed of
3612 registration failure.
3615 (spi_base_construct):
3616 Add an assertion on construct, to make sure the GObject passed in
3617 is really a GObject.
3619 Explicitly initialize object->gobj pointer to NULL;
3621 * cspi/bonobo/cspi-bonobo-listener.c:
3622 (cspi_object_add_ref):
3623 New method, can specify whether to dup-ref a bonobo object passed
3624 in if it's newly added to the object cache.
3626 Now calls cspi_object_add_ref with second param of "FALSE". This
3627 prevents us from doing a pointless dup-ref followed by
3628 release-unref for all those cases where the object is already in
3629 our object cache (fix for #85205).
3631 * atk-bridge/bridge.c:
3632 (spi_atk_bridge_idle_init):
3633 Removed this method, we don't need to initialize in an idle
3636 Changed to call spi_atk_register_event_listeners directly, not via an
3637 idle handler. (fix for #81139)
3638 (gnome_accessibility_module_shutdown):
3639 Removed conditional around deregistration of listeners, since we
3640 don't use the idle handler and thus have always registered when
3642 (spi_init_keystroke_from_atk_key_event):
3643 Changed references to Accessibility_KEY_PRESSED to
3644 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3646 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3648 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3653 * test/stress-test.c:
3656 (may have been an incomplete commit yesterday?)
3658 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3661 Added target for new stress-test.
3663 * test/stress-test.c:
3664 New test, sends 1000 focus notifies in quick succession.
3666 * test/key-listener-test.c:
3667 Now we report whether a keylistener registration
3668 request succeeded or failed.
3670 * test/event-listener-test.c:
3671 Uncommented some listeners which are now implemented.
3674 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3676 * registryd/deviceeventcontroller.c:
3677 (spi_controller_update_key_grabs):
3678 Fix for #82509, lack of failure notification when
3679 ALL_WINDOWS keygrabs fail due to XGrabKey
3680 failure: we synchronize the server when
3681 registering a passive grab, to make sure we get the
3682 error message before the call returns.
3684 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3686 * test/test-simple.c:
3688 Removed #ifdef KEY_IMPL_WORKS guards.
3689 (test_keylisteners):
3690 Removed #ifdef KEY_IMPL_WORKS guards.
3691 Fixed bug which was causing a hang waiting for a
3692 "press" event (which was already overwritten by a "release"
3693 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3695 Added code to set globals 'key_press_received' and
3696 'key_release_received'.
3699 Added section "1.1 API Proposed Additions" which
3700 lists API additions desired for at-spi-1.1 (only one so far).
3701 Updated TODO list a little.
3703 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3705 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3708 * configure.in: Revved to 1.0.0.
3710 * idl/Accessibility_Registry.idl:
3711 (registerKeystrokeListener):
3712 Added boolean return value.
3714 * registryd/registry.c:
3715 (notify_listeners_cb): Minor fix to debug output.
3717 * registryd/Accessibility_Registry.server.in.in:
3718 Revved version number in OAFIID to 1.0.
3720 * registryd/registryd.c:
3722 Use new OAFIID version.
3724 * cspi/bonobo/cspi-bonobo.c:
3726 Use new OAFIID version.
3732 * atk-bridge/bridge.c:
3734 Use new OAFIID version.
3736 * registryd/deviceeventcontroller.c:
3737 (impl_register_keystroke_listener):
3738 Added CORBA_boolean return value.
3739 (spi_controller_register_device_listener):
3740 Added gboolean return value.
3741 (spi_controller_register_global_keygrabs):
3742 Added gboolean return value.
3743 (spi_key_set_contains_key):
3744 Added implementation for many more control keys,
3745 for instance F1-F12, arrow keys, End, Home, Page_Up,
3747 [TODO: some still not implemented].
3749 * text/screen-review-test.c:
3750 (text_chunk_pad_string):
3751 New function: it provides mapping between coordinate
3752 positions of text chunks and character positions in the
3753 screen-review-line output string.
3754 (text_chunk_to_string):
3755 New function, calls text_chunk_pad_string with various
3756 pad/delimiter characters. Pushbuttons are delimited with
3757 square brackets, Frames with vertical 'pipe' lines, and
3758 other text with double quotes.
3759 (text_chunk_list_to_string):
3760 Calls new function text_chunk_to_string.
3761 (toplevel_composite):
3762 New function to composite layers CANVAS through
3763 POPUP in each toplevel (other layers are composited
3764 across toplevels, i.e. BACKGROUND and OVERLAY).
3765 (review_buffer_composite):
3766 Revise to use new methods.
3772 2002-05-31 Laszlo Peter <laca@sun.com>
3774 * configure.in: add the Xtst libdir to the runpath on Solaris,
3775 since it's not in the default library search path.
3777 2002-05-29 jacob berkman <jacob@ximian.com>
3779 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3781 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3783 * test/screen-review-test.c:
3784 (text_chunk_pad_string):
3785 Added method, which pads the string according to the
3786 text bounds of the chunk. It also takes a 3-character
3787 string as a param which indicates the characters to be
3788 used for start, padding, and end delimitation of the chunk.
3789 (text_chunk_to_string):
3790 Changed to use text_chunk_pad_string.
3792 * configure.in: Fixed bug in AC_OUTPUT that was
3793 causing path substitution in Accessibility_Registry.server
3796 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3798 * text/screen-review-test.c:
3799 (guess_string_clip):
3800 New method which attempts a best-guess at clipping
3801 text from components (like Java labels) which don't
3802 actually implement AccessibleText. This inaccurate
3803 clip is based on the assumption that the label is
3804 justified left-and-right, and monospaced.
3805 (text_chunk_get_clipped_string):
3806 We now call guess_string_clip() for text-containing
3807 components that don't implement AccessibleText.
3809 * test/screen-review-test.c:
3810 (review_buffer_get_text_chunk):
3811 We now pull "name" from labels if they do not implement
3812 AccessibleText (i.e. for Java labels).
3813 (get_screen_review_line_at):
3814 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3817 Replaceded AC_OUTPUT target
3818 registryd/Accessibility_Registry.server with
3819 registryd/Accessibility_Registry.server.in.
3821 * registryd/Accessibility_Registry.server.in:
3822 Removed (this is now a Makefile target).
3824 * registryd/Accessibility_Registry.server.in.in:
3825 Added (source for target above). We now use $(libexecdir) as
3826 prefix for the executable at-spi-registryd.
3828 * registry/Makefile.am:
3829 Now install at-spi-registryd into $(libexecdir), and build .server
3830 file with path (see above).
3832 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3834 * test/screen-review-test.c:
3835 (text_chunk_get_clipped_string):
3836 We now check to see if words fall within clip bounds
3837 before resorting to character-by-character clip bounds testing.
3839 * TODO: Added a section for "2.2 Proposed API Additions".
3841 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3843 * test/screen-review-test.c:
3845 Added a screen review benchmarking and test program to test
3848 * cspi/spi_accessible.c:
3850 Made some of the debug strings passed to cspi_check_ev a
3851 little more specific.
3853 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3855 * test/screen-review-test.c: Fix crashes in debug statements
3857 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3859 * test/screen-review-test.c: Added this file.
3861 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3863 * atk-bridge/bridge.c: changed "object:state-change" to
3864 "object:state-changed" to match docs.
3866 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3868 * atk-bridge/bridge.c: Hooked up state-change event details.
3870 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3872 * registryd/registry.c:
3873 Fixed quarking bug in event string parsing; now events with
3874 detail parameters get matched correctly to listeners.
3877 * util/idl/Magnifier.idl: remove.
3879 * util/*.[ch]: Remove.
3880 Magnification utilities and IDL are now in module gnome-mag.
3882 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3884 * registryd/deviceeventcontroller.c:
3885 Fixed bug in grab key conversion which was causing keycode grabs
3886 to be converted to AnyKey grabs.
3889 updated NEWS file to reflect recent spin-off of gnome-mag.
3891 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3893 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3894 busted AccessibleStateSet_compare. Removed redundant casts.
3896 * cspi/spi-action.c: Removed redundant casts.
3898 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3900 * cspi/spi_component.c: Fixed typos and casting error.
3902 * cspi/spi_editabletext.c: Removed redundant casts.
3904 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3906 * cspi/spi_hypertext.c: Eliminated redundant casts.
3908 * cspi/spi_image.c: Eliminated redundant casts.
3910 * cspi/spi_registry.c: Eliminated redundant casts.
3911 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3912 * cspi/spi_selection.c: Removed redundant casts.
3913 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3914 handling. Screen geometry and text offsets were being returned as 0
3915 on error which is technically valid-- changed these to return -1.
3916 Added marshaller for text boundary types to fix bug with boundary
3917 types being passed incorrectly to atk.
3919 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3922 * cspi/spi_registry.c:
3923 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3924 which was uncovered by the recent key changes.
3926 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3928 * test/event-listener-test.c:
3930 Added new test, "event-listener-test";
3931 this code does two things; it benchmarks traversal time
3932 for the accessible hierarchy for the first running accessible
3933 app, and it connects listeners for all supported event types.
3934 It is thus useful as an example event listener and for
3935 diagnostics/debugging of event generation.
3937 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3940 Removed unnecessary dependency on libutil.
3943 Revved micro version: 0.13.1
3945 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3948 Removed util/Makefile from targets.
3951 Removed util subdir from SUBDIRS (temporarily,
3952 pending removal of magnifier-only code
3956 #ifdef-ed out magnifier dependencies, since
3957 magnifier IDL, headers, and binary now live in
3958 module gnome-mag and we don't want at-spi to depend
3959 on gnome-mag. A magnifier demo which can run alongside
3960 simple-at is forthcoming in the gnome-mag module.
3962 NOTE: Split magnifier binary, IDL, and magnification
3963 activation code from at-spi into module gnome-mag.
3965 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3967 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3968 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3970 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3973 Revved to version 0.13.0
3975 * idl/Accessibility_Registry.idl:
3976 Changed definition of KeySet from sequence of longs to sequence of
3977 KeyDefinitions, and added KeyDefinition struct.
3978 Required for fix to bug 80616.
3980 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3981 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3982 to use new definition (see above).
3984 * registryd/deviceeventcontroller.c: handle_keygrab(),
3985 spi_keyset_contains_key():
3986 Changed to make use of new struct; this allows matching based on
3987 string key-name, for instance "Tab". This also allows matching of
3988 composed characters, non-alphanumeric characters in a way that
3989 doesn't involve dependencies on X keysym codes directly, etc.
3991 * test/key-listener-test.c:
3992 Added test for Alt-Tab key using "string" specification of keyset,
3993 and modified one of the tests to use a keycode-based keyset.
3994 Thus this test both tests and demonstrates the creation and use of
3995 keysets of three forms: specified via keycode array,
3996 keysym array, and string array. (The string case only contains a
3997 single string, i.e. a string array of length 1).
4000 Turned on PRINT_TREE option by default. Also fixed a
4001 string-freeing bug in the PRINT_TREE code.
4002 Added a listener to window:minimize events.
4004 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4006 * atk-bridge/bridge.c:
4007 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4008 for window:activate and window:deactiveate
4009 (atk_bridge_property_event_listener atk_bridge_signal_listener
4010 atk_bridge_window_event_listener) Tidy debug code
4012 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4014 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4015 Fixed handling for NULL return value from ATK.
4017 * libspi/action.c libspi/component.c libspi/editabletext.
4018 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4019 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4020 Removed redundant casts.
4022 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4023 Fixed off by one bug.
4025 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4026 function not present in idl)
4028 2002-05-02 jacob berkman <jacob@ximian.com>
4030 * atk-bridge/Makefile.am: make atk-bridge a real module
4032 2002-04-26 Radek Doulik <rodo@ximian.com>
4034 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4035 atk_state_types table
4037 2002-04-22 jacob berkman <jacob@ximian.com>
4040 * libspi/Makefile.am: add deps on the built files to help
4041 automake, and don't version the ORBit typelib
4043 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4045 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4046 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4047 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4048 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4049 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4050 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4051 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4052 libspi/accessible.h libspi/accessible.h libspi/base.h
4053 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4054 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4055 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4056 libspi/spi-private.h libspi/statetset.h libspi/table.h
4057 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4058 util/mag_client.h util/mag_control.c util/mag_image.c
4059 util/mag_image.h util/magnifier.c util/magnifier.h:
4060 Add missing file headers; standardize existing ones
4062 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4064 * atk-bridge/bridge.c: Added window event support.
4066 2002-04-18 Michael Meeks <michael@ximian.com>
4068 * libspi/relation.c (impl_getNTargets): impl.
4069 (impl_getTarget): impl.
4071 * libspi/Makefile.am: fix stateset install.
4073 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4076 Started putting useful info in this file.
4078 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4080 * atk-bridge/bridge.c:
4081 Propagate state-changed notifications to ATs
4083 * cspi/spi_registry.c: update docs to reflect actual behavior of
4084 state-change events.
4086 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4089 Incremented version to 0.12.1
4091 * util/mag_client.h:
4092 Add missing declaration for magnifier_exit,
4093 used by mag_control.c - Forte compiler didn't like
4094 the implicit redeclaration of the function :-(
4097 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4100 Revved version to 0.12 due to API change (see below).
4102 * cspi/spi-roletypes.h:
4103 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4104 definition from the inline docs, and added docs
4105 for SPI_ROLE_LAST_DEFINED.
4108 * cspi/spi_streamablecontent.c:
4109 Added missing seek_type parameter to
4110 (so far unused) method,
4111 AccessibleStreamableContent_seek().
4112 [ RT approval JodyG. ]
4115 Fixed docs for SPI_createAccessibleKeystrokeListener.
4117 * cspi/spi_registry.c:
4118 Fixed docs for SPI_KEYSET_ALL_KEYS.
4120 * docs/reference/cspi/at-spi-cspi-sections.txt:
4121 Added a number of missing APIs to SECTIONS.
4123 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4125 * registryd/Makefile.am:
4127 * cspi/bonobo/Makefile.am:
4128 Add $(X_LIBS) to makefiles.
4130 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4133 Revved version to 0.11.
4135 * libspi/component.c:
4136 Added implementation for grabFocus.
4138 * idl/Accessibility_Component.idl
4139 (Accessibility_Component_grabFocus):
4140 Made this method return boolean to indicate success or failure, to
4141 be consistent with cspi and the corresponding ATK method.
4143 * idl/Accessibility_Selection.idl
4144 (Accessibility_Selection_selectAll) :
4145 Made these methods return boolean to indicate success or
4146 failure, to be consistent with cspi and the corresponding ATK methods.
4148 * idl/Accessibility_EditableText.idl
4149 (Accessibility_EditableText_setTextContents,
4150 Accessibility_EditableText_insertText,
4151 Accessibility_EditableText_cutText,
4152 Accessibility_EditableText_deleteText,
4153 Accessibility_EditableText_pasteText):
4154 Made these methods return boolean to indicate
4157 * cspi/spi_editabletext.c:
4158 Made these methods return booleans.
4160 * libspi/selection.c:
4161 * libspi/component.c:
4162 * libspi/editabletext.c:
4163 Connected the boolean returns from ATK
4164 to the server-side code referenced above.
4166 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4168 * idl/Accessibility_Table.idl: Added missing methods,
4169 Accessibility_Table_addRowSelection,
4170 Accessibility_Table_addColumnSelection,
4171 Accessibility_Table_removeRowSelection,
4172 Accessibility_Table_removeColumnSelection.
4175 Added C wrappers for above IDL:
4176 AccessibleTable_addRowSelection,
4177 AccessibleTable_addColumnSelection,
4178 AccessibleTable_removeRowSelection,
4179 AccessibleTable_removeColumnSelection.
4182 Added server-side implementation code for IDL above, connecting
4183 to pre-existing ATK api.
4185 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4187 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4189 * libspi/accessible.c: Added implementation fo
4190 Accessibility_Accessible_get_state.
4192 * libspi/libspi.h: Added stateset.h to the list of includes.
4194 * libspi/stateset.c: Fixed broken implementation.
4196 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4199 Added implementation code for Accessibility_Magnifier_exit ().
4201 * util/mag_control.c:
4202 Added test code for above method; you can
4203 now kill an existing magnifier via
4204 ./mag_control q, from the util directory.
4206 * test/key-listener-test.c:
4208 Added a new test, for our key listener API.
4210 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4212 * test/app.c, test/keysynth-demo.c:
4214 Replace use of snprintf with g_snprintf.
4215 (fix for bugzilla 78249)
4217 2002-03-27 Michael Meeks <michael@ximian.com>
4221 * util/Makefile.am (INCLUDES): fix.
4222 (DONT_DIST_SOURCE): don't distribute the
4225 * libspi/Makefile.am (dist-hook): ditto.
4227 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4229 * libspi/hypertext.c:
4230 Fix warnings when yelp is used with atk-bridge
4232 2002-03-21 Michael Meeks <michael@ximian.com>
4234 * libspi/application.c (spi_application_new):
4235 use spi_accessible_construct so we use the AtkObject
4238 2002-03-19 Michael Meeks <michael@ximian.com>
4240 * registryd/registry.c (desktop_remove_application),
4241 (desktop_add_application): clean coding style.
4243 * registryd/desktop.c (spi_desktop_remove_application),
4244 (spi_desktop_add_application): kill re-enterency hazards.
4245 (spi_desktop_dispose): remove bogus redundant cast
4246 obscuring bug; fix bug too.
4247 (spi_desktop_init): make the desktop object immortal.
4249 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4252 Added a #define-guarded tree-traversal step
4253 when enumerating the apps (diagnostic tool).
4255 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4257 * idl/Accessibility_Role.idl:
4258 Added ROLE_DRAWING_AREA which seemed to be missing from the
4261 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4263 * cspi/spi-roletypes.h cspi/spi_accessible.c
4264 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4267 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4268 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4269 AT when applications are added and removed from the desktop. This
4270 reverts the previous broken implementation using the backing
4271 AtkObject for the SpiDesktop.
4273 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4275 * registryd/desktop.c: emit the "children-changed::add" and
4276 "children-changed::remove" signals on the backing ATK object for
4277 the desktop so AT can tell when applications are started and shut
4280 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4282 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4284 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4286 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4288 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4290 * cspi/state-types.h: synched with IDL and ATK
4292 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4294 * libspi/accessible.c
4295 (impl_accessibility_accessible_get_child_at_index):
4296 Change return value for g_return_if_fail ()
4297 to CORBA_OBJECT_NIL instead of "0" (!)
4299 * registryd/Makefile.am:
4300 * registryd/Accessibility_Register.server.in:
4301 Changed name of executable, "registryd",
4302 to something more informative:
4305 2002-03-13 Michael Meeks <michael@ximian.com>
4307 * atk-bridge/bridge.c (atk_bridge_init): don't register
4308 if we're in a bonobo-component, rather than a bonobo app.
4310 2002-03-13 Michael Meeks <michael@ximian.com>
4312 * atk-bridge/bridge.c (gtk_module_init): split
4313 out body to (atk_bridge_init): here, since otherwise
4314 we get symbol conflicts and oddness when invoked
4315 from (gnome_accessibility_module_init): here (upd.)
4317 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4320 New file. Explicitly allow "build sheriff" putbacks provided
4321 they are tested on Solaris.
4323 * docs/reference/cspi/Makefile.am:
4324 Added '-' to the "cp" command for index.sgml.
4325 ("patch by thomasvs, soon coming to a GUADEC near you")
4328 Incremented version number (0.9.0) for new release.
4329 Changed macro that checks for popt, to better detect
4330 obsolete versions of popt.
4333 Added X_LIBS to AC_SUBST, for applications
4334 that call Xlib API directly.
4337 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4340 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4343 Fix regression caused by hard-coding major
4344 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4347 * test/test-simple.c (test_editable_text),
4348 (test_test): revert previous change (error was
4349 a regression in gail which is now fixed).
4351 2002-03-04 Michael Meeks <michael@ximian.com>
4353 * test/test-simple.c (test_editable_text),
4354 (test_text): pass G_MAXINT instead of '-1' for
4355 whole string - is this a good thing !?
4357 * cspi/spi_accessible.c
4358 (Accessible_getRelationSet): fix crasher bug
4359 overwriting the end of the array.
4361 * test/test-simple.c (validate_accessible): free,
4362 not g_free returned relation set.
4364 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4366 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4367 implemented stateset support
4369 * idl/Accessibility_State.idl: Made necessary changes to
4370 the IDL to support state sets.
4372 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4374 * registryd/deviceeventcontroller.c:
4375 Added implementation for generateMouseEvent.
4377 * cspi/spi_registry.c:
4378 Connected new implementation for generateMouseEvent
4381 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4384 Incremented revision (but no change in public API
4385 outside of 'utils', which are not installed public yet.)
4387 * libspi/component.c:
4388 Changed to use atk_component API for layers and
4389 mdi_zorder, instead of deprecated atk_object API.
4391 Magnification Utility Enhancements:
4394 Added implementation of createZoomRegion, clearAllZoomRegions,
4395 resizeZoomRegion. Added new commandline argument
4396 "--no-initial-region". Note that clearAllZoomRegions doesn't
4397 unmap the old '0' region as it should (yet), and the other
4398 methods only work when creating/resizing a single region,
4399 which is "region 0".
4400 (Code for multiple region support will be added later.)
4403 Now we raise the magnifier window each time it's refreshed;
4404 this will help keep it on top.
4406 * util/mag_client.h:
4407 Added simple wrappers for above, used by mag_control.
4408 For general use, it's recommended to use the bonobo magnifier
4409 control API directly instead of using these wrappers.
4412 Moved ZoomRegionData from magnifier.c to this file.
4414 * util/mag_control.c:
4415 Added some code to exercise new IDL implementations.
4417 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4419 * libspi/text.c: Provide implementation for getAttributes.
4421 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4424 Incremented revision.
4426 * test/test-simple.c:
4427 Replaced use of deprecated g_main_iteration with
4428 g_main_context_iteration.
4430 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4433 Incremented revision for desktop alpha 2.
4435 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4437 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4440 * test/simple-at.c: include netinet/in.h.
4442 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4444 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4445 use NULL, not CORBA_OBJECT_NIL.
4447 * libspi/accessible.c:
4448 (impl_accessibility_accessible_get_relation_set):
4449 allocate the sequence correctly.
4451 * libspi/remoteobject.h: kill spi_remote_object_new.
4453 * test/test-simple.c: (validate_accessible): add code
4454 to test relation sets, now all we need is to figure
4455 out how to excercise this code path :/
4457 2002-01-18 Michael Meeks <michael@ximian.com>
4459 * test/test-simple.c
4460 (key_listener_cb): consume the key.
4461 (test_keylisteners): update.
4462 (main): wait for any pending unrefs on events.
4464 * registryd/deviceeventcontroller.c
4465 (spi_controller_update_key_grabs): only re-issue the
4466 grab on a key release.
4467 (spi_device_event_controller_forward_key_event):
4468 refresh the keygrabs before we notify the listeners,
4469 to reduce the X ungrab / re-grab race.
4470 (spi_controller_register_with_devices): remove
4471 XSelectInput - we do that with the gdk_window_ call.
4472 (_spi_controller_device_error_handler): return a value.
4473 s/GDK_DISPLAY/spi_get_display/
4475 2002-01-17 Michael Meeks <michael@ximian.com>
4477 * registryd/deviceeventcontroller.c
4478 (_deregister_keygrab): don't blow out the later
4481 * test/test-simple.c (test_keylisteners): do a
4482 more intelligent validation.
4484 2002-01-14 Michael Meeks <michael@ximian.com>
4486 * atk-bridge/bridge.c
4487 (gnome_accessibility_module_init),
4488 (gnome_accessibility_module_shutdown): impl.
4489 (gtk_module_init): protect vs. double inits.
4490 (add_signal_listener): impl.
4491 (spi_atk_bridge_state_event_listener): kill
4492 (deregister_application): split out of
4493 (spi_atk_bridge_exit_func): here.
4495 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4498 Added caret tracking when using magnifier, and
4499 now use text bounds for focus tracking of text elements, rather than
4500 the component bounds - this is helpful for short text fields in long
4501 table cells, at high magnification.
4503 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4505 * registryd/deviceeventcontroller.c:
4506 Regression fix for keylistener de-registration; global keygrabs
4507 were not being released when deregisterKeystrokeListener was
4508 called in cspi, since
4509 Accessibility_DeviceEventController_deregisterKeystrokeListener
4510 was called with a zero-length keyset. That is because the cspi
4511 method, SPI_deregisterKeystrokeListener, does not take a keyset
4512 parameter but instead should remove all the key grabs held be a
4514 The code in impl_deregister_keystroke_listener was changed to copy
4515 the keylist from the listener instance previously registered with
4516 the DeviceEventController before releasing the grabs.
4518 * registryd/registry.c:
4519 * registryd/deviceeventcontroller.c:
4520 * libspi/spi-private.h:
4522 Changed spelling of "re-enterant" to "re-entrant" globally.
4524 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4526 * test/test-simple.c:
4527 Changed key listeners test - the test was slightly mis-using the
4528 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4529 It now uses '=' as the key event listened to and generated,
4530 relying on a keysym match rather than assuming that keycode 33
4531 is always equal to keysym '!'.
4533 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4536 Changed simple-at to use a specific keyset, rather than
4537 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4538 manager, desktop, etc.
4540 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4542 * registryd/deviceeventcontroller.c:
4543 Replaced standard X error handler with a special handler that
4544 is non-fatal for failed keygrabs. This works around
4545 problems with keygrab clashes sometimes observed on
4547 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4548 mouse handling code as yet).
4550 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4553 Incremented revision for desktop alpha release.
4556 Fixed a couple of the more glaring errors (still not
4559 2002-01-11 Michael Meeks <michael@ximian.com>
4561 * registryd/deviceeventcontroller.c
4562 (spi_device_event_controller_forward_key_event): kill
4563 XUngrabKey / XKeyGrab race.
4564 (spi_controller_grab_keyboard): rename to
4565 (spi_controller_update_key_grabs): this, and deal
4566 with incremental adding / removing grabs more
4568 (_register_keygrab): ensure we're not pending a remove.
4569 (spi_grab_mask_free): impl.
4570 (spi_controller_register_global_keygrabs): split out
4572 (handle_keygrab): impl.
4573 (_deregister_keygrab): impl.
4574 (spi_controller_deregister_global_keygrabs): impl.
4575 (spi_controller_update_key_grabs): re-issue the grab if
4576 we just recieved a notification.
4578 * test/test-simple.c (key_listener_cb): remove debug.
4580 * registryd/deviceeventcontroller.c
4581 (spi_controller_register_device_listener): after
4582 registering a global keygrab, actualy register it !
4583 don't wait for a timeout; doh !
4585 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4586 to make it more readable / manipulable.
4587 s/grabmask/grab_mask/ s/refcount/ref_count/
4588 s/keyval/key_val/ s/modmask/mod_mask
4590 2002-01-08 Michael Meeks <michael@ximian.com>
4592 * registryd/deviceeventcontroller.c
4593 (spi_controller_register_with_devices): use gdk calls to
4595 (global_filter_fn): implement the filter.
4596 (spi_device_event_controller_check_key_event): rename to
4597 (spi_device_event_controller_forward_key_event): this & upd.
4598 (spi_get_display): replace with GDK_DISPLAY.
4600 * registryd/deviceeventcontroller.c
4601 (spi_controller_deregister_device_listener): unroll into
4602 (impl_deregister_keystroke_listener): here to simplify.
4603 (spi_controller_register_global_keygrabs): split cut and
4604 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4605 (spi_controller_deregister_device_listener): remove.
4606 (impl_register_mouse_listener): remove, no mouse listener
4607 support in at-spi-1.0
4609 * registryd/registry.c
4610 (_device_event_controller_hook): kill.
4611 (spi_registry_init): upd.
4613 * registryd/deviceeventcontroller.c
4614 (spi_device_event_controller_class_init): upd.
4615 (spi_check_key_event): merge into.
4616 (spi_device_event_controller_check_key_event):
4617 here and kill strange static ev init, don't leak
4618 the x_event - nor dynamicaly allocate it.
4620 * registryd/registry-main.c (main): re-direct
4621 timeout to remove strange vtable mess.
4623 * registryd/deviceeventcontroller.c
4624 (remove_listener_cb): impl.
4625 (spi_controller_deregister_device_listener):
4626 fix re-enterancy hazard.
4628 2002-01-07 Michael Meeks <michael@ximian.com>
4630 * registryd/deviceeventcontroller.c
4631 (spi_device_event_controller_new): upd.
4632 (impl_notify_listeners_sync): upd. debug.
4633 (spi_notify_keylisteners): fix re-enterancy hazards,
4634 prettify, remove O(n*n) iteration.
4635 (spi_controller_grab_keyboard): fix iteration.
4636 (spi_check_key_event): re-format to suit coding style.
4637 Clean all the warnings - we're warning free.
4639 * registryd/deviceeventcontroller.h:
4640 * registryd/registry.h: make mutualy referential with
4641 typesafe forward references instead of (!) void pointer
4644 2002-01-11 Michael Meeks <michael@ximian.com>
4646 * cspi/spi_accessible.c (role_names): add a role name
4647 to sync this array with the enum; and make the regression
4650 2002-01-10 Michael Meeks <michael@ximian.com>
4652 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4653 allow expansion of enumeration & kill warning.
4655 * test/test-simple.c (key_listener_cb): impl.
4656 (test_keylisteners): impl.
4658 * cspi/spi-listener.h: make listener signatures const
4659 on the provided (const) events.
4661 * test/keysynth-demo.c: upd. to const events.
4663 * test/simple-at.c: ditto.
4665 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4668 Rev the version to 0.5 (the previous tarball was named 0.4,
4669 even though the micro number was 3), so we need to rev upwards
4670 again for beta2/"desktop-alpha"
4673 Checked in a demo script, which requires editing before use!
4674 Proceed with caution.
4677 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4679 * cspi/spi_accessible.c:
4680 Add a couple of missing enum initializations, and fix some enum
4683 * cspi/spi_registry.c:
4684 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4686 * docs/reference/cspi/at-spi-cspi-sections.txt:
4687 Remove/fix a couple of broken document references.
4690 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4691 as Alt-Control to listen for commands, since on some systems
4692 Control-Alt may already be grabbed.
4694 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4697 Update version number to 0.4 for Beta2.
4699 * libspi/accessible.c, libspi/accessible.h:
4700 Expose spi_accessible_construct, to enable libgail-gnome
4701 construction from spi_accessible subtype.
4703 * utils/magnifier.c:
4704 Workaround for bug in some non-gnome-compliant window managers
4705 which made magnifier resize improperly.
4707 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4709 * libspi/accessible.c: (spi_accessible_new) :
4710 Move the test for SPI_IS_REMOTE_OBJECT to
4711 spi_accessible_new_return, fixing a bug and compile time warning.
4713 2002-01-08 Michael Meeks <michael@ximian.com>
4715 * registryd/registry.c (parse_event_type): remove strndup.
4717 * libspi/Makefile.am (libspi_la_SOURCES): remove
4718 sources already included in the headers section.
4720 * libspi/util.c: add.
4722 * libspi/spi-private.h: add.
4724 * registryd/registry.c: update to moved list iterators.
4726 2002-01-05 Michael Meeks <michael@ximian.com>
4728 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4730 * test/test-simple.c (main): ditto.
4732 2002-01-04 Michael Meeks <michael@ximian.com>
4734 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4735 redundant construct.
4737 * registryd/registry.c
4738 (get_listener_list): impl.
4739 (impl_accessibility_registry_register_global_event_listener):
4740 re-impl. to simplify using ~, remove dodgy const cast off.
4741 (parse_event_type): constify.
4742 (impl_accessibility_registry_deregister_global_event_listener_all):
4743 re-write, more efficiency and simplicity, kill re-enterancy
4745 (compare_listener_corbaref, compare_corba_objects),
4746 (compare_listener_quarks): define out.
4747 (impl_accessibility_registry_deregister_global_event_listener):
4748 re-write for effiency, and nail re-enterancy hazard.
4749 (impl_accessibility_registry_get_desktop_list): impl.
4750 (re_enterant_list_delete_link): impl.
4751 (re_enterant_list_foreach): impl.
4752 (remove_listener_cb): impl.
4753 (_registry_notify_listeners): kill.
4754 (notify_listeners_cb): impl.
4756 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4757 (SPI_getDesktopList): impl.
4759 * test/test-simple.c (test_desktop): test the methods.
4761 2002-01-03 Michael Meeks <michael@ximian.com>
4763 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4764 keystrings since we free them
4765 (SPI_freeAccessibleKeySet): in here.
4767 * libspi/accessible.c (spi_accessible_new): kill warning,
4768 wonder what is going on with the constructor here.
4770 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4772 * libspi/accessible.c (spi_accessible_new ()) :
4773 Added check to see if AtkObject is an SpiRemoteObject before
4774 creating an SpiAccessible.
4776 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4778 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4779 Enable keygrabs using the Control modifier, now that they are
4780 working properly (they were previously disabled).
4783 Change the command keygrab for this demo to "Control+Alt", so as
4784 to conflict with fewer other key commands on the system; this
4785 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4787 Removed a pointlessly-chatty keylistener for unshifted keys
4788 (shifted keys are still reported).
4790 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4792 * libspi/remoteobject.h:
4793 * libspi/remoteobject.c:
4794 Added definitions for special AtkObject subtype, required for
4795 support of remote components (specifically, used by BonoboControl
4796 accessibility implementation).
4798 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4800 * cspi/spi.h: synched relation types with ATK
4802 * cspi/spi_accessible.c: Added implementations of
4803 AcccessibleRelation_* methods
4805 * idl/Accessibility_Relation.idl: added getRelationTypeName
4806 method. Synched known relation types with ATK. Allowed for
4807 relation type extension with the RELATION_EXTENDED type.
4809 * libspi/relation.c: Provided implementations for
4810 AccessibleRelation methods.
4812 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4814 API tweaks for today's API 'freeze'.
4817 Added placeholder functions to allow future compatible expansion
4818 of the IDL interfaces.
4820 * idl/Accessibility_Registry.idl:
4821 Changed generateKeyEvent to generateKeyboardEvent. Changed
4822 signature of this method to accept an optional keystring in
4823 parameter (for complex text input synthesis) and changed use of
4824 simple 'boolean' parameter in registerKeystrokeListener to a
4825 struct, EventListenerMode.
4827 * cspi/spi_accessible.c:
4829 * cspi/spi_streamablecontent.c:
4830 Added references to AccessibleStreamableContent interface, and
4831 definition and implementation of AccessibleStreamableContent
4834 * cspi/spi_registry.c:
4836 Changed generateKeyEvent API to generateKeyboardEvent,
4837 taking a new (optional) keystring parameter to support complex
4842 Renamed directory (to better reflect its actual purpose, bridging
4843 from at-spi to ATK). The .so module is also now named
4846 * idl/Accessibility_Hypertext.idl:
4847 * libspi/accessible.c:
4848 * libspi/hypertext.h:
4849 * libspi/hypertext.c:
4850 Changed Accessibility_Hypertext to *not* derive from
4853 * cspi/spi_registry.c:
4854 Added list of legal event type names for 'window' events, which
4855 completes the registry event API.
4857 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4859 * at-bridge/bridge.c: Added registration for separate
4860 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4861 signals. If either of the first two parameters to the generic
4862 bridge signal handler are ints, they are passed on as event
4863 details. This allows an AT to determine what text was inserted.
4865 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4867 * registryd/deviceeventcontroller.c:
4868 Fixed regressions in generateKeyEvent caused by the removal of
4869 gdk_init from registryd; we now use pure X calls to connect to the
4870 display, which makes sense because deviceeventcontroller already
4871 uses a fair bit of X API (should eventually be migrated to a
4872 'portability layer').
4874 * registryd/desktop.c:
4875 Fixed minor regression in spi_desktop_init, changed the way the
4876 desktop name is being set to work with new spi_base API
4877 (gobject-based, rather than AtkObject-based).
4879 * registryd/Makefile.am:
4880 Minor revision of makefile to use XTST_LIBS variable rather than
4881 hard-wiring the Xtst LD_ADD element.
4883 * test/keysynth-demo.c:
4884 Tweaked an output message; added initialization of the
4885 'keystrings' member of the "switch listener" key_set.
4887 * libspi/relation.c:
4888 Squashed compile-time warning.
4890 * libspi/accessible.c:
4891 Cosmetic and formatting fixes, renamed a static method.
4893 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4895 * libspi/accessible.c
4897 * libspi/application.c
4900 * libspi/component.c
4901 * libspi/editabletext.c
4902 * libspi/hyperlink.c
4903 * libspi/hypertext.c
4905 * libspi/selection.c
4909 * registryd/desktop.c:
4910 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4912 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4914 * idl/Accessibility_Registry.idl:
4915 Added boolean member 'is_text' to DeviceEvent. This is for the
4916 use of key events, and helps prevent ambiguity between composed
4917 key strings and keysym names, since both may potentially be
4918 returned in the 'event_string' member.
4920 * at-bridge/bridge.c:
4921 * registryd/deviceeventcontroller.c:
4922 Use the 'is_text' member when notifying device event listeners.
4923 Knon issue: composed characters are not dealt with correctly by
4924 the global key listener implementation yet.
4926 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4928 * at-bridge/bridge.c:
4929 Namespaced local static methods to spi_atk_bridge_* where
4930 previously named bridge_*, and spi_* elsewhere.
4932 * at-bridge/bridge.c:
4933 * cspi/bonobo/cspi-bonobo-listener.c:
4934 Added demarshalling/conversion for string member of
4935 Accessibility_DeviceEvent to AccessibleKeystroke.
4937 * registryd/deviceeventcontroller.c:
4938 Added code to fill the Accessibility_DeviceEvent key string value
4939 member for global key events (i.e. from XGrabKey), to match
4940 behavior of Accessibility_DeviceEvent from the toolkit key events
4941 from the bridge. Fixed timestamp in global key event notifications.
4944 Added printout of key event's string value to
4945 report_ordinary_key_event, for demo/debugging purposes.
4947 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4949 * idl/Accessibility_Registry.idl:
4950 Removed Accessibility_KeyStroke structure in favor of generic
4951 Accessibility_DeviceEvent structure.
4952 Changed Accessibility_ControllerEventMask from a struct to an
4955 * at-bridge/bridge.c:
4956 Changed APIs to use DeviceEvent structure as above, and removed
4957 bogus casting between these event structures.
4959 * cspi/spi-listener.h:
4960 Added keystring member of AccessibleKeystroke structure, to enable
4961 matching on event "names" rather than only hardware codes and
4965 Added keystrings member of AccessibleKeySet struct, to allow
4966 matching on event names (as above).
4967 Added declarations for SPI_createAccessibleKeySet and
4968 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4969 event modmasks directly as unsigned ints rather than structs with
4970 refcounts, in the DeviceEventController methods.
4972 * cspi/spi_registry.c:
4973 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4975 * cspi/spi-roletypes.h:
4976 Added documentation of newly added SPI Roles.
4978 * cspi/bonobo/cspi-bonobo-listener.c:
4979 Changes in support of API changes above.
4981 * libspi/accessible.c:
4982 Converted APIs to use DeviceEvent structure (see IDL changes
4985 * registryd/deviceeventcontroller.c:
4986 Added DEControllerGrabMask structure to track keygrabs not only by
4987 modmask but by keyset as well; this allows us to do "global"
4988 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4989 grabbing on AnyKey and then filtering after-the-fact.
4990 Bugfixes for event filtration mean that we don't get false matches
4991 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4993 * registryd/deviceeventcontroller.c:
4994 Namespaced a number of static methods to use spi_ prefix. Major
4995 revision to internals of global (i.e. X) key grabs.
4997 * registryd/deviceeventcontroller.h:
4998 Removed keymask_list and added keygrabs_list to
4999 SpiDeviceEventController struct.
5002 Added use of SPI_createAccessibleKeySet API when creating a
5003 listener for only one key. Attach a listener to "shift spacebar
5004 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5005 X key event names to SPI key event names, so that listeners are
5006 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5008 * test/keysynth-demo.c:
5009 Changed (incorrect) use of X key event names (KeyPressed,
5010 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5013 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5015 * libspi/accessible.c:
5016 Convert all AtkRole enumerations to Accessibility_Role enums when
5017 getting a role from an AtkObject.
5019 * cspi/spi_accessible.c:
5020 Complete the conversion of Accessibility_Role enums at runtime to
5021 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5022 role enums correctly match those given in spi-roletypes.h.
5023 Re-synchronize the local names list for AccessibleRole_getName ().
5024 AccessibleRole_getName is now deprecated, since it duplicates the
5025 more reliable Accessible_getRoleName.
5026 Added some role types from Accessibility_Role.idl.
5028 * idl/Accessibility_Role.idl:
5029 Added some role types used by AtkRole.
5031 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5034 * cspi/spi_registry.c:
5036 * cspi/cspi-bonobo-listener.c:
5037 Namespaced all methods that did not begin with an "SPI_" or
5038 "Accessible" prefix to "SPI_".
5041 Homogenized internal function namespace to "cspi_" for statics.
5044 Patched tests to use the new CSPI API.
5046 * docs/reference/cspi/at-spi-cspi-sections.txt:
5047 Updated docs to reflect namespace changes, and added a number of
5048 methods to the documentation.
5050 * registryd/registry.c:
5051 Changed use of strings and string hashes in listener event
5052 matching and parse_event_string to use GQuark, which is guaranteed
5055 * registryd/registry.h:
5056 Squashed annoying warning.
5058 * idl/Accessibility_Role.idl:
5059 Extended range of available Accessibility_Role values.
5061 * cspi/spi_accessible.c:
5062 Re-ordered role names.
5064 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5066 * idl/Accessibility_Value.idl:
5067 Revert use of union back to CORBA_double, since the double type is
5068 more efficient and can contain the other types without loss of
5071 * idl/Accessibility_Accessible.idl:
5072 Added method Accessibility:Accessible:getRoleName, to complement
5073 Accessibility:Accessible:getRole.
5075 * cspi/spi_accessible.c:
5077 Added C binding for above, Accessible_getRoleName (), and changed
5078 signature of Accessible_getRole () to return an AccessibleRole.
5080 * cspi/spi-roletypes.h:
5081 Changed AccessibleRole_getName to return a char * instead of a
5082 const char *. This method is now at least temporarily deprecated
5083 in favor of asking Accessibles for their RoleNames directly.
5086 Revert to match Accessibility_Value.idl;
5090 Change signature of AccessibleValue methods to use double rather
5094 * cspi/spi_accessible.c:
5095 Changed Accessible_getRole to return an AccessibleRole enum rather
5096 than a UTF-8 string. The UTF-8 string can still be obtained via
5097 AccessibleRole_getName ().
5099 * test/test-simple.c:
5100 Add test_action. Small fixup to match API change to Accessible_getRole.
5103 Bugfix for get_action_from_servant ().
5105 2001-12-11 Michael Meeks <michael@ximian.com>
5107 * libspi/libspi.h: remove registry.h and
5108 desktop.h, deviceeventcontroller.h
5110 * libspi/Makefile.am: remove registry.[ch],
5111 desktop.[ch], deviceeventcontroller.[ch]
5113 * registryd/Makefile.am: add registry.[ch],
5114 desktop.[ch], rename registryd.c to registry-main.c.
5115 add deviceeventcontroller.[ch]
5117 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5120 Replace setenv() call with putenv ().
5122 * libspi/component.c:
5123 Bugfix in AccessibleComponent_getExtents (),
5126 2001-12-11 Michael Meeks <michael@ximian.com>
5128 * libspi/image.c (impl_getImageExtents): impl.
5129 (spi_image_class_init): upd.
5132 (AccessibleImage_getImageDescription): fix daft bug
5135 * test/test-simple.c (global_listener_cb): update
5136 to only quit if not --poke
5137 (main): catch --poke.
5138 (validate_accessible): upd. dumping, call test_image
5141 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5144 * idl/Accessibility.idl: update all IDL includes.
5146 * idl/*.idl - rename to namespace - this sucks, blame
5147 mjs' bad decision for oafd.
5149 * test/test-simple.c (create_test_window): add more tests.
5150 (create_tree): split this out.
5151 (validate_accessible): bugfix.
5153 2001-12-11 Michael Meeks <michael@ximian.com>
5155 * cspi/bonobo/cspi-bonobo-listener.c:
5156 (cspi_kestroke_listener_unref),
5157 (cspi_event_listener_unref): impl. undoing previous
5158 homenous environment - for Bill.
5160 * cspi/spi_table.c (long_seq_to_array): use
5163 * cspi/spi_main.c: split out all bonoboish bits into
5166 * cspi/spi-impl.h: upd. typedefs.
5168 * cspi/spi_registry.c: update to lowlevel API,
5169 return booleans to indicate success in some places.
5171 * cspi/spi_event.c: update to lowlevel API.
5173 * cspi/bonobo/Makefile.am: add.
5175 * cspi/bonobo/cspi-lowlevel.h: add
5177 * cspi/bonobo/cspi-bonobo.c: add
5179 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5181 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5182 (SUBDIRS): add bonobo, link in the libs.
5184 * cspi/spi-util.c: kill this file.
5186 * TODO: merge in my bits.
5188 2001-12-11 Michael Meeks <michael@ximian.com>
5190 * test/test-simple.c (test_value, test_table, main):
5191 remove unused variables causing warnings.
5193 * configure.in: cleanup checks - require gail.
5195 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5198 Changed Value interface to use SValue (scalars) rather than
5199 assuming all values are floats. This allows floats, doubles,
5200 longs, shorts, and unsigned values to be manipulated.
5201 Introduced Accessibility:SValue union.
5204 Updated to use new API above, and to work correctly with GValues
5205 of different types in AtkValue.
5208 Updated to use new API above. cspi's API is as yet unchanged.
5211 Updated the Value revision action item.
5213 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5215 * test/test-simple.c:
5216 Added test_table (GtkTreeView widget in test window to follow).
5217 Un-commented test_value, added GtkRange widget.
5218 Added GtkTreeView widget with GtkListStore. It passes regression
5219 test but leaks one SPI object for some reason.
5222 Fixed bug in impl__set_currentValue.
5224 2001-12-10 Michael Meeks <michael@ximian.com>
5226 * cspi/spi_text.c: audit for exception handling,
5227 tolerating NULL object references safely etc.
5229 * cspi/spi_value.c: ditto.
5231 * cspi/spi_table.c (AccessibleTable_getSummary),
5232 (AccessibleTable_getAccessibleAt),
5233 (AccessibleTable_getRowHeader),
5234 (AccessibleTable_getColumnHeader),
5235 (AccessibleTable_getCaption): fix bugs hidden by
5237 (long_seq_to_array): impl.
5238 (AccessibleTable_getSelectedRows),
5239 (AccessibleTable_getSelectedColumns): use it.
5241 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5244 Added a TODO list (rough and short for now).
5246 * cspi/spi_hyperlink.c:
5247 * cspi/spi_hypertext.c:
5248 Fixed macro name typos, and remove use of obsolete macro in
5249 AccessibleHyperlink_getLink.
5251 * cspi/spi_action.c:
5252 * cspi/spi_accessible.c:
5253 * cspi/spi_application.c:
5254 * cspi/spi_component.c:
5255 * cspi/spi_selection.c:
5258 Documentation fixes (removed return values from ref/unref methods).
5260 2001-12-10 Michael Meeks <michael@ximian.com>
5262 * cspi/spi_action.c: audit for exception handling,
5263 tolerating NULL object references safely etc.
5265 * cspi/spi_accessible.c: ditto.
5267 * cspi/spi_component.c: ditto.
5269 * cspi/spi_editabletext.c: ditto.
5271 * cspi/spi_hyperlink.c: ditto.
5273 * cspi/spi_hypertext.c: ditto.
5275 * cspi/spi_image.c: ditto.
5277 * cspi/spi_selection.c: ditto.
5279 2001-12-10 Michael Meeks <michael@ximian.com>
5281 * configure.in: use cspi/libspi.pc.in instead.
5283 * Makefile.am (pkgconfig_DATA): upd. to match.
5285 * test/simple-at.c (report_focus_event): kill hacks around
5286 bad return values, use putenv not setenv
5288 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5289 fire ChildGone - I killed it.
5291 * libspi/component.c
5292 (impl_accessibility_component_get_extents): remove
5295 * idl/Accessible.idl: kill ChildGone exception.
5297 * cspi/*.[ch]: kill int return from ref / unref.
5299 * cspi/spi_main.c (cspi_object_add_check): fold into
5300 (cspi_object_add): here.
5302 * cspi/spi_component.c (AccessibleComponent_getExtents):
5303 handle exceptions elegantly.
5305 * cspi/spi-private.h (cspi_check_ev_return),
5306 (cspi_return_if_fail): impl.
5308 * cspi/spi_accessible.c: use extensively.
5309 (AccessibleStateSet_equals): add direct compare check.
5311 * cspi/spi_selection.c: tolerate NULL objs, and check
5312 exceptions before return.
5314 * cspi/spi-util.c (cspi_warn_ev): rename to
5315 (cspi_check_ev): this & don't pass ev in; no point.
5317 2001-12-10 Michael Meeks <michael@ximian.com>
5319 * test/test-simple.c: use putenv not setenv
5320 (get_environment_vars): more chatty if you're not using
5323 * test/simple-at.c: do the setenv so more people see the
5326 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5328 * libspi/registry.c:
5329 Changed check of CORBA_environment on notification to be a warning
5330 instead of an error for the moment, since we can recover from this
5331 error when caused by a queued notification from a dead app.
5334 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5335 used by all current implementors of AtkValue), and coerce to
5336 CORBA_float. (Proper general case fix may require change to Value.idl).
5338 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5342 * cspi/spi_accessible.c:
5343 Documentation fixes: added user_data params to documentation for
5344 listeners and callbacks.
5346 * cspi/spi_accessible.c:
5347 Changed AccessibleStateSet_compare to return a
5348 StateSet rather than return the difference set into a third parameter.
5351 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5354 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5355 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5359 Remove subdirectory po from SUBDIRS for now.
5361 * at-bridge/bridge.c:
5362 Beefed up a couple of debug printouts.
5363 One-line fix for signal notification name formatting.
5365 * libspi/accessible.c:
5366 Added assertion to spi_accessible_new ().
5368 * libspi/application.c:
5369 Put #ifdef qualifiers around a printf.
5372 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5374 * registryd/Makefile.am:
5376 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5377 INTLTOOL_SERVER_RULE macro.
5380 Added an event listener for several ATK signals, for
5381 testing and debugging. Removed a few g_warnings.
5382 Added test output if focussed item implements the Value interface.
5384 * test/test-simple.c:
5385 Added test_value () function (known not to pass at the moment, so
5386 not actually called yet.
5388 2001-12-08 Michael Meeks <michael@ximian.com>
5390 * at-bridge/bridge.c (bridge_focus_tracker),
5391 (emit_eventv): fix the same ref. leak.
5392 (register_atk_event_listeners): don't leak.
5394 * cspi/spi-listener-impl.c (cspi_event): more
5395 protection from client code.
5397 * test/test-simple.c (test_desktop): unref the app.
5399 * test/Makefile.am: upd. TESTS.
5401 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5403 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5405 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5407 * cspi/spi_registry.c: constify in strings.
5408 (deregisterGlobalEventListenerAll): don't release the ref.
5410 * cspi/spi.h: start removing redundant / conflicting
5411 gtkdoc comments, making the API readable at a glance :-)
5413 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5415 * test/keysynth-demo.c (keysynth_exit, main): upd.
5417 * test/simple-at.c (main, simple_at_exit): upd.
5419 * test/test-simple.c (unutterable_horror): kill.
5420 (utterable_normal_derefs): kill.
5421 (main): upd & do a setenv before gtk_init, so that we
5422 can use memprof - and to save the pain of remembering
5423 this, if we're running under memprof - don't exit.
5425 * cspi/spi_main.c (SPI_exit): return exit status
5427 (SPI_event_quit): impl.
5428 (SPI_event_main): simplify.
5429 (cspi_is_gnome_app): kill.
5430 (SPI_init): kill isGNOMEapp arg.
5432 * at-bridge/bridge.c (register_atk_event_listeners):
5433 re-instate the unref.
5434 (bridge_exit_func): don't re-activate the registry,
5435 protect vs. theoretical re-entry, use the
5436 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5437 assert a clean shutdown - for regression tests.
5439 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5441 * configure.in: Comment out dummy i18n support for now,
5442 otherwise it fails to build.
5443 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5444 EXTRA_DIST. They are missing in tarball.
5446 2001-12-07 Michael Meeks <michael@ximian.com>
5448 * util/magnifier.c: kill bonobo activation reg. race.
5450 * libspi/component.c
5451 (impl_accessibility_component_get_extents): make it match
5454 * libspi/registry.c (_registry_notify_listeners):
5455 re-remove X headers & reconcile conflicts.
5456 (spi_listener_struct_free): bad conflict resolve.
5457 (impl_accessibility_registry_register_application):
5458 more bad merging fixed.
5459 (impl_accessibility_registry_deregister_application): ditto.
5460 (spi_registry_new): ditto.
5461 (spi_registry_init): don't have an applications field.
5463 [ merge fixups2 branch to here ]
5464 2001-12-07 Michael Meeks <michael@ximian.com>
5466 * test/simple-at.c (report_focus_event),
5467 (report_focussed_accessible): remove g_warning debug.
5469 2001-12-07 Michael Meeks <michael@ximian.com>
5471 * test/test-simple.c (validate_tree): comment out some checks.
5472 (test_desktop): app now not registered idly - horay.
5474 2001-12-07 Michael Meeks <michael@ximian.com>
5476 * cspi/spi_registry.c
5477 (registerAccessibleKeystrokeListener): clean, stop it leaking
5478 great swathes of memory, and device event controller references.
5479 ensure we always pass valid sequences.
5480 (deregisterAccessibleKeystrokeListener): ditto.
5481 (generateKeyEvent): upd.
5483 * at-bridge/bridge.c (bridge_key_listener): handle
5484 registry dead exception gracefully.
5485 (bridge_focus_tracker, emit_eventv): free ev.
5487 * test/simple-at.c (report_focus_event): fix polarity.
5489 * libspi/application.c (notify_listeners): kill the ev
5490 argument, and make sure we init the ev we use.
5491 (spi_application_object_event_listener): split out a chunk
5492 (get_atk_object_ref): here & fixup.
5493 (reverse_lookup_name_for_toolkit_event): make const.
5494 (spi_application_toolkit_event_listener): fixup, kill leaks
5497 * at-bridge/bridge.c (register_atk_event_listeners):
5498 don't unref the noop object - causes grief.
5500 * libspi/registry.c: remove the X headers.
5501 turn off the debug churn.
5503 * libspi/accessible.c (spi_accessible_new_return): only
5504 release the ref if we are supposed to [doh]
5506 * test/simple-at.c (report_button_press, report_focus_event):
5507 guard vs. unexpected exit.
5509 * at-bridge/bridge.c (gtk_module_init): prune printf.
5510 (bridge_exit_func): fix app unref.
5512 * libspi/Makefile.am: don't install registry or desktop.h
5514 * libspi/*.h: update includes.
5516 * libspi/application.h: don't include ourself, or
5517 other redundant headers.
5519 2001-12-06 Michael Meeks <michael@ximian.com>
5521 * libspi/accessible.c
5522 (get_accessible_from_servant): impl.
5523 Upd. all CORBA impl.s to use it killing cut and paste.
5525 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5527 (SPI_init): register atexit cleanup handler here.
5529 2001-12-06 Michael Meeks <michael@ximian.com>
5531 * at-bridge/bridge.c (gtk_module_init): g_error on
5532 activation exception
5534 2001-12-06 Michael Meeks <michael@ximian.com>
5536 * at-bridge/bridge.c (gtk_module_init): some sort of
5537 confusing merge clash - reverted.
5538 (bridge_idle_init): ditto.
5540 * test/test-simple.c (main, utterable_normal_derefs):
5541 merge from Bill - somehow not committed.
5543 2001-12-06 Michael Meeks <michael@ximian.com>
5545 * libspi/value.c (spi_value_class_init): upd.
5546 (spi_value_finalize): kill.
5548 * libspi/table.c (spi_table_finalize): kill.
5549 (spi_table_interface_new): upd.
5550 (spi_table_class_init): upd.
5551 (get_table_from_servant): impl.
5552 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5554 * libspi/selection.c (spi_selection_finalize): kill.
5555 (spi_selection_interface_new): upd.
5556 (spi_selection_class_init): upd.
5557 (get_selection_from_servant): impl.
5558 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5560 * libspi/relation.c (spi_relation_finalize): kill.
5561 (spi_relation_class_init, spi_relation_new): upd
5563 * libspi/image.c (spi_image_finalize): kill.
5564 (spi_image_class_init): upd.
5565 (spi_image_interface_new): upd.
5566 (get_image_from_servant): impl.
5567 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5569 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5570 (spi_hyperlink_finalize): kill.
5571 (spi_hyperlink_new): upd.
5572 (get_hyperlink_from_servant): impl.
5573 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5575 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5576 (spi_hypertext_finalize): kill.
5577 (spi_hypertext_class_init): upd.
5578 (get_hypertext_from_servant): impl.
5579 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5581 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5582 (spi_editable_text_interface_new): upd.
5583 (get_editable_text_from_servant): impl.
5584 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5586 * libspi/text.c (get_text_from_servant): impl.
5587 All impls - update to use it killing more cut and paste,
5588 also fix bad string returns on duff args ( a somewhat
5589 impossible case to handle - but hey ).
5590 (spi_text_construct): impl.
5591 (spi_text_interface_new): upd.
5592 (spi_text_object_finalize): kill.
5594 * libspi/component.c
5595 (accessibility_component_object_finalize): kill.
5596 (spi_component_class_init): upd.
5597 (get_component_from_servant): impl. helper to kill cut & paste.
5598 (impl_accessibility_component_contains):
5599 (impl_accessibility_component_get_accessible_at_point):
5600 (impl_accessibility_component_get_position):
5601 (impl_accessibility_component_get_extents):
5602 (impl_accessibility_component_get_mdi_z_order):
5603 (impl_accessibility_component_get_layer):
5604 (spi_component_interface_new): upd.
5606 * libspi/action.c (spi_action_finalize): kill.
5607 (spi_action_class_init): upd. inherit from SpiObject.
5608 (spi_action_interface_new): upd.
5609 (get_action_from_servant): impl. helper to reduce cut & paste.
5610 (impl_getKeyBinding, impl_getName, impl_doAction),
5611 (impl_getDescription): Use it everywhere.
5613 * cspi/spi_main.c (get_live_refs): a pointer hash.
5614 (spi_object_hash, spi_object_equal): comment out.
5615 There are issues with CORBA object hashing that need
5618 * libspi/application.c (spi_application_init),
5619 (spi_application_new): upd.
5621 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5622 (spi_accessible_class_init): upd.
5623 s/accessible/object/ in epv methods.
5625 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5627 * at-bridge/bridge.c:
5628 Reorder the bridge initialization into the bridge gtk_module_init,
5629 an immediate call to bridge_register_app, and an idle_add for
5630 register_atk_event_listeners (the only code that *must* wait until
5631 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5632 the activation, creates the application's Accessible object, and
5633 queues the bridge_idle_init function. Restored call to
5634 Accessibility_Registry_deregisterApplication().
5635 Prior to making this call we obtain a new reference to the
5636 registry, which is a temporary hack that helps us handle apps that
5637 shut down the bonobo mainloop before we get there.
5639 * libspi/registry.c:
5640 Fix string leakage in debug block, and don't segv if a an app
5641 dies before its event notifications have been propagated.
5644 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5645 as stopgap measure until we get proper exception handling when
5646 objects die during or before interrogation.
5650 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5651 Also changed default value of is_gnome_app to TRUE.
5654 * test/keysynth-demo.c:
5655 Changed use of SPI_init and SPI_event_main to reflect API change above.
5658 Made report_focus_event check the warning value from getName
5659 before reporting on focussed accessible; simplifies handling of
5660 notifications from dead objects.
5662 * test/test-simple.c: (Changes not in this patch since source is
5665 2001-12-05 Michael Meeks <michael@ximian.com>
5667 * registryd/registryd.c (main): protect against
5668 bonobo-activation startup race condition.
5670 * cspi/spi_main.c (cspi_object_add_check): cope
5671 with the exception elegantly.
5673 * idl/Accessible.idl: decl. ChildGone
5675 * libspi/desktop.c (spi_desktop_dispose): impl.
5676 (spi_desktop_class_init): upd.
5677 (spi_desktop_add_application),
5678 (spi_desktop_remove_application),
5679 (abnormal_application_termination): impl.
5680 (impl_desktop_get_child_at_index): re-impl.
5683 (impl_accessibility_registry_deregister_application),
5684 (impl_accessibility_registry_register_application):
5685 kill excessive debug clutter.
5687 * test/test-simple.c (test_misc): test some NULL
5688 tolerance. (main): upd.
5690 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5691 implements no interfaces - so let's not crash.
5693 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5695 * libspi/accessible.c (spi_accessible_new_return): impl.
5696 helper to calm the cut and paste, to cope with
5697 NULL AtkObjects effectively and efficiently, and to kill
5698 the referencing bugs.
5700 * libspi/table.c (impl_getAccessibleAt),
5701 (impl_getRowHeader, impl_getColumnHeader): upd.
5703 * libspi/hyperlink.c (impl_getObject): upd.
5705 * libspi/accessible.c
5706 (impl_accessibility_accessible_get_child_at_index): upd.
5708 * libspi/component.c
5709 (impl_accessibility_component_get_accessible_at_point): upd.
5711 * test/test-simple.c (test_editable_text, test_text): impl.
5714 * cspi/spi_editabletext.c
5715 (AccessibleEditableText_insertText): constify.
5717 * test/test-simple.c (focus_me): make more robust.
5719 * libspi/accessible.c: remove some printfs in methods that
5720 we test and work fine, so we can get a clean tree dump.
5722 * test/test-simple.c (validate_accessible),
5723 (validate_tree): make tree dumping pretty too.
5725 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5726 it builds without debug on.
5728 * test/test-simple.c (validate_accessible): fix the most
5731 * cspi/spi_main.c (spi_object_release): leave the nicely
5732 blanked memory around if in debug mode.
5734 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5736 [committed to fixups2]
5737 2001-12-05 Michael Meeks <michael@ximian.com>
5739 * libspi/editabletext.c
5740 (spi_editable_text_class_init): g_type_class_peek_parent,
5741 not interface peek - so we finalize cleanly.
5743 * libspi/accessible.c (spi_accessible_new): kill debug.
5745 * test/test-simple.c (validate_accessible): fix ref.
5746 leak, print strings before freeing them; sigh, comment a
5747 chunk out due to strangeness.
5748 (validate_tree): unref the child after use.
5750 * cspi/spi_component.c (AccessibleComponent_getLayer):
5751 add missing break statement, switch on zlayer not the
5752 uninitialized retval.
5754 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5755 before (possibly re-entering) remote unref.
5757 * test/simple-at.c (main): unref the desktop.
5759 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5762 * cspi/spi_main.c (cspi_accessible_is_a): here to
5763 isolate bonobo API usage more.
5765 * libspi/registry.c (impl_accessibility_registry_register_application):
5766 prune bogus comment.
5768 2001-12-04 Michael Meeks <michael@ximian.com>
5770 * test/test-simple.c (validate_tree): upd.
5771 IndexInParent check to make it more lucid.
5772 (validate_accessible): dump the tree.
5774 * libspi/accessible.c (de_register_public_ref),
5775 (get_public_refs): impl.
5776 (spi_accessible_new): make more efficient & intuitive.
5777 Now IndexInParent check works.
5779 2001-12-04 Michael Meeks <michael@ximian.com>
5781 * cspi/spi-util.h: remove.
5783 * cspi/spi.h: move SPI_freeString here
5785 * libspi/component.c (impl_accessibility_component_get_layer):
5787 (impl_accessibility_component_get_mdi_z_order): ditto,
5788 return -1 on error - is this ok ?
5790 * test/test-simple.c (test_application): impl.
5792 * cspi/spi_accessible.c (Accessible_getApplication),
5793 (Accessible_isApplication): impl.
5795 * libspi/registry.c (spi_listener_struct_free): release
5796 the CORBA reference too.
5798 * libspi/accessible.c
5799 (impl_accessibility_accessible_get_parent): fix ref leak.
5801 * libspi/registry.c (spi_registry_new): make the registry
5802 immortal - we don't want it to go away ever.
5804 * libspi/application.c
5805 (spi_accessible_application_finalize): impl. cleanup.
5807 * cspi/spi_registry.c
5808 (deregisterGlobalEventListenerAll),
5809 (deregisterGlobalEventListener),
5810 (deregisterAccessibleKeystrokeListener): fix ref leak.
5812 * cspi/spi_main.c (SPI_init): remove redundant ref.
5814 * test/test-simple.c (unutterable_horror): impl. to force a
5819 (impl_accessibility_registry_deregister_application): release
5820 the application when we de-register it.
5822 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5823 until we have the infastructure to get it right.
5825 2001-12-03 Michael Meeks <michael@ximian.com>
5827 * libspi/Makefile.am: only build eventlistener.[ch]
5829 * libspi/accessible.c
5830 (impl_accessibility_accessible_get_child_at_index): don't leak.
5832 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5833 before we hit the idle handler.
5835 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5836 debugging than exit.
5838 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5840 * libspi/listener.c (impl_notify_event): check source
5841 not NIL before unref.
5843 * libspi/registry.c (impl_registry_notify_event): ditto.
5845 * libspi/eventlistener.c
5846 (impl_accessible_event_notify_event): unref the source.
5848 * libspi/accessibleeventlistener.c
5849 (impl_accessible_event_notify_event): unref the source.
5851 * idl/Event.idl: remove 'hash_id' attribute - of no
5854 * libspi/application.c (notify_listeners): upd list
5856 (spi_application_object_event_listener),
5857 (spi_application_toolkit_event_listener): upd to do correct
5861 (_registry_notify_listeners): update.
5862 (parse_event_type): this method also leaks like a sieve.
5863 (impl_accessibility_registry_deregister_global_event_listener):
5864 fix ETYPE_WINDOW case.
5866 * libspi/application.c
5867 (impl_accessibility_application_register_object_event_listener):
5870 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5872 * libspi/hypertext.c (impl_getLink): ditto.
5874 * cspi/spi_main.c (cspi_object_add): remove
5875 bogus CORBA_Object_duplicate.
5877 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5880 * cspi/spi_accessible.c
5881 (Accessible_getRelationSet): fix leak / referencing issue.
5883 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5884 (cspi_object_add, cspi_object_unref): upd.
5885 (spi_object_release, get_live_refs): impl.
5886 (cspi_cleanup): simplify.
5888 * *.[ch]: s/boolean/SpiBoolean/
5890 * cspi/spi_accessible.c (role_names): actualy order so it
5891 corresponds with the enum !
5893 * test/test-simple.c (test_roles): check some role strings
5894 vs. enums to detect offset errors.
5896 2001-12-01 Michael Meeks <michael@ximian.com>
5898 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5900 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5902 (Accessible_getChildAtIndex): use cspi_add_check so we
5903 check the ev before using a (possibly) invalid value.
5905 * libspi/accessible.c
5906 (impl_accessibility_accessible_get_parent): don't segv
5909 * at-bridge/bridge.c (gtk_module_init): upd.
5910 (bridge_property_event_listener): don't leak strings
5912 (bridge_state_event_listener),
5913 (bridge_property_event_listener): don't use a static
5914 buffer in case of recursive event emission &
5915 re-enterancy - split out the swathe of cut and paste
5917 (emit_eventv): and fix 2 ref leaks here & comply to the
5919 (bridge_register_app): rename to
5920 (bridge_idle_init): this and kill arg parsing, split
5921 various inits & bonobo-activation registration to module
5922 init time, kill referencing error.
5923 (bridge_exit_func): fix the same leak.
5924 (bridge_focus_tracker): don't leak event structures
5926 (bridge_signal_listener): more leakage and cut & paste
5928 (bridge_key_listener): return the result - FIXME is
5929 this polarity correct ?
5930 (accessibility_keystroke_from_atk_key_event): rename
5931 (accessibility_init_keystroke_from_atk_key_event): and stop
5933 (gtk_module_init): return a value - not that it is checked by
5935 (bridge_key_listener): register my horror at casting between
5936 IDL defined structs.
5937 (bridge_get_registry): kill - not used.
5939 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5941 * test/test-simple.c (test_roles): impl.
5942 (test_desktop, validate_accessible, validate_tree): impl.
5944 * cspi/spi_accessible.c (role_names): fixup bogus
5945 MAX_ROLES setup, make constants const for efficient linkage
5946 (AccessibleRole_getName): conform to coding style, make
5949 2001-11-30 Michael Meeks <michael@ximian.com>
5951 * cspi/spi.h: add missing prototype.
5953 * libspi/registry.c (spi_listener_struct_new): fix sig.
5955 * test/Makefile.am: add test-simple
5957 * test/test-simple.c: add
5959 * test/test.sh: add.
5961 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5963 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5964 do it straight - since otherwise we often get an activation race.
5966 [ work before Bill duplicated a chunk of it ... ]
5967 2001-11-30 Michael Meeks <michael@ximian.com>
5969 * libspi/keystrokelistener.c
5970 (spi_keystroke_listener_class_init): fixup arg
5973 * libspi/eventlistener.c
5974 (spi_event_listener_class_init): ditto.
5976 * tests/test.sh: add.
5978 * cspi/spi-listener-impl.h: update macros.
5980 * cspi/spi-listener-impl.c
5981 (cspi_event_listener_remove_callback): add
5982 correct pre-conditions.
5984 * cspi/spi_main.c (SPI_exit): guard vs. double
5985 exits, exit the mainloop nicely.
5986 (SPI_event_main): make more sense.
5987 (SPI_init): move the atexit evilness here so we
5988 always do it (yuck).
5989 (SPI_event_main): upd.
5991 * test/simple-at.c: update for listener changes.
5993 * registryd/registryd.c (main): prune kruft.
5995 * libspi/libspi.h: upd.
5997 * libspi/eventlistener.[ch]: rename broken macros.
5999 * libspi/accessibleeventlistener.[ch]: remove.
6001 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6003 * test/test-simple.c: Add - automated tests.
6005 * cspi/spi-listener-impl.c (cspi_event),
6006 (cspi_key_event): add user_data to invoke.
6007 (cspi_keystroke_listener_finalize): impl.
6008 (cspi_keystroke_listener_class_init): upd.
6011 (createAccessibleEventListener),
6012 (AccessibleEventListener_addCallback),
6013 (createAccessibleKeystrokeListener),
6014 (AccessibleKeystrokeListener_addCallback): upd.
6016 * libspi/deviceeventcontroller.c
6017 (spi_device_event_controller_check_key_event): add public proto.
6020 (impl_accessibility_registry_deregister_global_event_listener):
6021 always init listeners.
6022 (_registry_notify_listeners): yes it is.
6024 * cspi/spi-listener-impl.c (cspi_key_event):
6026 (cspi_event_listener_finalize): impl.
6027 (cspi_event_listener_class_init): hook up.
6028 (event_handler_new, event_handler_free),
6029 (event_list_remove_by_callback): impl.
6030 (cspi_event_listener_remove_callback),
6031 (cspi_keystroke_listener_remove_callback),
6032 (cspi_keystroke_listener_add_callback),
6033 (cspi_event_listener_add_callback): upd.
6035 * libspi/keystrokelistener.c
6036 (keystroke_listener_object_finalize): kill
6037 (spi_keystroke_listener_class_init): upd.
6038 (spi_keystroke_listener_add_callback),
6039 (spi_keystroke_listener_remove_callback): kill,
6041 (impl_key_event): prune drasticaly.
6043 * libspi/eventlistener.c
6044 (spi_event_listener_add_callback),
6045 (spi_event_listener_remove_callback): kill, use
6047 (impl_accessible_event_notify_event): upd.
6048 (spi_event_listener_object_finalize): remove.
6050 * libspi/Makefile.am: use eventlistener.[ch]
6052 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6054 * libspi/registry.c (_registry_notify_listeners):
6055 Changed listener loop iteration to use preferred convention.
6056 Got rid of string memory leaks caused be calling g_strconcat
6057 inside function calls.
6059 * libspi/registry.c (parse_event_type):
6060 Stopped g_strconcat memory leaks, free the g_strsplit return,
6061 g_strdup the split pieces when used, etc.
6063 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6066 Change method 'compare' to return a 'difference set' rather than
6067 taking a StateSet as an out parameter (more Java-friendly).
6069 * idl/Accessible.idl:
6070 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6072 * idl/Component.idl:
6074 Changed methods 'getExtents' and 'getImageExtents' in these
6075 interfaces to return a BoundingBox structure.
6076 (getPosition and getSize are redundant and possibly should be
6077 removed, rather than creating a corresponding Point struct.)
6079 * cspi/spi_component.c:
6080 Modify implementation of getExtents to reflect the above IDL
6085 Add (missing) AccessibleImage_getExtents () API.
6087 * docs/reference/cspi/at-spi-cspi-sections.txt:
6088 Added AccessibleImage_getImageExtents () to docs.
6090 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6092 * idl/Component.idl:
6093 Added two methods, getLayer () and getMDIZOrder (), to reflect
6094 the new ATK methods atk_object_get_layer and
6095 atk_object_get_mdi_z_order. (Which arguably should be part of the
6096 AtkComponent API and AtkObject). Also added an enum,
6097 ComponentLayer, for the first method's return value.
6099 * libspi/component.c:
6100 Added implementations for these methods.
6102 * cspi/spi_component.c:
6104 Added cspi binding methods for above,
6105 AccessibleComponent_getLayer() and
6106 AccessibleComponent_getMDIZOrder().
6107 Added cspi enum 'AccessibleComponentLayer'.
6109 * docs/reference/cspi/at-spi-cspi-sections.txt:
6110 Added above methods to docs.
6114 Changed typedef for 'boolean' type (and all references to it) to
6115 SPIBoolean, to avoid keyword clashes with C++.
6118 Changed usages of 'boolean' to SPIBoolean.
6120 * test/keysynth-demo.c:
6121 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6122 app), except where SPIBoolean is required by the callbacks API.
6124 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6126 * cspi/spi_registry.c:
6127 Removed obsolete X event loop for passive keygrabs (which now
6130 * registryd/registryd.c:
6131 Removed unnecessary call to gdk_init() [cruft]. This also allows
6132 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6135 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6137 * docs/reference/cspi:
6138 Included docs for SPI_freeString in generated documentation.
6141 Renamed spi_freeString to SPI_freeString, for consistency. Added
6142 documentation for this function.
6145 Renamed spi_freeString to SPI_freeString, for consistency.
6146 Removed obsolete method declaration string_from_corba_string.
6148 * test/keysynth-demo.c:
6149 Small tweak to comments.
6152 Stopped leaking the strings returned from CSPI.
6154 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6156 Merged Michael's branch (see his ChangeLog entries below).
6158 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6159 bridge is alive, release on exit.
6161 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6162 Fix type check macro.
6165 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6168 Added is_gnome_app static, and method cspi_is_gnome_app(),
6169 so we can call the appropriate shutdown routine at exit in SPI_exit.
6171 * cspi/spi_main.c (cspi_object_ref):
6172 Duplicate the corba object passed in, since we're keeping it around.
6174 * cspi/SPI_exit.c, cspi_cleanup:
6175 Moved the releasing of the live refs to its own function, so we
6176 can put it in g_atexit (). Call the appropriate shutdown API
6177 depending on whethe calling client is a gnome app or not
6178 (bonobo_main_quit or CORBA_ORB_shutdown).
6180 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6181 Unref the listener when this method is called, after
6182 deregistration. Updated the API docs to note this behavior.
6184 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6185 Bugfixes: Ref the bonobo object when returning a parent or child
6186 reference, or an AccessibleRelation. Generally made sure
6187 BonoboObject refcount is incremented whenever we return an
6190 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6191 Fixed typo/bug in signal declaration.
6193 * libspi/accessibleeventlistener.h:
6196 * libspi/application.c (spi_application_new):
6197 Fixed leak in initialization.
6200 Remembered to increment bonobo-object refcount when returning
6201 children (applications) from desktop object.
6202 Added (empty) finalize method.
6204 * libspi/deviceeventcontroller.c:
6205 Hold a ref to listeners inside DEControllerKeyListeners.
6206 Added dec_key_listener_free() method. Use prepend instead of
6207 append in key_listener list. Fixed some refcount madness and
6208 leaks in the listener registration/deregistration - deregistration
6209 now calls dec_key_listener_free() on listeners, and on the
6210 temporarily constructed dec_key_listener() used to perform the search/match.
6212 * libspi/hypertext.c (spi_hypertest_finalize):
6213 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6214 class. Also fixed spi_hypertext_interface_new() and
6215 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6217 * libspi/hypertext.h:
6218 Removed pointless and duplicate AtkObject pointer from
6221 * libspi/keystrokelistener.c:
6222 Fixed incorrect type of keystroke_listener_parent_class,
6223 renamed keystroke_listener_object_finalize to
6224 spi_keystroke_listener_object_finalize.
6225 Fixed typo in signal declaration
6226 (spi_keystroke_listener_class_init).
6228 * libspi/registry.c:
6229 Added funcsions spi_listener_struct_new() and
6230 spi_listener_struct_free() to help with memory management issues.
6231 We also now use these methods instead of gnew + poking stuff into
6232 the struct, and to decrement listener counts/free the listeners
6233 when deregistering them.
6234 Fix more refcount bugs in getDesktop() and
6235 getDeviceEventController().
6238 De-ref the desktop after enumerating the applications. Explicitly
6239 decrement the refcounts on the created listeners on exit (using
6240 _unref for keystroke listeners, and via the
6241 deregisterGlobalEventListenerAll command for other event
6244 2001-11-27 Michael Meeks <michael@ximian.com>
6246 * cspi/spi-listener.h: fixup enum.
6248 2001-11-27 Michael Meeks <michael@ximian.com>
6250 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6251 (cspi_keystroke_listener_new): Use the cspi variants.
6253 2001-11-26 Michael Meeks <michael@ximian.com>
6255 * test/keysynth-demo.c: fix 2 compile warnings, missing
6258 * test/simple-at.c (report_focussed_accessible),
6259 (report_focus_event, report_button_press),
6260 (check_property_change, is_command_key),
6261 (report_ordinary_key_event, report_command_key_event): upd.
6263 * util/mag_client.h: include pre-requisites.
6265 * libspi/accessibleeventlistener.c
6266 (spi_event_listener_object_finalize): free any lingering
6269 * libspi/keystrokelistener.c
6270 (keystroke_listener_object_finalize): ditto.
6272 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6273 callbacks, with cspi types.
6275 * cspi/spi_event.c (createAccessibleEventListener): chain to
6276 (AccessibleEventListener_addCallback): here.
6277 (createAccessibleKeystrokeListener): chain to
6278 (AccessibleKeystrokeListener_addCallback): here.
6280 * libspi/keystrokelistener.c
6281 (spi_keystroke_listener_class_init): add signal.
6282 (impl_key_event): emit the event.
6283 (boolean_handled_accumulator): impl.
6284 (marshal_BOOLEAN__POINTER): add, gack.
6286 * libspi/accessibleeventlistener.c
6287 (spi_event_listener_class_init): add signal.
6288 (impl_accessible_event_notify_event): emit the signal &
6289 make the loop efficient.
6290 (spi_event_listener_add_callback): prepend the callback.
6292 * libspi/accessibleeventlistener.h: add an 'event' signal,
6293 decl type on callback.
6295 * libspi/keystrokelistener.h: ditto.
6297 * cspi/spi-listener.h: make methods typesafe and
6298 make them use the new event typedefs.
6300 * test/simple-at.c (report_focussed_accessible):
6301 include mag_client.h
6302 Use *(void *)text_interface not the other thing.
6304 * configure.in: add gtk to registryd bits - since we use
6307 * util/magnifier.c: include libbonobo.h
6309 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6311 * test/keysynth-demo.c:
6312 Turned this into a simple scanning keyboard, to demonstrate the
6313 use of g_timeout_add () as a means of creating timers for
6314 scanning, and the use of GtkStyle for visually indicating when
6315 virtual keyboard elements are selected.
6317 keysynth-demo now listens to any keyboard keys with zero-valued
6318 keycodes (i.e. 'unused' keys) and interprets them as
6321 Reworked the shiftlatch code so that shift-down state isn't held
6322 for long periods (it's only synthesized immediately prior to
6323 the keysynth event it's modifying). Note that shiftlatch in this
6324 demo is a convenience, not intended to take the place of AccessX
6325 which is the better choice for getting 'sticky' modifier keys.
6327 * libspi/deviceeventcontroller.c:
6328 * at-bridge/bridge.c:
6329 * cspi/spi_registry.c:
6330 Removed some debug print stuff, and put other verbosity in #ifdef
6335 Implemented some more of the magnifier IDL for the simple
6336 magnifier: namely, getZoomRegionParams.
6337 Added mag_x and mag_y members to MagnifierData struct, aid of this
6339 Added GtkWindow::realize signal handler to magnifier, to keep it
6340 from receiving keyboard focus from the WM.
6342 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6344 * cspi/spi-private.h: my guess at what michael forgot
6345 before he ran off to NZ :-)
6347 2001-11-23 Michael Meeks <michael@ximian.com>
6349 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6350 comment out non existant method invoke so we link.
6352 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6353 use bonobo_exception_get_text for more friendly warnings.
6355 * cspi/spi.c (Obj_Add): move into spi_main & rename
6356 spi_object_add; kill spi.c
6358 * cspi/spi_registry.c
6359 (deregisterGlobalEventListener),
6360 (deregisterGlobalEventListenerAll),
6361 (registerGlobalEventListener): fix exception leaks.
6363 * cspi/spi_main.c (spi_exception): impl. helper, so we
6364 don't leak exceptions.
6366 * cspi/spi_selection.c
6367 (AccessibleSelection_deselectSelectedChild): return the
6370 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6371 (spi_registry): ditto.
6372 (SPI_init): guard against double inits.
6374 * cspi/*.c: use spi_ev (), and spi_registry () where
6375 appropriate - a temporary hack until we have something
6376 better. Use spi_object_add
6378 2001-11-22 Michael Meeks <michael@ximian.com>
6380 * cspi/Makefile.am: re organise, install the headers.
6382 * cspi/*.h: add G_BEGIN/END_DECLS
6384 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6387 Added non-preemptive keylistener for key events with no modifiers
6388 and shift-only modifier.
6390 * libspi/keystrokelistener.c:
6391 Removed some verbose diagnostics printout.
6393 * cspi/spi_registry.c:
6394 Fixed a bug that caused all key listeners to be registered as
6397 * libspi/deviceeventcontroller.c:
6398 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6399 for non-preemptive key masks.
6402 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6404 * docs/reference/idl/at-spi-idl-docs.sgml:
6405 * docs/reference/idl/at-spi-idl-sections.txt:
6406 * docs/reference/idl/at-spi-idl-overrides.txt:
6407 Added missing files.
6409 * docs/reference/Makefile.am:
6410 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6411 to scan the IDL files :-(
6416 Added .cvsignore files.
6418 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6420 * libspi/deviceeventcontroller.c:
6421 * libspi/keystrokelistener.c:
6423 * cspi/spi_registry.c:
6424 Added filters for KeySets, KeyEventSeq, and event types to key
6425 event dispatching, so listeners should only receive those events
6426 that they requested :-)
6428 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6433 * docs/reference:Makefile.am:
6434 * docs/reference/cspi:
6435 * docs/reference/cspi:Makefile.am:
6436 * docs/reference/cspi:tmpl:
6437 * docs/reference/cspi:tmpl:*.sgml:
6438 * docs/reference/idl:
6439 * docs/reference/idl:Makefile.am:
6440 * docs/reference/idl:at-spi-idl-sections.txt:
6441 * docs/reference/idl:at-spi-idl-docs.sgml:
6442 * docs/reference/idl:tmpl:
6443 * docs/reference/idl:tmpl:*.sgml:
6445 Restructured docs directory to allow separate 'reference' docs
6446 section, and forked idl and cspi docs. Added the sgml template
6447 files to CVS. Added the first sections/structural sgml for the
6450 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6452 * configure.in, libspi/Makefile.am: find libXtst.
6454 2001-11-21 Michael Meeks <michael@ximian.com>
6456 * test/accessx-gui.c: s/spi_value/value/ - doh.
6458 * libspi/base.[ch]: add.
6460 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6462 * idl/Accessible.idl:
6463 * idl/Application.idl:
6466 Started gtk-doc cleanup on IDL.
6468 * libspi/deviceeventcontroller.c:
6469 Added and connected non-preemptive key notification from the
6470 toolkits (in addition to the pre-emptive support from XServer
6471 which we had before, but which causes 'focus flashing'). Filters
6472 are presently limited to key modifiers and global/non-global,
6473 KeySets are presently ignored, as are KeyEvent masks.
6475 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6476 structs into the persistant structure rather than just storing
6477 pointers to things that might not persist across servant
6480 The XGrabKey call now does async keygrabs, because synchronous
6481 ones were deadlocking with GDK_event code in a very nasty way.
6483 Added boolean to internal method notify_keylisteners, to indicate
6484 whether the event came from the 'toolkit source' or the 'global
6485 (XServer) source' - this is used in the notification process to
6486 determine which listeners to send the event to.
6488 deviceeventcontroller.c is now warning-free.
6490 * libspi/registry.c:
6491 Fixed regression in application de-registration.
6492 Also fixed some really brain-dead weirdness having to do with
6493 event dispatching - event structs are now duplicated before being
6494 re-marshalled in the dispatch to listeners. This also fixes a
6495 Solaris build problem.
6498 2001-11-20 Michael Meeks <michael@ximian.com>
6501 (impl_accessibility_registry_deregister_global_event_listener):
6504 * libspi/deviceeventcontroller.c
6505 (spi_device_event_controller_check_key_event): return
6506 FALSE on no virtual method.
6508 * libspi/*..h: make includes work on a correctly pathed install.
6510 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6512 * libspi/application.h: kill unused ( and whacked out )
6513 gboolean *spi_application_set_id (AtkObject *app, long id);
6515 2001-11-20 Michael Meeks <michael@ximian.com>
6517 * libspi/*.[ch]: further convert to bonobo's type func
6518 macros, remove redundnant casts etc.
6520 * libspi/text.c s/accessibility_text/spi_text/g,
6521 re-order to de-cruft.
6523 * libspi/hypertext.c: re-order to kill a huge slew
6524 of redundant forward decls.
6526 * libspi/relation.c: ditto.
6528 * libspi/image.c: ditto.
6530 * */.cvsignore: update
6532 2001-11-20 Michael Meeks <michael@ximian.com>
6534 * libspi/deviceeventcontroller.c
6535 (_controller_register_with_devices): use g_getenv,
6536 kill stdlib.h include.
6538 * libspi/keystrokelistener.c
6539 (spi_keystroke_listener_get_type): kill
6540 (spi_keystroke_listener_class_init),
6541 (spi_keystroke_listener_init): rename to this.
6543 * libspi/text.c (impl_getAttributes): fix warning / bug.
6545 * libspi/*.[ch]: more headers, includes and over commenting.
6547 2001-11-20 Michael Meeks <michael@ximian.com>
6549 * libspi/*.[ch]: fixup headers, includes and over commenting.
6551 * libspi/image.c (impl__get_imageDescription): const
6552 correctness warning fix. remove redundant casting.
6554 * libspi/table.c (impl_getRowDescription): ditto.
6555 (impl_getColumnDescription): ditto.
6557 * libspi/libspi.h: add.
6559 2001-11-19 Michael Meeks <michael@ximian.com>
6561 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6563 * libspi/component.c (accessibility_component_get_type):
6564 rename to (spi_component_get_type): and macroify.
6565 (accessibility_component_init): rename to
6566 (spi_component_init): this
6567 (accessibility_component_class_init): rename to
6568 (spi_component_class_init): this
6570 * libspi/action.c (spi_action_get_type): kill, use the macro.
6572 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6575 * libspi/application.c (spi_application_object_event_listener),
6576 (impl_accessibility_application_register_object_event_listener):
6577 warning fixes / const understanding updates.
6579 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6582 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6584 * libspi/spi_accessible.c: Added docs and C bindings for
6585 AccessibleStateSet. (No implementations yet). Documentation
6586 coverage for C bindings now 100%. Made docs for event listeners
6591 boolean notifyListenersSync (in DeviceEventListener listener,
6592 in DeviceEvent event);
6594 oneway void notifyListenersAsync (in DeviceEventListener listener,
6595 in DeviceEvent event);
6597 Added DeviceEventListener and DeviceEvent structs (may deprecate
6598 KeyStroke and KeystrokeListener in favor of this generic
6599 event/listener framework for devices).
6601 * libspi/deviceeventcontroller.c:
6603 Changed some key listener code to take masks, etc., and paved the
6604 way for integration of toolkit/non-preemptive key events. Changed
6605 signatures of some internal methods.
6607 * at-bridge/bridge.c:
6608 Fixed regression connecting to interface signals, apparently
6609 caused by GTK+ changes.
6611 Added an internal bridge_state_listener to deal with
6612 property-change:accessible-state signals.
6614 Changed the key_listeners GList to store structs (including masks,
6615 etc.) instead of just CORBA_Objects (required for full
6616 implementation of key listener API).
6618 Connected the bridge to all currently supported Atk signals.
6619 Events now supported:
6620 object:property-change
6621 object:property-change:accessible-name
6622 object:property-change:accessible-state
6623 object:property-change:accessible-description
6624 object:property-change:accessible-parent
6625 object:property-change:accessible-value
6626 object:property-change:accessible-role
6627 object:property-change:accessible-table-caption
6628 object:property-change:accessible-table-column-description
6629 object:property-change:accessible-table-column-header
6630 object:property-change:accessible-table-row-description
6631 object:property-change:accessible-table-row-header
6632 object:property-change:accessible-table-summary
6633 object:children-changed
6634 object:visible-data-changed
6635 object:selection-changed
6636 object:text-selection-changed
6638 object:text-caret-moved
6640 object:row-reordered
6642 object:column-inserted
6643 object:column-reordered
6644 object:column-deleted
6645 object:model-changed
6647 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6649 * libspi/hyperlink.c,h:
6650 Fixed some broken stuff in hyperlink.
6652 * libspi/relation.h:
6653 * libspi/relation.c:
6654 * cspi/spi_accessible.c:
6655 Initial implementations of AccessibleRelation methods, and docs.
6657 * libspi/accessible.c:
6658 Fixed a bug that caused SEGV if an accessible
6659 object's description is NULL, and a client
6660 requests it. An empty string is now returned.
6662 * cspi/spi_editabletext.c:
6663 * cspi/spi_hypertext.c:
6665 * cspi/spi_hyperlink.c:
6669 Doc coverage now 95%.
6671 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6673 One last namespacing revision:
6674 * libspi/accessibleeventlistener.[ch]:
6675 Renamed SpiAccessibleEventListener to SpiEventListener,
6676 (no need for two namespaces ;-)
6678 And lots of documentation fixes:
6680 * docs/at-spi-docs.sgml:
6681 Fixed 'underscore vs. hyphen' bug that was preventing
6682 the gtk-doc API docs from being automatically generated.
6685 * cspi/spi-listener.h
6687 * cspi/spi_accessible.c
6689 * cspi/spi_application.c
6690 * cspi/spi_component.c
6691 * cspi/spi_editabletext.c
6693 * cspi/spi_hypertext.c
6695 * cspi/spi_registry.c
6696 * cspi/spi_selection.c
6700 * docs/at-spi-docs.sgml
6701 * docs/at-spi-sections.txt
6703 Added and fixed up gtk-doc documentation in cspi.
6705 Interfaces now (fully) documented (subject to revision and enhancement):
6707 Event Listener Support
6709 AccessibleApplication
6713 AccessibleEditableText
6720 AccessibleRelationSet
6725 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6727 * at-bridge/bridge.c:
6728 Initial work for toolkit-level key snooper connection by bridge.
6733 New typedefs and fixes to support new namespacing, and cleaner
6734 separation of cspi bindings from libspi bonobo implementation.
6735 Removed inconsistent and extraneous Spi* namespace prefix that
6736 had crept into cspi headers.
6737 Lots of comment fixes that sed had missed.
6739 * cspi/spi-roletypes.h:
6740 * cspi/spi-statetypes.h:
6741 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6742 to AccessibleRoleType.
6744 * libspi/accessibleeventlistener.h:
6745 Fixed minor namespacing weirdness.
6747 * libspi/deviceeventcontroller.c:
6748 Reordered some internal API for device listeners.
6749 Changed the key registry final boolean to 'is_system_global'
6750 rather than 'is_synchronous', which is more descriptive of its
6752 Added spi_device_event_controller_new().
6753 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6755 * libspi/keystrokelistener.[ch]:
6756 Namespaced KeystrokeListener to SpiKeystrokeListener.
6757 Changed uses of keymasks to use SPI_ prefix, and did other
6760 * libspi/keymasks.h:
6761 Namespaced keymask constants with SPI_ prefix.
6763 * libspi/registry.c:
6764 Some warning fixes, and knock-on fixes from namespace changes.
6767 Added rules for accessx-gui test program.
6769 * test/accessx-gui.c:
6770 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6771 utility. It doesn't actually use at-spi, but it's still cool and
6774 * test/keysynth-demo.c:
6778 Fixes so that these test clients work properly with the namespaced
6779 libraries. (Incompletely tested for technical reasons, fixes may follow)
6782 2001-11-13 Michael Meeks <michael@ximian.com>
6784 * libspi/application.c
6785 (impl_accessibility_application_get_version),
6786 (impl_accessibility_application_get_toolkit_name):
6788 (impl_accessibility_application_set_id),
6789 (impl_accessibility_application_get_id): remove
6790 redundant casting code.
6792 * libspi/action.c (impl_getDescription): fix warnings.
6794 * libspi/accessible.c
6795 (impl_accessibility_accessible_get_parent),
6796 (impl_accessibility_accessible_get_child_at_index),
6797 (impl_accessibility_accessible_get_state),
6798 (impl_accessibility_accessible_get_relation_set):
6799 warning fixes & include action.h
6801 2001-11-13 Michael Meeks <michael@ximian.com>
6803 * *.[ch] fix bits I screwed up:
6805 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6806 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6808 2001-11-13 Michael Meeks <michael@ximian.com>
6810 * *.[ch] Namespace libspi into spi_ and Spi.
6812 2001-13-11 Michael Meeks <michael@ximian.com>
6814 * Makefile.am: dist & install at-spi-1.0.pc
6816 * libspi/Makefile.am: install into at-spi-1.0
6818 * idl/Makefile.am (idldir): install into at-spi-1.0
6820 * at-spi-1.0.pc.in: add.
6822 * configure.in: build it.
6824 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6826 * test/keysynth-demo.c:
6827 Use a 'realize' signal-handler to set the WM properties for
6828 the virtual keyboard, rather than making it a "POPUP" type
6829 override-redirect window (thanks to anders carlsson for that
6832 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6835 * test/keysynth-demo.c:
6836 Added new test of key synthesis, which creates a simple
6837 (mouse-operated) onscreen keyboard. It inserts key events into
6838 the currently-focused window, thus it does not grab keyboard focus
6841 * cspi/spi_registry.c:
6842 Added C binding for AT-SPI generateKeyEvent.
6844 * libspi/deviceeventcontroller.c:
6845 Added call to XFilterEvent so that key listener works with XIM (we
6846 hope). Added event_synth_type to generateKeyEvent, so that we can
6847 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6848 synthesize a press/release pair for KeySyms.
6850 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6852 * libspi/Makefile.am:
6853 * registryd/Makefile.am:
6854 (temporary) hack to include libXtst in libspi and registryd.
6855 (Needed for keystroke synthesis, see below).
6858 Improved API for registerKeystrokeListener, in accordance with
6859 discussions with Gnopernicus team and X server research.
6861 * libspi/registry.c:
6862 * libspi/deviceeventcontroller.c:
6863 * libspi/accessible.c:
6864 * libspi/keystrokelistener.c:
6865 Changes and fixes to support keylisteners for potentially
6866 consumed key events (that is, 'passive grabs').
6867 Added implementation for generateKeyEvent() [untested].
6870 Changes to registerKeystrokeListener() API, as above.
6871 Added deregisterGlobalEventListenerAll(), and
6872 deregisterKeystrokeListener(), which are needed for clean exit of
6874 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6875 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6877 * cspi/spi_registry.c:
6878 Added implementations of function prototypes mentioned above.
6880 * registryd/registryd.c:
6881 Added the key listener event source as a g_timeout(), to allow
6882 receipt of key events that are not caught by GDK (since GDK
6883 doesn't support passive keygrabs, this was necessary).
6886 Changed to attach a keylistener to 'Alt' keys, and
6887 respond to the following keycommands: Alt-M (toggle magnifier);
6888 Alt-F (toggle speech); Alt-Q (quit).
6889 Added an exit routine to deregister the listeners, and a key
6890 listener that prints some key info to the console when a key
6891 matches the listener mask (and is thus received by the listener).
6893 * util/idl/Magnifier.idl:
6894 Changes to magnifier API to support multiple zoom regions,
6895 non-uniform scaling in x and y, markDirty, and a host of other
6896 features that would be useful to magnification.
6899 * util/mag_client.c:
6900 * util/mag_client.h:
6901 * util/mag_control.c:
6903 Source code changes to support the above IDL changes.
6906 As above, and also changes to use a (slower) generic conversion
6907 path for colormap conversions, since the fast RGB conversions have been
6908 reported to fail for 16-bit displays.
6910 2001-10-26 Michael Meeks <michael@ximian.com>
6912 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6914 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6916 * at-bridge/Makefile.am: fix LDFLAGS.
6918 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6920 * at-bridge/bridge.c:
6921 Re-worked listeners for toolkit events, now we have signal
6922 and property listeners. Added a private method
6923 register_atk_event_listeners(), which registers with the
6924 various atk and gtk signals we need to monitor in order to emit
6926 Added emission hook for AtkObject:property-change events, to
6927 support the 'property listeners'.
6928 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6931 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6932 which emit warnings and exit, respectively, if CORBA errors occur
6933 during remote calls, and we now use these methods to check most of
6934 our CORBA calls in the C bindings.
6936 * cspi/spi_accessible.c:
6937 Changed AccessibleSelection_refSelectedChild() to
6938 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6939 now increment refcounts.
6941 * cspi/spi_component.c:
6942 Fixed some long pointer casts (dangerous!) to pass pointers to
6943 CORBA_longs of the proper type to the CORBA stubs, and copy the
6944 data into the longs that were passed into the C bindings code.
6946 * at-bridge/bridge.c:
6948 * libspi/accessible.c:
6949 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6950 hyperlinks, AtkHyperlink is an object type.
6952 * libspi/application.c:
6953 Added various conversions to and from "generic" event types and
6954 atk-specific types; this is really part of the 'bridge'
6955 implementation but is valid for all AtkObject-based accessibility
6958 * libspi/editabletext.c:
6959 Fixed nasty bug wherein editable text's finalize method was
6960 unref'ing tha AtkObject reference that the text parent class was
6961 about to unref _again_. There was also a nasty inheritance bug
6962 that meant that the AccessibleEditableText class was corrupt.
6964 * libspi/selection.c:
6965 Provided implementations for some selection API that was broken.
6967 * idl/Application.idl:
6968 Added registerObjectEventListener () method.
6971 Fixed a number of return values that were Bonobo_Unknowns from
6972 bonobo_object_corba_objref(), which I
6973 forgot to dup before returning. Changed instances of
6974 bonobo_object_corba_objref (bonobo_object(o)) to
6975 BONOBO_OBJREF(o), for concision and clarity.
6977 2001-10-13 Louise Miller <louise.miller@sun.com>
6979 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6980 idl/Event.idl, idl/Registry.idl
6981 Changed these files to include Bonobo_Unknown.idl instead
6984 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6986 * libspi/component.c libspi/component.h:
6987 Fixed typo. Added assertions for object checks in
6988 AccessibleComponent code.
6990 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6992 * idl/Accessible.idl:
6993 Added 'isEqual (Accessible *object)'
6994 method for Accessible. (Not Yet Implemented).
6997 Changed signature of registerKeystrokeListener() to
6998 take a KeySet and KeyEventSeq so that specific keys and event
6999 types could be requested for monitoring, and added a flag
7000 is_synchronous so that either synchronous or asynchronous
7001 notification could be requested. (However this is not all
7002 implemented yet). This also meant adding two new typedefs,
7003 KeyEventSeq and KeySet.
7006 Added two new relations, RELATION_TOOLTIP_FOR and
7007 RELATION_LEAFNODE_OF.
7010 Added new state, STATE_HAS_TOOLTIP.
7012 * libspi/text.c, editabletext.c:
7013 Added new assertions to all casts of bonobo-objects from
7014 CORBA servants, to prevent Text API calls on non-text objects.
7015 Changed suspect casts of int-pointer types, so that we
7016 always send a valid CORBA_long pointer to the CORBA APIs that use
7017 in/out long parameters. We then have to copy from the CORBA_long
7018 into the regular long or int for return to the C bindings, or
7019 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7022 * libspi/deviceeventcontroller.c:
7023 Cleaned these sources up.
7025 Changed return type for getCharacterAtOffset to
7026 CORBA_unsigned_long, to allow for 32-bit characters.
7029 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7033 Fixed 'make dist' so that distro compiles...
7034 * libspi/keymasks.h:
7036 * cspi/spi-listener.c:
7037 KeystrokeListenerCB now returns a boolean.
7039 Added KeyEventType struct, and KeyStroke.
7040 Also added createKeystrokeListener(),
7041 KeystrokeListener_addCallback(),
7042 KeystrokeListener_removeCallback(), and added a keymask to
7043 registerKeystrokeListener().
7044 * cspi/spi_accessible.c:
7045 Changed numerous return types for interfaces from
7046 AccessibleComponent to Accessible<InterfaceName>; this was
7047 probably a cut-and-paste error.
7049 Implementations of new KeystrokeListener api (from spi.h,
7052 Changes to key modifier mapping.
7053 Created ControllerEventMask struct.
7054 Made DeviceEventController derive from Bonobo::Unknown.
7056 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7057 * libspi/deviceeventcontroller.c:
7058 Added a number of new internal (private) methods.
7059 * libspi/editabletext.c:
7060 * libspi/editabletext.h:
7061 Fixed a number of bugs related to the fact that
7062 editabletext inherits from text. Fixed the EditableText struct,
7063 the init() call, and use correct casts when calling Text methods
7064 from an EditableText object. Removed (duplicate) atko from the
7065 EditableText structure, we use the one in the parent Text
7066 structure via the casts mentioned above.
7067 * libspi/keystrokelistener.[ch]:
7068 * libspi/registry.c:
7069 Changes in support of keyboard handling (above).
7071 Keyboard handling, though partly functional, is still not
7072 recommended for at-spi client use as there is considerable
7073 work yet to be done.
7076 Changed some places where pointers to various int types
7077 are cast to be pointers to CORBA_long types and vice-versa:
7078 pointer casting is not safe so we pass pointers of the correct
7079 types and then cast the result before putting it into the target
7082 * libspi/text.h: minor typos corrected.
7084 We now speak not only the name of a Text element, but the
7085 first sentence of its content, when it receives focus.
7086 I also changed the text compression to 75% from 50%.
7087 * util/Accessibility_Util.server.in:
7088 Changed the default magnifier type to be a 3x vertical
7089 splitscreen magnifier (was previously a 2x horizontal one).
7091 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7093 * libspi/keystrokelistener.h:
7094 * libspi/keystrokelistener.c:
7095 Initial functional implementations of KeystrokeListener.
7098 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7100 Fixed string handling for NULL strings in libspi.
7101 Added spi_freeString to free strings returned by C bindings.
7103 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7105 * libspi/keystrokelistener.h:
7106 * libspi/keystrokelistener.c:
7107 Began (no-op) implementations of KeystrokeListener
7109 * libspi/deviceeventcontroller.c:
7110 * libspi/deviceeventcontroller.h:
7111 Began creating implementations of DeviceEventController,
7112 to handle keystroke and mouse event listening and
7114 * libspi/accessible.c:
7115 Stubbed-in the implementations for
7116 Accessibility_Accessible_getState and
7117 Accessibility_Accessible_getRelationSet.
7118 * libspi/registry.c:
7119 Improved de-registration process and fixed some bugs,
7120 deregistration now works correctly.
7122 Added initialization of applications list (to NULL).
7124 Reduced speech compression from 0.5 to 0.7, for demo.
7125 Changed call to gdk_window_set_decorations()
7126 to gtk_window_set_decorated().
7127 * at-bridge/bridge.c:
7128 Bridge now deregisters when app exits, via
7129 registration of a cleanup function
7130 with the g_atexit() call.
7131 Required making 'app' static, renamed 'this_app'.
7132 Fixed broken use of bonobo_init, passing argv wrongly.
7134 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7138 Created a new directory for
7139 accessibility-related utilities, primarily for
7140 testing and demo purposes, but with possible
7147 Onscreen magnifier utility that
7148 is implemented as a bonobo service.
7150 * util/mag_client.c:
7151 * util/mag_client.h:
7152 Client-side support (simple C bindings)
7153 for Magnification service
7155 * util/mag_control.c:
7156 Client program example for
7157 Magnification service
7159 * util/Accessibility_Magnifier.server.in:
7160 Bonobo-activation file for the
7161 Magnification service.
7164 * util/idl/Magnifier.idl:
7165 IDL defining the bonobo Magnification
7169 Modifications to use the bonobo-activated magnifier
7170 above, in place of trying to connect to an existing
7171 magnifier that uses socket-listening IPC.
7173 If env variable MAGNIFIER is set, a magnifier service
7174 will be started if one does not exist.
7176 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7178 * at-bridge/bridge.c:
7179 applied patch from Marc to build and run
7180 against new glib and gtk+ (seemed like a change
7181 to bonobo_init signature was made ?)
7183 made festival-server support turned off by default.
7184 Added support for a simple magnifier (off by default)
7185 which will be added to a 'util' directory later.
7186 * at-bridge/Makefile.am:
7187 Changed "application.h" header from a 'source'
7188 to a 'dependency' of libat-bridge.
7190 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7199 Added interface implementation c files to list of
7200 includes so they are included in libcspi.
7203 Changed prototype of AccessibleAction_doAction to return a
7205 Changed prototype of AccessibleTable_getCaption to
7206 return an Accessible.
7207 Changed prototype of AccessibleTable_getSelectedRows
7208 and AccessibleTable_getSelectedColumns to
7209 return a long (returns the number of selected rows
7210 or columns respectively).
7211 Changed name of AccessibleText_refRunAttributes to
7212 AccessibleText_getAttributes.
7213 Changed prototype of AccessibleText_getCharacterExtents to
7214 return a void rather than a boolean.
7215 Added support for a AccessibleCoordType parameter
7216 specifying what type of coordinates are desired.
7217 Added an AccessibleCordType parameter to
7218 AccessibleText_getPointAtOffset.
7220 * cspi/spi_accessible.c:
7221 Added code to return the outstanding interfaces from
7222 Accessible_queryInterface.
7224 * cspi/spi_action.c:
7226 Corrected call to getNActions to call the c binding
7229 * cspi/spi_editabletext.c:
7231 Changed name from setRunAttributes to setAttributes.
7233 * cspi/spi_hyperlink.c:
7235 Changed call to getNAnchors to correctly call the c
7236 binding for an attribute.
7238 * cspi/spi_hypertext.c:
7240 Changed getImageDescription to correctly call the
7241 binding for an attribute.
7243 * cspi/spi_selection.c:
7244 Changed getNSelectedChildren to correctly call the c
7245 binding for the attribute.
7246 Changed refSelectedChild to getSelectedChild.
7250 Changed getCaption to return an Accessible.
7251 Fixed calls which retrieve attributes.
7252 Changed refAt to getAccessibleAt.
7253 Changed getNSelectedRows and getNSelectedColumns to
7257 Changed getCharacterExtents and getPointAtOffset to accept an
7258 AccessibleCoordType.
7260 Changed calls which retrieve attributes.
7261 Changed refRunAttributes to getAttributes.
7266 * idl/Hyperlink.idl:
7267 Changed n_anchors attribute to nAnchors to keep naming
7268 convention consistent.
7271 Made Table inherit from Bonobo::Unknown.
7272 Added nSelectedColumns and nSelectedRows attributes.
7275 Made Value inherit from Bonobo::Unknown.
7277 * libspi/hyperlink.c:
7278 Change for nAnchors attributte name change.
7280 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7288 Added interface implementation c files to list of
7289 includes so they are included in libcspi.
7292 Changed prototype of AccessibleAction_doAction to return a
7294 Changed prototype of AccessibleTable_getCaption to
7295 return an Accessible.
7296 Changed prototype of AccessibleTable_getSelectedRows
7297 and AccessibleTable_getSelectedColumns to
7298 return a long (returns the number of selected rows
7299 or columns respectively).
7300 Changed name of AccessibleText_refRunAttributes to
7301 AccessibleText_getAttributes.
7302 Changed prototype of AccessibleText_getCharacterExtents to
7303 return a void rather than a boolean.
7304 Added support for a AccessibleCoordType parameter
7305 specifying what type of coordinates are desired.
7306 Added an AccessibleCordType parameter to
7307 AccessibleText_getPointAtOffset.
7309 * cspi/spi_accessible.c:
7310 Added code to return the outstanding interfaces from
7311 Accessible_queryInterface.
7313 * cspi/spi_action.c:
7315 Corrected call to getNActions to call the c binding
7318 * cspi/spi_editabletext.c:
7320 Changed name from setRunAttributes to setAttributes.
7322 * cspi/spi_hyperlink.c:
7324 Changed call to getNAnchors to correctly call the c
7325 binding for an attribute.
7327 * cspi/spi_hypertext.c:
7329 Changed getImageDescription to correctly call the
7330 binding for an attribute.
7332 * cspi/spi_selection.c:
7333 Changed getNSelectedChildren to correctly call the c
7334 binding for the attribute.
7335 Changed refSelectedChild to getSelectedChild.
7339 Changed getCaption to return an Accessible.
7340 Fixed calls which retrieve attributes.
7341 Changed refAt to getAccessibleAt.
7342 Changed getNSelectedRows and getNSelectedColumns to
7346 Changed getCharacterExtents and getPointAtOffset to accept an
7347 AccessibleCoordType.
7349 Changed calls which retrieve attributes.
7350 Changed refRunAttributes to getAttributes.
7355 * idl/Hyperlink.idl:
7356 Changed n_anchors attribute to nAnchors to keep naming
7357 convention consistent.
7360 Made Table inherit from Bonobo::Unknown.
7361 Added nSelectedColumns and nSelectedRows attributes.
7364 Made Value inherit from Bonobo::Unknown.
7366 * libspi/hyperlink.c:
7367 Change for nAnchors attributte name change.
7370 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7372 implementations-- made server implementations own AtkObject pointers
7373 rather than their respective AtkInterrface pointers to fix
7374 refcounting. AtkHyperlink is still broken.
7376 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7377 * cspi/spi_accessible.c:
7378 Added method Accessible_Role_getName(),
7379 and requisite string array (role_names).
7380 Added conversion string_from_corba_strin() call
7381 to Accessible_getName and _getDescription.
7382 * libspi/accessible.c:
7383 Added implementation for Accessible_getRole()
7385 Added festival support, used if environment variable
7388 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7390 * at-bridge/bridge.c:
7391 Now allocate Accessibility_Event using
7392 Accessibility_Event__alloc() instead of g_new0().
7393 * libspi/accessibleeventlistener.c:
7394 Initialize AccessibleEventListener->callbacks to NULL.
7395 Fixed accessible__event_listener_init() param, changed to
7396 "AccessibleEventListener *" type.
7397 Changed a bonobo_object_release_unref() call to
7398 Accessibility_Accessible_unref().
7399 * libspi/listener.c:
7400 Changed Bonobo_Unknown_unref to (equivalent)
7401 Accessibility_Accessible_unref.
7402 * libspi/registry.c:
7403 Changed bonobo_object_release_unref to
7404 Accessibility_Accessible_unref.
7406 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7409 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7410 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7411 spi-util.c spi-util.h
7412 Implementations for C bindings to remaining accessibility
7415 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7418 changed return value of Action from void to boolean to
7419 bring in line with ATK.
7422 Changed getText funcions to return "out" start and end offsets.
7423 Changed getAttributes to take and offset and return the start
7424 and end offset of the attribute run.
7425 Changed getOffsetAtPoint and getCharacterExtents to take an
7426 enum describing whether coordinates are window or screen.
7429 libspi/action.c libspi/action.h libspi/editabletext.c
7430 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7431 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7432 libspi/image.h libspi/selection.c libspi/selection.h
7433 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7434 libspi/value.c libspi/value.h
7435 Added server implementations for outstanding ATK interfaces
7436 not yet implemented.
7438 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7441 Added (missing) getName() method.
7442 Made nActions an attribute.
7443 * idl/EditableText.idl:
7444 Changed order of params in setAttributes.
7445 * idl/Hyperlink.idl:
7446 Removed getAnchor, added getURI.
7448 Changed attributes to methods, for efficiency
7449 (so that getting extents can be done in one call)
7450 * idl/Selection.idl:
7451 Changed nSelectedChildren to attribute, and re-indented.
7452 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7454 * idl/Text.idl: reformatted to match our coding style.
7455 (temporarily?) removed getRowColumnAtOffset().
7456 Changed text selection API to support multi-select and
7457 non-contiguous selections, as in ATK.
7458 * idl/Value.idl: changed some methods to attributes.
7460 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7462 * libspi/listener.c(impl_notify_event):
7463 BonoboUnkown_unref the source instead
7464 of bonobo_object_release_unref - the ORB
7465 handles the releasing.
7467 * configure.in: require ORBit-2.3.94 for
7470 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7472 Tagged CVS repository 'EA_1_0'.
7473 * README.EARLY_ACCESS:
7474 Alphabetized acknowledgements list, and
7476 Listed some known dependencies of at-spi.
7478 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7480 * docs/at-spi-docs.sgml:
7481 * docs/at-spi-sections.txt:
7482 * docs/at-spi-overrides.txt: (Added zero-length file)
7483 Documentation improvements - gtk-doc should build
7484 docs for all implemented C bindings now.
7487 * cspi/spi.c: (New file)
7488 * cspi/spi_event.c: (New file)
7489 * cspi/spi_registry.c: (New file)
7490 * cspi/spi_accessible.c: (New file)
7491 * cspi/spi_application.c: (New file)
7492 * cspi/spi_component.c: (New file)
7493 Split spi_main.c into six parts, and included them from
7494 "spi.c". This is a bit of a hack, probably temporary,
7495 but required by gtk-doc, apparently.
7497 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7500 * docs/at-spi-docs.sgml:
7501 * docs/at-spi-sections.txt:
7503 Initial checkins/modifications for gtk-doc generation.
7506 Added (missing) interface query methods to Accessible's C binding.
7508 Added GenericInterface type definition.
7510 Added query for AccessibleComponent interface to focus event handler.
7511 Added printout of bounding box for focussed component.
7512 * libspi/component.c:
7513 Added partial implementation for AccessibleComponent to C binding.
7514 * idl/Application.idl:
7515 * libspi/registry.c:
7516 * libspi/listener.c:
7517 * libspi/application.c:
7518 * libspi/application.h:
7519 Changed "ID" attribute type from string to long.
7521 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7525 Made method naming consistent: methods taking object args
7526 start with uppercase, other methods (except those using
7527 acronyms) start with lowercase. Underscores delimit between
7528 object names and method names:
7529 SPI_init() - uppercase since it starts with an acronym.
7530 getDesktopCount () - lowercase start since no object param0.
7531 Accessible_getName() - uppercase object type name, studlyCaps method
7535 Added gtk-doc documentation for all currently implemented
7536 methods in the C bindings API.
7538 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7540 * Makefile.am : changed build order to build test last.
7543 Changed "createEventListener" to "CreateEventListener".
7544 * libspi/accessibleeventlistener.c :
7545 Bugfix for addition of callbacks.
7546 * test/Makefile.am :
7547 * test/simple-at.c :
7548 Added new test that uses the C bindings API.
7550 * libspi/listener.c :
7551 * libspi/registry.c :
7552 * libspi/accessibleeventlistener.c :
7553 * at-bridge/bridge.c :
7554 Renamed member "target" of Accessibility_Event to "source",
7555 which is more descriptive.
7558 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7562 * cspi/Makefile.am :
7563 Added makefile support for at-spi/cspi directory.
7566 * cspi/spi-listener.h : (NEW FILE)
7567 Added support for/use of spi-listener.h.
7569 C bindings now build successfully, with no warnings.
7570 * libspi/accessibleeventlistener.h : (NEW FILE)
7571 * libspi/accessibleeventlistener.c : (NEW FILE)
7572 * libspi/Makefile.am :
7573 Added new object type "AccessibleEventListener"
7574 which inherits from Listener, and allows attachment
7575 of in-process callbacks (so that a client with a listening
7576 object instance can add functionality to the local
7577 implementation, dynamically).
7579 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7581 * libspi/accessible.c:
7582 Add implementation for get_index_in_parent().
7584 Added #include of "spi-roletypes.h", and
7585 added enumerated type AccessibleCoordType.
7586 Added definition for KeystrokeListener (function type).
7589 * cspi/spi-statetypes.h :
7590 * cspi/spi-roletypes.h :
7592 Added these headers, used by spi.h.
7594 Added code (NOTE: not yet built by make).
7596 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7598 * libspi/Makefile.am: generate imodule
7599 at the same time as other idl compiler
7602 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7603 * libspi/registry.c :
7604 * libspi/application.c :
7605 * idl/Application.idl :
7606 Made registration with toolkit an application method,
7607 which is required since each app has its own toolkit static
7608 environment. Thus the bridge must register for
7609 notification of toolkit events from each application in turn.
7610 Toolkit notifications are now successfully registered for, and
7611 sent to the listening at client.
7613 Changed toolkit event string to use hyphens rather than underscores.
7614 * libspi/listener.c :
7615 listner now gives more info in debug mode - it reports the
7616 name of the event received, as well as the name of the source.
7619 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7621 * libspi/registry.c :
7622 added more implementation for toolkit events.
7623 Fixed bug such that toolkit event registrations
7624 (via atk) use the whole event name string, not
7626 Removed a useless call to an ORBit_ method.
7627 * at-bridge/bridge.c :
7628 Removed unused local sbuf[] variable.
7630 We now register for Gtk:GtkWidget:button_press_event
7631 events as well as "focus:" events.
7633 Add some more API from Registry.idl that was missing,
7634 for keystroke listening, keystroke and mouse event
7635 synthesis, and enumeration of accessible desktops.
7637 2001-08-16 Michael Meeks <michael@ximian.com>
7639 * configure.in: use AM_GLIB_GNU_GETTEXT.
7641 * Makefile.am (SUBDIRS): kill intl.
7643 2001-08-15 Michael Meeks <michael@ximian.com>
7645 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7647 * configure.in: upd.
7649 * configure.in: depend on a recent bonobo-activation that
7650 will find our server files ...
7652 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7654 * libspi/accessible.c : accessible_new() :
7655 Now we add the Component interface via bonobo_object_add_interface,
7656 if the contained AtkObject implements AtkComponent.
7657 * libspi/accessible.h : now include "component.h"
7658 * libspi/component.h :
7659 * libspi/component.c : added files - implementation of
7660 bonobo wrapper object for Accessibility/Component
7661 * libspi/listener.c :
7662 Added test code to check for Accessibility/Component:1.0
7663 interface and report whether it is implemented by the
7665 * libspi/registry.c :
7666 Now we check for not only the hash of the whole event
7667 string before relaying the event, we also check the
7668 "minor" event string (without the detail string).
7669 This allows event listeners to be registered against
7670 all events of a certain major+minor type, or just
7671 against a specific major+minor+detail type.
7672 * libspi/accessible.c :
7673 Added implementations for Accessible:get_parent(),
7674 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7675 * libspi/registry.c :
7676 * libspi/listener.c :
7677 Replaced calls to Accessibility_Accessible_ref() and
7678 Accessibility_Accessible_unref() with
7679 calls to bonobo_object_dup_ref() and
7680 bonobo_object_release_unref(), so that the CORBA object
7681 is dup-ed and released when relayed, as well as the bonobo object.
7683 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7685 * libspi/Makefile.am,
7686 registryd/Makefile.am,
7687 at-bridge/Makefile.am.
7688 test/Makefile.am, configure.in:
7689 reverse previous changes.
7691 * /idl/Image.idl: fix typo.
7693 * test/Makefile.am: put DEBUG_FLAGS
7696 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7698 * test/app.c: use argv[0] instead of
7701 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7703 * libspi/Makefile.am,
7704 registryd/Makefile.am,
7705 at-bridge/Makefile.am.
7706 test/Makefile.am, configure.in:
7707 cleanup, replace individual LIBS/CFLAGS with
7708 AT_COMMON_{LIBS|CFLAGS}.
7712 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7714 * configure.in, libspi/Makefile.am:
7715 Change IDL path checking for bonobo-activation
7718 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7720 * registryd/registry.c : separated event listeners to use
7721 3 separate lists (focus, window, toolkit). Began testing
7722 event names against hashes before relaying events.
7723 * test/at.c : now register for events of type "focus:"
7724 * test/app.c : now generate events of type "focus:"
7725 * at-bridge/bridge.c : register with ATK for focus events,
7726 and we now relay those focus events to any "focus:" listeners.
7727 This now works with the bridge as a GTK_MODULE when running test/at.
7728 * libspi/registry.c :
7729 * libspi/listener.c :
7730 now we ref event sources before propagating, and unref on receipt.
7731 * libspi/registry.c :
7732 some changes to internal structs, to support event typestring hashes.
7733 * text/app.c : changed the way the appname is generated.
7734 * cspi : added directory that will hold the C bindings library for
7735 non-CORBA/bonobo-savvy clients.
7736 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7737 * idl/Component.idl : added in parameter to indicate coord system for
7738 geometry-related calls.
7739 * idl/Hyperlink.idl : added readonly n_links attribute
7740 * idl/Image.idl : changed methods to attributes.
7742 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7744 * at-bridge/Makefile.am: link against
7745 ../libspi/libspi.la instead of -lspi.
7747 * at-spi/test/app.c: include
7748 bonobo-activation.h. Use a default appname
7749 if one is not provided.
7751 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7753 * idl/Registry.idl : temporarily changed register_Application
7754 to oneway, to work around issue with initial registration
7756 * idl/Application.idl : changed attribute "id" from readonly
7757 to read-write, since it needs to be assigned by Registry.
7758 * registryd/registryd.c : added call to set application id
7760 * registryd/registry.c : changed de-registration procedure to
7761 use CORBA_Object_hash() to find matching object ref in application
7762 lists and listener lists.
7763 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7764 began distinguishing between event types (work in progress).
7766 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7769 * libspi/application.c:
7770 Added implementations for get/set id, get_toolkitName,
7772 * registryd/registryd.c :
7776 Converted from use of OAF to bonobo-activation.
7777 * libspi/desktop.h :
7778 * libspi/desktop.c :
7780 Removed references to atksimpleobject, since base atkobject
7781 implementation now provides functionality we need.
7782 * libspi/atksimpleobject.c :
7783 * libspi/atksimpleobject.h :
7788 * at-bridge/Makefile.am
7789 * at-bridge/bridge.c
7792 Added directory "bridge" and contents, and added dependencies
7793 in Makefile.am/configure.in.
7794 Initial checkin of "at-bridge".
7795 This code is a GTK_MODULE which automatically registers
7796 GTK+ apps with the accessibility registry, using an object
7797 reference to the root ATK object.
7799 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7801 * po/Makefile.in.in: Remove. Again. If this
7802 doesn't get autogenerated - you need to update
7805 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7807 * po/Makefile.in.in: Add. Again.
7809 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7811 * libspi/accessible.c : added support for 'description' property.
7812 * libspi/accessible.c
7814 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7815 (since the two are now equivalent in libbonobo)
7823 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7824 Bonobo::Unknown as does Accessibility::Accessible.
7825 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7826 interface with Bonobo::Stream, since it was redundant with it.
7827 (The Stream returned by a StreamableContext object is expected to
7828 implement only a subset of Bonobo::Stream)
7830 2001-07-28 Anders Carlsson <andersca@gnome.org>
7832 * libspi/accessible.c (accessible_object_finalize): Change
7833 g_free to g_object_unref since the AtkObject is a GObject.
7835 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7837 * idl/Accessibility.idl: add new IDL files
7840 * idl/Action.idl: Definitions of actionable UI object
7841 * idl/Component.idl: Definitions of UI component geometry, etc.
7842 * idl/Hyperlink.idl: Defs of hyperlink behavior
7843 * idl/Image.idl: Def of accessible image
7844 * idl/Selection.idl: Definition of UI object with selectable children
7845 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7846 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7847 * idl/Text.idl: Interface defs for UI elements with complex textual content
7848 * idl/Value.idl: Definition of UI element that is a value controller or display
7850 2001-07-27 Michael Meeks <michael@ximian.com>
7852 * po/Makefile.in.in: remove autogenerated file from CVS.
7854 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7857 * idl/Registry.idl: include guard.
7859 * idl/Accessibility.idl: Add, and include all the other IDL
7862 * idl/*.idl: remove mass of pragmas etc.
7864 2001-07-26 Michael Meeks <michael@ximian.com>
7866 * registryd/Makefile.am (registryd_SOURCES): remove
7869 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7871 * libspi/.cvsignore, registryd/.cvsignore,
7872 test/.cvsignore: updated.
7874 * po/Makefile.in.in: gettext update.
7876 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7878 * initial CVS checkin
7880 2001-06-29 Michael Meeks <michael@ximian.com>
7882 * configure.in: add AM_CONFIG_HEADER to gen config.h