1 2007-04-02 Ariel Rios <ariel@gnu.org>
3 Implement the Matchrule interface required for Collection.
9 * cspi/spi_accessible.c: (Accessible_isCollection),
10 (Accessible_isMatchRule), (Accessible_getCollection),
11 (Accessible_getMatchRule):
12 * cspi/spi_collection.c: new file.
13 * cspi/spi_matchrule.c: new file.
14 * idl/Accessibility.idl:
15 * idl/Accessibility_Collection.idl: new file.
18 * libspi/collection.c: new file.
19 * libspi/collection.h: new file.
21 * libspi/matchrule.c: new file.
22 * libspi/matchrule.h: new file.
24 2007-03-29 Ariel Rios <ariel@gnu.org>
26 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
28 2007-03-22 Li Yuan <li.yuan@sun.com>
30 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
31 main context. Fix for #329454.
33 2007-03-12 Li Yuan <li.yuan@sun.com>
35 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
37 2007-03-02 Li Yuan <li.yuan@sun.com>
40 (spi_atk_bridge_register_application),
41 (deregister_application), (spi_atk_bridge_focus_tracker),
42 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
43 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
44 to prevent calling threads_enter/leave during the init and shutdown.
46 2007-02-27 Li Yuan <li.yuan@sun.com>
49 (spi_re_entrant_list_delete_link):
50 Bug #412286. Reverse previous patch.
51 * configure.in, NEWS: Uprev/release 1.17.2.
53 2007-02-26 Li Yuan <li.yuan@sun.com>
55 * libspi/accessible.c:
56 (impl_accessibility_accessible_get_attributes),
57 (impl_accessibility_accessible_get_relation_set):
58 Bug #404584 and #401299. Return an empty object instead of return NULL.
59 * configure.in, NEWS: Uprev/release 1.17.1.
61 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
63 * Makefile.am: Dist MAINTAINERS.
65 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
67 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
68 (atk_bridge_init), (spi_atk_bridge_get_registry),
69 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
70 Fix some compiler warnings and plug a leak. Closes part of
73 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
75 * cspi/bonobo/cspi-bonobo-listener.h:
76 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
77 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
78 * cspi/spi_main.c: (SPI_eventIsReady):
79 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
80 * libspi/streamablecontent.c:
81 * libspi/util.c: (spi_re_entrant_list_delete_link):
82 * login-helper/login-helper.c:
83 * registryd/deviceeventcontroller.c:
84 (spi_controller_update_key_grabs), (isEvent):
85 * registryd/registry.c:
86 * test/key-listener-test.c: (simple_at_exit):
87 * test/login-helper-server-test.c: (test_set_wm_dock),
89 Fix a bunch of warnings from sparse:
90 - ANSIfication of function declarations
93 - make some stuff static
95 2007-02-14 Li Yuan <li.yuan@sun.com>
97 * libspi/accessible.c:
98 (impl_accessibility_accessible_get_attributes):
99 Bug #404584. If there is no attributes, just return NULL.
101 2007-02-12 Li Yuan <li.yuan@sun.com>
103 * configure.in, NEWS: Uprev/release 1.17.0.
105 2007-02-12 Li Yuan <li.yuan@sun.com>
107 * atk-bridge/bridge.c:
108 (atk_bridge_init): bug #400709. we must emit events even if we are not
109 registered as a full-fledged app.
110 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
111 application like openoffice shutdown. They need to unload gtk before
112 the is spi_atk_bridge_exit_func called.
114 2007-01-22 Li Yuan <li.yuan@sun.com>
116 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
118 2007-01-22 Li Yuan <li.yuan@sun.com>
120 * cspi/bonobo/cspi-bonobo.c:
121 (cspi_get_registry_ior), (cspi_init):
122 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
124 2007-01-19 Li Yuan <li.yuan@sun.com>
126 * atk-bridge/bridge.c:
127 (atk_bridge_init), (spi_atk_bridge_register_application),
128 (deregister_application), (spi_atk_bridge_focus_tracker),
129 (spi_atk_emit_eventv):
130 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
133 2007-01-08 Li Yuan <li.yuan@sun.com>
135 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
137 2007-01-08 Li Yuan <li.yuan@sun.com>
139 * registryd/registry-main.c:
140 (main): set registry ior only when register server successfully.
141 * atk-bridge/bridge.c:
142 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
143 Bug #372988, #381670. Fix memory leak.
145 2007-01-02 Bill Haneman <billh@gnome.org>
148 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
149 appending default attributes to a text attribute set.
152 2006-12-28 Li Yuan <li.yuan@sun.com>
154 * atk-bridge/bridge.c:
155 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
156 the second time, because spi_atk_emit_eventv will free any. Bug
159 2006-12-15 Li Yuan <li.yuan@sun.com>
161 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
163 2006-12-14 Li Yuan <li.yuan@sun.com>
166 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
167 (spi_atk_bridge_property_event_listener),
168 (spi_atk_bridge_signal_listener):
169 Free some CORBA objects to fix memory leak and crash.
171 2006-12-13 Li Yuan <li.yuan@sun.com>
173 Patch from Ariel Rios to fix #163132 and #377079.
174 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
175 (spi_atk_bridge_get_registry_ior):
176 Use g_warning instead of g_error and g_critical to avoid crash.
178 2006-12-11 Bill Haneman <bill.haneman@sun.com>
181 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
182 if there are no non-default attributes defined at the current offset.
185 2006-12-04 Bill Haneman <bill.haneman@sun.com>
187 * idl/Accessibility_Role.idl: Fixed the documentation for
188 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
190 2006-12-04 Bill Haneman <bill.haneman@sun.com>
192 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
194 2006-11-07 Bill Haneman <bill.haneman@sun.com>
196 Patches from Padraig O'Briain for bugs #361386 and #369377.
198 * registryd/registry.c:
199 (struct NotifyContext): Change the e_out
200 member from an Accessibility_Event struct to a pointer to
202 (notify_listeners_cb): Modify to use the new struct definition above.
203 Allows use of ORBit_copy_value instead of CORBA_any__copy.
205 * registryd/deviceeventcontroller.c:
206 (spi_dec_button_update_and_emit): Free the event's any_data
208 (spi_dec_mouse_check):Free the event details any struct
210 (spi_device_event_controller_forward_mouse_event): Free any.
211 (spi_device_event_controller_forward_key_event): Ditto.
213 2006-11-07 Bill Haneman <bill.haneman@sun.com>
215 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
216 Don't require gtk+ and gail for building most of at-spi
219 * registryd/registry-main.c (main): We now get te value of display
220 using the env var DISPLAY rather than using the gdk_display_get_default
221 to avoid dependancy of gdk. Also, once the registry is started, we set
222 the ior of the registry as an X property.
223 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
225 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
226 the registration was successfull.
227 (spi_atk_bridge_do_registration): This function now returns success
228 or not on activating the registry.
229 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
230 has been set in the X root window and return it if available.
231 (spi_atk_bridge_get_registry): We now get the registry using the IOR
232 saved as a X property rather than using the OAFID.
234 2006-10-01 Bill Haneman <bill.haneman@sun.com>
236 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
238 2006-09-25 Bill Haneman <bill.haneman@sun.com>
240 * registryd/registry.c:
241 (desktop_remove_application): Don't pass a ref to the
242 dead application with the event, since it's probably
243 defunct and will cause SEGV if we try to unref,
244 extract app name, etc.
247 2006-09-20 Bill Haneman <bill.haneman@sun.com>
249 Patch from Neo Liu <nian.liu@sun.com>,
252 * atk-bridge/bridge.c:
253 (spi_atk_bridge_document_event_listener): New, for
256 2006-08-30 Bill Haneman <bill.haneman@sun.com>
259 Changed some parameter names so as not to
260 collide with class names - allows IDL to be compiled with
261 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
263 2006-08-22 Bill Haneman <bill.haneman@sun.com>
265 * atk-bridge/bridge.c:
266 (spi_atk_bridge_signal_listener):
267 Patch from Ginn Chen, assign detail1 in children-changed
268 so that the child object can be assigned to the Any when the
269 at-spi event is emitted. Bug #350552.
271 * libspi/application.c:
272 (spi_application_finalize): Remove g_print debug output.
275 2006-08-21 Bill Haneman <bill.haneman@sun.com>
277 * configure.in: Revved to AT-SPI 1.7.11.
279 * libspi/accessible.c:
280 (spi_accessible_new): Aggregate Hyperlink interface
281 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
283 * libspi/hyperlink.c:
284 (spi_hyperlink_new): Don't aggregate Action a second time if this
285 interface is created for an AtkHyperlinkImpl object (i.e. for a
286 child Accessible, as opposed to the Hyperlink instance from
288 (get_hyperlink_from_servant): Obtain the hyperlink from
289 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
291 Patch section from Ginn Chen...
293 * cspi/spi_accessible.c:
294 (_cspi_accessible_set_from_sequence):
295 Changed g_newa to g_new0 on Ginn Chen's suggestion.
297 * libspi/accessible.c:
298 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
299 (spi_accessible_new): Add the Document interface if present.
302 (impl_getAttributes): Fixed to use AtkAttribute properly.
305 (impl_getAttributes, impl_getDefaultAttributes):
306 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
308 2006-08-17 Bill Haneman <bill.haneman@sun.com>
310 * cspi/spi-private.h, cspi/spi_accessible.c:
311 (_cspi_attribute_set_from_sequence): Renamed from
312 cspi_attribute_set_from_sequence, to suppress export.
315 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
316 inline docs, which was keeping the doc from appearing.
317 (SPIExceptionHandler): Doc this.
319 * cspi/spi_document.c:
320 Added inline gtk-docs cut-n-pasted from the doxygen
321 docs in the corresponding IDL files.
322 (AccessibleDocument_getAttributes): Fix the retval here.
324 * cspi/spi_streamablecontent.c:
325 Fixed some 'Since' tags that were accidentally doxygen-style.
328 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
329 docs from the IDL file.
331 * docs/reference/cspi/at-spi-cspi-docs.sgml:
332 Added entities for Document and StreamableContent interfaces.
334 * docs/reference/cspi/at-spi-cspi-sections.txt:
335 Added some docs that were present inline but not getting
338 2006-07-31 Bill Haneman <bill.haneman@sun.com>
341 (impl_getRangeExtents): Use the atk_text_get_range_extents
342 API instead of looping over character bounds, now that
344 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
345 (_spi_text_bounds_contain): Remove, not needed anymore.
346 (_spi_text_rect_union): Remove, not needed anymore.
348 2006-07-31 Bill Haneman <bill.haneman@sun.com>
350 * atk-bridge/bridge.c:
351 (spi_atk_emit_eventv): Fix the CORBA_free call which was
352 causing 64-bit troubles and memory leaks.
353 Special thanks to Alexander Larsson who finally seems to
354 have tracked down the problem, not just here but in
358 (spi_init_any_object): Make sure we copy the CORBA value
359 when initializing an object for passing as a CORBA_Any.
362 2006-07-21 Bill Haneman <billh@gnome.org>
364 * idl/Accessibility.idl:
365 Reverted pragma changes, this broke the build in some envs
366 including the Debian team's build and some tinderbox builds.
368 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
371 Revved to 1.7.10, and edited the Xevie check (bug #319994).
373 * idl/Accessibility.idl:
374 Reworked inclusion of Bonobo_Unknown.idl, to
375 avoid double-linking libs in the Bonobo environment.
376 Thanks to Michael Meeks for the workaround, see bug #313122.
378 * registryd/deviceeventcontroller.c:
379 (spi_controller_notify_keylisteners):
380 Set the SPI_NUMLOCK_MASK bit if the modifier
381 corresponding to the conceptual numlock state is set.
384 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
386 * idl/Accessibility_Selection.idl:
387 (deselectChild): New method.
389 * libspi/selection.c:
390 (impl_deselectChild): Implement the new IDL method.
393 (AccessibleSelection_deselectChild): Added new method.
395 * cspi/spi_selection.c:
396 (AccessibleSelection_deselectChild): New method implemented.
398 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
400 * cspi/bonobo/cspi-bonobo.c:
401 (cspi_init): Replace g_error with g_warning, prevent
402 SEGV if the registry cannot be activated. Bug #346393.
404 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
406 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
408 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
409 2006-07-12 Ariel Rios <arios@us.ibm.com>
413 * idl/Accessibility_Table.idl:
414 (getRowColumnExtentsAtIndex): New method for getting
415 selection status and extents in one API call.
418 (impl_getRowColumnExtentsAtIndex): Implementation of
420 (spi_table_class_init): Add above to epv.
424 (AccessibleTable_getRowColumnExtentsAtIndex): New
425 method, retrieves selection status and row/col extents
426 for a table cell in a single API call.
428 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
429 2006-07-12 Ariel Rios <arios@us.ibm.com>
431 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
434 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
435 New bindings for new methods defined in idl and libspi.
438 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
439 Added prototype functions.
442 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
444 (spi_text_class_init): Added previous methods.
447 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
448 * libspi/spi-private.h: Corrections.
450 2006-06-29 Bill Haneman <bill.haneman@sun.com>
452 Added Document interface (see bug #326520),
453 with work from Ariel Rios <arios@us.ibm.com>.
455 * configure.in: Bump to 1.7.8.
457 * libspi/Makefile.am: Added document.[ch] to sources
460 (SpiDocument, SpiDocumentClass):
461 New interface implementation.
462 (spi_document_get_type, spi_document_construct)
463 (spi_document_interface_new): New methods added.
464 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
465 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
466 Added macros for SpiDocument
470 (spi_document_interface_new): Get a
471 new document interface. New.
472 (get_document_from_servant): Get an AtkDocument from servant New.
473 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
474 Implementation of methods defined on idl.
475 (spi_document_class_init, spi_document_init)
476 Init methods for SpiDocument. new
478 * idl/Accessibility.idl: Added Accessibility_Document.idl.
480 * cspi/Makefile.am: Added spi_document.c to sources.
482 * cspi/spi_document.c:
483 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
484 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
485 (AccessibleDocument_getAttributes): Bindings for methods defined
488 * cspi/spi_accessible.c:
489 (Accessible_isDocument, Accessible_getDocument) New.
491 (Accessible_isDocument, Accessible_getDocument)
492 (AccessibleDocument_ref, AccessibleDocument_unref)
493 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
494 (AccessibleDocument_getAttributes): Bindings added.
496 * idl/Makefile.am: Added Accessibility_Document.idl to
499 2006-06-29 Bill Haneman <bill.haneman@sun.com>
501 * idl/Accessibility_Document.idl: New interface
502 for complex documents. First stage of fix for RFE
505 2006-06-27 Bill Haneman <bill.haneman@sun.com>
507 * libspi/streamablecontent.c:
508 (impl_content_stream_close):
509 Unref the GIOChannel on close.
511 2006-06-23 Bill Haneman <bill.haneman@sun.com>
513 * idl/Accessibility_Role.idl:
514 * libspi/accessiblerole.c:
515 * cspi/spi_accessible.c: Added ROLE_LINK,
516 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
517 Bug #345758 and bug #140635.
520 2006-06-22 Bill Haneman <bill.haneman@sun.com>
524 * idl/Accessibility_StreamableContent.idl:
525 Fix derivation of StreamableContent and ContentStream.
527 * cspi/spi_streamablecontent.c:
528 (accessible_content_stream_client_read):
529 Fix the datatype of the content stream used.
530 Interpret short reads as EOF, and stop trying to
531 read when we've fulfilled the request.
532 (AccessibleStreamableContent_getContentTypes):
533 Use g_strdup, not CORBA_string_dup, for the strings.
534 (AccessibleStreamableContent_open):
535 Correctly use the new getStream method for opening,
536 not the deprecated getContent method.
537 Use the object reference as the stream hash key.
538 Make note of the 'one stream per client per streamable'
539 limitation in the docs.
542 Add streamablecontent.h to the list of #includes.
544 * libspi/streamablecontent.c:
545 (impl_content_stream_read): Initialize the GError.
546 Allocate the incoming buffer if reading a fixed length of
547 data. Use g_memmove instead of memcpy.
548 (impl_accessibility_streamable_get_content_types):
549 Init typelist->_maximum. Only allocate the buffer if
550 there is a non-zero number of content types available.
551 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
553 * libspi/streamablecontent.h:
554 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
557 (SPI_IS_VALUE): Fix a typo in this macro too.
559 2006-06-16 Bill Haneman <bill.haneman@sun.com>
563 * idl/Accessibility_StreambleContent.idl:
564 Deprecate the Bonobo_Stream-based methods in favor of
565 a self-contained "ContentStream" interface. This should
566 allow us to remove BonoboStream dependencies entirely, since
567 there were no non-NIL implementations of the old methods anyway.
568 (ContentStream): New interface.
569 (ContentStream::SeekType): Enum.
570 (ContentStream::seek): New.
571 (ContentStream::read): New.
572 (ContentStream::close): New.
573 (getContent): Deprecate.
574 (getURI): New method, returns a URI pointing to the content, if available.
576 * libspi/streamablecontent.c:
577 (SpiContentStream): Internal object type definition used to
578 implement Accessibility::StreamableContent::ContentStream via
579 AtkStreamableContent's GIOChannel back-end.
580 (spi_content_stream_new, spi_content_stream_dispose): See above;
582 (impl_content_stream_seek, impl_content_stream_read):
583 (impl_content_stream_close): New, implementations of
585 (impl_accessibility_streamable_get_stream): Implement the
586 public method Accessibility::StreamableContent::getStream.
587 (impl_accessibility_streamable_get_uri): Implement the
588 public method Accessibility::StreamableContent::getURI.
590 * cspi/spi_streamablecontent.c:
591 (accessible_bonobo_stream_client_seek): Replaced by
592 (accessible_content_stream_client_seek).
593 (accessible_bonobo_stream_client_read): Replaced by
594 (accessible_content_stream_client_read).
595 (AccessibleStreamableContent_open):
596 (AccessibleStreamableContent_seek):
597 (AccessibleStreamableContent_read):
598 (AccessibleStreamableContent_close): Use the new 'getStream'
599 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
601 2006-06-15 Bill Haneman <bill.haneman@sun.com>
603 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
604 remove from other .idl files (except LoginHelper).
607 2006-06-14 Bill Haneman <bill.haneman@sun.com>
609 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
612 * configure.in, */Makefile.am: mingw patch, modified from
613 original patch by yselkowitz. Bug #314216.
615 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
616 for completeness. Bug #163111.
618 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
619 * libspi/util.c, registryd/registry-main.c:
620 Fix guint/char* casts.
621 Patch from chpe, bug #333883.
623 2006-06-12 Bill Haneman <bill.haneman@sun.com>
625 * configure.in: Require atk-1.12.0, to pick up
626 new API. (bug #344412).
628 * libspi-1.0-uninstalled.pc.in:
630 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
631 Fix for #341488 from Samual Thibault.
633 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
634 Thanks to Brian Pepple.
636 2006-06-09 Bill Haneman <bill.haneman@sun.com>
639 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
640 New, missing implementations of attribute reading methods
643 * cspi/spi.h, spi_value.c:
644 (AccessibleValue_getMinimumIncrement): New methods wrapping
645 the (formerly unimplemented) property from Value.idl.
648 (impl_get_minimumIncrement): Implementation for retrieving
649 the minimum valuator increment, (formerly unimplemented).
652 2006-06-09 Bill Haneman <bill.haneman@sun.com>
654 * idl/Accessibility_State.idl:
655 Added STATE_VISITED (bug #338369).
657 * cspi/spi_accessible.c:
658 (spi_state_to_corba) Fixed marshalling of new statetypes.
661 (spi_init_state_tables, impl_getStates):
662 Fixed conversion of new statetypes to/from ATK.
664 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
666 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
667 definitions/conversions for new roles from ATK.
669 * idl/Accessibility_Relation.idl:
671 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
672 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
673 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
675 * libspi/accessible.c: Fixed marshalling of new role types from
678 2006-04-17 Matthias Clasen <mclasen@redhat.com>
680 * revert my previous change
682 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
684 * configure.in: Remove obssolete no_NO locale
685 * po/no.po: And the translation.
687 2006-04-05 Matthias Clasen <mclasen@redhat.com>
689 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
690 memory-management error that caused crashes on x86_64.
693 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
695 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
697 2006-03-27 Bill Haneman <bill.haneman@sun.com>
699 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
700 to strip "cspi_*" from the symbol table.
702 * cspi/spi_streamablecontent.c:
703 (get_streams): Make this method static.
706 (_cspi_exception_throw): rename to cspi_exception_throw,
707 so we can strip it with the rest...
710 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
712 2006-03-27 Bill Haneman <bill.haneman@sun.com>
714 Add doxygen-generated IDL docs to tarball, and enable
715 doxygen during build/install when available. Bug #301345.
717 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
719 * docs/reference/Makefile.am: Add idl to SUBDIRS.
721 * docs/reference/idl/Makefile.am: Optionally use
722 doxygen to create docs.
724 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
726 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
728 2006-03-20 Bill Haneman <bill.haneman@sun.com>
731 (impl_get_selected_rows): Don't free the selection if it's
732 empty or has not been assigned; init it to NULL so you can tell.
733 Also, allow for zero selected rows.
734 (impl_getSelectedColumns): Ditto. Bug #319088.
736 2006-03-11 Vincent Untz <vuntz@gnome.org>
738 Leak fix for bug #334217.
740 * libspi/application.c: spi_application_toolkit_event_listener():
741 don't duplicate the string we pass as an argument to
742 spi_init_any_nil() since spi_init_any_nil() already does it
743 * registryd/deviceeventcontroller.c:
744 (spi_dec_button_update_and_emit): ditto
745 (spi_dec_mouse_check): ditto
746 (spi_dec_emit_modifier_event): ditto
747 (spi_device_event_controller_forward_mouse): ditto
748 * registryd/registry.c:
749 (desktop_add_application): ditto
750 (desktop_remove_application): ditto
752 2006-02-20 Bill Haneman <billh@gnome.org>
754 * configure.in: Rev to 1.7.6.
756 Leak fixes for bug #331924.
758 * atk-bridge/bridge.c:
759 (spi_atk_bridge_init_base): Don't dup the string, it's already
760 been dup-ed. Fixes a leak.
761 (spi_atk_emit_eventv): Move the CORBA_free call here,
762 instead of spi_atk_state_event_listener; fixes another leak.
763 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
764 notifying the registry; fixes another leak.
766 * registryd/registry.c:
767 (registry_flush_event_queue): Free the CORBA_any when
768 flushing the event, not just the string. Fixes another leak.
769 (registry_queue_event): Free the CORBA_any when dropping
770 events on the floor; fixes another leak.
773 (spi_init_any_object, spi_init_any_nil):
774 Always set _release to TRUE. Fixes another leak.
776 2006-02-20 Bill Haneman <billh@gnome.org>
778 * configure.in: Rev to 1.7.5.
779 Reinstate localization of this module. Thanks for Rodney
780 Dawes for fixing my patch.
782 * registryd/Makefile.am: Remove Accessibility_Registry.server
783 from dist, since it needs to be re-created at configure time.
786 2006-01-31 Bill Haneman <billh@gnome.org>
788 * configure.in: Rev to 1.7.4 (to include build fix below).
790 * idl/Makefile.am: Include Selector.idl in dist.
794 (cspi_internal_event_get_object): Handle case where
795 "object" isn't present, i.e. CORBA_TC_Object doesn't match
796 the EventDetails data.
797 (cspi_internal_event_get_text): Handle NULL string.
798 (cspi_internal_event_get_rect): Handle missing/empty rect
799 data, Accessibility_TC_RectBounds doesn't match any_data.
801 2006-01-30 Bill Haneman <billh@gnome.org>
805 * atk-bridge/bridge.c:
806 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
807 interface and use that when instantiating a new source
808 accessible. Better fix for bug #321814.
810 2006-01-27 Bill Haneman <billh@gnome.org>
812 * idl/Accessibility_Selector.idl: Added to the cvs repository.
814 * configure.in: Revved to 1.7.3.
816 2006-01-17 Bill Haneman <billh@gnome.org>
818 * configure.in: Revved to 1.7.2, re-dist to include docs.
820 2006-01-09 Bill Haneman <billh@gnome.org>
822 * configure.in: Removed po/Makefile.in inclusion, we do not need
825 * idl/Accessibility.idl: Improved documentation here, and for all
826 IDL in the 'GNOME::Accessibility' namespace.
828 * idl/Accessibility_Accessible.idl:
829 (LOCALE_TYPE): Added enum.
830 (AttributeSet): New, for returning multiple name/value attribute pairs.
831 (RoleSet): New, sequence of Roles, to be used in upcoming
833 (getAttributes): New API, allows retrieval of name/value pair
834 annotations for all kinds of Accessible objects. C.f.
835 Text:getAttributes, which is only for typographic/textual/semantic tags in
837 (getApplication): New, retrieves the host/containing Application
838 instance for an object (without having to walk up the whole tree).
840 * idl/Accessibility_Component.idl:
841 (getAlpha): New method, returns the alpha blending (aka 'opacity')
842 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
845 * idl/Accessibility_Event.idl:
846 (EventDetails): New struct definition, for encapsulating
847 commonly-queried information about emitted events. The use of
848 this structure in emitted events (in the 'any' member of
849 Accessibility_Event) should greatly reduce the number of
850 client-server roundtrips necessary.
852 * idl/Accessibility_Image.idl:
853 (imageLocale): New, a readonly attribute indicating the POSIX
854 LC_MESSAGES locale of the image and associated Alt/descriptive
857 * idl/Accessibility_Relation.idl:
858 (RELATION_PARENT_WINDOW_OF): Include, as complement to
861 * idl/Accessibility_Role.idl:
862 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
863 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
864 complex document and form support.
866 * idl/Accessibility_State.idl:
867 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
868 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
869 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
870 for support of complex documents and forms.
872 * idl/Accessibility_StreamableContent.idl:
873 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
874 allow old bonobo-stream interfaces to be deprecated in the next
877 * idl/Accessibility_Text.idl:
878 (getAttributeValue): New method, allows query-by-name of single
881 * libspi/accessible.c:
882 Added support for new roles. Implemented new methods
883 (impl_accessibility_accessible_get_application): New
884 (impl_accessibility_accessible_get_attributes): New
886 * libspi/component.c:
887 (impl_accessibility_component_get_alpha): New.
890 (impl_accessibility_image_get_locale): New.
892 * libspi/relation.c: Added support for new relation type.
894 * libspi/stateset.c: Added support for new state types.
897 (impl_getAttributeValue): New.
900 New prototypes for private methods
902 spi_init_any_object, spi_init_any_string,
905 * libspi/spi_event.c:
906 Use EventDetails in the event emission methods.
908 * cspi/spi-private.h:
909 (cspi_role_from_spi_role): Expose this adapter method, since
910 we need it in the bridge (see below).
913 (AccessibleEvent_getSourceName):
914 (AccessibleEvent_getSourceRole):
915 (AccessibleEvent_getSourceApplication):
916 (AccessibleEvent_getSourceDetails):
917 New methods for interrogating/demarshalling
918 event details (i.e. source's accessible name, role,
921 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
922 Make use of the new EventDetails struct in events, if present.
923 (AccessibleEvent_getSourceName)
924 (AccessibleEvent_getSourceRole)
925 (AccessibleEvent_getSourceApplication)
926 (AccessibleEvent_getSourceDetails): Implement the newly exposed
928 (Accessible_getAttributes): New, wraps
929 Accessibility_Accessible_getAttributes.
930 (Accessible_getHostApplication): New, wraps
931 Accessibility_Accessible_getApplication.
934 (AccessibleImage_getImageLocale): New wrapper for
935 Accessibility_Image_get_imageLocale.
937 * cspi/spi_component.c:
938 (AccessibleComponent_getAlpha): New wrapper for
939 Accessibility_Component_getAlpha.
941 * atk-bridge/bridge.c:
942 Use new prototyped for init_any methods.
943 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
944 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
945 (spi_atk_bridge_init_base): Wrappers
946 for spi_init_any_* methods, due to refactor; include extended
947 information in the Accessibility_EventDetails struct, for instance
948 accessible-name, Role, and containing Application.
950 * registryd/registry.c:
951 Use new event emission (with EventDetails).
953 * registryd/deviceeventcontroller.c:
954 Use new event emission (with EventDetails).
956 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
958 * configure.in: Generate po/Makefile.in
959 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
960 * cspi/spi_streamablecontent.c:
961 (accessible_bonobo_stream_client_seek),
962 (AccessibleStreamableContent_seek): Remove unused vars.
963 * libspi/application.c: Missing header.
964 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
965 * login-helper/login-helper.c: (login_helper_finalize),
966 (login_helper_init): Remove unused stuff
967 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
968 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
969 and surround some with #ifdef GRAB_BUTTON.
970 * test/event-listener-test.c: (main), (report_event),
971 (report_caret_event), (report_detail_event),
972 (report_detail1_event), (report_bounds_event), (report_text_event),
973 (report_text_selection_event),
974 (report_active_descendant_changed_event),
975 (report_children_changed_event), (report_name_changed_event),
976 (report_description_changed_event), (report_parent_changed_event),
977 (report_window_event), (report_table_summary_event),
978 (report_table_header_event), (report_table_caption_event),
979 (report_table_row_description_event),
980 (report_table_column_description_event), (timing_test_event):
981 Remove a bunch of unused variables and fix a slew of format specifiers
982 * test/key-listener-test.c: (report_all_key_event): Format specifier
983 * test/keypad-test.c: (print_key_event): Same
984 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
986 * test/screen-review-test.c: (main), (print_chunk_debug),
987 (review_buffer_get_text_chunk), (debug_chunk_list),
988 (string_guess_clip), (text_chunk_get_clipped_string),
989 (text_chunk_list_to_string), (get_screen_review_line_at):
990 Remove unused variables and fix format specifiers.
991 * test/simple-at.c: (report_text_event): Format specifier fix.
992 * test/stress-test.c: (main): Remove unused var.
994 2005-12-29 Abel Cheung <maddog@linuxhall.org>
996 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
997 (yes I know that's useless)
999 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1001 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1003 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1005 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1006 urgh-fix embarassing typo.
1008 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1010 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1011 do a faster, less problematic _unref call on this local
1012 object, rather than a slower (potentially cross-thread
1013 complicated) CORBA call.
1015 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1017 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1018 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1019 * registryd/deviceeventcontroller.c:
1020 (spi_controller_notify_mouselisteners),
1021 (impl_generate_keyboard_event):
1022 * test/screen-review-test.c: (chunk_bounds_within):
1023 * test/test-simple.c: (test_desktop): Remove some unused code
1024 and fix compiler warnings. Closes bug #320049.
1026 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1028 * registryd/deviceeventcontroller.c:
1029 (spi_controller_notify_keylisteners): Check
1030 to make sure the event listener has requested 'preemptive'
1031 status before pre-empting an event.
1033 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1035 * configure.in, README, NEWS: Release 1.6.5.
1037 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1039 * test/window-listener-test.c: Fix a printf
1040 format error. (#169453)
1042 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1044 * tests/test-simple.c:
1045 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1046 relying on the old string from the key event hanging around after
1047 the event handler returns. Fixes broken 'make check'.
1049 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1051 * Added Marathi (mr_IN) translations.
1053 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1055 * cspi/bonobo/cspi-bonobo-listener.c:
1056 (cspi_event_list_remove_by_cb): Fix the build.
1058 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1060 * cspi/bonobo/cspi-bonobo-listener.c
1061 (cspi_event_list_remove_by_cb): actually filter by callback.
1063 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1065 * registryd/registry.c (remove_listener_cb):
1066 Make deregistration filter rules match the event emission rules.
1068 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1070 * registryd/registry.c (remove_listener_cb),
1071 (impl_accessibility_registry_deregister_global_event_listener),
1072 (impl_accessibility_registry_deregister_global_event_listener_all):
1073 pass a closure to the remove callback to filter listeners more
1074 accurately on remove.
1076 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1078 * configure.in: Revved to 1.6.4.
1079 Remember to put quotes around XEVIE_LIBS assignment.
1080 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1083 * tests/event-listener-test.c: Tweaked the tests - more detail
1084 from caret events, and some interrogation of AccessibleText APIs.
1085 Commented-out the bounds-changed events by default, since they can
1088 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1090 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1091 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1092 Same here. Closes bug #167806
1094 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1096 * atk-bridge/bridge.c:
1097 (spi_atk_bridge_signal_listener):
1098 Free the any._value if any._release is TRUE,
1099 since the ORB won't do it for us in this case
1100 [because this method is not a skel].
1101 Fix for bug #168679.
1103 2005-03-30 Steve Murphy <murf@e-tools.com>
1105 * configure.in: Added "rw" to ALL_LINGUAS.
1107 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1109 * configure.in: Improved check for HAVE_XEVIE, to detect
1110 presence on XOrg, where -lXevie is a separate library.
1112 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1114 * configure.in, NEWS, README: Revved to 1.6.3.
1116 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1118 * configure.in: Added "xh" to ALL_LINGUAS.
1120 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1122 * atk-bridge/bridge.c:
1123 (atk_bridge_init): Added missing NULL in g_strconcat(),
1124 also check for symlink before logging to
1125 insecure directory. Thanks to meissner@suse.de.
1127 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1129 * tests/login-helper-server-test.c: Add return call to main
1130 function. Patch from Chris Lahey. Fixes bug #165129.
1132 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1134 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1136 2004-12-09 Bill Haneman <billh@gnome.org>
1138 * registryd/registry-main.c:
1139 Added #define <string.h> for strrchr. (bug 160862).
1140 Thanks to Vincent Berger for catching.
1142 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1144 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1145 restart registry process if the registry process is found to have died
1146 and the current process is exiting.
1147 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1148 application if the registry process has died.
1149 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1150 does not return a registry object.
1151 (spi_atk_tidy_windows): Give up if the registry process has died.
1153 This fixes problems with hangs and crashes when logging out.
1155 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1157 * registryd/desktop.c: Add checking that we are not exiting before
1158 calling spi_desktop_remove_application in
1159 abnormal_application_termination. Fix for bug #152147.
1161 2004-12-02 Bill Haneman <billh@gnome.org>
1163 * configure.in, NEWS, README: Revved to 1.6.1.
1165 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1166 * atk-bridge/bridge.c:
1167 (atk_bridge_init): Save the pid when we start, to detect forks.
1168 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1169 if we're in a forked pid.
1171 2004-10-09 Bill Haneman <billh@gnome.org>
1173 * idl/Accessibility_LoginHelper.idl:
1174 Improved inline documentation.
1176 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1178 * configure.in: Added gl (Galician) to ALL_LINGUAS
1180 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1182 * libspi/accessible.c:
1183 (impl_accessibility_accessible_get_role_name),
1184 (impl_accessibility_accessible_get_local_role_name):
1185 NULL vs. 0 cleanups.
1186 * libspi/component.c:
1187 (impl_accessibility_component_get_accessible_at_point):
1189 * libspi/eventlistener.c: (spi_event_listener_new):
1191 * libspi/stateset.c: (impl_compare): More of the same
1192 * libspi/table.c: (impl_getRowDescription): Again.
1193 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1194 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1195 (impl_generate_keyboard_event): Same.
1196 * registryd/registry-main.c: (main): Same
1197 * test/event-listener-test.c: (test_exit): Same
1198 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1199 * test/keysynth-test.c: (test_key_synthesis): Same
1200 * test/login-helper-server-test.c: (main): Fix warning.
1201 * test/screen-review-test.c: (test_exit): Fix include.
1202 * test/simple-at.c: (simple_at_exit), (_festival_init):
1205 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1207 * configure.in, NEWS, README: Revved to 1.6.0.
1209 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1211 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1212 was missing the HTML docs.
1214 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1216 * configure.in: only cleanups:
1217 - better looking PKG_CHECK_MODULES() output,
1219 - declare in one common place required versions of other tools using
1222 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1224 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1225 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1226 required ATK version accordingly.
1228 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1230 * cspi/bonobo/cspi-bonobo.c:
1231 (cspi_display_name): Fix C99ism.
1232 * atk-bridge/bridge.c:
1233 (spi_display_name): Fix C99ism.
1234 Patch from Jens Granseuer, jensgr@gmx.net.
1236 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1238 * configure.in: Added "or" to ALL_LINGUAS.
1240 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1242 * configure.in, NEWS, README: Revved to 1.5.4.
1244 * registryd/registry-main.c:
1245 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1248 * cspi/bonobo/cspi-bonobo.c:
1249 (cspi_display_name): New convenience method, gets DISPLAY with
1250 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1251 (cspi_init): Set the activation env value above before getting
1254 * atk-bridge/bridge.c:
1255 (spi_display_name): Create the AT_SPI_DISPLAY activation
1256 environment for an app, based on the DISPLAY environment with the
1257 screen number stripped off.
1258 (atk_bridge_init): Allow redirection of error messages to a log.
1259 (spi_atk_bridge_get_registry): Call
1260 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1262 Fixes for bugs #149962, #136986, #144086.
1264 2004-08-16 Christian Rose <menthos@menthos.com>
1266 * configure.in: Added "bs" to ALL_LINGUAS.
1268 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1270 * configure.in: Added nb to ALL_LINGUAS.
1272 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1275 (SPI_init): Return error code '2' if the activated
1276 registry cannot be pinged. Fixes bug #147648.
1278 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1280 * registryd/deviceeventcontroller.c:
1281 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1282 rely on timer-poll instead, to avoid conflict with
1285 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1287 * configure.in: Revved to 1.5.3.
1289 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1291 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1293 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1295 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1297 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1299 * atk-bridge/bridge.c:
1300 (spi_atk_bridge_do_registration):
1301 Register with ATK for AtkComponent:bounds-changed events.
1302 (api_atk_bridge_signal_listener):
1303 Marshal the AtkRectangle info into the event notification
1304 for object:bounds-changed events.
1307 (spi_init_any_rect): New method, inits a corba struct of
1308 type Accessibility_BoundingBox from an AtkRectangle.
1310 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1313 (SPIRect): New struct definition.
1314 (SPI_freeRect): New declaration.
1315 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1318 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1319 implemented. Gets the bounding box data from the CORBA_any
1320 associated with a bounds-changed event notification.
1321 (cspi_internal_event_get_rect): New, used internally by above method.
1324 (SPI_freeRect): Implemented this new method, for freeing
1327 * test/event-listener-test.c:
1328 (main, report_bounds_event):
1329 Added a test for object:bounds-changed events.
1331 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1333 * test/login-helper-server-test.c:
1334 (main): Fix C99-ism. Thanks to Jens Granseuer.
1336 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1338 * libloginhelper-1.0.pc.in:
1339 * idl/Accessibility_LoginHelper.idl:
1340 * login-helper/Makefile.am:
1341 * login-helper/login-helper.[ch]:
1342 * test/login-helper-client-test.c:
1343 * test/login-helper-server-test.c: Added files missing from CVS.
1344 Files obtained from at-spi-1.5.2 tarball.
1346 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1348 * configure.in: Create login-helper/Makefile.
1349 Incremented micro version.
1351 * Makefile.am: Add login-helper subdir and pkgconfig data.
1353 * login-helper: New subdir.
1355 * libloginhelper-1.0.pc.in: New.
1357 * idl/Accessibility_LoginHelper.idl: New file, defines
1358 interface whereby authentication clients can identify agents which
1359 need access to services during the login process, e.g. screen lock
1362 * login-helper/Makefile.am : New.
1364 * login-helper/login-helper.[ch] : New, implementation of
1365 a LoginHelper base class. Services needing LoginHelper can subclass.
1367 * test/Makefile.am : Added test for login-helper, client and
1370 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1371 Use proper prefix in #include files.
1373 * test/login-helper-client-test.c: New.
1375 * test/login-helper-server-test.c: New.
1377 2004-05-27 Alexander Shopov <ash@contact.bg>
1379 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1381 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1383 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1384 is positive. This should make it easier to detect inapprorpiate unref
1387 2004-05-11 James Henstridge <james@daa.com.au>
1389 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1390 no-op and deprecated.
1392 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1394 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1396 2004-04-28 Bill Haneman <billh@gnome.org>
1398 * Makefile.am: Added --enable-gtk-doc to
1399 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1401 2004-04-19 Bill Haneman <billh@gnome.org>
1403 * configure.in: Revved to 1.5.1.
1405 * registryd/deviceeventcontroller.c:
1407 (DEControllerPrivateData): Added fields for
1408 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1409 (spi_dec_replace_map_keysym): New internal utility for
1410 replacing a keysym in the keymap - used to allow
1411 synthesis of individual characters which aren't in the
1413 (spi_dec_reset_reserved): New; resets the changed keysym value
1415 (keycode_for_keysym): We now try to deal with failed
1416 XKeysymToKeycode requests by changing a keymap value
1417 and returning a reserved keycode. We now take
1418 a DEController pointer as first arg.
1419 (spi_controller_register_with_devices): Call XkbGetMap with
1420 the XkbKeySymsMask. Find the highest keycode in the current
1421 keymap which doesn't have any grabs, and mark that one for
1422 temporary re-mapping when out-of-range KeySyms are synthesized.
1423 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1426 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1428 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1430 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1432 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1434 2004-03-24 Bill Haneman <billh@gnome.org>
1437 (AccessibleTable_addRowSelection),
1438 (AccessibleTable_addColumnSelection),
1439 (AccessibleTable_removeRowSelection),
1440 (AccessibleTable_removeColumnSelection):
1441 Add declarations for spi wrappers which were
1442 inadvertantly omitted. Fixes bug #133413.
1445 Revved to 1.5.0 (unstable series for GNOME 2.7).
1447 2004-03-24 Bill Haneman <billh@gnome.org>
1449 * atk-bridge/bridge.c:
1450 Bracketed some debug output in
1451 conditionals, to avoid printing it in normal use.
1454 * libspi/hyperlink.c:
1455 Don't cast 'object' to ATK_OBJECT when constructing
1456 an AtkAction interface for a hyperlink.
1457 See discussion in bug #120659.
1459 * test/key-listener-test.c:
1460 (report_all_key_event): Send output to stderr,
1461 not stdout, for consistency with the rest of the test callbacks.
1464 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1465 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1466 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1467 try incrementing the revision AFTER doing a dist, at least
1470 2004-03-22 Bill Haneman <billh@gnome.org>
1472 * configure.in: Revved to 1.4.0, libtool 9.14.9
1474 2004-03-17 Laszlo Peter <laca@sun.com>
1476 * libspi-1.0-uninstalled.pc.in: add idldir
1478 * cspi-1.0-uninstalled.pc.in: add idldir
1480 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1482 * configure.in: Added "en_GB" to ALL_LINGUAS
1484 2004-03-15 Bill Haneman <billh@gnome.org>
1486 * configure.in: Revved to 1.3.16,
1489 2004-03-15 Laszlo Peter <laca@sun.com>
1491 * libspi-1.0-uninstalled.pc.in: new file
1493 * cspi-1.0-uninstalled.pc.in: new file
1495 * configure.in: add the new pc files to AC_OUTPUT
1497 * Makefile.am: add the new pc files to EXTRA_DIST
1499 2004-03-12 Bill Haneman <billh@gnome.org>
1501 * atk-bridge/bridge.c:
1502 (spi_atk_bridge_key_listener):
1503 Make sure to return consumed=FALSE if snoop
1504 event is not dispatched to listener.
1507 2004-03-01 Bill Haneman <billh@gnome.org>
1509 * configure.in: Revved to 1.3.15,
1512 2004-03-07 Danilo Segan <dsegan@gmx.net>
1514 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1516 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1518 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1520 2004-03-01 Bill Haneman <billh@gnome.org>
1522 * configure.in: Revved to 1.3.14.
1525 (SPI_exit): Removed "bye-bye" exit message.
1526 Moved "leak" report to happen before the
1527 iteration over the leaked refs list.
1528 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1530 2004-02-24 Bill Haneman <billh@gnome.org>
1532 * configure.in: Revved to 1.3.13.
1534 * docs/reference/cspi/Makefile.am:
1535 Correct typo that was breaking the docs build.
1537 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1539 * autogen.sh: Require version 1.7 of automake.
1541 * configure.in: call GTK_DOC_CHECK([1.0])
1543 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1545 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1547 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1549 * test/Makefile.am: Remove use of CFLAGS.
1551 This fixes bug #132987.
1553 2004-02-11 Bill Haneman <billh@gnome.org>
1555 * reverted most of Tomasz' patch below, since it was breaking
1556 builds (see bug #134058).
1558 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1560 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1561 correct pass "make dist" (empty .. because seems no sach types in
1562 header files with gtk-doc markups).
1563 * docs/reference/cspi/Makefile.am, configure.in:
1564 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1565 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1566 * Makefile.am: added:
1567 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1568 for force correct pass generate documentation on "make distcheck".
1569 * libspi/Makefile.am: fixes for automake >= 1.6.
1570 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1571 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1574 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1576 * docs/reference/cspi/Makefile.am (install-data-local): Install
1577 index.sgml since the doc autobuilder on widget.gnome.org looks for
1580 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1582 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1585 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1587 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1589 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1591 * test/simple-at.c: Fixed null string problems that cause core
1592 dumping problems on Solaris.
1594 2004-01-12 Bill Haneman <billh@gnome.org>
1596 * configure.in: Incremented version to 1.3.11.
1598 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1600 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1601 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1604 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1606 * configure.in: Added "fa" to ALL_LINGUAS.
1608 2003-12-20 Arafat Medini <lumina@silverpen.de>
1610 * configure.in: Added "ar" to ALL_LINGUAS
1612 2003-12-16 Bill Haneman <billh@gnome.org>
1614 * registryd/registry-main.c:
1616 Set the reg_env DISPLAY variable before registering the
1617 activated registry service. Fixes bug #129479.
1619 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1621 * configure.in: Added "id" in ALL_LINGUAS
1622 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1624 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1626 * registryd/deviceeventcontroller.c (global_filter_fn):
1627 When an event is consumed discard any XEvents were added to
1628 the queue while dealing with the the event. This can happen if
1629 processing of the event takes a long time. Call XUngrabKeyboard
1630 if an event was discarded. This fixes bug $124837.
1631 Only call wait_for_release_event for a KeyPress.
1632 Use local variable display instead of spi_get_display().
1633 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1636 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1638 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1639 Allow for mask to contain values other than NumLock mask.
1642 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1644 * registryd/devieceventcontroller.c:
1645 (wait_for_release_event): Change first parameter from GdkEvent to
1647 (global_filter_fn); Correct call to wait_for_release_event.
1651 2003-12-08 Bill Haneman <billh@gnome.org>
1655 * registryd/ucs2keysym.c: New file.
1657 * registryd/deviceeventcontroller.c:
1658 (dec_keysym_for_unichar): Remove old partial implementation and
1659 replace with call to ucs2keysym(), which is much more complete.
1660 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1665 2003-12-05 Bill Haneman <billh@gnome.org>
1667 * configure.in: Version 1.3.9.
1669 * docs/reference/cspi/tmpl/spi_registry.sgml:
1670 Added reference to libspi/keymasks.h to the
1671 description of Registry queries: AccessibleKeyMaskType.
1674 2003-12-04 Bill Haneman <billh@gnome.org>
1676 Fix for bug #121974.
1678 * idl/Accessibility_Application.idl:
1679 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1680 setlocale's LC_TYPEs.
1681 (Accessibility::Application::getLocale): New method.
1682 Allows clients to query the locale, by type, of an app.
1685 * cspi/spi_application.c:
1686 (AccessibleApplication_getLocale): New method, wraps IDL above.
1688 * libspi/application.c:
1689 (spi_application_class_init): Init epv entry for getLocale.
1690 (impl_accessibility_application_get_locale): Impl for above.
1692 * test/test-simple.c:
1693 (test_application): Added assertion for getLocale, i.e.
1694 that the string from AccessibleApplication_getLocale (app, type)
1695 is the same as that from setlocale (type, NULL);
1697 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1699 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1700 the keyboard on a timeout intil the key state goes from pressed to
1701 released. Fixes bug #111429.
1703 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1705 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1706 root object so that it is present when a context menu in an
1707 out-of-process applet is popped up.
1708 (spi_atk_bridge_do_registration): Create acceessible application root
1709 object only if it does not exist.
1711 This fixes bug #125834.
1713 2003-12-01 Bill Haneman <billh@gnome.org>
1715 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1718 Added enum for AccessibleStreamableContentSeekType.
1719 (AccessibleStreamableContent_freeContentTypeList): New.
1721 * cspi/spi_streamablecontent.c:
1722 (accessible_bonobo_stream_client_seek): New private method.
1723 (AccessibleStreamableContent_seek): Implemented this method,
1724 using Bonobo_Stream_seek.
1725 (AccessibleStreamableContent_freeContentTypeList): New method
1726 for freeing the return value from
1727 AccessibleStreamableContent_getContentTypes.
1728 (stream_cache_item_free): Replaces stream_release; stop leaks.
1729 (stream_release): removed.
1730 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1731 free the memory properly.
1733 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1735 Fix for bug #116009.
1737 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1739 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1741 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1743 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1745 2003-12-01 Bill Haneman <billh@gnome.org>
1747 Fix for bug/rfe #127463.
1749 * idl/Accessibility_Accessible.idl:
1750 (getLocalizedRoleName): New.
1751 (unimplemented4): Removed (replaced by above).
1753 * libspi/accessible.c:
1754 (impl_accessibility_accessible_get_local_role_name): New.
1755 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1759 (Accessible_getLocalizedRoleName): New.
1761 * cspi/spi_accessible.c:
1762 (Accessible_getLocalizedRoleName): New.
1764 2003-12-01 Bill Haneman <billh@gnome.org>
1766 Fix for bug #118581.
1767 * idl/Accessibility_Text.idl:
1768 (getDefaultAttributes): New.
1769 (unimplemented4): Removed (replaced by above method).
1772 (impl_getDefaultAttributes): New method.
1773 (spi_text_class_init):
1774 initialize the get_default_attributes slot in the epv.
1777 (AccessibleText_getDefaultAttributes): New prototype.
1780 (AccessibleText_getDefaultAttributes): New method.
1782 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1784 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1785 write beyond the end of the table. Fixes bug #120473.
1787 2003-09-30 Christian Rose <menthos@menthos.com>
1789 * configure.in: Added "eu" to ALL_LINGUAS.
1791 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1793 * configure.in: ALL_LINGUAS: Added no.
1795 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1797 * configure.in: Added lt to ALL_LINGUAS.
1799 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1801 * atk-bridge/bridge.c:
1802 (atk_bridge_init): Register event listeners always even for
1803 out-of-process applet.
1804 (spi_atk_bridge_toplevel_added): Remove call to
1805 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1806 (spi_atk_bridge_toplevelk_removed): Remove call to
1807 spi_atk_deregister_event_listenersa as the listeners are now always
1809 (spi_atk_bridge_register_application): Remove call to
1810 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1812 This fixes bug #120991.
1814 * libspi/table.c (impl_getColumnDescription): Correct typo,
1815 pointed out by Bolian.Yin@sun.com.
1817 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1819 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1821 2003-09-08 Bill Haneman <billh@gnome.org>
1823 * configure.in: Revved to 1.3.7.
1825 This is the GNOME 2.4.0 release of at-spi.
1827 * docs/reference/cspi/Makefile.am:
1828 Removed spurious inclusion of 'index.sgml' in the
1829 html directory; this was breaking make distcheck and
1830 also some other build environments.
1832 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1834 * registryd/registry.[ch}:
1835 Add queue_handler_id and focus_object to SpiRegistry data structure.
1836 (registry_flush_event_queue): If event being discarded is
1837 "state-change:focused" store object as focus_object.
1838 (registry_start_queue): Remove queue handler and focus object
1840 (registry_discard_event): New function which discards a focus event
1841 if we had stored focus object in the registry.
1842 (registry_queue_event): Add new check that is_queueing is set as this
1843 function is reentrant.
1844 (registry_filer_event): Add call to registry_discard_event.
1846 This resolves issues raised in bug #108664.
1848 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1850 * configure.in: Added "bn" to ALL_LINGUAS.
1852 2003-09-04 Bill Haneman <billh@gnome.org>
1854 * cspi/spi_event.c: Documentation improvements for
1855 (SPI_registerAccessibleKeylistener).
1857 * docs/reference/tmpl/spi_registry.sgml:
1858 Documentation improvements for SpiAccessibleKeylistenerCB.
1860 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1862 * configure.in: Added "ro" to ALL_LINGUAS.
1865 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1867 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1868 not decremented to zero. Fixes bug #120725.
1870 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1872 * configure.in: Added "ja" to ALL_LINGUAS.
1874 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1876 * configure.in: Added "is" to ALL_LINGUAS.
1878 2003-08-22 Christian Rose <menthos@menthos.com>
1880 * configure.in: Added "nl" to ALL_LINGUAS.
1882 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1884 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1885 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1887 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1889 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1890 type for unspecified exception.
1891 * cspi_streamablecontect): Add include of string.h for memcpy.
1892 (stream_release): Correct call to bonobo_object_release_unref
1893 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1894 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1895 argument of _cspi_expection_throw.
1896 * libspi/hyperlink.c: Add include of libspi/action.h:
1897 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1898 * libspi/streamablecontent.c: add include of libspi/component.h.
1899 * regisrtyd/deviceeventcontroller.c:
1900 (spi_dec_translate_mask): Removed unused variable priv.
1901 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1902 * registryd/registry.c:
1903 (registry_filter_event): Remove unused variable queue_is-empty.
1904 (impl_registry_notify_event): Use correct modifier in fprintf call.
1906 This fixes compiler warnings reported in bug #120220.
1908 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1910 * registryd/registryd.c: Remove this file.
1912 2003-08-17 Sanlig Badral <badral@openmn.org>
1914 * configure.in: Added mn to ALL_LINGUAS.
1916 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1918 * configure.in: Added et to ALL_LINGUAS.
1920 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1922 * test/event-listener-test.c: Change active-descendant to
1923 active-descendant-changed.
1925 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1927 * configure.in: Added "fi" in ALL_LINGUAS.
1929 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1931 * configure.in: Added "hi" in ALL_LINGUAS.
1933 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1935 * configure.in: Revved to 1.3.6.
1939 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1941 * registryd/deviceeventcontroller.c
1942 (spi_device_event_controller_object_finalize): Fix typo in previous
1945 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1947 * registryd/deviceeventcontroller.c
1948 (spi_device_event_controller_object_finalize): Fix build on
1949 systems without XEvIE.
1951 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1953 * acconfig.h, configure.in, registryd/Makefile.am,
1954 registryd/devicecontoller.[ch]: Add XEViE support.
1956 2003-08-06 Wang Jian <lark@linux.net.cn>
1958 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1960 2003-08-06 Metin Amiroff<metin@karegen.com>
1962 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1964 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1966 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1967 MODIFIER_ALT in correct place.
1969 This fixes part of bug #118114.
1971 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1973 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1975 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1977 * configure.in: Added "ko" to ALL_LINGUAS.
1979 2003-07-28 Ole Laursen <olau@hardworking.dk>
1981 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1983 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1985 * configure.in: Added "sq" to ALL_LINGUAS.
1987 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1989 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1991 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1993 * configure.in: updated ALL_LINGUAS list
1995 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1997 * configure.in: Added Belarusian to ALL_LINGUAS.
1999 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2001 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2003 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2004 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2006 This fixes bug #116949.
2008 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2010 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2011 Correct CSPI to SPI in function documentation.
2013 This fixes bug #118054.
2015 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2017 * configure.in: Added Russian to ALL_LINGUAS.
2019 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2021 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2023 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2025 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2027 2003-07-10 Joel Brich <joel.brich@laposte.net>
2029 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2031 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2033 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2035 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2037 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2038 resources allocated for AccessibleEvent. See cspi_event().
2040 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2041 static variable streams to NULL.
2043 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2044 Update so that AcessibleEvent_ref will work.
2046 This fixes bug #116624.
2048 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2050 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2052 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2054 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2056 2003-07-02 Christian Neumair <chris@gnome-de.org>
2058 * configure.in: Added "de" (German) to ALL_LINGUAS.
2060 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2062 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2064 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2066 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2068 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2070 * configure.in: Added "pl" to ALL_LINGUAS.
2072 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2074 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2076 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2079 (get_action_from_servant):
2080 Removed assertion that action is implemented on an AtkObject.
2082 * libspi/hyperlink.c:
2083 (spi_hyperlink_new):
2084 Aggregate AccessibleAction interface on the hyperlink object if
2085 the object implements AtkAction. (This convention is used in
2088 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2090 * configure.in: Revved to 1.3.5.
2092 * registryd/Accessibility_Registry.server.in.in:
2093 Marked up appropriate strings for translation.
2095 * atk-bridge/bridge.c: Marked a couple of
2096 user-visible warnings for translation. Questionable
2097 whether they are really useful, but possibly so.
2100 2003-06-28 Christian Rose <menthos@menthos.com>
2102 * configure.in: Added "sv" to ALL_LINGUAS.
2104 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2106 * registryd/registry.c:
2107 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2108 (registry_defer_on_event): Defer focus: events, this is an
2109 improvement to the patch for bug #108664.
2111 * TODO: Update with 2.4/"Dev Complete" items.
2113 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2115 * atk-bridge/bridge.c:
2116 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2117 looks up signals once.
2118 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2119 if doing registration.
2120 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2121 when doing registration.
2123 This fixes bug #115014.
2125 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2127 * atk-bridge/bridge.c:
2128 (atk_bridge_init): Add signal handler for children-changed:remove on
2129 root when in a BonoboComponent.
2130 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2131 for first toplevel only other incrememt variable toplevels.
2132 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2133 application and remove listeners.
2134 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2136 (spi_atk_deregister_event_listeners): New function which removes
2138 (reinit_register_vars): New fuction which reinitializes variables.
2140 This fixes bug #111578.
2142 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2144 * configure.in: version 1.3.4.
2146 * cspi/spi_accessible.c:
2147 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2150 2003-06-13 Michael Meeks <michael@ximian.com>
2152 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2154 * cspi/spi_main.c (cspi_peek_ev): impl.
2156 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2158 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2160 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2162 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2163 SPI_ROLE_AUTOCOMPLETE
2165 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2167 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2168 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2170 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2172 * libspi/streamablecontent.h:
2173 * libspi/streamablecontent.c:
2174 New files, provide implementation/wrappers for
2175 Accessibility_StreamableContent.
2177 * cspi/spi_streamablecontent.c:
2178 Connected the C wrappers to the libspi C bindings.
2179 (AccessibleStreamableContent_close): New method.
2182 (AccessibleStreamableContent_close): New method, needed
2183 since we have an "open, [seek], read, close" model in cspi.
2185 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2187 Fix for #108664; Padraig's revision of my original patch.
2189 * registryd/registry.h:
2190 Added event queue list, is_queuing, and exit_notify_timeout
2191 to the registry struct.
2193 * registryd/registry.c:
2194 (registry_init): Initialize new struct from registry.h.
2195 (impl_registry_notify_event):
2196 Filter events before notifying, in case some need to be
2198 (registry_filter_event): New,
2199 we defer certain incoming events (for instance
2200 window:deactivate) because we may wish to hide
2201 or reject them based on pending events. This is
2202 mostly a workaround for bug #108664.
2203 (registry_queue_event, registry_start_queue): New.
2204 (registry_defer_on_event): Test event to see if it
2206 (registry_reset_on_event): Returns TRUE if the
2207 event should cause a queue reset.
2208 (registry_discard_on_event): Returns TRUE if the event
2209 should cause the previous queue contents to be discarded.
2210 (registry_timeout_flush_queue): Flushes the pending event
2211 queue if no reset/discard-triggering events have come in
2212 within the timeout period.
2213 (registry_emit_event): New.
2214 (registry_clone_notify_context): New, used when queueing the
2215 event notify contexts.
2217 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2219 * configure.in: Version revved to 1.3.2, lt 0.9.2
2220 Incremented ATK required version to 1.3.4.
2222 * cspi/spi_registry.c:
2223 (SPI_generateKeyEvent):
2224 We now pass the keystring along if it's non-null.
2226 * registryd/deviceeventcontroller.c:
2227 (keysym_mod_mask): New method, returns modifier mask
2228 required to generate a keysym from a given keycode.
2229 (dec_synth_keysym): New method.
2230 (dec_synth_keystring): New method.
2231 (dec_get_modifier_state): New method.
2232 (dec_lock_modifiers): New
2233 (dec_unlock_modifiers): New.
2234 (dec_keysym_for_unichar): New, rather brute-force
2235 conversion from UCS-4 to X KeySyms. Only works for
2236 Latin at the moment, with partial implementations for
2237 Greek, Hebrew, and (incomplete) Katakana.
2238 (impl_generate_keyboard_event): Now implement
2239 "KEYSTRING" synthesis and implement "KEYSYM"
2241 (keycode_from_keysym): Improved, passes a returned
2242 modmask value now if the corresponding param is non-NULL.
2244 Fixes bugs #92143 and #109776.
2247 * test/keysynth-test.c:
2248 New test program for key synthesis, to confirm fixes for
2252 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2254 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2256 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2257 Add line for RELATION_POPUP_FOR
2259 * docs/reference/cspi/tmpl/spi_relation.sgml:
2260 Add relation SPI_RELATION_POPUP_FOR
2262 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2263 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2265 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2267 * libspi/relation.c (spi_init_relation_type_table):
2268 Add line for RELATION_POPUP_FOR
2270 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2272 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2273 there are still windows which have not been deleted and emit
2274 window:deactivate, if necessary and window:destroy events.
2275 This fixes bug #114370. The change on June 5th was not correct.
2277 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2279 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2282 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2284 New methods for client exception handling and interception.
2285 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2286 (SPI_exceptionHandlerPop): You guessed it...
2287 (SPI_getSourceType): Return the type of object which offended.
2288 (SPI_getExceptionCode): Return an enum code telling, possibly,
2289 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2290 (SPIAccessibleException_getSource): get the source object for
2291 exceptions that come from Accessibles, if SPIExceptionSourceType is
2292 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2293 (SPIException_getDescription): New, returns a string description of
2294 the problem. [Not yet a stable ABI, strings are not frozen]
2296 * cspi/spi-private.h:
2297 Added implementation details of opaque SPIException
2301 Implementations of above. Also
2302 (_cspi_exception_throw): new private method that
2303 dispatches exceptions to handlers, called from cspi-bonobo.c
2305 * cspi/bonobo/cspi-bonobo.c:
2306 (cspi_check_ev): call _cspi_exception_throw.
2307 Don't print a warning message if the exception has been
2308 handled by _cspi_exception_throw.
2310 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2312 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2313 there are still windows which have not been deleted and emit
2314 window:deactivate, if necessary and window:destroy events.
2315 This fixes bug #114370.
2317 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2320 (cspi_accessible_is_a): Make non-fatal
2321 if the object reference is dead.
2323 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2325 * cspi/spi_main.c: #include <stdio.h>
2326 * test/simple-at.c: ditto
2327 * test/event-listener-test.c: ditto
2328 * test/screen-review-test.c: ditto
2330 2003-05-30 Michael Meeks <michael@ximian.com>
2332 * test/test-simple.c (main): use CORBA_ORB_perform_work
2333 instead of an unnecessary linc_ call.
2335 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2337 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2338 Add SPI_STATE_INDETERMINATE.
2340 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2343 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2345 * libspi/stateset.c (init_state_type_tables): Add support for
2348 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2350 * configure: Update versions of atk and gail required.
2351 This fixes bug #113268.
2353 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2355 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2357 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2359 * libspi/Makefile.am:
2360 Ensure headers are generated before being used by c sources.
2362 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2365 Simplified lt versioning rules.
2366 Incremented version to 1.3.0, to indicate that we're on the
2367 unstable branch now.
2369 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2371 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2372 Add MKDB_OPTIONS=--outtput-format=xml
2374 * docs/reference/cspi/at-spi-cspi-docs.sgml
2375 docs/reference/idl/at-spi-idl-docs.sgml:
2376 Convert to Docbook XML.
2378 This fixes bug #111793.
2380 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2382 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2383 AcccessibleKeyEventType, AccessibleKeyMaskType.
2385 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2387 * cspi/state-types.h: Add documentation for AccessibleState.
2389 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2390 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2391 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2392 AccessibleComponentLayer.
2394 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2397 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2399 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2400 Accessible. Add description of AccessibleEvent,
2401 AccessibleEventListenerCB.
2403 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2406 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2407 documentation. Add description of AccessibleKeystrokeListenerCB,
2408 AccessibleKeyEventMask, AccessibleModifierMaskType,
2409 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2410 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2412 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2415 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2418 This fixes bug #104730.
2420 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2422 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2423 Set is_text field of Accessibility_DeviceEvent data structure.
2425 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2426 is-text field of AccessibleDeviceEvent data structure.
2428 This addresses part of bug #108666.
2430 * registryd/devcieeventcontroller.c: Unset debug option.
2432 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2434 * cspi/accessible.c:
2435 (cpi_initial_relation_type_table): New function which initializes
2436 mapping between Accessibility_RelationType and AccessibleRelationType.
2437 (cspi_relation_type_from_spi_relation_type): New function which
2438 translates an Accessibility_RelationType into an AccessibleRelationType.
2439 (AccessibleRelation_getRelationType): Use
2440 cpi_relation_type_get_spi_relation_type to return correct value.
2441 (spi_state_to_corba): Return correct type for default case.
2443 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2444 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2446 * cspi/cspi-bonobo-listener.c:
2447 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2450 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2451 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2452 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2453 libspi/image.c, libspi/listener.c, libspi/selection.c,
2454 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2455 registryd/desktop.c, registryd/registry.c:
2456 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2458 * libspi/eventlistener.c
2459 Remove semicolon after BONOBO_TYPE_FUNC.
2461 * libspi/relation.c:
2462 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2463 (spi_init_relation_type_table): Initialize using correct type.
2465 * registryd/desktop.c:
2466 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2467 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2468 of Accessibility_KeyEventType.
2470 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2473 * tests/simple-at.c, tests/screen-review-test.c:
2474 Add include for <strings.h>.
2476 * tests.stress-test.c:
2477 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2479 These changes fix compiler warnings when using FORTE compiler on
2480 Solaris; fixes bug #107479.
2483 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2486 * configure.in: revved to 1.1.10
2488 * libspi/keymasks.h:
2489 (SPI_KEYMASK_NUMLOCK): Added.
2491 * registryd/deviceeventcontroller.c:
2492 (spi_key_event_matches_listener): AND with a smaller
2493 bitmask (as we should).
2494 (spi_dec_translate_mask):
2495 New method, sets the virtual NumLock modifier bit
2496 if numlock is on. Eventually it can handle other virtual
2497 modifier bits if needed, or other marshalling from
2498 at-spi modifier masks to platform (X) masks.
2499 (spi_dec_key_listener_new):
2500 Call spi_dec_translate_mask to set up virtual mod bits
2501 in the 'mask' field when creating a new listener struct.
2502 (spi_dec_emit_modifier_event):
2503 Set the virtual (i.e. NumLock) bits before emitting event.
2504 (spi_controller_register_with_devices):
2505 Query for the NumLock modifier 'physical' bit if Xkb is
2506 present, for use in above methods.
2510 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2512 * registryd/deviceeventcontroller.c:
2513 (spi_keystroke_from_x_key_event):
2514 Instead of checking to see if the keysym is
2515 printable, check the string from XLookupString
2516 if available, get the first unicode character from it,
2517 and call g_unichar_isprint to determine whether the
2518 is_text flag should be TRUE or FALSE.
2522 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2524 * atk-bridge/bridge.c: Add support for extended events
2525 * cspi/spi_event.c: Add documentation and implementation for
2527 * tests/event-listener-test.c: Add tests for extended events.
2529 This fixes bugs #100424 and #100426.
2531 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2533 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2534 of LT_CURRENT. This fixes bug #89350.
2536 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2538 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2539 number of signal parameter values before accessing them. This fixes
2542 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2544 * configure.in: Fixed duplicate inclusion of -lspi.
2545 * branched for gnome-2-2/HEAD.
2546 [created tag "gnome-2-2"]
2548 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2550 * configure.in: 1.1.9 release.
2553 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2555 [needed by GOK, to fix bugs 107985 and 107988]
2556 * registryd/deviceeventcontroller.c:
2557 (spi_dec_clear_unlatch_pending):
2558 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2559 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2560 (spi_dec_init_mouse_listener):Emit warning if mouse button
2562 (spi_device_event_controller_forward_mouse_event):
2563 Removed unnecessary parens from a conditional.
2564 (global_filter_fn):Added TODO comment.
2565 (impl_generate_keyboard_event):
2566 Cancel a pending relatch if a 'delatching' key was
2569 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2571 * atk-bridge/bridge.c:
2572 Change atk_signal_child_changed to atk_signal_children_changed.
2573 Reorganize code in spi_atk_bridge_signal_listener().
2575 * test/event-listener-test.c:
2576 Add children_changed_listener and report_children_changed_event()
2577 to test AccessibleChildEvent_getChildAccessible.
2579 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2581 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2582 g_strdup to CORBA_String_dup (bug #105291)
2584 * test/event-listener-test.c (report_text_event): Add call to
2587 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2589 * registryd/deviceeventcontroller.c:
2590 (spi_keystroke_from_x_key_event):
2591 Fix string and keysym return codes to match modifier state.
2594 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2596 * registryd/deviceeventcontroller.c:
2597 (spi_keystroke_from_x_key_event):
2598 Fix segv due to improper use of isprint(c). [bug #107254]
2600 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2603 (get_accessible_text_boundary_type):
2604 Move default return value to (new) default case in switch.
2605 (get_accessible_text_clip_type):
2606 Move default return value to (new) default case in switch.
2608 * libspi/application.c:
2609 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2610 Remove unused methods.
2611 (impl_accessibility_application_register_object_event_listener):
2612 Remove unused methods.
2615 Added #include of <math.h>.
2617 * registryd/deviceeventcontroller.c:
2618 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2619 we don't currently use this method.
2620 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2622 (impl_generate_key_event):
2623 Remove unused variables.
2624 (impl_generate_mouse_event):
2625 Initialize button to zero, just in case we get an invalid
2626 input. Added support for mouse buttons 4 and 5.
2627 (spi_device_event_controller_new):
2628 Removed unused variable declaration for 'private'.
2630 Added #include of <gdk/gdk.h>
2632 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2634 * configure.in: Update to work when X is not installed in expected
2635 location. Fixes bug #105836.
2637 * atk-bridge/bridge.c
2638 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2640 (spi_atk_register_event_listener): Add signal listener for
2642 (spi_atk_bridge_signal_listener): Event event when link-selected
2643 signal is emitted. (bug #104622)
2645 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2646 on returned string. (bug #105291)
2648 * test/event-listener-test.c: Add test for link-selected.
2650 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2652 * atk-bridge/Makefile.am: Correct typo in previous commit.
2654 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2656 * atk-bridge/Makefile.am: Allow for build directory to be different
2657 from source directory
2659 * registryd/Makefile.am: Allow for build directory to be different
2660 from source directory
2664 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2667 Fixed dependencies for libcspi so that libspi gets pulled in
2668 properly. Fixes 104741.
2672 Clean up inline docs a little.
2674 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2676 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2677 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2678 the AtkObject within an SpiDesktop.
2679 This addresses bug #101524.
2681 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2682 Remove call to gdk_init().
2684 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2685 so that Display is set when SpiDesktop is created.
2687 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2689 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2690 This fixes bug #102830.
2692 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2694 * test/test-simple.c: Update to take account of fact that GailButton
2695 now implements AtkText.
2696 (create_text_window): Set name on AtkObject for GtkEntry.
2697 (validate_accessible): Check accessible name before calling test_text().
2699 * libspi/Makefile.am: Fix problem with building outside of source
2700 directory. Bug #98120.
2702 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2703 typo in documentation comments. Bug #94275.
2705 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2707 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2709 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2712 Add includes to avoid compiler warnings on Solaris.
2713 (impl_getRangeExtents): Bug fix.
2715 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2717 Fix for 100944, [API addition approved by Gman and murrayc].
2724 * idl/Accessibility_Text.idl:
2725 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2726 (Text::getRangeExtents): New method for efficient
2727 bounds query of a text range.
2728 (Text::getBoundedRanges): New method for efficient
2729 clipping of text to bounding boxes.
2730 (unImplemented7, unImplemented8):
2731 Removed these padding methods to preserve bincompat.
2734 (impl_getRangeExtents): implementation of new IDL.
2735 (impl_getBoundedRanges): implementation of new IDL.
2736 (SpiTextRect): Internal use struct.
2737 (_spi_text_rect_union): internal method, calculates union of two
2738 SpiTextRect bounding rects.
2739 (_spi_text_range_seq_from_gslist): internal method, allows us
2740 to build our sequence efficiently as a gslist then convert it
2742 (_spi_bounds_contain): internal method, determines whether
2743 a text character is "in" or "out" of a clip rect according to
2744 values of TEXT_CLIP_TYPE.
2745 (spi_text_class_init): Initialize the new methods in the epv.
2748 (AccessibleTextClipType): New enum used by screen review api.
2749 (AccessibleTextRange): New struct used by screen review api.
2750 (AccessibleText_getRangeExtents):
2751 cspi binding for Accessibility_Text_getRangeExtents.
2752 (AccessibleText_getBoundedRanges):
2753 cspi binding for Accessibility_Text_getBoundedRanges.
2754 (AccessibleTextRange_freeRanges): convenience method.
2757 (AccessibleText_getRangeExtents):
2758 cspi binding for Accessibility_Text_getRangeExtents.
2759 (AccessibleText_getBoundedRanges):
2760 cspi binding for Accessibility_Text_getBoundedRanges.
2761 (AccessibleTextRange_freeRanges): convenience method.
2762 (get_accessible_text_clip_type): internal conversion method.
2763 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2765 * registryd/deviceeventcontroller.c:
2766 (spi_dec_mouse_check):
2767 Improved behavior for mouse:abs events
2768 [same granularity as mouse:rel events, and no
2769 events when mouse is idle].
2771 2002-12-16 Michael Meeks <michael@ximian.com>
2773 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2775 * libspi/stateset.c (state_spi_to_atk): split out
2776 ( fix several remote array bounds nasties )
2777 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2778 (impl_remove): make safe from array bounds issues.
2779 (spi_atk_state_from_spi_state): impl.
2781 * libspi/stateset.h (spi_state_set_cache_is_empty):
2782 add a set of wrapper defines to get layering right.
2784 * cspi/spi_accessible.c: update state set stuff to
2787 2002-12-14 Michael Meeks <michael@ximian.com>
2789 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2790 to avoid 2 roundtrips to the registry per key event
2791 (spi_atk_bridge_key_listener): upd.
2792 (deregister_application): release the dec.
2794 * registryd/registry.c (notify_listeners_cb):
2795 bin lots of re-enterant complexity - we no longer
2796 do a round-trip bonobo ref here, ensure that a single
2797 listener's exception failure won't poison all other
2799 (impl_registry_notify_event): bin obvious memory leak.
2801 2002-12-13 Michael Meeks <michael@ximian.com>
2803 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2804 init the ev so the error is meaningful.
2805 (spi_atk_bridge_key_listener): ditto.
2807 * cspi/spi_main.c (cspi_ev): init the ev so we start
2808 with a clean slate, otherwise the first exception
2809 kills us completely.
2811 * cspi/spi_text.c (get_accessible_text_boundary_type):
2812 add a fallthrough for no warnings.
2814 * cspi/spi_registry.c: prune unused warnings.
2816 * cspi/spi_main.c (cspi_object_take): fix
2817 mind-blowing brokenness ( by watching the compile
2820 * cspi/spi_accessible.c (Accessible_getStateSet):
2821 re-impl. to use an AtkStateSet.
2822 (spi_state_type_from_accessible_state),
2823 (init_state_table): bin these.
2825 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2827 (atk_state_set_from_accessibility_state_set): here.
2829 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2830 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2831 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2832 (AccessibleStateSet_add, AccessibleStateSet_remove),
2833 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2834 (AccessibleStateSet_isEmpty): re-write to use a local
2837 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2839 * configure.in: Revved to 1.1.7 (new keymask vals).
2841 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2843 * libspi/keymasks.h:
2844 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2846 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2849 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2850 to compare two CORBA_TypeCodes.
2851 (cspi_internal_event_add): Silence warning from FORTE compiler.
2853 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2854 avoid implicit declaration of functions.
2856 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2858 * atk-bridge/bridge.c:
2859 (spi_atk_bridge_init_event_type_consts): Store signal id for
2860 active-descendant-changed signal.
2861 (spi_atk_register_event_listeners): Add signal listener for
2862 active-descendant-changed signal,
2863 (spi_atk_bridge_signal_listener): Move code in function
2864 spi_atk-signal_emit_event() into this function.
2865 Add support for active-descendant-changed
2866 Update support for child-changed signal.
2867 (spi_bridge_window_event_listener): Silence warning.
2869 * libspi/spi_private.[ch]:
2870 (spi_init_any_object): Change second parameter from CORBA_Object to
2872 Omit call to CORBA_Object_duplicate().
2873 Set CORBA_any's _value to CORBA_Object*.
2875 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2881 (AccessibleEvent_ref, AccessibleEvent_unref):
2882 New methods, for persisting an event outside the emission context.
2883 Must be used if the new accessor methods are to be called
2884 outside of the event listener's callback.
2886 * cspi/bonobo/cspi-bonobo.c:
2887 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2888 as second parameter instead of NULL, so we can call
2889 cspi_check_ev afterwards.
2892 (cspi_object_take): New internal method,
2893 converts a CORBA_Object reference to a hard ref on
2894 an Accessible if possible, returning NULL if the object
2895 reference is invalid or an Accessible * otherwise.
2898 (AccessibleEvent_ref):
2899 Increment the event's internal private refcount, and
2900 add the event's internal struct to an internal cache
2901 if it's not already there.
2902 (AccessibleEvent_unref):
2903 Decrement the event's refcount and remove it from
2904 the cspi event cache if refcount==0.
2905 (cspi_event_compare): New private method.
2906 Compares two event structs via their ids. Used
2908 (cspi_internal_event_lookup): New private method.
2909 (cspi_internal_event_check): New private method,
2910 a 0-order sanity check for events to make sure their
2911 private data is intact.
2912 (cspi_internal_event_add, cspi_internal_event_remove):
2913 New private methods for managiing the event cache.
2915 * cspi/bonobo/cspi-bonobo-listener.c:
2917 Initialize the new private data elements (id, magic, ref_count).
2919 * atk-bridge/bridge.c:
2920 (spi_atk_bridge_signal_listener):
2921 Fixed bug #100530, passing wrong params to emission func.
2923 * registryd/deviceeventcontroller.c:
2924 (spi_dec_button_update_and_emit):
2925 Fixed type in mask bit operations; fix for #99799.
2927 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2929 Removed some of the more dangerous workarounds from
2930 previous commit; they are only needed by GOK, which
2931 in reality should be using another method to accomplish
2932 the goals. So on reconsideration some of the workarounds
2933 need to be reverted:
2935 * registryd/deviceeventcontroller.c:
2936 (spi_keycodes_contain, spi_dec_init_keycode_list):
2937 Removed these methods, used only by a nasty hack to try
2938 and detect whether a key synthesis should be allowed
2939 to reset the XKB latch state or not. This code was only
2940 required to work around an interaction between GOK,
2941 button events, and XKB.
2942 (impl_generate_key_event):
2943 Removed hack at end of key generation that tried to
2944 "do the right thing" if XKB latch keys were generated
2945 in the midst of button press/release pairs.
2948 Added a check for HAVE_XINPUT. Not normally used yet.
2950 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2952 Workarounds and fixes for mouse event/XKB interaction.
2954 * registryd/deviceeventcontroller.c:
2955 (spi_keycodes_contain, spi_dec_init_keycode_list):
2956 New internal methods.
2957 (spi_dec_set_unlatch_pending):
2958 Split the method that tells XKB to expect an
2959 unlatch (and revert it) out of the rest of the
2960 event handling code. This method is called by the
2961 two mouse event handlers (the poll and the filter).
2962 (spi_dec_update_and_emit, spi_dec_mouse_check):
2963 New methods split from spi_dec_poll_mouse_moved.
2964 The second one is now called from inside the filterFn
2965 when an XKB delatch event is received, to determine
2966 whether to revert the delatch or not.
2967 (spi_poll_mouse_moved): Refactor; also we can now
2968 properly handle the case where multiple button states
2969 have changed between polling cycles and we didn't get
2970 notified due to another client's grab.
2972 Synchronize the server while handling an XKB notification.
2973 Ugly, but apparently necessary to avoid nasty races.
2974 Check the mouse state on receipt of an XKB latch change,
2975 to decide whether to revert the latch or not. (Latches are
2976 reverted if there is an immediately preceding mouse button
2977 event that a client has consumed, in which case we don't want
2978 the user to see the side-effect of the event).
2979 (spi_device_event_controller_forward_mouse_event):
2980 Check for modifier events and fire before resetting mouse_mask_state,
2981 prevents losing modifier events.
2983 (impl_generate_keyboard_event):
2984 If we've just generated a keyboard event for a non-shift key,
2985 we don't want to revert the pending XKB latch.
2986 Otherwise, check the modifier state (via a call to
2987 spi_dev_mouse_check) and set the relatch mask to
2988 that state before returning.
2990 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2993 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2996 * atk-bridge/bridge.c:
2997 (spi_atk_register_event_listeners):
2998 Don't re-register for ATK events if the registry has died
2999 and the app needs to re-register; the ATK listeners are in
3000 process and doing so will cause duplicate emission.
3002 * registryd/deviceeventcontroller.c:
3003 (spi_poll_mouse_moved):
3004 Reformat the source, detect and emit multiple button-change
3005 events (i.e. if multiple buttons have changed between poll
3007 Add code to detect mouse-down events even when the pointer
3008 is grabbed; workaround for GOK bug 98420.
3009 (spi_controller_register_with_devices):
3010 Call XTestGrabControl with 'impervious' flag set to True,
3011 allows us to synthesize events and query the pointer even during
3012 an active grab by another client.
3013 (spi_device_event_controller_forward_mouse_event):
3014 Set the mouse_mask_state to the mouse_button_state from
3015 the intercepted event, to synchronize the grab listener with
3018 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3020 * cspi/spi_accessible.c:
3021 (AccessibleRole_getName):
3022 Added necessary strings for making this (deprecated)
3023 method work with the new role types.
3024 (init_role_table, role_table):
3025 Added definition of SPI_ROLE_APPLICATION.
3027 * libspi/spi-roletypes.h:
3028 Added SPI_ROLE_APPLICATION.
3030 * idl/Accessibility_Role.idl:
3031 Added ROLE_APPLICATION.
3033 * docs/reference/cspi/at-spi-cspi-decl.txt:
3034 Added SPI_ROLE_APPLICATION to docs.
3036 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3038 * cspi/spi_accessible.c
3039 (cspi_init_role_table): Do not write beyond end of role_table.
3040 (Accessible_getRole): Use correct type for value returned by
3041 Accessibility_Accessible_getRole().
3043 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3044 beyond end of role_table. (This fixes bug #98269)
3046 * libspi/application.c: Add include file spi-private.h for
3047 definition of spi_init_any_nil.
3049 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3053 * libspi/spi-private.h:
3054 Added DGB() macro, and extern int _dbg declaration.
3056 * registryd/registry.c:
3057 (definitions) storage for _dbg.
3058 (spi_registry_init):
3059 Get environment variable "AT_SPI_DEBUG".
3060 (spi_registry_set_debug):
3061 New method, to initialize _dbg value.
3062 (spi_listener_struct_new, spi_registry_object_finalize):
3063 (notify_listeners_cb):
3064 Changed fprintfs to use DBG and g_warning().
3066 * registryd/deviceeventcontroller.c:
3067 (_deregister_keygrab, spi_controller_register_device_listener):
3068 Changed debug/warning messages to use DBG macro.
3070 * libspi/listener.c:
3071 (impl_notify_event):
3072 Changed warning messages to use DBG macro and g_warning().
3074 * atk-bridge/bridge.c:
3075 (atk_bridge_init, spi_atk_bridge_get_registry):
3076 (spi_atk_bridge_exit_func):
3077 (spi_atk_bridge_property_event_listener):
3078 Changed status, warning, and error messages to use
3079 g_warning, g_message, and DBG macros.
3082 Read the state of the AT_SPI_DEBUG environment variable
3083 and set a local '_dbg' accordingly.
3085 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3087 FIXES for 98836, 98842, other bugs.
3090 Revved to 1.1.4, interface-age=4, binary-age=4.
3092 * registryd/deviceeventcontroller.c:
3094 Fixed crasher bug in last_mouse_pos initialization.
3096 * registryd/registry.c:
3097 (desktop_add_application, desktop_remove_application):
3098 Added (and then commented out) some support for
3099 object context marshalling. [TODO]
3101 * atk-bridge/bridge.c:
3102 (spi_atk_bridge_event_context_create):
3103 Commented out object context creation until it can
3104 be properly tested and debugged.
3106 * registryd/registry.c:
3107 (impl_registry_notify_event):
3108 Fixed crasher bug, we were calling
3109 spi_re_entrant_list_foreach () with an empty list.
3111 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3113 * idl/Accessibility_Action.idl:
3114 * idl/Accessibility_Component.idl:
3115 * idl/Accessibility_Desktop.idl:
3116 * idl/Accessibility_Event.idl:
3117 * idl/Accessibility_Hyperlink.idl:
3118 * idl/Accessibility_Image.idl:
3119 * idl/Accessibility_Relation.idl:
3120 * idl/Accessibility_Selection.idl:
3121 * idl/Accessibility_State.idl:
3122 * idl/Accessibility_Value.idl:
3123 Updated unimplemented slot count to minimum of
3124 four for all interfaces, for ABI freeze.
3126 * idl/Accessibility_EditableText.idl:
3127 * idl/Accessibility_Text.idl:
3128 Updated unimplemented slot count to six
3131 * idl/Accessibility_Registry.idl:
3132 Updated unimplemented slot count to six
3133 (also for DeviceEventController),
3136 * idl/Accessibility_Table.idl:
3137 Updated unimplemented slot count to eight,
3140 * idl/Accessibility_Event.idl:
3141 Added CORBA_any "any_data" member to Event struct.
3143 * idl/Accessibility_Event.idl:
3144 Added CORBA_any "any_data" member to Event struct.
3146 * atk-bridge/bridge.c:
3148 atk_signal_text_changed, atk_signal_child_changed,
3149 signal ids queried from gtype system.
3150 (AtkBridgeEventContextType): New enum.
3151 (AtkBridgeEventContextData): New struct.
3152 (AtkBridgeEventContext): New struct.
3153 (atk_bridge_init_event_type_consts):
3154 New method, initializes type contants for comparison
3155 prior to emit_eventv.
3156 (atk_bridge_event_context_init): New method,
3157 initializes a CORBA_any from an AtkBridgeEventContext.
3158 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3159 initialize the event.any_data struct.
3160 (spi_atk_bridge_event_context_create): New method,
3161 creates an AtkBridgeEventContext from signal/event info.
3162 (spi_atk_bridge_event_context_free): New method.
3163 (spi_atk_emit_eventv): Changed to take an
3164 AtkBridgeEventContext parameter. We now initialize
3165 the event.any_data member prior to notifying the
3166 Registry, via the AtkBridgeEventContext.
3167 (spi_atk_bridge_property_event_listener):
3168 (spi_atk_bridge_state_event_listener):
3169 Match emit_eventv signature.
3170 (spi_atk_bridge_object_event_listener):
3171 Match emit_eventv signature, and create an
3172 event context from the event details.
3173 Free the event context afterwards.
3174 (spi_atk_bridge_window_event_listener):
3175 Create an event context, pass it to the
3179 (AccessibleEvent_getContextString):
3180 (AccessibleEvent_getContextObject):
3181 New methods, allow query of AccessibleEvent objects
3182 for more context details (via the "any_data" member
3183 of the Event struct, above).
3186 Definitions for AccessibleEvent_getContextString
3187 and AccessibleEvent_getContextObject.
3189 * cspi/spi_listener.h:
3190 (InternalEvent): New struct.
3193 (AccessibleEvent_getContextString):
3194 (AccessibleEvent_getContextObject):
3195 Implementations of new methods, for obtaining
3196 additional context information from some event types.
3198 * cspi/spi_registry.c:
3199 (SPI_registerGlobalEventListener):
3200 Added mention of active-descendant-changed event in docs.
3202 * cspi/cspi-bonobo-listener.c:
3204 Marshal the any into the AccessibleEvent via
3207 * libspi/spi-private.h:
3208 #include <orbit/orbit.h>
3210 (spi_init_any_string):
3211 (spi_init_any_object):
3212 New convenience function declarations.
3216 (spi_init_any_string):
3217 (spi_init_any_object):
3218 New convenience function implementations.
3220 * registryd/deviceeventcontroller.c:
3221 (spi_poll_dec_mouse_moved):
3222 (spi_device_event_controller_forward_mous_event):
3223 Initialize any_data member of event.
3224 (spi_deregister_controller_device_listener):
3225 Fix incorrect param pass which was preventing deregistration.
3227 * registryd/registry.c:
3228 (desktop_add_application):
3229 (desktop_remove_application):
3230 Add object data to event's any_data before dispatch.
3232 Fix for error messages from GAIL.
3234 * test/event-listener-test.c:
3235 Test new ContextString and "any_data" API:
3236 (report_text_event): New method query and output context string.
3237 (main): register a new text listener with report_text_event
3240 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3242 Fixes for bugs 98127 and 97914.
3243 * cspi/spi-roletypes.h:
3244 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3246 * cspi/spi-statetypes.h:
3247 Added SPI_STATE_MANAGES_DESCENDANTS
3249 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3250 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3251 * cspi/spi_accessible.c:
3252 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3253 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3254 Accessibility_STATE_MANAGES_DESCENDANTS
3255 * libspi/accessible.c:
3256 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3257 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3258 As requested by Bill, I also cleaned up the alignment.
3259 * libspi/relation.c:
3260 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3261 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3262 * libspi/stateset.c:
3263 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3264 Accessibility_STATE_MANAGES_DESCENDANTS
3265 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3266 Document changes reflecting modifications to roles.
3267 * docs/reference/cspi/tmpl/spi_relation.sgml:
3268 Document changes reflecting modifications to relations.
3269 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3270 Document changes reflecting modifications to states.
3272 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3275 Revved to 1.1.3, interface-age=3, binary-age=3.
3276 Added REBUILD macro.
3279 Removed accessx-gui from the tests, since we have a nice
3280 keyboard accessibility capplet now :-)
3282 * test/keysynth-demo.c:
3283 (increment_scan): removed do-nothing default: case,
3286 * test/visual-bell.c:
3287 (main) : removed do-nothing default: case,
3290 * cspi/spi_action.c:
3291 (AccessibleAction_getKeyBinding_):
3292 Documented keybinding string format.
3296 (AccessibleText_getAttributes):
3297 Documented the text attribute string format.
3298 It's changed to use semicolon delimiters also,
3299 to prevent clashes with CSS attributes, but the old
3300 trick of looking for ", " strings will still work
3301 (as unreliably as ever). Fix for bug related to 97916.
3304 Include <cspi/bonobo/cspi-bonobo-listener.h>
3305 Fixes build warning.
3306 (SPI_freeAccessibleKeySet):
3307 (AccessibleKeystrokeListener_addCallback):
3308 (AccessibleKeystrokeListener_removeCallback):
3309 Modify to use AccessibleDeviceListener API internally,
3310 instead of AccessibleKeystrokeListener.
3312 * idl/Accessibility_Event.idl:
3313 Added two more empty slots to EventListener (for a total of four).
3315 * idl/Accessibility_Accessible.idl:
3316 Added four empty slots to Accessible interface.
3318 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3320 * idl/Accessibility_Registry.idl:
3321 (KeyEventType, EventType):
3322 Marked KeyEventType as deprecated; it duplicates
3323 functionality of EventType, which has been extended to
3324 include Mouse-button events.
3325 (KeyEventTypeSeq): defined in terms of EventType.
3326 (registerDeviceEventListener, deregisterDeviceEventListener):
3327 New methods, for managing listeners to device events,
3328 which potentially may consume them.
3331 Added definition for AccessibleDeviceListener.
3333 * cspi/spi-listener.h:
3334 (enum AccessibleDeviceEventType):
3335 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3336 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3337 for backwards compat.
3338 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3339 and typedef'd AccessibleKeystroke to it for back-compat.
3340 (AccessibleDeviceListenerCB):
3341 New function prototype typedef.
3344 (AccessibleDeviceEventMask): New typedef.
3345 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3346 (AccessibleKeyMaskType):
3347 Set equivalent to AccessibleModifierMaskType for back-compat.
3348 (SPI_createAccessibleKeystrokeListener):
3349 (AccessibleKeystrokeListener_unref):
3350 Deprecated in favor of equivalent (better-named) new API below..
3351 keystroke listeners are like all device listeners.
3352 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3353 New API names for old features :-).
3354 (AccessibleDeviceListener_addCallback):
3355 (AccessibleDeviceListener_removeCallback):
3356 (SPI_registerDeviceEventListener):
3357 (SPI_deregisterDeviceEventListener):
3361 (SPI_createAccessibleKeystrokeListener):
3362 Use new preferred API, cspi_device_listener_new() and
3363 cspi_device_listener_add_cb().
3364 (AccessibleKeystrokeListener_removeCallback):
3365 Use new preferred API, cspi_device_listener_remove_cb().
3366 (AccessibleKeystrokeListener_unref):
3367 Use new preferred API, cspi_device_listener_unref().
3368 (SPI_createAccessibleDeviceListener):
3369 (AccessibleDeviceListener_addCallback):
3370 (AccessibleDeviceListener_removeCallback):
3371 Implementation of new API.
3373 * cspi/spi_registry.c:
3374 (SPI_registerDeviceEventListener):
3375 (SPI_deregisterDeviceEventListener):
3376 Implementation of new API. Fixed memory leak and removed need to
3377 allocate EventTypeSeq (thanks Michael for catching this).
3378 Squashed a wayward CORBA_exception_free that shouldn't get called.
3380 * cspi/bonobo/cspi-bonobo-listener.c:
3382 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3383 (cspi_key_event): renamed to cspi_device_event().
3384 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3385 Extended to handle mouse button events as well as key events.
3386 (CSpiKeystrokeListener):
3387 Class superceded by CSpiDeviceListener.
3388 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3389 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3391 * cspi/bonobo/cspi-bonobo-listener.h:
3392 (CSpiKeystrokeListener):
3393 Class superceded by CSpiDeviceListener.
3394 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3395 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3397 * libspi/Makefile.am:
3398 Replaced keystrokelistener.h and keystrokelistener.c
3399 with devicelistener.h and devicelistener.c; keystrokelisener.h
3400 stub retained for back-compat.
3402 * libspi/keystrokelistener.c:
3406 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3408 * registryd/deviceeventcontroller.c:
3409 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3410 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3411 (DEControllerPrivateData): Added xkb settings data.
3412 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3413 button release events (which can't be captured via XGrabButton).
3414 Don't dispatch via the 'normal' event mechanism if the device event was
3416 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3417 Handle the typeseq data in its new location (see above).
3418 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3419 New methods, for "generic" device listeners.
3420 (spi_controller_register_device_listener):
3421 Now handle mouse event listeners as well as key listeners.
3422 (spi_controller_notify_mouselisteners):
3423 New internal method.
3424 (spi_device_event_controller_forward_mouse_event):
3425 Now we notify mouse device listeners as well as generating the
3426 non-consumable "mouse:" events.
3428 We must check and restore the XKB
3429 modifier map if we consume the event, since the act of triggering
3430 a mouse event will normally reset the XKB latch. This is required for
3432 (spi_controller_register_with_devices):
3433 Load the XKB settings when registering, and register for XKB
3434 state notify events.
3435 (spi_key_eventtype_seq_contains_event):
3436 Renamed spi_eventtype_seq_contains_event, since it's used
3437 internally for all device event types now.
3438 (spi_key_event_matches_listener):
3439 Uses spi_eventtype_seq_contains_event now.
3440 (spi_device_event_controller_object_finalize):
3441 Free the private data and the XkbKeyboard struct.
3442 (impl_register_device_listener, impl_deregister_device_listener):
3443 Implementation of new IDL.
3444 (spi_deregister_controller_device_listener):
3445 New internal method.
3446 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3447 More efficient implementation, we don't have to create a new
3448 XkbControls structure every time we query.
3449 (spi_device_event_controller_class_init):
3450 Initialize the epv entries for the new IDL. Assign the
3451 "spi-dec-private" quark.
3452 (spi_device_event_controller_init):
3453 Initialize the private data.
3454 (spi_device_event_controller_forward_key_event):
3455 Removed a bogus CORBA_exception_free() call.
3457 * registryd/deviceeventcontroller.h:
3458 Replaced inclusion of keystrokelistener.h with
3461 * test/event-listener-test.c:
3462 (report_mouse_event):
3465 Added mouse-event device listener.
3467 * test/test-simple.c:
3468 (create_test_window):
3469 Fixed regression (we were instantiating a GtkRange,
3470 which is now an abstract class). Also fixed to match
3471 existing AtkRole names, this seems to have changed in ATK
3472 awhile ago; too late now I think, and the new
3473 mechanism is at least elegant and consistent with the
3474 glib enum "nick" APIs.
3476 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3478 * idl/Accessibility_Relation.idl:
3479 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3480 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3481 * idl/Accessibility_Role.idl:
3482 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3483 * idl/Accessibility_State.idl:
3484 add STATE_MANAGES_DESCENDANTS
3485 * test/event-listener-test.c:
3486 Added a listener for active-descendant events.
3488 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3490 * atk-bridge/bridge.c
3491 (atk_bridge_init): If application is Bonobo component wait until top
3492 level is added before registering
3493 (spi_atk_bridge_do_registration): New function which contains code,
3494 formerly in atk_bridge_init, to do application registration.
3495 (spi_atk_bridge_toplevel_added): Signal called when top level
3496 added to Bonobo component
3498 This fixes bug #83134.
3500 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3502 * registryd/deviceeventcontroller.c
3503 Fixed compilation error caused by calling gettimeofday()
3506 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3511 Added template for HAVE_XKB.
3514 Changes to check for XKB, and to set the HAVE_XKB #define if it
3517 * libspi/listener.c:
3518 ()impl_notify_event): Make failure to get event source name
3521 * registryd/deviceeventcontroller.c:
3522 (#include): include X11/XKBlib.h.
3523 (DEControllerPrivateData) : New struct.
3524 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3526 (dec_synth_keycode_press) (dec_synth_keycode_release):
3527 New methods; split the key synthesis code into these methods.
3528 They check XKB settings before determining the "time" values to
3529 pass to Xtest; this fixes bug #95828.
3530 (impl_generate_keyboard_event): Changed to use methods above,
3531 instead of callng Xtest directly.
3532 (spi_device_event_controller_init): Initialize new privae struct s
3534 (spi_device_event_controllr_object_finalize):
3535 Free the (new) private data.
3537 * registryd/deviceeventcontroller.h:
3538 Add new gpointer to end of struct data.
3540 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3543 Incremented revision to 1.1.2, SONAME is still '.so', library
3544 extensions are ".so.0.0.2".
3546 * registryd/deviceeventcontroller.c:
3547 FIXES FOR #93592 and #95940.
3548 (statics): renamed mouse_button_state to mouse_mask_state,
3549 added key_modifier_mask.
3550 (spi_dec_poll_mouse_moved):
3551 Added key modifier checks, and emit "keyboard:modifiers"
3552 events when the key modifiers currently in use change.
3553 Also generate "mouse:abs" events periodically, even if the mouse
3554 is stationary (should we?).
3555 Alternatively we could generate "mouse:abs" events for either all
3556 mouse movements, or every 'nth' mouse movement, or at the
3557 beginning and end of every "active" mouse period.
3559 * test/event-listener-test.c:
3560 (main): Added listener for "keyboard:modifiers" events.
3562 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3564 * libspi/keymasks.h:
3565 Added key mask #defines for mouse buttons; e.g.
3566 SPI_KEYMASK_BUTTON1, etc.
3569 Incremented dependency on ATK to version 1.1.0. (This dependency
3570 is probably premature but will soon be real enough).
3572 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3574 * libspi/hyperlink.[ch]
3575 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3576 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3579 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3584 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3586 * registryd/deviceeventcontroller.c
3587 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3588 events to be ignored.
3589 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3590 keyboard_mode so that XAllowEvents() can be called.
3594 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3596 * cspi/spi-accessible.c: Correct names of roles returned by
3597 AccessibleRole_getName(). Fixes bug #95055.
3599 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3601 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3604 * registryd/registry.c
3605 (desktop_remove_application: Write diagnostic message to stderr for
3608 (impl_accessibility_registry_deregister_global_event_listener):
3609 Correct size of lists array. This addresses bug #94555).
3611 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3613 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3616 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3618 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3621 * registryd/registry.c (impl_registry_notify_event): Remove
3622 unnecessary call to parser_event_type().
3624 * docs/reference/cspi/tmpl/spi_component.sgml:
3625 Add reference to SPI_LAYER_WINDOW.
3627 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3629 * registryd/registry.c
3630 (desktop_add_application): Remove leak.
3631 (desktop_remove_application): Remove leak.
3632 (parser_event_type): Remove leak.
3634 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3636 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3637 bogus call to CORBA_string_dup(). Also removed unnecessary
3638 g_string_dup/g_free calls.
3640 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3642 * registryd/deviceeventcontroller.c:
3643 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3645 * test/event-listener-test.c:
3646 main: commented out three redundant listeners, to reduce output
3647 noise. (They still are potentially useful for testing).
3650 2002-09-13 Michael Meeks <michael@ximian.com>
3652 * Update all the copyrights to include Ximian.
3654 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3656 * cspi/spi.h: add SPI_LAYER_WINDOW.
3658 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3659 add Accessibility_LAYER_WINDOW case.
3661 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3663 * libspi/component.c: (impl_accessibility_component_get_layer):
3664 add ATK_LAYER_WINDOW case.
3666 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3668 * configure.in: incremented micro version.
3670 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3672 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3675 Clarified and reworded our commit policy.
3678 Started an API "todo" addition list for 2.2.
3681 (impl_getSelection):
3682 Free char pointer from atk_text_get_selection, which was being leaked.
3684 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3687 Small revision to author acknowledgement.
3689 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3691 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3692 If signal has detail add it to the type of the event.
3695 2002-08-12 Michael Meeks <michael@ximian.com>
3697 * test/test-simple.c (global_listener_cb): bin bogosity.
3698 (test_keylisteners): disable, still doesn't work reliably,
3699 certainly not on my system anyway.
3701 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3702 don't leak a reference on the DEC. This round-trip
3703 fetching of the DEC per keystroke sucks, it should be
3706 * cspi/spi-private.h,
3707 * cspi/cspi-lowlevel.h,
3708 * cspi/bonobo/cspi-bonobo-listener.[ch],
3709 * cspi/bonobo/cspi-bonobo.c: get the copyright
3710 notices better - there is still a large amount of
3711 work in at-spi falsely attributed solely to Sun.
3713 * cspi/spi_main.c (cspi_object_ref): kill bogus
3714 hash lookup, just increment the ref.
3715 (SPI_freeString): make explicit the fact that we
3716 handle NULL strings just fine.
3717 (report_leaked_ref): obey coding standards.
3718 (cspi_object_hash, cspi_object_equal): kill retval.
3719 (cspi_object_release): only release if not on loan.
3720 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3721 (cspi_object_borrow, cspi_object_return): impl.
3723 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3724 use cspi_object_borrow / return.
3726 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3728 * cspi/bonobo/cspi-bonobo-listener.c:
3730 Don't call cspi_oject_new() because this is creating a new Accessible
3731 every single time that an event is fired. This causes ATs like at-poke
3732 to nolonger recognise the source of the event and thus ignore it.
3733 Re-use the object from the cache, ref it and then unref it after the
3734 listeners have been called.
3736 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3738 * test/event-listener-test.c:
3739 Added command-line options to disable mouse events (m) and
3742 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3744 * configure.in: Update required versions of ATK, GTK+ and GAIL
3746 * cspi-1.0.pc.in: Add dependency for X include files
3749 * cspi/bonobo/Makefile.am:
3750 Add $(X_CFLAGS) so that X include files
3751 are picked up even if not in standard place (bug #71686)
3753 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3755 * registryd/deviceeventcontroller.c: fix for 84261
3756 (spi_dec_mouse_moved):
3757 Added test of mouse button mask, so that we can detect mouse
3758 button release. Unfortunately we can't otherwise detect mouse
3759 button release events without consuming the mouse press event,
3760 because of the way XGrabButton works. This means that our mouse
3761 release events have a latency dependent on the polling period
3762 while the mouse button is down. At least in this case we only
3763 have to poll while the button is down, and not at other times.
3764 If the button masks don't match with what the last press event
3765 reported, we report the appropriate button release event.
3766 (spi_dec_ungrab_mouse):
3767 New method (not yet called).
3768 (spi_device_event_controller_forward_mouse_event):
3769 New method, sends mouse press event from GdkFilter.
3770 (spi_dec_init_mouse_listener):
3771 Added code to call XGrabButton, redirecting mouse button events to
3772 the root window and our Gdk event loop.
3774 Added code to filter mouse button events, and reordered.
3776 * test/event-listener-test.c:
3778 Added registration for mouse events of type "mouse:button".
3780 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3782 * registryd/deviceeventcontroller.c: partial fix for 84261
3783 (spi_dec_poll_mouse_idle):
3784 New method, a timeout which checks to see if the mouse
3786 (spi_dec_poll_mouse_moving):
3787 A timeout to be called when mouse motion is underway.
3788 (spi_dec_poll_mouse_moved):
3789 A method which fires an event if the mouse has moved, and reports
3790 whether or not it did so.
3791 (spi_dec_init_mouse_listener):
3792 A method which sets up the timeouts above.
3793 (spi_device_event_controller_new):
3794 Now calls spi_dec_init_mouse_listener.
3796 * registryd/registry.c:
3797 (spi_registry_init):
3798 Now we initialize the device event controller when the registry is
3799 initialized, instead of waiting until a client has requested a key
3800 event notification; this is because we need the event controller
3801 for mouse events, but the mouse event registration API is a
3802 "registry" call and doesn't explicitly call the
3803 deviceeventcontroller.
3804 We now report mouse motion events with a 100 ms idle latency and
3805 a 20 ms granularity when motion is in progress.
3807 * test/event-listener-test.c:
3809 We now register the "detail listener" for events of type
3810 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3811 delivered only for the first mouse event received, and thereafter
3812 "mouse:abs" events are delivered.)
3814 * cspi/spi_registry.c:
3815 DOCS: Documented the above mouse event typestrings.
3817 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3819 Happy Summer Solstice...
3821 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3822 (spi_controller_notify_keylisteners):
3823 Changes to remove a listener from the listener list, freeing its
3824 open keygrabs, if a notification to that listener fails. This
3825 means that although a dead listener can continue to hold a passive
3826 keygrab, a maximum of one dispatch to such a listener can fail
3827 before the listener is removed from the list, thus the keygrab
3828 will be released on the next occurrence.
3829 As part of this fix:
3830 (spi_notify_keylisteners):
3831 Renamed to spi_controller_notify_keylisteners, as the controller
3832 instance must now be passed as an argument.
3833 The copied 'notify' GList is now a list of DEControllerKeyListener
3834 objects, since we need more than just the CORBA reference if a
3835 notify fails and we need to deregister the listener.
3836 (impl_notify_listeners_sync):
3837 (impl_notify_listeners_async):
3838 (spi_device_event_controller_forward_key_event):
3839 Modify use of notify_keylisteners in accordance with above
3841 (spi_deregister_controller_key_listener):
3842 New method introduced by refactoring, from
3843 impl_deregister_keystroke_listener.
3844 (impl_deregister_keystroke_listener):
3845 Call spi_deregister_controller_key_listener.
3846 (spi_key_listener_clone):
3847 New method to copy a key listner without doing a 'ref' on the
3848 remote object instance; used to create a notifier list.
3849 (spi_key_listener_data_free):
3850 New method, frees data without unreffing the source.
3852 (spi_key_listener_clone_free): new method.
3853 (spi_key_listener_free):
3854 refactored to call spi_key_listener_data_free.
3856 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3858 * registryd/registry.c: [fix for bug 86048]
3859 (notify_listeners_cb):
3860 Clear CORBA system exceptions which occur when notifying
3861 listeners, before returning to the source of the original event,
3862 since the event source doesn't care if the relayed notify failed.
3863 In other words, don't complain to the atk-bridge if the registry
3864 could not notify all its listeners, that's no fault of the
3865 application and thus should not appear to be an error from the
3866 application's perspective.
3868 * cspi/spi_main.c: [fix for bug 85980]
3870 Replaced use of bonobo_object_dup_ref with call to the wrapper
3871 method, csou_dup_ref (); this silences a compiler warning and
3872 provided more portability.
3874 Ping the registry before return, and restart if necessary.
3876 * cspi/bonobo/cspi-bonobo.c:
3878 New internal method.
3880 Fixed this method to return an object reference, as it should have
3883 * cspi/cspi-lowlevel.h:
3884 Added internal definition for cspi_ping() and fixed
3885 return type of cspi_dup_ref().
3888 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3890 * atk-bridge/bridge.c: [fix for bug 85305]
3891 (spi_atk_bridge_register_application):
3892 New method where the initial application registry calls have been
3893 moved; it allows an application to re-register in response to
3894 certain error conditions (such as a registry restart, see below).
3896 Moved some initialization code to the method
3897 spi_atk_bridge_get_registry, below.
3898 (spi_atk_bridge_get_registry):
3899 New, private accessor function for the Accessibility_Registry
3900 instance. If the registry has not been started before, or has
3901 died (as detected by failure of a CORBA exception), it is
3902 restarted before return, and spi_atk_bridge_register_application
3903 is called again to register with the new bridge instance.
3904 (spi_atk_emit_eventv):
3905 Set registry_died on error; use spi_atk_bridge_get_registry () to
3906 access the registry.
3908 * registryd/registry.c:
3909 (impl_accessibility_registry_register_global_event_listener):
3910 Set listener's event_type_quark to etype.minor instead of
3911 etype.major (fix for bug 84856).
3913 * test/event-listener-test.c:
3914 (report_detail_event):
3915 Change the output string so that user/tester can tell that the
3916 'detail listener' was called instead of the 'generic listener'.
3918 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3920 Fixes for bugs 84900, 84908, 84897, 84898.
3925 Revved version to 1.1.0
3926 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3927 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3929 * idl/Accessibility_Registry.idl:
3930 (EventListener::notifyEvent):
3931 Removed 'oneway' directive after extensive consulation with
3932 ORBit2 team and others. This means also that unref() of the event
3933 source can and should be done synchronously after emission, rather
3934 than remotely in the client, after servicing the notify call on
3937 NOTE: This change speeds up listener performance considerably, but
3938 introduces new latency on the application side. We may want to
3939 add an event queue to the atk-bridge.
3941 * atk-bridge/bridge.c:
3942 (spi_atk_bridge_focus_tracker):
3943 Do a local unref() on the event source after emission.
3945 * registryd/registry.c:
3946 (desktop_remove_application):
3947 Do an unref() on the event source after emission.
3948 (desktop_add_application):
3949 Do an unref() on the event source after emission.
3950 (notify_listeners_cb):
3951 When relaying an event, don't automatically add the event source
3952 to the local object cache, just CORBA_dup it instead. Likewise,
3953 if this method reenters, release the ref rather than calling
3955 (impl_registry_notify_event):
3956 No longer call remote unref() on the event source after dispatch.
3958 * libspi/eventlistener.c:
3959 (impl_accessible_event_notify_event):
3960 Removed remote unref ()
3962 * cspi/bonobo/cspi-bonobo-listener.c:
3964 We now call cspi_object_new() instead of cspi_object_add() on
3965 receipt of an event; thus we only have an implicit object ref
3966 while the cspi_event method is being executed. If we need to keep
3967 a reference to the object, the listener must call ref() on the
3968 object. Thus also we don't need to call cspi_object_unref() after
3969 invoking the listener callbacks in this method.
3973 New internal API for creating a new cspi object, without adding it
3974 to the object cache.
3976 Now uses cspi_object_new() to create the cspi object instance.
3978 Now checks to see if the object is in the internal object cache,
3979 and adds it if necessary before incrementing its refcount (note
3980 that new objects are added with a refcount of 1).
3981 (report_leaked_ref):
3982 New method which gives some information on leaked object instances
3983 if leak detection is turned on.
3985 * test/event-listener-test.c:
3986 (timing_test_event):
3987 New method, used for testing event delivery timing for special
3988 events of type "object:test". It reports elapsed time and
3989 events/sec every 500 events.
3991 Added a new listener, 'test listener', to check timing of event
3992 receipt as noted above.
3994 Added some timing output here also, reports elapsed time every 100
3997 * test/stress-test.c:
3998 Emit events of type "object:test", for use with "event-listener-test".
4000 * test/test-simple.c:
4001 (global_listener_cb):
4002 Call Accessible_ref() on the event source before calling
4003 validate_accessible, since the validation process does pointer
4004 comparisons on the event source, meaning that the event source
4005 needs to be added to the local object cache first. Any use of
4006 such pointer comparisons between Accessible objects requires that
4007 the caller hold an explicit reference to those objects.
4008 We also must therefore call Accessible_unref() when leaving this method.
4010 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4012 * registryd/deviceeventcontroller.c:
4013 (spi_controller_update_key_grabs):
4014 Fix for #84735, subsequent keygrab listeners not informed of
4015 registration failure.
4018 (spi_base_construct):
4019 Add an assertion on construct, to make sure the GObject passed in
4020 is really a GObject.
4022 Explicitly initialize object->gobj pointer to NULL;
4024 * cspi/bonobo/cspi-bonobo-listener.c:
4025 (cspi_object_add_ref):
4026 New method, can specify whether to dup-ref a bonobo object passed
4027 in if it's newly added to the object cache.
4029 Now calls cspi_object_add_ref with second param of "FALSE". This
4030 prevents us from doing a pointless dup-ref followed by
4031 release-unref for all those cases where the object is already in
4032 our object cache (fix for #85205).
4034 * atk-bridge/bridge.c:
4035 (spi_atk_bridge_idle_init):
4036 Removed this method, we don't need to initialize in an idle
4039 Changed to call spi_atk_register_event_listeners directly, not via an
4040 idle handler. (fix for #81139)
4041 (gnome_accessibility_module_shutdown):
4042 Removed conditional around deregistration of listeners, since we
4043 don't use the idle handler and thus have always registered when
4045 (spi_init_keystroke_from_atk_key_event):
4046 Changed references to Accessibility_KEY_PRESSED to
4047 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4049 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4051 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4056 * test/stress-test.c:
4059 (may have been an incomplete commit yesterday?)
4061 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4064 Added target for new stress-test.
4066 * test/stress-test.c:
4067 New test, sends 1000 focus notifies in quick succession.
4069 * test/key-listener-test.c:
4070 Now we report whether a keylistener registration
4071 request succeeded or failed.
4073 * test/event-listener-test.c:
4074 Uncommented some listeners which are now implemented.
4077 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4079 * registryd/deviceeventcontroller.c:
4080 (spi_controller_update_key_grabs):
4081 Fix for #82509, lack of failure notification when
4082 ALL_WINDOWS keygrabs fail due to XGrabKey
4083 failure: we synchronize the server when
4084 registering a passive grab, to make sure we get the
4085 error message before the call returns.
4087 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4089 * test/test-simple.c:
4091 Removed #ifdef KEY_IMPL_WORKS guards.
4092 (test_keylisteners):
4093 Removed #ifdef KEY_IMPL_WORKS guards.
4094 Fixed bug which was causing a hang waiting for a
4095 "press" event (which was already overwritten by a "release"
4096 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4098 Added code to set globals 'key_press_received' and
4099 'key_release_received'.
4102 Added section "1.1 API Proposed Additions" which
4103 lists API additions desired for at-spi-1.1 (only one so far).
4104 Updated TODO list a little.
4106 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4108 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4111 * configure.in: Revved to 1.0.0.
4113 * idl/Accessibility_Registry.idl:
4114 (registerKeystrokeListener):
4115 Added boolean return value.
4117 * registryd/registry.c:
4118 (notify_listeners_cb): Minor fix to debug output.
4120 * registryd/Accessibility_Registry.server.in.in:
4121 Revved version number in OAFIID to 1.0.
4123 * registryd/registryd.c:
4125 Use new OAFIID version.
4127 * cspi/bonobo/cspi-bonobo.c:
4129 Use new OAFIID version.
4135 * atk-bridge/bridge.c:
4137 Use new OAFIID version.
4139 * registryd/deviceeventcontroller.c:
4140 (impl_register_keystroke_listener):
4141 Added CORBA_boolean return value.
4142 (spi_controller_register_device_listener):
4143 Added gboolean return value.
4144 (spi_controller_register_global_keygrabs):
4145 Added gboolean return value.
4146 (spi_key_set_contains_key):
4147 Added implementation for many more control keys,
4148 for instance F1-F12, arrow keys, End, Home, Page_Up,
4150 [TODO: some still not implemented].
4152 * text/screen-review-test.c:
4153 (text_chunk_pad_string):
4154 New function: it provides mapping between coordinate
4155 positions of text chunks and character positions in the
4156 screen-review-line output string.
4157 (text_chunk_to_string):
4158 New function, calls text_chunk_pad_string with various
4159 pad/delimiter characters. Pushbuttons are delimited with
4160 square brackets, Frames with vertical 'pipe' lines, and
4161 other text with double quotes.
4162 (text_chunk_list_to_string):
4163 Calls new function text_chunk_to_string.
4164 (toplevel_composite):
4165 New function to composite layers CANVAS through
4166 POPUP in each toplevel (other layers are composited
4167 across toplevels, i.e. BACKGROUND and OVERLAY).
4168 (review_buffer_composite):
4169 Revise to use new methods.
4175 2002-05-31 Laszlo Peter <laca@sun.com>
4177 * configure.in: add the Xtst libdir to the runpath on Solaris,
4178 since it's not in the default library search path.
4180 2002-05-29 jacob berkman <jacob@ximian.com>
4182 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4184 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4186 * test/screen-review-test.c:
4187 (text_chunk_pad_string):
4188 Added method, which pads the string according to the
4189 text bounds of the chunk. It also takes a 3-character
4190 string as a param which indicates the characters to be
4191 used for start, padding, and end delimitation of the chunk.
4192 (text_chunk_to_string):
4193 Changed to use text_chunk_pad_string.
4195 * configure.in: Fixed bug in AC_OUTPUT that was
4196 causing path substitution in Accessibility_Registry.server
4199 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4201 * text/screen-review-test.c:
4202 (guess_string_clip):
4203 New method which attempts a best-guess at clipping
4204 text from components (like Java labels) which don't
4205 actually implement AccessibleText. This inaccurate
4206 clip is based on the assumption that the label is
4207 justified left-and-right, and monospaced.
4208 (text_chunk_get_clipped_string):
4209 We now call guess_string_clip() for text-containing
4210 components that don't implement AccessibleText.
4212 * test/screen-review-test.c:
4213 (review_buffer_get_text_chunk):
4214 We now pull "name" from labels if they do not implement
4215 AccessibleText (i.e. for Java labels).
4216 (get_screen_review_line_at):
4217 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4220 Replaceded AC_OUTPUT target
4221 registryd/Accessibility_Registry.server with
4222 registryd/Accessibility_Registry.server.in.
4224 * registryd/Accessibility_Registry.server.in:
4225 Removed (this is now a Makefile target).
4227 * registryd/Accessibility_Registry.server.in.in:
4228 Added (source for target above). We now use $(libexecdir) as
4229 prefix for the executable at-spi-registryd.
4231 * registry/Makefile.am:
4232 Now install at-spi-registryd into $(libexecdir), and build .server
4233 file with path (see above).
4235 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4237 * test/screen-review-test.c:
4238 (text_chunk_get_clipped_string):
4239 We now check to see if words fall within clip bounds
4240 before resorting to character-by-character clip bounds testing.
4242 * TODO: Added a section for "2.2 Proposed API Additions".
4244 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4246 * test/screen-review-test.c:
4248 Added a screen review benchmarking and test program to test
4251 * cspi/spi_accessible.c:
4253 Made some of the debug strings passed to cspi_check_ev a
4254 little more specific.
4256 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4258 * test/screen-review-test.c: Fix crashes in debug statements
4260 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4262 * test/screen-review-test.c: Added this file.
4264 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4266 * atk-bridge/bridge.c: changed "object:state-change" to
4267 "object:state-changed" to match docs.
4269 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4271 * atk-bridge/bridge.c: Hooked up state-change event details.
4273 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4275 * registryd/registry.c:
4276 Fixed quarking bug in event string parsing; now events with
4277 detail parameters get matched correctly to listeners.
4280 * util/idl/Magnifier.idl: remove.
4282 * util/*.[ch]: Remove.
4283 Magnification utilities and IDL are now in module gnome-mag.
4285 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4287 * registryd/deviceeventcontroller.c:
4288 Fixed bug in grab key conversion which was causing keycode grabs
4289 to be converted to AnyKey grabs.
4292 updated NEWS file to reflect recent spin-off of gnome-mag.
4294 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4296 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4297 busted AccessibleStateSet_compare. Removed redundant casts.
4299 * cspi/spi-action.c: Removed redundant casts.
4301 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4303 * cspi/spi_component.c: Fixed typos and casting error.
4305 * cspi/spi_editabletext.c: Removed redundant casts.
4307 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4309 * cspi/spi_hypertext.c: Eliminated redundant casts.
4311 * cspi/spi_image.c: Eliminated redundant casts.
4313 * cspi/spi_registry.c: Eliminated redundant casts.
4314 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4315 * cspi/spi_selection.c: Removed redundant casts.
4316 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4317 handling. Screen geometry and text offsets were being returned as 0
4318 on error which is technically valid-- changed these to return -1.
4319 Added marshaller for text boundary types to fix bug with boundary
4320 types being passed incorrectly to atk.
4322 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4325 * cspi/spi_registry.c:
4326 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4327 which was uncovered by the recent key changes.
4329 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4331 * test/event-listener-test.c:
4333 Added new test, "event-listener-test";
4334 this code does two things; it benchmarks traversal time
4335 for the accessible hierarchy for the first running accessible
4336 app, and it connects listeners for all supported event types.
4337 It is thus useful as an example event listener and for
4338 diagnostics/debugging of event generation.
4340 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4343 Removed unnecessary dependency on libutil.
4346 Revved micro version: 0.13.1
4348 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4351 Removed util/Makefile from targets.
4354 Removed util subdir from SUBDIRS (temporarily,
4355 pending removal of magnifier-only code
4359 #ifdef-ed out magnifier dependencies, since
4360 magnifier IDL, headers, and binary now live in
4361 module gnome-mag and we don't want at-spi to depend
4362 on gnome-mag. A magnifier demo which can run alongside
4363 simple-at is forthcoming in the gnome-mag module.
4365 NOTE: Split magnifier binary, IDL, and magnification
4366 activation code from at-spi into module gnome-mag.
4368 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4370 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4371 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4373 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4376 Revved to version 0.13.0
4378 * idl/Accessibility_Registry.idl:
4379 Changed definition of KeySet from sequence of longs to sequence of
4380 KeyDefinitions, and added KeyDefinition struct.
4381 Required for fix to bug 80616.
4383 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4384 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4385 to use new definition (see above).
4387 * registryd/deviceeventcontroller.c: handle_keygrab(),
4388 spi_keyset_contains_key():
4389 Changed to make use of new struct; this allows matching based on
4390 string key-name, for instance "Tab". This also allows matching of
4391 composed characters, non-alphanumeric characters in a way that
4392 doesn't involve dependencies on X keysym codes directly, etc.
4394 * test/key-listener-test.c:
4395 Added test for Alt-Tab key using "string" specification of keyset,
4396 and modified one of the tests to use a keycode-based keyset.
4397 Thus this test both tests and demonstrates the creation and use of
4398 keysets of three forms: specified via keycode array,
4399 keysym array, and string array. (The string case only contains a
4400 single string, i.e. a string array of length 1).
4403 Turned on PRINT_TREE option by default. Also fixed a
4404 string-freeing bug in the PRINT_TREE code.
4405 Added a listener to window:minimize events.
4407 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4409 * atk-bridge/bridge.c:
4410 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4411 for window:activate and window:deactiveate
4412 (atk_bridge_property_event_listener atk_bridge_signal_listener
4413 atk_bridge_window_event_listener) Tidy debug code
4415 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4417 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4418 Fixed handling for NULL return value from ATK.
4420 * libspi/action.c libspi/component.c libspi/editabletext.
4421 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4422 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4423 Removed redundant casts.
4425 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4426 Fixed off by one bug.
4428 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4429 function not present in idl)
4431 2002-05-02 jacob berkman <jacob@ximian.com>
4433 * atk-bridge/Makefile.am: make atk-bridge a real module
4435 2002-04-26 Radek Doulik <rodo@ximian.com>
4437 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4438 atk_state_types table
4440 2002-04-22 jacob berkman <jacob@ximian.com>
4443 * libspi/Makefile.am: add deps on the built files to help
4444 automake, and don't version the ORBit typelib
4446 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4448 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4449 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4450 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4451 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4452 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4453 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4454 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4455 libspi/accessible.h libspi/accessible.h libspi/base.h
4456 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4457 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4458 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4459 libspi/spi-private.h libspi/statetset.h libspi/table.h
4460 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4461 util/mag_client.h util/mag_control.c util/mag_image.c
4462 util/mag_image.h util/magnifier.c util/magnifier.h:
4463 Add missing file headers; standardize existing ones
4465 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4467 * atk-bridge/bridge.c: Added window event support.
4469 2002-04-18 Michael Meeks <michael@ximian.com>
4471 * libspi/relation.c (impl_getNTargets): impl.
4472 (impl_getTarget): impl.
4474 * libspi/Makefile.am: fix stateset install.
4476 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4479 Started putting useful info in this file.
4481 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4483 * atk-bridge/bridge.c:
4484 Propagate state-changed notifications to ATs
4486 * cspi/spi_registry.c: update docs to reflect actual behavior of
4487 state-change events.
4489 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4492 Incremented version to 0.12.1
4494 * util/mag_client.h:
4495 Add missing declaration for magnifier_exit,
4496 used by mag_control.c - Forte compiler didn't like
4497 the implicit redeclaration of the function :-(
4500 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4503 Revved version to 0.12 due to API change (see below).
4505 * cspi/spi-roletypes.h:
4506 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4507 definition from the inline docs, and added docs
4508 for SPI_ROLE_LAST_DEFINED.
4511 * cspi/spi_streamablecontent.c:
4512 Added missing seek_type parameter to
4513 (so far unused) method,
4514 AccessibleStreamableContent_seek().
4515 [ RT approval JodyG. ]
4518 Fixed docs for SPI_createAccessibleKeystrokeListener.
4520 * cspi/spi_registry.c:
4521 Fixed docs for SPI_KEYSET_ALL_KEYS.
4523 * docs/reference/cspi/at-spi-cspi-sections.txt:
4524 Added a number of missing APIs to SECTIONS.
4526 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4528 * registryd/Makefile.am:
4530 * cspi/bonobo/Makefile.am:
4531 Add $(X_LIBS) to makefiles.
4533 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4536 Revved version to 0.11.
4538 * libspi/component.c:
4539 Added implementation for grabFocus.
4541 * idl/Accessibility_Component.idl
4542 (Accessibility_Component_grabFocus):
4543 Made this method return boolean to indicate success or failure, to
4544 be consistent with cspi and the corresponding ATK method.
4546 * idl/Accessibility_Selection.idl
4547 (Accessibility_Selection_selectAll) :
4548 Made these methods return boolean to indicate success or
4549 failure, to be consistent with cspi and the corresponding ATK methods.
4551 * idl/Accessibility_EditableText.idl
4552 (Accessibility_EditableText_setTextContents,
4553 Accessibility_EditableText_insertText,
4554 Accessibility_EditableText_cutText,
4555 Accessibility_EditableText_deleteText,
4556 Accessibility_EditableText_pasteText):
4557 Made these methods return boolean to indicate
4560 * cspi/spi_editabletext.c:
4561 Made these methods return booleans.
4563 * libspi/selection.c:
4564 * libspi/component.c:
4565 * libspi/editabletext.c:
4566 Connected the boolean returns from ATK
4567 to the server-side code referenced above.
4569 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4571 * idl/Accessibility_Table.idl: Added missing methods,
4572 Accessibility_Table_addRowSelection,
4573 Accessibility_Table_addColumnSelection,
4574 Accessibility_Table_removeRowSelection,
4575 Accessibility_Table_removeColumnSelection.
4578 Added C wrappers for above IDL:
4579 AccessibleTable_addRowSelection,
4580 AccessibleTable_addColumnSelection,
4581 AccessibleTable_removeRowSelection,
4582 AccessibleTable_removeColumnSelection.
4585 Added server-side implementation code for IDL above, connecting
4586 to pre-existing ATK api.
4588 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4590 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4592 * libspi/accessible.c: Added implementation fo
4593 Accessibility_Accessible_get_state.
4595 * libspi/libspi.h: Added stateset.h to the list of includes.
4597 * libspi/stateset.c: Fixed broken implementation.
4599 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4602 Added implementation code for Accessibility_Magnifier_exit ().
4604 * util/mag_control.c:
4605 Added test code for above method; you can
4606 now kill an existing magnifier via
4607 ./mag_control q, from the util directory.
4609 * test/key-listener-test.c:
4611 Added a new test, for our key listener API.
4613 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4615 * test/app.c, test/keysynth-demo.c:
4617 Replace use of snprintf with g_snprintf.
4618 (fix for bugzilla 78249)
4620 2002-03-27 Michael Meeks <michael@ximian.com>
4624 * util/Makefile.am (INCLUDES): fix.
4625 (DONT_DIST_SOURCE): don't distribute the
4628 * libspi/Makefile.am (dist-hook): ditto.
4630 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4632 * libspi/hypertext.c:
4633 Fix warnings when yelp is used with atk-bridge
4635 2002-03-21 Michael Meeks <michael@ximian.com>
4637 * libspi/application.c (spi_application_new):
4638 use spi_accessible_construct so we use the AtkObject
4641 2002-03-19 Michael Meeks <michael@ximian.com>
4643 * registryd/registry.c (desktop_remove_application),
4644 (desktop_add_application): clean coding style.
4646 * registryd/desktop.c (spi_desktop_remove_application),
4647 (spi_desktop_add_application): kill re-enterency hazards.
4648 (spi_desktop_dispose): remove bogus redundant cast
4649 obscuring bug; fix bug too.
4650 (spi_desktop_init): make the desktop object immortal.
4652 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4655 Added a #define-guarded tree-traversal step
4656 when enumerating the apps (diagnostic tool).
4658 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4660 * idl/Accessibility_Role.idl:
4661 Added ROLE_DRAWING_AREA which seemed to be missing from the
4664 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4666 * cspi/spi-roletypes.h cspi/spi_accessible.c
4667 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4670 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4671 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4672 AT when applications are added and removed from the desktop. This
4673 reverts the previous broken implementation using the backing
4674 AtkObject for the SpiDesktop.
4676 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4678 * registryd/desktop.c: emit the "children-changed::add" and
4679 "children-changed::remove" signals on the backing ATK object for
4680 the desktop so AT can tell when applications are started and shut
4683 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4685 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4687 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4689 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4691 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4693 * cspi/state-types.h: synched with IDL and ATK
4695 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4697 * libspi/accessible.c
4698 (impl_accessibility_accessible_get_child_at_index):
4699 Change return value for g_return_if_fail ()
4700 to CORBA_OBJECT_NIL instead of "0" (!)
4702 * registryd/Makefile.am:
4703 * registryd/Accessibility_Register.server.in:
4704 Changed name of executable, "registryd",
4705 to something more informative:
4708 2002-03-13 Michael Meeks <michael@ximian.com>
4710 * atk-bridge/bridge.c (atk_bridge_init): don't register
4711 if we're in a bonobo-component, rather than a bonobo app.
4713 2002-03-13 Michael Meeks <michael@ximian.com>
4715 * atk-bridge/bridge.c (gtk_module_init): split
4716 out body to (atk_bridge_init): here, since otherwise
4717 we get symbol conflicts and oddness when invoked
4718 from (gnome_accessibility_module_init): here (upd.)
4720 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4723 New file. Explicitly allow "build sheriff" putbacks provided
4724 they are tested on Solaris.
4726 * docs/reference/cspi/Makefile.am:
4727 Added '-' to the "cp" command for index.sgml.
4728 ("patch by thomasvs, soon coming to a GUADEC near you")
4731 Incremented version number (0.9.0) for new release.
4732 Changed macro that checks for popt, to better detect
4733 obsolete versions of popt.
4736 Added X_LIBS to AC_SUBST, for applications
4737 that call Xlib API directly.
4740 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4743 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4746 Fix regression caused by hard-coding major
4747 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4750 * test/test-simple.c (test_editable_text),
4751 (test_test): revert previous change (error was
4752 a regression in gail which is now fixed).
4754 2002-03-04 Michael Meeks <michael@ximian.com>
4756 * test/test-simple.c (test_editable_text),
4757 (test_text): pass G_MAXINT instead of '-1' for
4758 whole string - is this a good thing !?
4760 * cspi/spi_accessible.c
4761 (Accessible_getRelationSet): fix crasher bug
4762 overwriting the end of the array.
4764 * test/test-simple.c (validate_accessible): free,
4765 not g_free returned relation set.
4767 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4769 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4770 implemented stateset support
4772 * idl/Accessibility_State.idl: Made necessary changes to
4773 the IDL to support state sets.
4775 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4777 * registryd/deviceeventcontroller.c:
4778 Added implementation for generateMouseEvent.
4780 * cspi/spi_registry.c:
4781 Connected new implementation for generateMouseEvent
4784 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4787 Incremented revision (but no change in public API
4788 outside of 'utils', which are not installed public yet.)
4790 * libspi/component.c:
4791 Changed to use atk_component API for layers and
4792 mdi_zorder, instead of deprecated atk_object API.
4794 Magnification Utility Enhancements:
4797 Added implementation of createZoomRegion, clearAllZoomRegions,
4798 resizeZoomRegion. Added new commandline argument
4799 "--no-initial-region". Note that clearAllZoomRegions doesn't
4800 unmap the old '0' region as it should (yet), and the other
4801 methods only work when creating/resizing a single region,
4802 which is "region 0".
4803 (Code for multiple region support will be added later.)
4806 Now we raise the magnifier window each time it's refreshed;
4807 this will help keep it on top.
4809 * util/mag_client.h:
4810 Added simple wrappers for above, used by mag_control.
4811 For general use, it's recommended to use the bonobo magnifier
4812 control API directly instead of using these wrappers.
4815 Moved ZoomRegionData from magnifier.c to this file.
4817 * util/mag_control.c:
4818 Added some code to exercise new IDL implementations.
4820 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4822 * libspi/text.c: Provide implementation for getAttributes.
4824 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4827 Incremented revision.
4829 * test/test-simple.c:
4830 Replaced use of deprecated g_main_iteration with
4831 g_main_context_iteration.
4833 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4836 Incremented revision for desktop alpha 2.
4838 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4840 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4843 * test/simple-at.c: include netinet/in.h.
4845 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4847 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4848 use NULL, not CORBA_OBJECT_NIL.
4850 * libspi/accessible.c:
4851 (impl_accessibility_accessible_get_relation_set):
4852 allocate the sequence correctly.
4854 * libspi/remoteobject.h: kill spi_remote_object_new.
4856 * test/test-simple.c: (validate_accessible): add code
4857 to test relation sets, now all we need is to figure
4858 out how to excercise this code path :/
4860 2002-01-18 Michael Meeks <michael@ximian.com>
4862 * test/test-simple.c
4863 (key_listener_cb): consume the key.
4864 (test_keylisteners): update.
4865 (main): wait for any pending unrefs on events.
4867 * registryd/deviceeventcontroller.c
4868 (spi_controller_update_key_grabs): only re-issue the
4869 grab on a key release.
4870 (spi_device_event_controller_forward_key_event):
4871 refresh the keygrabs before we notify the listeners,
4872 to reduce the X ungrab / re-grab race.
4873 (spi_controller_register_with_devices): remove
4874 XSelectInput - we do that with the gdk_window_ call.
4875 (_spi_controller_device_error_handler): return a value.
4876 s/GDK_DISPLAY/spi_get_display/
4878 2002-01-17 Michael Meeks <michael@ximian.com>
4880 * registryd/deviceeventcontroller.c
4881 (_deregister_keygrab): don't blow out the later
4884 * test/test-simple.c (test_keylisteners): do a
4885 more intelligent validation.
4887 2002-01-14 Michael Meeks <michael@ximian.com>
4889 * atk-bridge/bridge.c
4890 (gnome_accessibility_module_init),
4891 (gnome_accessibility_module_shutdown): impl.
4892 (gtk_module_init): protect vs. double inits.
4893 (add_signal_listener): impl.
4894 (spi_atk_bridge_state_event_listener): kill
4895 (deregister_application): split out of
4896 (spi_atk_bridge_exit_func): here.
4898 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4901 Added caret tracking when using magnifier, and
4902 now use text bounds for focus tracking of text elements, rather than
4903 the component bounds - this is helpful for short text fields in long
4904 table cells, at high magnification.
4906 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4908 * registryd/deviceeventcontroller.c:
4909 Regression fix for keylistener de-registration; global keygrabs
4910 were not being released when deregisterKeystrokeListener was
4911 called in cspi, since
4912 Accessibility_DeviceEventController_deregisterKeystrokeListener
4913 was called with a zero-length keyset. That is because the cspi
4914 method, SPI_deregisterKeystrokeListener, does not take a keyset
4915 parameter but instead should remove all the key grabs held be a
4917 The code in impl_deregister_keystroke_listener was changed to copy
4918 the keylist from the listener instance previously registered with
4919 the DeviceEventController before releasing the grabs.
4921 * registryd/registry.c:
4922 * registryd/deviceeventcontroller.c:
4923 * libspi/spi-private.h:
4925 Changed spelling of "re-enterant" to "re-entrant" globally.
4927 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4929 * test/test-simple.c:
4930 Changed key listeners test - the test was slightly mis-using the
4931 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4932 It now uses '=' as the key event listened to and generated,
4933 relying on a keysym match rather than assuming that keycode 33
4934 is always equal to keysym '!'.
4936 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4939 Changed simple-at to use a specific keyset, rather than
4940 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4941 manager, desktop, etc.
4943 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4945 * registryd/deviceeventcontroller.c:
4946 Replaced standard X error handler with a special handler that
4947 is non-fatal for failed keygrabs. This works around
4948 problems with keygrab clashes sometimes observed on
4950 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4951 mouse handling code as yet).
4953 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4956 Incremented revision for desktop alpha release.
4959 Fixed a couple of the more glaring errors (still not
4962 2002-01-11 Michael Meeks <michael@ximian.com>
4964 * registryd/deviceeventcontroller.c
4965 (spi_device_event_controller_forward_key_event): kill
4966 XUngrabKey / XKeyGrab race.
4967 (spi_controller_grab_keyboard): rename to
4968 (spi_controller_update_key_grabs): this, and deal
4969 with incremental adding / removing grabs more
4971 (_register_keygrab): ensure we're not pending a remove.
4972 (spi_grab_mask_free): impl.
4973 (spi_controller_register_global_keygrabs): split out
4975 (handle_keygrab): impl.
4976 (_deregister_keygrab): impl.
4977 (spi_controller_deregister_global_keygrabs): impl.
4978 (spi_controller_update_key_grabs): re-issue the grab if
4979 we just recieved a notification.
4981 * test/test-simple.c (key_listener_cb): remove debug.
4983 * registryd/deviceeventcontroller.c
4984 (spi_controller_register_device_listener): after
4985 registering a global keygrab, actualy register it !
4986 don't wait for a timeout; doh !
4988 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4989 to make it more readable / manipulable.
4990 s/grabmask/grab_mask/ s/refcount/ref_count/
4991 s/keyval/key_val/ s/modmask/mod_mask
4993 2002-01-08 Michael Meeks <michael@ximian.com>
4995 * registryd/deviceeventcontroller.c
4996 (spi_controller_register_with_devices): use gdk calls to
4998 (global_filter_fn): implement the filter.
4999 (spi_device_event_controller_check_key_event): rename to
5000 (spi_device_event_controller_forward_key_event): this & upd.
5001 (spi_get_display): replace with GDK_DISPLAY.
5003 * registryd/deviceeventcontroller.c
5004 (spi_controller_deregister_device_listener): unroll into
5005 (impl_deregister_keystroke_listener): here to simplify.
5006 (spi_controller_register_global_keygrabs): split cut and
5007 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5008 (spi_controller_deregister_device_listener): remove.
5009 (impl_register_mouse_listener): remove, no mouse listener
5010 support in at-spi-1.0
5012 * registryd/registry.c
5013 (_device_event_controller_hook): kill.
5014 (spi_registry_init): upd.
5016 * registryd/deviceeventcontroller.c
5017 (spi_device_event_controller_class_init): upd.
5018 (spi_check_key_event): merge into.
5019 (spi_device_event_controller_check_key_event):
5020 here and kill strange static ev init, don't leak
5021 the x_event - nor dynamicaly allocate it.
5023 * registryd/registry-main.c (main): re-direct
5024 timeout to remove strange vtable mess.
5026 * registryd/deviceeventcontroller.c
5027 (remove_listener_cb): impl.
5028 (spi_controller_deregister_device_listener):
5029 fix re-enterancy hazard.
5031 2002-01-07 Michael Meeks <michael@ximian.com>
5033 * registryd/deviceeventcontroller.c
5034 (spi_device_event_controller_new): upd.
5035 (impl_notify_listeners_sync): upd. debug.
5036 (spi_notify_keylisteners): fix re-enterancy hazards,
5037 prettify, remove O(n*n) iteration.
5038 (spi_controller_grab_keyboard): fix iteration.
5039 (spi_check_key_event): re-format to suit coding style.
5040 Clean all the warnings - we're warning free.
5042 * registryd/deviceeventcontroller.h:
5043 * registryd/registry.h: make mutualy referential with
5044 typesafe forward references instead of (!) void pointer
5047 2002-01-11 Michael Meeks <michael@ximian.com>
5049 * cspi/spi_accessible.c (role_names): add a role name
5050 to sync this array with the enum; and make the regression
5053 2002-01-10 Michael Meeks <michael@ximian.com>
5055 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5056 allow expansion of enumeration & kill warning.
5058 * test/test-simple.c (key_listener_cb): impl.
5059 (test_keylisteners): impl.
5061 * cspi/spi-listener.h: make listener signatures const
5062 on the provided (const) events.
5064 * test/keysynth-demo.c: upd. to const events.
5066 * test/simple-at.c: ditto.
5068 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5071 Rev the version to 0.5 (the previous tarball was named 0.4,
5072 even though the micro number was 3), so we need to rev upwards
5073 again for beta2/"desktop-alpha"
5076 Checked in a demo script, which requires editing before use!
5077 Proceed with caution.
5080 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5082 * cspi/spi_accessible.c:
5083 Add a couple of missing enum initializations, and fix some enum
5086 * cspi/spi_registry.c:
5087 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5089 * docs/reference/cspi/at-spi-cspi-sections.txt:
5090 Remove/fix a couple of broken document references.
5093 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5094 as Alt-Control to listen for commands, since on some systems
5095 Control-Alt may already be grabbed.
5097 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5100 Update version number to 0.4 for Beta2.
5102 * libspi/accessible.c, libspi/accessible.h:
5103 Expose spi_accessible_construct, to enable libgail-gnome
5104 construction from spi_accessible subtype.
5106 * utils/magnifier.c:
5107 Workaround for bug in some non-gnome-compliant window managers
5108 which made magnifier resize improperly.
5110 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5112 * libspi/accessible.c: (spi_accessible_new) :
5113 Move the test for SPI_IS_REMOTE_OBJECT to
5114 spi_accessible_new_return, fixing a bug and compile time warning.
5116 2002-01-08 Michael Meeks <michael@ximian.com>
5118 * registryd/registry.c (parse_event_type): remove strndup.
5120 * libspi/Makefile.am (libspi_la_SOURCES): remove
5121 sources already included in the headers section.
5123 * libspi/util.c: add.
5125 * libspi/spi-private.h: add.
5127 * registryd/registry.c: update to moved list iterators.
5129 2002-01-05 Michael Meeks <michael@ximian.com>
5131 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5133 * test/test-simple.c (main): ditto.
5135 2002-01-04 Michael Meeks <michael@ximian.com>
5137 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5138 redundant construct.
5140 * registryd/registry.c
5141 (get_listener_list): impl.
5142 (impl_accessibility_registry_register_global_event_listener):
5143 re-impl. to simplify using ~, remove dodgy const cast off.
5144 (parse_event_type): constify.
5145 (impl_accessibility_registry_deregister_global_event_listener_all):
5146 re-write, more efficiency and simplicity, kill re-enterancy
5148 (compare_listener_corbaref, compare_corba_objects),
5149 (compare_listener_quarks): define out.
5150 (impl_accessibility_registry_deregister_global_event_listener):
5151 re-write for effiency, and nail re-enterancy hazard.
5152 (impl_accessibility_registry_get_desktop_list): impl.
5153 (re_enterant_list_delete_link): impl.
5154 (re_enterant_list_foreach): impl.
5155 (remove_listener_cb): impl.
5156 (_registry_notify_listeners): kill.
5157 (notify_listeners_cb): impl.
5159 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5160 (SPI_getDesktopList): impl.
5162 * test/test-simple.c (test_desktop): test the methods.
5164 2002-01-03 Michael Meeks <michael@ximian.com>
5166 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5167 keystrings since we free them
5168 (SPI_freeAccessibleKeySet): in here.
5170 * libspi/accessible.c (spi_accessible_new): kill warning,
5171 wonder what is going on with the constructor here.
5173 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5175 * libspi/accessible.c (spi_accessible_new ()) :
5176 Added check to see if AtkObject is an SpiRemoteObject before
5177 creating an SpiAccessible.
5179 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5181 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5182 Enable keygrabs using the Control modifier, now that they are
5183 working properly (they were previously disabled).
5186 Change the command keygrab for this demo to "Control+Alt", so as
5187 to conflict with fewer other key commands on the system; this
5188 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5190 Removed a pointlessly-chatty keylistener for unshifted keys
5191 (shifted keys are still reported).
5193 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5195 * libspi/remoteobject.h:
5196 * libspi/remoteobject.c:
5197 Added definitions for special AtkObject subtype, required for
5198 support of remote components (specifically, used by BonoboControl
5199 accessibility implementation).
5201 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5203 * cspi/spi.h: synched relation types with ATK
5205 * cspi/spi_accessible.c: Added implementations of
5206 AcccessibleRelation_* methods
5208 * idl/Accessibility_Relation.idl: added getRelationTypeName
5209 method. Synched known relation types with ATK. Allowed for
5210 relation type extension with the RELATION_EXTENDED type.
5212 * libspi/relation.c: Provided implementations for
5213 AccessibleRelation methods.
5215 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5217 API tweaks for today's API 'freeze'.
5220 Added placeholder functions to allow future compatible expansion
5221 of the IDL interfaces.
5223 * idl/Accessibility_Registry.idl:
5224 Changed generateKeyEvent to generateKeyboardEvent. Changed
5225 signature of this method to accept an optional keystring in
5226 parameter (for complex text input synthesis) and changed use of
5227 simple 'boolean' parameter in registerKeystrokeListener to a
5228 struct, EventListenerMode.
5230 * cspi/spi_accessible.c:
5232 * cspi/spi_streamablecontent.c:
5233 Added references to AccessibleStreamableContent interface, and
5234 definition and implementation of AccessibleStreamableContent
5237 * cspi/spi_registry.c:
5239 Changed generateKeyEvent API to generateKeyboardEvent,
5240 taking a new (optional) keystring parameter to support complex
5245 Renamed directory (to better reflect its actual purpose, bridging
5246 from at-spi to ATK). The .so module is also now named
5249 * idl/Accessibility_Hypertext.idl:
5250 * libspi/accessible.c:
5251 * libspi/hypertext.h:
5252 * libspi/hypertext.c:
5253 Changed Accessibility_Hypertext to *not* derive from
5256 * cspi/spi_registry.c:
5257 Added list of legal event type names for 'window' events, which
5258 completes the registry event API.
5260 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5262 * at-bridge/bridge.c: Added registration for separate
5263 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5264 signals. If either of the first two parameters to the generic
5265 bridge signal handler are ints, they are passed on as event
5266 details. This allows an AT to determine what text was inserted.
5268 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5270 * registryd/deviceeventcontroller.c:
5271 Fixed regressions in generateKeyEvent caused by the removal of
5272 gdk_init from registryd; we now use pure X calls to connect to the
5273 display, which makes sense because deviceeventcontroller already
5274 uses a fair bit of X API (should eventually be migrated to a
5275 'portability layer').
5277 * registryd/desktop.c:
5278 Fixed minor regression in spi_desktop_init, changed the way the
5279 desktop name is being set to work with new spi_base API
5280 (gobject-based, rather than AtkObject-based).
5282 * registryd/Makefile.am:
5283 Minor revision of makefile to use XTST_LIBS variable rather than
5284 hard-wiring the Xtst LD_ADD element.
5286 * test/keysynth-demo.c:
5287 Tweaked an output message; added initialization of the
5288 'keystrings' member of the "switch listener" key_set.
5290 * libspi/relation.c:
5291 Squashed compile-time warning.
5293 * libspi/accessible.c:
5294 Cosmetic and formatting fixes, renamed a static method.
5296 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5298 * libspi/accessible.c
5300 * libspi/application.c
5303 * libspi/component.c
5304 * libspi/editabletext.c
5305 * libspi/hyperlink.c
5306 * libspi/hypertext.c
5308 * libspi/selection.c
5312 * registryd/desktop.c:
5313 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5315 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5317 * idl/Accessibility_Registry.idl:
5318 Added boolean member 'is_text' to DeviceEvent. This is for the
5319 use of key events, and helps prevent ambiguity between composed
5320 key strings and keysym names, since both may potentially be
5321 returned in the 'event_string' member.
5323 * at-bridge/bridge.c:
5324 * registryd/deviceeventcontroller.c:
5325 Use the 'is_text' member when notifying device event listeners.
5326 Knon issue: composed characters are not dealt with correctly by
5327 the global key listener implementation yet.
5329 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5331 * at-bridge/bridge.c:
5332 Namespaced local static methods to spi_atk_bridge_* where
5333 previously named bridge_*, and spi_* elsewhere.
5335 * at-bridge/bridge.c:
5336 * cspi/bonobo/cspi-bonobo-listener.c:
5337 Added demarshalling/conversion for string member of
5338 Accessibility_DeviceEvent to AccessibleKeystroke.
5340 * registryd/deviceeventcontroller.c:
5341 Added code to fill the Accessibility_DeviceEvent key string value
5342 member for global key events (i.e. from XGrabKey), to match
5343 behavior of Accessibility_DeviceEvent from the toolkit key events
5344 from the bridge. Fixed timestamp in global key event notifications.
5347 Added printout of key event's string value to
5348 report_ordinary_key_event, for demo/debugging purposes.
5350 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5352 * idl/Accessibility_Registry.idl:
5353 Removed Accessibility_KeyStroke structure in favor of generic
5354 Accessibility_DeviceEvent structure.
5355 Changed Accessibility_ControllerEventMask from a struct to an
5358 * at-bridge/bridge.c:
5359 Changed APIs to use DeviceEvent structure as above, and removed
5360 bogus casting between these event structures.
5362 * cspi/spi-listener.h:
5363 Added keystring member of AccessibleKeystroke structure, to enable
5364 matching on event "names" rather than only hardware codes and
5368 Added keystrings member of AccessibleKeySet struct, to allow
5369 matching on event names (as above).
5370 Added declarations for SPI_createAccessibleKeySet and
5371 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5372 event modmasks directly as unsigned ints rather than structs with
5373 refcounts, in the DeviceEventController methods.
5375 * cspi/spi_registry.c:
5376 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5378 * cspi/spi-roletypes.h:
5379 Added documentation of newly added SPI Roles.
5381 * cspi/bonobo/cspi-bonobo-listener.c:
5382 Changes in support of API changes above.
5384 * libspi/accessible.c:
5385 Converted APIs to use DeviceEvent structure (see IDL changes
5388 * registryd/deviceeventcontroller.c:
5389 Added DEControllerGrabMask structure to track keygrabs not only by
5390 modmask but by keyset as well; this allows us to do "global"
5391 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5392 grabbing on AnyKey and then filtering after-the-fact.
5393 Bugfixes for event filtration mean that we don't get false matches
5394 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5396 * registryd/deviceeventcontroller.c:
5397 Namespaced a number of static methods to use spi_ prefix. Major
5398 revision to internals of global (i.e. X) key grabs.
5400 * registryd/deviceeventcontroller.h:
5401 Removed keymask_list and added keygrabs_list to
5402 SpiDeviceEventController struct.
5405 Added use of SPI_createAccessibleKeySet API when creating a
5406 listener for only one key. Attach a listener to "shift spacebar
5407 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5408 X key event names to SPI key event names, so that listeners are
5409 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5411 * test/keysynth-demo.c:
5412 Changed (incorrect) use of X key event names (KeyPressed,
5413 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5416 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5418 * libspi/accessible.c:
5419 Convert all AtkRole enumerations to Accessibility_Role enums when
5420 getting a role from an AtkObject.
5422 * cspi/spi_accessible.c:
5423 Complete the conversion of Accessibility_Role enums at runtime to
5424 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5425 role enums correctly match those given in spi-roletypes.h.
5426 Re-synchronize the local names list for AccessibleRole_getName ().
5427 AccessibleRole_getName is now deprecated, since it duplicates the
5428 more reliable Accessible_getRoleName.
5429 Added some role types from Accessibility_Role.idl.
5431 * idl/Accessibility_Role.idl:
5432 Added some role types used by AtkRole.
5434 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5437 * cspi/spi_registry.c:
5439 * cspi/cspi-bonobo-listener.c:
5440 Namespaced all methods that did not begin with an "SPI_" or
5441 "Accessible" prefix to "SPI_".
5444 Homogenized internal function namespace to "cspi_" for statics.
5447 Patched tests to use the new CSPI API.
5449 * docs/reference/cspi/at-spi-cspi-sections.txt:
5450 Updated docs to reflect namespace changes, and added a number of
5451 methods to the documentation.
5453 * registryd/registry.c:
5454 Changed use of strings and string hashes in listener event
5455 matching and parse_event_string to use GQuark, which is guaranteed
5458 * registryd/registry.h:
5459 Squashed annoying warning.
5461 * idl/Accessibility_Role.idl:
5462 Extended range of available Accessibility_Role values.
5464 * cspi/spi_accessible.c:
5465 Re-ordered role names.
5467 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5469 * idl/Accessibility_Value.idl:
5470 Revert use of union back to CORBA_double, since the double type is
5471 more efficient and can contain the other types without loss of
5474 * idl/Accessibility_Accessible.idl:
5475 Added method Accessibility:Accessible:getRoleName, to complement
5476 Accessibility:Accessible:getRole.
5478 * cspi/spi_accessible.c:
5480 Added C binding for above, Accessible_getRoleName (), and changed
5481 signature of Accessible_getRole () to return an AccessibleRole.
5483 * cspi/spi-roletypes.h:
5484 Changed AccessibleRole_getName to return a char * instead of a
5485 const char *. This method is now at least temporarily deprecated
5486 in favor of asking Accessibles for their RoleNames directly.
5489 Revert to match Accessibility_Value.idl;
5493 Change signature of AccessibleValue methods to use double rather
5497 * cspi/spi_accessible.c:
5498 Changed Accessible_getRole to return an AccessibleRole enum rather
5499 than a UTF-8 string. The UTF-8 string can still be obtained via
5500 AccessibleRole_getName ().
5502 * test/test-simple.c:
5503 Add test_action. Small fixup to match API change to Accessible_getRole.
5506 Bugfix for get_action_from_servant ().
5508 2001-12-11 Michael Meeks <michael@ximian.com>
5510 * libspi/libspi.h: remove registry.h and
5511 desktop.h, deviceeventcontroller.h
5513 * libspi/Makefile.am: remove registry.[ch],
5514 desktop.[ch], deviceeventcontroller.[ch]
5516 * registryd/Makefile.am: add registry.[ch],
5517 desktop.[ch], rename registryd.c to registry-main.c.
5518 add deviceeventcontroller.[ch]
5520 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5523 Replace setenv() call with putenv ().
5525 * libspi/component.c:
5526 Bugfix in AccessibleComponent_getExtents (),
5529 2001-12-11 Michael Meeks <michael@ximian.com>
5531 * libspi/image.c (impl_getImageExtents): impl.
5532 (spi_image_class_init): upd.
5535 (AccessibleImage_getImageDescription): fix daft bug
5538 * test/test-simple.c (global_listener_cb): update
5539 to only quit if not --poke
5540 (main): catch --poke.
5541 (validate_accessible): upd. dumping, call test_image
5544 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5547 * idl/Accessibility.idl: update all IDL includes.
5549 * idl/*.idl - rename to namespace - this sucks, blame
5550 mjs' bad decision for oafd.
5552 * test/test-simple.c (create_test_window): add more tests.
5553 (create_tree): split this out.
5554 (validate_accessible): bugfix.
5556 2001-12-11 Michael Meeks <michael@ximian.com>
5558 * cspi/bonobo/cspi-bonobo-listener.c:
5559 (cspi_kestroke_listener_unref),
5560 (cspi_event_listener_unref): impl. undoing previous
5561 homenous environment - for Bill.
5563 * cspi/spi_table.c (long_seq_to_array): use
5566 * cspi/spi_main.c: split out all bonoboish bits into
5569 * cspi/spi-impl.h: upd. typedefs.
5571 * cspi/spi_registry.c: update to lowlevel API,
5572 return booleans to indicate success in some places.
5574 * cspi/spi_event.c: update to lowlevel API.
5576 * cspi/bonobo/Makefile.am: add.
5578 * cspi/bonobo/cspi-lowlevel.h: add
5580 * cspi/bonobo/cspi-bonobo.c: add
5582 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5584 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5585 (SUBDIRS): add bonobo, link in the libs.
5587 * cspi/spi-util.c: kill this file.
5589 * TODO: merge in my bits.
5591 2001-12-11 Michael Meeks <michael@ximian.com>
5593 * test/test-simple.c (test_value, test_table, main):
5594 remove unused variables causing warnings.
5596 * configure.in: cleanup checks - require gail.
5598 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5601 Changed Value interface to use SValue (scalars) rather than
5602 assuming all values are floats. This allows floats, doubles,
5603 longs, shorts, and unsigned values to be manipulated.
5604 Introduced Accessibility:SValue union.
5607 Updated to use new API above, and to work correctly with GValues
5608 of different types in AtkValue.
5611 Updated to use new API above. cspi's API is as yet unchanged.
5614 Updated the Value revision action item.
5616 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5618 * test/test-simple.c:
5619 Added test_table (GtkTreeView widget in test window to follow).
5620 Un-commented test_value, added GtkRange widget.
5621 Added GtkTreeView widget with GtkListStore. It passes regression
5622 test but leaks one SPI object for some reason.
5625 Fixed bug in impl__set_currentValue.
5627 2001-12-10 Michael Meeks <michael@ximian.com>
5629 * cspi/spi_text.c: audit for exception handling,
5630 tolerating NULL object references safely etc.
5632 * cspi/spi_value.c: ditto.
5634 * cspi/spi_table.c (AccessibleTable_getSummary),
5635 (AccessibleTable_getAccessibleAt),
5636 (AccessibleTable_getRowHeader),
5637 (AccessibleTable_getColumnHeader),
5638 (AccessibleTable_getCaption): fix bugs hidden by
5640 (long_seq_to_array): impl.
5641 (AccessibleTable_getSelectedRows),
5642 (AccessibleTable_getSelectedColumns): use it.
5644 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5647 Added a TODO list (rough and short for now).
5649 * cspi/spi_hyperlink.c:
5650 * cspi/spi_hypertext.c:
5651 Fixed macro name typos, and remove use of obsolete macro in
5652 AccessibleHyperlink_getLink.
5654 * cspi/spi_action.c:
5655 * cspi/spi_accessible.c:
5656 * cspi/spi_application.c:
5657 * cspi/spi_component.c:
5658 * cspi/spi_selection.c:
5661 Documentation fixes (removed return values from ref/unref methods).
5663 2001-12-10 Michael Meeks <michael@ximian.com>
5665 * cspi/spi_action.c: audit for exception handling,
5666 tolerating NULL object references safely etc.
5668 * cspi/spi_accessible.c: ditto.
5670 * cspi/spi_component.c: ditto.
5672 * cspi/spi_editabletext.c: ditto.
5674 * cspi/spi_hyperlink.c: ditto.
5676 * cspi/spi_hypertext.c: ditto.
5678 * cspi/spi_image.c: ditto.
5680 * cspi/spi_selection.c: ditto.
5682 2001-12-10 Michael Meeks <michael@ximian.com>
5684 * configure.in: use cspi/libspi.pc.in instead.
5686 * Makefile.am (pkgconfig_DATA): upd. to match.
5688 * test/simple-at.c (report_focus_event): kill hacks around
5689 bad return values, use putenv not setenv
5691 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5692 fire ChildGone - I killed it.
5694 * libspi/component.c
5695 (impl_accessibility_component_get_extents): remove
5698 * idl/Accessible.idl: kill ChildGone exception.
5700 * cspi/*.[ch]: kill int return from ref / unref.
5702 * cspi/spi_main.c (cspi_object_add_check): fold into
5703 (cspi_object_add): here.
5705 * cspi/spi_component.c (AccessibleComponent_getExtents):
5706 handle exceptions elegantly.
5708 * cspi/spi-private.h (cspi_check_ev_return),
5709 (cspi_return_if_fail): impl.
5711 * cspi/spi_accessible.c: use extensively.
5712 (AccessibleStateSet_equals): add direct compare check.
5714 * cspi/spi_selection.c: tolerate NULL objs, and check
5715 exceptions before return.
5717 * cspi/spi-util.c (cspi_warn_ev): rename to
5718 (cspi_check_ev): this & don't pass ev in; no point.
5720 2001-12-10 Michael Meeks <michael@ximian.com>
5722 * test/test-simple.c: use putenv not setenv
5723 (get_environment_vars): more chatty if you're not using
5726 * test/simple-at.c: do the setenv so more people see the
5729 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5731 * libspi/registry.c:
5732 Changed check of CORBA_environment on notification to be a warning
5733 instead of an error for the moment, since we can recover from this
5734 error when caused by a queued notification from a dead app.
5737 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5738 used by all current implementors of AtkValue), and coerce to
5739 CORBA_float. (Proper general case fix may require change to Value.idl).
5741 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5745 * cspi/spi_accessible.c:
5746 Documentation fixes: added user_data params to documentation for
5747 listeners and callbacks.
5749 * cspi/spi_accessible.c:
5750 Changed AccessibleStateSet_compare to return a
5751 StateSet rather than return the difference set into a third parameter.
5754 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5757 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5758 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5762 Remove subdirectory po from SUBDIRS for now.
5764 * at-bridge/bridge.c:
5765 Beefed up a couple of debug printouts.
5766 One-line fix for signal notification name formatting.
5768 * libspi/accessible.c:
5769 Added assertion to spi_accessible_new ().
5771 * libspi/application.c:
5772 Put #ifdef qualifiers around a printf.
5775 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5777 * registryd/Makefile.am:
5779 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5780 INTLTOOL_SERVER_RULE macro.
5783 Added an event listener for several ATK signals, for
5784 testing and debugging. Removed a few g_warnings.
5785 Added test output if focussed item implements the Value interface.
5787 * test/test-simple.c:
5788 Added test_value () function (known not to pass at the moment, so
5789 not actually called yet.
5791 2001-12-08 Michael Meeks <michael@ximian.com>
5793 * at-bridge/bridge.c (bridge_focus_tracker),
5794 (emit_eventv): fix the same ref. leak.
5795 (register_atk_event_listeners): don't leak.
5797 * cspi/spi-listener-impl.c (cspi_event): more
5798 protection from client code.
5800 * test/test-simple.c (test_desktop): unref the app.
5802 * test/Makefile.am: upd. TESTS.
5804 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5806 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5808 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5810 * cspi/spi_registry.c: constify in strings.
5811 (deregisterGlobalEventListenerAll): don't release the ref.
5813 * cspi/spi.h: start removing redundant / conflicting
5814 gtkdoc comments, making the API readable at a glance :-)
5816 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5818 * test/keysynth-demo.c (keysynth_exit, main): upd.
5820 * test/simple-at.c (main, simple_at_exit): upd.
5822 * test/test-simple.c (unutterable_horror): kill.
5823 (utterable_normal_derefs): kill.
5824 (main): upd & do a setenv before gtk_init, so that we
5825 can use memprof - and to save the pain of remembering
5826 this, if we're running under memprof - don't exit.
5828 * cspi/spi_main.c (SPI_exit): return exit status
5830 (SPI_event_quit): impl.
5831 (SPI_event_main): simplify.
5832 (cspi_is_gnome_app): kill.
5833 (SPI_init): kill isGNOMEapp arg.
5835 * at-bridge/bridge.c (register_atk_event_listeners):
5836 re-instate the unref.
5837 (bridge_exit_func): don't re-activate the registry,
5838 protect vs. theoretical re-entry, use the
5839 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5840 assert a clean shutdown - for regression tests.
5842 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5844 * configure.in: Comment out dummy i18n support for now,
5845 otherwise it fails to build.
5846 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5847 EXTRA_DIST. They are missing in tarball.
5849 2001-12-07 Michael Meeks <michael@ximian.com>
5851 * util/magnifier.c: kill bonobo activation reg. race.
5853 * libspi/component.c
5854 (impl_accessibility_component_get_extents): make it match
5857 * libspi/registry.c (_registry_notify_listeners):
5858 re-remove X headers & reconcile conflicts.
5859 (spi_listener_struct_free): bad conflict resolve.
5860 (impl_accessibility_registry_register_application):
5861 more bad merging fixed.
5862 (impl_accessibility_registry_deregister_application): ditto.
5863 (spi_registry_new): ditto.
5864 (spi_registry_init): don't have an applications field.
5866 [ merge fixups2 branch to here ]
5867 2001-12-07 Michael Meeks <michael@ximian.com>
5869 * test/simple-at.c (report_focus_event),
5870 (report_focussed_accessible): remove g_warning debug.
5872 2001-12-07 Michael Meeks <michael@ximian.com>
5874 * test/test-simple.c (validate_tree): comment out some checks.
5875 (test_desktop): app now not registered idly - horay.
5877 2001-12-07 Michael Meeks <michael@ximian.com>
5879 * cspi/spi_registry.c
5880 (registerAccessibleKeystrokeListener): clean, stop it leaking
5881 great swathes of memory, and device event controller references.
5882 ensure we always pass valid sequences.
5883 (deregisterAccessibleKeystrokeListener): ditto.
5884 (generateKeyEvent): upd.
5886 * at-bridge/bridge.c (bridge_key_listener): handle
5887 registry dead exception gracefully.
5888 (bridge_focus_tracker, emit_eventv): free ev.
5890 * test/simple-at.c (report_focus_event): fix polarity.
5892 * libspi/application.c (notify_listeners): kill the ev
5893 argument, and make sure we init the ev we use.
5894 (spi_application_object_event_listener): split out a chunk
5895 (get_atk_object_ref): here & fixup.
5896 (reverse_lookup_name_for_toolkit_event): make const.
5897 (spi_application_toolkit_event_listener): fixup, kill leaks
5900 * at-bridge/bridge.c (register_atk_event_listeners):
5901 don't unref the noop object - causes grief.
5903 * libspi/registry.c: remove the X headers.
5904 turn off the debug churn.
5906 * libspi/accessible.c (spi_accessible_new_return): only
5907 release the ref if we are supposed to [doh]
5909 * test/simple-at.c (report_button_press, report_focus_event):
5910 guard vs. unexpected exit.
5912 * at-bridge/bridge.c (gtk_module_init): prune printf.
5913 (bridge_exit_func): fix app unref.
5915 * libspi/Makefile.am: don't install registry or desktop.h
5917 * libspi/*.h: update includes.
5919 * libspi/application.h: don't include ourself, or
5920 other redundant headers.
5922 2001-12-06 Michael Meeks <michael@ximian.com>
5924 * libspi/accessible.c
5925 (get_accessible_from_servant): impl.
5926 Upd. all CORBA impl.s to use it killing cut and paste.
5928 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5930 (SPI_init): register atexit cleanup handler here.
5932 2001-12-06 Michael Meeks <michael@ximian.com>
5934 * at-bridge/bridge.c (gtk_module_init): g_error on
5935 activation exception
5937 2001-12-06 Michael Meeks <michael@ximian.com>
5939 * at-bridge/bridge.c (gtk_module_init): some sort of
5940 confusing merge clash - reverted.
5941 (bridge_idle_init): ditto.
5943 * test/test-simple.c (main, utterable_normal_derefs):
5944 merge from Bill - somehow not committed.
5946 2001-12-06 Michael Meeks <michael@ximian.com>
5948 * libspi/value.c (spi_value_class_init): upd.
5949 (spi_value_finalize): kill.
5951 * libspi/table.c (spi_table_finalize): kill.
5952 (spi_table_interface_new): upd.
5953 (spi_table_class_init): upd.
5954 (get_table_from_servant): impl.
5955 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5957 * libspi/selection.c (spi_selection_finalize): kill.
5958 (spi_selection_interface_new): upd.
5959 (spi_selection_class_init): upd.
5960 (get_selection_from_servant): impl.
5961 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5963 * libspi/relation.c (spi_relation_finalize): kill.
5964 (spi_relation_class_init, spi_relation_new): upd
5966 * libspi/image.c (spi_image_finalize): kill.
5967 (spi_image_class_init): upd.
5968 (spi_image_interface_new): upd.
5969 (get_image_from_servant): impl.
5970 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5972 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5973 (spi_hyperlink_finalize): kill.
5974 (spi_hyperlink_new): upd.
5975 (get_hyperlink_from_servant): impl.
5976 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5978 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5979 (spi_hypertext_finalize): kill.
5980 (spi_hypertext_class_init): upd.
5981 (get_hypertext_from_servant): impl.
5982 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5984 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5985 (spi_editable_text_interface_new): upd.
5986 (get_editable_text_from_servant): impl.
5987 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5989 * libspi/text.c (get_text_from_servant): impl.
5990 All impls - update to use it killing more cut and paste,
5991 also fix bad string returns on duff args ( a somewhat
5992 impossible case to handle - but hey ).
5993 (spi_text_construct): impl.
5994 (spi_text_interface_new): upd.
5995 (spi_text_object_finalize): kill.
5997 * libspi/component.c
5998 (accessibility_component_object_finalize): kill.
5999 (spi_component_class_init): upd.
6000 (get_component_from_servant): impl. helper to kill cut & paste.
6001 (impl_accessibility_component_contains):
6002 (impl_accessibility_component_get_accessible_at_point):
6003 (impl_accessibility_component_get_position):
6004 (impl_accessibility_component_get_extents):
6005 (impl_accessibility_component_get_mdi_z_order):
6006 (impl_accessibility_component_get_layer):
6007 (spi_component_interface_new): upd.
6009 * libspi/action.c (spi_action_finalize): kill.
6010 (spi_action_class_init): upd. inherit from SpiObject.
6011 (spi_action_interface_new): upd.
6012 (get_action_from_servant): impl. helper to reduce cut & paste.
6013 (impl_getKeyBinding, impl_getName, impl_doAction),
6014 (impl_getDescription): Use it everywhere.
6016 * cspi/spi_main.c (get_live_refs): a pointer hash.
6017 (spi_object_hash, spi_object_equal): comment out.
6018 There are issues with CORBA object hashing that need
6021 * libspi/application.c (spi_application_init),
6022 (spi_application_new): upd.
6024 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6025 (spi_accessible_class_init): upd.
6026 s/accessible/object/ in epv methods.
6028 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6030 * at-bridge/bridge.c:
6031 Reorder the bridge initialization into the bridge gtk_module_init,
6032 an immediate call to bridge_register_app, and an idle_add for
6033 register_atk_event_listeners (the only code that *must* wait until
6034 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6035 the activation, creates the application's Accessible object, and
6036 queues the bridge_idle_init function. Restored call to
6037 Accessibility_Registry_deregisterApplication().
6038 Prior to making this call we obtain a new reference to the
6039 registry, which is a temporary hack that helps us handle apps that
6040 shut down the bonobo mainloop before we get there.
6042 * libspi/registry.c:
6043 Fix string leakage in debug block, and don't segv if a an app
6044 dies before its event notifications have been propagated.
6047 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6048 as stopgap measure until we get proper exception handling when
6049 objects die during or before interrogation.
6053 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6054 Also changed default value of is_gnome_app to TRUE.
6057 * test/keysynth-demo.c:
6058 Changed use of SPI_init and SPI_event_main to reflect API change above.
6061 Made report_focus_event check the warning value from getName
6062 before reporting on focussed accessible; simplifies handling of
6063 notifications from dead objects.
6065 * test/test-simple.c: (Changes not in this patch since source is
6068 2001-12-05 Michael Meeks <michael@ximian.com>
6070 * registryd/registryd.c (main): protect against
6071 bonobo-activation startup race condition.
6073 * cspi/spi_main.c (cspi_object_add_check): cope
6074 with the exception elegantly.
6076 * idl/Accessible.idl: decl. ChildGone
6078 * libspi/desktop.c (spi_desktop_dispose): impl.
6079 (spi_desktop_class_init): upd.
6080 (spi_desktop_add_application),
6081 (spi_desktop_remove_application),
6082 (abnormal_application_termination): impl.
6083 (impl_desktop_get_child_at_index): re-impl.
6086 (impl_accessibility_registry_deregister_application),
6087 (impl_accessibility_registry_register_application):
6088 kill excessive debug clutter.
6090 * test/test-simple.c (test_misc): test some NULL
6091 tolerance. (main): upd.
6093 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6094 implements no interfaces - so let's not crash.
6096 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6098 * libspi/accessible.c (spi_accessible_new_return): impl.
6099 helper to calm the cut and paste, to cope with
6100 NULL AtkObjects effectively and efficiently, and to kill
6101 the referencing bugs.
6103 * libspi/table.c (impl_getAccessibleAt),
6104 (impl_getRowHeader, impl_getColumnHeader): upd.
6106 * libspi/hyperlink.c (impl_getObject): upd.
6108 * libspi/accessible.c
6109 (impl_accessibility_accessible_get_child_at_index): upd.
6111 * libspi/component.c
6112 (impl_accessibility_component_get_accessible_at_point): upd.
6114 * test/test-simple.c (test_editable_text, test_text): impl.
6117 * cspi/spi_editabletext.c
6118 (AccessibleEditableText_insertText): constify.
6120 * test/test-simple.c (focus_me): make more robust.
6122 * libspi/accessible.c: remove some printfs in methods that
6123 we test and work fine, so we can get a clean tree dump.
6125 * test/test-simple.c (validate_accessible),
6126 (validate_tree): make tree dumping pretty too.
6128 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6129 it builds without debug on.
6131 * test/test-simple.c (validate_accessible): fix the most
6134 * cspi/spi_main.c (spi_object_release): leave the nicely
6135 blanked memory around if in debug mode.
6137 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6139 [committed to fixups2]
6140 2001-12-05 Michael Meeks <michael@ximian.com>
6142 * libspi/editabletext.c
6143 (spi_editable_text_class_init): g_type_class_peek_parent,
6144 not interface peek - so we finalize cleanly.
6146 * libspi/accessible.c (spi_accessible_new): kill debug.
6148 * test/test-simple.c (validate_accessible): fix ref.
6149 leak, print strings before freeing them; sigh, comment a
6150 chunk out due to strangeness.
6151 (validate_tree): unref the child after use.
6153 * cspi/spi_component.c (AccessibleComponent_getLayer):
6154 add missing break statement, switch on zlayer not the
6155 uninitialized retval.
6157 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6158 before (possibly re-entering) remote unref.
6160 * test/simple-at.c (main): unref the desktop.
6162 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6165 * cspi/spi_main.c (cspi_accessible_is_a): here to
6166 isolate bonobo API usage more.
6168 * libspi/registry.c (impl_accessibility_registry_register_application):
6169 prune bogus comment.
6171 2001-12-04 Michael Meeks <michael@ximian.com>
6173 * test/test-simple.c (validate_tree): upd.
6174 IndexInParent check to make it more lucid.
6175 (validate_accessible): dump the tree.
6177 * libspi/accessible.c (de_register_public_ref),
6178 (get_public_refs): impl.
6179 (spi_accessible_new): make more efficient & intuitive.
6180 Now IndexInParent check works.
6182 2001-12-04 Michael Meeks <michael@ximian.com>
6184 * cspi/spi-util.h: remove.
6186 * cspi/spi.h: move SPI_freeString here
6188 * libspi/component.c (impl_accessibility_component_get_layer):
6190 (impl_accessibility_component_get_mdi_z_order): ditto,
6191 return -1 on error - is this ok ?
6193 * test/test-simple.c (test_application): impl.
6195 * cspi/spi_accessible.c (Accessible_getApplication),
6196 (Accessible_isApplication): impl.
6198 * libspi/registry.c (spi_listener_struct_free): release
6199 the CORBA reference too.
6201 * libspi/accessible.c
6202 (impl_accessibility_accessible_get_parent): fix ref leak.
6204 * libspi/registry.c (spi_registry_new): make the registry
6205 immortal - we don't want it to go away ever.
6207 * libspi/application.c
6208 (spi_accessible_application_finalize): impl. cleanup.
6210 * cspi/spi_registry.c
6211 (deregisterGlobalEventListenerAll),
6212 (deregisterGlobalEventListener),
6213 (deregisterAccessibleKeystrokeListener): fix ref leak.
6215 * cspi/spi_main.c (SPI_init): remove redundant ref.
6217 * test/test-simple.c (unutterable_horror): impl. to force a
6222 (impl_accessibility_registry_deregister_application): release
6223 the application when we de-register it.
6225 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6226 until we have the infastructure to get it right.
6228 2001-12-03 Michael Meeks <michael@ximian.com>
6230 * libspi/Makefile.am: only build eventlistener.[ch]
6232 * libspi/accessible.c
6233 (impl_accessibility_accessible_get_child_at_index): don't leak.
6235 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6236 before we hit the idle handler.
6238 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6239 debugging than exit.
6241 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6243 * libspi/listener.c (impl_notify_event): check source
6244 not NIL before unref.
6246 * libspi/registry.c (impl_registry_notify_event): ditto.
6248 * libspi/eventlistener.c
6249 (impl_accessible_event_notify_event): unref the source.
6251 * libspi/accessibleeventlistener.c
6252 (impl_accessible_event_notify_event): unref the source.
6254 * idl/Event.idl: remove 'hash_id' attribute - of no
6257 * libspi/application.c (notify_listeners): upd list
6259 (spi_application_object_event_listener),
6260 (spi_application_toolkit_event_listener): upd to do correct
6264 (_registry_notify_listeners): update.
6265 (parse_event_type): this method also leaks like a sieve.
6266 (impl_accessibility_registry_deregister_global_event_listener):
6267 fix ETYPE_WINDOW case.
6269 * libspi/application.c
6270 (impl_accessibility_application_register_object_event_listener):
6273 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6275 * libspi/hypertext.c (impl_getLink): ditto.
6277 * cspi/spi_main.c (cspi_object_add): remove
6278 bogus CORBA_Object_duplicate.
6280 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6283 * cspi/spi_accessible.c
6284 (Accessible_getRelationSet): fix leak / referencing issue.
6286 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6287 (cspi_object_add, cspi_object_unref): upd.
6288 (spi_object_release, get_live_refs): impl.
6289 (cspi_cleanup): simplify.
6291 * *.[ch]: s/boolean/SpiBoolean/
6293 * cspi/spi_accessible.c (role_names): actualy order so it
6294 corresponds with the enum !
6296 * test/test-simple.c (test_roles): check some role strings
6297 vs. enums to detect offset errors.
6299 2001-12-01 Michael Meeks <michael@ximian.com>
6301 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6303 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6305 (Accessible_getChildAtIndex): use cspi_add_check so we
6306 check the ev before using a (possibly) invalid value.
6308 * libspi/accessible.c
6309 (impl_accessibility_accessible_get_parent): don't segv
6312 * at-bridge/bridge.c (gtk_module_init): upd.
6313 (bridge_property_event_listener): don't leak strings
6315 (bridge_state_event_listener),
6316 (bridge_property_event_listener): don't use a static
6317 buffer in case of recursive event emission &
6318 re-enterancy - split out the swathe of cut and paste
6320 (emit_eventv): and fix 2 ref leaks here & comply to the
6322 (bridge_register_app): rename to
6323 (bridge_idle_init): this and kill arg parsing, split
6324 various inits & bonobo-activation registration to module
6325 init time, kill referencing error.
6326 (bridge_exit_func): fix the same leak.
6327 (bridge_focus_tracker): don't leak event structures
6329 (bridge_signal_listener): more leakage and cut & paste
6331 (bridge_key_listener): return the result - FIXME is
6332 this polarity correct ?
6333 (accessibility_keystroke_from_atk_key_event): rename
6334 (accessibility_init_keystroke_from_atk_key_event): and stop
6336 (gtk_module_init): return a value - not that it is checked by
6338 (bridge_key_listener): register my horror at casting between
6339 IDL defined structs.
6340 (bridge_get_registry): kill - not used.
6342 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6344 * test/test-simple.c (test_roles): impl.
6345 (test_desktop, validate_accessible, validate_tree): impl.
6347 * cspi/spi_accessible.c (role_names): fixup bogus
6348 MAX_ROLES setup, make constants const for efficient linkage
6349 (AccessibleRole_getName): conform to coding style, make
6352 2001-11-30 Michael Meeks <michael@ximian.com>
6354 * cspi/spi.h: add missing prototype.
6356 * libspi/registry.c (spi_listener_struct_new): fix sig.
6358 * test/Makefile.am: add test-simple
6360 * test/test-simple.c: add
6362 * test/test.sh: add.
6364 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6366 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6367 do it straight - since otherwise we often get an activation race.
6369 [ work before Bill duplicated a chunk of it ... ]
6370 2001-11-30 Michael Meeks <michael@ximian.com>
6372 * libspi/keystrokelistener.c
6373 (spi_keystroke_listener_class_init): fixup arg
6376 * libspi/eventlistener.c
6377 (spi_event_listener_class_init): ditto.
6379 * tests/test.sh: add.
6381 * cspi/spi-listener-impl.h: update macros.
6383 * cspi/spi-listener-impl.c
6384 (cspi_event_listener_remove_callback): add
6385 correct pre-conditions.
6387 * cspi/spi_main.c (SPI_exit): guard vs. double
6388 exits, exit the mainloop nicely.
6389 (SPI_event_main): make more sense.
6390 (SPI_init): move the atexit evilness here so we
6391 always do it (yuck).
6392 (SPI_event_main): upd.
6394 * test/simple-at.c: update for listener changes.
6396 * registryd/registryd.c (main): prune kruft.
6398 * libspi/libspi.h: upd.
6400 * libspi/eventlistener.[ch]: rename broken macros.
6402 * libspi/accessibleeventlistener.[ch]: remove.
6404 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6406 * test/test-simple.c: Add - automated tests.
6408 * cspi/spi-listener-impl.c (cspi_event),
6409 (cspi_key_event): add user_data to invoke.
6410 (cspi_keystroke_listener_finalize): impl.
6411 (cspi_keystroke_listener_class_init): upd.
6414 (createAccessibleEventListener),
6415 (AccessibleEventListener_addCallback),
6416 (createAccessibleKeystrokeListener),
6417 (AccessibleKeystrokeListener_addCallback): upd.
6419 * libspi/deviceeventcontroller.c
6420 (spi_device_event_controller_check_key_event): add public proto.
6423 (impl_accessibility_registry_deregister_global_event_listener):
6424 always init listeners.
6425 (_registry_notify_listeners): yes it is.
6427 * cspi/spi-listener-impl.c (cspi_key_event):
6429 (cspi_event_listener_finalize): impl.
6430 (cspi_event_listener_class_init): hook up.
6431 (event_handler_new, event_handler_free),
6432 (event_list_remove_by_callback): impl.
6433 (cspi_event_listener_remove_callback),
6434 (cspi_keystroke_listener_remove_callback),
6435 (cspi_keystroke_listener_add_callback),
6436 (cspi_event_listener_add_callback): upd.
6438 * libspi/keystrokelistener.c
6439 (keystroke_listener_object_finalize): kill
6440 (spi_keystroke_listener_class_init): upd.
6441 (spi_keystroke_listener_add_callback),
6442 (spi_keystroke_listener_remove_callback): kill,
6444 (impl_key_event): prune drasticaly.
6446 * libspi/eventlistener.c
6447 (spi_event_listener_add_callback),
6448 (spi_event_listener_remove_callback): kill, use
6450 (impl_accessible_event_notify_event): upd.
6451 (spi_event_listener_object_finalize): remove.
6453 * libspi/Makefile.am: use eventlistener.[ch]
6455 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6457 * libspi/registry.c (_registry_notify_listeners):
6458 Changed listener loop iteration to use preferred convention.
6459 Got rid of string memory leaks caused be calling g_strconcat
6460 inside function calls.
6462 * libspi/registry.c (parse_event_type):
6463 Stopped g_strconcat memory leaks, free the g_strsplit return,
6464 g_strdup the split pieces when used, etc.
6466 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6469 Change method 'compare' to return a 'difference set' rather than
6470 taking a StateSet as an out parameter (more Java-friendly).
6472 * idl/Accessible.idl:
6473 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6475 * idl/Component.idl:
6477 Changed methods 'getExtents' and 'getImageExtents' in these
6478 interfaces to return a BoundingBox structure.
6479 (getPosition and getSize are redundant and possibly should be
6480 removed, rather than creating a corresponding Point struct.)
6482 * cspi/spi_component.c:
6483 Modify implementation of getExtents to reflect the above IDL
6488 Add (missing) AccessibleImage_getExtents () API.
6490 * docs/reference/cspi/at-spi-cspi-sections.txt:
6491 Added AccessibleImage_getImageExtents () to docs.
6493 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6495 * idl/Component.idl:
6496 Added two methods, getLayer () and getMDIZOrder (), to reflect
6497 the new ATK methods atk_object_get_layer and
6498 atk_object_get_mdi_z_order. (Which arguably should be part of the
6499 AtkComponent API and AtkObject). Also added an enum,
6500 ComponentLayer, for the first method's return value.
6502 * libspi/component.c:
6503 Added implementations for these methods.
6505 * cspi/spi_component.c:
6507 Added cspi binding methods for above,
6508 AccessibleComponent_getLayer() and
6509 AccessibleComponent_getMDIZOrder().
6510 Added cspi enum 'AccessibleComponentLayer'.
6512 * docs/reference/cspi/at-spi-cspi-sections.txt:
6513 Added above methods to docs.
6517 Changed typedef for 'boolean' type (and all references to it) to
6518 SPIBoolean, to avoid keyword clashes with C++.
6521 Changed usages of 'boolean' to SPIBoolean.
6523 * test/keysynth-demo.c:
6524 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6525 app), except where SPIBoolean is required by the callbacks API.
6527 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6529 * cspi/spi_registry.c:
6530 Removed obsolete X event loop for passive keygrabs (which now
6533 * registryd/registryd.c:
6534 Removed unnecessary call to gdk_init() [cruft]. This also allows
6535 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6538 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6540 * docs/reference/cspi:
6541 Included docs for SPI_freeString in generated documentation.
6544 Renamed spi_freeString to SPI_freeString, for consistency. Added
6545 documentation for this function.
6548 Renamed spi_freeString to SPI_freeString, for consistency.
6549 Removed obsolete method declaration string_from_corba_string.
6551 * test/keysynth-demo.c:
6552 Small tweak to comments.
6555 Stopped leaking the strings returned from CSPI.
6557 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6559 Merged Michael's branch (see his ChangeLog entries below).
6561 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6562 bridge is alive, release on exit.
6564 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6565 Fix type check macro.
6568 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6571 Added is_gnome_app static, and method cspi_is_gnome_app(),
6572 so we can call the appropriate shutdown routine at exit in SPI_exit.
6574 * cspi/spi_main.c (cspi_object_ref):
6575 Duplicate the corba object passed in, since we're keeping it around.
6577 * cspi/SPI_exit.c, cspi_cleanup:
6578 Moved the releasing of the live refs to its own function, so we
6579 can put it in g_atexit (). Call the appropriate shutdown API
6580 depending on whethe calling client is a gnome app or not
6581 (bonobo_main_quit or CORBA_ORB_shutdown).
6583 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6584 Unref the listener when this method is called, after
6585 deregistration. Updated the API docs to note this behavior.
6587 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6588 Bugfixes: Ref the bonobo object when returning a parent or child
6589 reference, or an AccessibleRelation. Generally made sure
6590 BonoboObject refcount is incremented whenever we return an
6593 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6594 Fixed typo/bug in signal declaration.
6596 * libspi/accessibleeventlistener.h:
6599 * libspi/application.c (spi_application_new):
6600 Fixed leak in initialization.
6603 Remembered to increment bonobo-object refcount when returning
6604 children (applications) from desktop object.
6605 Added (empty) finalize method.
6607 * libspi/deviceeventcontroller.c:
6608 Hold a ref to listeners inside DEControllerKeyListeners.
6609 Added dec_key_listener_free() method. Use prepend instead of
6610 append in key_listener list. Fixed some refcount madness and
6611 leaks in the listener registration/deregistration - deregistration
6612 now calls dec_key_listener_free() on listeners, and on the
6613 temporarily constructed dec_key_listener() used to perform the search/match.
6615 * libspi/hypertext.c (spi_hypertest_finalize):
6616 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6617 class. Also fixed spi_hypertext_interface_new() and
6618 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6620 * libspi/hypertext.h:
6621 Removed pointless and duplicate AtkObject pointer from
6624 * libspi/keystrokelistener.c:
6625 Fixed incorrect type of keystroke_listener_parent_class,
6626 renamed keystroke_listener_object_finalize to
6627 spi_keystroke_listener_object_finalize.
6628 Fixed typo in signal declaration
6629 (spi_keystroke_listener_class_init).
6631 * libspi/registry.c:
6632 Added funcsions spi_listener_struct_new() and
6633 spi_listener_struct_free() to help with memory management issues.
6634 We also now use these methods instead of gnew + poking stuff into
6635 the struct, and to decrement listener counts/free the listeners
6636 when deregistering them.
6637 Fix more refcount bugs in getDesktop() and
6638 getDeviceEventController().
6641 De-ref the desktop after enumerating the applications. Explicitly
6642 decrement the refcounts on the created listeners on exit (using
6643 _unref for keystroke listeners, and via the
6644 deregisterGlobalEventListenerAll command for other event
6647 2001-11-27 Michael Meeks <michael@ximian.com>
6649 * cspi/spi-listener.h: fixup enum.
6651 2001-11-27 Michael Meeks <michael@ximian.com>
6653 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6654 (cspi_keystroke_listener_new): Use the cspi variants.
6656 2001-11-26 Michael Meeks <michael@ximian.com>
6658 * test/keysynth-demo.c: fix 2 compile warnings, missing
6661 * test/simple-at.c (report_focussed_accessible),
6662 (report_focus_event, report_button_press),
6663 (check_property_change, is_command_key),
6664 (report_ordinary_key_event, report_command_key_event): upd.
6666 * util/mag_client.h: include pre-requisites.
6668 * libspi/accessibleeventlistener.c
6669 (spi_event_listener_object_finalize): free any lingering
6672 * libspi/keystrokelistener.c
6673 (keystroke_listener_object_finalize): ditto.
6675 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6676 callbacks, with cspi types.
6678 * cspi/spi_event.c (createAccessibleEventListener): chain to
6679 (AccessibleEventListener_addCallback): here.
6680 (createAccessibleKeystrokeListener): chain to
6681 (AccessibleKeystrokeListener_addCallback): here.
6683 * libspi/keystrokelistener.c
6684 (spi_keystroke_listener_class_init): add signal.
6685 (impl_key_event): emit the event.
6686 (boolean_handled_accumulator): impl.
6687 (marshal_BOOLEAN__POINTER): add, gack.
6689 * libspi/accessibleeventlistener.c
6690 (spi_event_listener_class_init): add signal.
6691 (impl_accessible_event_notify_event): emit the signal &
6692 make the loop efficient.
6693 (spi_event_listener_add_callback): prepend the callback.
6695 * libspi/accessibleeventlistener.h: add an 'event' signal,
6696 decl type on callback.
6698 * libspi/keystrokelistener.h: ditto.
6700 * cspi/spi-listener.h: make methods typesafe and
6701 make them use the new event typedefs.
6703 * test/simple-at.c (report_focussed_accessible):
6704 include mag_client.h
6705 Use *(void *)text_interface not the other thing.
6707 * configure.in: add gtk to registryd bits - since we use
6710 * util/magnifier.c: include libbonobo.h
6712 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6714 * test/keysynth-demo.c:
6715 Turned this into a simple scanning keyboard, to demonstrate the
6716 use of g_timeout_add () as a means of creating timers for
6717 scanning, and the use of GtkStyle for visually indicating when
6718 virtual keyboard elements are selected.
6720 keysynth-demo now listens to any keyboard keys with zero-valued
6721 keycodes (i.e. 'unused' keys) and interprets them as
6724 Reworked the shiftlatch code so that shift-down state isn't held
6725 for long periods (it's only synthesized immediately prior to
6726 the keysynth event it's modifying). Note that shiftlatch in this
6727 demo is a convenience, not intended to take the place of AccessX
6728 which is the better choice for getting 'sticky' modifier keys.
6730 * libspi/deviceeventcontroller.c:
6731 * at-bridge/bridge.c:
6732 * cspi/spi_registry.c:
6733 Removed some debug print stuff, and put other verbosity in #ifdef
6738 Implemented some more of the magnifier IDL for the simple
6739 magnifier: namely, getZoomRegionParams.
6740 Added mag_x and mag_y members to MagnifierData struct, aid of this
6742 Added GtkWindow::realize signal handler to magnifier, to keep it
6743 from receiving keyboard focus from the WM.
6745 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6747 * cspi/spi-private.h: my guess at what michael forgot
6748 before he ran off to NZ :-)
6750 2001-11-23 Michael Meeks <michael@ximian.com>
6752 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6753 comment out non existant method invoke so we link.
6755 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6756 use bonobo_exception_get_text for more friendly warnings.
6758 * cspi/spi.c (Obj_Add): move into spi_main & rename
6759 spi_object_add; kill spi.c
6761 * cspi/spi_registry.c
6762 (deregisterGlobalEventListener),
6763 (deregisterGlobalEventListenerAll),
6764 (registerGlobalEventListener): fix exception leaks.
6766 * cspi/spi_main.c (spi_exception): impl. helper, so we
6767 don't leak exceptions.
6769 * cspi/spi_selection.c
6770 (AccessibleSelection_deselectSelectedChild): return the
6773 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6774 (spi_registry): ditto.
6775 (SPI_init): guard against double inits.
6777 * cspi/*.c: use spi_ev (), and spi_registry () where
6778 appropriate - a temporary hack until we have something
6779 better. Use spi_object_add
6781 2001-11-22 Michael Meeks <michael@ximian.com>
6783 * cspi/Makefile.am: re organise, install the headers.
6785 * cspi/*.h: add G_BEGIN/END_DECLS
6787 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6790 Added non-preemptive keylistener for key events with no modifiers
6791 and shift-only modifier.
6793 * libspi/keystrokelistener.c:
6794 Removed some verbose diagnostics printout.
6796 * cspi/spi_registry.c:
6797 Fixed a bug that caused all key listeners to be registered as
6800 * libspi/deviceeventcontroller.c:
6801 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6802 for non-preemptive key masks.
6805 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6807 * docs/reference/idl/at-spi-idl-docs.sgml:
6808 * docs/reference/idl/at-spi-idl-sections.txt:
6809 * docs/reference/idl/at-spi-idl-overrides.txt:
6810 Added missing files.
6812 * docs/reference/Makefile.am:
6813 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6814 to scan the IDL files :-(
6819 Added .cvsignore files.
6821 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6823 * libspi/deviceeventcontroller.c:
6824 * libspi/keystrokelistener.c:
6826 * cspi/spi_registry.c:
6827 Added filters for KeySets, KeyEventSeq, and event types to key
6828 event dispatching, so listeners should only receive those events
6829 that they requested :-)
6831 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6836 * docs/reference:Makefile.am:
6837 * docs/reference/cspi:
6838 * docs/reference/cspi:Makefile.am:
6839 * docs/reference/cspi:tmpl:
6840 * docs/reference/cspi:tmpl:*.sgml:
6841 * docs/reference/idl:
6842 * docs/reference/idl:Makefile.am:
6843 * docs/reference/idl:at-spi-idl-sections.txt:
6844 * docs/reference/idl:at-spi-idl-docs.sgml:
6845 * docs/reference/idl:tmpl:
6846 * docs/reference/idl:tmpl:*.sgml:
6848 Restructured docs directory to allow separate 'reference' docs
6849 section, and forked idl and cspi docs. Added the sgml template
6850 files to CVS. Added the first sections/structural sgml for the
6853 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6855 * configure.in, libspi/Makefile.am: find libXtst.
6857 2001-11-21 Michael Meeks <michael@ximian.com>
6859 * test/accessx-gui.c: s/spi_value/value/ - doh.
6861 * libspi/base.[ch]: add.
6863 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6865 * idl/Accessible.idl:
6866 * idl/Application.idl:
6869 Started gtk-doc cleanup on IDL.
6871 * libspi/deviceeventcontroller.c:
6872 Added and connected non-preemptive key notification from the
6873 toolkits (in addition to the pre-emptive support from XServer
6874 which we had before, but which causes 'focus flashing'). Filters
6875 are presently limited to key modifiers and global/non-global,
6876 KeySets are presently ignored, as are KeyEvent masks.
6878 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6879 structs into the persistant structure rather than just storing
6880 pointers to things that might not persist across servant
6883 The XGrabKey call now does async keygrabs, because synchronous
6884 ones were deadlocking with GDK_event code in a very nasty way.
6886 Added boolean to internal method notify_keylisteners, to indicate
6887 whether the event came from the 'toolkit source' or the 'global
6888 (XServer) source' - this is used in the notification process to
6889 determine which listeners to send the event to.
6891 deviceeventcontroller.c is now warning-free.
6893 * libspi/registry.c:
6894 Fixed regression in application de-registration.
6895 Also fixed some really brain-dead weirdness having to do with
6896 event dispatching - event structs are now duplicated before being
6897 re-marshalled in the dispatch to listeners. This also fixes a
6898 Solaris build problem.
6901 2001-11-20 Michael Meeks <michael@ximian.com>
6904 (impl_accessibility_registry_deregister_global_event_listener):
6907 * libspi/deviceeventcontroller.c
6908 (spi_device_event_controller_check_key_event): return
6909 FALSE on no virtual method.
6911 * libspi/*..h: make includes work on a correctly pathed install.
6913 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6915 * libspi/application.h: kill unused ( and whacked out )
6916 gboolean *spi_application_set_id (AtkObject *app, long id);
6918 2001-11-20 Michael Meeks <michael@ximian.com>
6920 * libspi/*.[ch]: further convert to bonobo's type func
6921 macros, remove redundnant casts etc.
6923 * libspi/text.c s/accessibility_text/spi_text/g,
6924 re-order to de-cruft.
6926 * libspi/hypertext.c: re-order to kill a huge slew
6927 of redundant forward decls.
6929 * libspi/relation.c: ditto.
6931 * libspi/image.c: ditto.
6933 * */.cvsignore: update
6935 2001-11-20 Michael Meeks <michael@ximian.com>
6937 * libspi/deviceeventcontroller.c
6938 (_controller_register_with_devices): use g_getenv,
6939 kill stdlib.h include.
6941 * libspi/keystrokelistener.c
6942 (spi_keystroke_listener_get_type): kill
6943 (spi_keystroke_listener_class_init),
6944 (spi_keystroke_listener_init): rename to this.
6946 * libspi/text.c (impl_getAttributes): fix warning / bug.
6948 * libspi/*.[ch]: more headers, includes and over commenting.
6950 2001-11-20 Michael Meeks <michael@ximian.com>
6952 * libspi/*.[ch]: fixup headers, includes and over commenting.
6954 * libspi/image.c (impl__get_imageDescription): const
6955 correctness warning fix. remove redundant casting.
6957 * libspi/table.c (impl_getRowDescription): ditto.
6958 (impl_getColumnDescription): ditto.
6960 * libspi/libspi.h: add.
6962 2001-11-19 Michael Meeks <michael@ximian.com>
6964 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6966 * libspi/component.c (accessibility_component_get_type):
6967 rename to (spi_component_get_type): and macroify.
6968 (accessibility_component_init): rename to
6969 (spi_component_init): this
6970 (accessibility_component_class_init): rename to
6971 (spi_component_class_init): this
6973 * libspi/action.c (spi_action_get_type): kill, use the macro.
6975 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6978 * libspi/application.c (spi_application_object_event_listener),
6979 (impl_accessibility_application_register_object_event_listener):
6980 warning fixes / const understanding updates.
6982 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6985 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6987 * libspi/spi_accessible.c: Added docs and C bindings for
6988 AccessibleStateSet. (No implementations yet). Documentation
6989 coverage for C bindings now 100%. Made docs for event listeners
6994 boolean notifyListenersSync (in DeviceEventListener listener,
6995 in DeviceEvent event);
6997 oneway void notifyListenersAsync (in DeviceEventListener listener,
6998 in DeviceEvent event);
7000 Added DeviceEventListener and DeviceEvent structs (may deprecate
7001 KeyStroke and KeystrokeListener in favor of this generic
7002 event/listener framework for devices).
7004 * libspi/deviceeventcontroller.c:
7006 Changed some key listener code to take masks, etc., and paved the
7007 way for integration of toolkit/non-preemptive key events. Changed
7008 signatures of some internal methods.
7010 * at-bridge/bridge.c:
7011 Fixed regression connecting to interface signals, apparently
7012 caused by GTK+ changes.
7014 Added an internal bridge_state_listener to deal with
7015 property-change:accessible-state signals.
7017 Changed the key_listeners GList to store structs (including masks,
7018 etc.) instead of just CORBA_Objects (required for full
7019 implementation of key listener API).
7021 Connected the bridge to all currently supported Atk signals.
7022 Events now supported:
7023 object:property-change
7024 object:property-change:accessible-name
7025 object:property-change:accessible-state
7026 object:property-change:accessible-description
7027 object:property-change:accessible-parent
7028 object:property-change:accessible-value
7029 object:property-change:accessible-role
7030 object:property-change:accessible-table-caption
7031 object:property-change:accessible-table-column-description
7032 object:property-change:accessible-table-column-header
7033 object:property-change:accessible-table-row-description
7034 object:property-change:accessible-table-row-header
7035 object:property-change:accessible-table-summary
7036 object:children-changed
7037 object:visible-data-changed
7038 object:selection-changed
7039 object:text-selection-changed
7041 object:text-caret-moved
7043 object:row-reordered
7045 object:column-inserted
7046 object:column-reordered
7047 object:column-deleted
7048 object:model-changed
7050 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7052 * libspi/hyperlink.c,h:
7053 Fixed some broken stuff in hyperlink.
7055 * libspi/relation.h:
7056 * libspi/relation.c:
7057 * cspi/spi_accessible.c:
7058 Initial implementations of AccessibleRelation methods, and docs.
7060 * libspi/accessible.c:
7061 Fixed a bug that caused SEGV if an accessible
7062 object's description is NULL, and a client
7063 requests it. An empty string is now returned.
7065 * cspi/spi_editabletext.c:
7066 * cspi/spi_hypertext.c:
7068 * cspi/spi_hyperlink.c:
7072 Doc coverage now 95%.
7074 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7076 One last namespacing revision:
7077 * libspi/accessibleeventlistener.[ch]:
7078 Renamed SpiAccessibleEventListener to SpiEventListener,
7079 (no need for two namespaces ;-)
7081 And lots of documentation fixes:
7083 * docs/at-spi-docs.sgml:
7084 Fixed 'underscore vs. hyphen' bug that was preventing
7085 the gtk-doc API docs from being automatically generated.
7088 * cspi/spi-listener.h
7090 * cspi/spi_accessible.c
7092 * cspi/spi_application.c
7093 * cspi/spi_component.c
7094 * cspi/spi_editabletext.c
7096 * cspi/spi_hypertext.c
7098 * cspi/spi_registry.c
7099 * cspi/spi_selection.c
7103 * docs/at-spi-docs.sgml
7104 * docs/at-spi-sections.txt
7106 Added and fixed up gtk-doc documentation in cspi.
7108 Interfaces now (fully) documented (subject to revision and enhancement):
7110 Event Listener Support
7112 AccessibleApplication
7116 AccessibleEditableText
7123 AccessibleRelationSet
7128 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7130 * at-bridge/bridge.c:
7131 Initial work for toolkit-level key snooper connection by bridge.
7136 New typedefs and fixes to support new namespacing, and cleaner
7137 separation of cspi bindings from libspi bonobo implementation.
7138 Removed inconsistent and extraneous Spi* namespace prefix that
7139 had crept into cspi headers.
7140 Lots of comment fixes that sed had missed.
7142 * cspi/spi-roletypes.h:
7143 * cspi/spi-statetypes.h:
7144 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7145 to AccessibleRoleType.
7147 * libspi/accessibleeventlistener.h:
7148 Fixed minor namespacing weirdness.
7150 * libspi/deviceeventcontroller.c:
7151 Reordered some internal API for device listeners.
7152 Changed the key registry final boolean to 'is_system_global'
7153 rather than 'is_synchronous', which is more descriptive of its
7155 Added spi_device_event_controller_new().
7156 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7158 * libspi/keystrokelistener.[ch]:
7159 Namespaced KeystrokeListener to SpiKeystrokeListener.
7160 Changed uses of keymasks to use SPI_ prefix, and did other
7163 * libspi/keymasks.h:
7164 Namespaced keymask constants with SPI_ prefix.
7166 * libspi/registry.c:
7167 Some warning fixes, and knock-on fixes from namespace changes.
7170 Added rules for accessx-gui test program.
7172 * test/accessx-gui.c:
7173 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7174 utility. It doesn't actually use at-spi, but it's still cool and
7177 * test/keysynth-demo.c:
7181 Fixes so that these test clients work properly with the namespaced
7182 libraries. (Incompletely tested for technical reasons, fixes may follow)
7185 2001-11-13 Michael Meeks <michael@ximian.com>
7187 * libspi/application.c
7188 (impl_accessibility_application_get_version),
7189 (impl_accessibility_application_get_toolkit_name):
7191 (impl_accessibility_application_set_id),
7192 (impl_accessibility_application_get_id): remove
7193 redundant casting code.
7195 * libspi/action.c (impl_getDescription): fix warnings.
7197 * libspi/accessible.c
7198 (impl_accessibility_accessible_get_parent),
7199 (impl_accessibility_accessible_get_child_at_index),
7200 (impl_accessibility_accessible_get_state),
7201 (impl_accessibility_accessible_get_relation_set):
7202 warning fixes & include action.h
7204 2001-11-13 Michael Meeks <michael@ximian.com>
7206 * *.[ch] fix bits I screwed up:
7208 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7209 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7211 2001-11-13 Michael Meeks <michael@ximian.com>
7213 * *.[ch] Namespace libspi into spi_ and Spi.
7215 2001-13-11 Michael Meeks <michael@ximian.com>
7217 * Makefile.am: dist & install at-spi-1.0.pc
7219 * libspi/Makefile.am: install into at-spi-1.0
7221 * idl/Makefile.am (idldir): install into at-spi-1.0
7223 * at-spi-1.0.pc.in: add.
7225 * configure.in: build it.
7227 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7229 * test/keysynth-demo.c:
7230 Use a 'realize' signal-handler to set the WM properties for
7231 the virtual keyboard, rather than making it a "POPUP" type
7232 override-redirect window (thanks to anders carlsson for that
7235 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7238 * test/keysynth-demo.c:
7239 Added new test of key synthesis, which creates a simple
7240 (mouse-operated) onscreen keyboard. It inserts key events into
7241 the currently-focused window, thus it does not grab keyboard focus
7244 * cspi/spi_registry.c:
7245 Added C binding for AT-SPI generateKeyEvent.
7247 * libspi/deviceeventcontroller.c:
7248 Added call to XFilterEvent so that key listener works with XIM (we
7249 hope). Added event_synth_type to generateKeyEvent, so that we can
7250 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7251 synthesize a press/release pair for KeySyms.
7253 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7255 * libspi/Makefile.am:
7256 * registryd/Makefile.am:
7257 (temporary) hack to include libXtst in libspi and registryd.
7258 (Needed for keystroke synthesis, see below).
7261 Improved API for registerKeystrokeListener, in accordance with
7262 discussions with Gnopernicus team and X server research.
7264 * libspi/registry.c:
7265 * libspi/deviceeventcontroller.c:
7266 * libspi/accessible.c:
7267 * libspi/keystrokelistener.c:
7268 Changes and fixes to support keylisteners for potentially
7269 consumed key events (that is, 'passive grabs').
7270 Added implementation for generateKeyEvent() [untested].
7273 Changes to registerKeystrokeListener() API, as above.
7274 Added deregisterGlobalEventListenerAll(), and
7275 deregisterKeystrokeListener(), which are needed for clean exit of
7277 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7278 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7280 * cspi/spi_registry.c:
7281 Added implementations of function prototypes mentioned above.
7283 * registryd/registryd.c:
7284 Added the key listener event source as a g_timeout(), to allow
7285 receipt of key events that are not caught by GDK (since GDK
7286 doesn't support passive keygrabs, this was necessary).
7289 Changed to attach a keylistener to 'Alt' keys, and
7290 respond to the following keycommands: Alt-M (toggle magnifier);
7291 Alt-F (toggle speech); Alt-Q (quit).
7292 Added an exit routine to deregister the listeners, and a key
7293 listener that prints some key info to the console when a key
7294 matches the listener mask (and is thus received by the listener).
7296 * util/idl/Magnifier.idl:
7297 Changes to magnifier API to support multiple zoom regions,
7298 non-uniform scaling in x and y, markDirty, and a host of other
7299 features that would be useful to magnification.
7302 * util/mag_client.c:
7303 * util/mag_client.h:
7304 * util/mag_control.c:
7306 Source code changes to support the above IDL changes.
7309 As above, and also changes to use a (slower) generic conversion
7310 path for colormap conversions, since the fast RGB conversions have been
7311 reported to fail for 16-bit displays.
7313 2001-10-26 Michael Meeks <michael@ximian.com>
7315 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7317 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7319 * at-bridge/Makefile.am: fix LDFLAGS.
7321 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7323 * at-bridge/bridge.c:
7324 Re-worked listeners for toolkit events, now we have signal
7325 and property listeners. Added a private method
7326 register_atk_event_listeners(), which registers with the
7327 various atk and gtk signals we need to monitor in order to emit
7329 Added emission hook for AtkObject:property-change events, to
7330 support the 'property listeners'.
7331 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7334 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7335 which emit warnings and exit, respectively, if CORBA errors occur
7336 during remote calls, and we now use these methods to check most of
7337 our CORBA calls in the C bindings.
7339 * cspi/spi_accessible.c:
7340 Changed AccessibleSelection_refSelectedChild() to
7341 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7342 now increment refcounts.
7344 * cspi/spi_component.c:
7345 Fixed some long pointer casts (dangerous!) to pass pointers to
7346 CORBA_longs of the proper type to the CORBA stubs, and copy the
7347 data into the longs that were passed into the C bindings code.
7349 * at-bridge/bridge.c:
7351 * libspi/accessible.c:
7352 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7353 hyperlinks, AtkHyperlink is an object type.
7355 * libspi/application.c:
7356 Added various conversions to and from "generic" event types and
7357 atk-specific types; this is really part of the 'bridge'
7358 implementation but is valid for all AtkObject-based accessibility
7361 * libspi/editabletext.c:
7362 Fixed nasty bug wherein editable text's finalize method was
7363 unref'ing tha AtkObject reference that the text parent class was
7364 about to unref _again_. There was also a nasty inheritance bug
7365 that meant that the AccessibleEditableText class was corrupt.
7367 * libspi/selection.c:
7368 Provided implementations for some selection API that was broken.
7370 * idl/Application.idl:
7371 Added registerObjectEventListener () method.
7374 Fixed a number of return values that were Bonobo_Unknowns from
7375 bonobo_object_corba_objref(), which I
7376 forgot to dup before returning. Changed instances of
7377 bonobo_object_corba_objref (bonobo_object(o)) to
7378 BONOBO_OBJREF(o), for concision and clarity.
7380 2001-10-13 Louise Miller <louise.miller@sun.com>
7382 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7383 idl/Event.idl, idl/Registry.idl
7384 Changed these files to include Bonobo_Unknown.idl instead
7387 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7389 * libspi/component.c libspi/component.h:
7390 Fixed typo. Added assertions for object checks in
7391 AccessibleComponent code.
7393 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7395 * idl/Accessible.idl:
7396 Added 'isEqual (Accessible *object)'
7397 method for Accessible. (Not Yet Implemented).
7400 Changed signature of registerKeystrokeListener() to
7401 take a KeySet and KeyEventSeq so that specific keys and event
7402 types could be requested for monitoring, and added a flag
7403 is_synchronous so that either synchronous or asynchronous
7404 notification could be requested. (However this is not all
7405 implemented yet). This also meant adding two new typedefs,
7406 KeyEventSeq and KeySet.
7409 Added two new relations, RELATION_TOOLTIP_FOR and
7410 RELATION_LEAFNODE_OF.
7413 Added new state, STATE_HAS_TOOLTIP.
7415 * libspi/text.c, editabletext.c:
7416 Added new assertions to all casts of bonobo-objects from
7417 CORBA servants, to prevent Text API calls on non-text objects.
7418 Changed suspect casts of int-pointer types, so that we
7419 always send a valid CORBA_long pointer to the CORBA APIs that use
7420 in/out long parameters. We then have to copy from the CORBA_long
7421 into the regular long or int for return to the C bindings, or
7422 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7425 * libspi/deviceeventcontroller.c:
7426 Cleaned these sources up.
7428 Changed return type for getCharacterAtOffset to
7429 CORBA_unsigned_long, to allow for 32-bit characters.
7432 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7436 Fixed 'make dist' so that distro compiles...
7437 * libspi/keymasks.h:
7439 * cspi/spi-listener.c:
7440 KeystrokeListenerCB now returns a boolean.
7442 Added KeyEventType struct, and KeyStroke.
7443 Also added createKeystrokeListener(),
7444 KeystrokeListener_addCallback(),
7445 KeystrokeListener_removeCallback(), and added a keymask to
7446 registerKeystrokeListener().
7447 * cspi/spi_accessible.c:
7448 Changed numerous return types for interfaces from
7449 AccessibleComponent to Accessible<InterfaceName>; this was
7450 probably a cut-and-paste error.
7452 Implementations of new KeystrokeListener api (from spi.h,
7455 Changes to key modifier mapping.
7456 Created ControllerEventMask struct.
7457 Made DeviceEventController derive from Bonobo::Unknown.
7459 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7460 * libspi/deviceeventcontroller.c:
7461 Added a number of new internal (private) methods.
7462 * libspi/editabletext.c:
7463 * libspi/editabletext.h:
7464 Fixed a number of bugs related to the fact that
7465 editabletext inherits from text. Fixed the EditableText struct,
7466 the init() call, and use correct casts when calling Text methods
7467 from an EditableText object. Removed (duplicate) atko from the
7468 EditableText structure, we use the one in the parent Text
7469 structure via the casts mentioned above.
7470 * libspi/keystrokelistener.[ch]:
7471 * libspi/registry.c:
7472 Changes in support of keyboard handling (above).
7474 Keyboard handling, though partly functional, is still not
7475 recommended for at-spi client use as there is considerable
7476 work yet to be done.
7479 Changed some places where pointers to various int types
7480 are cast to be pointers to CORBA_long types and vice-versa:
7481 pointer casting is not safe so we pass pointers of the correct
7482 types and then cast the result before putting it into the target
7485 * libspi/text.h: minor typos corrected.
7487 We now speak not only the name of a Text element, but the
7488 first sentence of its content, when it receives focus.
7489 I also changed the text compression to 75% from 50%.
7490 * util/Accessibility_Util.server.in:
7491 Changed the default magnifier type to be a 3x vertical
7492 splitscreen magnifier (was previously a 2x horizontal one).
7494 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7496 * libspi/keystrokelistener.h:
7497 * libspi/keystrokelistener.c:
7498 Initial functional implementations of KeystrokeListener.
7501 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7503 Fixed string handling for NULL strings in libspi.
7504 Added spi_freeString to free strings returned by C bindings.
7506 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7508 * libspi/keystrokelistener.h:
7509 * libspi/keystrokelistener.c:
7510 Began (no-op) implementations of KeystrokeListener
7512 * libspi/deviceeventcontroller.c:
7513 * libspi/deviceeventcontroller.h:
7514 Began creating implementations of DeviceEventController,
7515 to handle keystroke and mouse event listening and
7517 * libspi/accessible.c:
7518 Stubbed-in the implementations for
7519 Accessibility_Accessible_getState and
7520 Accessibility_Accessible_getRelationSet.
7521 * libspi/registry.c:
7522 Improved de-registration process and fixed some bugs,
7523 deregistration now works correctly.
7525 Added initialization of applications list (to NULL).
7527 Reduced speech compression from 0.5 to 0.7, for demo.
7528 Changed call to gdk_window_set_decorations()
7529 to gtk_window_set_decorated().
7530 * at-bridge/bridge.c:
7531 Bridge now deregisters when app exits, via
7532 registration of a cleanup function
7533 with the g_atexit() call.
7534 Required making 'app' static, renamed 'this_app'.
7535 Fixed broken use of bonobo_init, passing argv wrongly.
7537 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7541 Created a new directory for
7542 accessibility-related utilities, primarily for
7543 testing and demo purposes, but with possible
7550 Onscreen magnifier utility that
7551 is implemented as a bonobo service.
7553 * util/mag_client.c:
7554 * util/mag_client.h:
7555 Client-side support (simple C bindings)
7556 for Magnification service
7558 * util/mag_control.c:
7559 Client program example for
7560 Magnification service
7562 * util/Accessibility_Magnifier.server.in:
7563 Bonobo-activation file for the
7564 Magnification service.
7567 * util/idl/Magnifier.idl:
7568 IDL defining the bonobo Magnification
7572 Modifications to use the bonobo-activated magnifier
7573 above, in place of trying to connect to an existing
7574 magnifier that uses socket-listening IPC.
7576 If env variable MAGNIFIER is set, a magnifier service
7577 will be started if one does not exist.
7579 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7581 * at-bridge/bridge.c:
7582 applied patch from Marc to build and run
7583 against new glib and gtk+ (seemed like a change
7584 to bonobo_init signature was made ?)
7586 made festival-server support turned off by default.
7587 Added support for a simple magnifier (off by default)
7588 which will be added to a 'util' directory later.
7589 * at-bridge/Makefile.am:
7590 Changed "application.h" header from a 'source'
7591 to a 'dependency' of libat-bridge.
7593 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7602 Added interface implementation c files to list of
7603 includes so they are included in libcspi.
7606 Changed prototype of AccessibleAction_doAction to return a
7608 Changed prototype of AccessibleTable_getCaption to
7609 return an Accessible.
7610 Changed prototype of AccessibleTable_getSelectedRows
7611 and AccessibleTable_getSelectedColumns to
7612 return a long (returns the number of selected rows
7613 or columns respectively).
7614 Changed name of AccessibleText_refRunAttributes to
7615 AccessibleText_getAttributes.
7616 Changed prototype of AccessibleText_getCharacterExtents to
7617 return a void rather than a boolean.
7618 Added support for a AccessibleCoordType parameter
7619 specifying what type of coordinates are desired.
7620 Added an AccessibleCordType parameter to
7621 AccessibleText_getPointAtOffset.
7623 * cspi/spi_accessible.c:
7624 Added code to return the outstanding interfaces from
7625 Accessible_queryInterface.
7627 * cspi/spi_action.c:
7629 Corrected call to getNActions to call the c binding
7632 * cspi/spi_editabletext.c:
7634 Changed name from setRunAttributes to setAttributes.
7636 * cspi/spi_hyperlink.c:
7638 Changed call to getNAnchors to correctly call the c
7639 binding for an attribute.
7641 * cspi/spi_hypertext.c:
7643 Changed getImageDescription to correctly call the
7644 binding for an attribute.
7646 * cspi/spi_selection.c:
7647 Changed getNSelectedChildren to correctly call the c
7648 binding for the attribute.
7649 Changed refSelectedChild to getSelectedChild.
7653 Changed getCaption to return an Accessible.
7654 Fixed calls which retrieve attributes.
7655 Changed refAt to getAccessibleAt.
7656 Changed getNSelectedRows and getNSelectedColumns to
7660 Changed getCharacterExtents and getPointAtOffset to accept an
7661 AccessibleCoordType.
7663 Changed calls which retrieve attributes.
7664 Changed refRunAttributes to getAttributes.
7669 * idl/Hyperlink.idl:
7670 Changed n_anchors attribute to nAnchors to keep naming
7671 convention consistent.
7674 Made Table inherit from Bonobo::Unknown.
7675 Added nSelectedColumns and nSelectedRows attributes.
7678 Made Value inherit from Bonobo::Unknown.
7680 * libspi/hyperlink.c:
7681 Change for nAnchors attributte name change.
7683 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7691 Added interface implementation c files to list of
7692 includes so they are included in libcspi.
7695 Changed prototype of AccessibleAction_doAction to return a
7697 Changed prototype of AccessibleTable_getCaption to
7698 return an Accessible.
7699 Changed prototype of AccessibleTable_getSelectedRows
7700 and AccessibleTable_getSelectedColumns to
7701 return a long (returns the number of selected rows
7702 or columns respectively).
7703 Changed name of AccessibleText_refRunAttributes to
7704 AccessibleText_getAttributes.
7705 Changed prototype of AccessibleText_getCharacterExtents to
7706 return a void rather than a boolean.
7707 Added support for a AccessibleCoordType parameter
7708 specifying what type of coordinates are desired.
7709 Added an AccessibleCordType parameter to
7710 AccessibleText_getPointAtOffset.
7712 * cspi/spi_accessible.c:
7713 Added code to return the outstanding interfaces from
7714 Accessible_queryInterface.
7716 * cspi/spi_action.c:
7718 Corrected call to getNActions to call the c binding
7721 * cspi/spi_editabletext.c:
7723 Changed name from setRunAttributes to setAttributes.
7725 * cspi/spi_hyperlink.c:
7727 Changed call to getNAnchors to correctly call the c
7728 binding for an attribute.
7730 * cspi/spi_hypertext.c:
7732 Changed getImageDescription to correctly call the
7733 binding for an attribute.
7735 * cspi/spi_selection.c:
7736 Changed getNSelectedChildren to correctly call the c
7737 binding for the attribute.
7738 Changed refSelectedChild to getSelectedChild.
7742 Changed getCaption to return an Accessible.
7743 Fixed calls which retrieve attributes.
7744 Changed refAt to getAccessibleAt.
7745 Changed getNSelectedRows and getNSelectedColumns to
7749 Changed getCharacterExtents and getPointAtOffset to accept an
7750 AccessibleCoordType.
7752 Changed calls which retrieve attributes.
7753 Changed refRunAttributes to getAttributes.
7758 * idl/Hyperlink.idl:
7759 Changed n_anchors attribute to nAnchors to keep naming
7760 convention consistent.
7763 Made Table inherit from Bonobo::Unknown.
7764 Added nSelectedColumns and nSelectedRows attributes.
7767 Made Value inherit from Bonobo::Unknown.
7769 * libspi/hyperlink.c:
7770 Change for nAnchors attributte name change.
7773 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7775 implementations-- made server implementations own AtkObject pointers
7776 rather than their respective AtkInterrface pointers to fix
7777 refcounting. AtkHyperlink is still broken.
7779 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7780 * cspi/spi_accessible.c:
7781 Added method Accessible_Role_getName(),
7782 and requisite string array (role_names).
7783 Added conversion string_from_corba_strin() call
7784 to Accessible_getName and _getDescription.
7785 * libspi/accessible.c:
7786 Added implementation for Accessible_getRole()
7788 Added festival support, used if environment variable
7791 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7793 * at-bridge/bridge.c:
7794 Now allocate Accessibility_Event using
7795 Accessibility_Event__alloc() instead of g_new0().
7796 * libspi/accessibleeventlistener.c:
7797 Initialize AccessibleEventListener->callbacks to NULL.
7798 Fixed accessible__event_listener_init() param, changed to
7799 "AccessibleEventListener *" type.
7800 Changed a bonobo_object_release_unref() call to
7801 Accessibility_Accessible_unref().
7802 * libspi/listener.c:
7803 Changed Bonobo_Unknown_unref to (equivalent)
7804 Accessibility_Accessible_unref.
7805 * libspi/registry.c:
7806 Changed bonobo_object_release_unref to
7807 Accessibility_Accessible_unref.
7809 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7812 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7813 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7814 spi-util.c spi-util.h
7815 Implementations for C bindings to remaining accessibility
7818 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7821 changed return value of Action from void to boolean to
7822 bring in line with ATK.
7825 Changed getText funcions to return "out" start and end offsets.
7826 Changed getAttributes to take and offset and return the start
7827 and end offset of the attribute run.
7828 Changed getOffsetAtPoint and getCharacterExtents to take an
7829 enum describing whether coordinates are window or screen.
7832 libspi/action.c libspi/action.h libspi/editabletext.c
7833 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7834 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7835 libspi/image.h libspi/selection.c libspi/selection.h
7836 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7837 libspi/value.c libspi/value.h
7838 Added server implementations for outstanding ATK interfaces
7839 not yet implemented.
7841 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7844 Added (missing) getName() method.
7845 Made nActions an attribute.
7846 * idl/EditableText.idl:
7847 Changed order of params in setAttributes.
7848 * idl/Hyperlink.idl:
7849 Removed getAnchor, added getURI.
7851 Changed attributes to methods, for efficiency
7852 (so that getting extents can be done in one call)
7853 * idl/Selection.idl:
7854 Changed nSelectedChildren to attribute, and re-indented.
7855 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7857 * idl/Text.idl: reformatted to match our coding style.
7858 (temporarily?) removed getRowColumnAtOffset().
7859 Changed text selection API to support multi-select and
7860 non-contiguous selections, as in ATK.
7861 * idl/Value.idl: changed some methods to attributes.
7863 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7865 * libspi/listener.c(impl_notify_event):
7866 BonoboUnkown_unref the source instead
7867 of bonobo_object_release_unref - the ORB
7868 handles the releasing.
7870 * configure.in: require ORBit-2.3.94 for
7873 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7875 Tagged CVS repository 'EA_1_0'.
7876 * README.EARLY_ACCESS:
7877 Alphabetized acknowledgements list, and
7879 Listed some known dependencies of at-spi.
7881 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7883 * docs/at-spi-docs.sgml:
7884 * docs/at-spi-sections.txt:
7885 * docs/at-spi-overrides.txt: (Added zero-length file)
7886 Documentation improvements - gtk-doc should build
7887 docs for all implemented C bindings now.
7890 * cspi/spi.c: (New file)
7891 * cspi/spi_event.c: (New file)
7892 * cspi/spi_registry.c: (New file)
7893 * cspi/spi_accessible.c: (New file)
7894 * cspi/spi_application.c: (New file)
7895 * cspi/spi_component.c: (New file)
7896 Split spi_main.c into six parts, and included them from
7897 "spi.c". This is a bit of a hack, probably temporary,
7898 but required by gtk-doc, apparently.
7900 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7903 * docs/at-spi-docs.sgml:
7904 * docs/at-spi-sections.txt:
7906 Initial checkins/modifications for gtk-doc generation.
7909 Added (missing) interface query methods to Accessible's C binding.
7911 Added GenericInterface type definition.
7913 Added query for AccessibleComponent interface to focus event handler.
7914 Added printout of bounding box for focussed component.
7915 * libspi/component.c:
7916 Added partial implementation for AccessibleComponent to C binding.
7917 * idl/Application.idl:
7918 * libspi/registry.c:
7919 * libspi/listener.c:
7920 * libspi/application.c:
7921 * libspi/application.h:
7922 Changed "ID" attribute type from string to long.
7924 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7928 Made method naming consistent: methods taking object args
7929 start with uppercase, other methods (except those using
7930 acronyms) start with lowercase. Underscores delimit between
7931 object names and method names:
7932 SPI_init() - uppercase since it starts with an acronym.
7933 getDesktopCount () - lowercase start since no object param0.
7934 Accessible_getName() - uppercase object type name, studlyCaps method
7938 Added gtk-doc documentation for all currently implemented
7939 methods in the C bindings API.
7941 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7943 * Makefile.am : changed build order to build test last.
7946 Changed "createEventListener" to "CreateEventListener".
7947 * libspi/accessibleeventlistener.c :
7948 Bugfix for addition of callbacks.
7949 * test/Makefile.am :
7950 * test/simple-at.c :
7951 Added new test that uses the C bindings API.
7953 * libspi/listener.c :
7954 * libspi/registry.c :
7955 * libspi/accessibleeventlistener.c :
7956 * at-bridge/bridge.c :
7957 Renamed member "target" of Accessibility_Event to "source",
7958 which is more descriptive.
7961 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7965 * cspi/Makefile.am :
7966 Added makefile support for at-spi/cspi directory.
7969 * cspi/spi-listener.h : (NEW FILE)
7970 Added support for/use of spi-listener.h.
7972 C bindings now build successfully, with no warnings.
7973 * libspi/accessibleeventlistener.h : (NEW FILE)
7974 * libspi/accessibleeventlistener.c : (NEW FILE)
7975 * libspi/Makefile.am :
7976 Added new object type "AccessibleEventListener"
7977 which inherits from Listener, and allows attachment
7978 of in-process callbacks (so that a client with a listening
7979 object instance can add functionality to the local
7980 implementation, dynamically).
7982 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7984 * libspi/accessible.c:
7985 Add implementation for get_index_in_parent().
7987 Added #include of "spi-roletypes.h", and
7988 added enumerated type AccessibleCoordType.
7989 Added definition for KeystrokeListener (function type).
7992 * cspi/spi-statetypes.h :
7993 * cspi/spi-roletypes.h :
7995 Added these headers, used by spi.h.
7997 Added code (NOTE: not yet built by make).
7999 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8001 * libspi/Makefile.am: generate imodule
8002 at the same time as other idl compiler
8005 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8006 * libspi/registry.c :
8007 * libspi/application.c :
8008 * idl/Application.idl :
8009 Made registration with toolkit an application method,
8010 which is required since each app has its own toolkit static
8011 environment. Thus the bridge must register for
8012 notification of toolkit events from each application in turn.
8013 Toolkit notifications are now successfully registered for, and
8014 sent to the listening at client.
8016 Changed toolkit event string to use hyphens rather than underscores.
8017 * libspi/listener.c :
8018 listner now gives more info in debug mode - it reports the
8019 name of the event received, as well as the name of the source.
8022 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8024 * libspi/registry.c :
8025 added more implementation for toolkit events.
8026 Fixed bug such that toolkit event registrations
8027 (via atk) use the whole event name string, not
8029 Removed a useless call to an ORBit_ method.
8030 * at-bridge/bridge.c :
8031 Removed unused local sbuf[] variable.
8033 We now register for Gtk:GtkWidget:button_press_event
8034 events as well as "focus:" events.
8036 Add some more API from Registry.idl that was missing,
8037 for keystroke listening, keystroke and mouse event
8038 synthesis, and enumeration of accessible desktops.
8040 2001-08-16 Michael Meeks <michael@ximian.com>
8042 * configure.in: use AM_GLIB_GNU_GETTEXT.
8044 * Makefile.am (SUBDIRS): kill intl.
8046 2001-08-15 Michael Meeks <michael@ximian.com>
8048 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8050 * configure.in: upd.
8052 * configure.in: depend on a recent bonobo-activation that
8053 will find our server files ...
8055 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8057 * libspi/accessible.c : accessible_new() :
8058 Now we add the Component interface via bonobo_object_add_interface,
8059 if the contained AtkObject implements AtkComponent.
8060 * libspi/accessible.h : now include "component.h"
8061 * libspi/component.h :
8062 * libspi/component.c : added files - implementation of
8063 bonobo wrapper object for Accessibility/Component
8064 * libspi/listener.c :
8065 Added test code to check for Accessibility/Component:1.0
8066 interface and report whether it is implemented by the
8068 * libspi/registry.c :
8069 Now we check for not only the hash of the whole event
8070 string before relaying the event, we also check the
8071 "minor" event string (without the detail string).
8072 This allows event listeners to be registered against
8073 all events of a certain major+minor type, or just
8074 against a specific major+minor+detail type.
8075 * libspi/accessible.c :
8076 Added implementations for Accessible:get_parent(),
8077 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8078 * libspi/registry.c :
8079 * libspi/listener.c :
8080 Replaced calls to Accessibility_Accessible_ref() and
8081 Accessibility_Accessible_unref() with
8082 calls to bonobo_object_dup_ref() and
8083 bonobo_object_release_unref(), so that the CORBA object
8084 is dup-ed and released when relayed, as well as the bonobo object.
8086 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8088 * libspi/Makefile.am,
8089 registryd/Makefile.am,
8090 at-bridge/Makefile.am.
8091 test/Makefile.am, configure.in:
8092 reverse previous changes.
8094 * /idl/Image.idl: fix typo.
8096 * test/Makefile.am: put DEBUG_FLAGS
8099 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8101 * test/app.c: use argv[0] instead of
8104 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8106 * libspi/Makefile.am,
8107 registryd/Makefile.am,
8108 at-bridge/Makefile.am.
8109 test/Makefile.am, configure.in:
8110 cleanup, replace individual LIBS/CFLAGS with
8111 AT_COMMON_{LIBS|CFLAGS}.
8115 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8117 * configure.in, libspi/Makefile.am:
8118 Change IDL path checking for bonobo-activation
8121 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8123 * registryd/registry.c : separated event listeners to use
8124 3 separate lists (focus, window, toolkit). Began testing
8125 event names against hashes before relaying events.
8126 * test/at.c : now register for events of type "focus:"
8127 * test/app.c : now generate events of type "focus:"
8128 * at-bridge/bridge.c : register with ATK for focus events,
8129 and we now relay those focus events to any "focus:" listeners.
8130 This now works with the bridge as a GTK_MODULE when running test/at.
8131 * libspi/registry.c :
8132 * libspi/listener.c :
8133 now we ref event sources before propagating, and unref on receipt.
8134 * libspi/registry.c :
8135 some changes to internal structs, to support event typestring hashes.
8136 * text/app.c : changed the way the appname is generated.
8137 * cspi : added directory that will hold the C bindings library for
8138 non-CORBA/bonobo-savvy clients.
8139 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8140 * idl/Component.idl : added in parameter to indicate coord system for
8141 geometry-related calls.
8142 * idl/Hyperlink.idl : added readonly n_links attribute
8143 * idl/Image.idl : changed methods to attributes.
8145 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8147 * at-bridge/Makefile.am: link against
8148 ../libspi/libspi.la instead of -lspi.
8150 * at-spi/test/app.c: include
8151 bonobo-activation.h. Use a default appname
8152 if one is not provided.
8154 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8156 * idl/Registry.idl : temporarily changed register_Application
8157 to oneway, to work around issue with initial registration
8159 * idl/Application.idl : changed attribute "id" from readonly
8160 to read-write, since it needs to be assigned by Registry.
8161 * registryd/registryd.c : added call to set application id
8163 * registryd/registry.c : changed de-registration procedure to
8164 use CORBA_Object_hash() to find matching object ref in application
8165 lists and listener lists.
8166 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8167 began distinguishing between event types (work in progress).
8169 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8172 * libspi/application.c:
8173 Added implementations for get/set id, get_toolkitName,
8175 * registryd/registryd.c :
8179 Converted from use of OAF to bonobo-activation.
8180 * libspi/desktop.h :
8181 * libspi/desktop.c :
8183 Removed references to atksimpleobject, since base atkobject
8184 implementation now provides functionality we need.
8185 * libspi/atksimpleobject.c :
8186 * libspi/atksimpleobject.h :
8191 * at-bridge/Makefile.am
8192 * at-bridge/bridge.c
8195 Added directory "bridge" and contents, and added dependencies
8196 in Makefile.am/configure.in.
8197 Initial checkin of "at-bridge".
8198 This code is a GTK_MODULE which automatically registers
8199 GTK+ apps with the accessibility registry, using an object
8200 reference to the root ATK object.
8202 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8204 * po/Makefile.in.in: Remove. Again. If this
8205 doesn't get autogenerated - you need to update
8208 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8210 * po/Makefile.in.in: Add. Again.
8212 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8214 * libspi/accessible.c : added support for 'description' property.
8215 * libspi/accessible.c
8217 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8218 (since the two are now equivalent in libbonobo)
8226 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8227 Bonobo::Unknown as does Accessibility::Accessible.
8228 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8229 interface with Bonobo::Stream, since it was redundant with it.
8230 (The Stream returned by a StreamableContext object is expected to
8231 implement only a subset of Bonobo::Stream)
8233 2001-07-28 Anders Carlsson <andersca@gnome.org>
8235 * libspi/accessible.c (accessible_object_finalize): Change
8236 g_free to g_object_unref since the AtkObject is a GObject.
8238 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8240 * idl/Accessibility.idl: add new IDL files
8243 * idl/Action.idl: Definitions of actionable UI object
8244 * idl/Component.idl: Definitions of UI component geometry, etc.
8245 * idl/Hyperlink.idl: Defs of hyperlink behavior
8246 * idl/Image.idl: Def of accessible image
8247 * idl/Selection.idl: Definition of UI object with selectable children
8248 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8249 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8250 * idl/Text.idl: Interface defs for UI elements with complex textual content
8251 * idl/Value.idl: Definition of UI element that is a value controller or display
8253 2001-07-27 Michael Meeks <michael@ximian.com>
8255 * po/Makefile.in.in: remove autogenerated file from CVS.
8257 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8260 * idl/Registry.idl: include guard.
8262 * idl/Accessibility.idl: Add, and include all the other IDL
8265 * idl/*.idl: remove mass of pragmas etc.
8267 2001-07-26 Michael Meeks <michael@ximian.com>
8269 * registryd/Makefile.am (registryd_SOURCES): remove
8272 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8274 * libspi/.cvsignore, registryd/.cvsignore,
8275 test/.cvsignore: updated.
8277 * po/Makefile.in.in: gettext update.
8279 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8281 * initial CVS checkin
8283 2001-06-29 Michael Meeks <michael@ximian.com>
8285 * configure.in: add AM_CONFIG_HEADER to gen config.h