1 2007-04-23 Li Yuan <li.yuan@sun.com>
4 Uprev/release 1.19.1 for GNOME 2.19.1.
6 2007-04-18 Li Yuan <li.yuan@sun.com>
9 * pyatspi/accessible.py:
10 * pyatspi/constants.py:
12 * pyatspi/registry.py:
14 Bug #430938. Add some files to create the uniform Python
17 2007-04-12 Li Yuan <li.yuan@sun.com>
19 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
20 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
21 Fix #427836. Fix leak and unify the code style.
23 2007-04-12 Yi Jin <yi.jin@sun.com>
25 * atk-bridge/bridge.c:
26 (spi_atk_bridge_focus_tracker):
27 Bug #428007. Fix a memory leak.
29 2007-04-02 Ariel Rios <ariel@gnu.org>
31 Implement the Matchrule interface required for Collection.
37 * cspi/spi_accessible.c: (Accessible_isCollection),
38 (Accessible_isMatchRule), (Accessible_getCollection),
39 (Accessible_getMatchRule):
40 * cspi/spi_collection.c: new file.
41 * cspi/spi_matchrule.c: new file.
42 * idl/Accessibility.idl:
43 * idl/Accessibility_Collection.idl: new file.
46 * libspi/collection.c: new file.
47 * libspi/collection.h: new file.
49 * libspi/matchrule.c: new file.
50 * libspi/matchrule.h: new file.
52 2007-03-29 Ariel Rios <ariel@gnu.org>
54 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
56 2007-03-22 Li Yuan <li.yuan@sun.com>
58 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
59 main context. Fix for #329454.
61 2007-03-12 Li Yuan <li.yuan@sun.com>
63 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
65 2007-03-02 Li Yuan <li.yuan@sun.com>
68 (spi_atk_bridge_register_application),
69 (deregister_application), (spi_atk_bridge_focus_tracker),
70 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
71 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
72 to prevent calling threads_enter/leave during the init and shutdown.
74 2007-02-27 Li Yuan <li.yuan@sun.com>
77 (spi_re_entrant_list_delete_link):
78 Bug #412286. Reverse previous patch.
79 * configure.in, NEWS: Uprev/release 1.17.2.
81 2007-02-26 Li Yuan <li.yuan@sun.com>
83 * libspi/accessible.c:
84 (impl_accessibility_accessible_get_attributes),
85 (impl_accessibility_accessible_get_relation_set):
86 Bug #404584 and #401299. Return an empty object instead of return NULL.
87 * configure.in, NEWS: Uprev/release 1.17.1.
89 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
91 * Makefile.am: Dist MAINTAINERS.
93 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
95 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
96 (atk_bridge_init), (spi_atk_bridge_get_registry),
97 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
98 Fix some compiler warnings and plug a leak. Closes part of
101 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
103 * cspi/bonobo/cspi-bonobo-listener.h:
104 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
105 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
106 * cspi/spi_main.c: (SPI_eventIsReady):
107 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
108 * libspi/streamablecontent.c:
109 * libspi/util.c: (spi_re_entrant_list_delete_link):
110 * login-helper/login-helper.c:
111 * registryd/deviceeventcontroller.c:
112 (spi_controller_update_key_grabs), (isEvent):
113 * registryd/registry.c:
114 * test/key-listener-test.c: (simple_at_exit):
115 * test/login-helper-server-test.c: (test_set_wm_dock),
117 Fix a bunch of warnings from sparse:
118 - ANSIfication of function declarations
120 - Add some prototypes
121 - make some stuff static
123 2007-02-14 Li Yuan <li.yuan@sun.com>
125 * libspi/accessible.c:
126 (impl_accessibility_accessible_get_attributes):
127 Bug #404584. If there is no attributes, just return NULL.
129 2007-02-12 Li Yuan <li.yuan@sun.com>
131 * configure.in, NEWS: Uprev/release 1.17.0.
133 2007-02-12 Li Yuan <li.yuan@sun.com>
135 * atk-bridge/bridge.c:
136 (atk_bridge_init): bug #400709. we must emit events even if we are not
137 registered as a full-fledged app.
138 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
139 application like openoffice shutdown. They need to unload gtk before
140 the is spi_atk_bridge_exit_func called.
142 2007-01-22 Li Yuan <li.yuan@sun.com>
144 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
146 2007-01-22 Li Yuan <li.yuan@sun.com>
148 * cspi/bonobo/cspi-bonobo.c:
149 (cspi_get_registry_ior), (cspi_init):
150 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
152 2007-01-19 Li Yuan <li.yuan@sun.com>
154 * atk-bridge/bridge.c:
155 (atk_bridge_init), (spi_atk_bridge_register_application),
156 (deregister_application), (spi_atk_bridge_focus_tracker),
157 (spi_atk_emit_eventv):
158 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
161 2007-01-08 Li Yuan <li.yuan@sun.com>
163 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
165 2007-01-08 Li Yuan <li.yuan@sun.com>
167 * registryd/registry-main.c:
168 (main): set registry ior only when register server successfully.
169 * atk-bridge/bridge.c:
170 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
171 Bug #372988, #381670. Fix memory leak.
173 2007-01-02 Bill Haneman <billh@gnome.org>
176 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
177 appending default attributes to a text attribute set.
180 2006-12-28 Li Yuan <li.yuan@sun.com>
182 * atk-bridge/bridge.c:
183 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
184 the second time, because spi_atk_emit_eventv will free any. Bug
187 2006-12-15 Li Yuan <li.yuan@sun.com>
189 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
191 2006-12-14 Li Yuan <li.yuan@sun.com>
194 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
195 (spi_atk_bridge_property_event_listener),
196 (spi_atk_bridge_signal_listener):
197 Free some CORBA objects to fix memory leak and crash.
199 2006-12-13 Li Yuan <li.yuan@sun.com>
201 Patch from Ariel Rios to fix #163132 and #377079.
202 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
203 (spi_atk_bridge_get_registry_ior):
204 Use g_warning instead of g_error and g_critical to avoid crash.
206 2006-12-11 Bill Haneman <bill.haneman@sun.com>
209 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
210 if there are no non-default attributes defined at the current offset.
213 2006-12-04 Bill Haneman <bill.haneman@sun.com>
215 * idl/Accessibility_Role.idl: Fixed the documentation for
216 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
218 2006-12-04 Bill Haneman <bill.haneman@sun.com>
220 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
222 2006-11-07 Bill Haneman <bill.haneman@sun.com>
224 Patches from Padraig O'Briain for bugs #361386 and #369377.
226 * registryd/registry.c:
227 (struct NotifyContext): Change the e_out
228 member from an Accessibility_Event struct to a pointer to
230 (notify_listeners_cb): Modify to use the new struct definition above.
231 Allows use of ORBit_copy_value instead of CORBA_any__copy.
233 * registryd/deviceeventcontroller.c:
234 (spi_dec_button_update_and_emit): Free the event's any_data
236 (spi_dec_mouse_check):Free the event details any struct
238 (spi_device_event_controller_forward_mouse_event): Free any.
239 (spi_device_event_controller_forward_key_event): Ditto.
241 2006-11-07 Bill Haneman <bill.haneman@sun.com>
243 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
244 Don't require gtk+ and gail for building most of at-spi
247 * registryd/registry-main.c (main): We now get te value of display
248 using the env var DISPLAY rather than using the gdk_display_get_default
249 to avoid dependancy of gdk. Also, once the registry is started, we set
250 the ior of the registry as an X property.
251 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
253 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
254 the registration was successfull.
255 (spi_atk_bridge_do_registration): This function now returns success
256 or not on activating the registry.
257 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
258 has been set in the X root window and return it if available.
259 (spi_atk_bridge_get_registry): We now get the registry using the IOR
260 saved as a X property rather than using the OAFID.
262 2006-10-01 Bill Haneman <bill.haneman@sun.com>
264 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
266 2006-09-25 Bill Haneman <bill.haneman@sun.com>
268 * registryd/registry.c:
269 (desktop_remove_application): Don't pass a ref to the
270 dead application with the event, since it's probably
271 defunct and will cause SEGV if we try to unref,
272 extract app name, etc.
275 2006-09-20 Bill Haneman <bill.haneman@sun.com>
277 Patch from Neo Liu <nian.liu@sun.com>,
280 * atk-bridge/bridge.c:
281 (spi_atk_bridge_document_event_listener): New, for
284 2006-08-30 Bill Haneman <bill.haneman@sun.com>
287 Changed some parameter names so as not to
288 collide with class names - allows IDL to be compiled with
289 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
291 2006-08-22 Bill Haneman <bill.haneman@sun.com>
293 * atk-bridge/bridge.c:
294 (spi_atk_bridge_signal_listener):
295 Patch from Ginn Chen, assign detail1 in children-changed
296 so that the child object can be assigned to the Any when the
297 at-spi event is emitted. Bug #350552.
299 * libspi/application.c:
300 (spi_application_finalize): Remove g_print debug output.
303 2006-08-21 Bill Haneman <bill.haneman@sun.com>
305 * configure.in: Revved to AT-SPI 1.7.11.
307 * libspi/accessible.c:
308 (spi_accessible_new): Aggregate Hyperlink interface
309 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
311 * libspi/hyperlink.c:
312 (spi_hyperlink_new): Don't aggregate Action a second time if this
313 interface is created for an AtkHyperlinkImpl object (i.e. for a
314 child Accessible, as opposed to the Hyperlink instance from
316 (get_hyperlink_from_servant): Obtain the hyperlink from
317 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
319 Patch section from Ginn Chen...
321 * cspi/spi_accessible.c:
322 (_cspi_accessible_set_from_sequence):
323 Changed g_newa to g_new0 on Ginn Chen's suggestion.
325 * libspi/accessible.c:
326 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
327 (spi_accessible_new): Add the Document interface if present.
330 (impl_getAttributes): Fixed to use AtkAttribute properly.
333 (impl_getAttributes, impl_getDefaultAttributes):
334 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
336 2006-08-17 Bill Haneman <bill.haneman@sun.com>
338 * cspi/spi-private.h, cspi/spi_accessible.c:
339 (_cspi_attribute_set_from_sequence): Renamed from
340 cspi_attribute_set_from_sequence, to suppress export.
343 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
344 inline docs, which was keeping the doc from appearing.
345 (SPIExceptionHandler): Doc this.
347 * cspi/spi_document.c:
348 Added inline gtk-docs cut-n-pasted from the doxygen
349 docs in the corresponding IDL files.
350 (AccessibleDocument_getAttributes): Fix the retval here.
352 * cspi/spi_streamablecontent.c:
353 Fixed some 'Since' tags that were accidentally doxygen-style.
356 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
357 docs from the IDL file.
359 * docs/reference/cspi/at-spi-cspi-docs.sgml:
360 Added entities for Document and StreamableContent interfaces.
362 * docs/reference/cspi/at-spi-cspi-sections.txt:
363 Added some docs that were present inline but not getting
366 2006-07-31 Bill Haneman <bill.haneman@sun.com>
369 (impl_getRangeExtents): Use the atk_text_get_range_extents
370 API instead of looping over character bounds, now that
372 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
373 (_spi_text_bounds_contain): Remove, not needed anymore.
374 (_spi_text_rect_union): Remove, not needed anymore.
376 2006-07-31 Bill Haneman <bill.haneman@sun.com>
378 * atk-bridge/bridge.c:
379 (spi_atk_emit_eventv): Fix the CORBA_free call which was
380 causing 64-bit troubles and memory leaks.
381 Special thanks to Alexander Larsson who finally seems to
382 have tracked down the problem, not just here but in
386 (spi_init_any_object): Make sure we copy the CORBA value
387 when initializing an object for passing as a CORBA_Any.
390 2006-07-21 Bill Haneman <billh@gnome.org>
392 * idl/Accessibility.idl:
393 Reverted pragma changes, this broke the build in some envs
394 including the Debian team's build and some tinderbox builds.
396 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
399 Revved to 1.7.10, and edited the Xevie check (bug #319994).
401 * idl/Accessibility.idl:
402 Reworked inclusion of Bonobo_Unknown.idl, to
403 avoid double-linking libs in the Bonobo environment.
404 Thanks to Michael Meeks for the workaround, see bug #313122.
406 * registryd/deviceeventcontroller.c:
407 (spi_controller_notify_keylisteners):
408 Set the SPI_NUMLOCK_MASK bit if the modifier
409 corresponding to the conceptual numlock state is set.
412 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
414 * idl/Accessibility_Selection.idl:
415 (deselectChild): New method.
417 * libspi/selection.c:
418 (impl_deselectChild): Implement the new IDL method.
421 (AccessibleSelection_deselectChild): Added new method.
423 * cspi/spi_selection.c:
424 (AccessibleSelection_deselectChild): New method implemented.
426 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
428 * cspi/bonobo/cspi-bonobo.c:
429 (cspi_init): Replace g_error with g_warning, prevent
430 SEGV if the registry cannot be activated. Bug #346393.
432 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
434 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
436 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
437 2006-07-12 Ariel Rios <arios@us.ibm.com>
441 * idl/Accessibility_Table.idl:
442 (getRowColumnExtentsAtIndex): New method for getting
443 selection status and extents in one API call.
446 (impl_getRowColumnExtentsAtIndex): Implementation of
448 (spi_table_class_init): Add above to epv.
452 (AccessibleTable_getRowColumnExtentsAtIndex): New
453 method, retrieves selection status and row/col extents
454 for a table cell in a single API call.
456 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
457 2006-07-12 Ariel Rios <arios@us.ibm.com>
459 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
462 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
463 New bindings for new methods defined in idl and libspi.
466 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
467 Added prototype functions.
470 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
472 (spi_text_class_init): Added previous methods.
475 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
476 * libspi/spi-private.h: Corrections.
478 2006-06-29 Bill Haneman <bill.haneman@sun.com>
480 Added Document interface (see bug #326520),
481 with work from Ariel Rios <arios@us.ibm.com>.
483 * configure.in: Bump to 1.7.8.
485 * libspi/Makefile.am: Added document.[ch] to sources
488 (SpiDocument, SpiDocumentClass):
489 New interface implementation.
490 (spi_document_get_type, spi_document_construct)
491 (spi_document_interface_new): New methods added.
492 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
493 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
494 Added macros for SpiDocument
498 (spi_document_interface_new): Get a
499 new document interface. New.
500 (get_document_from_servant): Get an AtkDocument from servant New.
501 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
502 Implementation of methods defined on idl.
503 (spi_document_class_init, spi_document_init)
504 Init methods for SpiDocument. new
506 * idl/Accessibility.idl: Added Accessibility_Document.idl.
508 * cspi/Makefile.am: Added spi_document.c to sources.
510 * cspi/spi_document.c:
511 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
512 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
513 (AccessibleDocument_getAttributes): Bindings for methods defined
516 * cspi/spi_accessible.c:
517 (Accessible_isDocument, Accessible_getDocument) New.
519 (Accessible_isDocument, Accessible_getDocument)
520 (AccessibleDocument_ref, AccessibleDocument_unref)
521 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
522 (AccessibleDocument_getAttributes): Bindings added.
524 * idl/Makefile.am: Added Accessibility_Document.idl to
527 2006-06-29 Bill Haneman <bill.haneman@sun.com>
529 * idl/Accessibility_Document.idl: New interface
530 for complex documents. First stage of fix for RFE
533 2006-06-27 Bill Haneman <bill.haneman@sun.com>
535 * libspi/streamablecontent.c:
536 (impl_content_stream_close):
537 Unref the GIOChannel on close.
539 2006-06-23 Bill Haneman <bill.haneman@sun.com>
541 * idl/Accessibility_Role.idl:
542 * libspi/accessiblerole.c:
543 * cspi/spi_accessible.c: Added ROLE_LINK,
544 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
545 Bug #345758 and bug #140635.
548 2006-06-22 Bill Haneman <bill.haneman@sun.com>
552 * idl/Accessibility_StreamableContent.idl:
553 Fix derivation of StreamableContent and ContentStream.
555 * cspi/spi_streamablecontent.c:
556 (accessible_content_stream_client_read):
557 Fix the datatype of the content stream used.
558 Interpret short reads as EOF, and stop trying to
559 read when we've fulfilled the request.
560 (AccessibleStreamableContent_getContentTypes):
561 Use g_strdup, not CORBA_string_dup, for the strings.
562 (AccessibleStreamableContent_open):
563 Correctly use the new getStream method for opening,
564 not the deprecated getContent method.
565 Use the object reference as the stream hash key.
566 Make note of the 'one stream per client per streamable'
567 limitation in the docs.
570 Add streamablecontent.h to the list of #includes.
572 * libspi/streamablecontent.c:
573 (impl_content_stream_read): Initialize the GError.
574 Allocate the incoming buffer if reading a fixed length of
575 data. Use g_memmove instead of memcpy.
576 (impl_accessibility_streamable_get_content_types):
577 Init typelist->_maximum. Only allocate the buffer if
578 there is a non-zero number of content types available.
579 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
581 * libspi/streamablecontent.h:
582 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
585 (SPI_IS_VALUE): Fix a typo in this macro too.
587 2006-06-16 Bill Haneman <bill.haneman@sun.com>
591 * idl/Accessibility_StreambleContent.idl:
592 Deprecate the Bonobo_Stream-based methods in favor of
593 a self-contained "ContentStream" interface. This should
594 allow us to remove BonoboStream dependencies entirely, since
595 there were no non-NIL implementations of the old methods anyway.
596 (ContentStream): New interface.
597 (ContentStream::SeekType): Enum.
598 (ContentStream::seek): New.
599 (ContentStream::read): New.
600 (ContentStream::close): New.
601 (getContent): Deprecate.
602 (getURI): New method, returns a URI pointing to the content, if available.
604 * libspi/streamablecontent.c:
605 (SpiContentStream): Internal object type definition used to
606 implement Accessibility::StreamableContent::ContentStream via
607 AtkStreamableContent's GIOChannel back-end.
608 (spi_content_stream_new, spi_content_stream_dispose): See above;
610 (impl_content_stream_seek, impl_content_stream_read):
611 (impl_content_stream_close): New, implementations of
613 (impl_accessibility_streamable_get_stream): Implement the
614 public method Accessibility::StreamableContent::getStream.
615 (impl_accessibility_streamable_get_uri): Implement the
616 public method Accessibility::StreamableContent::getURI.
618 * cspi/spi_streamablecontent.c:
619 (accessible_bonobo_stream_client_seek): Replaced by
620 (accessible_content_stream_client_seek).
621 (accessible_bonobo_stream_client_read): Replaced by
622 (accessible_content_stream_client_read).
623 (AccessibleStreamableContent_open):
624 (AccessibleStreamableContent_seek):
625 (AccessibleStreamableContent_read):
626 (AccessibleStreamableContent_close): Use the new 'getStream'
627 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
629 2006-06-15 Bill Haneman <bill.haneman@sun.com>
631 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
632 remove from other .idl files (except LoginHelper).
635 2006-06-14 Bill Haneman <bill.haneman@sun.com>
637 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
640 * configure.in, */Makefile.am: mingw patch, modified from
641 original patch by yselkowitz. Bug #314216.
643 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
644 for completeness. Bug #163111.
646 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
647 * libspi/util.c, registryd/registry-main.c:
648 Fix guint/char* casts.
649 Patch from chpe, bug #333883.
651 2006-06-12 Bill Haneman <bill.haneman@sun.com>
653 * configure.in: Require atk-1.12.0, to pick up
654 new API. (bug #344412).
656 * libspi-1.0-uninstalled.pc.in:
658 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
659 Fix for #341488 from Samual Thibault.
661 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
662 Thanks to Brian Pepple.
664 2006-06-09 Bill Haneman <bill.haneman@sun.com>
667 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
668 New, missing implementations of attribute reading methods
671 * cspi/spi.h, spi_value.c:
672 (AccessibleValue_getMinimumIncrement): New methods wrapping
673 the (formerly unimplemented) property from Value.idl.
676 (impl_get_minimumIncrement): Implementation for retrieving
677 the minimum valuator increment, (formerly unimplemented).
680 2006-06-09 Bill Haneman <bill.haneman@sun.com>
682 * idl/Accessibility_State.idl:
683 Added STATE_VISITED (bug #338369).
685 * cspi/spi_accessible.c:
686 (spi_state_to_corba) Fixed marshalling of new statetypes.
689 (spi_init_state_tables, impl_getStates):
690 Fixed conversion of new statetypes to/from ATK.
692 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
694 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
695 definitions/conversions for new roles from ATK.
697 * idl/Accessibility_Relation.idl:
699 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
700 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
701 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
703 * libspi/accessible.c: Fixed marshalling of new role types from
706 2006-04-17 Matthias Clasen <mclasen@redhat.com>
708 * revert my previous change
710 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
712 * configure.in: Remove obssolete no_NO locale
713 * po/no.po: And the translation.
715 2006-04-05 Matthias Clasen <mclasen@redhat.com>
717 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
718 memory-management error that caused crashes on x86_64.
721 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
723 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
725 2006-03-27 Bill Haneman <bill.haneman@sun.com>
727 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
728 to strip "cspi_*" from the symbol table.
730 * cspi/spi_streamablecontent.c:
731 (get_streams): Make this method static.
734 (_cspi_exception_throw): rename to cspi_exception_throw,
735 so we can strip it with the rest...
738 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
740 2006-03-27 Bill Haneman <bill.haneman@sun.com>
742 Add doxygen-generated IDL docs to tarball, and enable
743 doxygen during build/install when available. Bug #301345.
745 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
747 * docs/reference/Makefile.am: Add idl to SUBDIRS.
749 * docs/reference/idl/Makefile.am: Optionally use
750 doxygen to create docs.
752 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
754 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
756 2006-03-20 Bill Haneman <bill.haneman@sun.com>
759 (impl_get_selected_rows): Don't free the selection if it's
760 empty or has not been assigned; init it to NULL so you can tell.
761 Also, allow for zero selected rows.
762 (impl_getSelectedColumns): Ditto. Bug #319088.
764 2006-03-11 Vincent Untz <vuntz@gnome.org>
766 Leak fix for bug #334217.
768 * libspi/application.c: spi_application_toolkit_event_listener():
769 don't duplicate the string we pass as an argument to
770 spi_init_any_nil() since spi_init_any_nil() already does it
771 * registryd/deviceeventcontroller.c:
772 (spi_dec_button_update_and_emit): ditto
773 (spi_dec_mouse_check): ditto
774 (spi_dec_emit_modifier_event): ditto
775 (spi_device_event_controller_forward_mouse): ditto
776 * registryd/registry.c:
777 (desktop_add_application): ditto
778 (desktop_remove_application): ditto
780 2006-02-20 Bill Haneman <billh@gnome.org>
782 * configure.in: Rev to 1.7.6.
784 Leak fixes for bug #331924.
786 * atk-bridge/bridge.c:
787 (spi_atk_bridge_init_base): Don't dup the string, it's already
788 been dup-ed. Fixes a leak.
789 (spi_atk_emit_eventv): Move the CORBA_free call here,
790 instead of spi_atk_state_event_listener; fixes another leak.
791 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
792 notifying the registry; fixes another leak.
794 * registryd/registry.c:
795 (registry_flush_event_queue): Free the CORBA_any when
796 flushing the event, not just the string. Fixes another leak.
797 (registry_queue_event): Free the CORBA_any when dropping
798 events on the floor; fixes another leak.
801 (spi_init_any_object, spi_init_any_nil):
802 Always set _release to TRUE. Fixes another leak.
804 2006-02-20 Bill Haneman <billh@gnome.org>
806 * configure.in: Rev to 1.7.5.
807 Reinstate localization of this module. Thanks for Rodney
808 Dawes for fixing my patch.
810 * registryd/Makefile.am: Remove Accessibility_Registry.server
811 from dist, since it needs to be re-created at configure time.
814 2006-01-31 Bill Haneman <billh@gnome.org>
816 * configure.in: Rev to 1.7.4 (to include build fix below).
818 * idl/Makefile.am: Include Selector.idl in dist.
822 (cspi_internal_event_get_object): Handle case where
823 "object" isn't present, i.e. CORBA_TC_Object doesn't match
824 the EventDetails data.
825 (cspi_internal_event_get_text): Handle NULL string.
826 (cspi_internal_event_get_rect): Handle missing/empty rect
827 data, Accessibility_TC_RectBounds doesn't match any_data.
829 2006-01-30 Bill Haneman <billh@gnome.org>
833 * atk-bridge/bridge.c:
834 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
835 interface and use that when instantiating a new source
836 accessible. Better fix for bug #321814.
838 2006-01-27 Bill Haneman <billh@gnome.org>
840 * idl/Accessibility_Selector.idl: Added to the cvs repository.
842 * configure.in: Revved to 1.7.3.
844 2006-01-17 Bill Haneman <billh@gnome.org>
846 * configure.in: Revved to 1.7.2, re-dist to include docs.
848 2006-01-09 Bill Haneman <billh@gnome.org>
850 * configure.in: Removed po/Makefile.in inclusion, we do not need
853 * idl/Accessibility.idl: Improved documentation here, and for all
854 IDL in the 'GNOME::Accessibility' namespace.
856 * idl/Accessibility_Accessible.idl:
857 (LOCALE_TYPE): Added enum.
858 (AttributeSet): New, for returning multiple name/value attribute pairs.
859 (RoleSet): New, sequence of Roles, to be used in upcoming
861 (getAttributes): New API, allows retrieval of name/value pair
862 annotations for all kinds of Accessible objects. C.f.
863 Text:getAttributes, which is only for typographic/textual/semantic tags in
865 (getApplication): New, retrieves the host/containing Application
866 instance for an object (without having to walk up the whole tree).
868 * idl/Accessibility_Component.idl:
869 (getAlpha): New method, returns the alpha blending (aka 'opacity')
870 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
873 * idl/Accessibility_Event.idl:
874 (EventDetails): New struct definition, for encapsulating
875 commonly-queried information about emitted events. The use of
876 this structure in emitted events (in the 'any' member of
877 Accessibility_Event) should greatly reduce the number of
878 client-server roundtrips necessary.
880 * idl/Accessibility_Image.idl:
881 (imageLocale): New, a readonly attribute indicating the POSIX
882 LC_MESSAGES locale of the image and associated Alt/descriptive
885 * idl/Accessibility_Relation.idl:
886 (RELATION_PARENT_WINDOW_OF): Include, as complement to
889 * idl/Accessibility_Role.idl:
890 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
891 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
892 complex document and form support.
894 * idl/Accessibility_State.idl:
895 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
896 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
897 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
898 for support of complex documents and forms.
900 * idl/Accessibility_StreamableContent.idl:
901 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
902 allow old bonobo-stream interfaces to be deprecated in the next
905 * idl/Accessibility_Text.idl:
906 (getAttributeValue): New method, allows query-by-name of single
909 * libspi/accessible.c:
910 Added support for new roles. Implemented new methods
911 (impl_accessibility_accessible_get_application): New
912 (impl_accessibility_accessible_get_attributes): New
914 * libspi/component.c:
915 (impl_accessibility_component_get_alpha): New.
918 (impl_accessibility_image_get_locale): New.
920 * libspi/relation.c: Added support for new relation type.
922 * libspi/stateset.c: Added support for new state types.
925 (impl_getAttributeValue): New.
928 New prototypes for private methods
930 spi_init_any_object, spi_init_any_string,
933 * libspi/spi_event.c:
934 Use EventDetails in the event emission methods.
936 * cspi/spi-private.h:
937 (cspi_role_from_spi_role): Expose this adapter method, since
938 we need it in the bridge (see below).
941 (AccessibleEvent_getSourceName):
942 (AccessibleEvent_getSourceRole):
943 (AccessibleEvent_getSourceApplication):
944 (AccessibleEvent_getSourceDetails):
945 New methods for interrogating/demarshalling
946 event details (i.e. source's accessible name, role,
949 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
950 Make use of the new EventDetails struct in events, if present.
951 (AccessibleEvent_getSourceName)
952 (AccessibleEvent_getSourceRole)
953 (AccessibleEvent_getSourceApplication)
954 (AccessibleEvent_getSourceDetails): Implement the newly exposed
956 (Accessible_getAttributes): New, wraps
957 Accessibility_Accessible_getAttributes.
958 (Accessible_getHostApplication): New, wraps
959 Accessibility_Accessible_getApplication.
962 (AccessibleImage_getImageLocale): New wrapper for
963 Accessibility_Image_get_imageLocale.
965 * cspi/spi_component.c:
966 (AccessibleComponent_getAlpha): New wrapper for
967 Accessibility_Component_getAlpha.
969 * atk-bridge/bridge.c:
970 Use new prototyped for init_any methods.
971 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
972 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
973 (spi_atk_bridge_init_base): Wrappers
974 for spi_init_any_* methods, due to refactor; include extended
975 information in the Accessibility_EventDetails struct, for instance
976 accessible-name, Role, and containing Application.
978 * registryd/registry.c:
979 Use new event emission (with EventDetails).
981 * registryd/deviceeventcontroller.c:
982 Use new event emission (with EventDetails).
984 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
986 * configure.in: Generate po/Makefile.in
987 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
988 * cspi/spi_streamablecontent.c:
989 (accessible_bonobo_stream_client_seek),
990 (AccessibleStreamableContent_seek): Remove unused vars.
991 * libspi/application.c: Missing header.
992 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
993 * login-helper/login-helper.c: (login_helper_finalize),
994 (login_helper_init): Remove unused stuff
995 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
996 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
997 and surround some with #ifdef GRAB_BUTTON.
998 * test/event-listener-test.c: (main), (report_event),
999 (report_caret_event), (report_detail_event),
1000 (report_detail1_event), (report_bounds_event), (report_text_event),
1001 (report_text_selection_event),
1002 (report_active_descendant_changed_event),
1003 (report_children_changed_event), (report_name_changed_event),
1004 (report_description_changed_event), (report_parent_changed_event),
1005 (report_window_event), (report_table_summary_event),
1006 (report_table_header_event), (report_table_caption_event),
1007 (report_table_row_description_event),
1008 (report_table_column_description_event), (timing_test_event):
1009 Remove a bunch of unused variables and fix a slew of format specifiers
1010 * test/key-listener-test.c: (report_all_key_event): Format specifier
1011 * test/keypad-test.c: (print_key_event): Same
1012 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1014 * test/screen-review-test.c: (main), (print_chunk_debug),
1015 (review_buffer_get_text_chunk), (debug_chunk_list),
1016 (string_guess_clip), (text_chunk_get_clipped_string),
1017 (text_chunk_list_to_string), (get_screen_review_line_at):
1018 Remove unused variables and fix format specifiers.
1019 * test/simple-at.c: (report_text_event): Format specifier fix.
1020 * test/stress-test.c: (main): Remove unused var.
1022 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1024 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1025 (yes I know that's useless)
1027 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1029 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1031 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1033 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1034 urgh-fix embarassing typo.
1036 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1038 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1039 do a faster, less problematic _unref call on this local
1040 object, rather than a slower (potentially cross-thread
1041 complicated) CORBA call.
1043 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1045 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1046 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1047 * registryd/deviceeventcontroller.c:
1048 (spi_controller_notify_mouselisteners),
1049 (impl_generate_keyboard_event):
1050 * test/screen-review-test.c: (chunk_bounds_within):
1051 * test/test-simple.c: (test_desktop): Remove some unused code
1052 and fix compiler warnings. Closes bug #320049.
1054 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1056 * registryd/deviceeventcontroller.c:
1057 (spi_controller_notify_keylisteners): Check
1058 to make sure the event listener has requested 'preemptive'
1059 status before pre-empting an event.
1061 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1063 * configure.in, README, NEWS: Release 1.6.5.
1065 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1067 * test/window-listener-test.c: Fix a printf
1068 format error. (#169453)
1070 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1072 * tests/test-simple.c:
1073 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1074 relying on the old string from the key event hanging around after
1075 the event handler returns. Fixes broken 'make check'.
1077 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1079 * Added Marathi (mr_IN) translations.
1081 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1083 * cspi/bonobo/cspi-bonobo-listener.c:
1084 (cspi_event_list_remove_by_cb): Fix the build.
1086 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1088 * cspi/bonobo/cspi-bonobo-listener.c
1089 (cspi_event_list_remove_by_cb): actually filter by callback.
1091 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1093 * registryd/registry.c (remove_listener_cb):
1094 Make deregistration filter rules match the event emission rules.
1096 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1098 * registryd/registry.c (remove_listener_cb),
1099 (impl_accessibility_registry_deregister_global_event_listener),
1100 (impl_accessibility_registry_deregister_global_event_listener_all):
1101 pass a closure to the remove callback to filter listeners more
1102 accurately on remove.
1104 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1106 * configure.in: Revved to 1.6.4.
1107 Remember to put quotes around XEVIE_LIBS assignment.
1108 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1111 * tests/event-listener-test.c: Tweaked the tests - more detail
1112 from caret events, and some interrogation of AccessibleText APIs.
1113 Commented-out the bounds-changed events by default, since they can
1116 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1118 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1119 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1120 Same here. Closes bug #167806
1122 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1124 * atk-bridge/bridge.c:
1125 (spi_atk_bridge_signal_listener):
1126 Free the any._value if any._release is TRUE,
1127 since the ORB won't do it for us in this case
1128 [because this method is not a skel].
1129 Fix for bug #168679.
1131 2005-03-30 Steve Murphy <murf@e-tools.com>
1133 * configure.in: Added "rw" to ALL_LINGUAS.
1135 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1137 * configure.in: Improved check for HAVE_XEVIE, to detect
1138 presence on XOrg, where -lXevie is a separate library.
1140 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1142 * configure.in, NEWS, README: Revved to 1.6.3.
1144 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1146 * configure.in: Added "xh" to ALL_LINGUAS.
1148 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1150 * atk-bridge/bridge.c:
1151 (atk_bridge_init): Added missing NULL in g_strconcat(),
1152 also check for symlink before logging to
1153 insecure directory. Thanks to meissner@suse.de.
1155 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1157 * tests/login-helper-server-test.c: Add return call to main
1158 function. Patch from Chris Lahey. Fixes bug #165129.
1160 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1162 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1164 2004-12-09 Bill Haneman <billh@gnome.org>
1166 * registryd/registry-main.c:
1167 Added #define <string.h> for strrchr. (bug 160862).
1168 Thanks to Vincent Berger for catching.
1170 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1172 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1173 restart registry process if the registry process is found to have died
1174 and the current process is exiting.
1175 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1176 application if the registry process has died.
1177 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1178 does not return a registry object.
1179 (spi_atk_tidy_windows): Give up if the registry process has died.
1181 This fixes problems with hangs and crashes when logging out.
1183 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1185 * registryd/desktop.c: Add checking that we are not exiting before
1186 calling spi_desktop_remove_application in
1187 abnormal_application_termination. Fix for bug #152147.
1189 2004-12-02 Bill Haneman <billh@gnome.org>
1191 * configure.in, NEWS, README: Revved to 1.6.1.
1193 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1194 * atk-bridge/bridge.c:
1195 (atk_bridge_init): Save the pid when we start, to detect forks.
1196 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1197 if we're in a forked pid.
1199 2004-10-09 Bill Haneman <billh@gnome.org>
1201 * idl/Accessibility_LoginHelper.idl:
1202 Improved inline documentation.
1204 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1206 * configure.in: Added gl (Galician) to ALL_LINGUAS
1208 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1210 * libspi/accessible.c:
1211 (impl_accessibility_accessible_get_role_name),
1212 (impl_accessibility_accessible_get_local_role_name):
1213 NULL vs. 0 cleanups.
1214 * libspi/component.c:
1215 (impl_accessibility_component_get_accessible_at_point):
1217 * libspi/eventlistener.c: (spi_event_listener_new):
1219 * libspi/stateset.c: (impl_compare): More of the same
1220 * libspi/table.c: (impl_getRowDescription): Again.
1221 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1222 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1223 (impl_generate_keyboard_event): Same.
1224 * registryd/registry-main.c: (main): Same
1225 * test/event-listener-test.c: (test_exit): Same
1226 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1227 * test/keysynth-test.c: (test_key_synthesis): Same
1228 * test/login-helper-server-test.c: (main): Fix warning.
1229 * test/screen-review-test.c: (test_exit): Fix include.
1230 * test/simple-at.c: (simple_at_exit), (_festival_init):
1233 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1235 * configure.in, NEWS, README: Revved to 1.6.0.
1237 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1239 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1240 was missing the HTML docs.
1242 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1244 * configure.in: only cleanups:
1245 - better looking PKG_CHECK_MODULES() output,
1247 - declare in one common place required versions of other tools using
1250 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1252 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1253 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1254 required ATK version accordingly.
1256 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1258 * cspi/bonobo/cspi-bonobo.c:
1259 (cspi_display_name): Fix C99ism.
1260 * atk-bridge/bridge.c:
1261 (spi_display_name): Fix C99ism.
1262 Patch from Jens Granseuer, jensgr@gmx.net.
1264 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1266 * configure.in: Added "or" to ALL_LINGUAS.
1268 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1270 * configure.in, NEWS, README: Revved to 1.5.4.
1272 * registryd/registry-main.c:
1273 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1276 * cspi/bonobo/cspi-bonobo.c:
1277 (cspi_display_name): New convenience method, gets DISPLAY with
1278 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1279 (cspi_init): Set the activation env value above before getting
1282 * atk-bridge/bridge.c:
1283 (spi_display_name): Create the AT_SPI_DISPLAY activation
1284 environment for an app, based on the DISPLAY environment with the
1285 screen number stripped off.
1286 (atk_bridge_init): Allow redirection of error messages to a log.
1287 (spi_atk_bridge_get_registry): Call
1288 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1290 Fixes for bugs #149962, #136986, #144086.
1292 2004-08-16 Christian Rose <menthos@menthos.com>
1294 * configure.in: Added "bs" to ALL_LINGUAS.
1296 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1298 * configure.in: Added nb to ALL_LINGUAS.
1300 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1303 (SPI_init): Return error code '2' if the activated
1304 registry cannot be pinged. Fixes bug #147648.
1306 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1308 * registryd/deviceeventcontroller.c:
1309 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1310 rely on timer-poll instead, to avoid conflict with
1313 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1315 * configure.in: Revved to 1.5.3.
1317 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1319 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1321 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1323 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1325 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1327 * atk-bridge/bridge.c:
1328 (spi_atk_bridge_do_registration):
1329 Register with ATK for AtkComponent:bounds-changed events.
1330 (api_atk_bridge_signal_listener):
1331 Marshal the AtkRectangle info into the event notification
1332 for object:bounds-changed events.
1335 (spi_init_any_rect): New method, inits a corba struct of
1336 type Accessibility_BoundingBox from an AtkRectangle.
1338 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1341 (SPIRect): New struct definition.
1342 (SPI_freeRect): New declaration.
1343 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1346 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1347 implemented. Gets the bounding box data from the CORBA_any
1348 associated with a bounds-changed event notification.
1349 (cspi_internal_event_get_rect): New, used internally by above method.
1352 (SPI_freeRect): Implemented this new method, for freeing
1355 * test/event-listener-test.c:
1356 (main, report_bounds_event):
1357 Added a test for object:bounds-changed events.
1359 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1361 * test/login-helper-server-test.c:
1362 (main): Fix C99-ism. Thanks to Jens Granseuer.
1364 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1366 * libloginhelper-1.0.pc.in:
1367 * idl/Accessibility_LoginHelper.idl:
1368 * login-helper/Makefile.am:
1369 * login-helper/login-helper.[ch]:
1370 * test/login-helper-client-test.c:
1371 * test/login-helper-server-test.c: Added files missing from CVS.
1372 Files obtained from at-spi-1.5.2 tarball.
1374 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1376 * configure.in: Create login-helper/Makefile.
1377 Incremented micro version.
1379 * Makefile.am: Add login-helper subdir and pkgconfig data.
1381 * login-helper: New subdir.
1383 * libloginhelper-1.0.pc.in: New.
1385 * idl/Accessibility_LoginHelper.idl: New file, defines
1386 interface whereby authentication clients can identify agents which
1387 need access to services during the login process, e.g. screen lock
1390 * login-helper/Makefile.am : New.
1392 * login-helper/login-helper.[ch] : New, implementation of
1393 a LoginHelper base class. Services needing LoginHelper can subclass.
1395 * test/Makefile.am : Added test for login-helper, client and
1398 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1399 Use proper prefix in #include files.
1401 * test/login-helper-client-test.c: New.
1403 * test/login-helper-server-test.c: New.
1405 2004-05-27 Alexander Shopov <ash@contact.bg>
1407 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1409 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1411 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1412 is positive. This should make it easier to detect inapprorpiate unref
1415 2004-05-11 James Henstridge <james@daa.com.au>
1417 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1418 no-op and deprecated.
1420 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1422 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1424 2004-04-28 Bill Haneman <billh@gnome.org>
1426 * Makefile.am: Added --enable-gtk-doc to
1427 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1429 2004-04-19 Bill Haneman <billh@gnome.org>
1431 * configure.in: Revved to 1.5.1.
1433 * registryd/deviceeventcontroller.c:
1435 (DEControllerPrivateData): Added fields for
1436 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1437 (spi_dec_replace_map_keysym): New internal utility for
1438 replacing a keysym in the keymap - used to allow
1439 synthesis of individual characters which aren't in the
1441 (spi_dec_reset_reserved): New; resets the changed keysym value
1443 (keycode_for_keysym): We now try to deal with failed
1444 XKeysymToKeycode requests by changing a keymap value
1445 and returning a reserved keycode. We now take
1446 a DEController pointer as first arg.
1447 (spi_controller_register_with_devices): Call XkbGetMap with
1448 the XkbKeySymsMask. Find the highest keycode in the current
1449 keymap which doesn't have any grabs, and mark that one for
1450 temporary re-mapping when out-of-range KeySyms are synthesized.
1451 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1454 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1456 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1458 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1460 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1462 2004-03-24 Bill Haneman <billh@gnome.org>
1465 (AccessibleTable_addRowSelection),
1466 (AccessibleTable_addColumnSelection),
1467 (AccessibleTable_removeRowSelection),
1468 (AccessibleTable_removeColumnSelection):
1469 Add declarations for spi wrappers which were
1470 inadvertantly omitted. Fixes bug #133413.
1473 Revved to 1.5.0 (unstable series for GNOME 2.7).
1475 2004-03-24 Bill Haneman <billh@gnome.org>
1477 * atk-bridge/bridge.c:
1478 Bracketed some debug output in
1479 conditionals, to avoid printing it in normal use.
1482 * libspi/hyperlink.c:
1483 Don't cast 'object' to ATK_OBJECT when constructing
1484 an AtkAction interface for a hyperlink.
1485 See discussion in bug #120659.
1487 * test/key-listener-test.c:
1488 (report_all_key_event): Send output to stderr,
1489 not stdout, for consistency with the rest of the test callbacks.
1492 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1493 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1494 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1495 try incrementing the revision AFTER doing a dist, at least
1498 2004-03-22 Bill Haneman <billh@gnome.org>
1500 * configure.in: Revved to 1.4.0, libtool 9.14.9
1502 2004-03-17 Laszlo Peter <laca@sun.com>
1504 * libspi-1.0-uninstalled.pc.in: add idldir
1506 * cspi-1.0-uninstalled.pc.in: add idldir
1508 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1510 * configure.in: Added "en_GB" to ALL_LINGUAS
1512 2004-03-15 Bill Haneman <billh@gnome.org>
1514 * configure.in: Revved to 1.3.16,
1517 2004-03-15 Laszlo Peter <laca@sun.com>
1519 * libspi-1.0-uninstalled.pc.in: new file
1521 * cspi-1.0-uninstalled.pc.in: new file
1523 * configure.in: add the new pc files to AC_OUTPUT
1525 * Makefile.am: add the new pc files to EXTRA_DIST
1527 2004-03-12 Bill Haneman <billh@gnome.org>
1529 * atk-bridge/bridge.c:
1530 (spi_atk_bridge_key_listener):
1531 Make sure to return consumed=FALSE if snoop
1532 event is not dispatched to listener.
1535 2004-03-01 Bill Haneman <billh@gnome.org>
1537 * configure.in: Revved to 1.3.15,
1540 2004-03-07 Danilo Segan <dsegan@gmx.net>
1542 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1544 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1546 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1548 2004-03-01 Bill Haneman <billh@gnome.org>
1550 * configure.in: Revved to 1.3.14.
1553 (SPI_exit): Removed "bye-bye" exit message.
1554 Moved "leak" report to happen before the
1555 iteration over the leaked refs list.
1556 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1558 2004-02-24 Bill Haneman <billh@gnome.org>
1560 * configure.in: Revved to 1.3.13.
1562 * docs/reference/cspi/Makefile.am:
1563 Correct typo that was breaking the docs build.
1565 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1567 * autogen.sh: Require version 1.7 of automake.
1569 * configure.in: call GTK_DOC_CHECK([1.0])
1571 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1573 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1575 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1577 * test/Makefile.am: Remove use of CFLAGS.
1579 This fixes bug #132987.
1581 2004-02-11 Bill Haneman <billh@gnome.org>
1583 * reverted most of Tomasz' patch below, since it was breaking
1584 builds (see bug #134058).
1586 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1588 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1589 correct pass "make dist" (empty .. because seems no sach types in
1590 header files with gtk-doc markups).
1591 * docs/reference/cspi/Makefile.am, configure.in:
1592 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1593 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1594 * Makefile.am: added:
1595 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1596 for force correct pass generate documentation on "make distcheck".
1597 * libspi/Makefile.am: fixes for automake >= 1.6.
1598 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1599 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1602 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1604 * docs/reference/cspi/Makefile.am (install-data-local): Install
1605 index.sgml since the doc autobuilder on widget.gnome.org looks for
1608 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1610 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1613 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1615 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1617 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1619 * test/simple-at.c: Fixed null string problems that cause core
1620 dumping problems on Solaris.
1622 2004-01-12 Bill Haneman <billh@gnome.org>
1624 * configure.in: Incremented version to 1.3.11.
1626 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1628 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1629 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1632 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1634 * configure.in: Added "fa" to ALL_LINGUAS.
1636 2003-12-20 Arafat Medini <lumina@silverpen.de>
1638 * configure.in: Added "ar" to ALL_LINGUAS
1640 2003-12-16 Bill Haneman <billh@gnome.org>
1642 * registryd/registry-main.c:
1644 Set the reg_env DISPLAY variable before registering the
1645 activated registry service. Fixes bug #129479.
1647 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1649 * configure.in: Added "id" in ALL_LINGUAS
1650 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1652 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1654 * registryd/deviceeventcontroller.c (global_filter_fn):
1655 When an event is consumed discard any XEvents were added to
1656 the queue while dealing with the the event. This can happen if
1657 processing of the event takes a long time. Call XUngrabKeyboard
1658 if an event was discarded. This fixes bug $124837.
1659 Only call wait_for_release_event for a KeyPress.
1660 Use local variable display instead of spi_get_display().
1661 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1664 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1666 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1667 Allow for mask to contain values other than NumLock mask.
1670 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1672 * registryd/devieceventcontroller.c:
1673 (wait_for_release_event): Change first parameter from GdkEvent to
1675 (global_filter_fn); Correct call to wait_for_release_event.
1679 2003-12-08 Bill Haneman <billh@gnome.org>
1683 * registryd/ucs2keysym.c: New file.
1685 * registryd/deviceeventcontroller.c:
1686 (dec_keysym_for_unichar): Remove old partial implementation and
1687 replace with call to ucs2keysym(), which is much more complete.
1688 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1693 2003-12-05 Bill Haneman <billh@gnome.org>
1695 * configure.in: Version 1.3.9.
1697 * docs/reference/cspi/tmpl/spi_registry.sgml:
1698 Added reference to libspi/keymasks.h to the
1699 description of Registry queries: AccessibleKeyMaskType.
1702 2003-12-04 Bill Haneman <billh@gnome.org>
1704 Fix for bug #121974.
1706 * idl/Accessibility_Application.idl:
1707 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1708 setlocale's LC_TYPEs.
1709 (Accessibility::Application::getLocale): New method.
1710 Allows clients to query the locale, by type, of an app.
1713 * cspi/spi_application.c:
1714 (AccessibleApplication_getLocale): New method, wraps IDL above.
1716 * libspi/application.c:
1717 (spi_application_class_init): Init epv entry for getLocale.
1718 (impl_accessibility_application_get_locale): Impl for above.
1720 * test/test-simple.c:
1721 (test_application): Added assertion for getLocale, i.e.
1722 that the string from AccessibleApplication_getLocale (app, type)
1723 is the same as that from setlocale (type, NULL);
1725 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1727 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1728 the keyboard on a timeout intil the key state goes from pressed to
1729 released. Fixes bug #111429.
1731 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1733 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1734 root object so that it is present when a context menu in an
1735 out-of-process applet is popped up.
1736 (spi_atk_bridge_do_registration): Create acceessible application root
1737 object only if it does not exist.
1739 This fixes bug #125834.
1741 2003-12-01 Bill Haneman <billh@gnome.org>
1743 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1746 Added enum for AccessibleStreamableContentSeekType.
1747 (AccessibleStreamableContent_freeContentTypeList): New.
1749 * cspi/spi_streamablecontent.c:
1750 (accessible_bonobo_stream_client_seek): New private method.
1751 (AccessibleStreamableContent_seek): Implemented this method,
1752 using Bonobo_Stream_seek.
1753 (AccessibleStreamableContent_freeContentTypeList): New method
1754 for freeing the return value from
1755 AccessibleStreamableContent_getContentTypes.
1756 (stream_cache_item_free): Replaces stream_release; stop leaks.
1757 (stream_release): removed.
1758 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1759 free the memory properly.
1761 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1763 Fix for bug #116009.
1765 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1767 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1769 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1771 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1773 2003-12-01 Bill Haneman <billh@gnome.org>
1775 Fix for bug/rfe #127463.
1777 * idl/Accessibility_Accessible.idl:
1778 (getLocalizedRoleName): New.
1779 (unimplemented4): Removed (replaced by above).
1781 * libspi/accessible.c:
1782 (impl_accessibility_accessible_get_local_role_name): New.
1783 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1787 (Accessible_getLocalizedRoleName): New.
1789 * cspi/spi_accessible.c:
1790 (Accessible_getLocalizedRoleName): New.
1792 2003-12-01 Bill Haneman <billh@gnome.org>
1794 Fix for bug #118581.
1795 * idl/Accessibility_Text.idl:
1796 (getDefaultAttributes): New.
1797 (unimplemented4): Removed (replaced by above method).
1800 (impl_getDefaultAttributes): New method.
1801 (spi_text_class_init):
1802 initialize the get_default_attributes slot in the epv.
1805 (AccessibleText_getDefaultAttributes): New prototype.
1808 (AccessibleText_getDefaultAttributes): New method.
1810 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1812 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1813 write beyond the end of the table. Fixes bug #120473.
1815 2003-09-30 Christian Rose <menthos@menthos.com>
1817 * configure.in: Added "eu" to ALL_LINGUAS.
1819 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1821 * configure.in: ALL_LINGUAS: Added no.
1823 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1825 * configure.in: Added lt to ALL_LINGUAS.
1827 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1829 * atk-bridge/bridge.c:
1830 (atk_bridge_init): Register event listeners always even for
1831 out-of-process applet.
1832 (spi_atk_bridge_toplevel_added): Remove call to
1833 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1834 (spi_atk_bridge_toplevelk_removed): Remove call to
1835 spi_atk_deregister_event_listenersa as the listeners are now always
1837 (spi_atk_bridge_register_application): Remove call to
1838 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1840 This fixes bug #120991.
1842 * libspi/table.c (impl_getColumnDescription): Correct typo,
1843 pointed out by Bolian.Yin@sun.com.
1845 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1847 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1849 2003-09-08 Bill Haneman <billh@gnome.org>
1851 * configure.in: Revved to 1.3.7.
1853 This is the GNOME 2.4.0 release of at-spi.
1855 * docs/reference/cspi/Makefile.am:
1856 Removed spurious inclusion of 'index.sgml' in the
1857 html directory; this was breaking make distcheck and
1858 also some other build environments.
1860 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1862 * registryd/registry.[ch}:
1863 Add queue_handler_id and focus_object to SpiRegistry data structure.
1864 (registry_flush_event_queue): If event being discarded is
1865 "state-change:focused" store object as focus_object.
1866 (registry_start_queue): Remove queue handler and focus object
1868 (registry_discard_event): New function which discards a focus event
1869 if we had stored focus object in the registry.
1870 (registry_queue_event): Add new check that is_queueing is set as this
1871 function is reentrant.
1872 (registry_filer_event): Add call to registry_discard_event.
1874 This resolves issues raised in bug #108664.
1876 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1878 * configure.in: Added "bn" to ALL_LINGUAS.
1880 2003-09-04 Bill Haneman <billh@gnome.org>
1882 * cspi/spi_event.c: Documentation improvements for
1883 (SPI_registerAccessibleKeylistener).
1885 * docs/reference/tmpl/spi_registry.sgml:
1886 Documentation improvements for SpiAccessibleKeylistenerCB.
1888 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1890 * configure.in: Added "ro" to ALL_LINGUAS.
1893 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1895 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1896 not decremented to zero. Fixes bug #120725.
1898 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1900 * configure.in: Added "ja" to ALL_LINGUAS.
1902 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1904 * configure.in: Added "is" to ALL_LINGUAS.
1906 2003-08-22 Christian Rose <menthos@menthos.com>
1908 * configure.in: Added "nl" to ALL_LINGUAS.
1910 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1912 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1913 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1915 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1917 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1918 type for unspecified exception.
1919 * cspi_streamablecontect): Add include of string.h for memcpy.
1920 (stream_release): Correct call to bonobo_object_release_unref
1921 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1922 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1923 argument of _cspi_expection_throw.
1924 * libspi/hyperlink.c: Add include of libspi/action.h:
1925 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1926 * libspi/streamablecontent.c: add include of libspi/component.h.
1927 * regisrtyd/deviceeventcontroller.c:
1928 (spi_dec_translate_mask): Removed unused variable priv.
1929 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1930 * registryd/registry.c:
1931 (registry_filter_event): Remove unused variable queue_is-empty.
1932 (impl_registry_notify_event): Use correct modifier in fprintf call.
1934 This fixes compiler warnings reported in bug #120220.
1936 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1938 * registryd/registryd.c: Remove this file.
1940 2003-08-17 Sanlig Badral <badral@openmn.org>
1942 * configure.in: Added mn to ALL_LINGUAS.
1944 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1946 * configure.in: Added et to ALL_LINGUAS.
1948 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1950 * test/event-listener-test.c: Change active-descendant to
1951 active-descendant-changed.
1953 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1955 * configure.in: Added "fi" in ALL_LINGUAS.
1957 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1959 * configure.in: Added "hi" in ALL_LINGUAS.
1961 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1963 * configure.in: Revved to 1.3.6.
1967 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1969 * registryd/deviceeventcontroller.c
1970 (spi_device_event_controller_object_finalize): Fix typo in previous
1973 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1975 * registryd/deviceeventcontroller.c
1976 (spi_device_event_controller_object_finalize): Fix build on
1977 systems without XEvIE.
1979 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1981 * acconfig.h, configure.in, registryd/Makefile.am,
1982 registryd/devicecontoller.[ch]: Add XEViE support.
1984 2003-08-06 Wang Jian <lark@linux.net.cn>
1986 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1988 2003-08-06 Metin Amiroff<metin@karegen.com>
1990 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1992 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1994 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1995 MODIFIER_ALT in correct place.
1997 This fixes part of bug #118114.
1999 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2001 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2003 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2005 * configure.in: Added "ko" to ALL_LINGUAS.
2007 2003-07-28 Ole Laursen <olau@hardworking.dk>
2009 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2011 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2013 * configure.in: Added "sq" to ALL_LINGUAS.
2015 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2017 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2019 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2021 * configure.in: updated ALL_LINGUAS list
2023 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2025 * configure.in: Added Belarusian to ALL_LINGUAS.
2027 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2029 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2031 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2032 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2034 This fixes bug #116949.
2036 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2038 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2039 Correct CSPI to SPI in function documentation.
2041 This fixes bug #118054.
2043 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2045 * configure.in: Added Russian to ALL_LINGUAS.
2047 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2049 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2051 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2053 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2055 2003-07-10 Joel Brich <joel.brich@laposte.net>
2057 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2059 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2061 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2063 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2065 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2066 resources allocated for AccessibleEvent. See cspi_event().
2068 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2069 static variable streams to NULL.
2071 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2072 Update so that AcessibleEvent_ref will work.
2074 This fixes bug #116624.
2076 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2078 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2080 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2082 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2084 2003-07-02 Christian Neumair <chris@gnome-de.org>
2086 * configure.in: Added "de" (German) to ALL_LINGUAS.
2088 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2090 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2092 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2094 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2096 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2098 * configure.in: Added "pl" to ALL_LINGUAS.
2100 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2102 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2104 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2107 (get_action_from_servant):
2108 Removed assertion that action is implemented on an AtkObject.
2110 * libspi/hyperlink.c:
2111 (spi_hyperlink_new):
2112 Aggregate AccessibleAction interface on the hyperlink object if
2113 the object implements AtkAction. (This convention is used in
2116 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2118 * configure.in: Revved to 1.3.5.
2120 * registryd/Accessibility_Registry.server.in.in:
2121 Marked up appropriate strings for translation.
2123 * atk-bridge/bridge.c: Marked a couple of
2124 user-visible warnings for translation. Questionable
2125 whether they are really useful, but possibly so.
2128 2003-06-28 Christian Rose <menthos@menthos.com>
2130 * configure.in: Added "sv" to ALL_LINGUAS.
2132 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2134 * registryd/registry.c:
2135 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2136 (registry_defer_on_event): Defer focus: events, this is an
2137 improvement to the patch for bug #108664.
2139 * TODO: Update with 2.4/"Dev Complete" items.
2141 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2143 * atk-bridge/bridge.c:
2144 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2145 looks up signals once.
2146 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2147 if doing registration.
2148 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2149 when doing registration.
2151 This fixes bug #115014.
2153 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2155 * atk-bridge/bridge.c:
2156 (atk_bridge_init): Add signal handler for children-changed:remove on
2157 root when in a BonoboComponent.
2158 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2159 for first toplevel only other incrememt variable toplevels.
2160 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2161 application and remove listeners.
2162 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2164 (spi_atk_deregister_event_listeners): New function which removes
2166 (reinit_register_vars): New fuction which reinitializes variables.
2168 This fixes bug #111578.
2170 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2172 * configure.in: version 1.3.4.
2174 * cspi/spi_accessible.c:
2175 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2178 2003-06-13 Michael Meeks <michael@ximian.com>
2180 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2182 * cspi/spi_main.c (cspi_peek_ev): impl.
2184 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2186 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2188 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2190 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2191 SPI_ROLE_AUTOCOMPLETE
2193 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2195 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2196 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2198 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2200 * libspi/streamablecontent.h:
2201 * libspi/streamablecontent.c:
2202 New files, provide implementation/wrappers for
2203 Accessibility_StreamableContent.
2205 * cspi/spi_streamablecontent.c:
2206 Connected the C wrappers to the libspi C bindings.
2207 (AccessibleStreamableContent_close): New method.
2210 (AccessibleStreamableContent_close): New method, needed
2211 since we have an "open, [seek], read, close" model in cspi.
2213 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2215 Fix for #108664; Padraig's revision of my original patch.
2217 * registryd/registry.h:
2218 Added event queue list, is_queuing, and exit_notify_timeout
2219 to the registry struct.
2221 * registryd/registry.c:
2222 (registry_init): Initialize new struct from registry.h.
2223 (impl_registry_notify_event):
2224 Filter events before notifying, in case some need to be
2226 (registry_filter_event): New,
2227 we defer certain incoming events (for instance
2228 window:deactivate) because we may wish to hide
2229 or reject them based on pending events. This is
2230 mostly a workaround for bug #108664.
2231 (registry_queue_event, registry_start_queue): New.
2232 (registry_defer_on_event): Test event to see if it
2234 (registry_reset_on_event): Returns TRUE if the
2235 event should cause a queue reset.
2236 (registry_discard_on_event): Returns TRUE if the event
2237 should cause the previous queue contents to be discarded.
2238 (registry_timeout_flush_queue): Flushes the pending event
2239 queue if no reset/discard-triggering events have come in
2240 within the timeout period.
2241 (registry_emit_event): New.
2242 (registry_clone_notify_context): New, used when queueing the
2243 event notify contexts.
2245 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2247 * configure.in: Version revved to 1.3.2, lt 0.9.2
2248 Incremented ATK required version to 1.3.4.
2250 * cspi/spi_registry.c:
2251 (SPI_generateKeyEvent):
2252 We now pass the keystring along if it's non-null.
2254 * registryd/deviceeventcontroller.c:
2255 (keysym_mod_mask): New method, returns modifier mask
2256 required to generate a keysym from a given keycode.
2257 (dec_synth_keysym): New method.
2258 (dec_synth_keystring): New method.
2259 (dec_get_modifier_state): New method.
2260 (dec_lock_modifiers): New
2261 (dec_unlock_modifiers): New.
2262 (dec_keysym_for_unichar): New, rather brute-force
2263 conversion from UCS-4 to X KeySyms. Only works for
2264 Latin at the moment, with partial implementations for
2265 Greek, Hebrew, and (incomplete) Katakana.
2266 (impl_generate_keyboard_event): Now implement
2267 "KEYSTRING" synthesis and implement "KEYSYM"
2269 (keycode_from_keysym): Improved, passes a returned
2270 modmask value now if the corresponding param is non-NULL.
2272 Fixes bugs #92143 and #109776.
2275 * test/keysynth-test.c:
2276 New test program for key synthesis, to confirm fixes for
2280 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2282 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2284 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2285 Add line for RELATION_POPUP_FOR
2287 * docs/reference/cspi/tmpl/spi_relation.sgml:
2288 Add relation SPI_RELATION_POPUP_FOR
2290 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2291 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2293 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2295 * libspi/relation.c (spi_init_relation_type_table):
2296 Add line for RELATION_POPUP_FOR
2298 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2300 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2301 there are still windows which have not been deleted and emit
2302 window:deactivate, if necessary and window:destroy events.
2303 This fixes bug #114370. The change on June 5th was not correct.
2305 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2307 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2310 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2312 New methods for client exception handling and interception.
2313 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2314 (SPI_exceptionHandlerPop): You guessed it...
2315 (SPI_getSourceType): Return the type of object which offended.
2316 (SPI_getExceptionCode): Return an enum code telling, possibly,
2317 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2318 (SPIAccessibleException_getSource): get the source object for
2319 exceptions that come from Accessibles, if SPIExceptionSourceType is
2320 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2321 (SPIException_getDescription): New, returns a string description of
2322 the problem. [Not yet a stable ABI, strings are not frozen]
2324 * cspi/spi-private.h:
2325 Added implementation details of opaque SPIException
2329 Implementations of above. Also
2330 (_cspi_exception_throw): new private method that
2331 dispatches exceptions to handlers, called from cspi-bonobo.c
2333 * cspi/bonobo/cspi-bonobo.c:
2334 (cspi_check_ev): call _cspi_exception_throw.
2335 Don't print a warning message if the exception has been
2336 handled by _cspi_exception_throw.
2338 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2340 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2341 there are still windows which have not been deleted and emit
2342 window:deactivate, if necessary and window:destroy events.
2343 This fixes bug #114370.
2345 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2348 (cspi_accessible_is_a): Make non-fatal
2349 if the object reference is dead.
2351 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2353 * cspi/spi_main.c: #include <stdio.h>
2354 * test/simple-at.c: ditto
2355 * test/event-listener-test.c: ditto
2356 * test/screen-review-test.c: ditto
2358 2003-05-30 Michael Meeks <michael@ximian.com>
2360 * test/test-simple.c (main): use CORBA_ORB_perform_work
2361 instead of an unnecessary linc_ call.
2363 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2365 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2366 Add SPI_STATE_INDETERMINATE.
2368 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2371 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2373 * libspi/stateset.c (init_state_type_tables): Add support for
2376 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2378 * configure: Update versions of atk and gail required.
2379 This fixes bug #113268.
2381 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2383 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2385 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2387 * libspi/Makefile.am:
2388 Ensure headers are generated before being used by c sources.
2390 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2393 Simplified lt versioning rules.
2394 Incremented version to 1.3.0, to indicate that we're on the
2395 unstable branch now.
2397 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2399 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2400 Add MKDB_OPTIONS=--outtput-format=xml
2402 * docs/reference/cspi/at-spi-cspi-docs.sgml
2403 docs/reference/idl/at-spi-idl-docs.sgml:
2404 Convert to Docbook XML.
2406 This fixes bug #111793.
2408 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2410 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2411 AcccessibleKeyEventType, AccessibleKeyMaskType.
2413 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2415 * cspi/state-types.h: Add documentation for AccessibleState.
2417 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2418 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2419 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2420 AccessibleComponentLayer.
2422 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2425 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2427 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2428 Accessible. Add description of AccessibleEvent,
2429 AccessibleEventListenerCB.
2431 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2434 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2435 documentation. Add description of AccessibleKeystrokeListenerCB,
2436 AccessibleKeyEventMask, AccessibleModifierMaskType,
2437 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2438 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2440 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2443 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2446 This fixes bug #104730.
2448 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2450 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2451 Set is_text field of Accessibility_DeviceEvent data structure.
2453 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2454 is-text field of AccessibleDeviceEvent data structure.
2456 This addresses part of bug #108666.
2458 * registryd/devcieeventcontroller.c: Unset debug option.
2460 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2462 * cspi/accessible.c:
2463 (cpi_initial_relation_type_table): New function which initializes
2464 mapping between Accessibility_RelationType and AccessibleRelationType.
2465 (cspi_relation_type_from_spi_relation_type): New function which
2466 translates an Accessibility_RelationType into an AccessibleRelationType.
2467 (AccessibleRelation_getRelationType): Use
2468 cpi_relation_type_get_spi_relation_type to return correct value.
2469 (spi_state_to_corba): Return correct type for default case.
2471 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2472 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2474 * cspi/cspi-bonobo-listener.c:
2475 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2478 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2479 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2480 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2481 libspi/image.c, libspi/listener.c, libspi/selection.c,
2482 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2483 registryd/desktop.c, registryd/registry.c:
2484 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2486 * libspi/eventlistener.c
2487 Remove semicolon after BONOBO_TYPE_FUNC.
2489 * libspi/relation.c:
2490 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2491 (spi_init_relation_type_table): Initialize using correct type.
2493 * registryd/desktop.c:
2494 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2495 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2496 of Accessibility_KeyEventType.
2498 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2501 * tests/simple-at.c, tests/screen-review-test.c:
2502 Add include for <strings.h>.
2504 * tests.stress-test.c:
2505 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2507 These changes fix compiler warnings when using FORTE compiler on
2508 Solaris; fixes bug #107479.
2511 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2514 * configure.in: revved to 1.1.10
2516 * libspi/keymasks.h:
2517 (SPI_KEYMASK_NUMLOCK): Added.
2519 * registryd/deviceeventcontroller.c:
2520 (spi_key_event_matches_listener): AND with a smaller
2521 bitmask (as we should).
2522 (spi_dec_translate_mask):
2523 New method, sets the virtual NumLock modifier bit
2524 if numlock is on. Eventually it can handle other virtual
2525 modifier bits if needed, or other marshalling from
2526 at-spi modifier masks to platform (X) masks.
2527 (spi_dec_key_listener_new):
2528 Call spi_dec_translate_mask to set up virtual mod bits
2529 in the 'mask' field when creating a new listener struct.
2530 (spi_dec_emit_modifier_event):
2531 Set the virtual (i.e. NumLock) bits before emitting event.
2532 (spi_controller_register_with_devices):
2533 Query for the NumLock modifier 'physical' bit if Xkb is
2534 present, for use in above methods.
2538 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2540 * registryd/deviceeventcontroller.c:
2541 (spi_keystroke_from_x_key_event):
2542 Instead of checking to see if the keysym is
2543 printable, check the string from XLookupString
2544 if available, get the first unicode character from it,
2545 and call g_unichar_isprint to determine whether the
2546 is_text flag should be TRUE or FALSE.
2550 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2552 * atk-bridge/bridge.c: Add support for extended events
2553 * cspi/spi_event.c: Add documentation and implementation for
2555 * tests/event-listener-test.c: Add tests for extended events.
2557 This fixes bugs #100424 and #100426.
2559 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2561 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2562 of LT_CURRENT. This fixes bug #89350.
2564 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2566 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2567 number of signal parameter values before accessing them. This fixes
2570 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2572 * configure.in: Fixed duplicate inclusion of -lspi.
2573 * branched for gnome-2-2/HEAD.
2574 [created tag "gnome-2-2"]
2576 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2578 * configure.in: 1.1.9 release.
2581 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2583 [needed by GOK, to fix bugs 107985 and 107988]
2584 * registryd/deviceeventcontroller.c:
2585 (spi_dec_clear_unlatch_pending):
2586 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2587 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2588 (spi_dec_init_mouse_listener):Emit warning if mouse button
2590 (spi_device_event_controller_forward_mouse_event):
2591 Removed unnecessary parens from a conditional.
2592 (global_filter_fn):Added TODO comment.
2593 (impl_generate_keyboard_event):
2594 Cancel a pending relatch if a 'delatching' key was
2597 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2599 * atk-bridge/bridge.c:
2600 Change atk_signal_child_changed to atk_signal_children_changed.
2601 Reorganize code in spi_atk_bridge_signal_listener().
2603 * test/event-listener-test.c:
2604 Add children_changed_listener and report_children_changed_event()
2605 to test AccessibleChildEvent_getChildAccessible.
2607 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2609 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2610 g_strdup to CORBA_String_dup (bug #105291)
2612 * test/event-listener-test.c (report_text_event): Add call to
2615 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2617 * registryd/deviceeventcontroller.c:
2618 (spi_keystroke_from_x_key_event):
2619 Fix string and keysym return codes to match modifier state.
2622 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2624 * registryd/deviceeventcontroller.c:
2625 (spi_keystroke_from_x_key_event):
2626 Fix segv due to improper use of isprint(c). [bug #107254]
2628 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2631 (get_accessible_text_boundary_type):
2632 Move default return value to (new) default case in switch.
2633 (get_accessible_text_clip_type):
2634 Move default return value to (new) default case in switch.
2636 * libspi/application.c:
2637 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2638 Remove unused methods.
2639 (impl_accessibility_application_register_object_event_listener):
2640 Remove unused methods.
2643 Added #include of <math.h>.
2645 * registryd/deviceeventcontroller.c:
2646 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2647 we don't currently use this method.
2648 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2650 (impl_generate_key_event):
2651 Remove unused variables.
2652 (impl_generate_mouse_event):
2653 Initialize button to zero, just in case we get an invalid
2654 input. Added support for mouse buttons 4 and 5.
2655 (spi_device_event_controller_new):
2656 Removed unused variable declaration for 'private'.
2658 Added #include of <gdk/gdk.h>
2660 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2662 * configure.in: Update to work when X is not installed in expected
2663 location. Fixes bug #105836.
2665 * atk-bridge/bridge.c
2666 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2668 (spi_atk_register_event_listener): Add signal listener for
2670 (spi_atk_bridge_signal_listener): Event event when link-selected
2671 signal is emitted. (bug #104622)
2673 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2674 on returned string. (bug #105291)
2676 * test/event-listener-test.c: Add test for link-selected.
2678 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2680 * atk-bridge/Makefile.am: Correct typo in previous commit.
2682 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2684 * atk-bridge/Makefile.am: Allow for build directory to be different
2685 from source directory
2687 * registryd/Makefile.am: Allow for build directory to be different
2688 from source directory
2692 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2695 Fixed dependencies for libcspi so that libspi gets pulled in
2696 properly. Fixes 104741.
2700 Clean up inline docs a little.
2702 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2704 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2705 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2706 the AtkObject within an SpiDesktop.
2707 This addresses bug #101524.
2709 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2710 Remove call to gdk_init().
2712 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2713 so that Display is set when SpiDesktop is created.
2715 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2717 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2718 This fixes bug #102830.
2720 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2722 * test/test-simple.c: Update to take account of fact that GailButton
2723 now implements AtkText.
2724 (create_text_window): Set name on AtkObject for GtkEntry.
2725 (validate_accessible): Check accessible name before calling test_text().
2727 * libspi/Makefile.am: Fix problem with building outside of source
2728 directory. Bug #98120.
2730 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2731 typo in documentation comments. Bug #94275.
2733 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2735 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2737 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2740 Add includes to avoid compiler warnings on Solaris.
2741 (impl_getRangeExtents): Bug fix.
2743 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2745 Fix for 100944, [API addition approved by Gman and murrayc].
2752 * idl/Accessibility_Text.idl:
2753 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2754 (Text::getRangeExtents): New method for efficient
2755 bounds query of a text range.
2756 (Text::getBoundedRanges): New method for efficient
2757 clipping of text to bounding boxes.
2758 (unImplemented7, unImplemented8):
2759 Removed these padding methods to preserve bincompat.
2762 (impl_getRangeExtents): implementation of new IDL.
2763 (impl_getBoundedRanges): implementation of new IDL.
2764 (SpiTextRect): Internal use struct.
2765 (_spi_text_rect_union): internal method, calculates union of two
2766 SpiTextRect bounding rects.
2767 (_spi_text_range_seq_from_gslist): internal method, allows us
2768 to build our sequence efficiently as a gslist then convert it
2770 (_spi_bounds_contain): internal method, determines whether
2771 a text character is "in" or "out" of a clip rect according to
2772 values of TEXT_CLIP_TYPE.
2773 (spi_text_class_init): Initialize the new methods in the epv.
2776 (AccessibleTextClipType): New enum used by screen review api.
2777 (AccessibleTextRange): New struct used by screen review api.
2778 (AccessibleText_getRangeExtents):
2779 cspi binding for Accessibility_Text_getRangeExtents.
2780 (AccessibleText_getBoundedRanges):
2781 cspi binding for Accessibility_Text_getBoundedRanges.
2782 (AccessibleTextRange_freeRanges): convenience method.
2785 (AccessibleText_getRangeExtents):
2786 cspi binding for Accessibility_Text_getRangeExtents.
2787 (AccessibleText_getBoundedRanges):
2788 cspi binding for Accessibility_Text_getBoundedRanges.
2789 (AccessibleTextRange_freeRanges): convenience method.
2790 (get_accessible_text_clip_type): internal conversion method.
2791 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2793 * registryd/deviceeventcontroller.c:
2794 (spi_dec_mouse_check):
2795 Improved behavior for mouse:abs events
2796 [same granularity as mouse:rel events, and no
2797 events when mouse is idle].
2799 2002-12-16 Michael Meeks <michael@ximian.com>
2801 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2803 * libspi/stateset.c (state_spi_to_atk): split out
2804 ( fix several remote array bounds nasties )
2805 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2806 (impl_remove): make safe from array bounds issues.
2807 (spi_atk_state_from_spi_state): impl.
2809 * libspi/stateset.h (spi_state_set_cache_is_empty):
2810 add a set of wrapper defines to get layering right.
2812 * cspi/spi_accessible.c: update state set stuff to
2815 2002-12-14 Michael Meeks <michael@ximian.com>
2817 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2818 to avoid 2 roundtrips to the registry per key event
2819 (spi_atk_bridge_key_listener): upd.
2820 (deregister_application): release the dec.
2822 * registryd/registry.c (notify_listeners_cb):
2823 bin lots of re-enterant complexity - we no longer
2824 do a round-trip bonobo ref here, ensure that a single
2825 listener's exception failure won't poison all other
2827 (impl_registry_notify_event): bin obvious memory leak.
2829 2002-12-13 Michael Meeks <michael@ximian.com>
2831 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2832 init the ev so the error is meaningful.
2833 (spi_atk_bridge_key_listener): ditto.
2835 * cspi/spi_main.c (cspi_ev): init the ev so we start
2836 with a clean slate, otherwise the first exception
2837 kills us completely.
2839 * cspi/spi_text.c (get_accessible_text_boundary_type):
2840 add a fallthrough for no warnings.
2842 * cspi/spi_registry.c: prune unused warnings.
2844 * cspi/spi_main.c (cspi_object_take): fix
2845 mind-blowing brokenness ( by watching the compile
2848 * cspi/spi_accessible.c (Accessible_getStateSet):
2849 re-impl. to use an AtkStateSet.
2850 (spi_state_type_from_accessible_state),
2851 (init_state_table): bin these.
2853 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2855 (atk_state_set_from_accessibility_state_set): here.
2857 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2858 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2859 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2860 (AccessibleStateSet_add, AccessibleStateSet_remove),
2861 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2862 (AccessibleStateSet_isEmpty): re-write to use a local
2865 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2867 * configure.in: Revved to 1.1.7 (new keymask vals).
2869 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2871 * libspi/keymasks.h:
2872 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2874 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2877 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2878 to compare two CORBA_TypeCodes.
2879 (cspi_internal_event_add): Silence warning from FORTE compiler.
2881 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2882 avoid implicit declaration of functions.
2884 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2886 * atk-bridge/bridge.c:
2887 (spi_atk_bridge_init_event_type_consts): Store signal id for
2888 active-descendant-changed signal.
2889 (spi_atk_register_event_listeners): Add signal listener for
2890 active-descendant-changed signal,
2891 (spi_atk_bridge_signal_listener): Move code in function
2892 spi_atk-signal_emit_event() into this function.
2893 Add support for active-descendant-changed
2894 Update support for child-changed signal.
2895 (spi_bridge_window_event_listener): Silence warning.
2897 * libspi/spi_private.[ch]:
2898 (spi_init_any_object): Change second parameter from CORBA_Object to
2900 Omit call to CORBA_Object_duplicate().
2901 Set CORBA_any's _value to CORBA_Object*.
2903 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2909 (AccessibleEvent_ref, AccessibleEvent_unref):
2910 New methods, for persisting an event outside the emission context.
2911 Must be used if the new accessor methods are to be called
2912 outside of the event listener's callback.
2914 * cspi/bonobo/cspi-bonobo.c:
2915 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2916 as second parameter instead of NULL, so we can call
2917 cspi_check_ev afterwards.
2920 (cspi_object_take): New internal method,
2921 converts a CORBA_Object reference to a hard ref on
2922 an Accessible if possible, returning NULL if the object
2923 reference is invalid or an Accessible * otherwise.
2926 (AccessibleEvent_ref):
2927 Increment the event's internal private refcount, and
2928 add the event's internal struct to an internal cache
2929 if it's not already there.
2930 (AccessibleEvent_unref):
2931 Decrement the event's refcount and remove it from
2932 the cspi event cache if refcount==0.
2933 (cspi_event_compare): New private method.
2934 Compares two event structs via their ids. Used
2936 (cspi_internal_event_lookup): New private method.
2937 (cspi_internal_event_check): New private method,
2938 a 0-order sanity check for events to make sure their
2939 private data is intact.
2940 (cspi_internal_event_add, cspi_internal_event_remove):
2941 New private methods for managiing the event cache.
2943 * cspi/bonobo/cspi-bonobo-listener.c:
2945 Initialize the new private data elements (id, magic, ref_count).
2947 * atk-bridge/bridge.c:
2948 (spi_atk_bridge_signal_listener):
2949 Fixed bug #100530, passing wrong params to emission func.
2951 * registryd/deviceeventcontroller.c:
2952 (spi_dec_button_update_and_emit):
2953 Fixed type in mask bit operations; fix for #99799.
2955 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2957 Removed some of the more dangerous workarounds from
2958 previous commit; they are only needed by GOK, which
2959 in reality should be using another method to accomplish
2960 the goals. So on reconsideration some of the workarounds
2961 need to be reverted:
2963 * registryd/deviceeventcontroller.c:
2964 (spi_keycodes_contain, spi_dec_init_keycode_list):
2965 Removed these methods, used only by a nasty hack to try
2966 and detect whether a key synthesis should be allowed
2967 to reset the XKB latch state or not. This code was only
2968 required to work around an interaction between GOK,
2969 button events, and XKB.
2970 (impl_generate_key_event):
2971 Removed hack at end of key generation that tried to
2972 "do the right thing" if XKB latch keys were generated
2973 in the midst of button press/release pairs.
2976 Added a check for HAVE_XINPUT. Not normally used yet.
2978 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2980 Workarounds and fixes for mouse event/XKB interaction.
2982 * registryd/deviceeventcontroller.c:
2983 (spi_keycodes_contain, spi_dec_init_keycode_list):
2984 New internal methods.
2985 (spi_dec_set_unlatch_pending):
2986 Split the method that tells XKB to expect an
2987 unlatch (and revert it) out of the rest of the
2988 event handling code. This method is called by the
2989 two mouse event handlers (the poll and the filter).
2990 (spi_dec_update_and_emit, spi_dec_mouse_check):
2991 New methods split from spi_dec_poll_mouse_moved.
2992 The second one is now called from inside the filterFn
2993 when an XKB delatch event is received, to determine
2994 whether to revert the delatch or not.
2995 (spi_poll_mouse_moved): Refactor; also we can now
2996 properly handle the case where multiple button states
2997 have changed between polling cycles and we didn't get
2998 notified due to another client's grab.
3000 Synchronize the server while handling an XKB notification.
3001 Ugly, but apparently necessary to avoid nasty races.
3002 Check the mouse state on receipt of an XKB latch change,
3003 to decide whether to revert the latch or not. (Latches are
3004 reverted if there is an immediately preceding mouse button
3005 event that a client has consumed, in which case we don't want
3006 the user to see the side-effect of the event).
3007 (spi_device_event_controller_forward_mouse_event):
3008 Check for modifier events and fire before resetting mouse_mask_state,
3009 prevents losing modifier events.
3011 (impl_generate_keyboard_event):
3012 If we've just generated a keyboard event for a non-shift key,
3013 we don't want to revert the pending XKB latch.
3014 Otherwise, check the modifier state (via a call to
3015 spi_dev_mouse_check) and set the relatch mask to
3016 that state before returning.
3018 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3021 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3024 * atk-bridge/bridge.c:
3025 (spi_atk_register_event_listeners):
3026 Don't re-register for ATK events if the registry has died
3027 and the app needs to re-register; the ATK listeners are in
3028 process and doing so will cause duplicate emission.
3030 * registryd/deviceeventcontroller.c:
3031 (spi_poll_mouse_moved):
3032 Reformat the source, detect and emit multiple button-change
3033 events (i.e. if multiple buttons have changed between poll
3035 Add code to detect mouse-down events even when the pointer
3036 is grabbed; workaround for GOK bug 98420.
3037 (spi_controller_register_with_devices):
3038 Call XTestGrabControl with 'impervious' flag set to True,
3039 allows us to synthesize events and query the pointer even during
3040 an active grab by another client.
3041 (spi_device_event_controller_forward_mouse_event):
3042 Set the mouse_mask_state to the mouse_button_state from
3043 the intercepted event, to synchronize the grab listener with
3046 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3048 * cspi/spi_accessible.c:
3049 (AccessibleRole_getName):
3050 Added necessary strings for making this (deprecated)
3051 method work with the new role types.
3052 (init_role_table, role_table):
3053 Added definition of SPI_ROLE_APPLICATION.
3055 * libspi/spi-roletypes.h:
3056 Added SPI_ROLE_APPLICATION.
3058 * idl/Accessibility_Role.idl:
3059 Added ROLE_APPLICATION.
3061 * docs/reference/cspi/at-spi-cspi-decl.txt:
3062 Added SPI_ROLE_APPLICATION to docs.
3064 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3066 * cspi/spi_accessible.c
3067 (cspi_init_role_table): Do not write beyond end of role_table.
3068 (Accessible_getRole): Use correct type for value returned by
3069 Accessibility_Accessible_getRole().
3071 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3072 beyond end of role_table. (This fixes bug #98269)
3074 * libspi/application.c: Add include file spi-private.h for
3075 definition of spi_init_any_nil.
3077 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3081 * libspi/spi-private.h:
3082 Added DGB() macro, and extern int _dbg declaration.
3084 * registryd/registry.c:
3085 (definitions) storage for _dbg.
3086 (spi_registry_init):
3087 Get environment variable "AT_SPI_DEBUG".
3088 (spi_registry_set_debug):
3089 New method, to initialize _dbg value.
3090 (spi_listener_struct_new, spi_registry_object_finalize):
3091 (notify_listeners_cb):
3092 Changed fprintfs to use DBG and g_warning().
3094 * registryd/deviceeventcontroller.c:
3095 (_deregister_keygrab, spi_controller_register_device_listener):
3096 Changed debug/warning messages to use DBG macro.
3098 * libspi/listener.c:
3099 (impl_notify_event):
3100 Changed warning messages to use DBG macro and g_warning().
3102 * atk-bridge/bridge.c:
3103 (atk_bridge_init, spi_atk_bridge_get_registry):
3104 (spi_atk_bridge_exit_func):
3105 (spi_atk_bridge_property_event_listener):
3106 Changed status, warning, and error messages to use
3107 g_warning, g_message, and DBG macros.
3110 Read the state of the AT_SPI_DEBUG environment variable
3111 and set a local '_dbg' accordingly.
3113 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3115 FIXES for 98836, 98842, other bugs.
3118 Revved to 1.1.4, interface-age=4, binary-age=4.
3120 * registryd/deviceeventcontroller.c:
3122 Fixed crasher bug in last_mouse_pos initialization.
3124 * registryd/registry.c:
3125 (desktop_add_application, desktop_remove_application):
3126 Added (and then commented out) some support for
3127 object context marshalling. [TODO]
3129 * atk-bridge/bridge.c:
3130 (spi_atk_bridge_event_context_create):
3131 Commented out object context creation until it can
3132 be properly tested and debugged.
3134 * registryd/registry.c:
3135 (impl_registry_notify_event):
3136 Fixed crasher bug, we were calling
3137 spi_re_entrant_list_foreach () with an empty list.
3139 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3141 * idl/Accessibility_Action.idl:
3142 * idl/Accessibility_Component.idl:
3143 * idl/Accessibility_Desktop.idl:
3144 * idl/Accessibility_Event.idl:
3145 * idl/Accessibility_Hyperlink.idl:
3146 * idl/Accessibility_Image.idl:
3147 * idl/Accessibility_Relation.idl:
3148 * idl/Accessibility_Selection.idl:
3149 * idl/Accessibility_State.idl:
3150 * idl/Accessibility_Value.idl:
3151 Updated unimplemented slot count to minimum of
3152 four for all interfaces, for ABI freeze.
3154 * idl/Accessibility_EditableText.idl:
3155 * idl/Accessibility_Text.idl:
3156 Updated unimplemented slot count to six
3159 * idl/Accessibility_Registry.idl:
3160 Updated unimplemented slot count to six
3161 (also for DeviceEventController),
3164 * idl/Accessibility_Table.idl:
3165 Updated unimplemented slot count to eight,
3168 * idl/Accessibility_Event.idl:
3169 Added CORBA_any "any_data" member to Event struct.
3171 * idl/Accessibility_Event.idl:
3172 Added CORBA_any "any_data" member to Event struct.
3174 * atk-bridge/bridge.c:
3176 atk_signal_text_changed, atk_signal_child_changed,
3177 signal ids queried from gtype system.
3178 (AtkBridgeEventContextType): New enum.
3179 (AtkBridgeEventContextData): New struct.
3180 (AtkBridgeEventContext): New struct.
3181 (atk_bridge_init_event_type_consts):
3182 New method, initializes type contants for comparison
3183 prior to emit_eventv.
3184 (atk_bridge_event_context_init): New method,
3185 initializes a CORBA_any from an AtkBridgeEventContext.
3186 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3187 initialize the event.any_data struct.
3188 (spi_atk_bridge_event_context_create): New method,
3189 creates an AtkBridgeEventContext from signal/event info.
3190 (spi_atk_bridge_event_context_free): New method.
3191 (spi_atk_emit_eventv): Changed to take an
3192 AtkBridgeEventContext parameter. We now initialize
3193 the event.any_data member prior to notifying the
3194 Registry, via the AtkBridgeEventContext.
3195 (spi_atk_bridge_property_event_listener):
3196 (spi_atk_bridge_state_event_listener):
3197 Match emit_eventv signature.
3198 (spi_atk_bridge_object_event_listener):
3199 Match emit_eventv signature, and create an
3200 event context from the event details.
3201 Free the event context afterwards.
3202 (spi_atk_bridge_window_event_listener):
3203 Create an event context, pass it to the
3207 (AccessibleEvent_getContextString):
3208 (AccessibleEvent_getContextObject):
3209 New methods, allow query of AccessibleEvent objects
3210 for more context details (via the "any_data" member
3211 of the Event struct, above).
3214 Definitions for AccessibleEvent_getContextString
3215 and AccessibleEvent_getContextObject.
3217 * cspi/spi_listener.h:
3218 (InternalEvent): New struct.
3221 (AccessibleEvent_getContextString):
3222 (AccessibleEvent_getContextObject):
3223 Implementations of new methods, for obtaining
3224 additional context information from some event types.
3226 * cspi/spi_registry.c:
3227 (SPI_registerGlobalEventListener):
3228 Added mention of active-descendant-changed event in docs.
3230 * cspi/cspi-bonobo-listener.c:
3232 Marshal the any into the AccessibleEvent via
3235 * libspi/spi-private.h:
3236 #include <orbit/orbit.h>
3238 (spi_init_any_string):
3239 (spi_init_any_object):
3240 New convenience function declarations.
3244 (spi_init_any_string):
3245 (spi_init_any_object):
3246 New convenience function implementations.
3248 * registryd/deviceeventcontroller.c:
3249 (spi_poll_dec_mouse_moved):
3250 (spi_device_event_controller_forward_mous_event):
3251 Initialize any_data member of event.
3252 (spi_deregister_controller_device_listener):
3253 Fix incorrect param pass which was preventing deregistration.
3255 * registryd/registry.c:
3256 (desktop_add_application):
3257 (desktop_remove_application):
3258 Add object data to event's any_data before dispatch.
3260 Fix for error messages from GAIL.
3262 * test/event-listener-test.c:
3263 Test new ContextString and "any_data" API:
3264 (report_text_event): New method query and output context string.
3265 (main): register a new text listener with report_text_event
3268 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3270 Fixes for bugs 98127 and 97914.
3271 * cspi/spi-roletypes.h:
3272 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3274 * cspi/spi-statetypes.h:
3275 Added SPI_STATE_MANAGES_DESCENDANTS
3277 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3278 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3279 * cspi/spi_accessible.c:
3280 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3281 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3282 Accessibility_STATE_MANAGES_DESCENDANTS
3283 * libspi/accessible.c:
3284 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3285 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3286 As requested by Bill, I also cleaned up the alignment.
3287 * libspi/relation.c:
3288 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3289 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3290 * libspi/stateset.c:
3291 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3292 Accessibility_STATE_MANAGES_DESCENDANTS
3293 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3294 Document changes reflecting modifications to roles.
3295 * docs/reference/cspi/tmpl/spi_relation.sgml:
3296 Document changes reflecting modifications to relations.
3297 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3298 Document changes reflecting modifications to states.
3300 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3303 Revved to 1.1.3, interface-age=3, binary-age=3.
3304 Added REBUILD macro.
3307 Removed accessx-gui from the tests, since we have a nice
3308 keyboard accessibility capplet now :-)
3310 * test/keysynth-demo.c:
3311 (increment_scan): removed do-nothing default: case,
3314 * test/visual-bell.c:
3315 (main) : removed do-nothing default: case,
3318 * cspi/spi_action.c:
3319 (AccessibleAction_getKeyBinding_):
3320 Documented keybinding string format.
3324 (AccessibleText_getAttributes):
3325 Documented the text attribute string format.
3326 It's changed to use semicolon delimiters also,
3327 to prevent clashes with CSS attributes, but the old
3328 trick of looking for ", " strings will still work
3329 (as unreliably as ever). Fix for bug related to 97916.
3332 Include <cspi/bonobo/cspi-bonobo-listener.h>
3333 Fixes build warning.
3334 (SPI_freeAccessibleKeySet):
3335 (AccessibleKeystrokeListener_addCallback):
3336 (AccessibleKeystrokeListener_removeCallback):
3337 Modify to use AccessibleDeviceListener API internally,
3338 instead of AccessibleKeystrokeListener.
3340 * idl/Accessibility_Event.idl:
3341 Added two more empty slots to EventListener (for a total of four).
3343 * idl/Accessibility_Accessible.idl:
3344 Added four empty slots to Accessible interface.
3346 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3348 * idl/Accessibility_Registry.idl:
3349 (KeyEventType, EventType):
3350 Marked KeyEventType as deprecated; it duplicates
3351 functionality of EventType, which has been extended to
3352 include Mouse-button events.
3353 (KeyEventTypeSeq): defined in terms of EventType.
3354 (registerDeviceEventListener, deregisterDeviceEventListener):
3355 New methods, for managing listeners to device events,
3356 which potentially may consume them.
3359 Added definition for AccessibleDeviceListener.
3361 * cspi/spi-listener.h:
3362 (enum AccessibleDeviceEventType):
3363 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3364 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3365 for backwards compat.
3366 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3367 and typedef'd AccessibleKeystroke to it for back-compat.
3368 (AccessibleDeviceListenerCB):
3369 New function prototype typedef.
3372 (AccessibleDeviceEventMask): New typedef.
3373 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3374 (AccessibleKeyMaskType):
3375 Set equivalent to AccessibleModifierMaskType for back-compat.
3376 (SPI_createAccessibleKeystrokeListener):
3377 (AccessibleKeystrokeListener_unref):
3378 Deprecated in favor of equivalent (better-named) new API below..
3379 keystroke listeners are like all device listeners.
3380 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3381 New API names for old features :-).
3382 (AccessibleDeviceListener_addCallback):
3383 (AccessibleDeviceListener_removeCallback):
3384 (SPI_registerDeviceEventListener):
3385 (SPI_deregisterDeviceEventListener):
3389 (SPI_createAccessibleKeystrokeListener):
3390 Use new preferred API, cspi_device_listener_new() and
3391 cspi_device_listener_add_cb().
3392 (AccessibleKeystrokeListener_removeCallback):
3393 Use new preferred API, cspi_device_listener_remove_cb().
3394 (AccessibleKeystrokeListener_unref):
3395 Use new preferred API, cspi_device_listener_unref().
3396 (SPI_createAccessibleDeviceListener):
3397 (AccessibleDeviceListener_addCallback):
3398 (AccessibleDeviceListener_removeCallback):
3399 Implementation of new API.
3401 * cspi/spi_registry.c:
3402 (SPI_registerDeviceEventListener):
3403 (SPI_deregisterDeviceEventListener):
3404 Implementation of new API. Fixed memory leak and removed need to
3405 allocate EventTypeSeq (thanks Michael for catching this).
3406 Squashed a wayward CORBA_exception_free that shouldn't get called.
3408 * cspi/bonobo/cspi-bonobo-listener.c:
3410 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3411 (cspi_key_event): renamed to cspi_device_event().
3412 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3413 Extended to handle mouse button events as well as key events.
3414 (CSpiKeystrokeListener):
3415 Class superceded by CSpiDeviceListener.
3416 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3417 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3419 * cspi/bonobo/cspi-bonobo-listener.h:
3420 (CSpiKeystrokeListener):
3421 Class superceded by CSpiDeviceListener.
3422 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3423 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3425 * libspi/Makefile.am:
3426 Replaced keystrokelistener.h and keystrokelistener.c
3427 with devicelistener.h and devicelistener.c; keystrokelisener.h
3428 stub retained for back-compat.
3430 * libspi/keystrokelistener.c:
3434 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3436 * registryd/deviceeventcontroller.c:
3437 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3438 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3439 (DEControllerPrivateData): Added xkb settings data.
3440 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3441 button release events (which can't be captured via XGrabButton).
3442 Don't dispatch via the 'normal' event mechanism if the device event was
3444 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3445 Handle the typeseq data in its new location (see above).
3446 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3447 New methods, for "generic" device listeners.
3448 (spi_controller_register_device_listener):
3449 Now handle mouse event listeners as well as key listeners.
3450 (spi_controller_notify_mouselisteners):
3451 New internal method.
3452 (spi_device_event_controller_forward_mouse_event):
3453 Now we notify mouse device listeners as well as generating the
3454 non-consumable "mouse:" events.
3456 We must check and restore the XKB
3457 modifier map if we consume the event, since the act of triggering
3458 a mouse event will normally reset the XKB latch. This is required for
3460 (spi_controller_register_with_devices):
3461 Load the XKB settings when registering, and register for XKB
3462 state notify events.
3463 (spi_key_eventtype_seq_contains_event):
3464 Renamed spi_eventtype_seq_contains_event, since it's used
3465 internally for all device event types now.
3466 (spi_key_event_matches_listener):
3467 Uses spi_eventtype_seq_contains_event now.
3468 (spi_device_event_controller_object_finalize):
3469 Free the private data and the XkbKeyboard struct.
3470 (impl_register_device_listener, impl_deregister_device_listener):
3471 Implementation of new IDL.
3472 (spi_deregister_controller_device_listener):
3473 New internal method.
3474 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3475 More efficient implementation, we don't have to create a new
3476 XkbControls structure every time we query.
3477 (spi_device_event_controller_class_init):
3478 Initialize the epv entries for the new IDL. Assign the
3479 "spi-dec-private" quark.
3480 (spi_device_event_controller_init):
3481 Initialize the private data.
3482 (spi_device_event_controller_forward_key_event):
3483 Removed a bogus CORBA_exception_free() call.
3485 * registryd/deviceeventcontroller.h:
3486 Replaced inclusion of keystrokelistener.h with
3489 * test/event-listener-test.c:
3490 (report_mouse_event):
3493 Added mouse-event device listener.
3495 * test/test-simple.c:
3496 (create_test_window):
3497 Fixed regression (we were instantiating a GtkRange,
3498 which is now an abstract class). Also fixed to match
3499 existing AtkRole names, this seems to have changed in ATK
3500 awhile ago; too late now I think, and the new
3501 mechanism is at least elegant and consistent with the
3502 glib enum "nick" APIs.
3504 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3506 * idl/Accessibility_Relation.idl:
3507 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3508 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3509 * idl/Accessibility_Role.idl:
3510 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3511 * idl/Accessibility_State.idl:
3512 add STATE_MANAGES_DESCENDANTS
3513 * test/event-listener-test.c:
3514 Added a listener for active-descendant events.
3516 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3518 * atk-bridge/bridge.c
3519 (atk_bridge_init): If application is Bonobo component wait until top
3520 level is added before registering
3521 (spi_atk_bridge_do_registration): New function which contains code,
3522 formerly in atk_bridge_init, to do application registration.
3523 (spi_atk_bridge_toplevel_added): Signal called when top level
3524 added to Bonobo component
3526 This fixes bug #83134.
3528 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3530 * registryd/deviceeventcontroller.c
3531 Fixed compilation error caused by calling gettimeofday()
3534 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3539 Added template for HAVE_XKB.
3542 Changes to check for XKB, and to set the HAVE_XKB #define if it
3545 * libspi/listener.c:
3546 ()impl_notify_event): Make failure to get event source name
3549 * registryd/deviceeventcontroller.c:
3550 (#include): include X11/XKBlib.h.
3551 (DEControllerPrivateData) : New struct.
3552 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3554 (dec_synth_keycode_press) (dec_synth_keycode_release):
3555 New methods; split the key synthesis code into these methods.
3556 They check XKB settings before determining the "time" values to
3557 pass to Xtest; this fixes bug #95828.
3558 (impl_generate_keyboard_event): Changed to use methods above,
3559 instead of callng Xtest directly.
3560 (spi_device_event_controller_init): Initialize new privae struct s
3562 (spi_device_event_controllr_object_finalize):
3563 Free the (new) private data.
3565 * registryd/deviceeventcontroller.h:
3566 Add new gpointer to end of struct data.
3568 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3571 Incremented revision to 1.1.2, SONAME is still '.so', library
3572 extensions are ".so.0.0.2".
3574 * registryd/deviceeventcontroller.c:
3575 FIXES FOR #93592 and #95940.
3576 (statics): renamed mouse_button_state to mouse_mask_state,
3577 added key_modifier_mask.
3578 (spi_dec_poll_mouse_moved):
3579 Added key modifier checks, and emit "keyboard:modifiers"
3580 events when the key modifiers currently in use change.
3581 Also generate "mouse:abs" events periodically, even if the mouse
3582 is stationary (should we?).
3583 Alternatively we could generate "mouse:abs" events for either all
3584 mouse movements, or every 'nth' mouse movement, or at the
3585 beginning and end of every "active" mouse period.
3587 * test/event-listener-test.c:
3588 (main): Added listener for "keyboard:modifiers" events.
3590 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3592 * libspi/keymasks.h:
3593 Added key mask #defines for mouse buttons; e.g.
3594 SPI_KEYMASK_BUTTON1, etc.
3597 Incremented dependency on ATK to version 1.1.0. (This dependency
3598 is probably premature but will soon be real enough).
3600 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3602 * libspi/hyperlink.[ch]
3603 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3604 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3607 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3612 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3614 * registryd/deviceeventcontroller.c
3615 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3616 events to be ignored.
3617 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3618 keyboard_mode so that XAllowEvents() can be called.
3622 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3624 * cspi/spi-accessible.c: Correct names of roles returned by
3625 AccessibleRole_getName(). Fixes bug #95055.
3627 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3629 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3632 * registryd/registry.c
3633 (desktop_remove_application: Write diagnostic message to stderr for
3636 (impl_accessibility_registry_deregister_global_event_listener):
3637 Correct size of lists array. This addresses bug #94555).
3639 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3641 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3644 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3646 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3649 * registryd/registry.c (impl_registry_notify_event): Remove
3650 unnecessary call to parser_event_type().
3652 * docs/reference/cspi/tmpl/spi_component.sgml:
3653 Add reference to SPI_LAYER_WINDOW.
3655 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3657 * registryd/registry.c
3658 (desktop_add_application): Remove leak.
3659 (desktop_remove_application): Remove leak.
3660 (parser_event_type): Remove leak.
3662 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3664 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3665 bogus call to CORBA_string_dup(). Also removed unnecessary
3666 g_string_dup/g_free calls.
3668 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3670 * registryd/deviceeventcontroller.c:
3671 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3673 * test/event-listener-test.c:
3674 main: commented out three redundant listeners, to reduce output
3675 noise. (They still are potentially useful for testing).
3678 2002-09-13 Michael Meeks <michael@ximian.com>
3680 * Update all the copyrights to include Ximian.
3682 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3684 * cspi/spi.h: add SPI_LAYER_WINDOW.
3686 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3687 add Accessibility_LAYER_WINDOW case.
3689 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3691 * libspi/component.c: (impl_accessibility_component_get_layer):
3692 add ATK_LAYER_WINDOW case.
3694 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3696 * configure.in: incremented micro version.
3698 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3700 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3703 Clarified and reworded our commit policy.
3706 Started an API "todo" addition list for 2.2.
3709 (impl_getSelection):
3710 Free char pointer from atk_text_get_selection, which was being leaked.
3712 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3715 Small revision to author acknowledgement.
3717 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3719 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3720 If signal has detail add it to the type of the event.
3723 2002-08-12 Michael Meeks <michael@ximian.com>
3725 * test/test-simple.c (global_listener_cb): bin bogosity.
3726 (test_keylisteners): disable, still doesn't work reliably,
3727 certainly not on my system anyway.
3729 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3730 don't leak a reference on the DEC. This round-trip
3731 fetching of the DEC per keystroke sucks, it should be
3734 * cspi/spi-private.h,
3735 * cspi/cspi-lowlevel.h,
3736 * cspi/bonobo/cspi-bonobo-listener.[ch],
3737 * cspi/bonobo/cspi-bonobo.c: get the copyright
3738 notices better - there is still a large amount of
3739 work in at-spi falsely attributed solely to Sun.
3741 * cspi/spi_main.c (cspi_object_ref): kill bogus
3742 hash lookup, just increment the ref.
3743 (SPI_freeString): make explicit the fact that we
3744 handle NULL strings just fine.
3745 (report_leaked_ref): obey coding standards.
3746 (cspi_object_hash, cspi_object_equal): kill retval.
3747 (cspi_object_release): only release if not on loan.
3748 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3749 (cspi_object_borrow, cspi_object_return): impl.
3751 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3752 use cspi_object_borrow / return.
3754 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3756 * cspi/bonobo/cspi-bonobo-listener.c:
3758 Don't call cspi_oject_new() because this is creating a new Accessible
3759 every single time that an event is fired. This causes ATs like at-poke
3760 to nolonger recognise the source of the event and thus ignore it.
3761 Re-use the object from the cache, ref it and then unref it after the
3762 listeners have been called.
3764 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3766 * test/event-listener-test.c:
3767 Added command-line options to disable mouse events (m) and
3770 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3772 * configure.in: Update required versions of ATK, GTK+ and GAIL
3774 * cspi-1.0.pc.in: Add dependency for X include files
3777 * cspi/bonobo/Makefile.am:
3778 Add $(X_CFLAGS) so that X include files
3779 are picked up even if not in standard place (bug #71686)
3781 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3783 * registryd/deviceeventcontroller.c: fix for 84261
3784 (spi_dec_mouse_moved):
3785 Added test of mouse button mask, so that we can detect mouse
3786 button release. Unfortunately we can't otherwise detect mouse
3787 button release events without consuming the mouse press event,
3788 because of the way XGrabButton works. This means that our mouse
3789 release events have a latency dependent on the polling period
3790 while the mouse button is down. At least in this case we only
3791 have to poll while the button is down, and not at other times.
3792 If the button masks don't match with what the last press event
3793 reported, we report the appropriate button release event.
3794 (spi_dec_ungrab_mouse):
3795 New method (not yet called).
3796 (spi_device_event_controller_forward_mouse_event):
3797 New method, sends mouse press event from GdkFilter.
3798 (spi_dec_init_mouse_listener):
3799 Added code to call XGrabButton, redirecting mouse button events to
3800 the root window and our Gdk event loop.
3802 Added code to filter mouse button events, and reordered.
3804 * test/event-listener-test.c:
3806 Added registration for mouse events of type "mouse:button".
3808 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3810 * registryd/deviceeventcontroller.c: partial fix for 84261
3811 (spi_dec_poll_mouse_idle):
3812 New method, a timeout which checks to see if the mouse
3814 (spi_dec_poll_mouse_moving):
3815 A timeout to be called when mouse motion is underway.
3816 (spi_dec_poll_mouse_moved):
3817 A method which fires an event if the mouse has moved, and reports
3818 whether or not it did so.
3819 (spi_dec_init_mouse_listener):
3820 A method which sets up the timeouts above.
3821 (spi_device_event_controller_new):
3822 Now calls spi_dec_init_mouse_listener.
3824 * registryd/registry.c:
3825 (spi_registry_init):
3826 Now we initialize the device event controller when the registry is
3827 initialized, instead of waiting until a client has requested a key
3828 event notification; this is because we need the event controller
3829 for mouse events, but the mouse event registration API is a
3830 "registry" call and doesn't explicitly call the
3831 deviceeventcontroller.
3832 We now report mouse motion events with a 100 ms idle latency and
3833 a 20 ms granularity when motion is in progress.
3835 * test/event-listener-test.c:
3837 We now register the "detail listener" for events of type
3838 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3839 delivered only for the first mouse event received, and thereafter
3840 "mouse:abs" events are delivered.)
3842 * cspi/spi_registry.c:
3843 DOCS: Documented the above mouse event typestrings.
3845 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3847 Happy Summer Solstice...
3849 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3850 (spi_controller_notify_keylisteners):
3851 Changes to remove a listener from the listener list, freeing its
3852 open keygrabs, if a notification to that listener fails. This
3853 means that although a dead listener can continue to hold a passive
3854 keygrab, a maximum of one dispatch to such a listener can fail
3855 before the listener is removed from the list, thus the keygrab
3856 will be released on the next occurrence.
3857 As part of this fix:
3858 (spi_notify_keylisteners):
3859 Renamed to spi_controller_notify_keylisteners, as the controller
3860 instance must now be passed as an argument.
3861 The copied 'notify' GList is now a list of DEControllerKeyListener
3862 objects, since we need more than just the CORBA reference if a
3863 notify fails and we need to deregister the listener.
3864 (impl_notify_listeners_sync):
3865 (impl_notify_listeners_async):
3866 (spi_device_event_controller_forward_key_event):
3867 Modify use of notify_keylisteners in accordance with above
3869 (spi_deregister_controller_key_listener):
3870 New method introduced by refactoring, from
3871 impl_deregister_keystroke_listener.
3872 (impl_deregister_keystroke_listener):
3873 Call spi_deregister_controller_key_listener.
3874 (spi_key_listener_clone):
3875 New method to copy a key listner without doing a 'ref' on the
3876 remote object instance; used to create a notifier list.
3877 (spi_key_listener_data_free):
3878 New method, frees data without unreffing the source.
3880 (spi_key_listener_clone_free): new method.
3881 (spi_key_listener_free):
3882 refactored to call spi_key_listener_data_free.
3884 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3886 * registryd/registry.c: [fix for bug 86048]
3887 (notify_listeners_cb):
3888 Clear CORBA system exceptions which occur when notifying
3889 listeners, before returning to the source of the original event,
3890 since the event source doesn't care if the relayed notify failed.
3891 In other words, don't complain to the atk-bridge if the registry
3892 could not notify all its listeners, that's no fault of the
3893 application and thus should not appear to be an error from the
3894 application's perspective.
3896 * cspi/spi_main.c: [fix for bug 85980]
3898 Replaced use of bonobo_object_dup_ref with call to the wrapper
3899 method, csou_dup_ref (); this silences a compiler warning and
3900 provided more portability.
3902 Ping the registry before return, and restart if necessary.
3904 * cspi/bonobo/cspi-bonobo.c:
3906 New internal method.
3908 Fixed this method to return an object reference, as it should have
3911 * cspi/cspi-lowlevel.h:
3912 Added internal definition for cspi_ping() and fixed
3913 return type of cspi_dup_ref().
3916 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3918 * atk-bridge/bridge.c: [fix for bug 85305]
3919 (spi_atk_bridge_register_application):
3920 New method where the initial application registry calls have been
3921 moved; it allows an application to re-register in response to
3922 certain error conditions (such as a registry restart, see below).
3924 Moved some initialization code to the method
3925 spi_atk_bridge_get_registry, below.
3926 (spi_atk_bridge_get_registry):
3927 New, private accessor function for the Accessibility_Registry
3928 instance. If the registry has not been started before, or has
3929 died (as detected by failure of a CORBA exception), it is
3930 restarted before return, and spi_atk_bridge_register_application
3931 is called again to register with the new bridge instance.
3932 (spi_atk_emit_eventv):
3933 Set registry_died on error; use spi_atk_bridge_get_registry () to
3934 access the registry.
3936 * registryd/registry.c:
3937 (impl_accessibility_registry_register_global_event_listener):
3938 Set listener's event_type_quark to etype.minor instead of
3939 etype.major (fix for bug 84856).
3941 * test/event-listener-test.c:
3942 (report_detail_event):
3943 Change the output string so that user/tester can tell that the
3944 'detail listener' was called instead of the 'generic listener'.
3946 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3948 Fixes for bugs 84900, 84908, 84897, 84898.
3953 Revved version to 1.1.0
3954 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3955 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3957 * idl/Accessibility_Registry.idl:
3958 (EventListener::notifyEvent):
3959 Removed 'oneway' directive after extensive consulation with
3960 ORBit2 team and others. This means also that unref() of the event
3961 source can and should be done synchronously after emission, rather
3962 than remotely in the client, after servicing the notify call on
3965 NOTE: This change speeds up listener performance considerably, but
3966 introduces new latency on the application side. We may want to
3967 add an event queue to the atk-bridge.
3969 * atk-bridge/bridge.c:
3970 (spi_atk_bridge_focus_tracker):
3971 Do a local unref() on the event source after emission.
3973 * registryd/registry.c:
3974 (desktop_remove_application):
3975 Do an unref() on the event source after emission.
3976 (desktop_add_application):
3977 Do an unref() on the event source after emission.
3978 (notify_listeners_cb):
3979 When relaying an event, don't automatically add the event source
3980 to the local object cache, just CORBA_dup it instead. Likewise,
3981 if this method reenters, release the ref rather than calling
3983 (impl_registry_notify_event):
3984 No longer call remote unref() on the event source after dispatch.
3986 * libspi/eventlistener.c:
3987 (impl_accessible_event_notify_event):
3988 Removed remote unref ()
3990 * cspi/bonobo/cspi-bonobo-listener.c:
3992 We now call cspi_object_new() instead of cspi_object_add() on
3993 receipt of an event; thus we only have an implicit object ref
3994 while the cspi_event method is being executed. If we need to keep
3995 a reference to the object, the listener must call ref() on the
3996 object. Thus also we don't need to call cspi_object_unref() after
3997 invoking the listener callbacks in this method.
4001 New internal API for creating a new cspi object, without adding it
4002 to the object cache.
4004 Now uses cspi_object_new() to create the cspi object instance.
4006 Now checks to see if the object is in the internal object cache,
4007 and adds it if necessary before incrementing its refcount (note
4008 that new objects are added with a refcount of 1).
4009 (report_leaked_ref):
4010 New method which gives some information on leaked object instances
4011 if leak detection is turned on.
4013 * test/event-listener-test.c:
4014 (timing_test_event):
4015 New method, used for testing event delivery timing for special
4016 events of type "object:test". It reports elapsed time and
4017 events/sec every 500 events.
4019 Added a new listener, 'test listener', to check timing of event
4020 receipt as noted above.
4022 Added some timing output here also, reports elapsed time every 100
4025 * test/stress-test.c:
4026 Emit events of type "object:test", for use with "event-listener-test".
4028 * test/test-simple.c:
4029 (global_listener_cb):
4030 Call Accessible_ref() on the event source before calling
4031 validate_accessible, since the validation process does pointer
4032 comparisons on the event source, meaning that the event source
4033 needs to be added to the local object cache first. Any use of
4034 such pointer comparisons between Accessible objects requires that
4035 the caller hold an explicit reference to those objects.
4036 We also must therefore call Accessible_unref() when leaving this method.
4038 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4040 * registryd/deviceeventcontroller.c:
4041 (spi_controller_update_key_grabs):
4042 Fix for #84735, subsequent keygrab listeners not informed of
4043 registration failure.
4046 (spi_base_construct):
4047 Add an assertion on construct, to make sure the GObject passed in
4048 is really a GObject.
4050 Explicitly initialize object->gobj pointer to NULL;
4052 * cspi/bonobo/cspi-bonobo-listener.c:
4053 (cspi_object_add_ref):
4054 New method, can specify whether to dup-ref a bonobo object passed
4055 in if it's newly added to the object cache.
4057 Now calls cspi_object_add_ref with second param of "FALSE". This
4058 prevents us from doing a pointless dup-ref followed by
4059 release-unref for all those cases where the object is already in
4060 our object cache (fix for #85205).
4062 * atk-bridge/bridge.c:
4063 (spi_atk_bridge_idle_init):
4064 Removed this method, we don't need to initialize in an idle
4067 Changed to call spi_atk_register_event_listeners directly, not via an
4068 idle handler. (fix for #81139)
4069 (gnome_accessibility_module_shutdown):
4070 Removed conditional around deregistration of listeners, since we
4071 don't use the idle handler and thus have always registered when
4073 (spi_init_keystroke_from_atk_key_event):
4074 Changed references to Accessibility_KEY_PRESSED to
4075 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4077 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4079 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4084 * test/stress-test.c:
4087 (may have been an incomplete commit yesterday?)
4089 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4092 Added target for new stress-test.
4094 * test/stress-test.c:
4095 New test, sends 1000 focus notifies in quick succession.
4097 * test/key-listener-test.c:
4098 Now we report whether a keylistener registration
4099 request succeeded or failed.
4101 * test/event-listener-test.c:
4102 Uncommented some listeners which are now implemented.
4105 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4107 * registryd/deviceeventcontroller.c:
4108 (spi_controller_update_key_grabs):
4109 Fix for #82509, lack of failure notification when
4110 ALL_WINDOWS keygrabs fail due to XGrabKey
4111 failure: we synchronize the server when
4112 registering a passive grab, to make sure we get the
4113 error message before the call returns.
4115 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4117 * test/test-simple.c:
4119 Removed #ifdef KEY_IMPL_WORKS guards.
4120 (test_keylisteners):
4121 Removed #ifdef KEY_IMPL_WORKS guards.
4122 Fixed bug which was causing a hang waiting for a
4123 "press" event (which was already overwritten by a "release"
4124 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4126 Added code to set globals 'key_press_received' and
4127 'key_release_received'.
4130 Added section "1.1 API Proposed Additions" which
4131 lists API additions desired for at-spi-1.1 (only one so far).
4132 Updated TODO list a little.
4134 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4136 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4139 * configure.in: Revved to 1.0.0.
4141 * idl/Accessibility_Registry.idl:
4142 (registerKeystrokeListener):
4143 Added boolean return value.
4145 * registryd/registry.c:
4146 (notify_listeners_cb): Minor fix to debug output.
4148 * registryd/Accessibility_Registry.server.in.in:
4149 Revved version number in OAFIID to 1.0.
4151 * registryd/registryd.c:
4153 Use new OAFIID version.
4155 * cspi/bonobo/cspi-bonobo.c:
4157 Use new OAFIID version.
4163 * atk-bridge/bridge.c:
4165 Use new OAFIID version.
4167 * registryd/deviceeventcontroller.c:
4168 (impl_register_keystroke_listener):
4169 Added CORBA_boolean return value.
4170 (spi_controller_register_device_listener):
4171 Added gboolean return value.
4172 (spi_controller_register_global_keygrabs):
4173 Added gboolean return value.
4174 (spi_key_set_contains_key):
4175 Added implementation for many more control keys,
4176 for instance F1-F12, arrow keys, End, Home, Page_Up,
4178 [TODO: some still not implemented].
4180 * text/screen-review-test.c:
4181 (text_chunk_pad_string):
4182 New function: it provides mapping between coordinate
4183 positions of text chunks and character positions in the
4184 screen-review-line output string.
4185 (text_chunk_to_string):
4186 New function, calls text_chunk_pad_string with various
4187 pad/delimiter characters. Pushbuttons are delimited with
4188 square brackets, Frames with vertical 'pipe' lines, and
4189 other text with double quotes.
4190 (text_chunk_list_to_string):
4191 Calls new function text_chunk_to_string.
4192 (toplevel_composite):
4193 New function to composite layers CANVAS through
4194 POPUP in each toplevel (other layers are composited
4195 across toplevels, i.e. BACKGROUND and OVERLAY).
4196 (review_buffer_composite):
4197 Revise to use new methods.
4203 2002-05-31 Laszlo Peter <laca@sun.com>
4205 * configure.in: add the Xtst libdir to the runpath on Solaris,
4206 since it's not in the default library search path.
4208 2002-05-29 jacob berkman <jacob@ximian.com>
4210 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4212 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4214 * test/screen-review-test.c:
4215 (text_chunk_pad_string):
4216 Added method, which pads the string according to the
4217 text bounds of the chunk. It also takes a 3-character
4218 string as a param which indicates the characters to be
4219 used for start, padding, and end delimitation of the chunk.
4220 (text_chunk_to_string):
4221 Changed to use text_chunk_pad_string.
4223 * configure.in: Fixed bug in AC_OUTPUT that was
4224 causing path substitution in Accessibility_Registry.server
4227 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4229 * text/screen-review-test.c:
4230 (guess_string_clip):
4231 New method which attempts a best-guess at clipping
4232 text from components (like Java labels) which don't
4233 actually implement AccessibleText. This inaccurate
4234 clip is based on the assumption that the label is
4235 justified left-and-right, and monospaced.
4236 (text_chunk_get_clipped_string):
4237 We now call guess_string_clip() for text-containing
4238 components that don't implement AccessibleText.
4240 * test/screen-review-test.c:
4241 (review_buffer_get_text_chunk):
4242 We now pull "name" from labels if they do not implement
4243 AccessibleText (i.e. for Java labels).
4244 (get_screen_review_line_at):
4245 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4248 Replaceded AC_OUTPUT target
4249 registryd/Accessibility_Registry.server with
4250 registryd/Accessibility_Registry.server.in.
4252 * registryd/Accessibility_Registry.server.in:
4253 Removed (this is now a Makefile target).
4255 * registryd/Accessibility_Registry.server.in.in:
4256 Added (source for target above). We now use $(libexecdir) as
4257 prefix for the executable at-spi-registryd.
4259 * registry/Makefile.am:
4260 Now install at-spi-registryd into $(libexecdir), and build .server
4261 file with path (see above).
4263 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4265 * test/screen-review-test.c:
4266 (text_chunk_get_clipped_string):
4267 We now check to see if words fall within clip bounds
4268 before resorting to character-by-character clip bounds testing.
4270 * TODO: Added a section for "2.2 Proposed API Additions".
4272 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4274 * test/screen-review-test.c:
4276 Added a screen review benchmarking and test program to test
4279 * cspi/spi_accessible.c:
4281 Made some of the debug strings passed to cspi_check_ev a
4282 little more specific.
4284 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4286 * test/screen-review-test.c: Fix crashes in debug statements
4288 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4290 * test/screen-review-test.c: Added this file.
4292 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4294 * atk-bridge/bridge.c: changed "object:state-change" to
4295 "object:state-changed" to match docs.
4297 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4299 * atk-bridge/bridge.c: Hooked up state-change event details.
4301 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4303 * registryd/registry.c:
4304 Fixed quarking bug in event string parsing; now events with
4305 detail parameters get matched correctly to listeners.
4308 * util/idl/Magnifier.idl: remove.
4310 * util/*.[ch]: Remove.
4311 Magnification utilities and IDL are now in module gnome-mag.
4313 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4315 * registryd/deviceeventcontroller.c:
4316 Fixed bug in grab key conversion which was causing keycode grabs
4317 to be converted to AnyKey grabs.
4320 updated NEWS file to reflect recent spin-off of gnome-mag.
4322 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4324 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4325 busted AccessibleStateSet_compare. Removed redundant casts.
4327 * cspi/spi-action.c: Removed redundant casts.
4329 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4331 * cspi/spi_component.c: Fixed typos and casting error.
4333 * cspi/spi_editabletext.c: Removed redundant casts.
4335 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4337 * cspi/spi_hypertext.c: Eliminated redundant casts.
4339 * cspi/spi_image.c: Eliminated redundant casts.
4341 * cspi/spi_registry.c: Eliminated redundant casts.
4342 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4343 * cspi/spi_selection.c: Removed redundant casts.
4344 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4345 handling. Screen geometry and text offsets were being returned as 0
4346 on error which is technically valid-- changed these to return -1.
4347 Added marshaller for text boundary types to fix bug with boundary
4348 types being passed incorrectly to atk.
4350 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4353 * cspi/spi_registry.c:
4354 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4355 which was uncovered by the recent key changes.
4357 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4359 * test/event-listener-test.c:
4361 Added new test, "event-listener-test";
4362 this code does two things; it benchmarks traversal time
4363 for the accessible hierarchy for the first running accessible
4364 app, and it connects listeners for all supported event types.
4365 It is thus useful as an example event listener and for
4366 diagnostics/debugging of event generation.
4368 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4371 Removed unnecessary dependency on libutil.
4374 Revved micro version: 0.13.1
4376 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4379 Removed util/Makefile from targets.
4382 Removed util subdir from SUBDIRS (temporarily,
4383 pending removal of magnifier-only code
4387 #ifdef-ed out magnifier dependencies, since
4388 magnifier IDL, headers, and binary now live in
4389 module gnome-mag and we don't want at-spi to depend
4390 on gnome-mag. A magnifier demo which can run alongside
4391 simple-at is forthcoming in the gnome-mag module.
4393 NOTE: Split magnifier binary, IDL, and magnification
4394 activation code from at-spi into module gnome-mag.
4396 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4398 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4399 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4401 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4404 Revved to version 0.13.0
4406 * idl/Accessibility_Registry.idl:
4407 Changed definition of KeySet from sequence of longs to sequence of
4408 KeyDefinitions, and added KeyDefinition struct.
4409 Required for fix to bug 80616.
4411 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4412 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4413 to use new definition (see above).
4415 * registryd/deviceeventcontroller.c: handle_keygrab(),
4416 spi_keyset_contains_key():
4417 Changed to make use of new struct; this allows matching based on
4418 string key-name, for instance "Tab". This also allows matching of
4419 composed characters, non-alphanumeric characters in a way that
4420 doesn't involve dependencies on X keysym codes directly, etc.
4422 * test/key-listener-test.c:
4423 Added test for Alt-Tab key using "string" specification of keyset,
4424 and modified one of the tests to use a keycode-based keyset.
4425 Thus this test both tests and demonstrates the creation and use of
4426 keysets of three forms: specified via keycode array,
4427 keysym array, and string array. (The string case only contains a
4428 single string, i.e. a string array of length 1).
4431 Turned on PRINT_TREE option by default. Also fixed a
4432 string-freeing bug in the PRINT_TREE code.
4433 Added a listener to window:minimize events.
4435 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4437 * atk-bridge/bridge.c:
4438 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4439 for window:activate and window:deactiveate
4440 (atk_bridge_property_event_listener atk_bridge_signal_listener
4441 atk_bridge_window_event_listener) Tidy debug code
4443 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4445 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4446 Fixed handling for NULL return value from ATK.
4448 * libspi/action.c libspi/component.c libspi/editabletext.
4449 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4450 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4451 Removed redundant casts.
4453 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4454 Fixed off by one bug.
4456 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4457 function not present in idl)
4459 2002-05-02 jacob berkman <jacob@ximian.com>
4461 * atk-bridge/Makefile.am: make atk-bridge a real module
4463 2002-04-26 Radek Doulik <rodo@ximian.com>
4465 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4466 atk_state_types table
4468 2002-04-22 jacob berkman <jacob@ximian.com>
4471 * libspi/Makefile.am: add deps on the built files to help
4472 automake, and don't version the ORBit typelib
4474 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4476 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4477 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4478 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4479 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4480 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4481 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4482 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4483 libspi/accessible.h libspi/accessible.h libspi/base.h
4484 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4485 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4486 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4487 libspi/spi-private.h libspi/statetset.h libspi/table.h
4488 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4489 util/mag_client.h util/mag_control.c util/mag_image.c
4490 util/mag_image.h util/magnifier.c util/magnifier.h:
4491 Add missing file headers; standardize existing ones
4493 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4495 * atk-bridge/bridge.c: Added window event support.
4497 2002-04-18 Michael Meeks <michael@ximian.com>
4499 * libspi/relation.c (impl_getNTargets): impl.
4500 (impl_getTarget): impl.
4502 * libspi/Makefile.am: fix stateset install.
4504 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4507 Started putting useful info in this file.
4509 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4511 * atk-bridge/bridge.c:
4512 Propagate state-changed notifications to ATs
4514 * cspi/spi_registry.c: update docs to reflect actual behavior of
4515 state-change events.
4517 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4520 Incremented version to 0.12.1
4522 * util/mag_client.h:
4523 Add missing declaration for magnifier_exit,
4524 used by mag_control.c - Forte compiler didn't like
4525 the implicit redeclaration of the function :-(
4528 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4531 Revved version to 0.12 due to API change (see below).
4533 * cspi/spi-roletypes.h:
4534 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4535 definition from the inline docs, and added docs
4536 for SPI_ROLE_LAST_DEFINED.
4539 * cspi/spi_streamablecontent.c:
4540 Added missing seek_type parameter to
4541 (so far unused) method,
4542 AccessibleStreamableContent_seek().
4543 [ RT approval JodyG. ]
4546 Fixed docs for SPI_createAccessibleKeystrokeListener.
4548 * cspi/spi_registry.c:
4549 Fixed docs for SPI_KEYSET_ALL_KEYS.
4551 * docs/reference/cspi/at-spi-cspi-sections.txt:
4552 Added a number of missing APIs to SECTIONS.
4554 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4556 * registryd/Makefile.am:
4558 * cspi/bonobo/Makefile.am:
4559 Add $(X_LIBS) to makefiles.
4561 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4564 Revved version to 0.11.
4566 * libspi/component.c:
4567 Added implementation for grabFocus.
4569 * idl/Accessibility_Component.idl
4570 (Accessibility_Component_grabFocus):
4571 Made this method return boolean to indicate success or failure, to
4572 be consistent with cspi and the corresponding ATK method.
4574 * idl/Accessibility_Selection.idl
4575 (Accessibility_Selection_selectAll) :
4576 Made these methods return boolean to indicate success or
4577 failure, to be consistent with cspi and the corresponding ATK methods.
4579 * idl/Accessibility_EditableText.idl
4580 (Accessibility_EditableText_setTextContents,
4581 Accessibility_EditableText_insertText,
4582 Accessibility_EditableText_cutText,
4583 Accessibility_EditableText_deleteText,
4584 Accessibility_EditableText_pasteText):
4585 Made these methods return boolean to indicate
4588 * cspi/spi_editabletext.c:
4589 Made these methods return booleans.
4591 * libspi/selection.c:
4592 * libspi/component.c:
4593 * libspi/editabletext.c:
4594 Connected the boolean returns from ATK
4595 to the server-side code referenced above.
4597 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4599 * idl/Accessibility_Table.idl: Added missing methods,
4600 Accessibility_Table_addRowSelection,
4601 Accessibility_Table_addColumnSelection,
4602 Accessibility_Table_removeRowSelection,
4603 Accessibility_Table_removeColumnSelection.
4606 Added C wrappers for above IDL:
4607 AccessibleTable_addRowSelection,
4608 AccessibleTable_addColumnSelection,
4609 AccessibleTable_removeRowSelection,
4610 AccessibleTable_removeColumnSelection.
4613 Added server-side implementation code for IDL above, connecting
4614 to pre-existing ATK api.
4616 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4618 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4620 * libspi/accessible.c: Added implementation fo
4621 Accessibility_Accessible_get_state.
4623 * libspi/libspi.h: Added stateset.h to the list of includes.
4625 * libspi/stateset.c: Fixed broken implementation.
4627 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4630 Added implementation code for Accessibility_Magnifier_exit ().
4632 * util/mag_control.c:
4633 Added test code for above method; you can
4634 now kill an existing magnifier via
4635 ./mag_control q, from the util directory.
4637 * test/key-listener-test.c:
4639 Added a new test, for our key listener API.
4641 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4643 * test/app.c, test/keysynth-demo.c:
4645 Replace use of snprintf with g_snprintf.
4646 (fix for bugzilla 78249)
4648 2002-03-27 Michael Meeks <michael@ximian.com>
4652 * util/Makefile.am (INCLUDES): fix.
4653 (DONT_DIST_SOURCE): don't distribute the
4656 * libspi/Makefile.am (dist-hook): ditto.
4658 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4660 * libspi/hypertext.c:
4661 Fix warnings when yelp is used with atk-bridge
4663 2002-03-21 Michael Meeks <michael@ximian.com>
4665 * libspi/application.c (spi_application_new):
4666 use spi_accessible_construct so we use the AtkObject
4669 2002-03-19 Michael Meeks <michael@ximian.com>
4671 * registryd/registry.c (desktop_remove_application),
4672 (desktop_add_application): clean coding style.
4674 * registryd/desktop.c (spi_desktop_remove_application),
4675 (spi_desktop_add_application): kill re-enterency hazards.
4676 (spi_desktop_dispose): remove bogus redundant cast
4677 obscuring bug; fix bug too.
4678 (spi_desktop_init): make the desktop object immortal.
4680 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4683 Added a #define-guarded tree-traversal step
4684 when enumerating the apps (diagnostic tool).
4686 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4688 * idl/Accessibility_Role.idl:
4689 Added ROLE_DRAWING_AREA which seemed to be missing from the
4692 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4694 * cspi/spi-roletypes.h cspi/spi_accessible.c
4695 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4698 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4699 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4700 AT when applications are added and removed from the desktop. This
4701 reverts the previous broken implementation using the backing
4702 AtkObject for the SpiDesktop.
4704 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4706 * registryd/desktop.c: emit the "children-changed::add" and
4707 "children-changed::remove" signals on the backing ATK object for
4708 the desktop so AT can tell when applications are started and shut
4711 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4713 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4715 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4717 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4719 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4721 * cspi/state-types.h: synched with IDL and ATK
4723 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4725 * libspi/accessible.c
4726 (impl_accessibility_accessible_get_child_at_index):
4727 Change return value for g_return_if_fail ()
4728 to CORBA_OBJECT_NIL instead of "0" (!)
4730 * registryd/Makefile.am:
4731 * registryd/Accessibility_Register.server.in:
4732 Changed name of executable, "registryd",
4733 to something more informative:
4736 2002-03-13 Michael Meeks <michael@ximian.com>
4738 * atk-bridge/bridge.c (atk_bridge_init): don't register
4739 if we're in a bonobo-component, rather than a bonobo app.
4741 2002-03-13 Michael Meeks <michael@ximian.com>
4743 * atk-bridge/bridge.c (gtk_module_init): split
4744 out body to (atk_bridge_init): here, since otherwise
4745 we get symbol conflicts and oddness when invoked
4746 from (gnome_accessibility_module_init): here (upd.)
4748 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4751 New file. Explicitly allow "build sheriff" putbacks provided
4752 they are tested on Solaris.
4754 * docs/reference/cspi/Makefile.am:
4755 Added '-' to the "cp" command for index.sgml.
4756 ("patch by thomasvs, soon coming to a GUADEC near you")
4759 Incremented version number (0.9.0) for new release.
4760 Changed macro that checks for popt, to better detect
4761 obsolete versions of popt.
4764 Added X_LIBS to AC_SUBST, for applications
4765 that call Xlib API directly.
4768 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4771 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4774 Fix regression caused by hard-coding major
4775 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4778 * test/test-simple.c (test_editable_text),
4779 (test_test): revert previous change (error was
4780 a regression in gail which is now fixed).
4782 2002-03-04 Michael Meeks <michael@ximian.com>
4784 * test/test-simple.c (test_editable_text),
4785 (test_text): pass G_MAXINT instead of '-1' for
4786 whole string - is this a good thing !?
4788 * cspi/spi_accessible.c
4789 (Accessible_getRelationSet): fix crasher bug
4790 overwriting the end of the array.
4792 * test/test-simple.c (validate_accessible): free,
4793 not g_free returned relation set.
4795 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4797 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4798 implemented stateset support
4800 * idl/Accessibility_State.idl: Made necessary changes to
4801 the IDL to support state sets.
4803 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4805 * registryd/deviceeventcontroller.c:
4806 Added implementation for generateMouseEvent.
4808 * cspi/spi_registry.c:
4809 Connected new implementation for generateMouseEvent
4812 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4815 Incremented revision (but no change in public API
4816 outside of 'utils', which are not installed public yet.)
4818 * libspi/component.c:
4819 Changed to use atk_component API for layers and
4820 mdi_zorder, instead of deprecated atk_object API.
4822 Magnification Utility Enhancements:
4825 Added implementation of createZoomRegion, clearAllZoomRegions,
4826 resizeZoomRegion. Added new commandline argument
4827 "--no-initial-region". Note that clearAllZoomRegions doesn't
4828 unmap the old '0' region as it should (yet), and the other
4829 methods only work when creating/resizing a single region,
4830 which is "region 0".
4831 (Code for multiple region support will be added later.)
4834 Now we raise the magnifier window each time it's refreshed;
4835 this will help keep it on top.
4837 * util/mag_client.h:
4838 Added simple wrappers for above, used by mag_control.
4839 For general use, it's recommended to use the bonobo magnifier
4840 control API directly instead of using these wrappers.
4843 Moved ZoomRegionData from magnifier.c to this file.
4845 * util/mag_control.c:
4846 Added some code to exercise new IDL implementations.
4848 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4850 * libspi/text.c: Provide implementation for getAttributes.
4852 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4855 Incremented revision.
4857 * test/test-simple.c:
4858 Replaced use of deprecated g_main_iteration with
4859 g_main_context_iteration.
4861 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4864 Incremented revision for desktop alpha 2.
4866 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4868 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4871 * test/simple-at.c: include netinet/in.h.
4873 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4875 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4876 use NULL, not CORBA_OBJECT_NIL.
4878 * libspi/accessible.c:
4879 (impl_accessibility_accessible_get_relation_set):
4880 allocate the sequence correctly.
4882 * libspi/remoteobject.h: kill spi_remote_object_new.
4884 * test/test-simple.c: (validate_accessible): add code
4885 to test relation sets, now all we need is to figure
4886 out how to excercise this code path :/
4888 2002-01-18 Michael Meeks <michael@ximian.com>
4890 * test/test-simple.c
4891 (key_listener_cb): consume the key.
4892 (test_keylisteners): update.
4893 (main): wait for any pending unrefs on events.
4895 * registryd/deviceeventcontroller.c
4896 (spi_controller_update_key_grabs): only re-issue the
4897 grab on a key release.
4898 (spi_device_event_controller_forward_key_event):
4899 refresh the keygrabs before we notify the listeners,
4900 to reduce the X ungrab / re-grab race.
4901 (spi_controller_register_with_devices): remove
4902 XSelectInput - we do that with the gdk_window_ call.
4903 (_spi_controller_device_error_handler): return a value.
4904 s/GDK_DISPLAY/spi_get_display/
4906 2002-01-17 Michael Meeks <michael@ximian.com>
4908 * registryd/deviceeventcontroller.c
4909 (_deregister_keygrab): don't blow out the later
4912 * test/test-simple.c (test_keylisteners): do a
4913 more intelligent validation.
4915 2002-01-14 Michael Meeks <michael@ximian.com>
4917 * atk-bridge/bridge.c
4918 (gnome_accessibility_module_init),
4919 (gnome_accessibility_module_shutdown): impl.
4920 (gtk_module_init): protect vs. double inits.
4921 (add_signal_listener): impl.
4922 (spi_atk_bridge_state_event_listener): kill
4923 (deregister_application): split out of
4924 (spi_atk_bridge_exit_func): here.
4926 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4929 Added caret tracking when using magnifier, and
4930 now use text bounds for focus tracking of text elements, rather than
4931 the component bounds - this is helpful for short text fields in long
4932 table cells, at high magnification.
4934 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4936 * registryd/deviceeventcontroller.c:
4937 Regression fix for keylistener de-registration; global keygrabs
4938 were not being released when deregisterKeystrokeListener was
4939 called in cspi, since
4940 Accessibility_DeviceEventController_deregisterKeystrokeListener
4941 was called with a zero-length keyset. That is because the cspi
4942 method, SPI_deregisterKeystrokeListener, does not take a keyset
4943 parameter but instead should remove all the key grabs held be a
4945 The code in impl_deregister_keystroke_listener was changed to copy
4946 the keylist from the listener instance previously registered with
4947 the DeviceEventController before releasing the grabs.
4949 * registryd/registry.c:
4950 * registryd/deviceeventcontroller.c:
4951 * libspi/spi-private.h:
4953 Changed spelling of "re-enterant" to "re-entrant" globally.
4955 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4957 * test/test-simple.c:
4958 Changed key listeners test - the test was slightly mis-using the
4959 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4960 It now uses '=' as the key event listened to and generated,
4961 relying on a keysym match rather than assuming that keycode 33
4962 is always equal to keysym '!'.
4964 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4967 Changed simple-at to use a specific keyset, rather than
4968 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4969 manager, desktop, etc.
4971 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4973 * registryd/deviceeventcontroller.c:
4974 Replaced standard X error handler with a special handler that
4975 is non-fatal for failed keygrabs. This works around
4976 problems with keygrab clashes sometimes observed on
4978 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4979 mouse handling code as yet).
4981 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4984 Incremented revision for desktop alpha release.
4987 Fixed a couple of the more glaring errors (still not
4990 2002-01-11 Michael Meeks <michael@ximian.com>
4992 * registryd/deviceeventcontroller.c
4993 (spi_device_event_controller_forward_key_event): kill
4994 XUngrabKey / XKeyGrab race.
4995 (spi_controller_grab_keyboard): rename to
4996 (spi_controller_update_key_grabs): this, and deal
4997 with incremental adding / removing grabs more
4999 (_register_keygrab): ensure we're not pending a remove.
5000 (spi_grab_mask_free): impl.
5001 (spi_controller_register_global_keygrabs): split out
5003 (handle_keygrab): impl.
5004 (_deregister_keygrab): impl.
5005 (spi_controller_deregister_global_keygrabs): impl.
5006 (spi_controller_update_key_grabs): re-issue the grab if
5007 we just recieved a notification.
5009 * test/test-simple.c (key_listener_cb): remove debug.
5011 * registryd/deviceeventcontroller.c
5012 (spi_controller_register_device_listener): after
5013 registering a global keygrab, actualy register it !
5014 don't wait for a timeout; doh !
5016 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5017 to make it more readable / manipulable.
5018 s/grabmask/grab_mask/ s/refcount/ref_count/
5019 s/keyval/key_val/ s/modmask/mod_mask
5021 2002-01-08 Michael Meeks <michael@ximian.com>
5023 * registryd/deviceeventcontroller.c
5024 (spi_controller_register_with_devices): use gdk calls to
5026 (global_filter_fn): implement the filter.
5027 (spi_device_event_controller_check_key_event): rename to
5028 (spi_device_event_controller_forward_key_event): this & upd.
5029 (spi_get_display): replace with GDK_DISPLAY.
5031 * registryd/deviceeventcontroller.c
5032 (spi_controller_deregister_device_listener): unroll into
5033 (impl_deregister_keystroke_listener): here to simplify.
5034 (spi_controller_register_global_keygrabs): split cut and
5035 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5036 (spi_controller_deregister_device_listener): remove.
5037 (impl_register_mouse_listener): remove, no mouse listener
5038 support in at-spi-1.0
5040 * registryd/registry.c
5041 (_device_event_controller_hook): kill.
5042 (spi_registry_init): upd.
5044 * registryd/deviceeventcontroller.c
5045 (spi_device_event_controller_class_init): upd.
5046 (spi_check_key_event): merge into.
5047 (spi_device_event_controller_check_key_event):
5048 here and kill strange static ev init, don't leak
5049 the x_event - nor dynamicaly allocate it.
5051 * registryd/registry-main.c (main): re-direct
5052 timeout to remove strange vtable mess.
5054 * registryd/deviceeventcontroller.c
5055 (remove_listener_cb): impl.
5056 (spi_controller_deregister_device_listener):
5057 fix re-enterancy hazard.
5059 2002-01-07 Michael Meeks <michael@ximian.com>
5061 * registryd/deviceeventcontroller.c
5062 (spi_device_event_controller_new): upd.
5063 (impl_notify_listeners_sync): upd. debug.
5064 (spi_notify_keylisteners): fix re-enterancy hazards,
5065 prettify, remove O(n*n) iteration.
5066 (spi_controller_grab_keyboard): fix iteration.
5067 (spi_check_key_event): re-format to suit coding style.
5068 Clean all the warnings - we're warning free.
5070 * registryd/deviceeventcontroller.h:
5071 * registryd/registry.h: make mutualy referential with
5072 typesafe forward references instead of (!) void pointer
5075 2002-01-11 Michael Meeks <michael@ximian.com>
5077 * cspi/spi_accessible.c (role_names): add a role name
5078 to sync this array with the enum; and make the regression
5081 2002-01-10 Michael Meeks <michael@ximian.com>
5083 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5084 allow expansion of enumeration & kill warning.
5086 * test/test-simple.c (key_listener_cb): impl.
5087 (test_keylisteners): impl.
5089 * cspi/spi-listener.h: make listener signatures const
5090 on the provided (const) events.
5092 * test/keysynth-demo.c: upd. to const events.
5094 * test/simple-at.c: ditto.
5096 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5099 Rev the version to 0.5 (the previous tarball was named 0.4,
5100 even though the micro number was 3), so we need to rev upwards
5101 again for beta2/"desktop-alpha"
5104 Checked in a demo script, which requires editing before use!
5105 Proceed with caution.
5108 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5110 * cspi/spi_accessible.c:
5111 Add a couple of missing enum initializations, and fix some enum
5114 * cspi/spi_registry.c:
5115 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5117 * docs/reference/cspi/at-spi-cspi-sections.txt:
5118 Remove/fix a couple of broken document references.
5121 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5122 as Alt-Control to listen for commands, since on some systems
5123 Control-Alt may already be grabbed.
5125 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5128 Update version number to 0.4 for Beta2.
5130 * libspi/accessible.c, libspi/accessible.h:
5131 Expose spi_accessible_construct, to enable libgail-gnome
5132 construction from spi_accessible subtype.
5134 * utils/magnifier.c:
5135 Workaround for bug in some non-gnome-compliant window managers
5136 which made magnifier resize improperly.
5138 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5140 * libspi/accessible.c: (spi_accessible_new) :
5141 Move the test for SPI_IS_REMOTE_OBJECT to
5142 spi_accessible_new_return, fixing a bug and compile time warning.
5144 2002-01-08 Michael Meeks <michael@ximian.com>
5146 * registryd/registry.c (parse_event_type): remove strndup.
5148 * libspi/Makefile.am (libspi_la_SOURCES): remove
5149 sources already included in the headers section.
5151 * libspi/util.c: add.
5153 * libspi/spi-private.h: add.
5155 * registryd/registry.c: update to moved list iterators.
5157 2002-01-05 Michael Meeks <michael@ximian.com>
5159 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5161 * test/test-simple.c (main): ditto.
5163 2002-01-04 Michael Meeks <michael@ximian.com>
5165 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5166 redundant construct.
5168 * registryd/registry.c
5169 (get_listener_list): impl.
5170 (impl_accessibility_registry_register_global_event_listener):
5171 re-impl. to simplify using ~, remove dodgy const cast off.
5172 (parse_event_type): constify.
5173 (impl_accessibility_registry_deregister_global_event_listener_all):
5174 re-write, more efficiency and simplicity, kill re-enterancy
5176 (compare_listener_corbaref, compare_corba_objects),
5177 (compare_listener_quarks): define out.
5178 (impl_accessibility_registry_deregister_global_event_listener):
5179 re-write for effiency, and nail re-enterancy hazard.
5180 (impl_accessibility_registry_get_desktop_list): impl.
5181 (re_enterant_list_delete_link): impl.
5182 (re_enterant_list_foreach): impl.
5183 (remove_listener_cb): impl.
5184 (_registry_notify_listeners): kill.
5185 (notify_listeners_cb): impl.
5187 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5188 (SPI_getDesktopList): impl.
5190 * test/test-simple.c (test_desktop): test the methods.
5192 2002-01-03 Michael Meeks <michael@ximian.com>
5194 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5195 keystrings since we free them
5196 (SPI_freeAccessibleKeySet): in here.
5198 * libspi/accessible.c (spi_accessible_new): kill warning,
5199 wonder what is going on with the constructor here.
5201 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5203 * libspi/accessible.c (spi_accessible_new ()) :
5204 Added check to see if AtkObject is an SpiRemoteObject before
5205 creating an SpiAccessible.
5207 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5209 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5210 Enable keygrabs using the Control modifier, now that they are
5211 working properly (they were previously disabled).
5214 Change the command keygrab for this demo to "Control+Alt", so as
5215 to conflict with fewer other key commands on the system; this
5216 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5218 Removed a pointlessly-chatty keylistener for unshifted keys
5219 (shifted keys are still reported).
5221 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5223 * libspi/remoteobject.h:
5224 * libspi/remoteobject.c:
5225 Added definitions for special AtkObject subtype, required for
5226 support of remote components (specifically, used by BonoboControl
5227 accessibility implementation).
5229 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5231 * cspi/spi.h: synched relation types with ATK
5233 * cspi/spi_accessible.c: Added implementations of
5234 AcccessibleRelation_* methods
5236 * idl/Accessibility_Relation.idl: added getRelationTypeName
5237 method. Synched known relation types with ATK. Allowed for
5238 relation type extension with the RELATION_EXTENDED type.
5240 * libspi/relation.c: Provided implementations for
5241 AccessibleRelation methods.
5243 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5245 API tweaks for today's API 'freeze'.
5248 Added placeholder functions to allow future compatible expansion
5249 of the IDL interfaces.
5251 * idl/Accessibility_Registry.idl:
5252 Changed generateKeyEvent to generateKeyboardEvent. Changed
5253 signature of this method to accept an optional keystring in
5254 parameter (for complex text input synthesis) and changed use of
5255 simple 'boolean' parameter in registerKeystrokeListener to a
5256 struct, EventListenerMode.
5258 * cspi/spi_accessible.c:
5260 * cspi/spi_streamablecontent.c:
5261 Added references to AccessibleStreamableContent interface, and
5262 definition and implementation of AccessibleStreamableContent
5265 * cspi/spi_registry.c:
5267 Changed generateKeyEvent API to generateKeyboardEvent,
5268 taking a new (optional) keystring parameter to support complex
5273 Renamed directory (to better reflect its actual purpose, bridging
5274 from at-spi to ATK). The .so module is also now named
5277 * idl/Accessibility_Hypertext.idl:
5278 * libspi/accessible.c:
5279 * libspi/hypertext.h:
5280 * libspi/hypertext.c:
5281 Changed Accessibility_Hypertext to *not* derive from
5284 * cspi/spi_registry.c:
5285 Added list of legal event type names for 'window' events, which
5286 completes the registry event API.
5288 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5290 * at-bridge/bridge.c: Added registration for separate
5291 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5292 signals. If either of the first two parameters to the generic
5293 bridge signal handler are ints, they are passed on as event
5294 details. This allows an AT to determine what text was inserted.
5296 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5298 * registryd/deviceeventcontroller.c:
5299 Fixed regressions in generateKeyEvent caused by the removal of
5300 gdk_init from registryd; we now use pure X calls to connect to the
5301 display, which makes sense because deviceeventcontroller already
5302 uses a fair bit of X API (should eventually be migrated to a
5303 'portability layer').
5305 * registryd/desktop.c:
5306 Fixed minor regression in spi_desktop_init, changed the way the
5307 desktop name is being set to work with new spi_base API
5308 (gobject-based, rather than AtkObject-based).
5310 * registryd/Makefile.am:
5311 Minor revision of makefile to use XTST_LIBS variable rather than
5312 hard-wiring the Xtst LD_ADD element.
5314 * test/keysynth-demo.c:
5315 Tweaked an output message; added initialization of the
5316 'keystrings' member of the "switch listener" key_set.
5318 * libspi/relation.c:
5319 Squashed compile-time warning.
5321 * libspi/accessible.c:
5322 Cosmetic and formatting fixes, renamed a static method.
5324 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5326 * libspi/accessible.c
5328 * libspi/application.c
5331 * libspi/component.c
5332 * libspi/editabletext.c
5333 * libspi/hyperlink.c
5334 * libspi/hypertext.c
5336 * libspi/selection.c
5340 * registryd/desktop.c:
5341 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5343 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5345 * idl/Accessibility_Registry.idl:
5346 Added boolean member 'is_text' to DeviceEvent. This is for the
5347 use of key events, and helps prevent ambiguity between composed
5348 key strings and keysym names, since both may potentially be
5349 returned in the 'event_string' member.
5351 * at-bridge/bridge.c:
5352 * registryd/deviceeventcontroller.c:
5353 Use the 'is_text' member when notifying device event listeners.
5354 Knon issue: composed characters are not dealt with correctly by
5355 the global key listener implementation yet.
5357 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5359 * at-bridge/bridge.c:
5360 Namespaced local static methods to spi_atk_bridge_* where
5361 previously named bridge_*, and spi_* elsewhere.
5363 * at-bridge/bridge.c:
5364 * cspi/bonobo/cspi-bonobo-listener.c:
5365 Added demarshalling/conversion for string member of
5366 Accessibility_DeviceEvent to AccessibleKeystroke.
5368 * registryd/deviceeventcontroller.c:
5369 Added code to fill the Accessibility_DeviceEvent key string value
5370 member for global key events (i.e. from XGrabKey), to match
5371 behavior of Accessibility_DeviceEvent from the toolkit key events
5372 from the bridge. Fixed timestamp in global key event notifications.
5375 Added printout of key event's string value to
5376 report_ordinary_key_event, for demo/debugging purposes.
5378 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5380 * idl/Accessibility_Registry.idl:
5381 Removed Accessibility_KeyStroke structure in favor of generic
5382 Accessibility_DeviceEvent structure.
5383 Changed Accessibility_ControllerEventMask from a struct to an
5386 * at-bridge/bridge.c:
5387 Changed APIs to use DeviceEvent structure as above, and removed
5388 bogus casting between these event structures.
5390 * cspi/spi-listener.h:
5391 Added keystring member of AccessibleKeystroke structure, to enable
5392 matching on event "names" rather than only hardware codes and
5396 Added keystrings member of AccessibleKeySet struct, to allow
5397 matching on event names (as above).
5398 Added declarations for SPI_createAccessibleKeySet and
5399 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5400 event modmasks directly as unsigned ints rather than structs with
5401 refcounts, in the DeviceEventController methods.
5403 * cspi/spi_registry.c:
5404 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5406 * cspi/spi-roletypes.h:
5407 Added documentation of newly added SPI Roles.
5409 * cspi/bonobo/cspi-bonobo-listener.c:
5410 Changes in support of API changes above.
5412 * libspi/accessible.c:
5413 Converted APIs to use DeviceEvent structure (see IDL changes
5416 * registryd/deviceeventcontroller.c:
5417 Added DEControllerGrabMask structure to track keygrabs not only by
5418 modmask but by keyset as well; this allows us to do "global"
5419 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5420 grabbing on AnyKey and then filtering after-the-fact.
5421 Bugfixes for event filtration mean that we don't get false matches
5422 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5424 * registryd/deviceeventcontroller.c:
5425 Namespaced a number of static methods to use spi_ prefix. Major
5426 revision to internals of global (i.e. X) key grabs.
5428 * registryd/deviceeventcontroller.h:
5429 Removed keymask_list and added keygrabs_list to
5430 SpiDeviceEventController struct.
5433 Added use of SPI_createAccessibleKeySet API when creating a
5434 listener for only one key. Attach a listener to "shift spacebar
5435 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5436 X key event names to SPI key event names, so that listeners are
5437 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5439 * test/keysynth-demo.c:
5440 Changed (incorrect) use of X key event names (KeyPressed,
5441 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5444 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5446 * libspi/accessible.c:
5447 Convert all AtkRole enumerations to Accessibility_Role enums when
5448 getting a role from an AtkObject.
5450 * cspi/spi_accessible.c:
5451 Complete the conversion of Accessibility_Role enums at runtime to
5452 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5453 role enums correctly match those given in spi-roletypes.h.
5454 Re-synchronize the local names list for AccessibleRole_getName ().
5455 AccessibleRole_getName is now deprecated, since it duplicates the
5456 more reliable Accessible_getRoleName.
5457 Added some role types from Accessibility_Role.idl.
5459 * idl/Accessibility_Role.idl:
5460 Added some role types used by AtkRole.
5462 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5465 * cspi/spi_registry.c:
5467 * cspi/cspi-bonobo-listener.c:
5468 Namespaced all methods that did not begin with an "SPI_" or
5469 "Accessible" prefix to "SPI_".
5472 Homogenized internal function namespace to "cspi_" for statics.
5475 Patched tests to use the new CSPI API.
5477 * docs/reference/cspi/at-spi-cspi-sections.txt:
5478 Updated docs to reflect namespace changes, and added a number of
5479 methods to the documentation.
5481 * registryd/registry.c:
5482 Changed use of strings and string hashes in listener event
5483 matching and parse_event_string to use GQuark, which is guaranteed
5486 * registryd/registry.h:
5487 Squashed annoying warning.
5489 * idl/Accessibility_Role.idl:
5490 Extended range of available Accessibility_Role values.
5492 * cspi/spi_accessible.c:
5493 Re-ordered role names.
5495 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5497 * idl/Accessibility_Value.idl:
5498 Revert use of union back to CORBA_double, since the double type is
5499 more efficient and can contain the other types without loss of
5502 * idl/Accessibility_Accessible.idl:
5503 Added method Accessibility:Accessible:getRoleName, to complement
5504 Accessibility:Accessible:getRole.
5506 * cspi/spi_accessible.c:
5508 Added C binding for above, Accessible_getRoleName (), and changed
5509 signature of Accessible_getRole () to return an AccessibleRole.
5511 * cspi/spi-roletypes.h:
5512 Changed AccessibleRole_getName to return a char * instead of a
5513 const char *. This method is now at least temporarily deprecated
5514 in favor of asking Accessibles for their RoleNames directly.
5517 Revert to match Accessibility_Value.idl;
5521 Change signature of AccessibleValue methods to use double rather
5525 * cspi/spi_accessible.c:
5526 Changed Accessible_getRole to return an AccessibleRole enum rather
5527 than a UTF-8 string. The UTF-8 string can still be obtained via
5528 AccessibleRole_getName ().
5530 * test/test-simple.c:
5531 Add test_action. Small fixup to match API change to Accessible_getRole.
5534 Bugfix for get_action_from_servant ().
5536 2001-12-11 Michael Meeks <michael@ximian.com>
5538 * libspi/libspi.h: remove registry.h and
5539 desktop.h, deviceeventcontroller.h
5541 * libspi/Makefile.am: remove registry.[ch],
5542 desktop.[ch], deviceeventcontroller.[ch]
5544 * registryd/Makefile.am: add registry.[ch],
5545 desktop.[ch], rename registryd.c to registry-main.c.
5546 add deviceeventcontroller.[ch]
5548 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5551 Replace setenv() call with putenv ().
5553 * libspi/component.c:
5554 Bugfix in AccessibleComponent_getExtents (),
5557 2001-12-11 Michael Meeks <michael@ximian.com>
5559 * libspi/image.c (impl_getImageExtents): impl.
5560 (spi_image_class_init): upd.
5563 (AccessibleImage_getImageDescription): fix daft bug
5566 * test/test-simple.c (global_listener_cb): update
5567 to only quit if not --poke
5568 (main): catch --poke.
5569 (validate_accessible): upd. dumping, call test_image
5572 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5575 * idl/Accessibility.idl: update all IDL includes.
5577 * idl/*.idl - rename to namespace - this sucks, blame
5578 mjs' bad decision for oafd.
5580 * test/test-simple.c (create_test_window): add more tests.
5581 (create_tree): split this out.
5582 (validate_accessible): bugfix.
5584 2001-12-11 Michael Meeks <michael@ximian.com>
5586 * cspi/bonobo/cspi-bonobo-listener.c:
5587 (cspi_kestroke_listener_unref),
5588 (cspi_event_listener_unref): impl. undoing previous
5589 homenous environment - for Bill.
5591 * cspi/spi_table.c (long_seq_to_array): use
5594 * cspi/spi_main.c: split out all bonoboish bits into
5597 * cspi/spi-impl.h: upd. typedefs.
5599 * cspi/spi_registry.c: update to lowlevel API,
5600 return booleans to indicate success in some places.
5602 * cspi/spi_event.c: update to lowlevel API.
5604 * cspi/bonobo/Makefile.am: add.
5606 * cspi/bonobo/cspi-lowlevel.h: add
5608 * cspi/bonobo/cspi-bonobo.c: add
5610 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5612 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5613 (SUBDIRS): add bonobo, link in the libs.
5615 * cspi/spi-util.c: kill this file.
5617 * TODO: merge in my bits.
5619 2001-12-11 Michael Meeks <michael@ximian.com>
5621 * test/test-simple.c (test_value, test_table, main):
5622 remove unused variables causing warnings.
5624 * configure.in: cleanup checks - require gail.
5626 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5629 Changed Value interface to use SValue (scalars) rather than
5630 assuming all values are floats. This allows floats, doubles,
5631 longs, shorts, and unsigned values to be manipulated.
5632 Introduced Accessibility:SValue union.
5635 Updated to use new API above, and to work correctly with GValues
5636 of different types in AtkValue.
5639 Updated to use new API above. cspi's API is as yet unchanged.
5642 Updated the Value revision action item.
5644 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5646 * test/test-simple.c:
5647 Added test_table (GtkTreeView widget in test window to follow).
5648 Un-commented test_value, added GtkRange widget.
5649 Added GtkTreeView widget with GtkListStore. It passes regression
5650 test but leaks one SPI object for some reason.
5653 Fixed bug in impl__set_currentValue.
5655 2001-12-10 Michael Meeks <michael@ximian.com>
5657 * cspi/spi_text.c: audit for exception handling,
5658 tolerating NULL object references safely etc.
5660 * cspi/spi_value.c: ditto.
5662 * cspi/spi_table.c (AccessibleTable_getSummary),
5663 (AccessibleTable_getAccessibleAt),
5664 (AccessibleTable_getRowHeader),
5665 (AccessibleTable_getColumnHeader),
5666 (AccessibleTable_getCaption): fix bugs hidden by
5668 (long_seq_to_array): impl.
5669 (AccessibleTable_getSelectedRows),
5670 (AccessibleTable_getSelectedColumns): use it.
5672 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5675 Added a TODO list (rough and short for now).
5677 * cspi/spi_hyperlink.c:
5678 * cspi/spi_hypertext.c:
5679 Fixed macro name typos, and remove use of obsolete macro in
5680 AccessibleHyperlink_getLink.
5682 * cspi/spi_action.c:
5683 * cspi/spi_accessible.c:
5684 * cspi/spi_application.c:
5685 * cspi/spi_component.c:
5686 * cspi/spi_selection.c:
5689 Documentation fixes (removed return values from ref/unref methods).
5691 2001-12-10 Michael Meeks <michael@ximian.com>
5693 * cspi/spi_action.c: audit for exception handling,
5694 tolerating NULL object references safely etc.
5696 * cspi/spi_accessible.c: ditto.
5698 * cspi/spi_component.c: ditto.
5700 * cspi/spi_editabletext.c: ditto.
5702 * cspi/spi_hyperlink.c: ditto.
5704 * cspi/spi_hypertext.c: ditto.
5706 * cspi/spi_image.c: ditto.
5708 * cspi/spi_selection.c: ditto.
5710 2001-12-10 Michael Meeks <michael@ximian.com>
5712 * configure.in: use cspi/libspi.pc.in instead.
5714 * Makefile.am (pkgconfig_DATA): upd. to match.
5716 * test/simple-at.c (report_focus_event): kill hacks around
5717 bad return values, use putenv not setenv
5719 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5720 fire ChildGone - I killed it.
5722 * libspi/component.c
5723 (impl_accessibility_component_get_extents): remove
5726 * idl/Accessible.idl: kill ChildGone exception.
5728 * cspi/*.[ch]: kill int return from ref / unref.
5730 * cspi/spi_main.c (cspi_object_add_check): fold into
5731 (cspi_object_add): here.
5733 * cspi/spi_component.c (AccessibleComponent_getExtents):
5734 handle exceptions elegantly.
5736 * cspi/spi-private.h (cspi_check_ev_return),
5737 (cspi_return_if_fail): impl.
5739 * cspi/spi_accessible.c: use extensively.
5740 (AccessibleStateSet_equals): add direct compare check.
5742 * cspi/spi_selection.c: tolerate NULL objs, and check
5743 exceptions before return.
5745 * cspi/spi-util.c (cspi_warn_ev): rename to
5746 (cspi_check_ev): this & don't pass ev in; no point.
5748 2001-12-10 Michael Meeks <michael@ximian.com>
5750 * test/test-simple.c: use putenv not setenv
5751 (get_environment_vars): more chatty if you're not using
5754 * test/simple-at.c: do the setenv so more people see the
5757 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5759 * libspi/registry.c:
5760 Changed check of CORBA_environment on notification to be a warning
5761 instead of an error for the moment, since we can recover from this
5762 error when caused by a queued notification from a dead app.
5765 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5766 used by all current implementors of AtkValue), and coerce to
5767 CORBA_float. (Proper general case fix may require change to Value.idl).
5769 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5773 * cspi/spi_accessible.c:
5774 Documentation fixes: added user_data params to documentation for
5775 listeners and callbacks.
5777 * cspi/spi_accessible.c:
5778 Changed AccessibleStateSet_compare to return a
5779 StateSet rather than return the difference set into a third parameter.
5782 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5785 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5786 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5790 Remove subdirectory po from SUBDIRS for now.
5792 * at-bridge/bridge.c:
5793 Beefed up a couple of debug printouts.
5794 One-line fix for signal notification name formatting.
5796 * libspi/accessible.c:
5797 Added assertion to spi_accessible_new ().
5799 * libspi/application.c:
5800 Put #ifdef qualifiers around a printf.
5803 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5805 * registryd/Makefile.am:
5807 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5808 INTLTOOL_SERVER_RULE macro.
5811 Added an event listener for several ATK signals, for
5812 testing and debugging. Removed a few g_warnings.
5813 Added test output if focussed item implements the Value interface.
5815 * test/test-simple.c:
5816 Added test_value () function (known not to pass at the moment, so
5817 not actually called yet.
5819 2001-12-08 Michael Meeks <michael@ximian.com>
5821 * at-bridge/bridge.c (bridge_focus_tracker),
5822 (emit_eventv): fix the same ref. leak.
5823 (register_atk_event_listeners): don't leak.
5825 * cspi/spi-listener-impl.c (cspi_event): more
5826 protection from client code.
5828 * test/test-simple.c (test_desktop): unref the app.
5830 * test/Makefile.am: upd. TESTS.
5832 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5834 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5836 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5838 * cspi/spi_registry.c: constify in strings.
5839 (deregisterGlobalEventListenerAll): don't release the ref.
5841 * cspi/spi.h: start removing redundant / conflicting
5842 gtkdoc comments, making the API readable at a glance :-)
5844 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5846 * test/keysynth-demo.c (keysynth_exit, main): upd.
5848 * test/simple-at.c (main, simple_at_exit): upd.
5850 * test/test-simple.c (unutterable_horror): kill.
5851 (utterable_normal_derefs): kill.
5852 (main): upd & do a setenv before gtk_init, so that we
5853 can use memprof - and to save the pain of remembering
5854 this, if we're running under memprof - don't exit.
5856 * cspi/spi_main.c (SPI_exit): return exit status
5858 (SPI_event_quit): impl.
5859 (SPI_event_main): simplify.
5860 (cspi_is_gnome_app): kill.
5861 (SPI_init): kill isGNOMEapp arg.
5863 * at-bridge/bridge.c (register_atk_event_listeners):
5864 re-instate the unref.
5865 (bridge_exit_func): don't re-activate the registry,
5866 protect vs. theoretical re-entry, use the
5867 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5868 assert a clean shutdown - for regression tests.
5870 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5872 * configure.in: Comment out dummy i18n support for now,
5873 otherwise it fails to build.
5874 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5875 EXTRA_DIST. They are missing in tarball.
5877 2001-12-07 Michael Meeks <michael@ximian.com>
5879 * util/magnifier.c: kill bonobo activation reg. race.
5881 * libspi/component.c
5882 (impl_accessibility_component_get_extents): make it match
5885 * libspi/registry.c (_registry_notify_listeners):
5886 re-remove X headers & reconcile conflicts.
5887 (spi_listener_struct_free): bad conflict resolve.
5888 (impl_accessibility_registry_register_application):
5889 more bad merging fixed.
5890 (impl_accessibility_registry_deregister_application): ditto.
5891 (spi_registry_new): ditto.
5892 (spi_registry_init): don't have an applications field.
5894 [ merge fixups2 branch to here ]
5895 2001-12-07 Michael Meeks <michael@ximian.com>
5897 * test/simple-at.c (report_focus_event),
5898 (report_focussed_accessible): remove g_warning debug.
5900 2001-12-07 Michael Meeks <michael@ximian.com>
5902 * test/test-simple.c (validate_tree): comment out some checks.
5903 (test_desktop): app now not registered idly - horay.
5905 2001-12-07 Michael Meeks <michael@ximian.com>
5907 * cspi/spi_registry.c
5908 (registerAccessibleKeystrokeListener): clean, stop it leaking
5909 great swathes of memory, and device event controller references.
5910 ensure we always pass valid sequences.
5911 (deregisterAccessibleKeystrokeListener): ditto.
5912 (generateKeyEvent): upd.
5914 * at-bridge/bridge.c (bridge_key_listener): handle
5915 registry dead exception gracefully.
5916 (bridge_focus_tracker, emit_eventv): free ev.
5918 * test/simple-at.c (report_focus_event): fix polarity.
5920 * libspi/application.c (notify_listeners): kill the ev
5921 argument, and make sure we init the ev we use.
5922 (spi_application_object_event_listener): split out a chunk
5923 (get_atk_object_ref): here & fixup.
5924 (reverse_lookup_name_for_toolkit_event): make const.
5925 (spi_application_toolkit_event_listener): fixup, kill leaks
5928 * at-bridge/bridge.c (register_atk_event_listeners):
5929 don't unref the noop object - causes grief.
5931 * libspi/registry.c: remove the X headers.
5932 turn off the debug churn.
5934 * libspi/accessible.c (spi_accessible_new_return): only
5935 release the ref if we are supposed to [doh]
5937 * test/simple-at.c (report_button_press, report_focus_event):
5938 guard vs. unexpected exit.
5940 * at-bridge/bridge.c (gtk_module_init): prune printf.
5941 (bridge_exit_func): fix app unref.
5943 * libspi/Makefile.am: don't install registry or desktop.h
5945 * libspi/*.h: update includes.
5947 * libspi/application.h: don't include ourself, or
5948 other redundant headers.
5950 2001-12-06 Michael Meeks <michael@ximian.com>
5952 * libspi/accessible.c
5953 (get_accessible_from_servant): impl.
5954 Upd. all CORBA impl.s to use it killing cut and paste.
5956 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5958 (SPI_init): register atexit cleanup handler here.
5960 2001-12-06 Michael Meeks <michael@ximian.com>
5962 * at-bridge/bridge.c (gtk_module_init): g_error on
5963 activation exception
5965 2001-12-06 Michael Meeks <michael@ximian.com>
5967 * at-bridge/bridge.c (gtk_module_init): some sort of
5968 confusing merge clash - reverted.
5969 (bridge_idle_init): ditto.
5971 * test/test-simple.c (main, utterable_normal_derefs):
5972 merge from Bill - somehow not committed.
5974 2001-12-06 Michael Meeks <michael@ximian.com>
5976 * libspi/value.c (spi_value_class_init): upd.
5977 (spi_value_finalize): kill.
5979 * libspi/table.c (spi_table_finalize): kill.
5980 (spi_table_interface_new): upd.
5981 (spi_table_class_init): upd.
5982 (get_table_from_servant): impl.
5983 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5985 * libspi/selection.c (spi_selection_finalize): kill.
5986 (spi_selection_interface_new): upd.
5987 (spi_selection_class_init): upd.
5988 (get_selection_from_servant): impl.
5989 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5991 * libspi/relation.c (spi_relation_finalize): kill.
5992 (spi_relation_class_init, spi_relation_new): upd
5994 * libspi/image.c (spi_image_finalize): kill.
5995 (spi_image_class_init): upd.
5996 (spi_image_interface_new): upd.
5997 (get_image_from_servant): impl.
5998 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6000 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6001 (spi_hyperlink_finalize): kill.
6002 (spi_hyperlink_new): upd.
6003 (get_hyperlink_from_servant): impl.
6004 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6006 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6007 (spi_hypertext_finalize): kill.
6008 (spi_hypertext_class_init): upd.
6009 (get_hypertext_from_servant): impl.
6010 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6012 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6013 (spi_editable_text_interface_new): upd.
6014 (get_editable_text_from_servant): impl.
6015 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6017 * libspi/text.c (get_text_from_servant): impl.
6018 All impls - update to use it killing more cut and paste,
6019 also fix bad string returns on duff args ( a somewhat
6020 impossible case to handle - but hey ).
6021 (spi_text_construct): impl.
6022 (spi_text_interface_new): upd.
6023 (spi_text_object_finalize): kill.
6025 * libspi/component.c
6026 (accessibility_component_object_finalize): kill.
6027 (spi_component_class_init): upd.
6028 (get_component_from_servant): impl. helper to kill cut & paste.
6029 (impl_accessibility_component_contains):
6030 (impl_accessibility_component_get_accessible_at_point):
6031 (impl_accessibility_component_get_position):
6032 (impl_accessibility_component_get_extents):
6033 (impl_accessibility_component_get_mdi_z_order):
6034 (impl_accessibility_component_get_layer):
6035 (spi_component_interface_new): upd.
6037 * libspi/action.c (spi_action_finalize): kill.
6038 (spi_action_class_init): upd. inherit from SpiObject.
6039 (spi_action_interface_new): upd.
6040 (get_action_from_servant): impl. helper to reduce cut & paste.
6041 (impl_getKeyBinding, impl_getName, impl_doAction),
6042 (impl_getDescription): Use it everywhere.
6044 * cspi/spi_main.c (get_live_refs): a pointer hash.
6045 (spi_object_hash, spi_object_equal): comment out.
6046 There are issues with CORBA object hashing that need
6049 * libspi/application.c (spi_application_init),
6050 (spi_application_new): upd.
6052 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6053 (spi_accessible_class_init): upd.
6054 s/accessible/object/ in epv methods.
6056 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6058 * at-bridge/bridge.c:
6059 Reorder the bridge initialization into the bridge gtk_module_init,
6060 an immediate call to bridge_register_app, and an idle_add for
6061 register_atk_event_listeners (the only code that *must* wait until
6062 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6063 the activation, creates the application's Accessible object, and
6064 queues the bridge_idle_init function. Restored call to
6065 Accessibility_Registry_deregisterApplication().
6066 Prior to making this call we obtain a new reference to the
6067 registry, which is a temporary hack that helps us handle apps that
6068 shut down the bonobo mainloop before we get there.
6070 * libspi/registry.c:
6071 Fix string leakage in debug block, and don't segv if a an app
6072 dies before its event notifications have been propagated.
6075 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6076 as stopgap measure until we get proper exception handling when
6077 objects die during or before interrogation.
6081 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6082 Also changed default value of is_gnome_app to TRUE.
6085 * test/keysynth-demo.c:
6086 Changed use of SPI_init and SPI_event_main to reflect API change above.
6089 Made report_focus_event check the warning value from getName
6090 before reporting on focussed accessible; simplifies handling of
6091 notifications from dead objects.
6093 * test/test-simple.c: (Changes not in this patch since source is
6096 2001-12-05 Michael Meeks <michael@ximian.com>
6098 * registryd/registryd.c (main): protect against
6099 bonobo-activation startup race condition.
6101 * cspi/spi_main.c (cspi_object_add_check): cope
6102 with the exception elegantly.
6104 * idl/Accessible.idl: decl. ChildGone
6106 * libspi/desktop.c (spi_desktop_dispose): impl.
6107 (spi_desktop_class_init): upd.
6108 (spi_desktop_add_application),
6109 (spi_desktop_remove_application),
6110 (abnormal_application_termination): impl.
6111 (impl_desktop_get_child_at_index): re-impl.
6114 (impl_accessibility_registry_deregister_application),
6115 (impl_accessibility_registry_register_application):
6116 kill excessive debug clutter.
6118 * test/test-simple.c (test_misc): test some NULL
6119 tolerance. (main): upd.
6121 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6122 implements no interfaces - so let's not crash.
6124 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6126 * libspi/accessible.c (spi_accessible_new_return): impl.
6127 helper to calm the cut and paste, to cope with
6128 NULL AtkObjects effectively and efficiently, and to kill
6129 the referencing bugs.
6131 * libspi/table.c (impl_getAccessibleAt),
6132 (impl_getRowHeader, impl_getColumnHeader): upd.
6134 * libspi/hyperlink.c (impl_getObject): upd.
6136 * libspi/accessible.c
6137 (impl_accessibility_accessible_get_child_at_index): upd.
6139 * libspi/component.c
6140 (impl_accessibility_component_get_accessible_at_point): upd.
6142 * test/test-simple.c (test_editable_text, test_text): impl.
6145 * cspi/spi_editabletext.c
6146 (AccessibleEditableText_insertText): constify.
6148 * test/test-simple.c (focus_me): make more robust.
6150 * libspi/accessible.c: remove some printfs in methods that
6151 we test and work fine, so we can get a clean tree dump.
6153 * test/test-simple.c (validate_accessible),
6154 (validate_tree): make tree dumping pretty too.
6156 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6157 it builds without debug on.
6159 * test/test-simple.c (validate_accessible): fix the most
6162 * cspi/spi_main.c (spi_object_release): leave the nicely
6163 blanked memory around if in debug mode.
6165 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6167 [committed to fixups2]
6168 2001-12-05 Michael Meeks <michael@ximian.com>
6170 * libspi/editabletext.c
6171 (spi_editable_text_class_init): g_type_class_peek_parent,
6172 not interface peek - so we finalize cleanly.
6174 * libspi/accessible.c (spi_accessible_new): kill debug.
6176 * test/test-simple.c (validate_accessible): fix ref.
6177 leak, print strings before freeing them; sigh, comment a
6178 chunk out due to strangeness.
6179 (validate_tree): unref the child after use.
6181 * cspi/spi_component.c (AccessibleComponent_getLayer):
6182 add missing break statement, switch on zlayer not the
6183 uninitialized retval.
6185 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6186 before (possibly re-entering) remote unref.
6188 * test/simple-at.c (main): unref the desktop.
6190 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6193 * cspi/spi_main.c (cspi_accessible_is_a): here to
6194 isolate bonobo API usage more.
6196 * libspi/registry.c (impl_accessibility_registry_register_application):
6197 prune bogus comment.
6199 2001-12-04 Michael Meeks <michael@ximian.com>
6201 * test/test-simple.c (validate_tree): upd.
6202 IndexInParent check to make it more lucid.
6203 (validate_accessible): dump the tree.
6205 * libspi/accessible.c (de_register_public_ref),
6206 (get_public_refs): impl.
6207 (spi_accessible_new): make more efficient & intuitive.
6208 Now IndexInParent check works.
6210 2001-12-04 Michael Meeks <michael@ximian.com>
6212 * cspi/spi-util.h: remove.
6214 * cspi/spi.h: move SPI_freeString here
6216 * libspi/component.c (impl_accessibility_component_get_layer):
6218 (impl_accessibility_component_get_mdi_z_order): ditto,
6219 return -1 on error - is this ok ?
6221 * test/test-simple.c (test_application): impl.
6223 * cspi/spi_accessible.c (Accessible_getApplication),
6224 (Accessible_isApplication): impl.
6226 * libspi/registry.c (spi_listener_struct_free): release
6227 the CORBA reference too.
6229 * libspi/accessible.c
6230 (impl_accessibility_accessible_get_parent): fix ref leak.
6232 * libspi/registry.c (spi_registry_new): make the registry
6233 immortal - we don't want it to go away ever.
6235 * libspi/application.c
6236 (spi_accessible_application_finalize): impl. cleanup.
6238 * cspi/spi_registry.c
6239 (deregisterGlobalEventListenerAll),
6240 (deregisterGlobalEventListener),
6241 (deregisterAccessibleKeystrokeListener): fix ref leak.
6243 * cspi/spi_main.c (SPI_init): remove redundant ref.
6245 * test/test-simple.c (unutterable_horror): impl. to force a
6250 (impl_accessibility_registry_deregister_application): release
6251 the application when we de-register it.
6253 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6254 until we have the infastructure to get it right.
6256 2001-12-03 Michael Meeks <michael@ximian.com>
6258 * libspi/Makefile.am: only build eventlistener.[ch]
6260 * libspi/accessible.c
6261 (impl_accessibility_accessible_get_child_at_index): don't leak.
6263 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6264 before we hit the idle handler.
6266 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6267 debugging than exit.
6269 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6271 * libspi/listener.c (impl_notify_event): check source
6272 not NIL before unref.
6274 * libspi/registry.c (impl_registry_notify_event): ditto.
6276 * libspi/eventlistener.c
6277 (impl_accessible_event_notify_event): unref the source.
6279 * libspi/accessibleeventlistener.c
6280 (impl_accessible_event_notify_event): unref the source.
6282 * idl/Event.idl: remove 'hash_id' attribute - of no
6285 * libspi/application.c (notify_listeners): upd list
6287 (spi_application_object_event_listener),
6288 (spi_application_toolkit_event_listener): upd to do correct
6292 (_registry_notify_listeners): update.
6293 (parse_event_type): this method also leaks like a sieve.
6294 (impl_accessibility_registry_deregister_global_event_listener):
6295 fix ETYPE_WINDOW case.
6297 * libspi/application.c
6298 (impl_accessibility_application_register_object_event_listener):
6301 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6303 * libspi/hypertext.c (impl_getLink): ditto.
6305 * cspi/spi_main.c (cspi_object_add): remove
6306 bogus CORBA_Object_duplicate.
6308 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6311 * cspi/spi_accessible.c
6312 (Accessible_getRelationSet): fix leak / referencing issue.
6314 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6315 (cspi_object_add, cspi_object_unref): upd.
6316 (spi_object_release, get_live_refs): impl.
6317 (cspi_cleanup): simplify.
6319 * *.[ch]: s/boolean/SpiBoolean/
6321 * cspi/spi_accessible.c (role_names): actualy order so it
6322 corresponds with the enum !
6324 * test/test-simple.c (test_roles): check some role strings
6325 vs. enums to detect offset errors.
6327 2001-12-01 Michael Meeks <michael@ximian.com>
6329 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6331 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6333 (Accessible_getChildAtIndex): use cspi_add_check so we
6334 check the ev before using a (possibly) invalid value.
6336 * libspi/accessible.c
6337 (impl_accessibility_accessible_get_parent): don't segv
6340 * at-bridge/bridge.c (gtk_module_init): upd.
6341 (bridge_property_event_listener): don't leak strings
6343 (bridge_state_event_listener),
6344 (bridge_property_event_listener): don't use a static
6345 buffer in case of recursive event emission &
6346 re-enterancy - split out the swathe of cut and paste
6348 (emit_eventv): and fix 2 ref leaks here & comply to the
6350 (bridge_register_app): rename to
6351 (bridge_idle_init): this and kill arg parsing, split
6352 various inits & bonobo-activation registration to module
6353 init time, kill referencing error.
6354 (bridge_exit_func): fix the same leak.
6355 (bridge_focus_tracker): don't leak event structures
6357 (bridge_signal_listener): more leakage and cut & paste
6359 (bridge_key_listener): return the result - FIXME is
6360 this polarity correct ?
6361 (accessibility_keystroke_from_atk_key_event): rename
6362 (accessibility_init_keystroke_from_atk_key_event): and stop
6364 (gtk_module_init): return a value - not that it is checked by
6366 (bridge_key_listener): register my horror at casting between
6367 IDL defined structs.
6368 (bridge_get_registry): kill - not used.
6370 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6372 * test/test-simple.c (test_roles): impl.
6373 (test_desktop, validate_accessible, validate_tree): impl.
6375 * cspi/spi_accessible.c (role_names): fixup bogus
6376 MAX_ROLES setup, make constants const for efficient linkage
6377 (AccessibleRole_getName): conform to coding style, make
6380 2001-11-30 Michael Meeks <michael@ximian.com>
6382 * cspi/spi.h: add missing prototype.
6384 * libspi/registry.c (spi_listener_struct_new): fix sig.
6386 * test/Makefile.am: add test-simple
6388 * test/test-simple.c: add
6390 * test/test.sh: add.
6392 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6394 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6395 do it straight - since otherwise we often get an activation race.
6397 [ work before Bill duplicated a chunk of it ... ]
6398 2001-11-30 Michael Meeks <michael@ximian.com>
6400 * libspi/keystrokelistener.c
6401 (spi_keystroke_listener_class_init): fixup arg
6404 * libspi/eventlistener.c
6405 (spi_event_listener_class_init): ditto.
6407 * tests/test.sh: add.
6409 * cspi/spi-listener-impl.h: update macros.
6411 * cspi/spi-listener-impl.c
6412 (cspi_event_listener_remove_callback): add
6413 correct pre-conditions.
6415 * cspi/spi_main.c (SPI_exit): guard vs. double
6416 exits, exit the mainloop nicely.
6417 (SPI_event_main): make more sense.
6418 (SPI_init): move the atexit evilness here so we
6419 always do it (yuck).
6420 (SPI_event_main): upd.
6422 * test/simple-at.c: update for listener changes.
6424 * registryd/registryd.c (main): prune kruft.
6426 * libspi/libspi.h: upd.
6428 * libspi/eventlistener.[ch]: rename broken macros.
6430 * libspi/accessibleeventlistener.[ch]: remove.
6432 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6434 * test/test-simple.c: Add - automated tests.
6436 * cspi/spi-listener-impl.c (cspi_event),
6437 (cspi_key_event): add user_data to invoke.
6438 (cspi_keystroke_listener_finalize): impl.
6439 (cspi_keystroke_listener_class_init): upd.
6442 (createAccessibleEventListener),
6443 (AccessibleEventListener_addCallback),
6444 (createAccessibleKeystrokeListener),
6445 (AccessibleKeystrokeListener_addCallback): upd.
6447 * libspi/deviceeventcontroller.c
6448 (spi_device_event_controller_check_key_event): add public proto.
6451 (impl_accessibility_registry_deregister_global_event_listener):
6452 always init listeners.
6453 (_registry_notify_listeners): yes it is.
6455 * cspi/spi-listener-impl.c (cspi_key_event):
6457 (cspi_event_listener_finalize): impl.
6458 (cspi_event_listener_class_init): hook up.
6459 (event_handler_new, event_handler_free),
6460 (event_list_remove_by_callback): impl.
6461 (cspi_event_listener_remove_callback),
6462 (cspi_keystroke_listener_remove_callback),
6463 (cspi_keystroke_listener_add_callback),
6464 (cspi_event_listener_add_callback): upd.
6466 * libspi/keystrokelistener.c
6467 (keystroke_listener_object_finalize): kill
6468 (spi_keystroke_listener_class_init): upd.
6469 (spi_keystroke_listener_add_callback),
6470 (spi_keystroke_listener_remove_callback): kill,
6472 (impl_key_event): prune drasticaly.
6474 * libspi/eventlistener.c
6475 (spi_event_listener_add_callback),
6476 (spi_event_listener_remove_callback): kill, use
6478 (impl_accessible_event_notify_event): upd.
6479 (spi_event_listener_object_finalize): remove.
6481 * libspi/Makefile.am: use eventlistener.[ch]
6483 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6485 * libspi/registry.c (_registry_notify_listeners):
6486 Changed listener loop iteration to use preferred convention.
6487 Got rid of string memory leaks caused be calling g_strconcat
6488 inside function calls.
6490 * libspi/registry.c (parse_event_type):
6491 Stopped g_strconcat memory leaks, free the g_strsplit return,
6492 g_strdup the split pieces when used, etc.
6494 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6497 Change method 'compare' to return a 'difference set' rather than
6498 taking a StateSet as an out parameter (more Java-friendly).
6500 * idl/Accessible.idl:
6501 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6503 * idl/Component.idl:
6505 Changed methods 'getExtents' and 'getImageExtents' in these
6506 interfaces to return a BoundingBox structure.
6507 (getPosition and getSize are redundant and possibly should be
6508 removed, rather than creating a corresponding Point struct.)
6510 * cspi/spi_component.c:
6511 Modify implementation of getExtents to reflect the above IDL
6516 Add (missing) AccessibleImage_getExtents () API.
6518 * docs/reference/cspi/at-spi-cspi-sections.txt:
6519 Added AccessibleImage_getImageExtents () to docs.
6521 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6523 * idl/Component.idl:
6524 Added two methods, getLayer () and getMDIZOrder (), to reflect
6525 the new ATK methods atk_object_get_layer and
6526 atk_object_get_mdi_z_order. (Which arguably should be part of the
6527 AtkComponent API and AtkObject). Also added an enum,
6528 ComponentLayer, for the first method's return value.
6530 * libspi/component.c:
6531 Added implementations for these methods.
6533 * cspi/spi_component.c:
6535 Added cspi binding methods for above,
6536 AccessibleComponent_getLayer() and
6537 AccessibleComponent_getMDIZOrder().
6538 Added cspi enum 'AccessibleComponentLayer'.
6540 * docs/reference/cspi/at-spi-cspi-sections.txt:
6541 Added above methods to docs.
6545 Changed typedef for 'boolean' type (and all references to it) to
6546 SPIBoolean, to avoid keyword clashes with C++.
6549 Changed usages of 'boolean' to SPIBoolean.
6551 * test/keysynth-demo.c:
6552 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6553 app), except where SPIBoolean is required by the callbacks API.
6555 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6557 * cspi/spi_registry.c:
6558 Removed obsolete X event loop for passive keygrabs (which now
6561 * registryd/registryd.c:
6562 Removed unnecessary call to gdk_init() [cruft]. This also allows
6563 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6566 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6568 * docs/reference/cspi:
6569 Included docs for SPI_freeString in generated documentation.
6572 Renamed spi_freeString to SPI_freeString, for consistency. Added
6573 documentation for this function.
6576 Renamed spi_freeString to SPI_freeString, for consistency.
6577 Removed obsolete method declaration string_from_corba_string.
6579 * test/keysynth-demo.c:
6580 Small tweak to comments.
6583 Stopped leaking the strings returned from CSPI.
6585 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6587 Merged Michael's branch (see his ChangeLog entries below).
6589 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6590 bridge is alive, release on exit.
6592 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6593 Fix type check macro.
6596 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6599 Added is_gnome_app static, and method cspi_is_gnome_app(),
6600 so we can call the appropriate shutdown routine at exit in SPI_exit.
6602 * cspi/spi_main.c (cspi_object_ref):
6603 Duplicate the corba object passed in, since we're keeping it around.
6605 * cspi/SPI_exit.c, cspi_cleanup:
6606 Moved the releasing of the live refs to its own function, so we
6607 can put it in g_atexit (). Call the appropriate shutdown API
6608 depending on whethe calling client is a gnome app or not
6609 (bonobo_main_quit or CORBA_ORB_shutdown).
6611 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6612 Unref the listener when this method is called, after
6613 deregistration. Updated the API docs to note this behavior.
6615 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6616 Bugfixes: Ref the bonobo object when returning a parent or child
6617 reference, or an AccessibleRelation. Generally made sure
6618 BonoboObject refcount is incremented whenever we return an
6621 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6622 Fixed typo/bug in signal declaration.
6624 * libspi/accessibleeventlistener.h:
6627 * libspi/application.c (spi_application_new):
6628 Fixed leak in initialization.
6631 Remembered to increment bonobo-object refcount when returning
6632 children (applications) from desktop object.
6633 Added (empty) finalize method.
6635 * libspi/deviceeventcontroller.c:
6636 Hold a ref to listeners inside DEControllerKeyListeners.
6637 Added dec_key_listener_free() method. Use prepend instead of
6638 append in key_listener list. Fixed some refcount madness and
6639 leaks in the listener registration/deregistration - deregistration
6640 now calls dec_key_listener_free() on listeners, and on the
6641 temporarily constructed dec_key_listener() used to perform the search/match.
6643 * libspi/hypertext.c (spi_hypertest_finalize):
6644 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6645 class. Also fixed spi_hypertext_interface_new() and
6646 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6648 * libspi/hypertext.h:
6649 Removed pointless and duplicate AtkObject pointer from
6652 * libspi/keystrokelistener.c:
6653 Fixed incorrect type of keystroke_listener_parent_class,
6654 renamed keystroke_listener_object_finalize to
6655 spi_keystroke_listener_object_finalize.
6656 Fixed typo in signal declaration
6657 (spi_keystroke_listener_class_init).
6659 * libspi/registry.c:
6660 Added funcsions spi_listener_struct_new() and
6661 spi_listener_struct_free() to help with memory management issues.
6662 We also now use these methods instead of gnew + poking stuff into
6663 the struct, and to decrement listener counts/free the listeners
6664 when deregistering them.
6665 Fix more refcount bugs in getDesktop() and
6666 getDeviceEventController().
6669 De-ref the desktop after enumerating the applications. Explicitly
6670 decrement the refcounts on the created listeners on exit (using
6671 _unref for keystroke listeners, and via the
6672 deregisterGlobalEventListenerAll command for other event
6675 2001-11-27 Michael Meeks <michael@ximian.com>
6677 * cspi/spi-listener.h: fixup enum.
6679 2001-11-27 Michael Meeks <michael@ximian.com>
6681 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6682 (cspi_keystroke_listener_new): Use the cspi variants.
6684 2001-11-26 Michael Meeks <michael@ximian.com>
6686 * test/keysynth-demo.c: fix 2 compile warnings, missing
6689 * test/simple-at.c (report_focussed_accessible),
6690 (report_focus_event, report_button_press),
6691 (check_property_change, is_command_key),
6692 (report_ordinary_key_event, report_command_key_event): upd.
6694 * util/mag_client.h: include pre-requisites.
6696 * libspi/accessibleeventlistener.c
6697 (spi_event_listener_object_finalize): free any lingering
6700 * libspi/keystrokelistener.c
6701 (keystroke_listener_object_finalize): ditto.
6703 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6704 callbacks, with cspi types.
6706 * cspi/spi_event.c (createAccessibleEventListener): chain to
6707 (AccessibleEventListener_addCallback): here.
6708 (createAccessibleKeystrokeListener): chain to
6709 (AccessibleKeystrokeListener_addCallback): here.
6711 * libspi/keystrokelistener.c
6712 (spi_keystroke_listener_class_init): add signal.
6713 (impl_key_event): emit the event.
6714 (boolean_handled_accumulator): impl.
6715 (marshal_BOOLEAN__POINTER): add, gack.
6717 * libspi/accessibleeventlistener.c
6718 (spi_event_listener_class_init): add signal.
6719 (impl_accessible_event_notify_event): emit the signal &
6720 make the loop efficient.
6721 (spi_event_listener_add_callback): prepend the callback.
6723 * libspi/accessibleeventlistener.h: add an 'event' signal,
6724 decl type on callback.
6726 * libspi/keystrokelistener.h: ditto.
6728 * cspi/spi-listener.h: make methods typesafe and
6729 make them use the new event typedefs.
6731 * test/simple-at.c (report_focussed_accessible):
6732 include mag_client.h
6733 Use *(void *)text_interface not the other thing.
6735 * configure.in: add gtk to registryd bits - since we use
6738 * util/magnifier.c: include libbonobo.h
6740 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6742 * test/keysynth-demo.c:
6743 Turned this into a simple scanning keyboard, to demonstrate the
6744 use of g_timeout_add () as a means of creating timers for
6745 scanning, and the use of GtkStyle for visually indicating when
6746 virtual keyboard elements are selected.
6748 keysynth-demo now listens to any keyboard keys with zero-valued
6749 keycodes (i.e. 'unused' keys) and interprets them as
6752 Reworked the shiftlatch code so that shift-down state isn't held
6753 for long periods (it's only synthesized immediately prior to
6754 the keysynth event it's modifying). Note that shiftlatch in this
6755 demo is a convenience, not intended to take the place of AccessX
6756 which is the better choice for getting 'sticky' modifier keys.
6758 * libspi/deviceeventcontroller.c:
6759 * at-bridge/bridge.c:
6760 * cspi/spi_registry.c:
6761 Removed some debug print stuff, and put other verbosity in #ifdef
6766 Implemented some more of the magnifier IDL for the simple
6767 magnifier: namely, getZoomRegionParams.
6768 Added mag_x and mag_y members to MagnifierData struct, aid of this
6770 Added GtkWindow::realize signal handler to magnifier, to keep it
6771 from receiving keyboard focus from the WM.
6773 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6775 * cspi/spi-private.h: my guess at what michael forgot
6776 before he ran off to NZ :-)
6778 2001-11-23 Michael Meeks <michael@ximian.com>
6780 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6781 comment out non existant method invoke so we link.
6783 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6784 use bonobo_exception_get_text for more friendly warnings.
6786 * cspi/spi.c (Obj_Add): move into spi_main & rename
6787 spi_object_add; kill spi.c
6789 * cspi/spi_registry.c
6790 (deregisterGlobalEventListener),
6791 (deregisterGlobalEventListenerAll),
6792 (registerGlobalEventListener): fix exception leaks.
6794 * cspi/spi_main.c (spi_exception): impl. helper, so we
6795 don't leak exceptions.
6797 * cspi/spi_selection.c
6798 (AccessibleSelection_deselectSelectedChild): return the
6801 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6802 (spi_registry): ditto.
6803 (SPI_init): guard against double inits.
6805 * cspi/*.c: use spi_ev (), and spi_registry () where
6806 appropriate - a temporary hack until we have something
6807 better. Use spi_object_add
6809 2001-11-22 Michael Meeks <michael@ximian.com>
6811 * cspi/Makefile.am: re organise, install the headers.
6813 * cspi/*.h: add G_BEGIN/END_DECLS
6815 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6818 Added non-preemptive keylistener for key events with no modifiers
6819 and shift-only modifier.
6821 * libspi/keystrokelistener.c:
6822 Removed some verbose diagnostics printout.
6824 * cspi/spi_registry.c:
6825 Fixed a bug that caused all key listeners to be registered as
6828 * libspi/deviceeventcontroller.c:
6829 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6830 for non-preemptive key masks.
6833 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6835 * docs/reference/idl/at-spi-idl-docs.sgml:
6836 * docs/reference/idl/at-spi-idl-sections.txt:
6837 * docs/reference/idl/at-spi-idl-overrides.txt:
6838 Added missing files.
6840 * docs/reference/Makefile.am:
6841 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6842 to scan the IDL files :-(
6847 Added .cvsignore files.
6849 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6851 * libspi/deviceeventcontroller.c:
6852 * libspi/keystrokelistener.c:
6854 * cspi/spi_registry.c:
6855 Added filters for KeySets, KeyEventSeq, and event types to key
6856 event dispatching, so listeners should only receive those events
6857 that they requested :-)
6859 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6864 * docs/reference:Makefile.am:
6865 * docs/reference/cspi:
6866 * docs/reference/cspi:Makefile.am:
6867 * docs/reference/cspi:tmpl:
6868 * docs/reference/cspi:tmpl:*.sgml:
6869 * docs/reference/idl:
6870 * docs/reference/idl:Makefile.am:
6871 * docs/reference/idl:at-spi-idl-sections.txt:
6872 * docs/reference/idl:at-spi-idl-docs.sgml:
6873 * docs/reference/idl:tmpl:
6874 * docs/reference/idl:tmpl:*.sgml:
6876 Restructured docs directory to allow separate 'reference' docs
6877 section, and forked idl and cspi docs. Added the sgml template
6878 files to CVS. Added the first sections/structural sgml for the
6881 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6883 * configure.in, libspi/Makefile.am: find libXtst.
6885 2001-11-21 Michael Meeks <michael@ximian.com>
6887 * test/accessx-gui.c: s/spi_value/value/ - doh.
6889 * libspi/base.[ch]: add.
6891 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6893 * idl/Accessible.idl:
6894 * idl/Application.idl:
6897 Started gtk-doc cleanup on IDL.
6899 * libspi/deviceeventcontroller.c:
6900 Added and connected non-preemptive key notification from the
6901 toolkits (in addition to the pre-emptive support from XServer
6902 which we had before, but which causes 'focus flashing'). Filters
6903 are presently limited to key modifiers and global/non-global,
6904 KeySets are presently ignored, as are KeyEvent masks.
6906 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6907 structs into the persistant structure rather than just storing
6908 pointers to things that might not persist across servant
6911 The XGrabKey call now does async keygrabs, because synchronous
6912 ones were deadlocking with GDK_event code in a very nasty way.
6914 Added boolean to internal method notify_keylisteners, to indicate
6915 whether the event came from the 'toolkit source' or the 'global
6916 (XServer) source' - this is used in the notification process to
6917 determine which listeners to send the event to.
6919 deviceeventcontroller.c is now warning-free.
6921 * libspi/registry.c:
6922 Fixed regression in application de-registration.
6923 Also fixed some really brain-dead weirdness having to do with
6924 event dispatching - event structs are now duplicated before being
6925 re-marshalled in the dispatch to listeners. This also fixes a
6926 Solaris build problem.
6929 2001-11-20 Michael Meeks <michael@ximian.com>
6932 (impl_accessibility_registry_deregister_global_event_listener):
6935 * libspi/deviceeventcontroller.c
6936 (spi_device_event_controller_check_key_event): return
6937 FALSE on no virtual method.
6939 * libspi/*..h: make includes work on a correctly pathed install.
6941 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6943 * libspi/application.h: kill unused ( and whacked out )
6944 gboolean *spi_application_set_id (AtkObject *app, long id);
6946 2001-11-20 Michael Meeks <michael@ximian.com>
6948 * libspi/*.[ch]: further convert to bonobo's type func
6949 macros, remove redundnant casts etc.
6951 * libspi/text.c s/accessibility_text/spi_text/g,
6952 re-order to de-cruft.
6954 * libspi/hypertext.c: re-order to kill a huge slew
6955 of redundant forward decls.
6957 * libspi/relation.c: ditto.
6959 * libspi/image.c: ditto.
6961 * */.cvsignore: update
6963 2001-11-20 Michael Meeks <michael@ximian.com>
6965 * libspi/deviceeventcontroller.c
6966 (_controller_register_with_devices): use g_getenv,
6967 kill stdlib.h include.
6969 * libspi/keystrokelistener.c
6970 (spi_keystroke_listener_get_type): kill
6971 (spi_keystroke_listener_class_init),
6972 (spi_keystroke_listener_init): rename to this.
6974 * libspi/text.c (impl_getAttributes): fix warning / bug.
6976 * libspi/*.[ch]: more headers, includes and over commenting.
6978 2001-11-20 Michael Meeks <michael@ximian.com>
6980 * libspi/*.[ch]: fixup headers, includes and over commenting.
6982 * libspi/image.c (impl__get_imageDescription): const
6983 correctness warning fix. remove redundant casting.
6985 * libspi/table.c (impl_getRowDescription): ditto.
6986 (impl_getColumnDescription): ditto.
6988 * libspi/libspi.h: add.
6990 2001-11-19 Michael Meeks <michael@ximian.com>
6992 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6994 * libspi/component.c (accessibility_component_get_type):
6995 rename to (spi_component_get_type): and macroify.
6996 (accessibility_component_init): rename to
6997 (spi_component_init): this
6998 (accessibility_component_class_init): rename to
6999 (spi_component_class_init): this
7001 * libspi/action.c (spi_action_get_type): kill, use the macro.
7003 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7006 * libspi/application.c (spi_application_object_event_listener),
7007 (impl_accessibility_application_register_object_event_listener):
7008 warning fixes / const understanding updates.
7010 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7013 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7015 * libspi/spi_accessible.c: Added docs and C bindings for
7016 AccessibleStateSet. (No implementations yet). Documentation
7017 coverage for C bindings now 100%. Made docs for event listeners
7022 boolean notifyListenersSync (in DeviceEventListener listener,
7023 in DeviceEvent event);
7025 oneway void notifyListenersAsync (in DeviceEventListener listener,
7026 in DeviceEvent event);
7028 Added DeviceEventListener and DeviceEvent structs (may deprecate
7029 KeyStroke and KeystrokeListener in favor of this generic
7030 event/listener framework for devices).
7032 * libspi/deviceeventcontroller.c:
7034 Changed some key listener code to take masks, etc., and paved the
7035 way for integration of toolkit/non-preemptive key events. Changed
7036 signatures of some internal methods.
7038 * at-bridge/bridge.c:
7039 Fixed regression connecting to interface signals, apparently
7040 caused by GTK+ changes.
7042 Added an internal bridge_state_listener to deal with
7043 property-change:accessible-state signals.
7045 Changed the key_listeners GList to store structs (including masks,
7046 etc.) instead of just CORBA_Objects (required for full
7047 implementation of key listener API).
7049 Connected the bridge to all currently supported Atk signals.
7050 Events now supported:
7051 object:property-change
7052 object:property-change:accessible-name
7053 object:property-change:accessible-state
7054 object:property-change:accessible-description
7055 object:property-change:accessible-parent
7056 object:property-change:accessible-value
7057 object:property-change:accessible-role
7058 object:property-change:accessible-table-caption
7059 object:property-change:accessible-table-column-description
7060 object:property-change:accessible-table-column-header
7061 object:property-change:accessible-table-row-description
7062 object:property-change:accessible-table-row-header
7063 object:property-change:accessible-table-summary
7064 object:children-changed
7065 object:visible-data-changed
7066 object:selection-changed
7067 object:text-selection-changed
7069 object:text-caret-moved
7071 object:row-reordered
7073 object:column-inserted
7074 object:column-reordered
7075 object:column-deleted
7076 object:model-changed
7078 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7080 * libspi/hyperlink.c,h:
7081 Fixed some broken stuff in hyperlink.
7083 * libspi/relation.h:
7084 * libspi/relation.c:
7085 * cspi/spi_accessible.c:
7086 Initial implementations of AccessibleRelation methods, and docs.
7088 * libspi/accessible.c:
7089 Fixed a bug that caused SEGV if an accessible
7090 object's description is NULL, and a client
7091 requests it. An empty string is now returned.
7093 * cspi/spi_editabletext.c:
7094 * cspi/spi_hypertext.c:
7096 * cspi/spi_hyperlink.c:
7100 Doc coverage now 95%.
7102 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7104 One last namespacing revision:
7105 * libspi/accessibleeventlistener.[ch]:
7106 Renamed SpiAccessibleEventListener to SpiEventListener,
7107 (no need for two namespaces ;-)
7109 And lots of documentation fixes:
7111 * docs/at-spi-docs.sgml:
7112 Fixed 'underscore vs. hyphen' bug that was preventing
7113 the gtk-doc API docs from being automatically generated.
7116 * cspi/spi-listener.h
7118 * cspi/spi_accessible.c
7120 * cspi/spi_application.c
7121 * cspi/spi_component.c
7122 * cspi/spi_editabletext.c
7124 * cspi/spi_hypertext.c
7126 * cspi/spi_registry.c
7127 * cspi/spi_selection.c
7131 * docs/at-spi-docs.sgml
7132 * docs/at-spi-sections.txt
7134 Added and fixed up gtk-doc documentation in cspi.
7136 Interfaces now (fully) documented (subject to revision and enhancement):
7138 Event Listener Support
7140 AccessibleApplication
7144 AccessibleEditableText
7151 AccessibleRelationSet
7156 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7158 * at-bridge/bridge.c:
7159 Initial work for toolkit-level key snooper connection by bridge.
7164 New typedefs and fixes to support new namespacing, and cleaner
7165 separation of cspi bindings from libspi bonobo implementation.
7166 Removed inconsistent and extraneous Spi* namespace prefix that
7167 had crept into cspi headers.
7168 Lots of comment fixes that sed had missed.
7170 * cspi/spi-roletypes.h:
7171 * cspi/spi-statetypes.h:
7172 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7173 to AccessibleRoleType.
7175 * libspi/accessibleeventlistener.h:
7176 Fixed minor namespacing weirdness.
7178 * libspi/deviceeventcontroller.c:
7179 Reordered some internal API for device listeners.
7180 Changed the key registry final boolean to 'is_system_global'
7181 rather than 'is_synchronous', which is more descriptive of its
7183 Added spi_device_event_controller_new().
7184 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7186 * libspi/keystrokelistener.[ch]:
7187 Namespaced KeystrokeListener to SpiKeystrokeListener.
7188 Changed uses of keymasks to use SPI_ prefix, and did other
7191 * libspi/keymasks.h:
7192 Namespaced keymask constants with SPI_ prefix.
7194 * libspi/registry.c:
7195 Some warning fixes, and knock-on fixes from namespace changes.
7198 Added rules for accessx-gui test program.
7200 * test/accessx-gui.c:
7201 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7202 utility. It doesn't actually use at-spi, but it's still cool and
7205 * test/keysynth-demo.c:
7209 Fixes so that these test clients work properly with the namespaced
7210 libraries. (Incompletely tested for technical reasons, fixes may follow)
7213 2001-11-13 Michael Meeks <michael@ximian.com>
7215 * libspi/application.c
7216 (impl_accessibility_application_get_version),
7217 (impl_accessibility_application_get_toolkit_name):
7219 (impl_accessibility_application_set_id),
7220 (impl_accessibility_application_get_id): remove
7221 redundant casting code.
7223 * libspi/action.c (impl_getDescription): fix warnings.
7225 * libspi/accessible.c
7226 (impl_accessibility_accessible_get_parent),
7227 (impl_accessibility_accessible_get_child_at_index),
7228 (impl_accessibility_accessible_get_state),
7229 (impl_accessibility_accessible_get_relation_set):
7230 warning fixes & include action.h
7232 2001-11-13 Michael Meeks <michael@ximian.com>
7234 * *.[ch] fix bits I screwed up:
7236 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7237 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7239 2001-11-13 Michael Meeks <michael@ximian.com>
7241 * *.[ch] Namespace libspi into spi_ and Spi.
7243 2001-13-11 Michael Meeks <michael@ximian.com>
7245 * Makefile.am: dist & install at-spi-1.0.pc
7247 * libspi/Makefile.am: install into at-spi-1.0
7249 * idl/Makefile.am (idldir): install into at-spi-1.0
7251 * at-spi-1.0.pc.in: add.
7253 * configure.in: build it.
7255 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7257 * test/keysynth-demo.c:
7258 Use a 'realize' signal-handler to set the WM properties for
7259 the virtual keyboard, rather than making it a "POPUP" type
7260 override-redirect window (thanks to anders carlsson for that
7263 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7266 * test/keysynth-demo.c:
7267 Added new test of key synthesis, which creates a simple
7268 (mouse-operated) onscreen keyboard. It inserts key events into
7269 the currently-focused window, thus it does not grab keyboard focus
7272 * cspi/spi_registry.c:
7273 Added C binding for AT-SPI generateKeyEvent.
7275 * libspi/deviceeventcontroller.c:
7276 Added call to XFilterEvent so that key listener works with XIM (we
7277 hope). Added event_synth_type to generateKeyEvent, so that we can
7278 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7279 synthesize a press/release pair for KeySyms.
7281 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7283 * libspi/Makefile.am:
7284 * registryd/Makefile.am:
7285 (temporary) hack to include libXtst in libspi and registryd.
7286 (Needed for keystroke synthesis, see below).
7289 Improved API for registerKeystrokeListener, in accordance with
7290 discussions with Gnopernicus team and X server research.
7292 * libspi/registry.c:
7293 * libspi/deviceeventcontroller.c:
7294 * libspi/accessible.c:
7295 * libspi/keystrokelistener.c:
7296 Changes and fixes to support keylisteners for potentially
7297 consumed key events (that is, 'passive grabs').
7298 Added implementation for generateKeyEvent() [untested].
7301 Changes to registerKeystrokeListener() API, as above.
7302 Added deregisterGlobalEventListenerAll(), and
7303 deregisterKeystrokeListener(), which are needed for clean exit of
7305 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7306 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7308 * cspi/spi_registry.c:
7309 Added implementations of function prototypes mentioned above.
7311 * registryd/registryd.c:
7312 Added the key listener event source as a g_timeout(), to allow
7313 receipt of key events that are not caught by GDK (since GDK
7314 doesn't support passive keygrabs, this was necessary).
7317 Changed to attach a keylistener to 'Alt' keys, and
7318 respond to the following keycommands: Alt-M (toggle magnifier);
7319 Alt-F (toggle speech); Alt-Q (quit).
7320 Added an exit routine to deregister the listeners, and a key
7321 listener that prints some key info to the console when a key
7322 matches the listener mask (and is thus received by the listener).
7324 * util/idl/Magnifier.idl:
7325 Changes to magnifier API to support multiple zoom regions,
7326 non-uniform scaling in x and y, markDirty, and a host of other
7327 features that would be useful to magnification.
7330 * util/mag_client.c:
7331 * util/mag_client.h:
7332 * util/mag_control.c:
7334 Source code changes to support the above IDL changes.
7337 As above, and also changes to use a (slower) generic conversion
7338 path for colormap conversions, since the fast RGB conversions have been
7339 reported to fail for 16-bit displays.
7341 2001-10-26 Michael Meeks <michael@ximian.com>
7343 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7345 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7347 * at-bridge/Makefile.am: fix LDFLAGS.
7349 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7351 * at-bridge/bridge.c:
7352 Re-worked listeners for toolkit events, now we have signal
7353 and property listeners. Added a private method
7354 register_atk_event_listeners(), which registers with the
7355 various atk and gtk signals we need to monitor in order to emit
7357 Added emission hook for AtkObject:property-change events, to
7358 support the 'property listeners'.
7359 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7362 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7363 which emit warnings and exit, respectively, if CORBA errors occur
7364 during remote calls, and we now use these methods to check most of
7365 our CORBA calls in the C bindings.
7367 * cspi/spi_accessible.c:
7368 Changed AccessibleSelection_refSelectedChild() to
7369 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7370 now increment refcounts.
7372 * cspi/spi_component.c:
7373 Fixed some long pointer casts (dangerous!) to pass pointers to
7374 CORBA_longs of the proper type to the CORBA stubs, and copy the
7375 data into the longs that were passed into the C bindings code.
7377 * at-bridge/bridge.c:
7379 * libspi/accessible.c:
7380 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7381 hyperlinks, AtkHyperlink is an object type.
7383 * libspi/application.c:
7384 Added various conversions to and from "generic" event types and
7385 atk-specific types; this is really part of the 'bridge'
7386 implementation but is valid for all AtkObject-based accessibility
7389 * libspi/editabletext.c:
7390 Fixed nasty bug wherein editable text's finalize method was
7391 unref'ing tha AtkObject reference that the text parent class was
7392 about to unref _again_. There was also a nasty inheritance bug
7393 that meant that the AccessibleEditableText class was corrupt.
7395 * libspi/selection.c:
7396 Provided implementations for some selection API that was broken.
7398 * idl/Application.idl:
7399 Added registerObjectEventListener () method.
7402 Fixed a number of return values that were Bonobo_Unknowns from
7403 bonobo_object_corba_objref(), which I
7404 forgot to dup before returning. Changed instances of
7405 bonobo_object_corba_objref (bonobo_object(o)) to
7406 BONOBO_OBJREF(o), for concision and clarity.
7408 2001-10-13 Louise Miller <louise.miller@sun.com>
7410 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7411 idl/Event.idl, idl/Registry.idl
7412 Changed these files to include Bonobo_Unknown.idl instead
7415 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7417 * libspi/component.c libspi/component.h:
7418 Fixed typo. Added assertions for object checks in
7419 AccessibleComponent code.
7421 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7423 * idl/Accessible.idl:
7424 Added 'isEqual (Accessible *object)'
7425 method for Accessible. (Not Yet Implemented).
7428 Changed signature of registerKeystrokeListener() to
7429 take a KeySet and KeyEventSeq so that specific keys and event
7430 types could be requested for monitoring, and added a flag
7431 is_synchronous so that either synchronous or asynchronous
7432 notification could be requested. (However this is not all
7433 implemented yet). This also meant adding two new typedefs,
7434 KeyEventSeq and KeySet.
7437 Added two new relations, RELATION_TOOLTIP_FOR and
7438 RELATION_LEAFNODE_OF.
7441 Added new state, STATE_HAS_TOOLTIP.
7443 * libspi/text.c, editabletext.c:
7444 Added new assertions to all casts of bonobo-objects from
7445 CORBA servants, to prevent Text API calls on non-text objects.
7446 Changed suspect casts of int-pointer types, so that we
7447 always send a valid CORBA_long pointer to the CORBA APIs that use
7448 in/out long parameters. We then have to copy from the CORBA_long
7449 into the regular long or int for return to the C bindings, or
7450 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7453 * libspi/deviceeventcontroller.c:
7454 Cleaned these sources up.
7456 Changed return type for getCharacterAtOffset to
7457 CORBA_unsigned_long, to allow for 32-bit characters.
7460 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7464 Fixed 'make dist' so that distro compiles...
7465 * libspi/keymasks.h:
7467 * cspi/spi-listener.c:
7468 KeystrokeListenerCB now returns a boolean.
7470 Added KeyEventType struct, and KeyStroke.
7471 Also added createKeystrokeListener(),
7472 KeystrokeListener_addCallback(),
7473 KeystrokeListener_removeCallback(), and added a keymask to
7474 registerKeystrokeListener().
7475 * cspi/spi_accessible.c:
7476 Changed numerous return types for interfaces from
7477 AccessibleComponent to Accessible<InterfaceName>; this was
7478 probably a cut-and-paste error.
7480 Implementations of new KeystrokeListener api (from spi.h,
7483 Changes to key modifier mapping.
7484 Created ControllerEventMask struct.
7485 Made DeviceEventController derive from Bonobo::Unknown.
7487 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7488 * libspi/deviceeventcontroller.c:
7489 Added a number of new internal (private) methods.
7490 * libspi/editabletext.c:
7491 * libspi/editabletext.h:
7492 Fixed a number of bugs related to the fact that
7493 editabletext inherits from text. Fixed the EditableText struct,
7494 the init() call, and use correct casts when calling Text methods
7495 from an EditableText object. Removed (duplicate) atko from the
7496 EditableText structure, we use the one in the parent Text
7497 structure via the casts mentioned above.
7498 * libspi/keystrokelistener.[ch]:
7499 * libspi/registry.c:
7500 Changes in support of keyboard handling (above).
7502 Keyboard handling, though partly functional, is still not
7503 recommended for at-spi client use as there is considerable
7504 work yet to be done.
7507 Changed some places where pointers to various int types
7508 are cast to be pointers to CORBA_long types and vice-versa:
7509 pointer casting is not safe so we pass pointers of the correct
7510 types and then cast the result before putting it into the target
7513 * libspi/text.h: minor typos corrected.
7515 We now speak not only the name of a Text element, but the
7516 first sentence of its content, when it receives focus.
7517 I also changed the text compression to 75% from 50%.
7518 * util/Accessibility_Util.server.in:
7519 Changed the default magnifier type to be a 3x vertical
7520 splitscreen magnifier (was previously a 2x horizontal one).
7522 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7524 * libspi/keystrokelistener.h:
7525 * libspi/keystrokelistener.c:
7526 Initial functional implementations of KeystrokeListener.
7529 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7531 Fixed string handling for NULL strings in libspi.
7532 Added spi_freeString to free strings returned by C bindings.
7534 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7536 * libspi/keystrokelistener.h:
7537 * libspi/keystrokelistener.c:
7538 Began (no-op) implementations of KeystrokeListener
7540 * libspi/deviceeventcontroller.c:
7541 * libspi/deviceeventcontroller.h:
7542 Began creating implementations of DeviceEventController,
7543 to handle keystroke and mouse event listening and
7545 * libspi/accessible.c:
7546 Stubbed-in the implementations for
7547 Accessibility_Accessible_getState and
7548 Accessibility_Accessible_getRelationSet.
7549 * libspi/registry.c:
7550 Improved de-registration process and fixed some bugs,
7551 deregistration now works correctly.
7553 Added initialization of applications list (to NULL).
7555 Reduced speech compression from 0.5 to 0.7, for demo.
7556 Changed call to gdk_window_set_decorations()
7557 to gtk_window_set_decorated().
7558 * at-bridge/bridge.c:
7559 Bridge now deregisters when app exits, via
7560 registration of a cleanup function
7561 with the g_atexit() call.
7562 Required making 'app' static, renamed 'this_app'.
7563 Fixed broken use of bonobo_init, passing argv wrongly.
7565 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7569 Created a new directory for
7570 accessibility-related utilities, primarily for
7571 testing and demo purposes, but with possible
7578 Onscreen magnifier utility that
7579 is implemented as a bonobo service.
7581 * util/mag_client.c:
7582 * util/mag_client.h:
7583 Client-side support (simple C bindings)
7584 for Magnification service
7586 * util/mag_control.c:
7587 Client program example for
7588 Magnification service
7590 * util/Accessibility_Magnifier.server.in:
7591 Bonobo-activation file for the
7592 Magnification service.
7595 * util/idl/Magnifier.idl:
7596 IDL defining the bonobo Magnification
7600 Modifications to use the bonobo-activated magnifier
7601 above, in place of trying to connect to an existing
7602 magnifier that uses socket-listening IPC.
7604 If env variable MAGNIFIER is set, a magnifier service
7605 will be started if one does not exist.
7607 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7609 * at-bridge/bridge.c:
7610 applied patch from Marc to build and run
7611 against new glib and gtk+ (seemed like a change
7612 to bonobo_init signature was made ?)
7614 made festival-server support turned off by default.
7615 Added support for a simple magnifier (off by default)
7616 which will be added to a 'util' directory later.
7617 * at-bridge/Makefile.am:
7618 Changed "application.h" header from a 'source'
7619 to a 'dependency' of libat-bridge.
7621 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7630 Added interface implementation c files to list of
7631 includes so they are included in libcspi.
7634 Changed prototype of AccessibleAction_doAction to return a
7636 Changed prototype of AccessibleTable_getCaption to
7637 return an Accessible.
7638 Changed prototype of AccessibleTable_getSelectedRows
7639 and AccessibleTable_getSelectedColumns to
7640 return a long (returns the number of selected rows
7641 or columns respectively).
7642 Changed name of AccessibleText_refRunAttributes to
7643 AccessibleText_getAttributes.
7644 Changed prototype of AccessibleText_getCharacterExtents to
7645 return a void rather than a boolean.
7646 Added support for a AccessibleCoordType parameter
7647 specifying what type of coordinates are desired.
7648 Added an AccessibleCordType parameter to
7649 AccessibleText_getPointAtOffset.
7651 * cspi/spi_accessible.c:
7652 Added code to return the outstanding interfaces from
7653 Accessible_queryInterface.
7655 * cspi/spi_action.c:
7657 Corrected call to getNActions to call the c binding
7660 * cspi/spi_editabletext.c:
7662 Changed name from setRunAttributes to setAttributes.
7664 * cspi/spi_hyperlink.c:
7666 Changed call to getNAnchors to correctly call the c
7667 binding for an attribute.
7669 * cspi/spi_hypertext.c:
7671 Changed getImageDescription to correctly call the
7672 binding for an attribute.
7674 * cspi/spi_selection.c:
7675 Changed getNSelectedChildren to correctly call the c
7676 binding for the attribute.
7677 Changed refSelectedChild to getSelectedChild.
7681 Changed getCaption to return an Accessible.
7682 Fixed calls which retrieve attributes.
7683 Changed refAt to getAccessibleAt.
7684 Changed getNSelectedRows and getNSelectedColumns to
7688 Changed getCharacterExtents and getPointAtOffset to accept an
7689 AccessibleCoordType.
7691 Changed calls which retrieve attributes.
7692 Changed refRunAttributes to getAttributes.
7697 * idl/Hyperlink.idl:
7698 Changed n_anchors attribute to nAnchors to keep naming
7699 convention consistent.
7702 Made Table inherit from Bonobo::Unknown.
7703 Added nSelectedColumns and nSelectedRows attributes.
7706 Made Value inherit from Bonobo::Unknown.
7708 * libspi/hyperlink.c:
7709 Change for nAnchors attributte name change.
7711 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7719 Added interface implementation c files to list of
7720 includes so they are included in libcspi.
7723 Changed prototype of AccessibleAction_doAction to return a
7725 Changed prototype of AccessibleTable_getCaption to
7726 return an Accessible.
7727 Changed prototype of AccessibleTable_getSelectedRows
7728 and AccessibleTable_getSelectedColumns to
7729 return a long (returns the number of selected rows
7730 or columns respectively).
7731 Changed name of AccessibleText_refRunAttributes to
7732 AccessibleText_getAttributes.
7733 Changed prototype of AccessibleText_getCharacterExtents to
7734 return a void rather than a boolean.
7735 Added support for a AccessibleCoordType parameter
7736 specifying what type of coordinates are desired.
7737 Added an AccessibleCordType parameter to
7738 AccessibleText_getPointAtOffset.
7740 * cspi/spi_accessible.c:
7741 Added code to return the outstanding interfaces from
7742 Accessible_queryInterface.
7744 * cspi/spi_action.c:
7746 Corrected call to getNActions to call the c binding
7749 * cspi/spi_editabletext.c:
7751 Changed name from setRunAttributes to setAttributes.
7753 * cspi/spi_hyperlink.c:
7755 Changed call to getNAnchors to correctly call the c
7756 binding for an attribute.
7758 * cspi/spi_hypertext.c:
7760 Changed getImageDescription to correctly call the
7761 binding for an attribute.
7763 * cspi/spi_selection.c:
7764 Changed getNSelectedChildren to correctly call the c
7765 binding for the attribute.
7766 Changed refSelectedChild to getSelectedChild.
7770 Changed getCaption to return an Accessible.
7771 Fixed calls which retrieve attributes.
7772 Changed refAt to getAccessibleAt.
7773 Changed getNSelectedRows and getNSelectedColumns to
7777 Changed getCharacterExtents and getPointAtOffset to accept an
7778 AccessibleCoordType.
7780 Changed calls which retrieve attributes.
7781 Changed refRunAttributes to getAttributes.
7786 * idl/Hyperlink.idl:
7787 Changed n_anchors attribute to nAnchors to keep naming
7788 convention consistent.
7791 Made Table inherit from Bonobo::Unknown.
7792 Added nSelectedColumns and nSelectedRows attributes.
7795 Made Value inherit from Bonobo::Unknown.
7797 * libspi/hyperlink.c:
7798 Change for nAnchors attributte name change.
7801 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7803 implementations-- made server implementations own AtkObject pointers
7804 rather than their respective AtkInterrface pointers to fix
7805 refcounting. AtkHyperlink is still broken.
7807 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7808 * cspi/spi_accessible.c:
7809 Added method Accessible_Role_getName(),
7810 and requisite string array (role_names).
7811 Added conversion string_from_corba_strin() call
7812 to Accessible_getName and _getDescription.
7813 * libspi/accessible.c:
7814 Added implementation for Accessible_getRole()
7816 Added festival support, used if environment variable
7819 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7821 * at-bridge/bridge.c:
7822 Now allocate Accessibility_Event using
7823 Accessibility_Event__alloc() instead of g_new0().
7824 * libspi/accessibleeventlistener.c:
7825 Initialize AccessibleEventListener->callbacks to NULL.
7826 Fixed accessible__event_listener_init() param, changed to
7827 "AccessibleEventListener *" type.
7828 Changed a bonobo_object_release_unref() call to
7829 Accessibility_Accessible_unref().
7830 * libspi/listener.c:
7831 Changed Bonobo_Unknown_unref to (equivalent)
7832 Accessibility_Accessible_unref.
7833 * libspi/registry.c:
7834 Changed bonobo_object_release_unref to
7835 Accessibility_Accessible_unref.
7837 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7840 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7841 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7842 spi-util.c spi-util.h
7843 Implementations for C bindings to remaining accessibility
7846 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7849 changed return value of Action from void to boolean to
7850 bring in line with ATK.
7853 Changed getText funcions to return "out" start and end offsets.
7854 Changed getAttributes to take and offset and return the start
7855 and end offset of the attribute run.
7856 Changed getOffsetAtPoint and getCharacterExtents to take an
7857 enum describing whether coordinates are window or screen.
7860 libspi/action.c libspi/action.h libspi/editabletext.c
7861 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7862 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7863 libspi/image.h libspi/selection.c libspi/selection.h
7864 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7865 libspi/value.c libspi/value.h
7866 Added server implementations for outstanding ATK interfaces
7867 not yet implemented.
7869 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7872 Added (missing) getName() method.
7873 Made nActions an attribute.
7874 * idl/EditableText.idl:
7875 Changed order of params in setAttributes.
7876 * idl/Hyperlink.idl:
7877 Removed getAnchor, added getURI.
7879 Changed attributes to methods, for efficiency
7880 (so that getting extents can be done in one call)
7881 * idl/Selection.idl:
7882 Changed nSelectedChildren to attribute, and re-indented.
7883 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7885 * idl/Text.idl: reformatted to match our coding style.
7886 (temporarily?) removed getRowColumnAtOffset().
7887 Changed text selection API to support multi-select and
7888 non-contiguous selections, as in ATK.
7889 * idl/Value.idl: changed some methods to attributes.
7891 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7893 * libspi/listener.c(impl_notify_event):
7894 BonoboUnkown_unref the source instead
7895 of bonobo_object_release_unref - the ORB
7896 handles the releasing.
7898 * configure.in: require ORBit-2.3.94 for
7901 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7903 Tagged CVS repository 'EA_1_0'.
7904 * README.EARLY_ACCESS:
7905 Alphabetized acknowledgements list, and
7907 Listed some known dependencies of at-spi.
7909 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7911 * docs/at-spi-docs.sgml:
7912 * docs/at-spi-sections.txt:
7913 * docs/at-spi-overrides.txt: (Added zero-length file)
7914 Documentation improvements - gtk-doc should build
7915 docs for all implemented C bindings now.
7918 * cspi/spi.c: (New file)
7919 * cspi/spi_event.c: (New file)
7920 * cspi/spi_registry.c: (New file)
7921 * cspi/spi_accessible.c: (New file)
7922 * cspi/spi_application.c: (New file)
7923 * cspi/spi_component.c: (New file)
7924 Split spi_main.c into six parts, and included them from
7925 "spi.c". This is a bit of a hack, probably temporary,
7926 but required by gtk-doc, apparently.
7928 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7931 * docs/at-spi-docs.sgml:
7932 * docs/at-spi-sections.txt:
7934 Initial checkins/modifications for gtk-doc generation.
7937 Added (missing) interface query methods to Accessible's C binding.
7939 Added GenericInterface type definition.
7941 Added query for AccessibleComponent interface to focus event handler.
7942 Added printout of bounding box for focussed component.
7943 * libspi/component.c:
7944 Added partial implementation for AccessibleComponent to C binding.
7945 * idl/Application.idl:
7946 * libspi/registry.c:
7947 * libspi/listener.c:
7948 * libspi/application.c:
7949 * libspi/application.h:
7950 Changed "ID" attribute type from string to long.
7952 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7956 Made method naming consistent: methods taking object args
7957 start with uppercase, other methods (except those using
7958 acronyms) start with lowercase. Underscores delimit between
7959 object names and method names:
7960 SPI_init() - uppercase since it starts with an acronym.
7961 getDesktopCount () - lowercase start since no object param0.
7962 Accessible_getName() - uppercase object type name, studlyCaps method
7966 Added gtk-doc documentation for all currently implemented
7967 methods in the C bindings API.
7969 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7971 * Makefile.am : changed build order to build test last.
7974 Changed "createEventListener" to "CreateEventListener".
7975 * libspi/accessibleeventlistener.c :
7976 Bugfix for addition of callbacks.
7977 * test/Makefile.am :
7978 * test/simple-at.c :
7979 Added new test that uses the C bindings API.
7981 * libspi/listener.c :
7982 * libspi/registry.c :
7983 * libspi/accessibleeventlistener.c :
7984 * at-bridge/bridge.c :
7985 Renamed member "target" of Accessibility_Event to "source",
7986 which is more descriptive.
7989 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7993 * cspi/Makefile.am :
7994 Added makefile support for at-spi/cspi directory.
7997 * cspi/spi-listener.h : (NEW FILE)
7998 Added support for/use of spi-listener.h.
8000 C bindings now build successfully, with no warnings.
8001 * libspi/accessibleeventlistener.h : (NEW FILE)
8002 * libspi/accessibleeventlistener.c : (NEW FILE)
8003 * libspi/Makefile.am :
8004 Added new object type "AccessibleEventListener"
8005 which inherits from Listener, and allows attachment
8006 of in-process callbacks (so that a client with a listening
8007 object instance can add functionality to the local
8008 implementation, dynamically).
8010 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8012 * libspi/accessible.c:
8013 Add implementation for get_index_in_parent().
8015 Added #include of "spi-roletypes.h", and
8016 added enumerated type AccessibleCoordType.
8017 Added definition for KeystrokeListener (function type).
8020 * cspi/spi-statetypes.h :
8021 * cspi/spi-roletypes.h :
8023 Added these headers, used by spi.h.
8025 Added code (NOTE: not yet built by make).
8027 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8029 * libspi/Makefile.am: generate imodule
8030 at the same time as other idl compiler
8033 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8034 * libspi/registry.c :
8035 * libspi/application.c :
8036 * idl/Application.idl :
8037 Made registration with toolkit an application method,
8038 which is required since each app has its own toolkit static
8039 environment. Thus the bridge must register for
8040 notification of toolkit events from each application in turn.
8041 Toolkit notifications are now successfully registered for, and
8042 sent to the listening at client.
8044 Changed toolkit event string to use hyphens rather than underscores.
8045 * libspi/listener.c :
8046 listner now gives more info in debug mode - it reports the
8047 name of the event received, as well as the name of the source.
8050 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8052 * libspi/registry.c :
8053 added more implementation for toolkit events.
8054 Fixed bug such that toolkit event registrations
8055 (via atk) use the whole event name string, not
8057 Removed a useless call to an ORBit_ method.
8058 * at-bridge/bridge.c :
8059 Removed unused local sbuf[] variable.
8061 We now register for Gtk:GtkWidget:button_press_event
8062 events as well as "focus:" events.
8064 Add some more API from Registry.idl that was missing,
8065 for keystroke listening, keystroke and mouse event
8066 synthesis, and enumeration of accessible desktops.
8068 2001-08-16 Michael Meeks <michael@ximian.com>
8070 * configure.in: use AM_GLIB_GNU_GETTEXT.
8072 * Makefile.am (SUBDIRS): kill intl.
8074 2001-08-15 Michael Meeks <michael@ximian.com>
8076 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8078 * configure.in: upd.
8080 * configure.in: depend on a recent bonobo-activation that
8081 will find our server files ...
8083 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8085 * libspi/accessible.c : accessible_new() :
8086 Now we add the Component interface via bonobo_object_add_interface,
8087 if the contained AtkObject implements AtkComponent.
8088 * libspi/accessible.h : now include "component.h"
8089 * libspi/component.h :
8090 * libspi/component.c : added files - implementation of
8091 bonobo wrapper object for Accessibility/Component
8092 * libspi/listener.c :
8093 Added test code to check for Accessibility/Component:1.0
8094 interface and report whether it is implemented by the
8096 * libspi/registry.c :
8097 Now we check for not only the hash of the whole event
8098 string before relaying the event, we also check the
8099 "minor" event string (without the detail string).
8100 This allows event listeners to be registered against
8101 all events of a certain major+minor type, or just
8102 against a specific major+minor+detail type.
8103 * libspi/accessible.c :
8104 Added implementations for Accessible:get_parent(),
8105 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8106 * libspi/registry.c :
8107 * libspi/listener.c :
8108 Replaced calls to Accessibility_Accessible_ref() and
8109 Accessibility_Accessible_unref() with
8110 calls to bonobo_object_dup_ref() and
8111 bonobo_object_release_unref(), so that the CORBA object
8112 is dup-ed and released when relayed, as well as the bonobo object.
8114 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8116 * libspi/Makefile.am,
8117 registryd/Makefile.am,
8118 at-bridge/Makefile.am.
8119 test/Makefile.am, configure.in:
8120 reverse previous changes.
8122 * /idl/Image.idl: fix typo.
8124 * test/Makefile.am: put DEBUG_FLAGS
8127 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8129 * test/app.c: use argv[0] instead of
8132 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8134 * libspi/Makefile.am,
8135 registryd/Makefile.am,
8136 at-bridge/Makefile.am.
8137 test/Makefile.am, configure.in:
8138 cleanup, replace individual LIBS/CFLAGS with
8139 AT_COMMON_{LIBS|CFLAGS}.
8143 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8145 * configure.in, libspi/Makefile.am:
8146 Change IDL path checking for bonobo-activation
8149 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8151 * registryd/registry.c : separated event listeners to use
8152 3 separate lists (focus, window, toolkit). Began testing
8153 event names against hashes before relaying events.
8154 * test/at.c : now register for events of type "focus:"
8155 * test/app.c : now generate events of type "focus:"
8156 * at-bridge/bridge.c : register with ATK for focus events,
8157 and we now relay those focus events to any "focus:" listeners.
8158 This now works with the bridge as a GTK_MODULE when running test/at.
8159 * libspi/registry.c :
8160 * libspi/listener.c :
8161 now we ref event sources before propagating, and unref on receipt.
8162 * libspi/registry.c :
8163 some changes to internal structs, to support event typestring hashes.
8164 * text/app.c : changed the way the appname is generated.
8165 * cspi : added directory that will hold the C bindings library for
8166 non-CORBA/bonobo-savvy clients.
8167 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8168 * idl/Component.idl : added in parameter to indicate coord system for
8169 geometry-related calls.
8170 * idl/Hyperlink.idl : added readonly n_links attribute
8171 * idl/Image.idl : changed methods to attributes.
8173 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8175 * at-bridge/Makefile.am: link against
8176 ../libspi/libspi.la instead of -lspi.
8178 * at-spi/test/app.c: include
8179 bonobo-activation.h. Use a default appname
8180 if one is not provided.
8182 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8184 * idl/Registry.idl : temporarily changed register_Application
8185 to oneway, to work around issue with initial registration
8187 * idl/Application.idl : changed attribute "id" from readonly
8188 to read-write, since it needs to be assigned by Registry.
8189 * registryd/registryd.c : added call to set application id
8191 * registryd/registry.c : changed de-registration procedure to
8192 use CORBA_Object_hash() to find matching object ref in application
8193 lists and listener lists.
8194 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8195 began distinguishing between event types (work in progress).
8197 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8200 * libspi/application.c:
8201 Added implementations for get/set id, get_toolkitName,
8203 * registryd/registryd.c :
8207 Converted from use of OAF to bonobo-activation.
8208 * libspi/desktop.h :
8209 * libspi/desktop.c :
8211 Removed references to atksimpleobject, since base atkobject
8212 implementation now provides functionality we need.
8213 * libspi/atksimpleobject.c :
8214 * libspi/atksimpleobject.h :
8219 * at-bridge/Makefile.am
8220 * at-bridge/bridge.c
8223 Added directory "bridge" and contents, and added dependencies
8224 in Makefile.am/configure.in.
8225 Initial checkin of "at-bridge".
8226 This code is a GTK_MODULE which automatically registers
8227 GTK+ apps with the accessibility registry, using an object
8228 reference to the root ATK object.
8230 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8232 * po/Makefile.in.in: Remove. Again. If this
8233 doesn't get autogenerated - you need to update
8236 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8238 * po/Makefile.in.in: Add. Again.
8240 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8242 * libspi/accessible.c : added support for 'description' property.
8243 * libspi/accessible.c
8245 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8246 (since the two are now equivalent in libbonobo)
8254 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8255 Bonobo::Unknown as does Accessibility::Accessible.
8256 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8257 interface with Bonobo::Stream, since it was redundant with it.
8258 (The Stream returned by a StreamableContext object is expected to
8259 implement only a subset of Bonobo::Stream)
8261 2001-07-28 Anders Carlsson <andersca@gnome.org>
8263 * libspi/accessible.c (accessible_object_finalize): Change
8264 g_free to g_object_unref since the AtkObject is a GObject.
8266 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8268 * idl/Accessibility.idl: add new IDL files
8271 * idl/Action.idl: Definitions of actionable UI object
8272 * idl/Component.idl: Definitions of UI component geometry, etc.
8273 * idl/Hyperlink.idl: Defs of hyperlink behavior
8274 * idl/Image.idl: Def of accessible image
8275 * idl/Selection.idl: Definition of UI object with selectable children
8276 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8277 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8278 * idl/Text.idl: Interface defs for UI elements with complex textual content
8279 * idl/Value.idl: Definition of UI element that is a value controller or display
8281 2001-07-27 Michael Meeks <michael@ximian.com>
8283 * po/Makefile.in.in: remove autogenerated file from CVS.
8285 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8288 * idl/Registry.idl: include guard.
8290 * idl/Accessibility.idl: Add, and include all the other IDL
8293 * idl/*.idl: remove mass of pragmas etc.
8295 2001-07-26 Michael Meeks <michael@ximian.com>
8297 * registryd/Makefile.am (registryd_SOURCES): remove
8300 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8302 * libspi/.cvsignore, registryd/.cvsignore,
8303 test/.cvsignore: updated.
8305 * po/Makefile.in.in: gettext update.
8307 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8309 * initial CVS checkin
8311 2001-06-29 Michael Meeks <michael@ximian.com>
8313 * configure.in: add AM_CONFIG_HEADER to gen config.h