1 2007-04-12 Li Yuan <li.yuan@sun.com>
3 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
4 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
5 Fix #427836. Fix leak and unify the code style.
7 2007-04-12 Yi Jin <yi.jin@sun.com>
10 (spi_atk_bridge_focus_tracker):
11 Bug #428007. Fix a memory leak.
13 2007-04-02 Ariel Rios <ariel@gnu.org>
15 Implement the Matchrule interface required for Collection.
21 * cspi/spi_accessible.c: (Accessible_isCollection),
22 (Accessible_isMatchRule), (Accessible_getCollection),
23 (Accessible_getMatchRule):
24 * cspi/spi_collection.c: new file.
25 * cspi/spi_matchrule.c: new file.
26 * idl/Accessibility.idl:
27 * idl/Accessibility_Collection.idl: new file.
30 * libspi/collection.c: new file.
31 * libspi/collection.h: new file.
33 * libspi/matchrule.c: new file.
34 * libspi/matchrule.h: new file.
36 2007-03-29 Ariel Rios <ariel@gnu.org>
38 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
40 2007-03-22 Li Yuan <li.yuan@sun.com>
42 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
43 main context. Fix for #329454.
45 2007-03-12 Li Yuan <li.yuan@sun.com>
47 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
49 2007-03-02 Li Yuan <li.yuan@sun.com>
52 (spi_atk_bridge_register_application),
53 (deregister_application), (spi_atk_bridge_focus_tracker),
54 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
55 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
56 to prevent calling threads_enter/leave during the init and shutdown.
58 2007-02-27 Li Yuan <li.yuan@sun.com>
61 (spi_re_entrant_list_delete_link):
62 Bug #412286. Reverse previous patch.
63 * configure.in, NEWS: Uprev/release 1.17.2.
65 2007-02-26 Li Yuan <li.yuan@sun.com>
67 * libspi/accessible.c:
68 (impl_accessibility_accessible_get_attributes),
69 (impl_accessibility_accessible_get_relation_set):
70 Bug #404584 and #401299. Return an empty object instead of return NULL.
71 * configure.in, NEWS: Uprev/release 1.17.1.
73 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
75 * Makefile.am: Dist MAINTAINERS.
77 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
79 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
80 (atk_bridge_init), (spi_atk_bridge_get_registry),
81 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
82 Fix some compiler warnings and plug a leak. Closes part of
85 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
87 * cspi/bonobo/cspi-bonobo-listener.h:
88 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
89 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
90 * cspi/spi_main.c: (SPI_eventIsReady):
91 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
92 * libspi/streamablecontent.c:
93 * libspi/util.c: (spi_re_entrant_list_delete_link):
94 * login-helper/login-helper.c:
95 * registryd/deviceeventcontroller.c:
96 (spi_controller_update_key_grabs), (isEvent):
97 * registryd/registry.c:
98 * test/key-listener-test.c: (simple_at_exit):
99 * test/login-helper-server-test.c: (test_set_wm_dock),
101 Fix a bunch of warnings from sparse:
102 - ANSIfication of function declarations
104 - Add some prototypes
105 - make some stuff static
107 2007-02-14 Li Yuan <li.yuan@sun.com>
109 * libspi/accessible.c:
110 (impl_accessibility_accessible_get_attributes):
111 Bug #404584. If there is no attributes, just return NULL.
113 2007-02-12 Li Yuan <li.yuan@sun.com>
115 * configure.in, NEWS: Uprev/release 1.17.0.
117 2007-02-12 Li Yuan <li.yuan@sun.com>
119 * atk-bridge/bridge.c:
120 (atk_bridge_init): bug #400709. we must emit events even if we are not
121 registered as a full-fledged app.
122 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
123 application like openoffice shutdown. They need to unload gtk before
124 the is spi_atk_bridge_exit_func called.
126 2007-01-22 Li Yuan <li.yuan@sun.com>
128 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
130 2007-01-22 Li Yuan <li.yuan@sun.com>
132 * cspi/bonobo/cspi-bonobo.c:
133 (cspi_get_registry_ior), (cspi_init):
134 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
136 2007-01-19 Li Yuan <li.yuan@sun.com>
138 * atk-bridge/bridge.c:
139 (atk_bridge_init), (spi_atk_bridge_register_application),
140 (deregister_application), (spi_atk_bridge_focus_tracker),
141 (spi_atk_emit_eventv):
142 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
145 2007-01-08 Li Yuan <li.yuan@sun.com>
147 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
149 2007-01-08 Li Yuan <li.yuan@sun.com>
151 * registryd/registry-main.c:
152 (main): set registry ior only when register server successfully.
153 * atk-bridge/bridge.c:
154 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
155 Bug #372988, #381670. Fix memory leak.
157 2007-01-02 Bill Haneman <billh@gnome.org>
160 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
161 appending default attributes to a text attribute set.
164 2006-12-28 Li Yuan <li.yuan@sun.com>
166 * atk-bridge/bridge.c:
167 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
168 the second time, because spi_atk_emit_eventv will free any. Bug
171 2006-12-15 Li Yuan <li.yuan@sun.com>
173 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
175 2006-12-14 Li Yuan <li.yuan@sun.com>
178 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
179 (spi_atk_bridge_property_event_listener),
180 (spi_atk_bridge_signal_listener):
181 Free some CORBA objects to fix memory leak and crash.
183 2006-12-13 Li Yuan <li.yuan@sun.com>
185 Patch from Ariel Rios to fix #163132 and #377079.
186 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
187 (spi_atk_bridge_get_registry_ior):
188 Use g_warning instead of g_error and g_critical to avoid crash.
190 2006-12-11 Bill Haneman <bill.haneman@sun.com>
193 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
194 if there are no non-default attributes defined at the current offset.
197 2006-12-04 Bill Haneman <bill.haneman@sun.com>
199 * idl/Accessibility_Role.idl: Fixed the documentation for
200 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
202 2006-12-04 Bill Haneman <bill.haneman@sun.com>
204 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
206 2006-11-07 Bill Haneman <bill.haneman@sun.com>
208 Patches from Padraig O'Briain for bugs #361386 and #369377.
210 * registryd/registry.c:
211 (struct NotifyContext): Change the e_out
212 member from an Accessibility_Event struct to a pointer to
214 (notify_listeners_cb): Modify to use the new struct definition above.
215 Allows use of ORBit_copy_value instead of CORBA_any__copy.
217 * registryd/deviceeventcontroller.c:
218 (spi_dec_button_update_and_emit): Free the event's any_data
220 (spi_dec_mouse_check):Free the event details any struct
222 (spi_device_event_controller_forward_mouse_event): Free any.
223 (spi_device_event_controller_forward_key_event): Ditto.
225 2006-11-07 Bill Haneman <bill.haneman@sun.com>
227 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
228 Don't require gtk+ and gail for building most of at-spi
231 * registryd/registry-main.c (main): We now get te value of display
232 using the env var DISPLAY rather than using the gdk_display_get_default
233 to avoid dependancy of gdk. Also, once the registry is started, we set
234 the ior of the registry as an X property.
235 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
237 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
238 the registration was successfull.
239 (spi_atk_bridge_do_registration): This function now returns success
240 or not on activating the registry.
241 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
242 has been set in the X root window and return it if available.
243 (spi_atk_bridge_get_registry): We now get the registry using the IOR
244 saved as a X property rather than using the OAFID.
246 2006-10-01 Bill Haneman <bill.haneman@sun.com>
248 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
250 2006-09-25 Bill Haneman <bill.haneman@sun.com>
252 * registryd/registry.c:
253 (desktop_remove_application): Don't pass a ref to the
254 dead application with the event, since it's probably
255 defunct and will cause SEGV if we try to unref,
256 extract app name, etc.
259 2006-09-20 Bill Haneman <bill.haneman@sun.com>
261 Patch from Neo Liu <nian.liu@sun.com>,
264 * atk-bridge/bridge.c:
265 (spi_atk_bridge_document_event_listener): New, for
268 2006-08-30 Bill Haneman <bill.haneman@sun.com>
271 Changed some parameter names so as not to
272 collide with class names - allows IDL to be compiled with
273 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
275 2006-08-22 Bill Haneman <bill.haneman@sun.com>
277 * atk-bridge/bridge.c:
278 (spi_atk_bridge_signal_listener):
279 Patch from Ginn Chen, assign detail1 in children-changed
280 so that the child object can be assigned to the Any when the
281 at-spi event is emitted. Bug #350552.
283 * libspi/application.c:
284 (spi_application_finalize): Remove g_print debug output.
287 2006-08-21 Bill Haneman <bill.haneman@sun.com>
289 * configure.in: Revved to AT-SPI 1.7.11.
291 * libspi/accessible.c:
292 (spi_accessible_new): Aggregate Hyperlink interface
293 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
295 * libspi/hyperlink.c:
296 (spi_hyperlink_new): Don't aggregate Action a second time if this
297 interface is created for an AtkHyperlinkImpl object (i.e. for a
298 child Accessible, as opposed to the Hyperlink instance from
300 (get_hyperlink_from_servant): Obtain the hyperlink from
301 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
303 Patch section from Ginn Chen...
305 * cspi/spi_accessible.c:
306 (_cspi_accessible_set_from_sequence):
307 Changed g_newa to g_new0 on Ginn Chen's suggestion.
309 * libspi/accessible.c:
310 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
311 (spi_accessible_new): Add the Document interface if present.
314 (impl_getAttributes): Fixed to use AtkAttribute properly.
317 (impl_getAttributes, impl_getDefaultAttributes):
318 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
320 2006-08-17 Bill Haneman <bill.haneman@sun.com>
322 * cspi/spi-private.h, cspi/spi_accessible.c:
323 (_cspi_attribute_set_from_sequence): Renamed from
324 cspi_attribute_set_from_sequence, to suppress export.
327 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
328 inline docs, which was keeping the doc from appearing.
329 (SPIExceptionHandler): Doc this.
331 * cspi/spi_document.c:
332 Added inline gtk-docs cut-n-pasted from the doxygen
333 docs in the corresponding IDL files.
334 (AccessibleDocument_getAttributes): Fix the retval here.
336 * cspi/spi_streamablecontent.c:
337 Fixed some 'Since' tags that were accidentally doxygen-style.
340 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
341 docs from the IDL file.
343 * docs/reference/cspi/at-spi-cspi-docs.sgml:
344 Added entities for Document and StreamableContent interfaces.
346 * docs/reference/cspi/at-spi-cspi-sections.txt:
347 Added some docs that were present inline but not getting
350 2006-07-31 Bill Haneman <bill.haneman@sun.com>
353 (impl_getRangeExtents): Use the atk_text_get_range_extents
354 API instead of looping over character bounds, now that
356 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
357 (_spi_text_bounds_contain): Remove, not needed anymore.
358 (_spi_text_rect_union): Remove, not needed anymore.
360 2006-07-31 Bill Haneman <bill.haneman@sun.com>
362 * atk-bridge/bridge.c:
363 (spi_atk_emit_eventv): Fix the CORBA_free call which was
364 causing 64-bit troubles and memory leaks.
365 Special thanks to Alexander Larsson who finally seems to
366 have tracked down the problem, not just here but in
370 (spi_init_any_object): Make sure we copy the CORBA value
371 when initializing an object for passing as a CORBA_Any.
374 2006-07-21 Bill Haneman <billh@gnome.org>
376 * idl/Accessibility.idl:
377 Reverted pragma changes, this broke the build in some envs
378 including the Debian team's build and some tinderbox builds.
380 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
383 Revved to 1.7.10, and edited the Xevie check (bug #319994).
385 * idl/Accessibility.idl:
386 Reworked inclusion of Bonobo_Unknown.idl, to
387 avoid double-linking libs in the Bonobo environment.
388 Thanks to Michael Meeks for the workaround, see bug #313122.
390 * registryd/deviceeventcontroller.c:
391 (spi_controller_notify_keylisteners):
392 Set the SPI_NUMLOCK_MASK bit if the modifier
393 corresponding to the conceptual numlock state is set.
396 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
398 * idl/Accessibility_Selection.idl:
399 (deselectChild): New method.
401 * libspi/selection.c:
402 (impl_deselectChild): Implement the new IDL method.
405 (AccessibleSelection_deselectChild): Added new method.
407 * cspi/spi_selection.c:
408 (AccessibleSelection_deselectChild): New method implemented.
410 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
412 * cspi/bonobo/cspi-bonobo.c:
413 (cspi_init): Replace g_error with g_warning, prevent
414 SEGV if the registry cannot be activated. Bug #346393.
416 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
418 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
420 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
421 2006-07-12 Ariel Rios <arios@us.ibm.com>
425 * idl/Accessibility_Table.idl:
426 (getRowColumnExtentsAtIndex): New method for getting
427 selection status and extents in one API call.
430 (impl_getRowColumnExtentsAtIndex): Implementation of
432 (spi_table_class_init): Add above to epv.
436 (AccessibleTable_getRowColumnExtentsAtIndex): New
437 method, retrieves selection status and row/col extents
438 for a table cell in a single API call.
440 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
441 2006-07-12 Ariel Rios <arios@us.ibm.com>
443 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
446 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
447 New bindings for new methods defined in idl and libspi.
450 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
451 Added prototype functions.
454 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
456 (spi_text_class_init): Added previous methods.
459 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
460 * libspi/spi-private.h: Corrections.
462 2006-06-29 Bill Haneman <bill.haneman@sun.com>
464 Added Document interface (see bug #326520),
465 with work from Ariel Rios <arios@us.ibm.com>.
467 * configure.in: Bump to 1.7.8.
469 * libspi/Makefile.am: Added document.[ch] to sources
472 (SpiDocument, SpiDocumentClass):
473 New interface implementation.
474 (spi_document_get_type, spi_document_construct)
475 (spi_document_interface_new): New methods added.
476 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
477 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
478 Added macros for SpiDocument
482 (spi_document_interface_new): Get a
483 new document interface. New.
484 (get_document_from_servant): Get an AtkDocument from servant New.
485 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
486 Implementation of methods defined on idl.
487 (spi_document_class_init, spi_document_init)
488 Init methods for SpiDocument. new
490 * idl/Accessibility.idl: Added Accessibility_Document.idl.
492 * cspi/Makefile.am: Added spi_document.c to sources.
494 * cspi/spi_document.c:
495 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
496 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
497 (AccessibleDocument_getAttributes): Bindings for methods defined
500 * cspi/spi_accessible.c:
501 (Accessible_isDocument, Accessible_getDocument) New.
503 (Accessible_isDocument, Accessible_getDocument)
504 (AccessibleDocument_ref, AccessibleDocument_unref)
505 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
506 (AccessibleDocument_getAttributes): Bindings added.
508 * idl/Makefile.am: Added Accessibility_Document.idl to
511 2006-06-29 Bill Haneman <bill.haneman@sun.com>
513 * idl/Accessibility_Document.idl: New interface
514 for complex documents. First stage of fix for RFE
517 2006-06-27 Bill Haneman <bill.haneman@sun.com>
519 * libspi/streamablecontent.c:
520 (impl_content_stream_close):
521 Unref the GIOChannel on close.
523 2006-06-23 Bill Haneman <bill.haneman@sun.com>
525 * idl/Accessibility_Role.idl:
526 * libspi/accessiblerole.c:
527 * cspi/spi_accessible.c: Added ROLE_LINK,
528 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
529 Bug #345758 and bug #140635.
532 2006-06-22 Bill Haneman <bill.haneman@sun.com>
536 * idl/Accessibility_StreamableContent.idl:
537 Fix derivation of StreamableContent and ContentStream.
539 * cspi/spi_streamablecontent.c:
540 (accessible_content_stream_client_read):
541 Fix the datatype of the content stream used.
542 Interpret short reads as EOF, and stop trying to
543 read when we've fulfilled the request.
544 (AccessibleStreamableContent_getContentTypes):
545 Use g_strdup, not CORBA_string_dup, for the strings.
546 (AccessibleStreamableContent_open):
547 Correctly use the new getStream method for opening,
548 not the deprecated getContent method.
549 Use the object reference as the stream hash key.
550 Make note of the 'one stream per client per streamable'
551 limitation in the docs.
554 Add streamablecontent.h to the list of #includes.
556 * libspi/streamablecontent.c:
557 (impl_content_stream_read): Initialize the GError.
558 Allocate the incoming buffer if reading a fixed length of
559 data. Use g_memmove instead of memcpy.
560 (impl_accessibility_streamable_get_content_types):
561 Init typelist->_maximum. Only allocate the buffer if
562 there is a non-zero number of content types available.
563 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
565 * libspi/streamablecontent.h:
566 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
569 (SPI_IS_VALUE): Fix a typo in this macro too.
571 2006-06-16 Bill Haneman <bill.haneman@sun.com>
575 * idl/Accessibility_StreambleContent.idl:
576 Deprecate the Bonobo_Stream-based methods in favor of
577 a self-contained "ContentStream" interface. This should
578 allow us to remove BonoboStream dependencies entirely, since
579 there were no non-NIL implementations of the old methods anyway.
580 (ContentStream): New interface.
581 (ContentStream::SeekType): Enum.
582 (ContentStream::seek): New.
583 (ContentStream::read): New.
584 (ContentStream::close): New.
585 (getContent): Deprecate.
586 (getURI): New method, returns a URI pointing to the content, if available.
588 * libspi/streamablecontent.c:
589 (SpiContentStream): Internal object type definition used to
590 implement Accessibility::StreamableContent::ContentStream via
591 AtkStreamableContent's GIOChannel back-end.
592 (spi_content_stream_new, spi_content_stream_dispose): See above;
594 (impl_content_stream_seek, impl_content_stream_read):
595 (impl_content_stream_close): New, implementations of
597 (impl_accessibility_streamable_get_stream): Implement the
598 public method Accessibility::StreamableContent::getStream.
599 (impl_accessibility_streamable_get_uri): Implement the
600 public method Accessibility::StreamableContent::getURI.
602 * cspi/spi_streamablecontent.c:
603 (accessible_bonobo_stream_client_seek): Replaced by
604 (accessible_content_stream_client_seek).
605 (accessible_bonobo_stream_client_read): Replaced by
606 (accessible_content_stream_client_read).
607 (AccessibleStreamableContent_open):
608 (AccessibleStreamableContent_seek):
609 (AccessibleStreamableContent_read):
610 (AccessibleStreamableContent_close): Use the new 'getStream'
611 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
613 2006-06-15 Bill Haneman <bill.haneman@sun.com>
615 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
616 remove from other .idl files (except LoginHelper).
619 2006-06-14 Bill Haneman <bill.haneman@sun.com>
621 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
624 * configure.in, */Makefile.am: mingw patch, modified from
625 original patch by yselkowitz. Bug #314216.
627 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
628 for completeness. Bug #163111.
630 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
631 * libspi/util.c, registryd/registry-main.c:
632 Fix guint/char* casts.
633 Patch from chpe, bug #333883.
635 2006-06-12 Bill Haneman <bill.haneman@sun.com>
637 * configure.in: Require atk-1.12.0, to pick up
638 new API. (bug #344412).
640 * libspi-1.0-uninstalled.pc.in:
642 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
643 Fix for #341488 from Samual Thibault.
645 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
646 Thanks to Brian Pepple.
648 2006-06-09 Bill Haneman <bill.haneman@sun.com>
651 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
652 New, missing implementations of attribute reading methods
655 * cspi/spi.h, spi_value.c:
656 (AccessibleValue_getMinimumIncrement): New methods wrapping
657 the (formerly unimplemented) property from Value.idl.
660 (impl_get_minimumIncrement): Implementation for retrieving
661 the minimum valuator increment, (formerly unimplemented).
664 2006-06-09 Bill Haneman <bill.haneman@sun.com>
666 * idl/Accessibility_State.idl:
667 Added STATE_VISITED (bug #338369).
669 * cspi/spi_accessible.c:
670 (spi_state_to_corba) Fixed marshalling of new statetypes.
673 (spi_init_state_tables, impl_getStates):
674 Fixed conversion of new statetypes to/from ATK.
676 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
678 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
679 definitions/conversions for new roles from ATK.
681 * idl/Accessibility_Relation.idl:
683 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
684 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
685 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
687 * libspi/accessible.c: Fixed marshalling of new role types from
690 2006-04-17 Matthias Clasen <mclasen@redhat.com>
692 * revert my previous change
694 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
696 * configure.in: Remove obssolete no_NO locale
697 * po/no.po: And the translation.
699 2006-04-05 Matthias Clasen <mclasen@redhat.com>
701 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
702 memory-management error that caused crashes on x86_64.
705 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
707 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
709 2006-03-27 Bill Haneman <bill.haneman@sun.com>
711 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
712 to strip "cspi_*" from the symbol table.
714 * cspi/spi_streamablecontent.c:
715 (get_streams): Make this method static.
718 (_cspi_exception_throw): rename to cspi_exception_throw,
719 so we can strip it with the rest...
722 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
724 2006-03-27 Bill Haneman <bill.haneman@sun.com>
726 Add doxygen-generated IDL docs to tarball, and enable
727 doxygen during build/install when available. Bug #301345.
729 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
731 * docs/reference/Makefile.am: Add idl to SUBDIRS.
733 * docs/reference/idl/Makefile.am: Optionally use
734 doxygen to create docs.
736 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
738 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
740 2006-03-20 Bill Haneman <bill.haneman@sun.com>
743 (impl_get_selected_rows): Don't free the selection if it's
744 empty or has not been assigned; init it to NULL so you can tell.
745 Also, allow for zero selected rows.
746 (impl_getSelectedColumns): Ditto. Bug #319088.
748 2006-03-11 Vincent Untz <vuntz@gnome.org>
750 Leak fix for bug #334217.
752 * libspi/application.c: spi_application_toolkit_event_listener():
753 don't duplicate the string we pass as an argument to
754 spi_init_any_nil() since spi_init_any_nil() already does it
755 * registryd/deviceeventcontroller.c:
756 (spi_dec_button_update_and_emit): ditto
757 (spi_dec_mouse_check): ditto
758 (spi_dec_emit_modifier_event): ditto
759 (spi_device_event_controller_forward_mouse): ditto
760 * registryd/registry.c:
761 (desktop_add_application): ditto
762 (desktop_remove_application): ditto
764 2006-02-20 Bill Haneman <billh@gnome.org>
766 * configure.in: Rev to 1.7.6.
768 Leak fixes for bug #331924.
770 * atk-bridge/bridge.c:
771 (spi_atk_bridge_init_base): Don't dup the string, it's already
772 been dup-ed. Fixes a leak.
773 (spi_atk_emit_eventv): Move the CORBA_free call here,
774 instead of spi_atk_state_event_listener; fixes another leak.
775 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
776 notifying the registry; fixes another leak.
778 * registryd/registry.c:
779 (registry_flush_event_queue): Free the CORBA_any when
780 flushing the event, not just the string. Fixes another leak.
781 (registry_queue_event): Free the CORBA_any when dropping
782 events on the floor; fixes another leak.
785 (spi_init_any_object, spi_init_any_nil):
786 Always set _release to TRUE. Fixes another leak.
788 2006-02-20 Bill Haneman <billh@gnome.org>
790 * configure.in: Rev to 1.7.5.
791 Reinstate localization of this module. Thanks for Rodney
792 Dawes for fixing my patch.
794 * registryd/Makefile.am: Remove Accessibility_Registry.server
795 from dist, since it needs to be re-created at configure time.
798 2006-01-31 Bill Haneman <billh@gnome.org>
800 * configure.in: Rev to 1.7.4 (to include build fix below).
802 * idl/Makefile.am: Include Selector.idl in dist.
806 (cspi_internal_event_get_object): Handle case where
807 "object" isn't present, i.e. CORBA_TC_Object doesn't match
808 the EventDetails data.
809 (cspi_internal_event_get_text): Handle NULL string.
810 (cspi_internal_event_get_rect): Handle missing/empty rect
811 data, Accessibility_TC_RectBounds doesn't match any_data.
813 2006-01-30 Bill Haneman <billh@gnome.org>
817 * atk-bridge/bridge.c:
818 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
819 interface and use that when instantiating a new source
820 accessible. Better fix for bug #321814.
822 2006-01-27 Bill Haneman <billh@gnome.org>
824 * idl/Accessibility_Selector.idl: Added to the cvs repository.
826 * configure.in: Revved to 1.7.3.
828 2006-01-17 Bill Haneman <billh@gnome.org>
830 * configure.in: Revved to 1.7.2, re-dist to include docs.
832 2006-01-09 Bill Haneman <billh@gnome.org>
834 * configure.in: Removed po/Makefile.in inclusion, we do not need
837 * idl/Accessibility.idl: Improved documentation here, and for all
838 IDL in the 'GNOME::Accessibility' namespace.
840 * idl/Accessibility_Accessible.idl:
841 (LOCALE_TYPE): Added enum.
842 (AttributeSet): New, for returning multiple name/value attribute pairs.
843 (RoleSet): New, sequence of Roles, to be used in upcoming
845 (getAttributes): New API, allows retrieval of name/value pair
846 annotations for all kinds of Accessible objects. C.f.
847 Text:getAttributes, which is only for typographic/textual/semantic tags in
849 (getApplication): New, retrieves the host/containing Application
850 instance for an object (without having to walk up the whole tree).
852 * idl/Accessibility_Component.idl:
853 (getAlpha): New method, returns the alpha blending (aka 'opacity')
854 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
857 * idl/Accessibility_Event.idl:
858 (EventDetails): New struct definition, for encapsulating
859 commonly-queried information about emitted events. The use of
860 this structure in emitted events (in the 'any' member of
861 Accessibility_Event) should greatly reduce the number of
862 client-server roundtrips necessary.
864 * idl/Accessibility_Image.idl:
865 (imageLocale): New, a readonly attribute indicating the POSIX
866 LC_MESSAGES locale of the image and associated Alt/descriptive
869 * idl/Accessibility_Relation.idl:
870 (RELATION_PARENT_WINDOW_OF): Include, as complement to
873 * idl/Accessibility_Role.idl:
874 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
875 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
876 complex document and form support.
878 * idl/Accessibility_State.idl:
879 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
880 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
881 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
882 for support of complex documents and forms.
884 * idl/Accessibility_StreamableContent.idl:
885 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
886 allow old bonobo-stream interfaces to be deprecated in the next
889 * idl/Accessibility_Text.idl:
890 (getAttributeValue): New method, allows query-by-name of single
893 * libspi/accessible.c:
894 Added support for new roles. Implemented new methods
895 (impl_accessibility_accessible_get_application): New
896 (impl_accessibility_accessible_get_attributes): New
898 * libspi/component.c:
899 (impl_accessibility_component_get_alpha): New.
902 (impl_accessibility_image_get_locale): New.
904 * libspi/relation.c: Added support for new relation type.
906 * libspi/stateset.c: Added support for new state types.
909 (impl_getAttributeValue): New.
912 New prototypes for private methods
914 spi_init_any_object, spi_init_any_string,
917 * libspi/spi_event.c:
918 Use EventDetails in the event emission methods.
920 * cspi/spi-private.h:
921 (cspi_role_from_spi_role): Expose this adapter method, since
922 we need it in the bridge (see below).
925 (AccessibleEvent_getSourceName):
926 (AccessibleEvent_getSourceRole):
927 (AccessibleEvent_getSourceApplication):
928 (AccessibleEvent_getSourceDetails):
929 New methods for interrogating/demarshalling
930 event details (i.e. source's accessible name, role,
933 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
934 Make use of the new EventDetails struct in events, if present.
935 (AccessibleEvent_getSourceName)
936 (AccessibleEvent_getSourceRole)
937 (AccessibleEvent_getSourceApplication)
938 (AccessibleEvent_getSourceDetails): Implement the newly exposed
940 (Accessible_getAttributes): New, wraps
941 Accessibility_Accessible_getAttributes.
942 (Accessible_getHostApplication): New, wraps
943 Accessibility_Accessible_getApplication.
946 (AccessibleImage_getImageLocale): New wrapper for
947 Accessibility_Image_get_imageLocale.
949 * cspi/spi_component.c:
950 (AccessibleComponent_getAlpha): New wrapper for
951 Accessibility_Component_getAlpha.
953 * atk-bridge/bridge.c:
954 Use new prototyped for init_any methods.
955 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
956 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
957 (spi_atk_bridge_init_base): Wrappers
958 for spi_init_any_* methods, due to refactor; include extended
959 information in the Accessibility_EventDetails struct, for instance
960 accessible-name, Role, and containing Application.
962 * registryd/registry.c:
963 Use new event emission (with EventDetails).
965 * registryd/deviceeventcontroller.c:
966 Use new event emission (with EventDetails).
968 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
970 * configure.in: Generate po/Makefile.in
971 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
972 * cspi/spi_streamablecontent.c:
973 (accessible_bonobo_stream_client_seek),
974 (AccessibleStreamableContent_seek): Remove unused vars.
975 * libspi/application.c: Missing header.
976 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
977 * login-helper/login-helper.c: (login_helper_finalize),
978 (login_helper_init): Remove unused stuff
979 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
980 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
981 and surround some with #ifdef GRAB_BUTTON.
982 * test/event-listener-test.c: (main), (report_event),
983 (report_caret_event), (report_detail_event),
984 (report_detail1_event), (report_bounds_event), (report_text_event),
985 (report_text_selection_event),
986 (report_active_descendant_changed_event),
987 (report_children_changed_event), (report_name_changed_event),
988 (report_description_changed_event), (report_parent_changed_event),
989 (report_window_event), (report_table_summary_event),
990 (report_table_header_event), (report_table_caption_event),
991 (report_table_row_description_event),
992 (report_table_column_description_event), (timing_test_event):
993 Remove a bunch of unused variables and fix a slew of format specifiers
994 * test/key-listener-test.c: (report_all_key_event): Format specifier
995 * test/keypad-test.c: (print_key_event): Same
996 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
998 * test/screen-review-test.c: (main), (print_chunk_debug),
999 (review_buffer_get_text_chunk), (debug_chunk_list),
1000 (string_guess_clip), (text_chunk_get_clipped_string),
1001 (text_chunk_list_to_string), (get_screen_review_line_at):
1002 Remove unused variables and fix format specifiers.
1003 * test/simple-at.c: (report_text_event): Format specifier fix.
1004 * test/stress-test.c: (main): Remove unused var.
1006 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1008 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1009 (yes I know that's useless)
1011 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1013 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1015 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1017 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1018 urgh-fix embarassing typo.
1020 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1022 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1023 do a faster, less problematic _unref call on this local
1024 object, rather than a slower (potentially cross-thread
1025 complicated) CORBA call.
1027 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1029 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1030 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1031 * registryd/deviceeventcontroller.c:
1032 (spi_controller_notify_mouselisteners),
1033 (impl_generate_keyboard_event):
1034 * test/screen-review-test.c: (chunk_bounds_within):
1035 * test/test-simple.c: (test_desktop): Remove some unused code
1036 and fix compiler warnings. Closes bug #320049.
1038 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1040 * registryd/deviceeventcontroller.c:
1041 (spi_controller_notify_keylisteners): Check
1042 to make sure the event listener has requested 'preemptive'
1043 status before pre-empting an event.
1045 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1047 * configure.in, README, NEWS: Release 1.6.5.
1049 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1051 * test/window-listener-test.c: Fix a printf
1052 format error. (#169453)
1054 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1056 * tests/test-simple.c:
1057 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1058 relying on the old string from the key event hanging around after
1059 the event handler returns. Fixes broken 'make check'.
1061 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1063 * Added Marathi (mr_IN) translations.
1065 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1067 * cspi/bonobo/cspi-bonobo-listener.c:
1068 (cspi_event_list_remove_by_cb): Fix the build.
1070 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1072 * cspi/bonobo/cspi-bonobo-listener.c
1073 (cspi_event_list_remove_by_cb): actually filter by callback.
1075 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1077 * registryd/registry.c (remove_listener_cb):
1078 Make deregistration filter rules match the event emission rules.
1080 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1082 * registryd/registry.c (remove_listener_cb),
1083 (impl_accessibility_registry_deregister_global_event_listener),
1084 (impl_accessibility_registry_deregister_global_event_listener_all):
1085 pass a closure to the remove callback to filter listeners more
1086 accurately on remove.
1088 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1090 * configure.in: Revved to 1.6.4.
1091 Remember to put quotes around XEVIE_LIBS assignment.
1092 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1095 * tests/event-listener-test.c: Tweaked the tests - more detail
1096 from caret events, and some interrogation of AccessibleText APIs.
1097 Commented-out the bounds-changed events by default, since they can
1100 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1102 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1103 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1104 Same here. Closes bug #167806
1106 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1108 * atk-bridge/bridge.c:
1109 (spi_atk_bridge_signal_listener):
1110 Free the any._value if any._release is TRUE,
1111 since the ORB won't do it for us in this case
1112 [because this method is not a skel].
1113 Fix for bug #168679.
1115 2005-03-30 Steve Murphy <murf@e-tools.com>
1117 * configure.in: Added "rw" to ALL_LINGUAS.
1119 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1121 * configure.in: Improved check for HAVE_XEVIE, to detect
1122 presence on XOrg, where -lXevie is a separate library.
1124 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1126 * configure.in, NEWS, README: Revved to 1.6.3.
1128 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1130 * configure.in: Added "xh" to ALL_LINGUAS.
1132 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1134 * atk-bridge/bridge.c:
1135 (atk_bridge_init): Added missing NULL in g_strconcat(),
1136 also check for symlink before logging to
1137 insecure directory. Thanks to meissner@suse.de.
1139 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1141 * tests/login-helper-server-test.c: Add return call to main
1142 function. Patch from Chris Lahey. Fixes bug #165129.
1144 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1146 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1148 2004-12-09 Bill Haneman <billh@gnome.org>
1150 * registryd/registry-main.c:
1151 Added #define <string.h> for strrchr. (bug 160862).
1152 Thanks to Vincent Berger for catching.
1154 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1156 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1157 restart registry process if the registry process is found to have died
1158 and the current process is exiting.
1159 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1160 application if the registry process has died.
1161 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1162 does not return a registry object.
1163 (spi_atk_tidy_windows): Give up if the registry process has died.
1165 This fixes problems with hangs and crashes when logging out.
1167 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1169 * registryd/desktop.c: Add checking that we are not exiting before
1170 calling spi_desktop_remove_application in
1171 abnormal_application_termination. Fix for bug #152147.
1173 2004-12-02 Bill Haneman <billh@gnome.org>
1175 * configure.in, NEWS, README: Revved to 1.6.1.
1177 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1178 * atk-bridge/bridge.c:
1179 (atk_bridge_init): Save the pid when we start, to detect forks.
1180 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1181 if we're in a forked pid.
1183 2004-10-09 Bill Haneman <billh@gnome.org>
1185 * idl/Accessibility_LoginHelper.idl:
1186 Improved inline documentation.
1188 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1190 * configure.in: Added gl (Galician) to ALL_LINGUAS
1192 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1194 * libspi/accessible.c:
1195 (impl_accessibility_accessible_get_role_name),
1196 (impl_accessibility_accessible_get_local_role_name):
1197 NULL vs. 0 cleanups.
1198 * libspi/component.c:
1199 (impl_accessibility_component_get_accessible_at_point):
1201 * libspi/eventlistener.c: (spi_event_listener_new):
1203 * libspi/stateset.c: (impl_compare): More of the same
1204 * libspi/table.c: (impl_getRowDescription): Again.
1205 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1206 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1207 (impl_generate_keyboard_event): Same.
1208 * registryd/registry-main.c: (main): Same
1209 * test/event-listener-test.c: (test_exit): Same
1210 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1211 * test/keysynth-test.c: (test_key_synthesis): Same
1212 * test/login-helper-server-test.c: (main): Fix warning.
1213 * test/screen-review-test.c: (test_exit): Fix include.
1214 * test/simple-at.c: (simple_at_exit), (_festival_init):
1217 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1219 * configure.in, NEWS, README: Revved to 1.6.0.
1221 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1223 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1224 was missing the HTML docs.
1226 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1228 * configure.in: only cleanups:
1229 - better looking PKG_CHECK_MODULES() output,
1231 - declare in one common place required versions of other tools using
1234 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1236 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1237 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1238 required ATK version accordingly.
1240 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1242 * cspi/bonobo/cspi-bonobo.c:
1243 (cspi_display_name): Fix C99ism.
1244 * atk-bridge/bridge.c:
1245 (spi_display_name): Fix C99ism.
1246 Patch from Jens Granseuer, jensgr@gmx.net.
1248 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1250 * configure.in: Added "or" to ALL_LINGUAS.
1252 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1254 * configure.in, NEWS, README: Revved to 1.5.4.
1256 * registryd/registry-main.c:
1257 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1260 * cspi/bonobo/cspi-bonobo.c:
1261 (cspi_display_name): New convenience method, gets DISPLAY with
1262 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1263 (cspi_init): Set the activation env value above before getting
1266 * atk-bridge/bridge.c:
1267 (spi_display_name): Create the AT_SPI_DISPLAY activation
1268 environment for an app, based on the DISPLAY environment with the
1269 screen number stripped off.
1270 (atk_bridge_init): Allow redirection of error messages to a log.
1271 (spi_atk_bridge_get_registry): Call
1272 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1274 Fixes for bugs #149962, #136986, #144086.
1276 2004-08-16 Christian Rose <menthos@menthos.com>
1278 * configure.in: Added "bs" to ALL_LINGUAS.
1280 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1282 * configure.in: Added nb to ALL_LINGUAS.
1284 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1287 (SPI_init): Return error code '2' if the activated
1288 registry cannot be pinged. Fixes bug #147648.
1290 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1292 * registryd/deviceeventcontroller.c:
1293 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1294 rely on timer-poll instead, to avoid conflict with
1297 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1299 * configure.in: Revved to 1.5.3.
1301 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1303 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1305 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1307 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1309 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1311 * atk-bridge/bridge.c:
1312 (spi_atk_bridge_do_registration):
1313 Register with ATK for AtkComponent:bounds-changed events.
1314 (api_atk_bridge_signal_listener):
1315 Marshal the AtkRectangle info into the event notification
1316 for object:bounds-changed events.
1319 (spi_init_any_rect): New method, inits a corba struct of
1320 type Accessibility_BoundingBox from an AtkRectangle.
1322 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1325 (SPIRect): New struct definition.
1326 (SPI_freeRect): New declaration.
1327 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1330 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1331 implemented. Gets the bounding box data from the CORBA_any
1332 associated with a bounds-changed event notification.
1333 (cspi_internal_event_get_rect): New, used internally by above method.
1336 (SPI_freeRect): Implemented this new method, for freeing
1339 * test/event-listener-test.c:
1340 (main, report_bounds_event):
1341 Added a test for object:bounds-changed events.
1343 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1345 * test/login-helper-server-test.c:
1346 (main): Fix C99-ism. Thanks to Jens Granseuer.
1348 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1350 * libloginhelper-1.0.pc.in:
1351 * idl/Accessibility_LoginHelper.idl:
1352 * login-helper/Makefile.am:
1353 * login-helper/login-helper.[ch]:
1354 * test/login-helper-client-test.c:
1355 * test/login-helper-server-test.c: Added files missing from CVS.
1356 Files obtained from at-spi-1.5.2 tarball.
1358 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1360 * configure.in: Create login-helper/Makefile.
1361 Incremented micro version.
1363 * Makefile.am: Add login-helper subdir and pkgconfig data.
1365 * login-helper: New subdir.
1367 * libloginhelper-1.0.pc.in: New.
1369 * idl/Accessibility_LoginHelper.idl: New file, defines
1370 interface whereby authentication clients can identify agents which
1371 need access to services during the login process, e.g. screen lock
1374 * login-helper/Makefile.am : New.
1376 * login-helper/login-helper.[ch] : New, implementation of
1377 a LoginHelper base class. Services needing LoginHelper can subclass.
1379 * test/Makefile.am : Added test for login-helper, client and
1382 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1383 Use proper prefix in #include files.
1385 * test/login-helper-client-test.c: New.
1387 * test/login-helper-server-test.c: New.
1389 2004-05-27 Alexander Shopov <ash@contact.bg>
1391 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1393 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1395 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1396 is positive. This should make it easier to detect inapprorpiate unref
1399 2004-05-11 James Henstridge <james@daa.com.au>
1401 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1402 no-op and deprecated.
1404 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1406 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1408 2004-04-28 Bill Haneman <billh@gnome.org>
1410 * Makefile.am: Added --enable-gtk-doc to
1411 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1413 2004-04-19 Bill Haneman <billh@gnome.org>
1415 * configure.in: Revved to 1.5.1.
1417 * registryd/deviceeventcontroller.c:
1419 (DEControllerPrivateData): Added fields for
1420 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1421 (spi_dec_replace_map_keysym): New internal utility for
1422 replacing a keysym in the keymap - used to allow
1423 synthesis of individual characters which aren't in the
1425 (spi_dec_reset_reserved): New; resets the changed keysym value
1427 (keycode_for_keysym): We now try to deal with failed
1428 XKeysymToKeycode requests by changing a keymap value
1429 and returning a reserved keycode. We now take
1430 a DEController pointer as first arg.
1431 (spi_controller_register_with_devices): Call XkbGetMap with
1432 the XkbKeySymsMask. Find the highest keycode in the current
1433 keymap which doesn't have any grabs, and mark that one for
1434 temporary re-mapping when out-of-range KeySyms are synthesized.
1435 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1438 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1440 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1442 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1444 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1446 2004-03-24 Bill Haneman <billh@gnome.org>
1449 (AccessibleTable_addRowSelection),
1450 (AccessibleTable_addColumnSelection),
1451 (AccessibleTable_removeRowSelection),
1452 (AccessibleTable_removeColumnSelection):
1453 Add declarations for spi wrappers which were
1454 inadvertantly omitted. Fixes bug #133413.
1457 Revved to 1.5.0 (unstable series for GNOME 2.7).
1459 2004-03-24 Bill Haneman <billh@gnome.org>
1461 * atk-bridge/bridge.c:
1462 Bracketed some debug output in
1463 conditionals, to avoid printing it in normal use.
1466 * libspi/hyperlink.c:
1467 Don't cast 'object' to ATK_OBJECT when constructing
1468 an AtkAction interface for a hyperlink.
1469 See discussion in bug #120659.
1471 * test/key-listener-test.c:
1472 (report_all_key_event): Send output to stderr,
1473 not stdout, for consistency with the rest of the test callbacks.
1476 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1477 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1478 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1479 try incrementing the revision AFTER doing a dist, at least
1482 2004-03-22 Bill Haneman <billh@gnome.org>
1484 * configure.in: Revved to 1.4.0, libtool 9.14.9
1486 2004-03-17 Laszlo Peter <laca@sun.com>
1488 * libspi-1.0-uninstalled.pc.in: add idldir
1490 * cspi-1.0-uninstalled.pc.in: add idldir
1492 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1494 * configure.in: Added "en_GB" to ALL_LINGUAS
1496 2004-03-15 Bill Haneman <billh@gnome.org>
1498 * configure.in: Revved to 1.3.16,
1501 2004-03-15 Laszlo Peter <laca@sun.com>
1503 * libspi-1.0-uninstalled.pc.in: new file
1505 * cspi-1.0-uninstalled.pc.in: new file
1507 * configure.in: add the new pc files to AC_OUTPUT
1509 * Makefile.am: add the new pc files to EXTRA_DIST
1511 2004-03-12 Bill Haneman <billh@gnome.org>
1513 * atk-bridge/bridge.c:
1514 (spi_atk_bridge_key_listener):
1515 Make sure to return consumed=FALSE if snoop
1516 event is not dispatched to listener.
1519 2004-03-01 Bill Haneman <billh@gnome.org>
1521 * configure.in: Revved to 1.3.15,
1524 2004-03-07 Danilo Segan <dsegan@gmx.net>
1526 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1528 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1530 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1532 2004-03-01 Bill Haneman <billh@gnome.org>
1534 * configure.in: Revved to 1.3.14.
1537 (SPI_exit): Removed "bye-bye" exit message.
1538 Moved "leak" report to happen before the
1539 iteration over the leaked refs list.
1540 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1542 2004-02-24 Bill Haneman <billh@gnome.org>
1544 * configure.in: Revved to 1.3.13.
1546 * docs/reference/cspi/Makefile.am:
1547 Correct typo that was breaking the docs build.
1549 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1551 * autogen.sh: Require version 1.7 of automake.
1553 * configure.in: call GTK_DOC_CHECK([1.0])
1555 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1557 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1559 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1561 * test/Makefile.am: Remove use of CFLAGS.
1563 This fixes bug #132987.
1565 2004-02-11 Bill Haneman <billh@gnome.org>
1567 * reverted most of Tomasz' patch below, since it was breaking
1568 builds (see bug #134058).
1570 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1572 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1573 correct pass "make dist" (empty .. because seems no sach types in
1574 header files with gtk-doc markups).
1575 * docs/reference/cspi/Makefile.am, configure.in:
1576 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1577 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1578 * Makefile.am: added:
1579 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1580 for force correct pass generate documentation on "make distcheck".
1581 * libspi/Makefile.am: fixes for automake >= 1.6.
1582 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1583 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1586 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1588 * docs/reference/cspi/Makefile.am (install-data-local): Install
1589 index.sgml since the doc autobuilder on widget.gnome.org looks for
1592 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1594 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1597 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1599 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1601 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1603 * test/simple-at.c: Fixed null string problems that cause core
1604 dumping problems on Solaris.
1606 2004-01-12 Bill Haneman <billh@gnome.org>
1608 * configure.in: Incremented version to 1.3.11.
1610 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1612 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1613 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1616 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1618 * configure.in: Added "fa" to ALL_LINGUAS.
1620 2003-12-20 Arafat Medini <lumina@silverpen.de>
1622 * configure.in: Added "ar" to ALL_LINGUAS
1624 2003-12-16 Bill Haneman <billh@gnome.org>
1626 * registryd/registry-main.c:
1628 Set the reg_env DISPLAY variable before registering the
1629 activated registry service. Fixes bug #129479.
1631 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1633 * configure.in: Added "id" in ALL_LINGUAS
1634 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1636 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1638 * registryd/deviceeventcontroller.c (global_filter_fn):
1639 When an event is consumed discard any XEvents were added to
1640 the queue while dealing with the the event. This can happen if
1641 processing of the event takes a long time. Call XUngrabKeyboard
1642 if an event was discarded. This fixes bug $124837.
1643 Only call wait_for_release_event for a KeyPress.
1644 Use local variable display instead of spi_get_display().
1645 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1648 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1650 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1651 Allow for mask to contain values other than NumLock mask.
1654 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1656 * registryd/devieceventcontroller.c:
1657 (wait_for_release_event): Change first parameter from GdkEvent to
1659 (global_filter_fn); Correct call to wait_for_release_event.
1663 2003-12-08 Bill Haneman <billh@gnome.org>
1667 * registryd/ucs2keysym.c: New file.
1669 * registryd/deviceeventcontroller.c:
1670 (dec_keysym_for_unichar): Remove old partial implementation and
1671 replace with call to ucs2keysym(), which is much more complete.
1672 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1677 2003-12-05 Bill Haneman <billh@gnome.org>
1679 * configure.in: Version 1.3.9.
1681 * docs/reference/cspi/tmpl/spi_registry.sgml:
1682 Added reference to libspi/keymasks.h to the
1683 description of Registry queries: AccessibleKeyMaskType.
1686 2003-12-04 Bill Haneman <billh@gnome.org>
1688 Fix for bug #121974.
1690 * idl/Accessibility_Application.idl:
1691 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1692 setlocale's LC_TYPEs.
1693 (Accessibility::Application::getLocale): New method.
1694 Allows clients to query the locale, by type, of an app.
1697 * cspi/spi_application.c:
1698 (AccessibleApplication_getLocale): New method, wraps IDL above.
1700 * libspi/application.c:
1701 (spi_application_class_init): Init epv entry for getLocale.
1702 (impl_accessibility_application_get_locale): Impl for above.
1704 * test/test-simple.c:
1705 (test_application): Added assertion for getLocale, i.e.
1706 that the string from AccessibleApplication_getLocale (app, type)
1707 is the same as that from setlocale (type, NULL);
1709 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1711 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1712 the keyboard on a timeout intil the key state goes from pressed to
1713 released. Fixes bug #111429.
1715 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1717 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1718 root object so that it is present when a context menu in an
1719 out-of-process applet is popped up.
1720 (spi_atk_bridge_do_registration): Create acceessible application root
1721 object only if it does not exist.
1723 This fixes bug #125834.
1725 2003-12-01 Bill Haneman <billh@gnome.org>
1727 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1730 Added enum for AccessibleStreamableContentSeekType.
1731 (AccessibleStreamableContent_freeContentTypeList): New.
1733 * cspi/spi_streamablecontent.c:
1734 (accessible_bonobo_stream_client_seek): New private method.
1735 (AccessibleStreamableContent_seek): Implemented this method,
1736 using Bonobo_Stream_seek.
1737 (AccessibleStreamableContent_freeContentTypeList): New method
1738 for freeing the return value from
1739 AccessibleStreamableContent_getContentTypes.
1740 (stream_cache_item_free): Replaces stream_release; stop leaks.
1741 (stream_release): removed.
1742 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1743 free the memory properly.
1745 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1747 Fix for bug #116009.
1749 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1751 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1753 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1755 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1757 2003-12-01 Bill Haneman <billh@gnome.org>
1759 Fix for bug/rfe #127463.
1761 * idl/Accessibility_Accessible.idl:
1762 (getLocalizedRoleName): New.
1763 (unimplemented4): Removed (replaced by above).
1765 * libspi/accessible.c:
1766 (impl_accessibility_accessible_get_local_role_name): New.
1767 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1771 (Accessible_getLocalizedRoleName): New.
1773 * cspi/spi_accessible.c:
1774 (Accessible_getLocalizedRoleName): New.
1776 2003-12-01 Bill Haneman <billh@gnome.org>
1778 Fix for bug #118581.
1779 * idl/Accessibility_Text.idl:
1780 (getDefaultAttributes): New.
1781 (unimplemented4): Removed (replaced by above method).
1784 (impl_getDefaultAttributes): New method.
1785 (spi_text_class_init):
1786 initialize the get_default_attributes slot in the epv.
1789 (AccessibleText_getDefaultAttributes): New prototype.
1792 (AccessibleText_getDefaultAttributes): New method.
1794 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1796 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1797 write beyond the end of the table. Fixes bug #120473.
1799 2003-09-30 Christian Rose <menthos@menthos.com>
1801 * configure.in: Added "eu" to ALL_LINGUAS.
1803 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1805 * configure.in: ALL_LINGUAS: Added no.
1807 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1809 * configure.in: Added lt to ALL_LINGUAS.
1811 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1813 * atk-bridge/bridge.c:
1814 (atk_bridge_init): Register event listeners always even for
1815 out-of-process applet.
1816 (spi_atk_bridge_toplevel_added): Remove call to
1817 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1818 (spi_atk_bridge_toplevelk_removed): Remove call to
1819 spi_atk_deregister_event_listenersa as the listeners are now always
1821 (spi_atk_bridge_register_application): Remove call to
1822 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1824 This fixes bug #120991.
1826 * libspi/table.c (impl_getColumnDescription): Correct typo,
1827 pointed out by Bolian.Yin@sun.com.
1829 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1831 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1833 2003-09-08 Bill Haneman <billh@gnome.org>
1835 * configure.in: Revved to 1.3.7.
1837 This is the GNOME 2.4.0 release of at-spi.
1839 * docs/reference/cspi/Makefile.am:
1840 Removed spurious inclusion of 'index.sgml' in the
1841 html directory; this was breaking make distcheck and
1842 also some other build environments.
1844 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1846 * registryd/registry.[ch}:
1847 Add queue_handler_id and focus_object to SpiRegistry data structure.
1848 (registry_flush_event_queue): If event being discarded is
1849 "state-change:focused" store object as focus_object.
1850 (registry_start_queue): Remove queue handler and focus object
1852 (registry_discard_event): New function which discards a focus event
1853 if we had stored focus object in the registry.
1854 (registry_queue_event): Add new check that is_queueing is set as this
1855 function is reentrant.
1856 (registry_filer_event): Add call to registry_discard_event.
1858 This resolves issues raised in bug #108664.
1860 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1862 * configure.in: Added "bn" to ALL_LINGUAS.
1864 2003-09-04 Bill Haneman <billh@gnome.org>
1866 * cspi/spi_event.c: Documentation improvements for
1867 (SPI_registerAccessibleKeylistener).
1869 * docs/reference/tmpl/spi_registry.sgml:
1870 Documentation improvements for SpiAccessibleKeylistenerCB.
1872 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1874 * configure.in: Added "ro" to ALL_LINGUAS.
1877 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1879 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1880 not decremented to zero. Fixes bug #120725.
1882 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1884 * configure.in: Added "ja" to ALL_LINGUAS.
1886 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1888 * configure.in: Added "is" to ALL_LINGUAS.
1890 2003-08-22 Christian Rose <menthos@menthos.com>
1892 * configure.in: Added "nl" to ALL_LINGUAS.
1894 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1896 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1897 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1899 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1901 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1902 type for unspecified exception.
1903 * cspi_streamablecontect): Add include of string.h for memcpy.
1904 (stream_release): Correct call to bonobo_object_release_unref
1905 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1906 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1907 argument of _cspi_expection_throw.
1908 * libspi/hyperlink.c: Add include of libspi/action.h:
1909 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1910 * libspi/streamablecontent.c: add include of libspi/component.h.
1911 * regisrtyd/deviceeventcontroller.c:
1912 (spi_dec_translate_mask): Removed unused variable priv.
1913 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1914 * registryd/registry.c:
1915 (registry_filter_event): Remove unused variable queue_is-empty.
1916 (impl_registry_notify_event): Use correct modifier in fprintf call.
1918 This fixes compiler warnings reported in bug #120220.
1920 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1922 * registryd/registryd.c: Remove this file.
1924 2003-08-17 Sanlig Badral <badral@openmn.org>
1926 * configure.in: Added mn to ALL_LINGUAS.
1928 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1930 * configure.in: Added et to ALL_LINGUAS.
1932 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1934 * test/event-listener-test.c: Change active-descendant to
1935 active-descendant-changed.
1937 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1939 * configure.in: Added "fi" in ALL_LINGUAS.
1941 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1943 * configure.in: Added "hi" in ALL_LINGUAS.
1945 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1947 * configure.in: Revved to 1.3.6.
1951 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1953 * registryd/deviceeventcontroller.c
1954 (spi_device_event_controller_object_finalize): Fix typo in previous
1957 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1959 * registryd/deviceeventcontroller.c
1960 (spi_device_event_controller_object_finalize): Fix build on
1961 systems without XEvIE.
1963 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1965 * acconfig.h, configure.in, registryd/Makefile.am,
1966 registryd/devicecontoller.[ch]: Add XEViE support.
1968 2003-08-06 Wang Jian <lark@linux.net.cn>
1970 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1972 2003-08-06 Metin Amiroff<metin@karegen.com>
1974 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1976 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1978 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1979 MODIFIER_ALT in correct place.
1981 This fixes part of bug #118114.
1983 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1985 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1987 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1989 * configure.in: Added "ko" to ALL_LINGUAS.
1991 2003-07-28 Ole Laursen <olau@hardworking.dk>
1993 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1995 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1997 * configure.in: Added "sq" to ALL_LINGUAS.
1999 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2001 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2003 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2005 * configure.in: updated ALL_LINGUAS list
2007 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2009 * configure.in: Added Belarusian to ALL_LINGUAS.
2011 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2013 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2015 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2016 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2018 This fixes bug #116949.
2020 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2022 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2023 Correct CSPI to SPI in function documentation.
2025 This fixes bug #118054.
2027 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2029 * configure.in: Added Russian to ALL_LINGUAS.
2031 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2033 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2035 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2037 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2039 2003-07-10 Joel Brich <joel.brich@laposte.net>
2041 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2043 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2045 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2047 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2049 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2050 resources allocated for AccessibleEvent. See cspi_event().
2052 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2053 static variable streams to NULL.
2055 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2056 Update so that AcessibleEvent_ref will work.
2058 This fixes bug #116624.
2060 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2062 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2064 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2066 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2068 2003-07-02 Christian Neumair <chris@gnome-de.org>
2070 * configure.in: Added "de" (German) to ALL_LINGUAS.
2072 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2074 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2076 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2078 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2080 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2082 * configure.in: Added "pl" to ALL_LINGUAS.
2084 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2086 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2088 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2091 (get_action_from_servant):
2092 Removed assertion that action is implemented on an AtkObject.
2094 * libspi/hyperlink.c:
2095 (spi_hyperlink_new):
2096 Aggregate AccessibleAction interface on the hyperlink object if
2097 the object implements AtkAction. (This convention is used in
2100 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2102 * configure.in: Revved to 1.3.5.
2104 * registryd/Accessibility_Registry.server.in.in:
2105 Marked up appropriate strings for translation.
2107 * atk-bridge/bridge.c: Marked a couple of
2108 user-visible warnings for translation. Questionable
2109 whether they are really useful, but possibly so.
2112 2003-06-28 Christian Rose <menthos@menthos.com>
2114 * configure.in: Added "sv" to ALL_LINGUAS.
2116 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2118 * registryd/registry.c:
2119 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2120 (registry_defer_on_event): Defer focus: events, this is an
2121 improvement to the patch for bug #108664.
2123 * TODO: Update with 2.4/"Dev Complete" items.
2125 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2127 * atk-bridge/bridge.c:
2128 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2129 looks up signals once.
2130 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2131 if doing registration.
2132 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2133 when doing registration.
2135 This fixes bug #115014.
2137 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2139 * atk-bridge/bridge.c:
2140 (atk_bridge_init): Add signal handler for children-changed:remove on
2141 root when in a BonoboComponent.
2142 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2143 for first toplevel only other incrememt variable toplevels.
2144 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2145 application and remove listeners.
2146 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2148 (spi_atk_deregister_event_listeners): New function which removes
2150 (reinit_register_vars): New fuction which reinitializes variables.
2152 This fixes bug #111578.
2154 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2156 * configure.in: version 1.3.4.
2158 * cspi/spi_accessible.c:
2159 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2162 2003-06-13 Michael Meeks <michael@ximian.com>
2164 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2166 * cspi/spi_main.c (cspi_peek_ev): impl.
2168 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2170 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2172 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2174 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2175 SPI_ROLE_AUTOCOMPLETE
2177 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2179 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2180 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2182 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2184 * libspi/streamablecontent.h:
2185 * libspi/streamablecontent.c:
2186 New files, provide implementation/wrappers for
2187 Accessibility_StreamableContent.
2189 * cspi/spi_streamablecontent.c:
2190 Connected the C wrappers to the libspi C bindings.
2191 (AccessibleStreamableContent_close): New method.
2194 (AccessibleStreamableContent_close): New method, needed
2195 since we have an "open, [seek], read, close" model in cspi.
2197 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2199 Fix for #108664; Padraig's revision of my original patch.
2201 * registryd/registry.h:
2202 Added event queue list, is_queuing, and exit_notify_timeout
2203 to the registry struct.
2205 * registryd/registry.c:
2206 (registry_init): Initialize new struct from registry.h.
2207 (impl_registry_notify_event):
2208 Filter events before notifying, in case some need to be
2210 (registry_filter_event): New,
2211 we defer certain incoming events (for instance
2212 window:deactivate) because we may wish to hide
2213 or reject them based on pending events. This is
2214 mostly a workaround for bug #108664.
2215 (registry_queue_event, registry_start_queue): New.
2216 (registry_defer_on_event): Test event to see if it
2218 (registry_reset_on_event): Returns TRUE if the
2219 event should cause a queue reset.
2220 (registry_discard_on_event): Returns TRUE if the event
2221 should cause the previous queue contents to be discarded.
2222 (registry_timeout_flush_queue): Flushes the pending event
2223 queue if no reset/discard-triggering events have come in
2224 within the timeout period.
2225 (registry_emit_event): New.
2226 (registry_clone_notify_context): New, used when queueing the
2227 event notify contexts.
2229 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2231 * configure.in: Version revved to 1.3.2, lt 0.9.2
2232 Incremented ATK required version to 1.3.4.
2234 * cspi/spi_registry.c:
2235 (SPI_generateKeyEvent):
2236 We now pass the keystring along if it's non-null.
2238 * registryd/deviceeventcontroller.c:
2239 (keysym_mod_mask): New method, returns modifier mask
2240 required to generate a keysym from a given keycode.
2241 (dec_synth_keysym): New method.
2242 (dec_synth_keystring): New method.
2243 (dec_get_modifier_state): New method.
2244 (dec_lock_modifiers): New
2245 (dec_unlock_modifiers): New.
2246 (dec_keysym_for_unichar): New, rather brute-force
2247 conversion from UCS-4 to X KeySyms. Only works for
2248 Latin at the moment, with partial implementations for
2249 Greek, Hebrew, and (incomplete) Katakana.
2250 (impl_generate_keyboard_event): Now implement
2251 "KEYSTRING" synthesis and implement "KEYSYM"
2253 (keycode_from_keysym): Improved, passes a returned
2254 modmask value now if the corresponding param is non-NULL.
2256 Fixes bugs #92143 and #109776.
2259 * test/keysynth-test.c:
2260 New test program for key synthesis, to confirm fixes for
2264 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2266 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2268 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2269 Add line for RELATION_POPUP_FOR
2271 * docs/reference/cspi/tmpl/spi_relation.sgml:
2272 Add relation SPI_RELATION_POPUP_FOR
2274 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2275 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2277 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2279 * libspi/relation.c (spi_init_relation_type_table):
2280 Add line for RELATION_POPUP_FOR
2282 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2284 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2285 there are still windows which have not been deleted and emit
2286 window:deactivate, if necessary and window:destroy events.
2287 This fixes bug #114370. The change on June 5th was not correct.
2289 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2291 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2294 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2296 New methods for client exception handling and interception.
2297 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2298 (SPI_exceptionHandlerPop): You guessed it...
2299 (SPI_getSourceType): Return the type of object which offended.
2300 (SPI_getExceptionCode): Return an enum code telling, possibly,
2301 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2302 (SPIAccessibleException_getSource): get the source object for
2303 exceptions that come from Accessibles, if SPIExceptionSourceType is
2304 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2305 (SPIException_getDescription): New, returns a string description of
2306 the problem. [Not yet a stable ABI, strings are not frozen]
2308 * cspi/spi-private.h:
2309 Added implementation details of opaque SPIException
2313 Implementations of above. Also
2314 (_cspi_exception_throw): new private method that
2315 dispatches exceptions to handlers, called from cspi-bonobo.c
2317 * cspi/bonobo/cspi-bonobo.c:
2318 (cspi_check_ev): call _cspi_exception_throw.
2319 Don't print a warning message if the exception has been
2320 handled by _cspi_exception_throw.
2322 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2324 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2325 there are still windows which have not been deleted and emit
2326 window:deactivate, if necessary and window:destroy events.
2327 This fixes bug #114370.
2329 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2332 (cspi_accessible_is_a): Make non-fatal
2333 if the object reference is dead.
2335 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2337 * cspi/spi_main.c: #include <stdio.h>
2338 * test/simple-at.c: ditto
2339 * test/event-listener-test.c: ditto
2340 * test/screen-review-test.c: ditto
2342 2003-05-30 Michael Meeks <michael@ximian.com>
2344 * test/test-simple.c (main): use CORBA_ORB_perform_work
2345 instead of an unnecessary linc_ call.
2347 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2349 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2350 Add SPI_STATE_INDETERMINATE.
2352 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2355 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2357 * libspi/stateset.c (init_state_type_tables): Add support for
2360 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2362 * configure: Update versions of atk and gail required.
2363 This fixes bug #113268.
2365 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2367 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2369 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2371 * libspi/Makefile.am:
2372 Ensure headers are generated before being used by c sources.
2374 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2377 Simplified lt versioning rules.
2378 Incremented version to 1.3.0, to indicate that we're on the
2379 unstable branch now.
2381 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2383 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2384 Add MKDB_OPTIONS=--outtput-format=xml
2386 * docs/reference/cspi/at-spi-cspi-docs.sgml
2387 docs/reference/idl/at-spi-idl-docs.sgml:
2388 Convert to Docbook XML.
2390 This fixes bug #111793.
2392 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2394 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2395 AcccessibleKeyEventType, AccessibleKeyMaskType.
2397 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2399 * cspi/state-types.h: Add documentation for AccessibleState.
2401 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2402 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2403 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2404 AccessibleComponentLayer.
2406 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2409 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2411 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2412 Accessible. Add description of AccessibleEvent,
2413 AccessibleEventListenerCB.
2415 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2418 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2419 documentation. Add description of AccessibleKeystrokeListenerCB,
2420 AccessibleKeyEventMask, AccessibleModifierMaskType,
2421 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2422 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2424 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2427 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2430 This fixes bug #104730.
2432 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2434 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2435 Set is_text field of Accessibility_DeviceEvent data structure.
2437 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2438 is-text field of AccessibleDeviceEvent data structure.
2440 This addresses part of bug #108666.
2442 * registryd/devcieeventcontroller.c: Unset debug option.
2444 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2446 * cspi/accessible.c:
2447 (cpi_initial_relation_type_table): New function which initializes
2448 mapping between Accessibility_RelationType and AccessibleRelationType.
2449 (cspi_relation_type_from_spi_relation_type): New function which
2450 translates an Accessibility_RelationType into an AccessibleRelationType.
2451 (AccessibleRelation_getRelationType): Use
2452 cpi_relation_type_get_spi_relation_type to return correct value.
2453 (spi_state_to_corba): Return correct type for default case.
2455 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2456 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2458 * cspi/cspi-bonobo-listener.c:
2459 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2462 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2463 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2464 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2465 libspi/image.c, libspi/listener.c, libspi/selection.c,
2466 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2467 registryd/desktop.c, registryd/registry.c:
2468 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2470 * libspi/eventlistener.c
2471 Remove semicolon after BONOBO_TYPE_FUNC.
2473 * libspi/relation.c:
2474 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2475 (spi_init_relation_type_table): Initialize using correct type.
2477 * registryd/desktop.c:
2478 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2479 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2480 of Accessibility_KeyEventType.
2482 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2485 * tests/simple-at.c, tests/screen-review-test.c:
2486 Add include for <strings.h>.
2488 * tests.stress-test.c:
2489 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2491 These changes fix compiler warnings when using FORTE compiler on
2492 Solaris; fixes bug #107479.
2495 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2498 * configure.in: revved to 1.1.10
2500 * libspi/keymasks.h:
2501 (SPI_KEYMASK_NUMLOCK): Added.
2503 * registryd/deviceeventcontroller.c:
2504 (spi_key_event_matches_listener): AND with a smaller
2505 bitmask (as we should).
2506 (spi_dec_translate_mask):
2507 New method, sets the virtual NumLock modifier bit
2508 if numlock is on. Eventually it can handle other virtual
2509 modifier bits if needed, or other marshalling from
2510 at-spi modifier masks to platform (X) masks.
2511 (spi_dec_key_listener_new):
2512 Call spi_dec_translate_mask to set up virtual mod bits
2513 in the 'mask' field when creating a new listener struct.
2514 (spi_dec_emit_modifier_event):
2515 Set the virtual (i.e. NumLock) bits before emitting event.
2516 (spi_controller_register_with_devices):
2517 Query for the NumLock modifier 'physical' bit if Xkb is
2518 present, for use in above methods.
2522 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2524 * registryd/deviceeventcontroller.c:
2525 (spi_keystroke_from_x_key_event):
2526 Instead of checking to see if the keysym is
2527 printable, check the string from XLookupString
2528 if available, get the first unicode character from it,
2529 and call g_unichar_isprint to determine whether the
2530 is_text flag should be TRUE or FALSE.
2534 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2536 * atk-bridge/bridge.c: Add support for extended events
2537 * cspi/spi_event.c: Add documentation and implementation for
2539 * tests/event-listener-test.c: Add tests for extended events.
2541 This fixes bugs #100424 and #100426.
2543 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2545 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2546 of LT_CURRENT. This fixes bug #89350.
2548 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2550 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2551 number of signal parameter values before accessing them. This fixes
2554 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2556 * configure.in: Fixed duplicate inclusion of -lspi.
2557 * branched for gnome-2-2/HEAD.
2558 [created tag "gnome-2-2"]
2560 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2562 * configure.in: 1.1.9 release.
2565 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2567 [needed by GOK, to fix bugs 107985 and 107988]
2568 * registryd/deviceeventcontroller.c:
2569 (spi_dec_clear_unlatch_pending):
2570 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2571 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2572 (spi_dec_init_mouse_listener):Emit warning if mouse button
2574 (spi_device_event_controller_forward_mouse_event):
2575 Removed unnecessary parens from a conditional.
2576 (global_filter_fn):Added TODO comment.
2577 (impl_generate_keyboard_event):
2578 Cancel a pending relatch if a 'delatching' key was
2581 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2583 * atk-bridge/bridge.c:
2584 Change atk_signal_child_changed to atk_signal_children_changed.
2585 Reorganize code in spi_atk_bridge_signal_listener().
2587 * test/event-listener-test.c:
2588 Add children_changed_listener and report_children_changed_event()
2589 to test AccessibleChildEvent_getChildAccessible.
2591 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2593 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2594 g_strdup to CORBA_String_dup (bug #105291)
2596 * test/event-listener-test.c (report_text_event): Add call to
2599 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2601 * registryd/deviceeventcontroller.c:
2602 (spi_keystroke_from_x_key_event):
2603 Fix string and keysym return codes to match modifier state.
2606 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2608 * registryd/deviceeventcontroller.c:
2609 (spi_keystroke_from_x_key_event):
2610 Fix segv due to improper use of isprint(c). [bug #107254]
2612 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2615 (get_accessible_text_boundary_type):
2616 Move default return value to (new) default case in switch.
2617 (get_accessible_text_clip_type):
2618 Move default return value to (new) default case in switch.
2620 * libspi/application.c:
2621 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2622 Remove unused methods.
2623 (impl_accessibility_application_register_object_event_listener):
2624 Remove unused methods.
2627 Added #include of <math.h>.
2629 * registryd/deviceeventcontroller.c:
2630 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2631 we don't currently use this method.
2632 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2634 (impl_generate_key_event):
2635 Remove unused variables.
2636 (impl_generate_mouse_event):
2637 Initialize button to zero, just in case we get an invalid
2638 input. Added support for mouse buttons 4 and 5.
2639 (spi_device_event_controller_new):
2640 Removed unused variable declaration for 'private'.
2642 Added #include of <gdk/gdk.h>
2644 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2646 * configure.in: Update to work when X is not installed in expected
2647 location. Fixes bug #105836.
2649 * atk-bridge/bridge.c
2650 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2652 (spi_atk_register_event_listener): Add signal listener for
2654 (spi_atk_bridge_signal_listener): Event event when link-selected
2655 signal is emitted. (bug #104622)
2657 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2658 on returned string. (bug #105291)
2660 * test/event-listener-test.c: Add test for link-selected.
2662 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2664 * atk-bridge/Makefile.am: Correct typo in previous commit.
2666 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2668 * atk-bridge/Makefile.am: Allow for build directory to be different
2669 from source directory
2671 * registryd/Makefile.am: Allow for build directory to be different
2672 from source directory
2676 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2679 Fixed dependencies for libcspi so that libspi gets pulled in
2680 properly. Fixes 104741.
2684 Clean up inline docs a little.
2686 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2688 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2689 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2690 the AtkObject within an SpiDesktop.
2691 This addresses bug #101524.
2693 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2694 Remove call to gdk_init().
2696 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2697 so that Display is set when SpiDesktop is created.
2699 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2701 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2702 This fixes bug #102830.
2704 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2706 * test/test-simple.c: Update to take account of fact that GailButton
2707 now implements AtkText.
2708 (create_text_window): Set name on AtkObject for GtkEntry.
2709 (validate_accessible): Check accessible name before calling test_text().
2711 * libspi/Makefile.am: Fix problem with building outside of source
2712 directory. Bug #98120.
2714 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2715 typo in documentation comments. Bug #94275.
2717 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2719 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2721 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2724 Add includes to avoid compiler warnings on Solaris.
2725 (impl_getRangeExtents): Bug fix.
2727 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2729 Fix for 100944, [API addition approved by Gman and murrayc].
2736 * idl/Accessibility_Text.idl:
2737 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2738 (Text::getRangeExtents): New method for efficient
2739 bounds query of a text range.
2740 (Text::getBoundedRanges): New method for efficient
2741 clipping of text to bounding boxes.
2742 (unImplemented7, unImplemented8):
2743 Removed these padding methods to preserve bincompat.
2746 (impl_getRangeExtents): implementation of new IDL.
2747 (impl_getBoundedRanges): implementation of new IDL.
2748 (SpiTextRect): Internal use struct.
2749 (_spi_text_rect_union): internal method, calculates union of two
2750 SpiTextRect bounding rects.
2751 (_spi_text_range_seq_from_gslist): internal method, allows us
2752 to build our sequence efficiently as a gslist then convert it
2754 (_spi_bounds_contain): internal method, determines whether
2755 a text character is "in" or "out" of a clip rect according to
2756 values of TEXT_CLIP_TYPE.
2757 (spi_text_class_init): Initialize the new methods in the epv.
2760 (AccessibleTextClipType): New enum used by screen review api.
2761 (AccessibleTextRange): New struct used by screen review api.
2762 (AccessibleText_getRangeExtents):
2763 cspi binding for Accessibility_Text_getRangeExtents.
2764 (AccessibleText_getBoundedRanges):
2765 cspi binding for Accessibility_Text_getBoundedRanges.
2766 (AccessibleTextRange_freeRanges): convenience method.
2769 (AccessibleText_getRangeExtents):
2770 cspi binding for Accessibility_Text_getRangeExtents.
2771 (AccessibleText_getBoundedRanges):
2772 cspi binding for Accessibility_Text_getBoundedRanges.
2773 (AccessibleTextRange_freeRanges): convenience method.
2774 (get_accessible_text_clip_type): internal conversion method.
2775 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2777 * registryd/deviceeventcontroller.c:
2778 (spi_dec_mouse_check):
2779 Improved behavior for mouse:abs events
2780 [same granularity as mouse:rel events, and no
2781 events when mouse is idle].
2783 2002-12-16 Michael Meeks <michael@ximian.com>
2785 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2787 * libspi/stateset.c (state_spi_to_atk): split out
2788 ( fix several remote array bounds nasties )
2789 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2790 (impl_remove): make safe from array bounds issues.
2791 (spi_atk_state_from_spi_state): impl.
2793 * libspi/stateset.h (spi_state_set_cache_is_empty):
2794 add a set of wrapper defines to get layering right.
2796 * cspi/spi_accessible.c: update state set stuff to
2799 2002-12-14 Michael Meeks <michael@ximian.com>
2801 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2802 to avoid 2 roundtrips to the registry per key event
2803 (spi_atk_bridge_key_listener): upd.
2804 (deregister_application): release the dec.
2806 * registryd/registry.c (notify_listeners_cb):
2807 bin lots of re-enterant complexity - we no longer
2808 do a round-trip bonobo ref here, ensure that a single
2809 listener's exception failure won't poison all other
2811 (impl_registry_notify_event): bin obvious memory leak.
2813 2002-12-13 Michael Meeks <michael@ximian.com>
2815 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2816 init the ev so the error is meaningful.
2817 (spi_atk_bridge_key_listener): ditto.
2819 * cspi/spi_main.c (cspi_ev): init the ev so we start
2820 with a clean slate, otherwise the first exception
2821 kills us completely.
2823 * cspi/spi_text.c (get_accessible_text_boundary_type):
2824 add a fallthrough for no warnings.
2826 * cspi/spi_registry.c: prune unused warnings.
2828 * cspi/spi_main.c (cspi_object_take): fix
2829 mind-blowing brokenness ( by watching the compile
2832 * cspi/spi_accessible.c (Accessible_getStateSet):
2833 re-impl. to use an AtkStateSet.
2834 (spi_state_type_from_accessible_state),
2835 (init_state_table): bin these.
2837 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2839 (atk_state_set_from_accessibility_state_set): here.
2841 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2842 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2843 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2844 (AccessibleStateSet_add, AccessibleStateSet_remove),
2845 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2846 (AccessibleStateSet_isEmpty): re-write to use a local
2849 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2851 * configure.in: Revved to 1.1.7 (new keymask vals).
2853 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2855 * libspi/keymasks.h:
2856 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2858 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2861 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2862 to compare two CORBA_TypeCodes.
2863 (cspi_internal_event_add): Silence warning from FORTE compiler.
2865 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2866 avoid implicit declaration of functions.
2868 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2870 * atk-bridge/bridge.c:
2871 (spi_atk_bridge_init_event_type_consts): Store signal id for
2872 active-descendant-changed signal.
2873 (spi_atk_register_event_listeners): Add signal listener for
2874 active-descendant-changed signal,
2875 (spi_atk_bridge_signal_listener): Move code in function
2876 spi_atk-signal_emit_event() into this function.
2877 Add support for active-descendant-changed
2878 Update support for child-changed signal.
2879 (spi_bridge_window_event_listener): Silence warning.
2881 * libspi/spi_private.[ch]:
2882 (spi_init_any_object): Change second parameter from CORBA_Object to
2884 Omit call to CORBA_Object_duplicate().
2885 Set CORBA_any's _value to CORBA_Object*.
2887 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2893 (AccessibleEvent_ref, AccessibleEvent_unref):
2894 New methods, for persisting an event outside the emission context.
2895 Must be used if the new accessor methods are to be called
2896 outside of the event listener's callback.
2898 * cspi/bonobo/cspi-bonobo.c:
2899 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2900 as second parameter instead of NULL, so we can call
2901 cspi_check_ev afterwards.
2904 (cspi_object_take): New internal method,
2905 converts a CORBA_Object reference to a hard ref on
2906 an Accessible if possible, returning NULL if the object
2907 reference is invalid or an Accessible * otherwise.
2910 (AccessibleEvent_ref):
2911 Increment the event's internal private refcount, and
2912 add the event's internal struct to an internal cache
2913 if it's not already there.
2914 (AccessibleEvent_unref):
2915 Decrement the event's refcount and remove it from
2916 the cspi event cache if refcount==0.
2917 (cspi_event_compare): New private method.
2918 Compares two event structs via their ids. Used
2920 (cspi_internal_event_lookup): New private method.
2921 (cspi_internal_event_check): New private method,
2922 a 0-order sanity check for events to make sure their
2923 private data is intact.
2924 (cspi_internal_event_add, cspi_internal_event_remove):
2925 New private methods for managiing the event cache.
2927 * cspi/bonobo/cspi-bonobo-listener.c:
2929 Initialize the new private data elements (id, magic, ref_count).
2931 * atk-bridge/bridge.c:
2932 (spi_atk_bridge_signal_listener):
2933 Fixed bug #100530, passing wrong params to emission func.
2935 * registryd/deviceeventcontroller.c:
2936 (spi_dec_button_update_and_emit):
2937 Fixed type in mask bit operations; fix for #99799.
2939 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2941 Removed some of the more dangerous workarounds from
2942 previous commit; they are only needed by GOK, which
2943 in reality should be using another method to accomplish
2944 the goals. So on reconsideration some of the workarounds
2945 need to be reverted:
2947 * registryd/deviceeventcontroller.c:
2948 (spi_keycodes_contain, spi_dec_init_keycode_list):
2949 Removed these methods, used only by a nasty hack to try
2950 and detect whether a key synthesis should be allowed
2951 to reset the XKB latch state or not. This code was only
2952 required to work around an interaction between GOK,
2953 button events, and XKB.
2954 (impl_generate_key_event):
2955 Removed hack at end of key generation that tried to
2956 "do the right thing" if XKB latch keys were generated
2957 in the midst of button press/release pairs.
2960 Added a check for HAVE_XINPUT. Not normally used yet.
2962 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2964 Workarounds and fixes for mouse event/XKB interaction.
2966 * registryd/deviceeventcontroller.c:
2967 (spi_keycodes_contain, spi_dec_init_keycode_list):
2968 New internal methods.
2969 (spi_dec_set_unlatch_pending):
2970 Split the method that tells XKB to expect an
2971 unlatch (and revert it) out of the rest of the
2972 event handling code. This method is called by the
2973 two mouse event handlers (the poll and the filter).
2974 (spi_dec_update_and_emit, spi_dec_mouse_check):
2975 New methods split from spi_dec_poll_mouse_moved.
2976 The second one is now called from inside the filterFn
2977 when an XKB delatch event is received, to determine
2978 whether to revert the delatch or not.
2979 (spi_poll_mouse_moved): Refactor; also we can now
2980 properly handle the case where multiple button states
2981 have changed between polling cycles and we didn't get
2982 notified due to another client's grab.
2984 Synchronize the server while handling an XKB notification.
2985 Ugly, but apparently necessary to avoid nasty races.
2986 Check the mouse state on receipt of an XKB latch change,
2987 to decide whether to revert the latch or not. (Latches are
2988 reverted if there is an immediately preceding mouse button
2989 event that a client has consumed, in which case we don't want
2990 the user to see the side-effect of the event).
2991 (spi_device_event_controller_forward_mouse_event):
2992 Check for modifier events and fire before resetting mouse_mask_state,
2993 prevents losing modifier events.
2995 (impl_generate_keyboard_event):
2996 If we've just generated a keyboard event for a non-shift key,
2997 we don't want to revert the pending XKB latch.
2998 Otherwise, check the modifier state (via a call to
2999 spi_dev_mouse_check) and set the relatch mask to
3000 that state before returning.
3002 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3005 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3008 * atk-bridge/bridge.c:
3009 (spi_atk_register_event_listeners):
3010 Don't re-register for ATK events if the registry has died
3011 and the app needs to re-register; the ATK listeners are in
3012 process and doing so will cause duplicate emission.
3014 * registryd/deviceeventcontroller.c:
3015 (spi_poll_mouse_moved):
3016 Reformat the source, detect and emit multiple button-change
3017 events (i.e. if multiple buttons have changed between poll
3019 Add code to detect mouse-down events even when the pointer
3020 is grabbed; workaround for GOK bug 98420.
3021 (spi_controller_register_with_devices):
3022 Call XTestGrabControl with 'impervious' flag set to True,
3023 allows us to synthesize events and query the pointer even during
3024 an active grab by another client.
3025 (spi_device_event_controller_forward_mouse_event):
3026 Set the mouse_mask_state to the mouse_button_state from
3027 the intercepted event, to synchronize the grab listener with
3030 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3032 * cspi/spi_accessible.c:
3033 (AccessibleRole_getName):
3034 Added necessary strings for making this (deprecated)
3035 method work with the new role types.
3036 (init_role_table, role_table):
3037 Added definition of SPI_ROLE_APPLICATION.
3039 * libspi/spi-roletypes.h:
3040 Added SPI_ROLE_APPLICATION.
3042 * idl/Accessibility_Role.idl:
3043 Added ROLE_APPLICATION.
3045 * docs/reference/cspi/at-spi-cspi-decl.txt:
3046 Added SPI_ROLE_APPLICATION to docs.
3048 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3050 * cspi/spi_accessible.c
3051 (cspi_init_role_table): Do not write beyond end of role_table.
3052 (Accessible_getRole): Use correct type for value returned by
3053 Accessibility_Accessible_getRole().
3055 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3056 beyond end of role_table. (This fixes bug #98269)
3058 * libspi/application.c: Add include file spi-private.h for
3059 definition of spi_init_any_nil.
3061 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3065 * libspi/spi-private.h:
3066 Added DGB() macro, and extern int _dbg declaration.
3068 * registryd/registry.c:
3069 (definitions) storage for _dbg.
3070 (spi_registry_init):
3071 Get environment variable "AT_SPI_DEBUG".
3072 (spi_registry_set_debug):
3073 New method, to initialize _dbg value.
3074 (spi_listener_struct_new, spi_registry_object_finalize):
3075 (notify_listeners_cb):
3076 Changed fprintfs to use DBG and g_warning().
3078 * registryd/deviceeventcontroller.c:
3079 (_deregister_keygrab, spi_controller_register_device_listener):
3080 Changed debug/warning messages to use DBG macro.
3082 * libspi/listener.c:
3083 (impl_notify_event):
3084 Changed warning messages to use DBG macro and g_warning().
3086 * atk-bridge/bridge.c:
3087 (atk_bridge_init, spi_atk_bridge_get_registry):
3088 (spi_atk_bridge_exit_func):
3089 (spi_atk_bridge_property_event_listener):
3090 Changed status, warning, and error messages to use
3091 g_warning, g_message, and DBG macros.
3094 Read the state of the AT_SPI_DEBUG environment variable
3095 and set a local '_dbg' accordingly.
3097 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3099 FIXES for 98836, 98842, other bugs.
3102 Revved to 1.1.4, interface-age=4, binary-age=4.
3104 * registryd/deviceeventcontroller.c:
3106 Fixed crasher bug in last_mouse_pos initialization.
3108 * registryd/registry.c:
3109 (desktop_add_application, desktop_remove_application):
3110 Added (and then commented out) some support for
3111 object context marshalling. [TODO]
3113 * atk-bridge/bridge.c:
3114 (spi_atk_bridge_event_context_create):
3115 Commented out object context creation until it can
3116 be properly tested and debugged.
3118 * registryd/registry.c:
3119 (impl_registry_notify_event):
3120 Fixed crasher bug, we were calling
3121 spi_re_entrant_list_foreach () with an empty list.
3123 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3125 * idl/Accessibility_Action.idl:
3126 * idl/Accessibility_Component.idl:
3127 * idl/Accessibility_Desktop.idl:
3128 * idl/Accessibility_Event.idl:
3129 * idl/Accessibility_Hyperlink.idl:
3130 * idl/Accessibility_Image.idl:
3131 * idl/Accessibility_Relation.idl:
3132 * idl/Accessibility_Selection.idl:
3133 * idl/Accessibility_State.idl:
3134 * idl/Accessibility_Value.idl:
3135 Updated unimplemented slot count to minimum of
3136 four for all interfaces, for ABI freeze.
3138 * idl/Accessibility_EditableText.idl:
3139 * idl/Accessibility_Text.idl:
3140 Updated unimplemented slot count to six
3143 * idl/Accessibility_Registry.idl:
3144 Updated unimplemented slot count to six
3145 (also for DeviceEventController),
3148 * idl/Accessibility_Table.idl:
3149 Updated unimplemented slot count to eight,
3152 * idl/Accessibility_Event.idl:
3153 Added CORBA_any "any_data" member to Event struct.
3155 * idl/Accessibility_Event.idl:
3156 Added CORBA_any "any_data" member to Event struct.
3158 * atk-bridge/bridge.c:
3160 atk_signal_text_changed, atk_signal_child_changed,
3161 signal ids queried from gtype system.
3162 (AtkBridgeEventContextType): New enum.
3163 (AtkBridgeEventContextData): New struct.
3164 (AtkBridgeEventContext): New struct.
3165 (atk_bridge_init_event_type_consts):
3166 New method, initializes type contants for comparison
3167 prior to emit_eventv.
3168 (atk_bridge_event_context_init): New method,
3169 initializes a CORBA_any from an AtkBridgeEventContext.
3170 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3171 initialize the event.any_data struct.
3172 (spi_atk_bridge_event_context_create): New method,
3173 creates an AtkBridgeEventContext from signal/event info.
3174 (spi_atk_bridge_event_context_free): New method.
3175 (spi_atk_emit_eventv): Changed to take an
3176 AtkBridgeEventContext parameter. We now initialize
3177 the event.any_data member prior to notifying the
3178 Registry, via the AtkBridgeEventContext.
3179 (spi_atk_bridge_property_event_listener):
3180 (spi_atk_bridge_state_event_listener):
3181 Match emit_eventv signature.
3182 (spi_atk_bridge_object_event_listener):
3183 Match emit_eventv signature, and create an
3184 event context from the event details.
3185 Free the event context afterwards.
3186 (spi_atk_bridge_window_event_listener):
3187 Create an event context, pass it to the
3191 (AccessibleEvent_getContextString):
3192 (AccessibleEvent_getContextObject):
3193 New methods, allow query of AccessibleEvent objects
3194 for more context details (via the "any_data" member
3195 of the Event struct, above).
3198 Definitions for AccessibleEvent_getContextString
3199 and AccessibleEvent_getContextObject.
3201 * cspi/spi_listener.h:
3202 (InternalEvent): New struct.
3205 (AccessibleEvent_getContextString):
3206 (AccessibleEvent_getContextObject):
3207 Implementations of new methods, for obtaining
3208 additional context information from some event types.
3210 * cspi/spi_registry.c:
3211 (SPI_registerGlobalEventListener):
3212 Added mention of active-descendant-changed event in docs.
3214 * cspi/cspi-bonobo-listener.c:
3216 Marshal the any into the AccessibleEvent via
3219 * libspi/spi-private.h:
3220 #include <orbit/orbit.h>
3222 (spi_init_any_string):
3223 (spi_init_any_object):
3224 New convenience function declarations.
3228 (spi_init_any_string):
3229 (spi_init_any_object):
3230 New convenience function implementations.
3232 * registryd/deviceeventcontroller.c:
3233 (spi_poll_dec_mouse_moved):
3234 (spi_device_event_controller_forward_mous_event):
3235 Initialize any_data member of event.
3236 (spi_deregister_controller_device_listener):
3237 Fix incorrect param pass which was preventing deregistration.
3239 * registryd/registry.c:
3240 (desktop_add_application):
3241 (desktop_remove_application):
3242 Add object data to event's any_data before dispatch.
3244 Fix for error messages from GAIL.
3246 * test/event-listener-test.c:
3247 Test new ContextString and "any_data" API:
3248 (report_text_event): New method query and output context string.
3249 (main): register a new text listener with report_text_event
3252 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3254 Fixes for bugs 98127 and 97914.
3255 * cspi/spi-roletypes.h:
3256 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3258 * cspi/spi-statetypes.h:
3259 Added SPI_STATE_MANAGES_DESCENDANTS
3261 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3262 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3263 * cspi/spi_accessible.c:
3264 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3265 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3266 Accessibility_STATE_MANAGES_DESCENDANTS
3267 * libspi/accessible.c:
3268 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3269 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3270 As requested by Bill, I also cleaned up the alignment.
3271 * libspi/relation.c:
3272 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3273 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3274 * libspi/stateset.c:
3275 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3276 Accessibility_STATE_MANAGES_DESCENDANTS
3277 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3278 Document changes reflecting modifications to roles.
3279 * docs/reference/cspi/tmpl/spi_relation.sgml:
3280 Document changes reflecting modifications to relations.
3281 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3282 Document changes reflecting modifications to states.
3284 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3287 Revved to 1.1.3, interface-age=3, binary-age=3.
3288 Added REBUILD macro.
3291 Removed accessx-gui from the tests, since we have a nice
3292 keyboard accessibility capplet now :-)
3294 * test/keysynth-demo.c:
3295 (increment_scan): removed do-nothing default: case,
3298 * test/visual-bell.c:
3299 (main) : removed do-nothing default: case,
3302 * cspi/spi_action.c:
3303 (AccessibleAction_getKeyBinding_):
3304 Documented keybinding string format.
3308 (AccessibleText_getAttributes):
3309 Documented the text attribute string format.
3310 It's changed to use semicolon delimiters also,
3311 to prevent clashes with CSS attributes, but the old
3312 trick of looking for ", " strings will still work
3313 (as unreliably as ever). Fix for bug related to 97916.
3316 Include <cspi/bonobo/cspi-bonobo-listener.h>
3317 Fixes build warning.
3318 (SPI_freeAccessibleKeySet):
3319 (AccessibleKeystrokeListener_addCallback):
3320 (AccessibleKeystrokeListener_removeCallback):
3321 Modify to use AccessibleDeviceListener API internally,
3322 instead of AccessibleKeystrokeListener.
3324 * idl/Accessibility_Event.idl:
3325 Added two more empty slots to EventListener (for a total of four).
3327 * idl/Accessibility_Accessible.idl:
3328 Added four empty slots to Accessible interface.
3330 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3332 * idl/Accessibility_Registry.idl:
3333 (KeyEventType, EventType):
3334 Marked KeyEventType as deprecated; it duplicates
3335 functionality of EventType, which has been extended to
3336 include Mouse-button events.
3337 (KeyEventTypeSeq): defined in terms of EventType.
3338 (registerDeviceEventListener, deregisterDeviceEventListener):
3339 New methods, for managing listeners to device events,
3340 which potentially may consume them.
3343 Added definition for AccessibleDeviceListener.
3345 * cspi/spi-listener.h:
3346 (enum AccessibleDeviceEventType):
3347 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3348 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3349 for backwards compat.
3350 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3351 and typedef'd AccessibleKeystroke to it for back-compat.
3352 (AccessibleDeviceListenerCB):
3353 New function prototype typedef.
3356 (AccessibleDeviceEventMask): New typedef.
3357 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3358 (AccessibleKeyMaskType):
3359 Set equivalent to AccessibleModifierMaskType for back-compat.
3360 (SPI_createAccessibleKeystrokeListener):
3361 (AccessibleKeystrokeListener_unref):
3362 Deprecated in favor of equivalent (better-named) new API below..
3363 keystroke listeners are like all device listeners.
3364 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3365 New API names for old features :-).
3366 (AccessibleDeviceListener_addCallback):
3367 (AccessibleDeviceListener_removeCallback):
3368 (SPI_registerDeviceEventListener):
3369 (SPI_deregisterDeviceEventListener):
3373 (SPI_createAccessibleKeystrokeListener):
3374 Use new preferred API, cspi_device_listener_new() and
3375 cspi_device_listener_add_cb().
3376 (AccessibleKeystrokeListener_removeCallback):
3377 Use new preferred API, cspi_device_listener_remove_cb().
3378 (AccessibleKeystrokeListener_unref):
3379 Use new preferred API, cspi_device_listener_unref().
3380 (SPI_createAccessibleDeviceListener):
3381 (AccessibleDeviceListener_addCallback):
3382 (AccessibleDeviceListener_removeCallback):
3383 Implementation of new API.
3385 * cspi/spi_registry.c:
3386 (SPI_registerDeviceEventListener):
3387 (SPI_deregisterDeviceEventListener):
3388 Implementation of new API. Fixed memory leak and removed need to
3389 allocate EventTypeSeq (thanks Michael for catching this).
3390 Squashed a wayward CORBA_exception_free that shouldn't get called.
3392 * cspi/bonobo/cspi-bonobo-listener.c:
3394 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3395 (cspi_key_event): renamed to cspi_device_event().
3396 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3397 Extended to handle mouse button events as well as key events.
3398 (CSpiKeystrokeListener):
3399 Class superceded by CSpiDeviceListener.
3400 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3401 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3403 * cspi/bonobo/cspi-bonobo-listener.h:
3404 (CSpiKeystrokeListener):
3405 Class superceded by CSpiDeviceListener.
3406 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3407 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3409 * libspi/Makefile.am:
3410 Replaced keystrokelistener.h and keystrokelistener.c
3411 with devicelistener.h and devicelistener.c; keystrokelisener.h
3412 stub retained for back-compat.
3414 * libspi/keystrokelistener.c:
3418 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3420 * registryd/deviceeventcontroller.c:
3421 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3422 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3423 (DEControllerPrivateData): Added xkb settings data.
3424 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3425 button release events (which can't be captured via XGrabButton).
3426 Don't dispatch via the 'normal' event mechanism if the device event was
3428 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3429 Handle the typeseq data in its new location (see above).
3430 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3431 New methods, for "generic" device listeners.
3432 (spi_controller_register_device_listener):
3433 Now handle mouse event listeners as well as key listeners.
3434 (spi_controller_notify_mouselisteners):
3435 New internal method.
3436 (spi_device_event_controller_forward_mouse_event):
3437 Now we notify mouse device listeners as well as generating the
3438 non-consumable "mouse:" events.
3440 We must check and restore the XKB
3441 modifier map if we consume the event, since the act of triggering
3442 a mouse event will normally reset the XKB latch. This is required for
3444 (spi_controller_register_with_devices):
3445 Load the XKB settings when registering, and register for XKB
3446 state notify events.
3447 (spi_key_eventtype_seq_contains_event):
3448 Renamed spi_eventtype_seq_contains_event, since it's used
3449 internally for all device event types now.
3450 (spi_key_event_matches_listener):
3451 Uses spi_eventtype_seq_contains_event now.
3452 (spi_device_event_controller_object_finalize):
3453 Free the private data and the XkbKeyboard struct.
3454 (impl_register_device_listener, impl_deregister_device_listener):
3455 Implementation of new IDL.
3456 (spi_deregister_controller_device_listener):
3457 New internal method.
3458 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3459 More efficient implementation, we don't have to create a new
3460 XkbControls structure every time we query.
3461 (spi_device_event_controller_class_init):
3462 Initialize the epv entries for the new IDL. Assign the
3463 "spi-dec-private" quark.
3464 (spi_device_event_controller_init):
3465 Initialize the private data.
3466 (spi_device_event_controller_forward_key_event):
3467 Removed a bogus CORBA_exception_free() call.
3469 * registryd/deviceeventcontroller.h:
3470 Replaced inclusion of keystrokelistener.h with
3473 * test/event-listener-test.c:
3474 (report_mouse_event):
3477 Added mouse-event device listener.
3479 * test/test-simple.c:
3480 (create_test_window):
3481 Fixed regression (we were instantiating a GtkRange,
3482 which is now an abstract class). Also fixed to match
3483 existing AtkRole names, this seems to have changed in ATK
3484 awhile ago; too late now I think, and the new
3485 mechanism is at least elegant and consistent with the
3486 glib enum "nick" APIs.
3488 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3490 * idl/Accessibility_Relation.idl:
3491 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3492 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3493 * idl/Accessibility_Role.idl:
3494 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3495 * idl/Accessibility_State.idl:
3496 add STATE_MANAGES_DESCENDANTS
3497 * test/event-listener-test.c:
3498 Added a listener for active-descendant events.
3500 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3502 * atk-bridge/bridge.c
3503 (atk_bridge_init): If application is Bonobo component wait until top
3504 level is added before registering
3505 (spi_atk_bridge_do_registration): New function which contains code,
3506 formerly in atk_bridge_init, to do application registration.
3507 (spi_atk_bridge_toplevel_added): Signal called when top level
3508 added to Bonobo component
3510 This fixes bug #83134.
3512 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3514 * registryd/deviceeventcontroller.c
3515 Fixed compilation error caused by calling gettimeofday()
3518 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3523 Added template for HAVE_XKB.
3526 Changes to check for XKB, and to set the HAVE_XKB #define if it
3529 * libspi/listener.c:
3530 ()impl_notify_event): Make failure to get event source name
3533 * registryd/deviceeventcontroller.c:
3534 (#include): include X11/XKBlib.h.
3535 (DEControllerPrivateData) : New struct.
3536 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3538 (dec_synth_keycode_press) (dec_synth_keycode_release):
3539 New methods; split the key synthesis code into these methods.
3540 They check XKB settings before determining the "time" values to
3541 pass to Xtest; this fixes bug #95828.
3542 (impl_generate_keyboard_event): Changed to use methods above,
3543 instead of callng Xtest directly.
3544 (spi_device_event_controller_init): Initialize new privae struct s
3546 (spi_device_event_controllr_object_finalize):
3547 Free the (new) private data.
3549 * registryd/deviceeventcontroller.h:
3550 Add new gpointer to end of struct data.
3552 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3555 Incremented revision to 1.1.2, SONAME is still '.so', library
3556 extensions are ".so.0.0.2".
3558 * registryd/deviceeventcontroller.c:
3559 FIXES FOR #93592 and #95940.
3560 (statics): renamed mouse_button_state to mouse_mask_state,
3561 added key_modifier_mask.
3562 (spi_dec_poll_mouse_moved):
3563 Added key modifier checks, and emit "keyboard:modifiers"
3564 events when the key modifiers currently in use change.
3565 Also generate "mouse:abs" events periodically, even if the mouse
3566 is stationary (should we?).
3567 Alternatively we could generate "mouse:abs" events for either all
3568 mouse movements, or every 'nth' mouse movement, or at the
3569 beginning and end of every "active" mouse period.
3571 * test/event-listener-test.c:
3572 (main): Added listener for "keyboard:modifiers" events.
3574 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3576 * libspi/keymasks.h:
3577 Added key mask #defines for mouse buttons; e.g.
3578 SPI_KEYMASK_BUTTON1, etc.
3581 Incremented dependency on ATK to version 1.1.0. (This dependency
3582 is probably premature but will soon be real enough).
3584 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3586 * libspi/hyperlink.[ch]
3587 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3588 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3591 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3596 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3598 * registryd/deviceeventcontroller.c
3599 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3600 events to be ignored.
3601 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3602 keyboard_mode so that XAllowEvents() can be called.
3606 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3608 * cspi/spi-accessible.c: Correct names of roles returned by
3609 AccessibleRole_getName(). Fixes bug #95055.
3611 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3613 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3616 * registryd/registry.c
3617 (desktop_remove_application: Write diagnostic message to stderr for
3620 (impl_accessibility_registry_deregister_global_event_listener):
3621 Correct size of lists array. This addresses bug #94555).
3623 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3625 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3628 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3630 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3633 * registryd/registry.c (impl_registry_notify_event): Remove
3634 unnecessary call to parser_event_type().
3636 * docs/reference/cspi/tmpl/spi_component.sgml:
3637 Add reference to SPI_LAYER_WINDOW.
3639 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3641 * registryd/registry.c
3642 (desktop_add_application): Remove leak.
3643 (desktop_remove_application): Remove leak.
3644 (parser_event_type): Remove leak.
3646 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3648 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3649 bogus call to CORBA_string_dup(). Also removed unnecessary
3650 g_string_dup/g_free calls.
3652 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3654 * registryd/deviceeventcontroller.c:
3655 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3657 * test/event-listener-test.c:
3658 main: commented out three redundant listeners, to reduce output
3659 noise. (They still are potentially useful for testing).
3662 2002-09-13 Michael Meeks <michael@ximian.com>
3664 * Update all the copyrights to include Ximian.
3666 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3668 * cspi/spi.h: add SPI_LAYER_WINDOW.
3670 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3671 add Accessibility_LAYER_WINDOW case.
3673 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3675 * libspi/component.c: (impl_accessibility_component_get_layer):
3676 add ATK_LAYER_WINDOW case.
3678 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3680 * configure.in: incremented micro version.
3682 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3684 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3687 Clarified and reworded our commit policy.
3690 Started an API "todo" addition list for 2.2.
3693 (impl_getSelection):
3694 Free char pointer from atk_text_get_selection, which was being leaked.
3696 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3699 Small revision to author acknowledgement.
3701 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3703 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3704 If signal has detail add it to the type of the event.
3707 2002-08-12 Michael Meeks <michael@ximian.com>
3709 * test/test-simple.c (global_listener_cb): bin bogosity.
3710 (test_keylisteners): disable, still doesn't work reliably,
3711 certainly not on my system anyway.
3713 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3714 don't leak a reference on the DEC. This round-trip
3715 fetching of the DEC per keystroke sucks, it should be
3718 * cspi/spi-private.h,
3719 * cspi/cspi-lowlevel.h,
3720 * cspi/bonobo/cspi-bonobo-listener.[ch],
3721 * cspi/bonobo/cspi-bonobo.c: get the copyright
3722 notices better - there is still a large amount of
3723 work in at-spi falsely attributed solely to Sun.
3725 * cspi/spi_main.c (cspi_object_ref): kill bogus
3726 hash lookup, just increment the ref.
3727 (SPI_freeString): make explicit the fact that we
3728 handle NULL strings just fine.
3729 (report_leaked_ref): obey coding standards.
3730 (cspi_object_hash, cspi_object_equal): kill retval.
3731 (cspi_object_release): only release if not on loan.
3732 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3733 (cspi_object_borrow, cspi_object_return): impl.
3735 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3736 use cspi_object_borrow / return.
3738 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3740 * cspi/bonobo/cspi-bonobo-listener.c:
3742 Don't call cspi_oject_new() because this is creating a new Accessible
3743 every single time that an event is fired. This causes ATs like at-poke
3744 to nolonger recognise the source of the event and thus ignore it.
3745 Re-use the object from the cache, ref it and then unref it after the
3746 listeners have been called.
3748 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3750 * test/event-listener-test.c:
3751 Added command-line options to disable mouse events (m) and
3754 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3756 * configure.in: Update required versions of ATK, GTK+ and GAIL
3758 * cspi-1.0.pc.in: Add dependency for X include files
3761 * cspi/bonobo/Makefile.am:
3762 Add $(X_CFLAGS) so that X include files
3763 are picked up even if not in standard place (bug #71686)
3765 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3767 * registryd/deviceeventcontroller.c: fix for 84261
3768 (spi_dec_mouse_moved):
3769 Added test of mouse button mask, so that we can detect mouse
3770 button release. Unfortunately we can't otherwise detect mouse
3771 button release events without consuming the mouse press event,
3772 because of the way XGrabButton works. This means that our mouse
3773 release events have a latency dependent on the polling period
3774 while the mouse button is down. At least in this case we only
3775 have to poll while the button is down, and not at other times.
3776 If the button masks don't match with what the last press event
3777 reported, we report the appropriate button release event.
3778 (spi_dec_ungrab_mouse):
3779 New method (not yet called).
3780 (spi_device_event_controller_forward_mouse_event):
3781 New method, sends mouse press event from GdkFilter.
3782 (spi_dec_init_mouse_listener):
3783 Added code to call XGrabButton, redirecting mouse button events to
3784 the root window and our Gdk event loop.
3786 Added code to filter mouse button events, and reordered.
3788 * test/event-listener-test.c:
3790 Added registration for mouse events of type "mouse:button".
3792 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3794 * registryd/deviceeventcontroller.c: partial fix for 84261
3795 (spi_dec_poll_mouse_idle):
3796 New method, a timeout which checks to see if the mouse
3798 (spi_dec_poll_mouse_moving):
3799 A timeout to be called when mouse motion is underway.
3800 (spi_dec_poll_mouse_moved):
3801 A method which fires an event if the mouse has moved, and reports
3802 whether or not it did so.
3803 (spi_dec_init_mouse_listener):
3804 A method which sets up the timeouts above.
3805 (spi_device_event_controller_new):
3806 Now calls spi_dec_init_mouse_listener.
3808 * registryd/registry.c:
3809 (spi_registry_init):
3810 Now we initialize the device event controller when the registry is
3811 initialized, instead of waiting until a client has requested a key
3812 event notification; this is because we need the event controller
3813 for mouse events, but the mouse event registration API is a
3814 "registry" call and doesn't explicitly call the
3815 deviceeventcontroller.
3816 We now report mouse motion events with a 100 ms idle latency and
3817 a 20 ms granularity when motion is in progress.
3819 * test/event-listener-test.c:
3821 We now register the "detail listener" for events of type
3822 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3823 delivered only for the first mouse event received, and thereafter
3824 "mouse:abs" events are delivered.)
3826 * cspi/spi_registry.c:
3827 DOCS: Documented the above mouse event typestrings.
3829 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3831 Happy Summer Solstice...
3833 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3834 (spi_controller_notify_keylisteners):
3835 Changes to remove a listener from the listener list, freeing its
3836 open keygrabs, if a notification to that listener fails. This
3837 means that although a dead listener can continue to hold a passive
3838 keygrab, a maximum of one dispatch to such a listener can fail
3839 before the listener is removed from the list, thus the keygrab
3840 will be released on the next occurrence.
3841 As part of this fix:
3842 (spi_notify_keylisteners):
3843 Renamed to spi_controller_notify_keylisteners, as the controller
3844 instance must now be passed as an argument.
3845 The copied 'notify' GList is now a list of DEControllerKeyListener
3846 objects, since we need more than just the CORBA reference if a
3847 notify fails and we need to deregister the listener.
3848 (impl_notify_listeners_sync):
3849 (impl_notify_listeners_async):
3850 (spi_device_event_controller_forward_key_event):
3851 Modify use of notify_keylisteners in accordance with above
3853 (spi_deregister_controller_key_listener):
3854 New method introduced by refactoring, from
3855 impl_deregister_keystroke_listener.
3856 (impl_deregister_keystroke_listener):
3857 Call spi_deregister_controller_key_listener.
3858 (spi_key_listener_clone):
3859 New method to copy a key listner without doing a 'ref' on the
3860 remote object instance; used to create a notifier list.
3861 (spi_key_listener_data_free):
3862 New method, frees data without unreffing the source.
3864 (spi_key_listener_clone_free): new method.
3865 (spi_key_listener_free):
3866 refactored to call spi_key_listener_data_free.
3868 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3870 * registryd/registry.c: [fix for bug 86048]
3871 (notify_listeners_cb):
3872 Clear CORBA system exceptions which occur when notifying
3873 listeners, before returning to the source of the original event,
3874 since the event source doesn't care if the relayed notify failed.
3875 In other words, don't complain to the atk-bridge if the registry
3876 could not notify all its listeners, that's no fault of the
3877 application and thus should not appear to be an error from the
3878 application's perspective.
3880 * cspi/spi_main.c: [fix for bug 85980]
3882 Replaced use of bonobo_object_dup_ref with call to the wrapper
3883 method, csou_dup_ref (); this silences a compiler warning and
3884 provided more portability.
3886 Ping the registry before return, and restart if necessary.
3888 * cspi/bonobo/cspi-bonobo.c:
3890 New internal method.
3892 Fixed this method to return an object reference, as it should have
3895 * cspi/cspi-lowlevel.h:
3896 Added internal definition for cspi_ping() and fixed
3897 return type of cspi_dup_ref().
3900 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3902 * atk-bridge/bridge.c: [fix for bug 85305]
3903 (spi_atk_bridge_register_application):
3904 New method where the initial application registry calls have been
3905 moved; it allows an application to re-register in response to
3906 certain error conditions (such as a registry restart, see below).
3908 Moved some initialization code to the method
3909 spi_atk_bridge_get_registry, below.
3910 (spi_atk_bridge_get_registry):
3911 New, private accessor function for the Accessibility_Registry
3912 instance. If the registry has not been started before, or has
3913 died (as detected by failure of a CORBA exception), it is
3914 restarted before return, and spi_atk_bridge_register_application
3915 is called again to register with the new bridge instance.
3916 (spi_atk_emit_eventv):
3917 Set registry_died on error; use spi_atk_bridge_get_registry () to
3918 access the registry.
3920 * registryd/registry.c:
3921 (impl_accessibility_registry_register_global_event_listener):
3922 Set listener's event_type_quark to etype.minor instead of
3923 etype.major (fix for bug 84856).
3925 * test/event-listener-test.c:
3926 (report_detail_event):
3927 Change the output string so that user/tester can tell that the
3928 'detail listener' was called instead of the 'generic listener'.
3930 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3932 Fixes for bugs 84900, 84908, 84897, 84898.
3937 Revved version to 1.1.0
3938 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3939 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3941 * idl/Accessibility_Registry.idl:
3942 (EventListener::notifyEvent):
3943 Removed 'oneway' directive after extensive consulation with
3944 ORBit2 team and others. This means also that unref() of the event
3945 source can and should be done synchronously after emission, rather
3946 than remotely in the client, after servicing the notify call on
3949 NOTE: This change speeds up listener performance considerably, but
3950 introduces new latency on the application side. We may want to
3951 add an event queue to the atk-bridge.
3953 * atk-bridge/bridge.c:
3954 (spi_atk_bridge_focus_tracker):
3955 Do a local unref() on the event source after emission.
3957 * registryd/registry.c:
3958 (desktop_remove_application):
3959 Do an unref() on the event source after emission.
3960 (desktop_add_application):
3961 Do an unref() on the event source after emission.
3962 (notify_listeners_cb):
3963 When relaying an event, don't automatically add the event source
3964 to the local object cache, just CORBA_dup it instead. Likewise,
3965 if this method reenters, release the ref rather than calling
3967 (impl_registry_notify_event):
3968 No longer call remote unref() on the event source after dispatch.
3970 * libspi/eventlistener.c:
3971 (impl_accessible_event_notify_event):
3972 Removed remote unref ()
3974 * cspi/bonobo/cspi-bonobo-listener.c:
3976 We now call cspi_object_new() instead of cspi_object_add() on
3977 receipt of an event; thus we only have an implicit object ref
3978 while the cspi_event method is being executed. If we need to keep
3979 a reference to the object, the listener must call ref() on the
3980 object. Thus also we don't need to call cspi_object_unref() after
3981 invoking the listener callbacks in this method.
3985 New internal API for creating a new cspi object, without adding it
3986 to the object cache.
3988 Now uses cspi_object_new() to create the cspi object instance.
3990 Now checks to see if the object is in the internal object cache,
3991 and adds it if necessary before incrementing its refcount (note
3992 that new objects are added with a refcount of 1).
3993 (report_leaked_ref):
3994 New method which gives some information on leaked object instances
3995 if leak detection is turned on.
3997 * test/event-listener-test.c:
3998 (timing_test_event):
3999 New method, used for testing event delivery timing for special
4000 events of type "object:test". It reports elapsed time and
4001 events/sec every 500 events.
4003 Added a new listener, 'test listener', to check timing of event
4004 receipt as noted above.
4006 Added some timing output here also, reports elapsed time every 100
4009 * test/stress-test.c:
4010 Emit events of type "object:test", for use with "event-listener-test".
4012 * test/test-simple.c:
4013 (global_listener_cb):
4014 Call Accessible_ref() on the event source before calling
4015 validate_accessible, since the validation process does pointer
4016 comparisons on the event source, meaning that the event source
4017 needs to be added to the local object cache first. Any use of
4018 such pointer comparisons between Accessible objects requires that
4019 the caller hold an explicit reference to those objects.
4020 We also must therefore call Accessible_unref() when leaving this method.
4022 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4024 * registryd/deviceeventcontroller.c:
4025 (spi_controller_update_key_grabs):
4026 Fix for #84735, subsequent keygrab listeners not informed of
4027 registration failure.
4030 (spi_base_construct):
4031 Add an assertion on construct, to make sure the GObject passed in
4032 is really a GObject.
4034 Explicitly initialize object->gobj pointer to NULL;
4036 * cspi/bonobo/cspi-bonobo-listener.c:
4037 (cspi_object_add_ref):
4038 New method, can specify whether to dup-ref a bonobo object passed
4039 in if it's newly added to the object cache.
4041 Now calls cspi_object_add_ref with second param of "FALSE". This
4042 prevents us from doing a pointless dup-ref followed by
4043 release-unref for all those cases where the object is already in
4044 our object cache (fix for #85205).
4046 * atk-bridge/bridge.c:
4047 (spi_atk_bridge_idle_init):
4048 Removed this method, we don't need to initialize in an idle
4051 Changed to call spi_atk_register_event_listeners directly, not via an
4052 idle handler. (fix for #81139)
4053 (gnome_accessibility_module_shutdown):
4054 Removed conditional around deregistration of listeners, since we
4055 don't use the idle handler and thus have always registered when
4057 (spi_init_keystroke_from_atk_key_event):
4058 Changed references to Accessibility_KEY_PRESSED to
4059 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4061 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4063 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4068 * test/stress-test.c:
4071 (may have been an incomplete commit yesterday?)
4073 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4076 Added target for new stress-test.
4078 * test/stress-test.c:
4079 New test, sends 1000 focus notifies in quick succession.
4081 * test/key-listener-test.c:
4082 Now we report whether a keylistener registration
4083 request succeeded or failed.
4085 * test/event-listener-test.c:
4086 Uncommented some listeners which are now implemented.
4089 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4091 * registryd/deviceeventcontroller.c:
4092 (spi_controller_update_key_grabs):
4093 Fix for #82509, lack of failure notification when
4094 ALL_WINDOWS keygrabs fail due to XGrabKey
4095 failure: we synchronize the server when
4096 registering a passive grab, to make sure we get the
4097 error message before the call returns.
4099 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4101 * test/test-simple.c:
4103 Removed #ifdef KEY_IMPL_WORKS guards.
4104 (test_keylisteners):
4105 Removed #ifdef KEY_IMPL_WORKS guards.
4106 Fixed bug which was causing a hang waiting for a
4107 "press" event (which was already overwritten by a "release"
4108 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4110 Added code to set globals 'key_press_received' and
4111 'key_release_received'.
4114 Added section "1.1 API Proposed Additions" which
4115 lists API additions desired for at-spi-1.1 (only one so far).
4116 Updated TODO list a little.
4118 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4120 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4123 * configure.in: Revved to 1.0.0.
4125 * idl/Accessibility_Registry.idl:
4126 (registerKeystrokeListener):
4127 Added boolean return value.
4129 * registryd/registry.c:
4130 (notify_listeners_cb): Minor fix to debug output.
4132 * registryd/Accessibility_Registry.server.in.in:
4133 Revved version number in OAFIID to 1.0.
4135 * registryd/registryd.c:
4137 Use new OAFIID version.
4139 * cspi/bonobo/cspi-bonobo.c:
4141 Use new OAFIID version.
4147 * atk-bridge/bridge.c:
4149 Use new OAFIID version.
4151 * registryd/deviceeventcontroller.c:
4152 (impl_register_keystroke_listener):
4153 Added CORBA_boolean return value.
4154 (spi_controller_register_device_listener):
4155 Added gboolean return value.
4156 (spi_controller_register_global_keygrabs):
4157 Added gboolean return value.
4158 (spi_key_set_contains_key):
4159 Added implementation for many more control keys,
4160 for instance F1-F12, arrow keys, End, Home, Page_Up,
4162 [TODO: some still not implemented].
4164 * text/screen-review-test.c:
4165 (text_chunk_pad_string):
4166 New function: it provides mapping between coordinate
4167 positions of text chunks and character positions in the
4168 screen-review-line output string.
4169 (text_chunk_to_string):
4170 New function, calls text_chunk_pad_string with various
4171 pad/delimiter characters. Pushbuttons are delimited with
4172 square brackets, Frames with vertical 'pipe' lines, and
4173 other text with double quotes.
4174 (text_chunk_list_to_string):
4175 Calls new function text_chunk_to_string.
4176 (toplevel_composite):
4177 New function to composite layers CANVAS through
4178 POPUP in each toplevel (other layers are composited
4179 across toplevels, i.e. BACKGROUND and OVERLAY).
4180 (review_buffer_composite):
4181 Revise to use new methods.
4187 2002-05-31 Laszlo Peter <laca@sun.com>
4189 * configure.in: add the Xtst libdir to the runpath on Solaris,
4190 since it's not in the default library search path.
4192 2002-05-29 jacob berkman <jacob@ximian.com>
4194 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4196 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4198 * test/screen-review-test.c:
4199 (text_chunk_pad_string):
4200 Added method, which pads the string according to the
4201 text bounds of the chunk. It also takes a 3-character
4202 string as a param which indicates the characters to be
4203 used for start, padding, and end delimitation of the chunk.
4204 (text_chunk_to_string):
4205 Changed to use text_chunk_pad_string.
4207 * configure.in: Fixed bug in AC_OUTPUT that was
4208 causing path substitution in Accessibility_Registry.server
4211 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4213 * text/screen-review-test.c:
4214 (guess_string_clip):
4215 New method which attempts a best-guess at clipping
4216 text from components (like Java labels) which don't
4217 actually implement AccessibleText. This inaccurate
4218 clip is based on the assumption that the label is
4219 justified left-and-right, and monospaced.
4220 (text_chunk_get_clipped_string):
4221 We now call guess_string_clip() for text-containing
4222 components that don't implement AccessibleText.
4224 * test/screen-review-test.c:
4225 (review_buffer_get_text_chunk):
4226 We now pull "name" from labels if they do not implement
4227 AccessibleText (i.e. for Java labels).
4228 (get_screen_review_line_at):
4229 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4232 Replaceded AC_OUTPUT target
4233 registryd/Accessibility_Registry.server with
4234 registryd/Accessibility_Registry.server.in.
4236 * registryd/Accessibility_Registry.server.in:
4237 Removed (this is now a Makefile target).
4239 * registryd/Accessibility_Registry.server.in.in:
4240 Added (source for target above). We now use $(libexecdir) as
4241 prefix for the executable at-spi-registryd.
4243 * registry/Makefile.am:
4244 Now install at-spi-registryd into $(libexecdir), and build .server
4245 file with path (see above).
4247 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4249 * test/screen-review-test.c:
4250 (text_chunk_get_clipped_string):
4251 We now check to see if words fall within clip bounds
4252 before resorting to character-by-character clip bounds testing.
4254 * TODO: Added a section for "2.2 Proposed API Additions".
4256 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4258 * test/screen-review-test.c:
4260 Added a screen review benchmarking and test program to test
4263 * cspi/spi_accessible.c:
4265 Made some of the debug strings passed to cspi_check_ev a
4266 little more specific.
4268 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4270 * test/screen-review-test.c: Fix crashes in debug statements
4272 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4274 * test/screen-review-test.c: Added this file.
4276 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4278 * atk-bridge/bridge.c: changed "object:state-change" to
4279 "object:state-changed" to match docs.
4281 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4283 * atk-bridge/bridge.c: Hooked up state-change event details.
4285 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4287 * registryd/registry.c:
4288 Fixed quarking bug in event string parsing; now events with
4289 detail parameters get matched correctly to listeners.
4292 * util/idl/Magnifier.idl: remove.
4294 * util/*.[ch]: Remove.
4295 Magnification utilities and IDL are now in module gnome-mag.
4297 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4299 * registryd/deviceeventcontroller.c:
4300 Fixed bug in grab key conversion which was causing keycode grabs
4301 to be converted to AnyKey grabs.
4304 updated NEWS file to reflect recent spin-off of gnome-mag.
4306 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4308 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4309 busted AccessibleStateSet_compare. Removed redundant casts.
4311 * cspi/spi-action.c: Removed redundant casts.
4313 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4315 * cspi/spi_component.c: Fixed typos and casting error.
4317 * cspi/spi_editabletext.c: Removed redundant casts.
4319 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4321 * cspi/spi_hypertext.c: Eliminated redundant casts.
4323 * cspi/spi_image.c: Eliminated redundant casts.
4325 * cspi/spi_registry.c: Eliminated redundant casts.
4326 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4327 * cspi/spi_selection.c: Removed redundant casts.
4328 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4329 handling. Screen geometry and text offsets were being returned as 0
4330 on error which is technically valid-- changed these to return -1.
4331 Added marshaller for text boundary types to fix bug with boundary
4332 types being passed incorrectly to atk.
4334 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4337 * cspi/spi_registry.c:
4338 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4339 which was uncovered by the recent key changes.
4341 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4343 * test/event-listener-test.c:
4345 Added new test, "event-listener-test";
4346 this code does two things; it benchmarks traversal time
4347 for the accessible hierarchy for the first running accessible
4348 app, and it connects listeners for all supported event types.
4349 It is thus useful as an example event listener and for
4350 diagnostics/debugging of event generation.
4352 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4355 Removed unnecessary dependency on libutil.
4358 Revved micro version: 0.13.1
4360 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4363 Removed util/Makefile from targets.
4366 Removed util subdir from SUBDIRS (temporarily,
4367 pending removal of magnifier-only code
4371 #ifdef-ed out magnifier dependencies, since
4372 magnifier IDL, headers, and binary now live in
4373 module gnome-mag and we don't want at-spi to depend
4374 on gnome-mag. A magnifier demo which can run alongside
4375 simple-at is forthcoming in the gnome-mag module.
4377 NOTE: Split magnifier binary, IDL, and magnification
4378 activation code from at-spi into module gnome-mag.
4380 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4382 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4383 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4385 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4388 Revved to version 0.13.0
4390 * idl/Accessibility_Registry.idl:
4391 Changed definition of KeySet from sequence of longs to sequence of
4392 KeyDefinitions, and added KeyDefinition struct.
4393 Required for fix to bug 80616.
4395 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4396 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4397 to use new definition (see above).
4399 * registryd/deviceeventcontroller.c: handle_keygrab(),
4400 spi_keyset_contains_key():
4401 Changed to make use of new struct; this allows matching based on
4402 string key-name, for instance "Tab". This also allows matching of
4403 composed characters, non-alphanumeric characters in a way that
4404 doesn't involve dependencies on X keysym codes directly, etc.
4406 * test/key-listener-test.c:
4407 Added test for Alt-Tab key using "string" specification of keyset,
4408 and modified one of the tests to use a keycode-based keyset.
4409 Thus this test both tests and demonstrates the creation and use of
4410 keysets of three forms: specified via keycode array,
4411 keysym array, and string array. (The string case only contains a
4412 single string, i.e. a string array of length 1).
4415 Turned on PRINT_TREE option by default. Also fixed a
4416 string-freeing bug in the PRINT_TREE code.
4417 Added a listener to window:minimize events.
4419 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4421 * atk-bridge/bridge.c:
4422 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4423 for window:activate and window:deactiveate
4424 (atk_bridge_property_event_listener atk_bridge_signal_listener
4425 atk_bridge_window_event_listener) Tidy debug code
4427 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4429 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4430 Fixed handling for NULL return value from ATK.
4432 * libspi/action.c libspi/component.c libspi/editabletext.
4433 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4434 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4435 Removed redundant casts.
4437 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4438 Fixed off by one bug.
4440 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4441 function not present in idl)
4443 2002-05-02 jacob berkman <jacob@ximian.com>
4445 * atk-bridge/Makefile.am: make atk-bridge a real module
4447 2002-04-26 Radek Doulik <rodo@ximian.com>
4449 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4450 atk_state_types table
4452 2002-04-22 jacob berkman <jacob@ximian.com>
4455 * libspi/Makefile.am: add deps on the built files to help
4456 automake, and don't version the ORBit typelib
4458 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4460 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4461 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4462 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4463 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4464 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4465 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4466 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4467 libspi/accessible.h libspi/accessible.h libspi/base.h
4468 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4469 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4470 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4471 libspi/spi-private.h libspi/statetset.h libspi/table.h
4472 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4473 util/mag_client.h util/mag_control.c util/mag_image.c
4474 util/mag_image.h util/magnifier.c util/magnifier.h:
4475 Add missing file headers; standardize existing ones
4477 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4479 * atk-bridge/bridge.c: Added window event support.
4481 2002-04-18 Michael Meeks <michael@ximian.com>
4483 * libspi/relation.c (impl_getNTargets): impl.
4484 (impl_getTarget): impl.
4486 * libspi/Makefile.am: fix stateset install.
4488 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4491 Started putting useful info in this file.
4493 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4495 * atk-bridge/bridge.c:
4496 Propagate state-changed notifications to ATs
4498 * cspi/spi_registry.c: update docs to reflect actual behavior of
4499 state-change events.
4501 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4504 Incremented version to 0.12.1
4506 * util/mag_client.h:
4507 Add missing declaration for magnifier_exit,
4508 used by mag_control.c - Forte compiler didn't like
4509 the implicit redeclaration of the function :-(
4512 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4515 Revved version to 0.12 due to API change (see below).
4517 * cspi/spi-roletypes.h:
4518 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4519 definition from the inline docs, and added docs
4520 for SPI_ROLE_LAST_DEFINED.
4523 * cspi/spi_streamablecontent.c:
4524 Added missing seek_type parameter to
4525 (so far unused) method,
4526 AccessibleStreamableContent_seek().
4527 [ RT approval JodyG. ]
4530 Fixed docs for SPI_createAccessibleKeystrokeListener.
4532 * cspi/spi_registry.c:
4533 Fixed docs for SPI_KEYSET_ALL_KEYS.
4535 * docs/reference/cspi/at-spi-cspi-sections.txt:
4536 Added a number of missing APIs to SECTIONS.
4538 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4540 * registryd/Makefile.am:
4542 * cspi/bonobo/Makefile.am:
4543 Add $(X_LIBS) to makefiles.
4545 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4548 Revved version to 0.11.
4550 * libspi/component.c:
4551 Added implementation for grabFocus.
4553 * idl/Accessibility_Component.idl
4554 (Accessibility_Component_grabFocus):
4555 Made this method return boolean to indicate success or failure, to
4556 be consistent with cspi and the corresponding ATK method.
4558 * idl/Accessibility_Selection.idl
4559 (Accessibility_Selection_selectAll) :
4560 Made these methods return boolean to indicate success or
4561 failure, to be consistent with cspi and the corresponding ATK methods.
4563 * idl/Accessibility_EditableText.idl
4564 (Accessibility_EditableText_setTextContents,
4565 Accessibility_EditableText_insertText,
4566 Accessibility_EditableText_cutText,
4567 Accessibility_EditableText_deleteText,
4568 Accessibility_EditableText_pasteText):
4569 Made these methods return boolean to indicate
4572 * cspi/spi_editabletext.c:
4573 Made these methods return booleans.
4575 * libspi/selection.c:
4576 * libspi/component.c:
4577 * libspi/editabletext.c:
4578 Connected the boolean returns from ATK
4579 to the server-side code referenced above.
4581 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4583 * idl/Accessibility_Table.idl: Added missing methods,
4584 Accessibility_Table_addRowSelection,
4585 Accessibility_Table_addColumnSelection,
4586 Accessibility_Table_removeRowSelection,
4587 Accessibility_Table_removeColumnSelection.
4590 Added C wrappers for above IDL:
4591 AccessibleTable_addRowSelection,
4592 AccessibleTable_addColumnSelection,
4593 AccessibleTable_removeRowSelection,
4594 AccessibleTable_removeColumnSelection.
4597 Added server-side implementation code for IDL above, connecting
4598 to pre-existing ATK api.
4600 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4602 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4604 * libspi/accessible.c: Added implementation fo
4605 Accessibility_Accessible_get_state.
4607 * libspi/libspi.h: Added stateset.h to the list of includes.
4609 * libspi/stateset.c: Fixed broken implementation.
4611 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4614 Added implementation code for Accessibility_Magnifier_exit ().
4616 * util/mag_control.c:
4617 Added test code for above method; you can
4618 now kill an existing magnifier via
4619 ./mag_control q, from the util directory.
4621 * test/key-listener-test.c:
4623 Added a new test, for our key listener API.
4625 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4627 * test/app.c, test/keysynth-demo.c:
4629 Replace use of snprintf with g_snprintf.
4630 (fix for bugzilla 78249)
4632 2002-03-27 Michael Meeks <michael@ximian.com>
4636 * util/Makefile.am (INCLUDES): fix.
4637 (DONT_DIST_SOURCE): don't distribute the
4640 * libspi/Makefile.am (dist-hook): ditto.
4642 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4644 * libspi/hypertext.c:
4645 Fix warnings when yelp is used with atk-bridge
4647 2002-03-21 Michael Meeks <michael@ximian.com>
4649 * libspi/application.c (spi_application_new):
4650 use spi_accessible_construct so we use the AtkObject
4653 2002-03-19 Michael Meeks <michael@ximian.com>
4655 * registryd/registry.c (desktop_remove_application),
4656 (desktop_add_application): clean coding style.
4658 * registryd/desktop.c (spi_desktop_remove_application),
4659 (spi_desktop_add_application): kill re-enterency hazards.
4660 (spi_desktop_dispose): remove bogus redundant cast
4661 obscuring bug; fix bug too.
4662 (spi_desktop_init): make the desktop object immortal.
4664 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4667 Added a #define-guarded tree-traversal step
4668 when enumerating the apps (diagnostic tool).
4670 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4672 * idl/Accessibility_Role.idl:
4673 Added ROLE_DRAWING_AREA which seemed to be missing from the
4676 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4678 * cspi/spi-roletypes.h cspi/spi_accessible.c
4679 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4682 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4683 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4684 AT when applications are added and removed from the desktop. This
4685 reverts the previous broken implementation using the backing
4686 AtkObject for the SpiDesktop.
4688 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4690 * registryd/desktop.c: emit the "children-changed::add" and
4691 "children-changed::remove" signals on the backing ATK object for
4692 the desktop so AT can tell when applications are started and shut
4695 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4697 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4699 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4701 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4703 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4705 * cspi/state-types.h: synched with IDL and ATK
4707 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4709 * libspi/accessible.c
4710 (impl_accessibility_accessible_get_child_at_index):
4711 Change return value for g_return_if_fail ()
4712 to CORBA_OBJECT_NIL instead of "0" (!)
4714 * registryd/Makefile.am:
4715 * registryd/Accessibility_Register.server.in:
4716 Changed name of executable, "registryd",
4717 to something more informative:
4720 2002-03-13 Michael Meeks <michael@ximian.com>
4722 * atk-bridge/bridge.c (atk_bridge_init): don't register
4723 if we're in a bonobo-component, rather than a bonobo app.
4725 2002-03-13 Michael Meeks <michael@ximian.com>
4727 * atk-bridge/bridge.c (gtk_module_init): split
4728 out body to (atk_bridge_init): here, since otherwise
4729 we get symbol conflicts and oddness when invoked
4730 from (gnome_accessibility_module_init): here (upd.)
4732 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4735 New file. Explicitly allow "build sheriff" putbacks provided
4736 they are tested on Solaris.
4738 * docs/reference/cspi/Makefile.am:
4739 Added '-' to the "cp" command for index.sgml.
4740 ("patch by thomasvs, soon coming to a GUADEC near you")
4743 Incremented version number (0.9.0) for new release.
4744 Changed macro that checks for popt, to better detect
4745 obsolete versions of popt.
4748 Added X_LIBS to AC_SUBST, for applications
4749 that call Xlib API directly.
4752 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4755 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4758 Fix regression caused by hard-coding major
4759 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4762 * test/test-simple.c (test_editable_text),
4763 (test_test): revert previous change (error was
4764 a regression in gail which is now fixed).
4766 2002-03-04 Michael Meeks <michael@ximian.com>
4768 * test/test-simple.c (test_editable_text),
4769 (test_text): pass G_MAXINT instead of '-1' for
4770 whole string - is this a good thing !?
4772 * cspi/spi_accessible.c
4773 (Accessible_getRelationSet): fix crasher bug
4774 overwriting the end of the array.
4776 * test/test-simple.c (validate_accessible): free,
4777 not g_free returned relation set.
4779 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4781 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4782 implemented stateset support
4784 * idl/Accessibility_State.idl: Made necessary changes to
4785 the IDL to support state sets.
4787 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4789 * registryd/deviceeventcontroller.c:
4790 Added implementation for generateMouseEvent.
4792 * cspi/spi_registry.c:
4793 Connected new implementation for generateMouseEvent
4796 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4799 Incremented revision (but no change in public API
4800 outside of 'utils', which are not installed public yet.)
4802 * libspi/component.c:
4803 Changed to use atk_component API for layers and
4804 mdi_zorder, instead of deprecated atk_object API.
4806 Magnification Utility Enhancements:
4809 Added implementation of createZoomRegion, clearAllZoomRegions,
4810 resizeZoomRegion. Added new commandline argument
4811 "--no-initial-region". Note that clearAllZoomRegions doesn't
4812 unmap the old '0' region as it should (yet), and the other
4813 methods only work when creating/resizing a single region,
4814 which is "region 0".
4815 (Code for multiple region support will be added later.)
4818 Now we raise the magnifier window each time it's refreshed;
4819 this will help keep it on top.
4821 * util/mag_client.h:
4822 Added simple wrappers for above, used by mag_control.
4823 For general use, it's recommended to use the bonobo magnifier
4824 control API directly instead of using these wrappers.
4827 Moved ZoomRegionData from magnifier.c to this file.
4829 * util/mag_control.c:
4830 Added some code to exercise new IDL implementations.
4832 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4834 * libspi/text.c: Provide implementation for getAttributes.
4836 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4839 Incremented revision.
4841 * test/test-simple.c:
4842 Replaced use of deprecated g_main_iteration with
4843 g_main_context_iteration.
4845 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4848 Incremented revision for desktop alpha 2.
4850 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4852 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4855 * test/simple-at.c: include netinet/in.h.
4857 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4859 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4860 use NULL, not CORBA_OBJECT_NIL.
4862 * libspi/accessible.c:
4863 (impl_accessibility_accessible_get_relation_set):
4864 allocate the sequence correctly.
4866 * libspi/remoteobject.h: kill spi_remote_object_new.
4868 * test/test-simple.c: (validate_accessible): add code
4869 to test relation sets, now all we need is to figure
4870 out how to excercise this code path :/
4872 2002-01-18 Michael Meeks <michael@ximian.com>
4874 * test/test-simple.c
4875 (key_listener_cb): consume the key.
4876 (test_keylisteners): update.
4877 (main): wait for any pending unrefs on events.
4879 * registryd/deviceeventcontroller.c
4880 (spi_controller_update_key_grabs): only re-issue the
4881 grab on a key release.
4882 (spi_device_event_controller_forward_key_event):
4883 refresh the keygrabs before we notify the listeners,
4884 to reduce the X ungrab / re-grab race.
4885 (spi_controller_register_with_devices): remove
4886 XSelectInput - we do that with the gdk_window_ call.
4887 (_spi_controller_device_error_handler): return a value.
4888 s/GDK_DISPLAY/spi_get_display/
4890 2002-01-17 Michael Meeks <michael@ximian.com>
4892 * registryd/deviceeventcontroller.c
4893 (_deregister_keygrab): don't blow out the later
4896 * test/test-simple.c (test_keylisteners): do a
4897 more intelligent validation.
4899 2002-01-14 Michael Meeks <michael@ximian.com>
4901 * atk-bridge/bridge.c
4902 (gnome_accessibility_module_init),
4903 (gnome_accessibility_module_shutdown): impl.
4904 (gtk_module_init): protect vs. double inits.
4905 (add_signal_listener): impl.
4906 (spi_atk_bridge_state_event_listener): kill
4907 (deregister_application): split out of
4908 (spi_atk_bridge_exit_func): here.
4910 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4913 Added caret tracking when using magnifier, and
4914 now use text bounds for focus tracking of text elements, rather than
4915 the component bounds - this is helpful for short text fields in long
4916 table cells, at high magnification.
4918 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4920 * registryd/deviceeventcontroller.c:
4921 Regression fix for keylistener de-registration; global keygrabs
4922 were not being released when deregisterKeystrokeListener was
4923 called in cspi, since
4924 Accessibility_DeviceEventController_deregisterKeystrokeListener
4925 was called with a zero-length keyset. That is because the cspi
4926 method, SPI_deregisterKeystrokeListener, does not take a keyset
4927 parameter but instead should remove all the key grabs held be a
4929 The code in impl_deregister_keystroke_listener was changed to copy
4930 the keylist from the listener instance previously registered with
4931 the DeviceEventController before releasing the grabs.
4933 * registryd/registry.c:
4934 * registryd/deviceeventcontroller.c:
4935 * libspi/spi-private.h:
4937 Changed spelling of "re-enterant" to "re-entrant" globally.
4939 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4941 * test/test-simple.c:
4942 Changed key listeners test - the test was slightly mis-using the
4943 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4944 It now uses '=' as the key event listened to and generated,
4945 relying on a keysym match rather than assuming that keycode 33
4946 is always equal to keysym '!'.
4948 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4951 Changed simple-at to use a specific keyset, rather than
4952 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4953 manager, desktop, etc.
4955 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4957 * registryd/deviceeventcontroller.c:
4958 Replaced standard X error handler with a special handler that
4959 is non-fatal for failed keygrabs. This works around
4960 problems with keygrab clashes sometimes observed on
4962 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4963 mouse handling code as yet).
4965 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4968 Incremented revision for desktop alpha release.
4971 Fixed a couple of the more glaring errors (still not
4974 2002-01-11 Michael Meeks <michael@ximian.com>
4976 * registryd/deviceeventcontroller.c
4977 (spi_device_event_controller_forward_key_event): kill
4978 XUngrabKey / XKeyGrab race.
4979 (spi_controller_grab_keyboard): rename to
4980 (spi_controller_update_key_grabs): this, and deal
4981 with incremental adding / removing grabs more
4983 (_register_keygrab): ensure we're not pending a remove.
4984 (spi_grab_mask_free): impl.
4985 (spi_controller_register_global_keygrabs): split out
4987 (handle_keygrab): impl.
4988 (_deregister_keygrab): impl.
4989 (spi_controller_deregister_global_keygrabs): impl.
4990 (spi_controller_update_key_grabs): re-issue the grab if
4991 we just recieved a notification.
4993 * test/test-simple.c (key_listener_cb): remove debug.
4995 * registryd/deviceeventcontroller.c
4996 (spi_controller_register_device_listener): after
4997 registering a global keygrab, actualy register it !
4998 don't wait for a timeout; doh !
5000 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5001 to make it more readable / manipulable.
5002 s/grabmask/grab_mask/ s/refcount/ref_count/
5003 s/keyval/key_val/ s/modmask/mod_mask
5005 2002-01-08 Michael Meeks <michael@ximian.com>
5007 * registryd/deviceeventcontroller.c
5008 (spi_controller_register_with_devices): use gdk calls to
5010 (global_filter_fn): implement the filter.
5011 (spi_device_event_controller_check_key_event): rename to
5012 (spi_device_event_controller_forward_key_event): this & upd.
5013 (spi_get_display): replace with GDK_DISPLAY.
5015 * registryd/deviceeventcontroller.c
5016 (spi_controller_deregister_device_listener): unroll into
5017 (impl_deregister_keystroke_listener): here to simplify.
5018 (spi_controller_register_global_keygrabs): split cut and
5019 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5020 (spi_controller_deregister_device_listener): remove.
5021 (impl_register_mouse_listener): remove, no mouse listener
5022 support in at-spi-1.0
5024 * registryd/registry.c
5025 (_device_event_controller_hook): kill.
5026 (spi_registry_init): upd.
5028 * registryd/deviceeventcontroller.c
5029 (spi_device_event_controller_class_init): upd.
5030 (spi_check_key_event): merge into.
5031 (spi_device_event_controller_check_key_event):
5032 here and kill strange static ev init, don't leak
5033 the x_event - nor dynamicaly allocate it.
5035 * registryd/registry-main.c (main): re-direct
5036 timeout to remove strange vtable mess.
5038 * registryd/deviceeventcontroller.c
5039 (remove_listener_cb): impl.
5040 (spi_controller_deregister_device_listener):
5041 fix re-enterancy hazard.
5043 2002-01-07 Michael Meeks <michael@ximian.com>
5045 * registryd/deviceeventcontroller.c
5046 (spi_device_event_controller_new): upd.
5047 (impl_notify_listeners_sync): upd. debug.
5048 (spi_notify_keylisteners): fix re-enterancy hazards,
5049 prettify, remove O(n*n) iteration.
5050 (spi_controller_grab_keyboard): fix iteration.
5051 (spi_check_key_event): re-format to suit coding style.
5052 Clean all the warnings - we're warning free.
5054 * registryd/deviceeventcontroller.h:
5055 * registryd/registry.h: make mutualy referential with
5056 typesafe forward references instead of (!) void pointer
5059 2002-01-11 Michael Meeks <michael@ximian.com>
5061 * cspi/spi_accessible.c (role_names): add a role name
5062 to sync this array with the enum; and make the regression
5065 2002-01-10 Michael Meeks <michael@ximian.com>
5067 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5068 allow expansion of enumeration & kill warning.
5070 * test/test-simple.c (key_listener_cb): impl.
5071 (test_keylisteners): impl.
5073 * cspi/spi-listener.h: make listener signatures const
5074 on the provided (const) events.
5076 * test/keysynth-demo.c: upd. to const events.
5078 * test/simple-at.c: ditto.
5080 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5083 Rev the version to 0.5 (the previous tarball was named 0.4,
5084 even though the micro number was 3), so we need to rev upwards
5085 again for beta2/"desktop-alpha"
5088 Checked in a demo script, which requires editing before use!
5089 Proceed with caution.
5092 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5094 * cspi/spi_accessible.c:
5095 Add a couple of missing enum initializations, and fix some enum
5098 * cspi/spi_registry.c:
5099 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5101 * docs/reference/cspi/at-spi-cspi-sections.txt:
5102 Remove/fix a couple of broken document references.
5105 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5106 as Alt-Control to listen for commands, since on some systems
5107 Control-Alt may already be grabbed.
5109 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5112 Update version number to 0.4 for Beta2.
5114 * libspi/accessible.c, libspi/accessible.h:
5115 Expose spi_accessible_construct, to enable libgail-gnome
5116 construction from spi_accessible subtype.
5118 * utils/magnifier.c:
5119 Workaround for bug in some non-gnome-compliant window managers
5120 which made magnifier resize improperly.
5122 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5124 * libspi/accessible.c: (spi_accessible_new) :
5125 Move the test for SPI_IS_REMOTE_OBJECT to
5126 spi_accessible_new_return, fixing a bug and compile time warning.
5128 2002-01-08 Michael Meeks <michael@ximian.com>
5130 * registryd/registry.c (parse_event_type): remove strndup.
5132 * libspi/Makefile.am (libspi_la_SOURCES): remove
5133 sources already included in the headers section.
5135 * libspi/util.c: add.
5137 * libspi/spi-private.h: add.
5139 * registryd/registry.c: update to moved list iterators.
5141 2002-01-05 Michael Meeks <michael@ximian.com>
5143 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5145 * test/test-simple.c (main): ditto.
5147 2002-01-04 Michael Meeks <michael@ximian.com>
5149 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5150 redundant construct.
5152 * registryd/registry.c
5153 (get_listener_list): impl.
5154 (impl_accessibility_registry_register_global_event_listener):
5155 re-impl. to simplify using ~, remove dodgy const cast off.
5156 (parse_event_type): constify.
5157 (impl_accessibility_registry_deregister_global_event_listener_all):
5158 re-write, more efficiency and simplicity, kill re-enterancy
5160 (compare_listener_corbaref, compare_corba_objects),
5161 (compare_listener_quarks): define out.
5162 (impl_accessibility_registry_deregister_global_event_listener):
5163 re-write for effiency, and nail re-enterancy hazard.
5164 (impl_accessibility_registry_get_desktop_list): impl.
5165 (re_enterant_list_delete_link): impl.
5166 (re_enterant_list_foreach): impl.
5167 (remove_listener_cb): impl.
5168 (_registry_notify_listeners): kill.
5169 (notify_listeners_cb): impl.
5171 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5172 (SPI_getDesktopList): impl.
5174 * test/test-simple.c (test_desktop): test the methods.
5176 2002-01-03 Michael Meeks <michael@ximian.com>
5178 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5179 keystrings since we free them
5180 (SPI_freeAccessibleKeySet): in here.
5182 * libspi/accessible.c (spi_accessible_new): kill warning,
5183 wonder what is going on with the constructor here.
5185 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5187 * libspi/accessible.c (spi_accessible_new ()) :
5188 Added check to see if AtkObject is an SpiRemoteObject before
5189 creating an SpiAccessible.
5191 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5193 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5194 Enable keygrabs using the Control modifier, now that they are
5195 working properly (they were previously disabled).
5198 Change the command keygrab for this demo to "Control+Alt", so as
5199 to conflict with fewer other key commands on the system; this
5200 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5202 Removed a pointlessly-chatty keylistener for unshifted keys
5203 (shifted keys are still reported).
5205 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5207 * libspi/remoteobject.h:
5208 * libspi/remoteobject.c:
5209 Added definitions for special AtkObject subtype, required for
5210 support of remote components (specifically, used by BonoboControl
5211 accessibility implementation).
5213 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5215 * cspi/spi.h: synched relation types with ATK
5217 * cspi/spi_accessible.c: Added implementations of
5218 AcccessibleRelation_* methods
5220 * idl/Accessibility_Relation.idl: added getRelationTypeName
5221 method. Synched known relation types with ATK. Allowed for
5222 relation type extension with the RELATION_EXTENDED type.
5224 * libspi/relation.c: Provided implementations for
5225 AccessibleRelation methods.
5227 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5229 API tweaks for today's API 'freeze'.
5232 Added placeholder functions to allow future compatible expansion
5233 of the IDL interfaces.
5235 * idl/Accessibility_Registry.idl:
5236 Changed generateKeyEvent to generateKeyboardEvent. Changed
5237 signature of this method to accept an optional keystring in
5238 parameter (for complex text input synthesis) and changed use of
5239 simple 'boolean' parameter in registerKeystrokeListener to a
5240 struct, EventListenerMode.
5242 * cspi/spi_accessible.c:
5244 * cspi/spi_streamablecontent.c:
5245 Added references to AccessibleStreamableContent interface, and
5246 definition and implementation of AccessibleStreamableContent
5249 * cspi/spi_registry.c:
5251 Changed generateKeyEvent API to generateKeyboardEvent,
5252 taking a new (optional) keystring parameter to support complex
5257 Renamed directory (to better reflect its actual purpose, bridging
5258 from at-spi to ATK). The .so module is also now named
5261 * idl/Accessibility_Hypertext.idl:
5262 * libspi/accessible.c:
5263 * libspi/hypertext.h:
5264 * libspi/hypertext.c:
5265 Changed Accessibility_Hypertext to *not* derive from
5268 * cspi/spi_registry.c:
5269 Added list of legal event type names for 'window' events, which
5270 completes the registry event API.
5272 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5274 * at-bridge/bridge.c: Added registration for separate
5275 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5276 signals. If either of the first two parameters to the generic
5277 bridge signal handler are ints, they are passed on as event
5278 details. This allows an AT to determine what text was inserted.
5280 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5282 * registryd/deviceeventcontroller.c:
5283 Fixed regressions in generateKeyEvent caused by the removal of
5284 gdk_init from registryd; we now use pure X calls to connect to the
5285 display, which makes sense because deviceeventcontroller already
5286 uses a fair bit of X API (should eventually be migrated to a
5287 'portability layer').
5289 * registryd/desktop.c:
5290 Fixed minor regression in spi_desktop_init, changed the way the
5291 desktop name is being set to work with new spi_base API
5292 (gobject-based, rather than AtkObject-based).
5294 * registryd/Makefile.am:
5295 Minor revision of makefile to use XTST_LIBS variable rather than
5296 hard-wiring the Xtst LD_ADD element.
5298 * test/keysynth-demo.c:
5299 Tweaked an output message; added initialization of the
5300 'keystrings' member of the "switch listener" key_set.
5302 * libspi/relation.c:
5303 Squashed compile-time warning.
5305 * libspi/accessible.c:
5306 Cosmetic and formatting fixes, renamed a static method.
5308 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5310 * libspi/accessible.c
5312 * libspi/application.c
5315 * libspi/component.c
5316 * libspi/editabletext.c
5317 * libspi/hyperlink.c
5318 * libspi/hypertext.c
5320 * libspi/selection.c
5324 * registryd/desktop.c:
5325 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5327 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5329 * idl/Accessibility_Registry.idl:
5330 Added boolean member 'is_text' to DeviceEvent. This is for the
5331 use of key events, and helps prevent ambiguity between composed
5332 key strings and keysym names, since both may potentially be
5333 returned in the 'event_string' member.
5335 * at-bridge/bridge.c:
5336 * registryd/deviceeventcontroller.c:
5337 Use the 'is_text' member when notifying device event listeners.
5338 Knon issue: composed characters are not dealt with correctly by
5339 the global key listener implementation yet.
5341 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5343 * at-bridge/bridge.c:
5344 Namespaced local static methods to spi_atk_bridge_* where
5345 previously named bridge_*, and spi_* elsewhere.
5347 * at-bridge/bridge.c:
5348 * cspi/bonobo/cspi-bonobo-listener.c:
5349 Added demarshalling/conversion for string member of
5350 Accessibility_DeviceEvent to AccessibleKeystroke.
5352 * registryd/deviceeventcontroller.c:
5353 Added code to fill the Accessibility_DeviceEvent key string value
5354 member for global key events (i.e. from XGrabKey), to match
5355 behavior of Accessibility_DeviceEvent from the toolkit key events
5356 from the bridge. Fixed timestamp in global key event notifications.
5359 Added printout of key event's string value to
5360 report_ordinary_key_event, for demo/debugging purposes.
5362 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5364 * idl/Accessibility_Registry.idl:
5365 Removed Accessibility_KeyStroke structure in favor of generic
5366 Accessibility_DeviceEvent structure.
5367 Changed Accessibility_ControllerEventMask from a struct to an
5370 * at-bridge/bridge.c:
5371 Changed APIs to use DeviceEvent structure as above, and removed
5372 bogus casting between these event structures.
5374 * cspi/spi-listener.h:
5375 Added keystring member of AccessibleKeystroke structure, to enable
5376 matching on event "names" rather than only hardware codes and
5380 Added keystrings member of AccessibleKeySet struct, to allow
5381 matching on event names (as above).
5382 Added declarations for SPI_createAccessibleKeySet and
5383 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5384 event modmasks directly as unsigned ints rather than structs with
5385 refcounts, in the DeviceEventController methods.
5387 * cspi/spi_registry.c:
5388 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5390 * cspi/spi-roletypes.h:
5391 Added documentation of newly added SPI Roles.
5393 * cspi/bonobo/cspi-bonobo-listener.c:
5394 Changes in support of API changes above.
5396 * libspi/accessible.c:
5397 Converted APIs to use DeviceEvent structure (see IDL changes
5400 * registryd/deviceeventcontroller.c:
5401 Added DEControllerGrabMask structure to track keygrabs not only by
5402 modmask but by keyset as well; this allows us to do "global"
5403 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5404 grabbing on AnyKey and then filtering after-the-fact.
5405 Bugfixes for event filtration mean that we don't get false matches
5406 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5408 * registryd/deviceeventcontroller.c:
5409 Namespaced a number of static methods to use spi_ prefix. Major
5410 revision to internals of global (i.e. X) key grabs.
5412 * registryd/deviceeventcontroller.h:
5413 Removed keymask_list and added keygrabs_list to
5414 SpiDeviceEventController struct.
5417 Added use of SPI_createAccessibleKeySet API when creating a
5418 listener for only one key. Attach a listener to "shift spacebar
5419 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5420 X key event names to SPI key event names, so that listeners are
5421 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5423 * test/keysynth-demo.c:
5424 Changed (incorrect) use of X key event names (KeyPressed,
5425 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5428 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5430 * libspi/accessible.c:
5431 Convert all AtkRole enumerations to Accessibility_Role enums when
5432 getting a role from an AtkObject.
5434 * cspi/spi_accessible.c:
5435 Complete the conversion of Accessibility_Role enums at runtime to
5436 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5437 role enums correctly match those given in spi-roletypes.h.
5438 Re-synchronize the local names list for AccessibleRole_getName ().
5439 AccessibleRole_getName is now deprecated, since it duplicates the
5440 more reliable Accessible_getRoleName.
5441 Added some role types from Accessibility_Role.idl.
5443 * idl/Accessibility_Role.idl:
5444 Added some role types used by AtkRole.
5446 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5449 * cspi/spi_registry.c:
5451 * cspi/cspi-bonobo-listener.c:
5452 Namespaced all methods that did not begin with an "SPI_" or
5453 "Accessible" prefix to "SPI_".
5456 Homogenized internal function namespace to "cspi_" for statics.
5459 Patched tests to use the new CSPI API.
5461 * docs/reference/cspi/at-spi-cspi-sections.txt:
5462 Updated docs to reflect namespace changes, and added a number of
5463 methods to the documentation.
5465 * registryd/registry.c:
5466 Changed use of strings and string hashes in listener event
5467 matching and parse_event_string to use GQuark, which is guaranteed
5470 * registryd/registry.h:
5471 Squashed annoying warning.
5473 * idl/Accessibility_Role.idl:
5474 Extended range of available Accessibility_Role values.
5476 * cspi/spi_accessible.c:
5477 Re-ordered role names.
5479 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5481 * idl/Accessibility_Value.idl:
5482 Revert use of union back to CORBA_double, since the double type is
5483 more efficient and can contain the other types without loss of
5486 * idl/Accessibility_Accessible.idl:
5487 Added method Accessibility:Accessible:getRoleName, to complement
5488 Accessibility:Accessible:getRole.
5490 * cspi/spi_accessible.c:
5492 Added C binding for above, Accessible_getRoleName (), and changed
5493 signature of Accessible_getRole () to return an AccessibleRole.
5495 * cspi/spi-roletypes.h:
5496 Changed AccessibleRole_getName to return a char * instead of a
5497 const char *. This method is now at least temporarily deprecated
5498 in favor of asking Accessibles for their RoleNames directly.
5501 Revert to match Accessibility_Value.idl;
5505 Change signature of AccessibleValue methods to use double rather
5509 * cspi/spi_accessible.c:
5510 Changed Accessible_getRole to return an AccessibleRole enum rather
5511 than a UTF-8 string. The UTF-8 string can still be obtained via
5512 AccessibleRole_getName ().
5514 * test/test-simple.c:
5515 Add test_action. Small fixup to match API change to Accessible_getRole.
5518 Bugfix for get_action_from_servant ().
5520 2001-12-11 Michael Meeks <michael@ximian.com>
5522 * libspi/libspi.h: remove registry.h and
5523 desktop.h, deviceeventcontroller.h
5525 * libspi/Makefile.am: remove registry.[ch],
5526 desktop.[ch], deviceeventcontroller.[ch]
5528 * registryd/Makefile.am: add registry.[ch],
5529 desktop.[ch], rename registryd.c to registry-main.c.
5530 add deviceeventcontroller.[ch]
5532 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5535 Replace setenv() call with putenv ().
5537 * libspi/component.c:
5538 Bugfix in AccessibleComponent_getExtents (),
5541 2001-12-11 Michael Meeks <michael@ximian.com>
5543 * libspi/image.c (impl_getImageExtents): impl.
5544 (spi_image_class_init): upd.
5547 (AccessibleImage_getImageDescription): fix daft bug
5550 * test/test-simple.c (global_listener_cb): update
5551 to only quit if not --poke
5552 (main): catch --poke.
5553 (validate_accessible): upd. dumping, call test_image
5556 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5559 * idl/Accessibility.idl: update all IDL includes.
5561 * idl/*.idl - rename to namespace - this sucks, blame
5562 mjs' bad decision for oafd.
5564 * test/test-simple.c (create_test_window): add more tests.
5565 (create_tree): split this out.
5566 (validate_accessible): bugfix.
5568 2001-12-11 Michael Meeks <michael@ximian.com>
5570 * cspi/bonobo/cspi-bonobo-listener.c:
5571 (cspi_kestroke_listener_unref),
5572 (cspi_event_listener_unref): impl. undoing previous
5573 homenous environment - for Bill.
5575 * cspi/spi_table.c (long_seq_to_array): use
5578 * cspi/spi_main.c: split out all bonoboish bits into
5581 * cspi/spi-impl.h: upd. typedefs.
5583 * cspi/spi_registry.c: update to lowlevel API,
5584 return booleans to indicate success in some places.
5586 * cspi/spi_event.c: update to lowlevel API.
5588 * cspi/bonobo/Makefile.am: add.
5590 * cspi/bonobo/cspi-lowlevel.h: add
5592 * cspi/bonobo/cspi-bonobo.c: add
5594 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5596 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5597 (SUBDIRS): add bonobo, link in the libs.
5599 * cspi/spi-util.c: kill this file.
5601 * TODO: merge in my bits.
5603 2001-12-11 Michael Meeks <michael@ximian.com>
5605 * test/test-simple.c (test_value, test_table, main):
5606 remove unused variables causing warnings.
5608 * configure.in: cleanup checks - require gail.
5610 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5613 Changed Value interface to use SValue (scalars) rather than
5614 assuming all values are floats. This allows floats, doubles,
5615 longs, shorts, and unsigned values to be manipulated.
5616 Introduced Accessibility:SValue union.
5619 Updated to use new API above, and to work correctly with GValues
5620 of different types in AtkValue.
5623 Updated to use new API above. cspi's API is as yet unchanged.
5626 Updated the Value revision action item.
5628 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5630 * test/test-simple.c:
5631 Added test_table (GtkTreeView widget in test window to follow).
5632 Un-commented test_value, added GtkRange widget.
5633 Added GtkTreeView widget with GtkListStore. It passes regression
5634 test but leaks one SPI object for some reason.
5637 Fixed bug in impl__set_currentValue.
5639 2001-12-10 Michael Meeks <michael@ximian.com>
5641 * cspi/spi_text.c: audit for exception handling,
5642 tolerating NULL object references safely etc.
5644 * cspi/spi_value.c: ditto.
5646 * cspi/spi_table.c (AccessibleTable_getSummary),
5647 (AccessibleTable_getAccessibleAt),
5648 (AccessibleTable_getRowHeader),
5649 (AccessibleTable_getColumnHeader),
5650 (AccessibleTable_getCaption): fix bugs hidden by
5652 (long_seq_to_array): impl.
5653 (AccessibleTable_getSelectedRows),
5654 (AccessibleTable_getSelectedColumns): use it.
5656 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5659 Added a TODO list (rough and short for now).
5661 * cspi/spi_hyperlink.c:
5662 * cspi/spi_hypertext.c:
5663 Fixed macro name typos, and remove use of obsolete macro in
5664 AccessibleHyperlink_getLink.
5666 * cspi/spi_action.c:
5667 * cspi/spi_accessible.c:
5668 * cspi/spi_application.c:
5669 * cspi/spi_component.c:
5670 * cspi/spi_selection.c:
5673 Documentation fixes (removed return values from ref/unref methods).
5675 2001-12-10 Michael Meeks <michael@ximian.com>
5677 * cspi/spi_action.c: audit for exception handling,
5678 tolerating NULL object references safely etc.
5680 * cspi/spi_accessible.c: ditto.
5682 * cspi/spi_component.c: ditto.
5684 * cspi/spi_editabletext.c: ditto.
5686 * cspi/spi_hyperlink.c: ditto.
5688 * cspi/spi_hypertext.c: ditto.
5690 * cspi/spi_image.c: ditto.
5692 * cspi/spi_selection.c: ditto.
5694 2001-12-10 Michael Meeks <michael@ximian.com>
5696 * configure.in: use cspi/libspi.pc.in instead.
5698 * Makefile.am (pkgconfig_DATA): upd. to match.
5700 * test/simple-at.c (report_focus_event): kill hacks around
5701 bad return values, use putenv not setenv
5703 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5704 fire ChildGone - I killed it.
5706 * libspi/component.c
5707 (impl_accessibility_component_get_extents): remove
5710 * idl/Accessible.idl: kill ChildGone exception.
5712 * cspi/*.[ch]: kill int return from ref / unref.
5714 * cspi/spi_main.c (cspi_object_add_check): fold into
5715 (cspi_object_add): here.
5717 * cspi/spi_component.c (AccessibleComponent_getExtents):
5718 handle exceptions elegantly.
5720 * cspi/spi-private.h (cspi_check_ev_return),
5721 (cspi_return_if_fail): impl.
5723 * cspi/spi_accessible.c: use extensively.
5724 (AccessibleStateSet_equals): add direct compare check.
5726 * cspi/spi_selection.c: tolerate NULL objs, and check
5727 exceptions before return.
5729 * cspi/spi-util.c (cspi_warn_ev): rename to
5730 (cspi_check_ev): this & don't pass ev in; no point.
5732 2001-12-10 Michael Meeks <michael@ximian.com>
5734 * test/test-simple.c: use putenv not setenv
5735 (get_environment_vars): more chatty if you're not using
5738 * test/simple-at.c: do the setenv so more people see the
5741 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5743 * libspi/registry.c:
5744 Changed check of CORBA_environment on notification to be a warning
5745 instead of an error for the moment, since we can recover from this
5746 error when caused by a queued notification from a dead app.
5749 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5750 used by all current implementors of AtkValue), and coerce to
5751 CORBA_float. (Proper general case fix may require change to Value.idl).
5753 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5757 * cspi/spi_accessible.c:
5758 Documentation fixes: added user_data params to documentation for
5759 listeners and callbacks.
5761 * cspi/spi_accessible.c:
5762 Changed AccessibleStateSet_compare to return a
5763 StateSet rather than return the difference set into a third parameter.
5766 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5769 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5770 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5774 Remove subdirectory po from SUBDIRS for now.
5776 * at-bridge/bridge.c:
5777 Beefed up a couple of debug printouts.
5778 One-line fix for signal notification name formatting.
5780 * libspi/accessible.c:
5781 Added assertion to spi_accessible_new ().
5783 * libspi/application.c:
5784 Put #ifdef qualifiers around a printf.
5787 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5789 * registryd/Makefile.am:
5791 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5792 INTLTOOL_SERVER_RULE macro.
5795 Added an event listener for several ATK signals, for
5796 testing and debugging. Removed a few g_warnings.
5797 Added test output if focussed item implements the Value interface.
5799 * test/test-simple.c:
5800 Added test_value () function (known not to pass at the moment, so
5801 not actually called yet.
5803 2001-12-08 Michael Meeks <michael@ximian.com>
5805 * at-bridge/bridge.c (bridge_focus_tracker),
5806 (emit_eventv): fix the same ref. leak.
5807 (register_atk_event_listeners): don't leak.
5809 * cspi/spi-listener-impl.c (cspi_event): more
5810 protection from client code.
5812 * test/test-simple.c (test_desktop): unref the app.
5814 * test/Makefile.am: upd. TESTS.
5816 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5818 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5820 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5822 * cspi/spi_registry.c: constify in strings.
5823 (deregisterGlobalEventListenerAll): don't release the ref.
5825 * cspi/spi.h: start removing redundant / conflicting
5826 gtkdoc comments, making the API readable at a glance :-)
5828 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5830 * test/keysynth-demo.c (keysynth_exit, main): upd.
5832 * test/simple-at.c (main, simple_at_exit): upd.
5834 * test/test-simple.c (unutterable_horror): kill.
5835 (utterable_normal_derefs): kill.
5836 (main): upd & do a setenv before gtk_init, so that we
5837 can use memprof - and to save the pain of remembering
5838 this, if we're running under memprof - don't exit.
5840 * cspi/spi_main.c (SPI_exit): return exit status
5842 (SPI_event_quit): impl.
5843 (SPI_event_main): simplify.
5844 (cspi_is_gnome_app): kill.
5845 (SPI_init): kill isGNOMEapp arg.
5847 * at-bridge/bridge.c (register_atk_event_listeners):
5848 re-instate the unref.
5849 (bridge_exit_func): don't re-activate the registry,
5850 protect vs. theoretical re-entry, use the
5851 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5852 assert a clean shutdown - for regression tests.
5854 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5856 * configure.in: Comment out dummy i18n support for now,
5857 otherwise it fails to build.
5858 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5859 EXTRA_DIST. They are missing in tarball.
5861 2001-12-07 Michael Meeks <michael@ximian.com>
5863 * util/magnifier.c: kill bonobo activation reg. race.
5865 * libspi/component.c
5866 (impl_accessibility_component_get_extents): make it match
5869 * libspi/registry.c (_registry_notify_listeners):
5870 re-remove X headers & reconcile conflicts.
5871 (spi_listener_struct_free): bad conflict resolve.
5872 (impl_accessibility_registry_register_application):
5873 more bad merging fixed.
5874 (impl_accessibility_registry_deregister_application): ditto.
5875 (spi_registry_new): ditto.
5876 (spi_registry_init): don't have an applications field.
5878 [ merge fixups2 branch to here ]
5879 2001-12-07 Michael Meeks <michael@ximian.com>
5881 * test/simple-at.c (report_focus_event),
5882 (report_focussed_accessible): remove g_warning debug.
5884 2001-12-07 Michael Meeks <michael@ximian.com>
5886 * test/test-simple.c (validate_tree): comment out some checks.
5887 (test_desktop): app now not registered idly - horay.
5889 2001-12-07 Michael Meeks <michael@ximian.com>
5891 * cspi/spi_registry.c
5892 (registerAccessibleKeystrokeListener): clean, stop it leaking
5893 great swathes of memory, and device event controller references.
5894 ensure we always pass valid sequences.
5895 (deregisterAccessibleKeystrokeListener): ditto.
5896 (generateKeyEvent): upd.
5898 * at-bridge/bridge.c (bridge_key_listener): handle
5899 registry dead exception gracefully.
5900 (bridge_focus_tracker, emit_eventv): free ev.
5902 * test/simple-at.c (report_focus_event): fix polarity.
5904 * libspi/application.c (notify_listeners): kill the ev
5905 argument, and make sure we init the ev we use.
5906 (spi_application_object_event_listener): split out a chunk
5907 (get_atk_object_ref): here & fixup.
5908 (reverse_lookup_name_for_toolkit_event): make const.
5909 (spi_application_toolkit_event_listener): fixup, kill leaks
5912 * at-bridge/bridge.c (register_atk_event_listeners):
5913 don't unref the noop object - causes grief.
5915 * libspi/registry.c: remove the X headers.
5916 turn off the debug churn.
5918 * libspi/accessible.c (spi_accessible_new_return): only
5919 release the ref if we are supposed to [doh]
5921 * test/simple-at.c (report_button_press, report_focus_event):
5922 guard vs. unexpected exit.
5924 * at-bridge/bridge.c (gtk_module_init): prune printf.
5925 (bridge_exit_func): fix app unref.
5927 * libspi/Makefile.am: don't install registry or desktop.h
5929 * libspi/*.h: update includes.
5931 * libspi/application.h: don't include ourself, or
5932 other redundant headers.
5934 2001-12-06 Michael Meeks <michael@ximian.com>
5936 * libspi/accessible.c
5937 (get_accessible_from_servant): impl.
5938 Upd. all CORBA impl.s to use it killing cut and paste.
5940 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5942 (SPI_init): register atexit cleanup handler here.
5944 2001-12-06 Michael Meeks <michael@ximian.com>
5946 * at-bridge/bridge.c (gtk_module_init): g_error on
5947 activation exception
5949 2001-12-06 Michael Meeks <michael@ximian.com>
5951 * at-bridge/bridge.c (gtk_module_init): some sort of
5952 confusing merge clash - reverted.
5953 (bridge_idle_init): ditto.
5955 * test/test-simple.c (main, utterable_normal_derefs):
5956 merge from Bill - somehow not committed.
5958 2001-12-06 Michael Meeks <michael@ximian.com>
5960 * libspi/value.c (spi_value_class_init): upd.
5961 (spi_value_finalize): kill.
5963 * libspi/table.c (spi_table_finalize): kill.
5964 (spi_table_interface_new): upd.
5965 (spi_table_class_init): upd.
5966 (get_table_from_servant): impl.
5967 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5969 * libspi/selection.c (spi_selection_finalize): kill.
5970 (spi_selection_interface_new): upd.
5971 (spi_selection_class_init): upd.
5972 (get_selection_from_servant): impl.
5973 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5975 * libspi/relation.c (spi_relation_finalize): kill.
5976 (spi_relation_class_init, spi_relation_new): upd
5978 * libspi/image.c (spi_image_finalize): kill.
5979 (spi_image_class_init): upd.
5980 (spi_image_interface_new): upd.
5981 (get_image_from_servant): impl.
5982 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5984 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5985 (spi_hyperlink_finalize): kill.
5986 (spi_hyperlink_new): upd.
5987 (get_hyperlink_from_servant): impl.
5988 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5990 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5991 (spi_hypertext_finalize): kill.
5992 (spi_hypertext_class_init): upd.
5993 (get_hypertext_from_servant): impl.
5994 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5996 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5997 (spi_editable_text_interface_new): upd.
5998 (get_editable_text_from_servant): impl.
5999 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6001 * libspi/text.c (get_text_from_servant): impl.
6002 All impls - update to use it killing more cut and paste,
6003 also fix bad string returns on duff args ( a somewhat
6004 impossible case to handle - but hey ).
6005 (spi_text_construct): impl.
6006 (spi_text_interface_new): upd.
6007 (spi_text_object_finalize): kill.
6009 * libspi/component.c
6010 (accessibility_component_object_finalize): kill.
6011 (spi_component_class_init): upd.
6012 (get_component_from_servant): impl. helper to kill cut & paste.
6013 (impl_accessibility_component_contains):
6014 (impl_accessibility_component_get_accessible_at_point):
6015 (impl_accessibility_component_get_position):
6016 (impl_accessibility_component_get_extents):
6017 (impl_accessibility_component_get_mdi_z_order):
6018 (impl_accessibility_component_get_layer):
6019 (spi_component_interface_new): upd.
6021 * libspi/action.c (spi_action_finalize): kill.
6022 (spi_action_class_init): upd. inherit from SpiObject.
6023 (spi_action_interface_new): upd.
6024 (get_action_from_servant): impl. helper to reduce cut & paste.
6025 (impl_getKeyBinding, impl_getName, impl_doAction),
6026 (impl_getDescription): Use it everywhere.
6028 * cspi/spi_main.c (get_live_refs): a pointer hash.
6029 (spi_object_hash, spi_object_equal): comment out.
6030 There are issues with CORBA object hashing that need
6033 * libspi/application.c (spi_application_init),
6034 (spi_application_new): upd.
6036 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6037 (spi_accessible_class_init): upd.
6038 s/accessible/object/ in epv methods.
6040 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6042 * at-bridge/bridge.c:
6043 Reorder the bridge initialization into the bridge gtk_module_init,
6044 an immediate call to bridge_register_app, and an idle_add for
6045 register_atk_event_listeners (the only code that *must* wait until
6046 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6047 the activation, creates the application's Accessible object, and
6048 queues the bridge_idle_init function. Restored call to
6049 Accessibility_Registry_deregisterApplication().
6050 Prior to making this call we obtain a new reference to the
6051 registry, which is a temporary hack that helps us handle apps that
6052 shut down the bonobo mainloop before we get there.
6054 * libspi/registry.c:
6055 Fix string leakage in debug block, and don't segv if a an app
6056 dies before its event notifications have been propagated.
6059 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6060 as stopgap measure until we get proper exception handling when
6061 objects die during or before interrogation.
6065 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6066 Also changed default value of is_gnome_app to TRUE.
6069 * test/keysynth-demo.c:
6070 Changed use of SPI_init and SPI_event_main to reflect API change above.
6073 Made report_focus_event check the warning value from getName
6074 before reporting on focussed accessible; simplifies handling of
6075 notifications from dead objects.
6077 * test/test-simple.c: (Changes not in this patch since source is
6080 2001-12-05 Michael Meeks <michael@ximian.com>
6082 * registryd/registryd.c (main): protect against
6083 bonobo-activation startup race condition.
6085 * cspi/spi_main.c (cspi_object_add_check): cope
6086 with the exception elegantly.
6088 * idl/Accessible.idl: decl. ChildGone
6090 * libspi/desktop.c (spi_desktop_dispose): impl.
6091 (spi_desktop_class_init): upd.
6092 (spi_desktop_add_application),
6093 (spi_desktop_remove_application),
6094 (abnormal_application_termination): impl.
6095 (impl_desktop_get_child_at_index): re-impl.
6098 (impl_accessibility_registry_deregister_application),
6099 (impl_accessibility_registry_register_application):
6100 kill excessive debug clutter.
6102 * test/test-simple.c (test_misc): test some NULL
6103 tolerance. (main): upd.
6105 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6106 implements no interfaces - so let's not crash.
6108 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6110 * libspi/accessible.c (spi_accessible_new_return): impl.
6111 helper to calm the cut and paste, to cope with
6112 NULL AtkObjects effectively and efficiently, and to kill
6113 the referencing bugs.
6115 * libspi/table.c (impl_getAccessibleAt),
6116 (impl_getRowHeader, impl_getColumnHeader): upd.
6118 * libspi/hyperlink.c (impl_getObject): upd.
6120 * libspi/accessible.c
6121 (impl_accessibility_accessible_get_child_at_index): upd.
6123 * libspi/component.c
6124 (impl_accessibility_component_get_accessible_at_point): upd.
6126 * test/test-simple.c (test_editable_text, test_text): impl.
6129 * cspi/spi_editabletext.c
6130 (AccessibleEditableText_insertText): constify.
6132 * test/test-simple.c (focus_me): make more robust.
6134 * libspi/accessible.c: remove some printfs in methods that
6135 we test and work fine, so we can get a clean tree dump.
6137 * test/test-simple.c (validate_accessible),
6138 (validate_tree): make tree dumping pretty too.
6140 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6141 it builds without debug on.
6143 * test/test-simple.c (validate_accessible): fix the most
6146 * cspi/spi_main.c (spi_object_release): leave the nicely
6147 blanked memory around if in debug mode.
6149 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6151 [committed to fixups2]
6152 2001-12-05 Michael Meeks <michael@ximian.com>
6154 * libspi/editabletext.c
6155 (spi_editable_text_class_init): g_type_class_peek_parent,
6156 not interface peek - so we finalize cleanly.
6158 * libspi/accessible.c (spi_accessible_new): kill debug.
6160 * test/test-simple.c (validate_accessible): fix ref.
6161 leak, print strings before freeing them; sigh, comment a
6162 chunk out due to strangeness.
6163 (validate_tree): unref the child after use.
6165 * cspi/spi_component.c (AccessibleComponent_getLayer):
6166 add missing break statement, switch on zlayer not the
6167 uninitialized retval.
6169 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6170 before (possibly re-entering) remote unref.
6172 * test/simple-at.c (main): unref the desktop.
6174 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6177 * cspi/spi_main.c (cspi_accessible_is_a): here to
6178 isolate bonobo API usage more.
6180 * libspi/registry.c (impl_accessibility_registry_register_application):
6181 prune bogus comment.
6183 2001-12-04 Michael Meeks <michael@ximian.com>
6185 * test/test-simple.c (validate_tree): upd.
6186 IndexInParent check to make it more lucid.
6187 (validate_accessible): dump the tree.
6189 * libspi/accessible.c (de_register_public_ref),
6190 (get_public_refs): impl.
6191 (spi_accessible_new): make more efficient & intuitive.
6192 Now IndexInParent check works.
6194 2001-12-04 Michael Meeks <michael@ximian.com>
6196 * cspi/spi-util.h: remove.
6198 * cspi/spi.h: move SPI_freeString here
6200 * libspi/component.c (impl_accessibility_component_get_layer):
6202 (impl_accessibility_component_get_mdi_z_order): ditto,
6203 return -1 on error - is this ok ?
6205 * test/test-simple.c (test_application): impl.
6207 * cspi/spi_accessible.c (Accessible_getApplication),
6208 (Accessible_isApplication): impl.
6210 * libspi/registry.c (spi_listener_struct_free): release
6211 the CORBA reference too.
6213 * libspi/accessible.c
6214 (impl_accessibility_accessible_get_parent): fix ref leak.
6216 * libspi/registry.c (spi_registry_new): make the registry
6217 immortal - we don't want it to go away ever.
6219 * libspi/application.c
6220 (spi_accessible_application_finalize): impl. cleanup.
6222 * cspi/spi_registry.c
6223 (deregisterGlobalEventListenerAll),
6224 (deregisterGlobalEventListener),
6225 (deregisterAccessibleKeystrokeListener): fix ref leak.
6227 * cspi/spi_main.c (SPI_init): remove redundant ref.
6229 * test/test-simple.c (unutterable_horror): impl. to force a
6234 (impl_accessibility_registry_deregister_application): release
6235 the application when we de-register it.
6237 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6238 until we have the infastructure to get it right.
6240 2001-12-03 Michael Meeks <michael@ximian.com>
6242 * libspi/Makefile.am: only build eventlistener.[ch]
6244 * libspi/accessible.c
6245 (impl_accessibility_accessible_get_child_at_index): don't leak.
6247 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6248 before we hit the idle handler.
6250 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6251 debugging than exit.
6253 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6255 * libspi/listener.c (impl_notify_event): check source
6256 not NIL before unref.
6258 * libspi/registry.c (impl_registry_notify_event): ditto.
6260 * libspi/eventlistener.c
6261 (impl_accessible_event_notify_event): unref the source.
6263 * libspi/accessibleeventlistener.c
6264 (impl_accessible_event_notify_event): unref the source.
6266 * idl/Event.idl: remove 'hash_id' attribute - of no
6269 * libspi/application.c (notify_listeners): upd list
6271 (spi_application_object_event_listener),
6272 (spi_application_toolkit_event_listener): upd to do correct
6276 (_registry_notify_listeners): update.
6277 (parse_event_type): this method also leaks like a sieve.
6278 (impl_accessibility_registry_deregister_global_event_listener):
6279 fix ETYPE_WINDOW case.
6281 * libspi/application.c
6282 (impl_accessibility_application_register_object_event_listener):
6285 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6287 * libspi/hypertext.c (impl_getLink): ditto.
6289 * cspi/spi_main.c (cspi_object_add): remove
6290 bogus CORBA_Object_duplicate.
6292 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6295 * cspi/spi_accessible.c
6296 (Accessible_getRelationSet): fix leak / referencing issue.
6298 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6299 (cspi_object_add, cspi_object_unref): upd.
6300 (spi_object_release, get_live_refs): impl.
6301 (cspi_cleanup): simplify.
6303 * *.[ch]: s/boolean/SpiBoolean/
6305 * cspi/spi_accessible.c (role_names): actualy order so it
6306 corresponds with the enum !
6308 * test/test-simple.c (test_roles): check some role strings
6309 vs. enums to detect offset errors.
6311 2001-12-01 Michael Meeks <michael@ximian.com>
6313 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6315 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6317 (Accessible_getChildAtIndex): use cspi_add_check so we
6318 check the ev before using a (possibly) invalid value.
6320 * libspi/accessible.c
6321 (impl_accessibility_accessible_get_parent): don't segv
6324 * at-bridge/bridge.c (gtk_module_init): upd.
6325 (bridge_property_event_listener): don't leak strings
6327 (bridge_state_event_listener),
6328 (bridge_property_event_listener): don't use a static
6329 buffer in case of recursive event emission &
6330 re-enterancy - split out the swathe of cut and paste
6332 (emit_eventv): and fix 2 ref leaks here & comply to the
6334 (bridge_register_app): rename to
6335 (bridge_idle_init): this and kill arg parsing, split
6336 various inits & bonobo-activation registration to module
6337 init time, kill referencing error.
6338 (bridge_exit_func): fix the same leak.
6339 (bridge_focus_tracker): don't leak event structures
6341 (bridge_signal_listener): more leakage and cut & paste
6343 (bridge_key_listener): return the result - FIXME is
6344 this polarity correct ?
6345 (accessibility_keystroke_from_atk_key_event): rename
6346 (accessibility_init_keystroke_from_atk_key_event): and stop
6348 (gtk_module_init): return a value - not that it is checked by
6350 (bridge_key_listener): register my horror at casting between
6351 IDL defined structs.
6352 (bridge_get_registry): kill - not used.
6354 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6356 * test/test-simple.c (test_roles): impl.
6357 (test_desktop, validate_accessible, validate_tree): impl.
6359 * cspi/spi_accessible.c (role_names): fixup bogus
6360 MAX_ROLES setup, make constants const for efficient linkage
6361 (AccessibleRole_getName): conform to coding style, make
6364 2001-11-30 Michael Meeks <michael@ximian.com>
6366 * cspi/spi.h: add missing prototype.
6368 * libspi/registry.c (spi_listener_struct_new): fix sig.
6370 * test/Makefile.am: add test-simple
6372 * test/test-simple.c: add
6374 * test/test.sh: add.
6376 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6378 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6379 do it straight - since otherwise we often get an activation race.
6381 [ work before Bill duplicated a chunk of it ... ]
6382 2001-11-30 Michael Meeks <michael@ximian.com>
6384 * libspi/keystrokelistener.c
6385 (spi_keystroke_listener_class_init): fixup arg
6388 * libspi/eventlistener.c
6389 (spi_event_listener_class_init): ditto.
6391 * tests/test.sh: add.
6393 * cspi/spi-listener-impl.h: update macros.
6395 * cspi/spi-listener-impl.c
6396 (cspi_event_listener_remove_callback): add
6397 correct pre-conditions.
6399 * cspi/spi_main.c (SPI_exit): guard vs. double
6400 exits, exit the mainloop nicely.
6401 (SPI_event_main): make more sense.
6402 (SPI_init): move the atexit evilness here so we
6403 always do it (yuck).
6404 (SPI_event_main): upd.
6406 * test/simple-at.c: update for listener changes.
6408 * registryd/registryd.c (main): prune kruft.
6410 * libspi/libspi.h: upd.
6412 * libspi/eventlistener.[ch]: rename broken macros.
6414 * libspi/accessibleeventlistener.[ch]: remove.
6416 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6418 * test/test-simple.c: Add - automated tests.
6420 * cspi/spi-listener-impl.c (cspi_event),
6421 (cspi_key_event): add user_data to invoke.
6422 (cspi_keystroke_listener_finalize): impl.
6423 (cspi_keystroke_listener_class_init): upd.
6426 (createAccessibleEventListener),
6427 (AccessibleEventListener_addCallback),
6428 (createAccessibleKeystrokeListener),
6429 (AccessibleKeystrokeListener_addCallback): upd.
6431 * libspi/deviceeventcontroller.c
6432 (spi_device_event_controller_check_key_event): add public proto.
6435 (impl_accessibility_registry_deregister_global_event_listener):
6436 always init listeners.
6437 (_registry_notify_listeners): yes it is.
6439 * cspi/spi-listener-impl.c (cspi_key_event):
6441 (cspi_event_listener_finalize): impl.
6442 (cspi_event_listener_class_init): hook up.
6443 (event_handler_new, event_handler_free),
6444 (event_list_remove_by_callback): impl.
6445 (cspi_event_listener_remove_callback),
6446 (cspi_keystroke_listener_remove_callback),
6447 (cspi_keystroke_listener_add_callback),
6448 (cspi_event_listener_add_callback): upd.
6450 * libspi/keystrokelistener.c
6451 (keystroke_listener_object_finalize): kill
6452 (spi_keystroke_listener_class_init): upd.
6453 (spi_keystroke_listener_add_callback),
6454 (spi_keystroke_listener_remove_callback): kill,
6456 (impl_key_event): prune drasticaly.
6458 * libspi/eventlistener.c
6459 (spi_event_listener_add_callback),
6460 (spi_event_listener_remove_callback): kill, use
6462 (impl_accessible_event_notify_event): upd.
6463 (spi_event_listener_object_finalize): remove.
6465 * libspi/Makefile.am: use eventlistener.[ch]
6467 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6469 * libspi/registry.c (_registry_notify_listeners):
6470 Changed listener loop iteration to use preferred convention.
6471 Got rid of string memory leaks caused be calling g_strconcat
6472 inside function calls.
6474 * libspi/registry.c (parse_event_type):
6475 Stopped g_strconcat memory leaks, free the g_strsplit return,
6476 g_strdup the split pieces when used, etc.
6478 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6481 Change method 'compare' to return a 'difference set' rather than
6482 taking a StateSet as an out parameter (more Java-friendly).
6484 * idl/Accessible.idl:
6485 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6487 * idl/Component.idl:
6489 Changed methods 'getExtents' and 'getImageExtents' in these
6490 interfaces to return a BoundingBox structure.
6491 (getPosition and getSize are redundant and possibly should be
6492 removed, rather than creating a corresponding Point struct.)
6494 * cspi/spi_component.c:
6495 Modify implementation of getExtents to reflect the above IDL
6500 Add (missing) AccessibleImage_getExtents () API.
6502 * docs/reference/cspi/at-spi-cspi-sections.txt:
6503 Added AccessibleImage_getImageExtents () to docs.
6505 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6507 * idl/Component.idl:
6508 Added two methods, getLayer () and getMDIZOrder (), to reflect
6509 the new ATK methods atk_object_get_layer and
6510 atk_object_get_mdi_z_order. (Which arguably should be part of the
6511 AtkComponent API and AtkObject). Also added an enum,
6512 ComponentLayer, for the first method's return value.
6514 * libspi/component.c:
6515 Added implementations for these methods.
6517 * cspi/spi_component.c:
6519 Added cspi binding methods for above,
6520 AccessibleComponent_getLayer() and
6521 AccessibleComponent_getMDIZOrder().
6522 Added cspi enum 'AccessibleComponentLayer'.
6524 * docs/reference/cspi/at-spi-cspi-sections.txt:
6525 Added above methods to docs.
6529 Changed typedef for 'boolean' type (and all references to it) to
6530 SPIBoolean, to avoid keyword clashes with C++.
6533 Changed usages of 'boolean' to SPIBoolean.
6535 * test/keysynth-demo.c:
6536 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6537 app), except where SPIBoolean is required by the callbacks API.
6539 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6541 * cspi/spi_registry.c:
6542 Removed obsolete X event loop for passive keygrabs (which now
6545 * registryd/registryd.c:
6546 Removed unnecessary call to gdk_init() [cruft]. This also allows
6547 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6550 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6552 * docs/reference/cspi:
6553 Included docs for SPI_freeString in generated documentation.
6556 Renamed spi_freeString to SPI_freeString, for consistency. Added
6557 documentation for this function.
6560 Renamed spi_freeString to SPI_freeString, for consistency.
6561 Removed obsolete method declaration string_from_corba_string.
6563 * test/keysynth-demo.c:
6564 Small tweak to comments.
6567 Stopped leaking the strings returned from CSPI.
6569 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6571 Merged Michael's branch (see his ChangeLog entries below).
6573 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6574 bridge is alive, release on exit.
6576 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6577 Fix type check macro.
6580 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6583 Added is_gnome_app static, and method cspi_is_gnome_app(),
6584 so we can call the appropriate shutdown routine at exit in SPI_exit.
6586 * cspi/spi_main.c (cspi_object_ref):
6587 Duplicate the corba object passed in, since we're keeping it around.
6589 * cspi/SPI_exit.c, cspi_cleanup:
6590 Moved the releasing of the live refs to its own function, so we
6591 can put it in g_atexit (). Call the appropriate shutdown API
6592 depending on whethe calling client is a gnome app or not
6593 (bonobo_main_quit or CORBA_ORB_shutdown).
6595 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6596 Unref the listener when this method is called, after
6597 deregistration. Updated the API docs to note this behavior.
6599 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6600 Bugfixes: Ref the bonobo object when returning a parent or child
6601 reference, or an AccessibleRelation. Generally made sure
6602 BonoboObject refcount is incremented whenever we return an
6605 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6606 Fixed typo/bug in signal declaration.
6608 * libspi/accessibleeventlistener.h:
6611 * libspi/application.c (spi_application_new):
6612 Fixed leak in initialization.
6615 Remembered to increment bonobo-object refcount when returning
6616 children (applications) from desktop object.
6617 Added (empty) finalize method.
6619 * libspi/deviceeventcontroller.c:
6620 Hold a ref to listeners inside DEControllerKeyListeners.
6621 Added dec_key_listener_free() method. Use prepend instead of
6622 append in key_listener list. Fixed some refcount madness and
6623 leaks in the listener registration/deregistration - deregistration
6624 now calls dec_key_listener_free() on listeners, and on the
6625 temporarily constructed dec_key_listener() used to perform the search/match.
6627 * libspi/hypertext.c (spi_hypertest_finalize):
6628 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6629 class. Also fixed spi_hypertext_interface_new() and
6630 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6632 * libspi/hypertext.h:
6633 Removed pointless and duplicate AtkObject pointer from
6636 * libspi/keystrokelistener.c:
6637 Fixed incorrect type of keystroke_listener_parent_class,
6638 renamed keystroke_listener_object_finalize to
6639 spi_keystroke_listener_object_finalize.
6640 Fixed typo in signal declaration
6641 (spi_keystroke_listener_class_init).
6643 * libspi/registry.c:
6644 Added funcsions spi_listener_struct_new() and
6645 spi_listener_struct_free() to help with memory management issues.
6646 We also now use these methods instead of gnew + poking stuff into
6647 the struct, and to decrement listener counts/free the listeners
6648 when deregistering them.
6649 Fix more refcount bugs in getDesktop() and
6650 getDeviceEventController().
6653 De-ref the desktop after enumerating the applications. Explicitly
6654 decrement the refcounts on the created listeners on exit (using
6655 _unref for keystroke listeners, and via the
6656 deregisterGlobalEventListenerAll command for other event
6659 2001-11-27 Michael Meeks <michael@ximian.com>
6661 * cspi/spi-listener.h: fixup enum.
6663 2001-11-27 Michael Meeks <michael@ximian.com>
6665 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6666 (cspi_keystroke_listener_new): Use the cspi variants.
6668 2001-11-26 Michael Meeks <michael@ximian.com>
6670 * test/keysynth-demo.c: fix 2 compile warnings, missing
6673 * test/simple-at.c (report_focussed_accessible),
6674 (report_focus_event, report_button_press),
6675 (check_property_change, is_command_key),
6676 (report_ordinary_key_event, report_command_key_event): upd.
6678 * util/mag_client.h: include pre-requisites.
6680 * libspi/accessibleeventlistener.c
6681 (spi_event_listener_object_finalize): free any lingering
6684 * libspi/keystrokelistener.c
6685 (keystroke_listener_object_finalize): ditto.
6687 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6688 callbacks, with cspi types.
6690 * cspi/spi_event.c (createAccessibleEventListener): chain to
6691 (AccessibleEventListener_addCallback): here.
6692 (createAccessibleKeystrokeListener): chain to
6693 (AccessibleKeystrokeListener_addCallback): here.
6695 * libspi/keystrokelistener.c
6696 (spi_keystroke_listener_class_init): add signal.
6697 (impl_key_event): emit the event.
6698 (boolean_handled_accumulator): impl.
6699 (marshal_BOOLEAN__POINTER): add, gack.
6701 * libspi/accessibleeventlistener.c
6702 (spi_event_listener_class_init): add signal.
6703 (impl_accessible_event_notify_event): emit the signal &
6704 make the loop efficient.
6705 (spi_event_listener_add_callback): prepend the callback.
6707 * libspi/accessibleeventlistener.h: add an 'event' signal,
6708 decl type on callback.
6710 * libspi/keystrokelistener.h: ditto.
6712 * cspi/spi-listener.h: make methods typesafe and
6713 make them use the new event typedefs.
6715 * test/simple-at.c (report_focussed_accessible):
6716 include mag_client.h
6717 Use *(void *)text_interface not the other thing.
6719 * configure.in: add gtk to registryd bits - since we use
6722 * util/magnifier.c: include libbonobo.h
6724 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6726 * test/keysynth-demo.c:
6727 Turned this into a simple scanning keyboard, to demonstrate the
6728 use of g_timeout_add () as a means of creating timers for
6729 scanning, and the use of GtkStyle for visually indicating when
6730 virtual keyboard elements are selected.
6732 keysynth-demo now listens to any keyboard keys with zero-valued
6733 keycodes (i.e. 'unused' keys) and interprets them as
6736 Reworked the shiftlatch code so that shift-down state isn't held
6737 for long periods (it's only synthesized immediately prior to
6738 the keysynth event it's modifying). Note that shiftlatch in this
6739 demo is a convenience, not intended to take the place of AccessX
6740 which is the better choice for getting 'sticky' modifier keys.
6742 * libspi/deviceeventcontroller.c:
6743 * at-bridge/bridge.c:
6744 * cspi/spi_registry.c:
6745 Removed some debug print stuff, and put other verbosity in #ifdef
6750 Implemented some more of the magnifier IDL for the simple
6751 magnifier: namely, getZoomRegionParams.
6752 Added mag_x and mag_y members to MagnifierData struct, aid of this
6754 Added GtkWindow::realize signal handler to magnifier, to keep it
6755 from receiving keyboard focus from the WM.
6757 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6759 * cspi/spi-private.h: my guess at what michael forgot
6760 before he ran off to NZ :-)
6762 2001-11-23 Michael Meeks <michael@ximian.com>
6764 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6765 comment out non existant method invoke so we link.
6767 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6768 use bonobo_exception_get_text for more friendly warnings.
6770 * cspi/spi.c (Obj_Add): move into spi_main & rename
6771 spi_object_add; kill spi.c
6773 * cspi/spi_registry.c
6774 (deregisterGlobalEventListener),
6775 (deregisterGlobalEventListenerAll),
6776 (registerGlobalEventListener): fix exception leaks.
6778 * cspi/spi_main.c (spi_exception): impl. helper, so we
6779 don't leak exceptions.
6781 * cspi/spi_selection.c
6782 (AccessibleSelection_deselectSelectedChild): return the
6785 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6786 (spi_registry): ditto.
6787 (SPI_init): guard against double inits.
6789 * cspi/*.c: use spi_ev (), and spi_registry () where
6790 appropriate - a temporary hack until we have something
6791 better. Use spi_object_add
6793 2001-11-22 Michael Meeks <michael@ximian.com>
6795 * cspi/Makefile.am: re organise, install the headers.
6797 * cspi/*.h: add G_BEGIN/END_DECLS
6799 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6802 Added non-preemptive keylistener for key events with no modifiers
6803 and shift-only modifier.
6805 * libspi/keystrokelistener.c:
6806 Removed some verbose diagnostics printout.
6808 * cspi/spi_registry.c:
6809 Fixed a bug that caused all key listeners to be registered as
6812 * libspi/deviceeventcontroller.c:
6813 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6814 for non-preemptive key masks.
6817 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6819 * docs/reference/idl/at-spi-idl-docs.sgml:
6820 * docs/reference/idl/at-spi-idl-sections.txt:
6821 * docs/reference/idl/at-spi-idl-overrides.txt:
6822 Added missing files.
6824 * docs/reference/Makefile.am:
6825 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6826 to scan the IDL files :-(
6831 Added .cvsignore files.
6833 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6835 * libspi/deviceeventcontroller.c:
6836 * libspi/keystrokelistener.c:
6838 * cspi/spi_registry.c:
6839 Added filters for KeySets, KeyEventSeq, and event types to key
6840 event dispatching, so listeners should only receive those events
6841 that they requested :-)
6843 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6848 * docs/reference:Makefile.am:
6849 * docs/reference/cspi:
6850 * docs/reference/cspi:Makefile.am:
6851 * docs/reference/cspi:tmpl:
6852 * docs/reference/cspi:tmpl:*.sgml:
6853 * docs/reference/idl:
6854 * docs/reference/idl:Makefile.am:
6855 * docs/reference/idl:at-spi-idl-sections.txt:
6856 * docs/reference/idl:at-spi-idl-docs.sgml:
6857 * docs/reference/idl:tmpl:
6858 * docs/reference/idl:tmpl:*.sgml:
6860 Restructured docs directory to allow separate 'reference' docs
6861 section, and forked idl and cspi docs. Added the sgml template
6862 files to CVS. Added the first sections/structural sgml for the
6865 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6867 * configure.in, libspi/Makefile.am: find libXtst.
6869 2001-11-21 Michael Meeks <michael@ximian.com>
6871 * test/accessx-gui.c: s/spi_value/value/ - doh.
6873 * libspi/base.[ch]: add.
6875 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6877 * idl/Accessible.idl:
6878 * idl/Application.idl:
6881 Started gtk-doc cleanup on IDL.
6883 * libspi/deviceeventcontroller.c:
6884 Added and connected non-preemptive key notification from the
6885 toolkits (in addition to the pre-emptive support from XServer
6886 which we had before, but which causes 'focus flashing'). Filters
6887 are presently limited to key modifiers and global/non-global,
6888 KeySets are presently ignored, as are KeyEvent masks.
6890 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6891 structs into the persistant structure rather than just storing
6892 pointers to things that might not persist across servant
6895 The XGrabKey call now does async keygrabs, because synchronous
6896 ones were deadlocking with GDK_event code in a very nasty way.
6898 Added boolean to internal method notify_keylisteners, to indicate
6899 whether the event came from the 'toolkit source' or the 'global
6900 (XServer) source' - this is used in the notification process to
6901 determine which listeners to send the event to.
6903 deviceeventcontroller.c is now warning-free.
6905 * libspi/registry.c:
6906 Fixed regression in application de-registration.
6907 Also fixed some really brain-dead weirdness having to do with
6908 event dispatching - event structs are now duplicated before being
6909 re-marshalled in the dispatch to listeners. This also fixes a
6910 Solaris build problem.
6913 2001-11-20 Michael Meeks <michael@ximian.com>
6916 (impl_accessibility_registry_deregister_global_event_listener):
6919 * libspi/deviceeventcontroller.c
6920 (spi_device_event_controller_check_key_event): return
6921 FALSE on no virtual method.
6923 * libspi/*..h: make includes work on a correctly pathed install.
6925 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6927 * libspi/application.h: kill unused ( and whacked out )
6928 gboolean *spi_application_set_id (AtkObject *app, long id);
6930 2001-11-20 Michael Meeks <michael@ximian.com>
6932 * libspi/*.[ch]: further convert to bonobo's type func
6933 macros, remove redundnant casts etc.
6935 * libspi/text.c s/accessibility_text/spi_text/g,
6936 re-order to de-cruft.
6938 * libspi/hypertext.c: re-order to kill a huge slew
6939 of redundant forward decls.
6941 * libspi/relation.c: ditto.
6943 * libspi/image.c: ditto.
6945 * */.cvsignore: update
6947 2001-11-20 Michael Meeks <michael@ximian.com>
6949 * libspi/deviceeventcontroller.c
6950 (_controller_register_with_devices): use g_getenv,
6951 kill stdlib.h include.
6953 * libspi/keystrokelistener.c
6954 (spi_keystroke_listener_get_type): kill
6955 (spi_keystroke_listener_class_init),
6956 (spi_keystroke_listener_init): rename to this.
6958 * libspi/text.c (impl_getAttributes): fix warning / bug.
6960 * libspi/*.[ch]: more headers, includes and over commenting.
6962 2001-11-20 Michael Meeks <michael@ximian.com>
6964 * libspi/*.[ch]: fixup headers, includes and over commenting.
6966 * libspi/image.c (impl__get_imageDescription): const
6967 correctness warning fix. remove redundant casting.
6969 * libspi/table.c (impl_getRowDescription): ditto.
6970 (impl_getColumnDescription): ditto.
6972 * libspi/libspi.h: add.
6974 2001-11-19 Michael Meeks <michael@ximian.com>
6976 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6978 * libspi/component.c (accessibility_component_get_type):
6979 rename to (spi_component_get_type): and macroify.
6980 (accessibility_component_init): rename to
6981 (spi_component_init): this
6982 (accessibility_component_class_init): rename to
6983 (spi_component_class_init): this
6985 * libspi/action.c (spi_action_get_type): kill, use the macro.
6987 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6990 * libspi/application.c (spi_application_object_event_listener),
6991 (impl_accessibility_application_register_object_event_listener):
6992 warning fixes / const understanding updates.
6994 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6997 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6999 * libspi/spi_accessible.c: Added docs and C bindings for
7000 AccessibleStateSet. (No implementations yet). Documentation
7001 coverage for C bindings now 100%. Made docs for event listeners
7006 boolean notifyListenersSync (in DeviceEventListener listener,
7007 in DeviceEvent event);
7009 oneway void notifyListenersAsync (in DeviceEventListener listener,
7010 in DeviceEvent event);
7012 Added DeviceEventListener and DeviceEvent structs (may deprecate
7013 KeyStroke and KeystrokeListener in favor of this generic
7014 event/listener framework for devices).
7016 * libspi/deviceeventcontroller.c:
7018 Changed some key listener code to take masks, etc., and paved the
7019 way for integration of toolkit/non-preemptive key events. Changed
7020 signatures of some internal methods.
7022 * at-bridge/bridge.c:
7023 Fixed regression connecting to interface signals, apparently
7024 caused by GTK+ changes.
7026 Added an internal bridge_state_listener to deal with
7027 property-change:accessible-state signals.
7029 Changed the key_listeners GList to store structs (including masks,
7030 etc.) instead of just CORBA_Objects (required for full
7031 implementation of key listener API).
7033 Connected the bridge to all currently supported Atk signals.
7034 Events now supported:
7035 object:property-change
7036 object:property-change:accessible-name
7037 object:property-change:accessible-state
7038 object:property-change:accessible-description
7039 object:property-change:accessible-parent
7040 object:property-change:accessible-value
7041 object:property-change:accessible-role
7042 object:property-change:accessible-table-caption
7043 object:property-change:accessible-table-column-description
7044 object:property-change:accessible-table-column-header
7045 object:property-change:accessible-table-row-description
7046 object:property-change:accessible-table-row-header
7047 object:property-change:accessible-table-summary
7048 object:children-changed
7049 object:visible-data-changed
7050 object:selection-changed
7051 object:text-selection-changed
7053 object:text-caret-moved
7055 object:row-reordered
7057 object:column-inserted
7058 object:column-reordered
7059 object:column-deleted
7060 object:model-changed
7062 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7064 * libspi/hyperlink.c,h:
7065 Fixed some broken stuff in hyperlink.
7067 * libspi/relation.h:
7068 * libspi/relation.c:
7069 * cspi/spi_accessible.c:
7070 Initial implementations of AccessibleRelation methods, and docs.
7072 * libspi/accessible.c:
7073 Fixed a bug that caused SEGV if an accessible
7074 object's description is NULL, and a client
7075 requests it. An empty string is now returned.
7077 * cspi/spi_editabletext.c:
7078 * cspi/spi_hypertext.c:
7080 * cspi/spi_hyperlink.c:
7084 Doc coverage now 95%.
7086 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7088 One last namespacing revision:
7089 * libspi/accessibleeventlistener.[ch]:
7090 Renamed SpiAccessibleEventListener to SpiEventListener,
7091 (no need for two namespaces ;-)
7093 And lots of documentation fixes:
7095 * docs/at-spi-docs.sgml:
7096 Fixed 'underscore vs. hyphen' bug that was preventing
7097 the gtk-doc API docs from being automatically generated.
7100 * cspi/spi-listener.h
7102 * cspi/spi_accessible.c
7104 * cspi/spi_application.c
7105 * cspi/spi_component.c
7106 * cspi/spi_editabletext.c
7108 * cspi/spi_hypertext.c
7110 * cspi/spi_registry.c
7111 * cspi/spi_selection.c
7115 * docs/at-spi-docs.sgml
7116 * docs/at-spi-sections.txt
7118 Added and fixed up gtk-doc documentation in cspi.
7120 Interfaces now (fully) documented (subject to revision and enhancement):
7122 Event Listener Support
7124 AccessibleApplication
7128 AccessibleEditableText
7135 AccessibleRelationSet
7140 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7142 * at-bridge/bridge.c:
7143 Initial work for toolkit-level key snooper connection by bridge.
7148 New typedefs and fixes to support new namespacing, and cleaner
7149 separation of cspi bindings from libspi bonobo implementation.
7150 Removed inconsistent and extraneous Spi* namespace prefix that
7151 had crept into cspi headers.
7152 Lots of comment fixes that sed had missed.
7154 * cspi/spi-roletypes.h:
7155 * cspi/spi-statetypes.h:
7156 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7157 to AccessibleRoleType.
7159 * libspi/accessibleeventlistener.h:
7160 Fixed minor namespacing weirdness.
7162 * libspi/deviceeventcontroller.c:
7163 Reordered some internal API for device listeners.
7164 Changed the key registry final boolean to 'is_system_global'
7165 rather than 'is_synchronous', which is more descriptive of its
7167 Added spi_device_event_controller_new().
7168 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7170 * libspi/keystrokelistener.[ch]:
7171 Namespaced KeystrokeListener to SpiKeystrokeListener.
7172 Changed uses of keymasks to use SPI_ prefix, and did other
7175 * libspi/keymasks.h:
7176 Namespaced keymask constants with SPI_ prefix.
7178 * libspi/registry.c:
7179 Some warning fixes, and knock-on fixes from namespace changes.
7182 Added rules for accessx-gui test program.
7184 * test/accessx-gui.c:
7185 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7186 utility. It doesn't actually use at-spi, but it's still cool and
7189 * test/keysynth-demo.c:
7193 Fixes so that these test clients work properly with the namespaced
7194 libraries. (Incompletely tested for technical reasons, fixes may follow)
7197 2001-11-13 Michael Meeks <michael@ximian.com>
7199 * libspi/application.c
7200 (impl_accessibility_application_get_version),
7201 (impl_accessibility_application_get_toolkit_name):
7203 (impl_accessibility_application_set_id),
7204 (impl_accessibility_application_get_id): remove
7205 redundant casting code.
7207 * libspi/action.c (impl_getDescription): fix warnings.
7209 * libspi/accessible.c
7210 (impl_accessibility_accessible_get_parent),
7211 (impl_accessibility_accessible_get_child_at_index),
7212 (impl_accessibility_accessible_get_state),
7213 (impl_accessibility_accessible_get_relation_set):
7214 warning fixes & include action.h
7216 2001-11-13 Michael Meeks <michael@ximian.com>
7218 * *.[ch] fix bits I screwed up:
7220 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7221 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7223 2001-11-13 Michael Meeks <michael@ximian.com>
7225 * *.[ch] Namespace libspi into spi_ and Spi.
7227 2001-13-11 Michael Meeks <michael@ximian.com>
7229 * Makefile.am: dist & install at-spi-1.0.pc
7231 * libspi/Makefile.am: install into at-spi-1.0
7233 * idl/Makefile.am (idldir): install into at-spi-1.0
7235 * at-spi-1.0.pc.in: add.
7237 * configure.in: build it.
7239 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7241 * test/keysynth-demo.c:
7242 Use a 'realize' signal-handler to set the WM properties for
7243 the virtual keyboard, rather than making it a "POPUP" type
7244 override-redirect window (thanks to anders carlsson for that
7247 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7250 * test/keysynth-demo.c:
7251 Added new test of key synthesis, which creates a simple
7252 (mouse-operated) onscreen keyboard. It inserts key events into
7253 the currently-focused window, thus it does not grab keyboard focus
7256 * cspi/spi_registry.c:
7257 Added C binding for AT-SPI generateKeyEvent.
7259 * libspi/deviceeventcontroller.c:
7260 Added call to XFilterEvent so that key listener works with XIM (we
7261 hope). Added event_synth_type to generateKeyEvent, so that we can
7262 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7263 synthesize a press/release pair for KeySyms.
7265 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7267 * libspi/Makefile.am:
7268 * registryd/Makefile.am:
7269 (temporary) hack to include libXtst in libspi and registryd.
7270 (Needed for keystroke synthesis, see below).
7273 Improved API for registerKeystrokeListener, in accordance with
7274 discussions with Gnopernicus team and X server research.
7276 * libspi/registry.c:
7277 * libspi/deviceeventcontroller.c:
7278 * libspi/accessible.c:
7279 * libspi/keystrokelistener.c:
7280 Changes and fixes to support keylisteners for potentially
7281 consumed key events (that is, 'passive grabs').
7282 Added implementation for generateKeyEvent() [untested].
7285 Changes to registerKeystrokeListener() API, as above.
7286 Added deregisterGlobalEventListenerAll(), and
7287 deregisterKeystrokeListener(), which are needed for clean exit of
7289 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7290 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7292 * cspi/spi_registry.c:
7293 Added implementations of function prototypes mentioned above.
7295 * registryd/registryd.c:
7296 Added the key listener event source as a g_timeout(), to allow
7297 receipt of key events that are not caught by GDK (since GDK
7298 doesn't support passive keygrabs, this was necessary).
7301 Changed to attach a keylistener to 'Alt' keys, and
7302 respond to the following keycommands: Alt-M (toggle magnifier);
7303 Alt-F (toggle speech); Alt-Q (quit).
7304 Added an exit routine to deregister the listeners, and a key
7305 listener that prints some key info to the console when a key
7306 matches the listener mask (and is thus received by the listener).
7308 * util/idl/Magnifier.idl:
7309 Changes to magnifier API to support multiple zoom regions,
7310 non-uniform scaling in x and y, markDirty, and a host of other
7311 features that would be useful to magnification.
7314 * util/mag_client.c:
7315 * util/mag_client.h:
7316 * util/mag_control.c:
7318 Source code changes to support the above IDL changes.
7321 As above, and also changes to use a (slower) generic conversion
7322 path for colormap conversions, since the fast RGB conversions have been
7323 reported to fail for 16-bit displays.
7325 2001-10-26 Michael Meeks <michael@ximian.com>
7327 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7329 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7331 * at-bridge/Makefile.am: fix LDFLAGS.
7333 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7335 * at-bridge/bridge.c:
7336 Re-worked listeners for toolkit events, now we have signal
7337 and property listeners. Added a private method
7338 register_atk_event_listeners(), which registers with the
7339 various atk and gtk signals we need to monitor in order to emit
7341 Added emission hook for AtkObject:property-change events, to
7342 support the 'property listeners'.
7343 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7346 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7347 which emit warnings and exit, respectively, if CORBA errors occur
7348 during remote calls, and we now use these methods to check most of
7349 our CORBA calls in the C bindings.
7351 * cspi/spi_accessible.c:
7352 Changed AccessibleSelection_refSelectedChild() to
7353 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7354 now increment refcounts.
7356 * cspi/spi_component.c:
7357 Fixed some long pointer casts (dangerous!) to pass pointers to
7358 CORBA_longs of the proper type to the CORBA stubs, and copy the
7359 data into the longs that were passed into the C bindings code.
7361 * at-bridge/bridge.c:
7363 * libspi/accessible.c:
7364 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7365 hyperlinks, AtkHyperlink is an object type.
7367 * libspi/application.c:
7368 Added various conversions to and from "generic" event types and
7369 atk-specific types; this is really part of the 'bridge'
7370 implementation but is valid for all AtkObject-based accessibility
7373 * libspi/editabletext.c:
7374 Fixed nasty bug wherein editable text's finalize method was
7375 unref'ing tha AtkObject reference that the text parent class was
7376 about to unref _again_. There was also a nasty inheritance bug
7377 that meant that the AccessibleEditableText class was corrupt.
7379 * libspi/selection.c:
7380 Provided implementations for some selection API that was broken.
7382 * idl/Application.idl:
7383 Added registerObjectEventListener () method.
7386 Fixed a number of return values that were Bonobo_Unknowns from
7387 bonobo_object_corba_objref(), which I
7388 forgot to dup before returning. Changed instances of
7389 bonobo_object_corba_objref (bonobo_object(o)) to
7390 BONOBO_OBJREF(o), for concision and clarity.
7392 2001-10-13 Louise Miller <louise.miller@sun.com>
7394 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7395 idl/Event.idl, idl/Registry.idl
7396 Changed these files to include Bonobo_Unknown.idl instead
7399 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7401 * libspi/component.c libspi/component.h:
7402 Fixed typo. Added assertions for object checks in
7403 AccessibleComponent code.
7405 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7407 * idl/Accessible.idl:
7408 Added 'isEqual (Accessible *object)'
7409 method for Accessible. (Not Yet Implemented).
7412 Changed signature of registerKeystrokeListener() to
7413 take a KeySet and KeyEventSeq so that specific keys and event
7414 types could be requested for monitoring, and added a flag
7415 is_synchronous so that either synchronous or asynchronous
7416 notification could be requested. (However this is not all
7417 implemented yet). This also meant adding two new typedefs,
7418 KeyEventSeq and KeySet.
7421 Added two new relations, RELATION_TOOLTIP_FOR and
7422 RELATION_LEAFNODE_OF.
7425 Added new state, STATE_HAS_TOOLTIP.
7427 * libspi/text.c, editabletext.c:
7428 Added new assertions to all casts of bonobo-objects from
7429 CORBA servants, to prevent Text API calls on non-text objects.
7430 Changed suspect casts of int-pointer types, so that we
7431 always send a valid CORBA_long pointer to the CORBA APIs that use
7432 in/out long parameters. We then have to copy from the CORBA_long
7433 into the regular long or int for return to the C bindings, or
7434 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7437 * libspi/deviceeventcontroller.c:
7438 Cleaned these sources up.
7440 Changed return type for getCharacterAtOffset to
7441 CORBA_unsigned_long, to allow for 32-bit characters.
7444 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7448 Fixed 'make dist' so that distro compiles...
7449 * libspi/keymasks.h:
7451 * cspi/spi-listener.c:
7452 KeystrokeListenerCB now returns a boolean.
7454 Added KeyEventType struct, and KeyStroke.
7455 Also added createKeystrokeListener(),
7456 KeystrokeListener_addCallback(),
7457 KeystrokeListener_removeCallback(), and added a keymask to
7458 registerKeystrokeListener().
7459 * cspi/spi_accessible.c:
7460 Changed numerous return types for interfaces from
7461 AccessibleComponent to Accessible<InterfaceName>; this was
7462 probably a cut-and-paste error.
7464 Implementations of new KeystrokeListener api (from spi.h,
7467 Changes to key modifier mapping.
7468 Created ControllerEventMask struct.
7469 Made DeviceEventController derive from Bonobo::Unknown.
7471 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7472 * libspi/deviceeventcontroller.c:
7473 Added a number of new internal (private) methods.
7474 * libspi/editabletext.c:
7475 * libspi/editabletext.h:
7476 Fixed a number of bugs related to the fact that
7477 editabletext inherits from text. Fixed the EditableText struct,
7478 the init() call, and use correct casts when calling Text methods
7479 from an EditableText object. Removed (duplicate) atko from the
7480 EditableText structure, we use the one in the parent Text
7481 structure via the casts mentioned above.
7482 * libspi/keystrokelistener.[ch]:
7483 * libspi/registry.c:
7484 Changes in support of keyboard handling (above).
7486 Keyboard handling, though partly functional, is still not
7487 recommended for at-spi client use as there is considerable
7488 work yet to be done.
7491 Changed some places where pointers to various int types
7492 are cast to be pointers to CORBA_long types and vice-versa:
7493 pointer casting is not safe so we pass pointers of the correct
7494 types and then cast the result before putting it into the target
7497 * libspi/text.h: minor typos corrected.
7499 We now speak not only the name of a Text element, but the
7500 first sentence of its content, when it receives focus.
7501 I also changed the text compression to 75% from 50%.
7502 * util/Accessibility_Util.server.in:
7503 Changed the default magnifier type to be a 3x vertical
7504 splitscreen magnifier (was previously a 2x horizontal one).
7506 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7508 * libspi/keystrokelistener.h:
7509 * libspi/keystrokelistener.c:
7510 Initial functional implementations of KeystrokeListener.
7513 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7515 Fixed string handling for NULL strings in libspi.
7516 Added spi_freeString to free strings returned by C bindings.
7518 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7520 * libspi/keystrokelistener.h:
7521 * libspi/keystrokelistener.c:
7522 Began (no-op) implementations of KeystrokeListener
7524 * libspi/deviceeventcontroller.c:
7525 * libspi/deviceeventcontroller.h:
7526 Began creating implementations of DeviceEventController,
7527 to handle keystroke and mouse event listening and
7529 * libspi/accessible.c:
7530 Stubbed-in the implementations for
7531 Accessibility_Accessible_getState and
7532 Accessibility_Accessible_getRelationSet.
7533 * libspi/registry.c:
7534 Improved de-registration process and fixed some bugs,
7535 deregistration now works correctly.
7537 Added initialization of applications list (to NULL).
7539 Reduced speech compression from 0.5 to 0.7, for demo.
7540 Changed call to gdk_window_set_decorations()
7541 to gtk_window_set_decorated().
7542 * at-bridge/bridge.c:
7543 Bridge now deregisters when app exits, via
7544 registration of a cleanup function
7545 with the g_atexit() call.
7546 Required making 'app' static, renamed 'this_app'.
7547 Fixed broken use of bonobo_init, passing argv wrongly.
7549 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7553 Created a new directory for
7554 accessibility-related utilities, primarily for
7555 testing and demo purposes, but with possible
7562 Onscreen magnifier utility that
7563 is implemented as a bonobo service.
7565 * util/mag_client.c:
7566 * util/mag_client.h:
7567 Client-side support (simple C bindings)
7568 for Magnification service
7570 * util/mag_control.c:
7571 Client program example for
7572 Magnification service
7574 * util/Accessibility_Magnifier.server.in:
7575 Bonobo-activation file for the
7576 Magnification service.
7579 * util/idl/Magnifier.idl:
7580 IDL defining the bonobo Magnification
7584 Modifications to use the bonobo-activated magnifier
7585 above, in place of trying to connect to an existing
7586 magnifier that uses socket-listening IPC.
7588 If env variable MAGNIFIER is set, a magnifier service
7589 will be started if one does not exist.
7591 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7593 * at-bridge/bridge.c:
7594 applied patch from Marc to build and run
7595 against new glib and gtk+ (seemed like a change
7596 to bonobo_init signature was made ?)
7598 made festival-server support turned off by default.
7599 Added support for a simple magnifier (off by default)
7600 which will be added to a 'util' directory later.
7601 * at-bridge/Makefile.am:
7602 Changed "application.h" header from a 'source'
7603 to a 'dependency' of libat-bridge.
7605 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7614 Added interface implementation c files to list of
7615 includes so they are included in libcspi.
7618 Changed prototype of AccessibleAction_doAction to return a
7620 Changed prototype of AccessibleTable_getCaption to
7621 return an Accessible.
7622 Changed prototype of AccessibleTable_getSelectedRows
7623 and AccessibleTable_getSelectedColumns to
7624 return a long (returns the number of selected rows
7625 or columns respectively).
7626 Changed name of AccessibleText_refRunAttributes to
7627 AccessibleText_getAttributes.
7628 Changed prototype of AccessibleText_getCharacterExtents to
7629 return a void rather than a boolean.
7630 Added support for a AccessibleCoordType parameter
7631 specifying what type of coordinates are desired.
7632 Added an AccessibleCordType parameter to
7633 AccessibleText_getPointAtOffset.
7635 * cspi/spi_accessible.c:
7636 Added code to return the outstanding interfaces from
7637 Accessible_queryInterface.
7639 * cspi/spi_action.c:
7641 Corrected call to getNActions to call the c binding
7644 * cspi/spi_editabletext.c:
7646 Changed name from setRunAttributes to setAttributes.
7648 * cspi/spi_hyperlink.c:
7650 Changed call to getNAnchors to correctly call the c
7651 binding for an attribute.
7653 * cspi/spi_hypertext.c:
7655 Changed getImageDescription to correctly call the
7656 binding for an attribute.
7658 * cspi/spi_selection.c:
7659 Changed getNSelectedChildren to correctly call the c
7660 binding for the attribute.
7661 Changed refSelectedChild to getSelectedChild.
7665 Changed getCaption to return an Accessible.
7666 Fixed calls which retrieve attributes.
7667 Changed refAt to getAccessibleAt.
7668 Changed getNSelectedRows and getNSelectedColumns to
7672 Changed getCharacterExtents and getPointAtOffset to accept an
7673 AccessibleCoordType.
7675 Changed calls which retrieve attributes.
7676 Changed refRunAttributes to getAttributes.
7681 * idl/Hyperlink.idl:
7682 Changed n_anchors attribute to nAnchors to keep naming
7683 convention consistent.
7686 Made Table inherit from Bonobo::Unknown.
7687 Added nSelectedColumns and nSelectedRows attributes.
7690 Made Value inherit from Bonobo::Unknown.
7692 * libspi/hyperlink.c:
7693 Change for nAnchors attributte name change.
7695 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7703 Added interface implementation c files to list of
7704 includes so they are included in libcspi.
7707 Changed prototype of AccessibleAction_doAction to return a
7709 Changed prototype of AccessibleTable_getCaption to
7710 return an Accessible.
7711 Changed prototype of AccessibleTable_getSelectedRows
7712 and AccessibleTable_getSelectedColumns to
7713 return a long (returns the number of selected rows
7714 or columns respectively).
7715 Changed name of AccessibleText_refRunAttributes to
7716 AccessibleText_getAttributes.
7717 Changed prototype of AccessibleText_getCharacterExtents to
7718 return a void rather than a boolean.
7719 Added support for a AccessibleCoordType parameter
7720 specifying what type of coordinates are desired.
7721 Added an AccessibleCordType parameter to
7722 AccessibleText_getPointAtOffset.
7724 * cspi/spi_accessible.c:
7725 Added code to return the outstanding interfaces from
7726 Accessible_queryInterface.
7728 * cspi/spi_action.c:
7730 Corrected call to getNActions to call the c binding
7733 * cspi/spi_editabletext.c:
7735 Changed name from setRunAttributes to setAttributes.
7737 * cspi/spi_hyperlink.c:
7739 Changed call to getNAnchors to correctly call the c
7740 binding for an attribute.
7742 * cspi/spi_hypertext.c:
7744 Changed getImageDescription to correctly call the
7745 binding for an attribute.
7747 * cspi/spi_selection.c:
7748 Changed getNSelectedChildren to correctly call the c
7749 binding for the attribute.
7750 Changed refSelectedChild to getSelectedChild.
7754 Changed getCaption to return an Accessible.
7755 Fixed calls which retrieve attributes.
7756 Changed refAt to getAccessibleAt.
7757 Changed getNSelectedRows and getNSelectedColumns to
7761 Changed getCharacterExtents and getPointAtOffset to accept an
7762 AccessibleCoordType.
7764 Changed calls which retrieve attributes.
7765 Changed refRunAttributes to getAttributes.
7770 * idl/Hyperlink.idl:
7771 Changed n_anchors attribute to nAnchors to keep naming
7772 convention consistent.
7775 Made Table inherit from Bonobo::Unknown.
7776 Added nSelectedColumns and nSelectedRows attributes.
7779 Made Value inherit from Bonobo::Unknown.
7781 * libspi/hyperlink.c:
7782 Change for nAnchors attributte name change.
7785 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7787 implementations-- made server implementations own AtkObject pointers
7788 rather than their respective AtkInterrface pointers to fix
7789 refcounting. AtkHyperlink is still broken.
7791 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7792 * cspi/spi_accessible.c:
7793 Added method Accessible_Role_getName(),
7794 and requisite string array (role_names).
7795 Added conversion string_from_corba_strin() call
7796 to Accessible_getName and _getDescription.
7797 * libspi/accessible.c:
7798 Added implementation for Accessible_getRole()
7800 Added festival support, used if environment variable
7803 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7805 * at-bridge/bridge.c:
7806 Now allocate Accessibility_Event using
7807 Accessibility_Event__alloc() instead of g_new0().
7808 * libspi/accessibleeventlistener.c:
7809 Initialize AccessibleEventListener->callbacks to NULL.
7810 Fixed accessible__event_listener_init() param, changed to
7811 "AccessibleEventListener *" type.
7812 Changed a bonobo_object_release_unref() call to
7813 Accessibility_Accessible_unref().
7814 * libspi/listener.c:
7815 Changed Bonobo_Unknown_unref to (equivalent)
7816 Accessibility_Accessible_unref.
7817 * libspi/registry.c:
7818 Changed bonobo_object_release_unref to
7819 Accessibility_Accessible_unref.
7821 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7824 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7825 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7826 spi-util.c spi-util.h
7827 Implementations for C bindings to remaining accessibility
7830 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7833 changed return value of Action from void to boolean to
7834 bring in line with ATK.
7837 Changed getText funcions to return "out" start and end offsets.
7838 Changed getAttributes to take and offset and return the start
7839 and end offset of the attribute run.
7840 Changed getOffsetAtPoint and getCharacterExtents to take an
7841 enum describing whether coordinates are window or screen.
7844 libspi/action.c libspi/action.h libspi/editabletext.c
7845 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7846 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7847 libspi/image.h libspi/selection.c libspi/selection.h
7848 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7849 libspi/value.c libspi/value.h
7850 Added server implementations for outstanding ATK interfaces
7851 not yet implemented.
7853 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7856 Added (missing) getName() method.
7857 Made nActions an attribute.
7858 * idl/EditableText.idl:
7859 Changed order of params in setAttributes.
7860 * idl/Hyperlink.idl:
7861 Removed getAnchor, added getURI.
7863 Changed attributes to methods, for efficiency
7864 (so that getting extents can be done in one call)
7865 * idl/Selection.idl:
7866 Changed nSelectedChildren to attribute, and re-indented.
7867 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7869 * idl/Text.idl: reformatted to match our coding style.
7870 (temporarily?) removed getRowColumnAtOffset().
7871 Changed text selection API to support multi-select and
7872 non-contiguous selections, as in ATK.
7873 * idl/Value.idl: changed some methods to attributes.
7875 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7877 * libspi/listener.c(impl_notify_event):
7878 BonoboUnkown_unref the source instead
7879 of bonobo_object_release_unref - the ORB
7880 handles the releasing.
7882 * configure.in: require ORBit-2.3.94 for
7885 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7887 Tagged CVS repository 'EA_1_0'.
7888 * README.EARLY_ACCESS:
7889 Alphabetized acknowledgements list, and
7891 Listed some known dependencies of at-spi.
7893 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7895 * docs/at-spi-docs.sgml:
7896 * docs/at-spi-sections.txt:
7897 * docs/at-spi-overrides.txt: (Added zero-length file)
7898 Documentation improvements - gtk-doc should build
7899 docs for all implemented C bindings now.
7902 * cspi/spi.c: (New file)
7903 * cspi/spi_event.c: (New file)
7904 * cspi/spi_registry.c: (New file)
7905 * cspi/spi_accessible.c: (New file)
7906 * cspi/spi_application.c: (New file)
7907 * cspi/spi_component.c: (New file)
7908 Split spi_main.c into six parts, and included them from
7909 "spi.c". This is a bit of a hack, probably temporary,
7910 but required by gtk-doc, apparently.
7912 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7915 * docs/at-spi-docs.sgml:
7916 * docs/at-spi-sections.txt:
7918 Initial checkins/modifications for gtk-doc generation.
7921 Added (missing) interface query methods to Accessible's C binding.
7923 Added GenericInterface type definition.
7925 Added query for AccessibleComponent interface to focus event handler.
7926 Added printout of bounding box for focussed component.
7927 * libspi/component.c:
7928 Added partial implementation for AccessibleComponent to C binding.
7929 * idl/Application.idl:
7930 * libspi/registry.c:
7931 * libspi/listener.c:
7932 * libspi/application.c:
7933 * libspi/application.h:
7934 Changed "ID" attribute type from string to long.
7936 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7940 Made method naming consistent: methods taking object args
7941 start with uppercase, other methods (except those using
7942 acronyms) start with lowercase. Underscores delimit between
7943 object names and method names:
7944 SPI_init() - uppercase since it starts with an acronym.
7945 getDesktopCount () - lowercase start since no object param0.
7946 Accessible_getName() - uppercase object type name, studlyCaps method
7950 Added gtk-doc documentation for all currently implemented
7951 methods in the C bindings API.
7953 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7955 * Makefile.am : changed build order to build test last.
7958 Changed "createEventListener" to "CreateEventListener".
7959 * libspi/accessibleeventlistener.c :
7960 Bugfix for addition of callbacks.
7961 * test/Makefile.am :
7962 * test/simple-at.c :
7963 Added new test that uses the C bindings API.
7965 * libspi/listener.c :
7966 * libspi/registry.c :
7967 * libspi/accessibleeventlistener.c :
7968 * at-bridge/bridge.c :
7969 Renamed member "target" of Accessibility_Event to "source",
7970 which is more descriptive.
7973 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7977 * cspi/Makefile.am :
7978 Added makefile support for at-spi/cspi directory.
7981 * cspi/spi-listener.h : (NEW FILE)
7982 Added support for/use of spi-listener.h.
7984 C bindings now build successfully, with no warnings.
7985 * libspi/accessibleeventlistener.h : (NEW FILE)
7986 * libspi/accessibleeventlistener.c : (NEW FILE)
7987 * libspi/Makefile.am :
7988 Added new object type "AccessibleEventListener"
7989 which inherits from Listener, and allows attachment
7990 of in-process callbacks (so that a client with a listening
7991 object instance can add functionality to the local
7992 implementation, dynamically).
7994 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7996 * libspi/accessible.c:
7997 Add implementation for get_index_in_parent().
7999 Added #include of "spi-roletypes.h", and
8000 added enumerated type AccessibleCoordType.
8001 Added definition for KeystrokeListener (function type).
8004 * cspi/spi-statetypes.h :
8005 * cspi/spi-roletypes.h :
8007 Added these headers, used by spi.h.
8009 Added code (NOTE: not yet built by make).
8011 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8013 * libspi/Makefile.am: generate imodule
8014 at the same time as other idl compiler
8017 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8018 * libspi/registry.c :
8019 * libspi/application.c :
8020 * idl/Application.idl :
8021 Made registration with toolkit an application method,
8022 which is required since each app has its own toolkit static
8023 environment. Thus the bridge must register for
8024 notification of toolkit events from each application in turn.
8025 Toolkit notifications are now successfully registered for, and
8026 sent to the listening at client.
8028 Changed toolkit event string to use hyphens rather than underscores.
8029 * libspi/listener.c :
8030 listner now gives more info in debug mode - it reports the
8031 name of the event received, as well as the name of the source.
8034 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8036 * libspi/registry.c :
8037 added more implementation for toolkit events.
8038 Fixed bug such that toolkit event registrations
8039 (via atk) use the whole event name string, not
8041 Removed a useless call to an ORBit_ method.
8042 * at-bridge/bridge.c :
8043 Removed unused local sbuf[] variable.
8045 We now register for Gtk:GtkWidget:button_press_event
8046 events as well as "focus:" events.
8048 Add some more API from Registry.idl that was missing,
8049 for keystroke listening, keystroke and mouse event
8050 synthesis, and enumeration of accessible desktops.
8052 2001-08-16 Michael Meeks <michael@ximian.com>
8054 * configure.in: use AM_GLIB_GNU_GETTEXT.
8056 * Makefile.am (SUBDIRS): kill intl.
8058 2001-08-15 Michael Meeks <michael@ximian.com>
8060 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8062 * configure.in: upd.
8064 * configure.in: depend on a recent bonobo-activation that
8065 will find our server files ...
8067 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8069 * libspi/accessible.c : accessible_new() :
8070 Now we add the Component interface via bonobo_object_add_interface,
8071 if the contained AtkObject implements AtkComponent.
8072 * libspi/accessible.h : now include "component.h"
8073 * libspi/component.h :
8074 * libspi/component.c : added files - implementation of
8075 bonobo wrapper object for Accessibility/Component
8076 * libspi/listener.c :
8077 Added test code to check for Accessibility/Component:1.0
8078 interface and report whether it is implemented by the
8080 * libspi/registry.c :
8081 Now we check for not only the hash of the whole event
8082 string before relaying the event, we also check the
8083 "minor" event string (without the detail string).
8084 This allows event listeners to be registered against
8085 all events of a certain major+minor type, or just
8086 against a specific major+minor+detail type.
8087 * libspi/accessible.c :
8088 Added implementations for Accessible:get_parent(),
8089 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8090 * libspi/registry.c :
8091 * libspi/listener.c :
8092 Replaced calls to Accessibility_Accessible_ref() and
8093 Accessibility_Accessible_unref() with
8094 calls to bonobo_object_dup_ref() and
8095 bonobo_object_release_unref(), so that the CORBA object
8096 is dup-ed and released when relayed, as well as the bonobo object.
8098 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8100 * libspi/Makefile.am,
8101 registryd/Makefile.am,
8102 at-bridge/Makefile.am.
8103 test/Makefile.am, configure.in:
8104 reverse previous changes.
8106 * /idl/Image.idl: fix typo.
8108 * test/Makefile.am: put DEBUG_FLAGS
8111 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8113 * test/app.c: use argv[0] instead of
8116 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8118 * libspi/Makefile.am,
8119 registryd/Makefile.am,
8120 at-bridge/Makefile.am.
8121 test/Makefile.am, configure.in:
8122 cleanup, replace individual LIBS/CFLAGS with
8123 AT_COMMON_{LIBS|CFLAGS}.
8127 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8129 * configure.in, libspi/Makefile.am:
8130 Change IDL path checking for bonobo-activation
8133 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8135 * registryd/registry.c : separated event listeners to use
8136 3 separate lists (focus, window, toolkit). Began testing
8137 event names against hashes before relaying events.
8138 * test/at.c : now register for events of type "focus:"
8139 * test/app.c : now generate events of type "focus:"
8140 * at-bridge/bridge.c : register with ATK for focus events,
8141 and we now relay those focus events to any "focus:" listeners.
8142 This now works with the bridge as a GTK_MODULE when running test/at.
8143 * libspi/registry.c :
8144 * libspi/listener.c :
8145 now we ref event sources before propagating, and unref on receipt.
8146 * libspi/registry.c :
8147 some changes to internal structs, to support event typestring hashes.
8148 * text/app.c : changed the way the appname is generated.
8149 * cspi : added directory that will hold the C bindings library for
8150 non-CORBA/bonobo-savvy clients.
8151 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8152 * idl/Component.idl : added in parameter to indicate coord system for
8153 geometry-related calls.
8154 * idl/Hyperlink.idl : added readonly n_links attribute
8155 * idl/Image.idl : changed methods to attributes.
8157 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8159 * at-bridge/Makefile.am: link against
8160 ../libspi/libspi.la instead of -lspi.
8162 * at-spi/test/app.c: include
8163 bonobo-activation.h. Use a default appname
8164 if one is not provided.
8166 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8168 * idl/Registry.idl : temporarily changed register_Application
8169 to oneway, to work around issue with initial registration
8171 * idl/Application.idl : changed attribute "id" from readonly
8172 to read-write, since it needs to be assigned by Registry.
8173 * registryd/registryd.c : added call to set application id
8175 * registryd/registry.c : changed de-registration procedure to
8176 use CORBA_Object_hash() to find matching object ref in application
8177 lists and listener lists.
8178 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8179 began distinguishing between event types (work in progress).
8181 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8184 * libspi/application.c:
8185 Added implementations for get/set id, get_toolkitName,
8187 * registryd/registryd.c :
8191 Converted from use of OAF to bonobo-activation.
8192 * libspi/desktop.h :
8193 * libspi/desktop.c :
8195 Removed references to atksimpleobject, since base atkobject
8196 implementation now provides functionality we need.
8197 * libspi/atksimpleobject.c :
8198 * libspi/atksimpleobject.h :
8203 * at-bridge/Makefile.am
8204 * at-bridge/bridge.c
8207 Added directory "bridge" and contents, and added dependencies
8208 in Makefile.am/configure.in.
8209 Initial checkin of "at-bridge".
8210 This code is a GTK_MODULE which automatically registers
8211 GTK+ apps with the accessibility registry, using an object
8212 reference to the root ATK object.
8214 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8216 * po/Makefile.in.in: Remove. Again. If this
8217 doesn't get autogenerated - you need to update
8220 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8222 * po/Makefile.in.in: Add. Again.
8224 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8226 * libspi/accessible.c : added support for 'description' property.
8227 * libspi/accessible.c
8229 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8230 (since the two are now equivalent in libbonobo)
8238 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8239 Bonobo::Unknown as does Accessibility::Accessible.
8240 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8241 interface with Bonobo::Stream, since it was redundant with it.
8242 (The Stream returned by a StreamableContext object is expected to
8243 implement only a subset of Bonobo::Stream)
8245 2001-07-28 Anders Carlsson <andersca@gnome.org>
8247 * libspi/accessible.c (accessible_object_finalize): Change
8248 g_free to g_object_unref since the AtkObject is a GObject.
8250 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8252 * idl/Accessibility.idl: add new IDL files
8255 * idl/Action.idl: Definitions of actionable UI object
8256 * idl/Component.idl: Definitions of UI component geometry, etc.
8257 * idl/Hyperlink.idl: Defs of hyperlink behavior
8258 * idl/Image.idl: Def of accessible image
8259 * idl/Selection.idl: Definition of UI object with selectable children
8260 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8261 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8262 * idl/Text.idl: Interface defs for UI elements with complex textual content
8263 * idl/Value.idl: Definition of UI element that is a value controller or display
8265 2001-07-27 Michael Meeks <michael@ximian.com>
8267 * po/Makefile.in.in: remove autogenerated file from CVS.
8269 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8272 * idl/Registry.idl: include guard.
8274 * idl/Accessibility.idl: Add, and include all the other IDL
8277 * idl/*.idl: remove mass of pragmas etc.
8279 2001-07-26 Michael Meeks <michael@ximian.com>
8281 * registryd/Makefile.am (registryd_SOURCES): remove
8284 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8286 * libspi/.cvsignore, registryd/.cvsignore,
8287 test/.cvsignore: updated.
8289 * po/Makefile.in.in: gettext update.
8291 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8293 * initial CVS checkin
8295 2001-06-29 Michael Meeks <michael@ximian.com>
8297 * configure.in: add AM_CONFIG_HEADER to gen config.h