1 2007-05-30 Willie Walker <william.walker@sun.com>
3 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
4 439436 to add pyatspi to autotools stuff so it gets installed as
5 part of a make install.
7 2007-05-17 Li Yuan <li.yuan@sun.com>
10 Bug #439057. Add the original PATH to PATH.
12 2007-04-23 Li Yuan <li.yuan@sun.com>
15 Uprev/release 1.19.1 for GNOME 2.19.1.
17 2007-04-18 Li Yuan <li.yuan@sun.com>
19 * pyatspi/__init__.py:
20 * pyatspi/accessible.py:
21 * pyatspi/constants.py:
23 * pyatspi/registry.py:
25 Bug #430938. Add some files to create the uniform Python
28 2007-04-12 Li Yuan <li.yuan@sun.com>
30 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
31 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
32 Fix #427836. Fix leak and unify the code style.
34 2007-04-12 Yi Jin <yi.jin@sun.com>
36 * atk-bridge/bridge.c:
37 (spi_atk_bridge_focus_tracker):
38 Bug #428007. Fix a memory leak.
40 2007-04-02 Ariel Rios <ariel@gnu.org>
42 Implement the Matchrule interface required for Collection.
48 * cspi/spi_accessible.c: (Accessible_isCollection),
49 (Accessible_isMatchRule), (Accessible_getCollection),
50 (Accessible_getMatchRule):
51 * cspi/spi_collection.c: new file.
52 * cspi/spi_matchrule.c: new file.
53 * idl/Accessibility.idl:
54 * idl/Accessibility_Collection.idl: new file.
57 * libspi/collection.c: new file.
58 * libspi/collection.h: new file.
60 * libspi/matchrule.c: new file.
61 * libspi/matchrule.h: new file.
63 2007-03-29 Ariel Rios <ariel@gnu.org>
65 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
67 2007-03-22 Li Yuan <li.yuan@sun.com>
69 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
70 main context. Fix for #329454.
72 2007-03-12 Li Yuan <li.yuan@sun.com>
74 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
76 2007-03-02 Li Yuan <li.yuan@sun.com>
79 (spi_atk_bridge_register_application),
80 (deregister_application), (spi_atk_bridge_focus_tracker),
81 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
82 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
83 to prevent calling threads_enter/leave during the init and shutdown.
85 2007-02-27 Li Yuan <li.yuan@sun.com>
88 (spi_re_entrant_list_delete_link):
89 Bug #412286. Reverse previous patch.
90 * configure.in, NEWS: Uprev/release 1.17.2.
92 2007-02-26 Li Yuan <li.yuan@sun.com>
94 * libspi/accessible.c:
95 (impl_accessibility_accessible_get_attributes),
96 (impl_accessibility_accessible_get_relation_set):
97 Bug #404584 and #401299. Return an empty object instead of return NULL.
98 * configure.in, NEWS: Uprev/release 1.17.1.
100 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
102 * Makefile.am: Dist MAINTAINERS.
104 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
106 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
107 (atk_bridge_init), (spi_atk_bridge_get_registry),
108 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
109 Fix some compiler warnings and plug a leak. Closes part of
112 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
114 * cspi/bonobo/cspi-bonobo-listener.h:
115 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
116 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
117 * cspi/spi_main.c: (SPI_eventIsReady):
118 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
119 * libspi/streamablecontent.c:
120 * libspi/util.c: (spi_re_entrant_list_delete_link):
121 * login-helper/login-helper.c:
122 * registryd/deviceeventcontroller.c:
123 (spi_controller_update_key_grabs), (isEvent):
124 * registryd/registry.c:
125 * test/key-listener-test.c: (simple_at_exit):
126 * test/login-helper-server-test.c: (test_set_wm_dock),
128 Fix a bunch of warnings from sparse:
129 - ANSIfication of function declarations
131 - Add some prototypes
132 - make some stuff static
134 2007-02-14 Li Yuan <li.yuan@sun.com>
136 * libspi/accessible.c:
137 (impl_accessibility_accessible_get_attributes):
138 Bug #404584. If there is no attributes, just return NULL.
140 2007-02-12 Li Yuan <li.yuan@sun.com>
142 * configure.in, NEWS: Uprev/release 1.17.0.
144 2007-02-12 Li Yuan <li.yuan@sun.com>
146 * atk-bridge/bridge.c:
147 (atk_bridge_init): bug #400709. we must emit events even if we are not
148 registered as a full-fledged app.
149 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
150 application like openoffice shutdown. They need to unload gtk before
151 the is spi_atk_bridge_exit_func called.
153 2007-01-22 Li Yuan <li.yuan@sun.com>
155 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
157 2007-01-22 Li Yuan <li.yuan@sun.com>
159 * cspi/bonobo/cspi-bonobo.c:
160 (cspi_get_registry_ior), (cspi_init):
161 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
163 2007-01-19 Li Yuan <li.yuan@sun.com>
165 * atk-bridge/bridge.c:
166 (atk_bridge_init), (spi_atk_bridge_register_application),
167 (deregister_application), (spi_atk_bridge_focus_tracker),
168 (spi_atk_emit_eventv):
169 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
172 2007-01-08 Li Yuan <li.yuan@sun.com>
174 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
176 2007-01-08 Li Yuan <li.yuan@sun.com>
178 * registryd/registry-main.c:
179 (main): set registry ior only when register server successfully.
180 * atk-bridge/bridge.c:
181 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
182 Bug #372988, #381670. Fix memory leak.
184 2007-01-02 Bill Haneman <billh@gnome.org>
187 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
188 appending default attributes to a text attribute set.
191 2006-12-28 Li Yuan <li.yuan@sun.com>
193 * atk-bridge/bridge.c:
194 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
195 the second time, because spi_atk_emit_eventv will free any. Bug
198 2006-12-15 Li Yuan <li.yuan@sun.com>
200 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
202 2006-12-14 Li Yuan <li.yuan@sun.com>
205 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
206 (spi_atk_bridge_property_event_listener),
207 (spi_atk_bridge_signal_listener):
208 Free some CORBA objects to fix memory leak and crash.
210 2006-12-13 Li Yuan <li.yuan@sun.com>
212 Patch from Ariel Rios to fix #163132 and #377079.
213 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
214 (spi_atk_bridge_get_registry_ior):
215 Use g_warning instead of g_error and g_critical to avoid crash.
217 2006-12-11 Bill Haneman <bill.haneman@sun.com>
220 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
221 if there are no non-default attributes defined at the current offset.
224 2006-12-04 Bill Haneman <bill.haneman@sun.com>
226 * idl/Accessibility_Role.idl: Fixed the documentation for
227 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
229 2006-12-04 Bill Haneman <bill.haneman@sun.com>
231 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
233 2006-11-07 Bill Haneman <bill.haneman@sun.com>
235 Patches from Padraig O'Briain for bugs #361386 and #369377.
237 * registryd/registry.c:
238 (struct NotifyContext): Change the e_out
239 member from an Accessibility_Event struct to a pointer to
241 (notify_listeners_cb): Modify to use the new struct definition above.
242 Allows use of ORBit_copy_value instead of CORBA_any__copy.
244 * registryd/deviceeventcontroller.c:
245 (spi_dec_button_update_and_emit): Free the event's any_data
247 (spi_dec_mouse_check):Free the event details any struct
249 (spi_device_event_controller_forward_mouse_event): Free any.
250 (spi_device_event_controller_forward_key_event): Ditto.
252 2006-11-07 Bill Haneman <bill.haneman@sun.com>
254 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
255 Don't require gtk+ and gail for building most of at-spi
258 * registryd/registry-main.c (main): We now get te value of display
259 using the env var DISPLAY rather than using the gdk_display_get_default
260 to avoid dependancy of gdk. Also, once the registry is started, we set
261 the ior of the registry as an X property.
262 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
264 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
265 the registration was successfull.
266 (spi_atk_bridge_do_registration): This function now returns success
267 or not on activating the registry.
268 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
269 has been set in the X root window and return it if available.
270 (spi_atk_bridge_get_registry): We now get the registry using the IOR
271 saved as a X property rather than using the OAFID.
273 2006-10-01 Bill Haneman <bill.haneman@sun.com>
275 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
277 2006-09-25 Bill Haneman <bill.haneman@sun.com>
279 * registryd/registry.c:
280 (desktop_remove_application): Don't pass a ref to the
281 dead application with the event, since it's probably
282 defunct and will cause SEGV if we try to unref,
283 extract app name, etc.
286 2006-09-20 Bill Haneman <bill.haneman@sun.com>
288 Patch from Neo Liu <nian.liu@sun.com>,
291 * atk-bridge/bridge.c:
292 (spi_atk_bridge_document_event_listener): New, for
295 2006-08-30 Bill Haneman <bill.haneman@sun.com>
298 Changed some parameter names so as not to
299 collide with class names - allows IDL to be compiled with
300 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
302 2006-08-22 Bill Haneman <bill.haneman@sun.com>
304 * atk-bridge/bridge.c:
305 (spi_atk_bridge_signal_listener):
306 Patch from Ginn Chen, assign detail1 in children-changed
307 so that the child object can be assigned to the Any when the
308 at-spi event is emitted. Bug #350552.
310 * libspi/application.c:
311 (spi_application_finalize): Remove g_print debug output.
314 2006-08-21 Bill Haneman <bill.haneman@sun.com>
316 * configure.in: Revved to AT-SPI 1.7.11.
318 * libspi/accessible.c:
319 (spi_accessible_new): Aggregate Hyperlink interface
320 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
322 * libspi/hyperlink.c:
323 (spi_hyperlink_new): Don't aggregate Action a second time if this
324 interface is created for an AtkHyperlinkImpl object (i.e. for a
325 child Accessible, as opposed to the Hyperlink instance from
327 (get_hyperlink_from_servant): Obtain the hyperlink from
328 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
330 Patch section from Ginn Chen...
332 * cspi/spi_accessible.c:
333 (_cspi_accessible_set_from_sequence):
334 Changed g_newa to g_new0 on Ginn Chen's suggestion.
336 * libspi/accessible.c:
337 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
338 (spi_accessible_new): Add the Document interface if present.
341 (impl_getAttributes): Fixed to use AtkAttribute properly.
344 (impl_getAttributes, impl_getDefaultAttributes):
345 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
347 2006-08-17 Bill Haneman <bill.haneman@sun.com>
349 * cspi/spi-private.h, cspi/spi_accessible.c:
350 (_cspi_attribute_set_from_sequence): Renamed from
351 cspi_attribute_set_from_sequence, to suppress export.
354 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
355 inline docs, which was keeping the doc from appearing.
356 (SPIExceptionHandler): Doc this.
358 * cspi/spi_document.c:
359 Added inline gtk-docs cut-n-pasted from the doxygen
360 docs in the corresponding IDL files.
361 (AccessibleDocument_getAttributes): Fix the retval here.
363 * cspi/spi_streamablecontent.c:
364 Fixed some 'Since' tags that were accidentally doxygen-style.
367 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
368 docs from the IDL file.
370 * docs/reference/cspi/at-spi-cspi-docs.sgml:
371 Added entities for Document and StreamableContent interfaces.
373 * docs/reference/cspi/at-spi-cspi-sections.txt:
374 Added some docs that were present inline but not getting
377 2006-07-31 Bill Haneman <bill.haneman@sun.com>
380 (impl_getRangeExtents): Use the atk_text_get_range_extents
381 API instead of looping over character bounds, now that
383 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
384 (_spi_text_bounds_contain): Remove, not needed anymore.
385 (_spi_text_rect_union): Remove, not needed anymore.
387 2006-07-31 Bill Haneman <bill.haneman@sun.com>
389 * atk-bridge/bridge.c:
390 (spi_atk_emit_eventv): Fix the CORBA_free call which was
391 causing 64-bit troubles and memory leaks.
392 Special thanks to Alexander Larsson who finally seems to
393 have tracked down the problem, not just here but in
397 (spi_init_any_object): Make sure we copy the CORBA value
398 when initializing an object for passing as a CORBA_Any.
401 2006-07-21 Bill Haneman <billh@gnome.org>
403 * idl/Accessibility.idl:
404 Reverted pragma changes, this broke the build in some envs
405 including the Debian team's build and some tinderbox builds.
407 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
410 Revved to 1.7.10, and edited the Xevie check (bug #319994).
412 * idl/Accessibility.idl:
413 Reworked inclusion of Bonobo_Unknown.idl, to
414 avoid double-linking libs in the Bonobo environment.
415 Thanks to Michael Meeks for the workaround, see bug #313122.
417 * registryd/deviceeventcontroller.c:
418 (spi_controller_notify_keylisteners):
419 Set the SPI_NUMLOCK_MASK bit if the modifier
420 corresponding to the conceptual numlock state is set.
423 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
425 * idl/Accessibility_Selection.idl:
426 (deselectChild): New method.
428 * libspi/selection.c:
429 (impl_deselectChild): Implement the new IDL method.
432 (AccessibleSelection_deselectChild): Added new method.
434 * cspi/spi_selection.c:
435 (AccessibleSelection_deselectChild): New method implemented.
437 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
439 * cspi/bonobo/cspi-bonobo.c:
440 (cspi_init): Replace g_error with g_warning, prevent
441 SEGV if the registry cannot be activated. Bug #346393.
443 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
445 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
447 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
448 2006-07-12 Ariel Rios <arios@us.ibm.com>
452 * idl/Accessibility_Table.idl:
453 (getRowColumnExtentsAtIndex): New method for getting
454 selection status and extents in one API call.
457 (impl_getRowColumnExtentsAtIndex): Implementation of
459 (spi_table_class_init): Add above to epv.
463 (AccessibleTable_getRowColumnExtentsAtIndex): New
464 method, retrieves selection status and row/col extents
465 for a table cell in a single API call.
467 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
468 2006-07-12 Ariel Rios <arios@us.ibm.com>
470 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
473 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
474 New bindings for new methods defined in idl and libspi.
477 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
478 Added prototype functions.
481 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
483 (spi_text_class_init): Added previous methods.
486 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
487 * libspi/spi-private.h: Corrections.
489 2006-06-29 Bill Haneman <bill.haneman@sun.com>
491 Added Document interface (see bug #326520),
492 with work from Ariel Rios <arios@us.ibm.com>.
494 * configure.in: Bump to 1.7.8.
496 * libspi/Makefile.am: Added document.[ch] to sources
499 (SpiDocument, SpiDocumentClass):
500 New interface implementation.
501 (spi_document_get_type, spi_document_construct)
502 (spi_document_interface_new): New methods added.
503 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
504 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
505 Added macros for SpiDocument
509 (spi_document_interface_new): Get a
510 new document interface. New.
511 (get_document_from_servant): Get an AtkDocument from servant New.
512 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
513 Implementation of methods defined on idl.
514 (spi_document_class_init, spi_document_init)
515 Init methods for SpiDocument. new
517 * idl/Accessibility.idl: Added Accessibility_Document.idl.
519 * cspi/Makefile.am: Added spi_document.c to sources.
521 * cspi/spi_document.c:
522 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
523 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
524 (AccessibleDocument_getAttributes): Bindings for methods defined
527 * cspi/spi_accessible.c:
528 (Accessible_isDocument, Accessible_getDocument) New.
530 (Accessible_isDocument, Accessible_getDocument)
531 (AccessibleDocument_ref, AccessibleDocument_unref)
532 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
533 (AccessibleDocument_getAttributes): Bindings added.
535 * idl/Makefile.am: Added Accessibility_Document.idl to
538 2006-06-29 Bill Haneman <bill.haneman@sun.com>
540 * idl/Accessibility_Document.idl: New interface
541 for complex documents. First stage of fix for RFE
544 2006-06-27 Bill Haneman <bill.haneman@sun.com>
546 * libspi/streamablecontent.c:
547 (impl_content_stream_close):
548 Unref the GIOChannel on close.
550 2006-06-23 Bill Haneman <bill.haneman@sun.com>
552 * idl/Accessibility_Role.idl:
553 * libspi/accessiblerole.c:
554 * cspi/spi_accessible.c: Added ROLE_LINK,
555 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
556 Bug #345758 and bug #140635.
559 2006-06-22 Bill Haneman <bill.haneman@sun.com>
563 * idl/Accessibility_StreamableContent.idl:
564 Fix derivation of StreamableContent and ContentStream.
566 * cspi/spi_streamablecontent.c:
567 (accessible_content_stream_client_read):
568 Fix the datatype of the content stream used.
569 Interpret short reads as EOF, and stop trying to
570 read when we've fulfilled the request.
571 (AccessibleStreamableContent_getContentTypes):
572 Use g_strdup, not CORBA_string_dup, for the strings.
573 (AccessibleStreamableContent_open):
574 Correctly use the new getStream method for opening,
575 not the deprecated getContent method.
576 Use the object reference as the stream hash key.
577 Make note of the 'one stream per client per streamable'
578 limitation in the docs.
581 Add streamablecontent.h to the list of #includes.
583 * libspi/streamablecontent.c:
584 (impl_content_stream_read): Initialize the GError.
585 Allocate the incoming buffer if reading a fixed length of
586 data. Use g_memmove instead of memcpy.
587 (impl_accessibility_streamable_get_content_types):
588 Init typelist->_maximum. Only allocate the buffer if
589 there is a non-zero number of content types available.
590 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
592 * libspi/streamablecontent.h:
593 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
596 (SPI_IS_VALUE): Fix a typo in this macro too.
598 2006-06-16 Bill Haneman <bill.haneman@sun.com>
602 * idl/Accessibility_StreambleContent.idl:
603 Deprecate the Bonobo_Stream-based methods in favor of
604 a self-contained "ContentStream" interface. This should
605 allow us to remove BonoboStream dependencies entirely, since
606 there were no non-NIL implementations of the old methods anyway.
607 (ContentStream): New interface.
608 (ContentStream::SeekType): Enum.
609 (ContentStream::seek): New.
610 (ContentStream::read): New.
611 (ContentStream::close): New.
612 (getContent): Deprecate.
613 (getURI): New method, returns a URI pointing to the content, if available.
615 * libspi/streamablecontent.c:
616 (SpiContentStream): Internal object type definition used to
617 implement Accessibility::StreamableContent::ContentStream via
618 AtkStreamableContent's GIOChannel back-end.
619 (spi_content_stream_new, spi_content_stream_dispose): See above;
621 (impl_content_stream_seek, impl_content_stream_read):
622 (impl_content_stream_close): New, implementations of
624 (impl_accessibility_streamable_get_stream): Implement the
625 public method Accessibility::StreamableContent::getStream.
626 (impl_accessibility_streamable_get_uri): Implement the
627 public method Accessibility::StreamableContent::getURI.
629 * cspi/spi_streamablecontent.c:
630 (accessible_bonobo_stream_client_seek): Replaced by
631 (accessible_content_stream_client_seek).
632 (accessible_bonobo_stream_client_read): Replaced by
633 (accessible_content_stream_client_read).
634 (AccessibleStreamableContent_open):
635 (AccessibleStreamableContent_seek):
636 (AccessibleStreamableContent_read):
637 (AccessibleStreamableContent_close): Use the new 'getStream'
638 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
640 2006-06-15 Bill Haneman <bill.haneman@sun.com>
642 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
643 remove from other .idl files (except LoginHelper).
646 2006-06-14 Bill Haneman <bill.haneman@sun.com>
648 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
651 * configure.in, */Makefile.am: mingw patch, modified from
652 original patch by yselkowitz. Bug #314216.
654 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
655 for completeness. Bug #163111.
657 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
658 * libspi/util.c, registryd/registry-main.c:
659 Fix guint/char* casts.
660 Patch from chpe, bug #333883.
662 2006-06-12 Bill Haneman <bill.haneman@sun.com>
664 * configure.in: Require atk-1.12.0, to pick up
665 new API. (bug #344412).
667 * libspi-1.0-uninstalled.pc.in:
669 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
670 Fix for #341488 from Samual Thibault.
672 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
673 Thanks to Brian Pepple.
675 2006-06-09 Bill Haneman <bill.haneman@sun.com>
678 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
679 New, missing implementations of attribute reading methods
682 * cspi/spi.h, spi_value.c:
683 (AccessibleValue_getMinimumIncrement): New methods wrapping
684 the (formerly unimplemented) property from Value.idl.
687 (impl_get_minimumIncrement): Implementation for retrieving
688 the minimum valuator increment, (formerly unimplemented).
691 2006-06-09 Bill Haneman <bill.haneman@sun.com>
693 * idl/Accessibility_State.idl:
694 Added STATE_VISITED (bug #338369).
696 * cspi/spi_accessible.c:
697 (spi_state_to_corba) Fixed marshalling of new statetypes.
700 (spi_init_state_tables, impl_getStates):
701 Fixed conversion of new statetypes to/from ATK.
703 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
705 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
706 definitions/conversions for new roles from ATK.
708 * idl/Accessibility_Relation.idl:
710 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
711 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
712 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
714 * libspi/accessible.c: Fixed marshalling of new role types from
717 2006-04-17 Matthias Clasen <mclasen@redhat.com>
719 * revert my previous change
721 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
723 * configure.in: Remove obssolete no_NO locale
724 * po/no.po: And the translation.
726 2006-04-05 Matthias Clasen <mclasen@redhat.com>
728 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
729 memory-management error that caused crashes on x86_64.
732 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
734 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
736 2006-03-27 Bill Haneman <bill.haneman@sun.com>
738 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
739 to strip "cspi_*" from the symbol table.
741 * cspi/spi_streamablecontent.c:
742 (get_streams): Make this method static.
745 (_cspi_exception_throw): rename to cspi_exception_throw,
746 so we can strip it with the rest...
749 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
751 2006-03-27 Bill Haneman <bill.haneman@sun.com>
753 Add doxygen-generated IDL docs to tarball, and enable
754 doxygen during build/install when available. Bug #301345.
756 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
758 * docs/reference/Makefile.am: Add idl to SUBDIRS.
760 * docs/reference/idl/Makefile.am: Optionally use
761 doxygen to create docs.
763 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
765 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
767 2006-03-20 Bill Haneman <bill.haneman@sun.com>
770 (impl_get_selected_rows): Don't free the selection if it's
771 empty or has not been assigned; init it to NULL so you can tell.
772 Also, allow for zero selected rows.
773 (impl_getSelectedColumns): Ditto. Bug #319088.
775 2006-03-11 Vincent Untz <vuntz@gnome.org>
777 Leak fix for bug #334217.
779 * libspi/application.c: spi_application_toolkit_event_listener():
780 don't duplicate the string we pass as an argument to
781 spi_init_any_nil() since spi_init_any_nil() already does it
782 * registryd/deviceeventcontroller.c:
783 (spi_dec_button_update_and_emit): ditto
784 (spi_dec_mouse_check): ditto
785 (spi_dec_emit_modifier_event): ditto
786 (spi_device_event_controller_forward_mouse): ditto
787 * registryd/registry.c:
788 (desktop_add_application): ditto
789 (desktop_remove_application): ditto
791 2006-02-20 Bill Haneman <billh@gnome.org>
793 * configure.in: Rev to 1.7.6.
795 Leak fixes for bug #331924.
797 * atk-bridge/bridge.c:
798 (spi_atk_bridge_init_base): Don't dup the string, it's already
799 been dup-ed. Fixes a leak.
800 (spi_atk_emit_eventv): Move the CORBA_free call here,
801 instead of spi_atk_state_event_listener; fixes another leak.
802 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
803 notifying the registry; fixes another leak.
805 * registryd/registry.c:
806 (registry_flush_event_queue): Free the CORBA_any when
807 flushing the event, not just the string. Fixes another leak.
808 (registry_queue_event): Free the CORBA_any when dropping
809 events on the floor; fixes another leak.
812 (spi_init_any_object, spi_init_any_nil):
813 Always set _release to TRUE. Fixes another leak.
815 2006-02-20 Bill Haneman <billh@gnome.org>
817 * configure.in: Rev to 1.7.5.
818 Reinstate localization of this module. Thanks for Rodney
819 Dawes for fixing my patch.
821 * registryd/Makefile.am: Remove Accessibility_Registry.server
822 from dist, since it needs to be re-created at configure time.
825 2006-01-31 Bill Haneman <billh@gnome.org>
827 * configure.in: Rev to 1.7.4 (to include build fix below).
829 * idl/Makefile.am: Include Selector.idl in dist.
833 (cspi_internal_event_get_object): Handle case where
834 "object" isn't present, i.e. CORBA_TC_Object doesn't match
835 the EventDetails data.
836 (cspi_internal_event_get_text): Handle NULL string.
837 (cspi_internal_event_get_rect): Handle missing/empty rect
838 data, Accessibility_TC_RectBounds doesn't match any_data.
840 2006-01-30 Bill Haneman <billh@gnome.org>
844 * atk-bridge/bridge.c:
845 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
846 interface and use that when instantiating a new source
847 accessible. Better fix for bug #321814.
849 2006-01-27 Bill Haneman <billh@gnome.org>
851 * idl/Accessibility_Selector.idl: Added to the cvs repository.
853 * configure.in: Revved to 1.7.3.
855 2006-01-17 Bill Haneman <billh@gnome.org>
857 * configure.in: Revved to 1.7.2, re-dist to include docs.
859 2006-01-09 Bill Haneman <billh@gnome.org>
861 * configure.in: Removed po/Makefile.in inclusion, we do not need
864 * idl/Accessibility.idl: Improved documentation here, and for all
865 IDL in the 'GNOME::Accessibility' namespace.
867 * idl/Accessibility_Accessible.idl:
868 (LOCALE_TYPE): Added enum.
869 (AttributeSet): New, for returning multiple name/value attribute pairs.
870 (RoleSet): New, sequence of Roles, to be used in upcoming
872 (getAttributes): New API, allows retrieval of name/value pair
873 annotations for all kinds of Accessible objects. C.f.
874 Text:getAttributes, which is only for typographic/textual/semantic tags in
876 (getApplication): New, retrieves the host/containing Application
877 instance for an object (without having to walk up the whole tree).
879 * idl/Accessibility_Component.idl:
880 (getAlpha): New method, returns the alpha blending (aka 'opacity')
881 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
884 * idl/Accessibility_Event.idl:
885 (EventDetails): New struct definition, for encapsulating
886 commonly-queried information about emitted events. The use of
887 this structure in emitted events (in the 'any' member of
888 Accessibility_Event) should greatly reduce the number of
889 client-server roundtrips necessary.
891 * idl/Accessibility_Image.idl:
892 (imageLocale): New, a readonly attribute indicating the POSIX
893 LC_MESSAGES locale of the image and associated Alt/descriptive
896 * idl/Accessibility_Relation.idl:
897 (RELATION_PARENT_WINDOW_OF): Include, as complement to
900 * idl/Accessibility_Role.idl:
901 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
902 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
903 complex document and form support.
905 * idl/Accessibility_State.idl:
906 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
907 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
908 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
909 for support of complex documents and forms.
911 * idl/Accessibility_StreamableContent.idl:
912 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
913 allow old bonobo-stream interfaces to be deprecated in the next
916 * idl/Accessibility_Text.idl:
917 (getAttributeValue): New method, allows query-by-name of single
920 * libspi/accessible.c:
921 Added support for new roles. Implemented new methods
922 (impl_accessibility_accessible_get_application): New
923 (impl_accessibility_accessible_get_attributes): New
925 * libspi/component.c:
926 (impl_accessibility_component_get_alpha): New.
929 (impl_accessibility_image_get_locale): New.
931 * libspi/relation.c: Added support for new relation type.
933 * libspi/stateset.c: Added support for new state types.
936 (impl_getAttributeValue): New.
939 New prototypes for private methods
941 spi_init_any_object, spi_init_any_string,
944 * libspi/spi_event.c:
945 Use EventDetails in the event emission methods.
947 * cspi/spi-private.h:
948 (cspi_role_from_spi_role): Expose this adapter method, since
949 we need it in the bridge (see below).
952 (AccessibleEvent_getSourceName):
953 (AccessibleEvent_getSourceRole):
954 (AccessibleEvent_getSourceApplication):
955 (AccessibleEvent_getSourceDetails):
956 New methods for interrogating/demarshalling
957 event details (i.e. source's accessible name, role,
960 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
961 Make use of the new EventDetails struct in events, if present.
962 (AccessibleEvent_getSourceName)
963 (AccessibleEvent_getSourceRole)
964 (AccessibleEvent_getSourceApplication)
965 (AccessibleEvent_getSourceDetails): Implement the newly exposed
967 (Accessible_getAttributes): New, wraps
968 Accessibility_Accessible_getAttributes.
969 (Accessible_getHostApplication): New, wraps
970 Accessibility_Accessible_getApplication.
973 (AccessibleImage_getImageLocale): New wrapper for
974 Accessibility_Image_get_imageLocale.
976 * cspi/spi_component.c:
977 (AccessibleComponent_getAlpha): New wrapper for
978 Accessibility_Component_getAlpha.
980 * atk-bridge/bridge.c:
981 Use new prototyped for init_any methods.
982 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
983 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
984 (spi_atk_bridge_init_base): Wrappers
985 for spi_init_any_* methods, due to refactor; include extended
986 information in the Accessibility_EventDetails struct, for instance
987 accessible-name, Role, and containing Application.
989 * registryd/registry.c:
990 Use new event emission (with EventDetails).
992 * registryd/deviceeventcontroller.c:
993 Use new event emission (with EventDetails).
995 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
997 * configure.in: Generate po/Makefile.in
998 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
999 * cspi/spi_streamablecontent.c:
1000 (accessible_bonobo_stream_client_seek),
1001 (AccessibleStreamableContent_seek): Remove unused vars.
1002 * libspi/application.c: Missing header.
1003 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1004 * login-helper/login-helper.c: (login_helper_finalize),
1005 (login_helper_init): Remove unused stuff
1006 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1007 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1008 and surround some with #ifdef GRAB_BUTTON.
1009 * test/event-listener-test.c: (main), (report_event),
1010 (report_caret_event), (report_detail_event),
1011 (report_detail1_event), (report_bounds_event), (report_text_event),
1012 (report_text_selection_event),
1013 (report_active_descendant_changed_event),
1014 (report_children_changed_event), (report_name_changed_event),
1015 (report_description_changed_event), (report_parent_changed_event),
1016 (report_window_event), (report_table_summary_event),
1017 (report_table_header_event), (report_table_caption_event),
1018 (report_table_row_description_event),
1019 (report_table_column_description_event), (timing_test_event):
1020 Remove a bunch of unused variables and fix a slew of format specifiers
1021 * test/key-listener-test.c: (report_all_key_event): Format specifier
1022 * test/keypad-test.c: (print_key_event): Same
1023 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1025 * test/screen-review-test.c: (main), (print_chunk_debug),
1026 (review_buffer_get_text_chunk), (debug_chunk_list),
1027 (string_guess_clip), (text_chunk_get_clipped_string),
1028 (text_chunk_list_to_string), (get_screen_review_line_at):
1029 Remove unused variables and fix format specifiers.
1030 * test/simple-at.c: (report_text_event): Format specifier fix.
1031 * test/stress-test.c: (main): Remove unused var.
1033 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1035 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1036 (yes I know that's useless)
1038 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1040 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1042 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1044 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1045 urgh-fix embarassing typo.
1047 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1049 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1050 do a faster, less problematic _unref call on this local
1051 object, rather than a slower (potentially cross-thread
1052 complicated) CORBA call.
1054 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1056 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1057 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1058 * registryd/deviceeventcontroller.c:
1059 (spi_controller_notify_mouselisteners),
1060 (impl_generate_keyboard_event):
1061 * test/screen-review-test.c: (chunk_bounds_within):
1062 * test/test-simple.c: (test_desktop): Remove some unused code
1063 and fix compiler warnings. Closes bug #320049.
1065 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1067 * registryd/deviceeventcontroller.c:
1068 (spi_controller_notify_keylisteners): Check
1069 to make sure the event listener has requested 'preemptive'
1070 status before pre-empting an event.
1072 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1074 * configure.in, README, NEWS: Release 1.6.5.
1076 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1078 * test/window-listener-test.c: Fix a printf
1079 format error. (#169453)
1081 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1083 * tests/test-simple.c:
1084 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1085 relying on the old string from the key event hanging around after
1086 the event handler returns. Fixes broken 'make check'.
1088 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1090 * Added Marathi (mr_IN) translations.
1092 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1094 * cspi/bonobo/cspi-bonobo-listener.c:
1095 (cspi_event_list_remove_by_cb): Fix the build.
1097 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1099 * cspi/bonobo/cspi-bonobo-listener.c
1100 (cspi_event_list_remove_by_cb): actually filter by callback.
1102 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1104 * registryd/registry.c (remove_listener_cb):
1105 Make deregistration filter rules match the event emission rules.
1107 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1109 * registryd/registry.c (remove_listener_cb),
1110 (impl_accessibility_registry_deregister_global_event_listener),
1111 (impl_accessibility_registry_deregister_global_event_listener_all):
1112 pass a closure to the remove callback to filter listeners more
1113 accurately on remove.
1115 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1117 * configure.in: Revved to 1.6.4.
1118 Remember to put quotes around XEVIE_LIBS assignment.
1119 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1122 * tests/event-listener-test.c: Tweaked the tests - more detail
1123 from caret events, and some interrogation of AccessibleText APIs.
1124 Commented-out the bounds-changed events by default, since they can
1127 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1129 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1130 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1131 Same here. Closes bug #167806
1133 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1135 * atk-bridge/bridge.c:
1136 (spi_atk_bridge_signal_listener):
1137 Free the any._value if any._release is TRUE,
1138 since the ORB won't do it for us in this case
1139 [because this method is not a skel].
1140 Fix for bug #168679.
1142 2005-03-30 Steve Murphy <murf@e-tools.com>
1144 * configure.in: Added "rw" to ALL_LINGUAS.
1146 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1148 * configure.in: Improved check for HAVE_XEVIE, to detect
1149 presence on XOrg, where -lXevie is a separate library.
1151 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1153 * configure.in, NEWS, README: Revved to 1.6.3.
1155 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1157 * configure.in: Added "xh" to ALL_LINGUAS.
1159 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1161 * atk-bridge/bridge.c:
1162 (atk_bridge_init): Added missing NULL in g_strconcat(),
1163 also check for symlink before logging to
1164 insecure directory. Thanks to meissner@suse.de.
1166 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1168 * tests/login-helper-server-test.c: Add return call to main
1169 function. Patch from Chris Lahey. Fixes bug #165129.
1171 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1173 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1175 2004-12-09 Bill Haneman <billh@gnome.org>
1177 * registryd/registry-main.c:
1178 Added #define <string.h> for strrchr. (bug 160862).
1179 Thanks to Vincent Berger for catching.
1181 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1183 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1184 restart registry process if the registry process is found to have died
1185 and the current process is exiting.
1186 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1187 application if the registry process has died.
1188 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1189 does not return a registry object.
1190 (spi_atk_tidy_windows): Give up if the registry process has died.
1192 This fixes problems with hangs and crashes when logging out.
1194 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1196 * registryd/desktop.c: Add checking that we are not exiting before
1197 calling spi_desktop_remove_application in
1198 abnormal_application_termination. Fix for bug #152147.
1200 2004-12-02 Bill Haneman <billh@gnome.org>
1202 * configure.in, NEWS, README: Revved to 1.6.1.
1204 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1205 * atk-bridge/bridge.c:
1206 (atk_bridge_init): Save the pid when we start, to detect forks.
1207 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1208 if we're in a forked pid.
1210 2004-10-09 Bill Haneman <billh@gnome.org>
1212 * idl/Accessibility_LoginHelper.idl:
1213 Improved inline documentation.
1215 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1217 * configure.in: Added gl (Galician) to ALL_LINGUAS
1219 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1221 * libspi/accessible.c:
1222 (impl_accessibility_accessible_get_role_name),
1223 (impl_accessibility_accessible_get_local_role_name):
1224 NULL vs. 0 cleanups.
1225 * libspi/component.c:
1226 (impl_accessibility_component_get_accessible_at_point):
1228 * libspi/eventlistener.c: (spi_event_listener_new):
1230 * libspi/stateset.c: (impl_compare): More of the same
1231 * libspi/table.c: (impl_getRowDescription): Again.
1232 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1233 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1234 (impl_generate_keyboard_event): Same.
1235 * registryd/registry-main.c: (main): Same
1236 * test/event-listener-test.c: (test_exit): Same
1237 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1238 * test/keysynth-test.c: (test_key_synthesis): Same
1239 * test/login-helper-server-test.c: (main): Fix warning.
1240 * test/screen-review-test.c: (test_exit): Fix include.
1241 * test/simple-at.c: (simple_at_exit), (_festival_init):
1244 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1246 * configure.in, NEWS, README: Revved to 1.6.0.
1248 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1250 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1251 was missing the HTML docs.
1253 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1255 * configure.in: only cleanups:
1256 - better looking PKG_CHECK_MODULES() output,
1258 - declare in one common place required versions of other tools using
1261 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1263 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1264 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1265 required ATK version accordingly.
1267 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1269 * cspi/bonobo/cspi-bonobo.c:
1270 (cspi_display_name): Fix C99ism.
1271 * atk-bridge/bridge.c:
1272 (spi_display_name): Fix C99ism.
1273 Patch from Jens Granseuer, jensgr@gmx.net.
1275 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1277 * configure.in: Added "or" to ALL_LINGUAS.
1279 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1281 * configure.in, NEWS, README: Revved to 1.5.4.
1283 * registryd/registry-main.c:
1284 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1287 * cspi/bonobo/cspi-bonobo.c:
1288 (cspi_display_name): New convenience method, gets DISPLAY with
1289 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1290 (cspi_init): Set the activation env value above before getting
1293 * atk-bridge/bridge.c:
1294 (spi_display_name): Create the AT_SPI_DISPLAY activation
1295 environment for an app, based on the DISPLAY environment with the
1296 screen number stripped off.
1297 (atk_bridge_init): Allow redirection of error messages to a log.
1298 (spi_atk_bridge_get_registry): Call
1299 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1301 Fixes for bugs #149962, #136986, #144086.
1303 2004-08-16 Christian Rose <menthos@menthos.com>
1305 * configure.in: Added "bs" to ALL_LINGUAS.
1307 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1309 * configure.in: Added nb to ALL_LINGUAS.
1311 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1314 (SPI_init): Return error code '2' if the activated
1315 registry cannot be pinged. Fixes bug #147648.
1317 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1319 * registryd/deviceeventcontroller.c:
1320 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1321 rely on timer-poll instead, to avoid conflict with
1324 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1326 * configure.in: Revved to 1.5.3.
1328 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1330 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1332 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1334 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1336 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1338 * atk-bridge/bridge.c:
1339 (spi_atk_bridge_do_registration):
1340 Register with ATK for AtkComponent:bounds-changed events.
1341 (api_atk_bridge_signal_listener):
1342 Marshal the AtkRectangle info into the event notification
1343 for object:bounds-changed events.
1346 (spi_init_any_rect): New method, inits a corba struct of
1347 type Accessibility_BoundingBox from an AtkRectangle.
1349 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1352 (SPIRect): New struct definition.
1353 (SPI_freeRect): New declaration.
1354 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1357 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1358 implemented. Gets the bounding box data from the CORBA_any
1359 associated with a bounds-changed event notification.
1360 (cspi_internal_event_get_rect): New, used internally by above method.
1363 (SPI_freeRect): Implemented this new method, for freeing
1366 * test/event-listener-test.c:
1367 (main, report_bounds_event):
1368 Added a test for object:bounds-changed events.
1370 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1372 * test/login-helper-server-test.c:
1373 (main): Fix C99-ism. Thanks to Jens Granseuer.
1375 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1377 * libloginhelper-1.0.pc.in:
1378 * idl/Accessibility_LoginHelper.idl:
1379 * login-helper/Makefile.am:
1380 * login-helper/login-helper.[ch]:
1381 * test/login-helper-client-test.c:
1382 * test/login-helper-server-test.c: Added files missing from CVS.
1383 Files obtained from at-spi-1.5.2 tarball.
1385 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1387 * configure.in: Create login-helper/Makefile.
1388 Incremented micro version.
1390 * Makefile.am: Add login-helper subdir and pkgconfig data.
1392 * login-helper: New subdir.
1394 * libloginhelper-1.0.pc.in: New.
1396 * idl/Accessibility_LoginHelper.idl: New file, defines
1397 interface whereby authentication clients can identify agents which
1398 need access to services during the login process, e.g. screen lock
1401 * login-helper/Makefile.am : New.
1403 * login-helper/login-helper.[ch] : New, implementation of
1404 a LoginHelper base class. Services needing LoginHelper can subclass.
1406 * test/Makefile.am : Added test for login-helper, client and
1409 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1410 Use proper prefix in #include files.
1412 * test/login-helper-client-test.c: New.
1414 * test/login-helper-server-test.c: New.
1416 2004-05-27 Alexander Shopov <ash@contact.bg>
1418 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1420 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1422 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1423 is positive. This should make it easier to detect inapprorpiate unref
1426 2004-05-11 James Henstridge <james@daa.com.au>
1428 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1429 no-op and deprecated.
1431 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1433 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1435 2004-04-28 Bill Haneman <billh@gnome.org>
1437 * Makefile.am: Added --enable-gtk-doc to
1438 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1440 2004-04-19 Bill Haneman <billh@gnome.org>
1442 * configure.in: Revved to 1.5.1.
1444 * registryd/deviceeventcontroller.c:
1446 (DEControllerPrivateData): Added fields for
1447 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1448 (spi_dec_replace_map_keysym): New internal utility for
1449 replacing a keysym in the keymap - used to allow
1450 synthesis of individual characters which aren't in the
1452 (spi_dec_reset_reserved): New; resets the changed keysym value
1454 (keycode_for_keysym): We now try to deal with failed
1455 XKeysymToKeycode requests by changing a keymap value
1456 and returning a reserved keycode. We now take
1457 a DEController pointer as first arg.
1458 (spi_controller_register_with_devices): Call XkbGetMap with
1459 the XkbKeySymsMask. Find the highest keycode in the current
1460 keymap which doesn't have any grabs, and mark that one for
1461 temporary re-mapping when out-of-range KeySyms are synthesized.
1462 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1465 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1467 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1469 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1471 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1473 2004-03-24 Bill Haneman <billh@gnome.org>
1476 (AccessibleTable_addRowSelection),
1477 (AccessibleTable_addColumnSelection),
1478 (AccessibleTable_removeRowSelection),
1479 (AccessibleTable_removeColumnSelection):
1480 Add declarations for spi wrappers which were
1481 inadvertantly omitted. Fixes bug #133413.
1484 Revved to 1.5.0 (unstable series for GNOME 2.7).
1486 2004-03-24 Bill Haneman <billh@gnome.org>
1488 * atk-bridge/bridge.c:
1489 Bracketed some debug output in
1490 conditionals, to avoid printing it in normal use.
1493 * libspi/hyperlink.c:
1494 Don't cast 'object' to ATK_OBJECT when constructing
1495 an AtkAction interface for a hyperlink.
1496 See discussion in bug #120659.
1498 * test/key-listener-test.c:
1499 (report_all_key_event): Send output to stderr,
1500 not stdout, for consistency with the rest of the test callbacks.
1503 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1504 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1505 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1506 try incrementing the revision AFTER doing a dist, at least
1509 2004-03-22 Bill Haneman <billh@gnome.org>
1511 * configure.in: Revved to 1.4.0, libtool 9.14.9
1513 2004-03-17 Laszlo Peter <laca@sun.com>
1515 * libspi-1.0-uninstalled.pc.in: add idldir
1517 * cspi-1.0-uninstalled.pc.in: add idldir
1519 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1521 * configure.in: Added "en_GB" to ALL_LINGUAS
1523 2004-03-15 Bill Haneman <billh@gnome.org>
1525 * configure.in: Revved to 1.3.16,
1528 2004-03-15 Laszlo Peter <laca@sun.com>
1530 * libspi-1.0-uninstalled.pc.in: new file
1532 * cspi-1.0-uninstalled.pc.in: new file
1534 * configure.in: add the new pc files to AC_OUTPUT
1536 * Makefile.am: add the new pc files to EXTRA_DIST
1538 2004-03-12 Bill Haneman <billh@gnome.org>
1540 * atk-bridge/bridge.c:
1541 (spi_atk_bridge_key_listener):
1542 Make sure to return consumed=FALSE if snoop
1543 event is not dispatched to listener.
1546 2004-03-01 Bill Haneman <billh@gnome.org>
1548 * configure.in: Revved to 1.3.15,
1551 2004-03-07 Danilo Segan <dsegan@gmx.net>
1553 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1555 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1557 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1559 2004-03-01 Bill Haneman <billh@gnome.org>
1561 * configure.in: Revved to 1.3.14.
1564 (SPI_exit): Removed "bye-bye" exit message.
1565 Moved "leak" report to happen before the
1566 iteration over the leaked refs list.
1567 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1569 2004-02-24 Bill Haneman <billh@gnome.org>
1571 * configure.in: Revved to 1.3.13.
1573 * docs/reference/cspi/Makefile.am:
1574 Correct typo that was breaking the docs build.
1576 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1578 * autogen.sh: Require version 1.7 of automake.
1580 * configure.in: call GTK_DOC_CHECK([1.0])
1582 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1584 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1586 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1588 * test/Makefile.am: Remove use of CFLAGS.
1590 This fixes bug #132987.
1592 2004-02-11 Bill Haneman <billh@gnome.org>
1594 * reverted most of Tomasz' patch below, since it was breaking
1595 builds (see bug #134058).
1597 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1599 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1600 correct pass "make dist" (empty .. because seems no sach types in
1601 header files with gtk-doc markups).
1602 * docs/reference/cspi/Makefile.am, configure.in:
1603 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1604 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1605 * Makefile.am: added:
1606 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1607 for force correct pass generate documentation on "make distcheck".
1608 * libspi/Makefile.am: fixes for automake >= 1.6.
1609 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1610 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1613 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1615 * docs/reference/cspi/Makefile.am (install-data-local): Install
1616 index.sgml since the doc autobuilder on widget.gnome.org looks for
1619 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1621 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1624 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1626 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1628 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1630 * test/simple-at.c: Fixed null string problems that cause core
1631 dumping problems on Solaris.
1633 2004-01-12 Bill Haneman <billh@gnome.org>
1635 * configure.in: Incremented version to 1.3.11.
1637 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1639 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1640 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1643 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1645 * configure.in: Added "fa" to ALL_LINGUAS.
1647 2003-12-20 Arafat Medini <lumina@silverpen.de>
1649 * configure.in: Added "ar" to ALL_LINGUAS
1651 2003-12-16 Bill Haneman <billh@gnome.org>
1653 * registryd/registry-main.c:
1655 Set the reg_env DISPLAY variable before registering the
1656 activated registry service. Fixes bug #129479.
1658 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1660 * configure.in: Added "id" in ALL_LINGUAS
1661 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1663 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1665 * registryd/deviceeventcontroller.c (global_filter_fn):
1666 When an event is consumed discard any XEvents were added to
1667 the queue while dealing with the the event. This can happen if
1668 processing of the event takes a long time. Call XUngrabKeyboard
1669 if an event was discarded. This fixes bug $124837.
1670 Only call wait_for_release_event for a KeyPress.
1671 Use local variable display instead of spi_get_display().
1672 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1675 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1677 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1678 Allow for mask to contain values other than NumLock mask.
1681 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1683 * registryd/devieceventcontroller.c:
1684 (wait_for_release_event): Change first parameter from GdkEvent to
1686 (global_filter_fn); Correct call to wait_for_release_event.
1690 2003-12-08 Bill Haneman <billh@gnome.org>
1694 * registryd/ucs2keysym.c: New file.
1696 * registryd/deviceeventcontroller.c:
1697 (dec_keysym_for_unichar): Remove old partial implementation and
1698 replace with call to ucs2keysym(), which is much more complete.
1699 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1704 2003-12-05 Bill Haneman <billh@gnome.org>
1706 * configure.in: Version 1.3.9.
1708 * docs/reference/cspi/tmpl/spi_registry.sgml:
1709 Added reference to libspi/keymasks.h to the
1710 description of Registry queries: AccessibleKeyMaskType.
1713 2003-12-04 Bill Haneman <billh@gnome.org>
1715 Fix for bug #121974.
1717 * idl/Accessibility_Application.idl:
1718 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1719 setlocale's LC_TYPEs.
1720 (Accessibility::Application::getLocale): New method.
1721 Allows clients to query the locale, by type, of an app.
1724 * cspi/spi_application.c:
1725 (AccessibleApplication_getLocale): New method, wraps IDL above.
1727 * libspi/application.c:
1728 (spi_application_class_init): Init epv entry for getLocale.
1729 (impl_accessibility_application_get_locale): Impl for above.
1731 * test/test-simple.c:
1732 (test_application): Added assertion for getLocale, i.e.
1733 that the string from AccessibleApplication_getLocale (app, type)
1734 is the same as that from setlocale (type, NULL);
1736 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1738 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1739 the keyboard on a timeout intil the key state goes from pressed to
1740 released. Fixes bug #111429.
1742 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1744 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1745 root object so that it is present when a context menu in an
1746 out-of-process applet is popped up.
1747 (spi_atk_bridge_do_registration): Create acceessible application root
1748 object only if it does not exist.
1750 This fixes bug #125834.
1752 2003-12-01 Bill Haneman <billh@gnome.org>
1754 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1757 Added enum for AccessibleStreamableContentSeekType.
1758 (AccessibleStreamableContent_freeContentTypeList): New.
1760 * cspi/spi_streamablecontent.c:
1761 (accessible_bonobo_stream_client_seek): New private method.
1762 (AccessibleStreamableContent_seek): Implemented this method,
1763 using Bonobo_Stream_seek.
1764 (AccessibleStreamableContent_freeContentTypeList): New method
1765 for freeing the return value from
1766 AccessibleStreamableContent_getContentTypes.
1767 (stream_cache_item_free): Replaces stream_release; stop leaks.
1768 (stream_release): removed.
1769 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1770 free the memory properly.
1772 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1774 Fix for bug #116009.
1776 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1778 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1780 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1782 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1784 2003-12-01 Bill Haneman <billh@gnome.org>
1786 Fix for bug/rfe #127463.
1788 * idl/Accessibility_Accessible.idl:
1789 (getLocalizedRoleName): New.
1790 (unimplemented4): Removed (replaced by above).
1792 * libspi/accessible.c:
1793 (impl_accessibility_accessible_get_local_role_name): New.
1794 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1798 (Accessible_getLocalizedRoleName): New.
1800 * cspi/spi_accessible.c:
1801 (Accessible_getLocalizedRoleName): New.
1803 2003-12-01 Bill Haneman <billh@gnome.org>
1805 Fix for bug #118581.
1806 * idl/Accessibility_Text.idl:
1807 (getDefaultAttributes): New.
1808 (unimplemented4): Removed (replaced by above method).
1811 (impl_getDefaultAttributes): New method.
1812 (spi_text_class_init):
1813 initialize the get_default_attributes slot in the epv.
1816 (AccessibleText_getDefaultAttributes): New prototype.
1819 (AccessibleText_getDefaultAttributes): New method.
1821 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1823 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1824 write beyond the end of the table. Fixes bug #120473.
1826 2003-09-30 Christian Rose <menthos@menthos.com>
1828 * configure.in: Added "eu" to ALL_LINGUAS.
1830 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1832 * configure.in: ALL_LINGUAS: Added no.
1834 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1836 * configure.in: Added lt to ALL_LINGUAS.
1838 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1840 * atk-bridge/bridge.c:
1841 (atk_bridge_init): Register event listeners always even for
1842 out-of-process applet.
1843 (spi_atk_bridge_toplevel_added): Remove call to
1844 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1845 (spi_atk_bridge_toplevelk_removed): Remove call to
1846 spi_atk_deregister_event_listenersa as the listeners are now always
1848 (spi_atk_bridge_register_application): Remove call to
1849 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1851 This fixes bug #120991.
1853 * libspi/table.c (impl_getColumnDescription): Correct typo,
1854 pointed out by Bolian.Yin@sun.com.
1856 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1858 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1860 2003-09-08 Bill Haneman <billh@gnome.org>
1862 * configure.in: Revved to 1.3.7.
1864 This is the GNOME 2.4.0 release of at-spi.
1866 * docs/reference/cspi/Makefile.am:
1867 Removed spurious inclusion of 'index.sgml' in the
1868 html directory; this was breaking make distcheck and
1869 also some other build environments.
1871 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1873 * registryd/registry.[ch}:
1874 Add queue_handler_id and focus_object to SpiRegistry data structure.
1875 (registry_flush_event_queue): If event being discarded is
1876 "state-change:focused" store object as focus_object.
1877 (registry_start_queue): Remove queue handler and focus object
1879 (registry_discard_event): New function which discards a focus event
1880 if we had stored focus object in the registry.
1881 (registry_queue_event): Add new check that is_queueing is set as this
1882 function is reentrant.
1883 (registry_filer_event): Add call to registry_discard_event.
1885 This resolves issues raised in bug #108664.
1887 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1889 * configure.in: Added "bn" to ALL_LINGUAS.
1891 2003-09-04 Bill Haneman <billh@gnome.org>
1893 * cspi/spi_event.c: Documentation improvements for
1894 (SPI_registerAccessibleKeylistener).
1896 * docs/reference/tmpl/spi_registry.sgml:
1897 Documentation improvements for SpiAccessibleKeylistenerCB.
1899 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1901 * configure.in: Added "ro" to ALL_LINGUAS.
1904 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1906 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1907 not decremented to zero. Fixes bug #120725.
1909 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1911 * configure.in: Added "ja" to ALL_LINGUAS.
1913 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1915 * configure.in: Added "is" to ALL_LINGUAS.
1917 2003-08-22 Christian Rose <menthos@menthos.com>
1919 * configure.in: Added "nl" to ALL_LINGUAS.
1921 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1923 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1924 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1926 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1928 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1929 type for unspecified exception.
1930 * cspi_streamablecontect): Add include of string.h for memcpy.
1931 (stream_release): Correct call to bonobo_object_release_unref
1932 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1933 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1934 argument of _cspi_expection_throw.
1935 * libspi/hyperlink.c: Add include of libspi/action.h:
1936 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1937 * libspi/streamablecontent.c: add include of libspi/component.h.
1938 * regisrtyd/deviceeventcontroller.c:
1939 (spi_dec_translate_mask): Removed unused variable priv.
1940 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1941 * registryd/registry.c:
1942 (registry_filter_event): Remove unused variable queue_is-empty.
1943 (impl_registry_notify_event): Use correct modifier in fprintf call.
1945 This fixes compiler warnings reported in bug #120220.
1947 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1949 * registryd/registryd.c: Remove this file.
1951 2003-08-17 Sanlig Badral <badral@openmn.org>
1953 * configure.in: Added mn to ALL_LINGUAS.
1955 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1957 * configure.in: Added et to ALL_LINGUAS.
1959 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1961 * test/event-listener-test.c: Change active-descendant to
1962 active-descendant-changed.
1964 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1966 * configure.in: Added "fi" in ALL_LINGUAS.
1968 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1970 * configure.in: Added "hi" in ALL_LINGUAS.
1972 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1974 * configure.in: Revved to 1.3.6.
1978 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1980 * registryd/deviceeventcontroller.c
1981 (spi_device_event_controller_object_finalize): Fix typo in previous
1984 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1986 * registryd/deviceeventcontroller.c
1987 (spi_device_event_controller_object_finalize): Fix build on
1988 systems without XEvIE.
1990 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1992 * acconfig.h, configure.in, registryd/Makefile.am,
1993 registryd/devicecontoller.[ch]: Add XEViE support.
1995 2003-08-06 Wang Jian <lark@linux.net.cn>
1997 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1999 2003-08-06 Metin Amiroff<metin@karegen.com>
2001 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2003 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2005 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2006 MODIFIER_ALT in correct place.
2008 This fixes part of bug #118114.
2010 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2012 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2014 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2016 * configure.in: Added "ko" to ALL_LINGUAS.
2018 2003-07-28 Ole Laursen <olau@hardworking.dk>
2020 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2022 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2024 * configure.in: Added "sq" to ALL_LINGUAS.
2026 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2028 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2030 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2032 * configure.in: updated ALL_LINGUAS list
2034 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2036 * configure.in: Added Belarusian to ALL_LINGUAS.
2038 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2040 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2042 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2043 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2045 This fixes bug #116949.
2047 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2049 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2050 Correct CSPI to SPI in function documentation.
2052 This fixes bug #118054.
2054 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2056 * configure.in: Added Russian to ALL_LINGUAS.
2058 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2060 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2062 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2064 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2066 2003-07-10 Joel Brich <joel.brich@laposte.net>
2068 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2070 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2072 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2074 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2076 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2077 resources allocated for AccessibleEvent. See cspi_event().
2079 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2080 static variable streams to NULL.
2082 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2083 Update so that AcessibleEvent_ref will work.
2085 This fixes bug #116624.
2087 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2089 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2091 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2093 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2095 2003-07-02 Christian Neumair <chris@gnome-de.org>
2097 * configure.in: Added "de" (German) to ALL_LINGUAS.
2099 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2101 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2103 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2105 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2107 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2109 * configure.in: Added "pl" to ALL_LINGUAS.
2111 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2113 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2115 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2118 (get_action_from_servant):
2119 Removed assertion that action is implemented on an AtkObject.
2121 * libspi/hyperlink.c:
2122 (spi_hyperlink_new):
2123 Aggregate AccessibleAction interface on the hyperlink object if
2124 the object implements AtkAction. (This convention is used in
2127 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2129 * configure.in: Revved to 1.3.5.
2131 * registryd/Accessibility_Registry.server.in.in:
2132 Marked up appropriate strings for translation.
2134 * atk-bridge/bridge.c: Marked a couple of
2135 user-visible warnings for translation. Questionable
2136 whether they are really useful, but possibly so.
2139 2003-06-28 Christian Rose <menthos@menthos.com>
2141 * configure.in: Added "sv" to ALL_LINGUAS.
2143 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2145 * registryd/registry.c:
2146 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2147 (registry_defer_on_event): Defer focus: events, this is an
2148 improvement to the patch for bug #108664.
2150 * TODO: Update with 2.4/"Dev Complete" items.
2152 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2154 * atk-bridge/bridge.c:
2155 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2156 looks up signals once.
2157 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2158 if doing registration.
2159 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2160 when doing registration.
2162 This fixes bug #115014.
2164 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2166 * atk-bridge/bridge.c:
2167 (atk_bridge_init): Add signal handler for children-changed:remove on
2168 root when in a BonoboComponent.
2169 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2170 for first toplevel only other incrememt variable toplevels.
2171 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2172 application and remove listeners.
2173 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2175 (spi_atk_deregister_event_listeners): New function which removes
2177 (reinit_register_vars): New fuction which reinitializes variables.
2179 This fixes bug #111578.
2181 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2183 * configure.in: version 1.3.4.
2185 * cspi/spi_accessible.c:
2186 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2189 2003-06-13 Michael Meeks <michael@ximian.com>
2191 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2193 * cspi/spi_main.c (cspi_peek_ev): impl.
2195 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2197 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2199 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2201 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2202 SPI_ROLE_AUTOCOMPLETE
2204 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2206 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2207 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2209 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2211 * libspi/streamablecontent.h:
2212 * libspi/streamablecontent.c:
2213 New files, provide implementation/wrappers for
2214 Accessibility_StreamableContent.
2216 * cspi/spi_streamablecontent.c:
2217 Connected the C wrappers to the libspi C bindings.
2218 (AccessibleStreamableContent_close): New method.
2221 (AccessibleStreamableContent_close): New method, needed
2222 since we have an "open, [seek], read, close" model in cspi.
2224 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2226 Fix for #108664; Padraig's revision of my original patch.
2228 * registryd/registry.h:
2229 Added event queue list, is_queuing, and exit_notify_timeout
2230 to the registry struct.
2232 * registryd/registry.c:
2233 (registry_init): Initialize new struct from registry.h.
2234 (impl_registry_notify_event):
2235 Filter events before notifying, in case some need to be
2237 (registry_filter_event): New,
2238 we defer certain incoming events (for instance
2239 window:deactivate) because we may wish to hide
2240 or reject them based on pending events. This is
2241 mostly a workaround for bug #108664.
2242 (registry_queue_event, registry_start_queue): New.
2243 (registry_defer_on_event): Test event to see if it
2245 (registry_reset_on_event): Returns TRUE if the
2246 event should cause a queue reset.
2247 (registry_discard_on_event): Returns TRUE if the event
2248 should cause the previous queue contents to be discarded.
2249 (registry_timeout_flush_queue): Flushes the pending event
2250 queue if no reset/discard-triggering events have come in
2251 within the timeout period.
2252 (registry_emit_event): New.
2253 (registry_clone_notify_context): New, used when queueing the
2254 event notify contexts.
2256 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2258 * configure.in: Version revved to 1.3.2, lt 0.9.2
2259 Incremented ATK required version to 1.3.4.
2261 * cspi/spi_registry.c:
2262 (SPI_generateKeyEvent):
2263 We now pass the keystring along if it's non-null.
2265 * registryd/deviceeventcontroller.c:
2266 (keysym_mod_mask): New method, returns modifier mask
2267 required to generate a keysym from a given keycode.
2268 (dec_synth_keysym): New method.
2269 (dec_synth_keystring): New method.
2270 (dec_get_modifier_state): New method.
2271 (dec_lock_modifiers): New
2272 (dec_unlock_modifiers): New.
2273 (dec_keysym_for_unichar): New, rather brute-force
2274 conversion from UCS-4 to X KeySyms. Only works for
2275 Latin at the moment, with partial implementations for
2276 Greek, Hebrew, and (incomplete) Katakana.
2277 (impl_generate_keyboard_event): Now implement
2278 "KEYSTRING" synthesis and implement "KEYSYM"
2280 (keycode_from_keysym): Improved, passes a returned
2281 modmask value now if the corresponding param is non-NULL.
2283 Fixes bugs #92143 and #109776.
2286 * test/keysynth-test.c:
2287 New test program for key synthesis, to confirm fixes for
2291 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2293 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2295 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2296 Add line for RELATION_POPUP_FOR
2298 * docs/reference/cspi/tmpl/spi_relation.sgml:
2299 Add relation SPI_RELATION_POPUP_FOR
2301 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2302 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2304 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2306 * libspi/relation.c (spi_init_relation_type_table):
2307 Add line for RELATION_POPUP_FOR
2309 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2311 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2312 there are still windows which have not been deleted and emit
2313 window:deactivate, if necessary and window:destroy events.
2314 This fixes bug #114370. The change on June 5th was not correct.
2316 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2318 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2321 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2323 New methods for client exception handling and interception.
2324 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2325 (SPI_exceptionHandlerPop): You guessed it...
2326 (SPI_getSourceType): Return the type of object which offended.
2327 (SPI_getExceptionCode): Return an enum code telling, possibly,
2328 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2329 (SPIAccessibleException_getSource): get the source object for
2330 exceptions that come from Accessibles, if SPIExceptionSourceType is
2331 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2332 (SPIException_getDescription): New, returns a string description of
2333 the problem. [Not yet a stable ABI, strings are not frozen]
2335 * cspi/spi-private.h:
2336 Added implementation details of opaque SPIException
2340 Implementations of above. Also
2341 (_cspi_exception_throw): new private method that
2342 dispatches exceptions to handlers, called from cspi-bonobo.c
2344 * cspi/bonobo/cspi-bonobo.c:
2345 (cspi_check_ev): call _cspi_exception_throw.
2346 Don't print a warning message if the exception has been
2347 handled by _cspi_exception_throw.
2349 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2351 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2352 there are still windows which have not been deleted and emit
2353 window:deactivate, if necessary and window:destroy events.
2354 This fixes bug #114370.
2356 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2359 (cspi_accessible_is_a): Make non-fatal
2360 if the object reference is dead.
2362 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2364 * cspi/spi_main.c: #include <stdio.h>
2365 * test/simple-at.c: ditto
2366 * test/event-listener-test.c: ditto
2367 * test/screen-review-test.c: ditto
2369 2003-05-30 Michael Meeks <michael@ximian.com>
2371 * test/test-simple.c (main): use CORBA_ORB_perform_work
2372 instead of an unnecessary linc_ call.
2374 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2376 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2377 Add SPI_STATE_INDETERMINATE.
2379 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2382 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2384 * libspi/stateset.c (init_state_type_tables): Add support for
2387 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2389 * configure: Update versions of atk and gail required.
2390 This fixes bug #113268.
2392 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2394 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2396 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2398 * libspi/Makefile.am:
2399 Ensure headers are generated before being used by c sources.
2401 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2404 Simplified lt versioning rules.
2405 Incremented version to 1.3.0, to indicate that we're on the
2406 unstable branch now.
2408 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2410 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2411 Add MKDB_OPTIONS=--outtput-format=xml
2413 * docs/reference/cspi/at-spi-cspi-docs.sgml
2414 docs/reference/idl/at-spi-idl-docs.sgml:
2415 Convert to Docbook XML.
2417 This fixes bug #111793.
2419 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2421 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2422 AcccessibleKeyEventType, AccessibleKeyMaskType.
2424 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2426 * cspi/state-types.h: Add documentation for AccessibleState.
2428 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2429 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2430 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2431 AccessibleComponentLayer.
2433 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2436 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2438 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2439 Accessible. Add description of AccessibleEvent,
2440 AccessibleEventListenerCB.
2442 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2445 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2446 documentation. Add description of AccessibleKeystrokeListenerCB,
2447 AccessibleKeyEventMask, AccessibleModifierMaskType,
2448 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2449 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2451 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2454 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2457 This fixes bug #104730.
2459 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2461 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2462 Set is_text field of Accessibility_DeviceEvent data structure.
2464 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2465 is-text field of AccessibleDeviceEvent data structure.
2467 This addresses part of bug #108666.
2469 * registryd/devcieeventcontroller.c: Unset debug option.
2471 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2473 * cspi/accessible.c:
2474 (cpi_initial_relation_type_table): New function which initializes
2475 mapping between Accessibility_RelationType and AccessibleRelationType.
2476 (cspi_relation_type_from_spi_relation_type): New function which
2477 translates an Accessibility_RelationType into an AccessibleRelationType.
2478 (AccessibleRelation_getRelationType): Use
2479 cpi_relation_type_get_spi_relation_type to return correct value.
2480 (spi_state_to_corba): Return correct type for default case.
2482 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2483 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2485 * cspi/cspi-bonobo-listener.c:
2486 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2489 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2490 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2491 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2492 libspi/image.c, libspi/listener.c, libspi/selection.c,
2493 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2494 registryd/desktop.c, registryd/registry.c:
2495 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2497 * libspi/eventlistener.c
2498 Remove semicolon after BONOBO_TYPE_FUNC.
2500 * libspi/relation.c:
2501 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2502 (spi_init_relation_type_table): Initialize using correct type.
2504 * registryd/desktop.c:
2505 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2506 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2507 of Accessibility_KeyEventType.
2509 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2512 * tests/simple-at.c, tests/screen-review-test.c:
2513 Add include for <strings.h>.
2515 * tests.stress-test.c:
2516 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2518 These changes fix compiler warnings when using FORTE compiler on
2519 Solaris; fixes bug #107479.
2522 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2525 * configure.in: revved to 1.1.10
2527 * libspi/keymasks.h:
2528 (SPI_KEYMASK_NUMLOCK): Added.
2530 * registryd/deviceeventcontroller.c:
2531 (spi_key_event_matches_listener): AND with a smaller
2532 bitmask (as we should).
2533 (spi_dec_translate_mask):
2534 New method, sets the virtual NumLock modifier bit
2535 if numlock is on. Eventually it can handle other virtual
2536 modifier bits if needed, or other marshalling from
2537 at-spi modifier masks to platform (X) masks.
2538 (spi_dec_key_listener_new):
2539 Call spi_dec_translate_mask to set up virtual mod bits
2540 in the 'mask' field when creating a new listener struct.
2541 (spi_dec_emit_modifier_event):
2542 Set the virtual (i.e. NumLock) bits before emitting event.
2543 (spi_controller_register_with_devices):
2544 Query for the NumLock modifier 'physical' bit if Xkb is
2545 present, for use in above methods.
2549 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2551 * registryd/deviceeventcontroller.c:
2552 (spi_keystroke_from_x_key_event):
2553 Instead of checking to see if the keysym is
2554 printable, check the string from XLookupString
2555 if available, get the first unicode character from it,
2556 and call g_unichar_isprint to determine whether the
2557 is_text flag should be TRUE or FALSE.
2561 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2563 * atk-bridge/bridge.c: Add support for extended events
2564 * cspi/spi_event.c: Add documentation and implementation for
2566 * tests/event-listener-test.c: Add tests for extended events.
2568 This fixes bugs #100424 and #100426.
2570 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2572 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2573 of LT_CURRENT. This fixes bug #89350.
2575 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2577 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2578 number of signal parameter values before accessing them. This fixes
2581 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2583 * configure.in: Fixed duplicate inclusion of -lspi.
2584 * branched for gnome-2-2/HEAD.
2585 [created tag "gnome-2-2"]
2587 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2589 * configure.in: 1.1.9 release.
2592 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2594 [needed by GOK, to fix bugs 107985 and 107988]
2595 * registryd/deviceeventcontroller.c:
2596 (spi_dec_clear_unlatch_pending):
2597 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2598 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2599 (spi_dec_init_mouse_listener):Emit warning if mouse button
2601 (spi_device_event_controller_forward_mouse_event):
2602 Removed unnecessary parens from a conditional.
2603 (global_filter_fn):Added TODO comment.
2604 (impl_generate_keyboard_event):
2605 Cancel a pending relatch if a 'delatching' key was
2608 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2610 * atk-bridge/bridge.c:
2611 Change atk_signal_child_changed to atk_signal_children_changed.
2612 Reorganize code in spi_atk_bridge_signal_listener().
2614 * test/event-listener-test.c:
2615 Add children_changed_listener and report_children_changed_event()
2616 to test AccessibleChildEvent_getChildAccessible.
2618 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2620 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2621 g_strdup to CORBA_String_dup (bug #105291)
2623 * test/event-listener-test.c (report_text_event): Add call to
2626 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2628 * registryd/deviceeventcontroller.c:
2629 (spi_keystroke_from_x_key_event):
2630 Fix string and keysym return codes to match modifier state.
2633 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2635 * registryd/deviceeventcontroller.c:
2636 (spi_keystroke_from_x_key_event):
2637 Fix segv due to improper use of isprint(c). [bug #107254]
2639 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2642 (get_accessible_text_boundary_type):
2643 Move default return value to (new) default case in switch.
2644 (get_accessible_text_clip_type):
2645 Move default return value to (new) default case in switch.
2647 * libspi/application.c:
2648 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2649 Remove unused methods.
2650 (impl_accessibility_application_register_object_event_listener):
2651 Remove unused methods.
2654 Added #include of <math.h>.
2656 * registryd/deviceeventcontroller.c:
2657 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2658 we don't currently use this method.
2659 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2661 (impl_generate_key_event):
2662 Remove unused variables.
2663 (impl_generate_mouse_event):
2664 Initialize button to zero, just in case we get an invalid
2665 input. Added support for mouse buttons 4 and 5.
2666 (spi_device_event_controller_new):
2667 Removed unused variable declaration for 'private'.
2669 Added #include of <gdk/gdk.h>
2671 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2673 * configure.in: Update to work when X is not installed in expected
2674 location. Fixes bug #105836.
2676 * atk-bridge/bridge.c
2677 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2679 (spi_atk_register_event_listener): Add signal listener for
2681 (spi_atk_bridge_signal_listener): Event event when link-selected
2682 signal is emitted. (bug #104622)
2684 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2685 on returned string. (bug #105291)
2687 * test/event-listener-test.c: Add test for link-selected.
2689 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2691 * atk-bridge/Makefile.am: Correct typo in previous commit.
2693 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2695 * atk-bridge/Makefile.am: Allow for build directory to be different
2696 from source directory
2698 * registryd/Makefile.am: Allow for build directory to be different
2699 from source directory
2703 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2706 Fixed dependencies for libcspi so that libspi gets pulled in
2707 properly. Fixes 104741.
2711 Clean up inline docs a little.
2713 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2715 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2716 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2717 the AtkObject within an SpiDesktop.
2718 This addresses bug #101524.
2720 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2721 Remove call to gdk_init().
2723 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2724 so that Display is set when SpiDesktop is created.
2726 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2728 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2729 This fixes bug #102830.
2731 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2733 * test/test-simple.c: Update to take account of fact that GailButton
2734 now implements AtkText.
2735 (create_text_window): Set name on AtkObject for GtkEntry.
2736 (validate_accessible): Check accessible name before calling test_text().
2738 * libspi/Makefile.am: Fix problem with building outside of source
2739 directory. Bug #98120.
2741 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2742 typo in documentation comments. Bug #94275.
2744 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2746 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2748 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2751 Add includes to avoid compiler warnings on Solaris.
2752 (impl_getRangeExtents): Bug fix.
2754 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2756 Fix for 100944, [API addition approved by Gman and murrayc].
2763 * idl/Accessibility_Text.idl:
2764 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2765 (Text::getRangeExtents): New method for efficient
2766 bounds query of a text range.
2767 (Text::getBoundedRanges): New method for efficient
2768 clipping of text to bounding boxes.
2769 (unImplemented7, unImplemented8):
2770 Removed these padding methods to preserve bincompat.
2773 (impl_getRangeExtents): implementation of new IDL.
2774 (impl_getBoundedRanges): implementation of new IDL.
2775 (SpiTextRect): Internal use struct.
2776 (_spi_text_rect_union): internal method, calculates union of two
2777 SpiTextRect bounding rects.
2778 (_spi_text_range_seq_from_gslist): internal method, allows us
2779 to build our sequence efficiently as a gslist then convert it
2781 (_spi_bounds_contain): internal method, determines whether
2782 a text character is "in" or "out" of a clip rect according to
2783 values of TEXT_CLIP_TYPE.
2784 (spi_text_class_init): Initialize the new methods in the epv.
2787 (AccessibleTextClipType): New enum used by screen review api.
2788 (AccessibleTextRange): New struct used by screen review api.
2789 (AccessibleText_getRangeExtents):
2790 cspi binding for Accessibility_Text_getRangeExtents.
2791 (AccessibleText_getBoundedRanges):
2792 cspi binding for Accessibility_Text_getBoundedRanges.
2793 (AccessibleTextRange_freeRanges): convenience method.
2796 (AccessibleText_getRangeExtents):
2797 cspi binding for Accessibility_Text_getRangeExtents.
2798 (AccessibleText_getBoundedRanges):
2799 cspi binding for Accessibility_Text_getBoundedRanges.
2800 (AccessibleTextRange_freeRanges): convenience method.
2801 (get_accessible_text_clip_type): internal conversion method.
2802 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2804 * registryd/deviceeventcontroller.c:
2805 (spi_dec_mouse_check):
2806 Improved behavior for mouse:abs events
2807 [same granularity as mouse:rel events, and no
2808 events when mouse is idle].
2810 2002-12-16 Michael Meeks <michael@ximian.com>
2812 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2814 * libspi/stateset.c (state_spi_to_atk): split out
2815 ( fix several remote array bounds nasties )
2816 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2817 (impl_remove): make safe from array bounds issues.
2818 (spi_atk_state_from_spi_state): impl.
2820 * libspi/stateset.h (spi_state_set_cache_is_empty):
2821 add a set of wrapper defines to get layering right.
2823 * cspi/spi_accessible.c: update state set stuff to
2826 2002-12-14 Michael Meeks <michael@ximian.com>
2828 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2829 to avoid 2 roundtrips to the registry per key event
2830 (spi_atk_bridge_key_listener): upd.
2831 (deregister_application): release the dec.
2833 * registryd/registry.c (notify_listeners_cb):
2834 bin lots of re-enterant complexity - we no longer
2835 do a round-trip bonobo ref here, ensure that a single
2836 listener's exception failure won't poison all other
2838 (impl_registry_notify_event): bin obvious memory leak.
2840 2002-12-13 Michael Meeks <michael@ximian.com>
2842 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2843 init the ev so the error is meaningful.
2844 (spi_atk_bridge_key_listener): ditto.
2846 * cspi/spi_main.c (cspi_ev): init the ev so we start
2847 with a clean slate, otherwise the first exception
2848 kills us completely.
2850 * cspi/spi_text.c (get_accessible_text_boundary_type):
2851 add a fallthrough for no warnings.
2853 * cspi/spi_registry.c: prune unused warnings.
2855 * cspi/spi_main.c (cspi_object_take): fix
2856 mind-blowing brokenness ( by watching the compile
2859 * cspi/spi_accessible.c (Accessible_getStateSet):
2860 re-impl. to use an AtkStateSet.
2861 (spi_state_type_from_accessible_state),
2862 (init_state_table): bin these.
2864 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2866 (atk_state_set_from_accessibility_state_set): here.
2868 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2869 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2870 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2871 (AccessibleStateSet_add, AccessibleStateSet_remove),
2872 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2873 (AccessibleStateSet_isEmpty): re-write to use a local
2876 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2878 * configure.in: Revved to 1.1.7 (new keymask vals).
2880 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2882 * libspi/keymasks.h:
2883 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2885 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2888 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2889 to compare two CORBA_TypeCodes.
2890 (cspi_internal_event_add): Silence warning from FORTE compiler.
2892 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2893 avoid implicit declaration of functions.
2895 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2897 * atk-bridge/bridge.c:
2898 (spi_atk_bridge_init_event_type_consts): Store signal id for
2899 active-descendant-changed signal.
2900 (spi_atk_register_event_listeners): Add signal listener for
2901 active-descendant-changed signal,
2902 (spi_atk_bridge_signal_listener): Move code in function
2903 spi_atk-signal_emit_event() into this function.
2904 Add support for active-descendant-changed
2905 Update support for child-changed signal.
2906 (spi_bridge_window_event_listener): Silence warning.
2908 * libspi/spi_private.[ch]:
2909 (spi_init_any_object): Change second parameter from CORBA_Object to
2911 Omit call to CORBA_Object_duplicate().
2912 Set CORBA_any's _value to CORBA_Object*.
2914 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2920 (AccessibleEvent_ref, AccessibleEvent_unref):
2921 New methods, for persisting an event outside the emission context.
2922 Must be used if the new accessor methods are to be called
2923 outside of the event listener's callback.
2925 * cspi/bonobo/cspi-bonobo.c:
2926 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2927 as second parameter instead of NULL, so we can call
2928 cspi_check_ev afterwards.
2931 (cspi_object_take): New internal method,
2932 converts a CORBA_Object reference to a hard ref on
2933 an Accessible if possible, returning NULL if the object
2934 reference is invalid or an Accessible * otherwise.
2937 (AccessibleEvent_ref):
2938 Increment the event's internal private refcount, and
2939 add the event's internal struct to an internal cache
2940 if it's not already there.
2941 (AccessibleEvent_unref):
2942 Decrement the event's refcount and remove it from
2943 the cspi event cache if refcount==0.
2944 (cspi_event_compare): New private method.
2945 Compares two event structs via their ids. Used
2947 (cspi_internal_event_lookup): New private method.
2948 (cspi_internal_event_check): New private method,
2949 a 0-order sanity check for events to make sure their
2950 private data is intact.
2951 (cspi_internal_event_add, cspi_internal_event_remove):
2952 New private methods for managiing the event cache.
2954 * cspi/bonobo/cspi-bonobo-listener.c:
2956 Initialize the new private data elements (id, magic, ref_count).
2958 * atk-bridge/bridge.c:
2959 (spi_atk_bridge_signal_listener):
2960 Fixed bug #100530, passing wrong params to emission func.
2962 * registryd/deviceeventcontroller.c:
2963 (spi_dec_button_update_and_emit):
2964 Fixed type in mask bit operations; fix for #99799.
2966 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2968 Removed some of the more dangerous workarounds from
2969 previous commit; they are only needed by GOK, which
2970 in reality should be using another method to accomplish
2971 the goals. So on reconsideration some of the workarounds
2972 need to be reverted:
2974 * registryd/deviceeventcontroller.c:
2975 (spi_keycodes_contain, spi_dec_init_keycode_list):
2976 Removed these methods, used only by a nasty hack to try
2977 and detect whether a key synthesis should be allowed
2978 to reset the XKB latch state or not. This code was only
2979 required to work around an interaction between GOK,
2980 button events, and XKB.
2981 (impl_generate_key_event):
2982 Removed hack at end of key generation that tried to
2983 "do the right thing" if XKB latch keys were generated
2984 in the midst of button press/release pairs.
2987 Added a check for HAVE_XINPUT. Not normally used yet.
2989 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2991 Workarounds and fixes for mouse event/XKB interaction.
2993 * registryd/deviceeventcontroller.c:
2994 (spi_keycodes_contain, spi_dec_init_keycode_list):
2995 New internal methods.
2996 (spi_dec_set_unlatch_pending):
2997 Split the method that tells XKB to expect an
2998 unlatch (and revert it) out of the rest of the
2999 event handling code. This method is called by the
3000 two mouse event handlers (the poll and the filter).
3001 (spi_dec_update_and_emit, spi_dec_mouse_check):
3002 New methods split from spi_dec_poll_mouse_moved.
3003 The second one is now called from inside the filterFn
3004 when an XKB delatch event is received, to determine
3005 whether to revert the delatch or not.
3006 (spi_poll_mouse_moved): Refactor; also we can now
3007 properly handle the case where multiple button states
3008 have changed between polling cycles and we didn't get
3009 notified due to another client's grab.
3011 Synchronize the server while handling an XKB notification.
3012 Ugly, but apparently necessary to avoid nasty races.
3013 Check the mouse state on receipt of an XKB latch change,
3014 to decide whether to revert the latch or not. (Latches are
3015 reverted if there is an immediately preceding mouse button
3016 event that a client has consumed, in which case we don't want
3017 the user to see the side-effect of the event).
3018 (spi_device_event_controller_forward_mouse_event):
3019 Check for modifier events and fire before resetting mouse_mask_state,
3020 prevents losing modifier events.
3022 (impl_generate_keyboard_event):
3023 If we've just generated a keyboard event for a non-shift key,
3024 we don't want to revert the pending XKB latch.
3025 Otherwise, check the modifier state (via a call to
3026 spi_dev_mouse_check) and set the relatch mask to
3027 that state before returning.
3029 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3032 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3035 * atk-bridge/bridge.c:
3036 (spi_atk_register_event_listeners):
3037 Don't re-register for ATK events if the registry has died
3038 and the app needs to re-register; the ATK listeners are in
3039 process and doing so will cause duplicate emission.
3041 * registryd/deviceeventcontroller.c:
3042 (spi_poll_mouse_moved):
3043 Reformat the source, detect and emit multiple button-change
3044 events (i.e. if multiple buttons have changed between poll
3046 Add code to detect mouse-down events even when the pointer
3047 is grabbed; workaround for GOK bug 98420.
3048 (spi_controller_register_with_devices):
3049 Call XTestGrabControl with 'impervious' flag set to True,
3050 allows us to synthesize events and query the pointer even during
3051 an active grab by another client.
3052 (spi_device_event_controller_forward_mouse_event):
3053 Set the mouse_mask_state to the mouse_button_state from
3054 the intercepted event, to synchronize the grab listener with
3057 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3059 * cspi/spi_accessible.c:
3060 (AccessibleRole_getName):
3061 Added necessary strings for making this (deprecated)
3062 method work with the new role types.
3063 (init_role_table, role_table):
3064 Added definition of SPI_ROLE_APPLICATION.
3066 * libspi/spi-roletypes.h:
3067 Added SPI_ROLE_APPLICATION.
3069 * idl/Accessibility_Role.idl:
3070 Added ROLE_APPLICATION.
3072 * docs/reference/cspi/at-spi-cspi-decl.txt:
3073 Added SPI_ROLE_APPLICATION to docs.
3075 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3077 * cspi/spi_accessible.c
3078 (cspi_init_role_table): Do not write beyond end of role_table.
3079 (Accessible_getRole): Use correct type for value returned by
3080 Accessibility_Accessible_getRole().
3082 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3083 beyond end of role_table. (This fixes bug #98269)
3085 * libspi/application.c: Add include file spi-private.h for
3086 definition of spi_init_any_nil.
3088 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3092 * libspi/spi-private.h:
3093 Added DGB() macro, and extern int _dbg declaration.
3095 * registryd/registry.c:
3096 (definitions) storage for _dbg.
3097 (spi_registry_init):
3098 Get environment variable "AT_SPI_DEBUG".
3099 (spi_registry_set_debug):
3100 New method, to initialize _dbg value.
3101 (spi_listener_struct_new, spi_registry_object_finalize):
3102 (notify_listeners_cb):
3103 Changed fprintfs to use DBG and g_warning().
3105 * registryd/deviceeventcontroller.c:
3106 (_deregister_keygrab, spi_controller_register_device_listener):
3107 Changed debug/warning messages to use DBG macro.
3109 * libspi/listener.c:
3110 (impl_notify_event):
3111 Changed warning messages to use DBG macro and g_warning().
3113 * atk-bridge/bridge.c:
3114 (atk_bridge_init, spi_atk_bridge_get_registry):
3115 (spi_atk_bridge_exit_func):
3116 (spi_atk_bridge_property_event_listener):
3117 Changed status, warning, and error messages to use
3118 g_warning, g_message, and DBG macros.
3121 Read the state of the AT_SPI_DEBUG environment variable
3122 and set a local '_dbg' accordingly.
3124 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3126 FIXES for 98836, 98842, other bugs.
3129 Revved to 1.1.4, interface-age=4, binary-age=4.
3131 * registryd/deviceeventcontroller.c:
3133 Fixed crasher bug in last_mouse_pos initialization.
3135 * registryd/registry.c:
3136 (desktop_add_application, desktop_remove_application):
3137 Added (and then commented out) some support for
3138 object context marshalling. [TODO]
3140 * atk-bridge/bridge.c:
3141 (spi_atk_bridge_event_context_create):
3142 Commented out object context creation until it can
3143 be properly tested and debugged.
3145 * registryd/registry.c:
3146 (impl_registry_notify_event):
3147 Fixed crasher bug, we were calling
3148 spi_re_entrant_list_foreach () with an empty list.
3150 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3152 * idl/Accessibility_Action.idl:
3153 * idl/Accessibility_Component.idl:
3154 * idl/Accessibility_Desktop.idl:
3155 * idl/Accessibility_Event.idl:
3156 * idl/Accessibility_Hyperlink.idl:
3157 * idl/Accessibility_Image.idl:
3158 * idl/Accessibility_Relation.idl:
3159 * idl/Accessibility_Selection.idl:
3160 * idl/Accessibility_State.idl:
3161 * idl/Accessibility_Value.idl:
3162 Updated unimplemented slot count to minimum of
3163 four for all interfaces, for ABI freeze.
3165 * idl/Accessibility_EditableText.idl:
3166 * idl/Accessibility_Text.idl:
3167 Updated unimplemented slot count to six
3170 * idl/Accessibility_Registry.idl:
3171 Updated unimplemented slot count to six
3172 (also for DeviceEventController),
3175 * idl/Accessibility_Table.idl:
3176 Updated unimplemented slot count to eight,
3179 * idl/Accessibility_Event.idl:
3180 Added CORBA_any "any_data" member to Event struct.
3182 * idl/Accessibility_Event.idl:
3183 Added CORBA_any "any_data" member to Event struct.
3185 * atk-bridge/bridge.c:
3187 atk_signal_text_changed, atk_signal_child_changed,
3188 signal ids queried from gtype system.
3189 (AtkBridgeEventContextType): New enum.
3190 (AtkBridgeEventContextData): New struct.
3191 (AtkBridgeEventContext): New struct.
3192 (atk_bridge_init_event_type_consts):
3193 New method, initializes type contants for comparison
3194 prior to emit_eventv.
3195 (atk_bridge_event_context_init): New method,
3196 initializes a CORBA_any from an AtkBridgeEventContext.
3197 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3198 initialize the event.any_data struct.
3199 (spi_atk_bridge_event_context_create): New method,
3200 creates an AtkBridgeEventContext from signal/event info.
3201 (spi_atk_bridge_event_context_free): New method.
3202 (spi_atk_emit_eventv): Changed to take an
3203 AtkBridgeEventContext parameter. We now initialize
3204 the event.any_data member prior to notifying the
3205 Registry, via the AtkBridgeEventContext.
3206 (spi_atk_bridge_property_event_listener):
3207 (spi_atk_bridge_state_event_listener):
3208 Match emit_eventv signature.
3209 (spi_atk_bridge_object_event_listener):
3210 Match emit_eventv signature, and create an
3211 event context from the event details.
3212 Free the event context afterwards.
3213 (spi_atk_bridge_window_event_listener):
3214 Create an event context, pass it to the
3218 (AccessibleEvent_getContextString):
3219 (AccessibleEvent_getContextObject):
3220 New methods, allow query of AccessibleEvent objects
3221 for more context details (via the "any_data" member
3222 of the Event struct, above).
3225 Definitions for AccessibleEvent_getContextString
3226 and AccessibleEvent_getContextObject.
3228 * cspi/spi_listener.h:
3229 (InternalEvent): New struct.
3232 (AccessibleEvent_getContextString):
3233 (AccessibleEvent_getContextObject):
3234 Implementations of new methods, for obtaining
3235 additional context information from some event types.
3237 * cspi/spi_registry.c:
3238 (SPI_registerGlobalEventListener):
3239 Added mention of active-descendant-changed event in docs.
3241 * cspi/cspi-bonobo-listener.c:
3243 Marshal the any into the AccessibleEvent via
3246 * libspi/spi-private.h:
3247 #include <orbit/orbit.h>
3249 (spi_init_any_string):
3250 (spi_init_any_object):
3251 New convenience function declarations.
3255 (spi_init_any_string):
3256 (spi_init_any_object):
3257 New convenience function implementations.
3259 * registryd/deviceeventcontroller.c:
3260 (spi_poll_dec_mouse_moved):
3261 (spi_device_event_controller_forward_mous_event):
3262 Initialize any_data member of event.
3263 (spi_deregister_controller_device_listener):
3264 Fix incorrect param pass which was preventing deregistration.
3266 * registryd/registry.c:
3267 (desktop_add_application):
3268 (desktop_remove_application):
3269 Add object data to event's any_data before dispatch.
3271 Fix for error messages from GAIL.
3273 * test/event-listener-test.c:
3274 Test new ContextString and "any_data" API:
3275 (report_text_event): New method query and output context string.
3276 (main): register a new text listener with report_text_event
3279 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3281 Fixes for bugs 98127 and 97914.
3282 * cspi/spi-roletypes.h:
3283 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3285 * cspi/spi-statetypes.h:
3286 Added SPI_STATE_MANAGES_DESCENDANTS
3288 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3289 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3290 * cspi/spi_accessible.c:
3291 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3292 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3293 Accessibility_STATE_MANAGES_DESCENDANTS
3294 * libspi/accessible.c:
3295 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3296 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3297 As requested by Bill, I also cleaned up the alignment.
3298 * libspi/relation.c:
3299 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3300 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3301 * libspi/stateset.c:
3302 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3303 Accessibility_STATE_MANAGES_DESCENDANTS
3304 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3305 Document changes reflecting modifications to roles.
3306 * docs/reference/cspi/tmpl/spi_relation.sgml:
3307 Document changes reflecting modifications to relations.
3308 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3309 Document changes reflecting modifications to states.
3311 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3314 Revved to 1.1.3, interface-age=3, binary-age=3.
3315 Added REBUILD macro.
3318 Removed accessx-gui from the tests, since we have a nice
3319 keyboard accessibility capplet now :-)
3321 * test/keysynth-demo.c:
3322 (increment_scan): removed do-nothing default: case,
3325 * test/visual-bell.c:
3326 (main) : removed do-nothing default: case,
3329 * cspi/spi_action.c:
3330 (AccessibleAction_getKeyBinding_):
3331 Documented keybinding string format.
3335 (AccessibleText_getAttributes):
3336 Documented the text attribute string format.
3337 It's changed to use semicolon delimiters also,
3338 to prevent clashes with CSS attributes, but the old
3339 trick of looking for ", " strings will still work
3340 (as unreliably as ever). Fix for bug related to 97916.
3343 Include <cspi/bonobo/cspi-bonobo-listener.h>
3344 Fixes build warning.
3345 (SPI_freeAccessibleKeySet):
3346 (AccessibleKeystrokeListener_addCallback):
3347 (AccessibleKeystrokeListener_removeCallback):
3348 Modify to use AccessibleDeviceListener API internally,
3349 instead of AccessibleKeystrokeListener.
3351 * idl/Accessibility_Event.idl:
3352 Added two more empty slots to EventListener (for a total of four).
3354 * idl/Accessibility_Accessible.idl:
3355 Added four empty slots to Accessible interface.
3357 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3359 * idl/Accessibility_Registry.idl:
3360 (KeyEventType, EventType):
3361 Marked KeyEventType as deprecated; it duplicates
3362 functionality of EventType, which has been extended to
3363 include Mouse-button events.
3364 (KeyEventTypeSeq): defined in terms of EventType.
3365 (registerDeviceEventListener, deregisterDeviceEventListener):
3366 New methods, for managing listeners to device events,
3367 which potentially may consume them.
3370 Added definition for AccessibleDeviceListener.
3372 * cspi/spi-listener.h:
3373 (enum AccessibleDeviceEventType):
3374 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3375 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3376 for backwards compat.
3377 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3378 and typedef'd AccessibleKeystroke to it for back-compat.
3379 (AccessibleDeviceListenerCB):
3380 New function prototype typedef.
3383 (AccessibleDeviceEventMask): New typedef.
3384 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3385 (AccessibleKeyMaskType):
3386 Set equivalent to AccessibleModifierMaskType for back-compat.
3387 (SPI_createAccessibleKeystrokeListener):
3388 (AccessibleKeystrokeListener_unref):
3389 Deprecated in favor of equivalent (better-named) new API below..
3390 keystroke listeners are like all device listeners.
3391 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3392 New API names for old features :-).
3393 (AccessibleDeviceListener_addCallback):
3394 (AccessibleDeviceListener_removeCallback):
3395 (SPI_registerDeviceEventListener):
3396 (SPI_deregisterDeviceEventListener):
3400 (SPI_createAccessibleKeystrokeListener):
3401 Use new preferred API, cspi_device_listener_new() and
3402 cspi_device_listener_add_cb().
3403 (AccessibleKeystrokeListener_removeCallback):
3404 Use new preferred API, cspi_device_listener_remove_cb().
3405 (AccessibleKeystrokeListener_unref):
3406 Use new preferred API, cspi_device_listener_unref().
3407 (SPI_createAccessibleDeviceListener):
3408 (AccessibleDeviceListener_addCallback):
3409 (AccessibleDeviceListener_removeCallback):
3410 Implementation of new API.
3412 * cspi/spi_registry.c:
3413 (SPI_registerDeviceEventListener):
3414 (SPI_deregisterDeviceEventListener):
3415 Implementation of new API. Fixed memory leak and removed need to
3416 allocate EventTypeSeq (thanks Michael for catching this).
3417 Squashed a wayward CORBA_exception_free that shouldn't get called.
3419 * cspi/bonobo/cspi-bonobo-listener.c:
3421 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3422 (cspi_key_event): renamed to cspi_device_event().
3423 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3424 Extended to handle mouse button events as well as key events.
3425 (CSpiKeystrokeListener):
3426 Class superceded by CSpiDeviceListener.
3427 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3428 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3430 * cspi/bonobo/cspi-bonobo-listener.h:
3431 (CSpiKeystrokeListener):
3432 Class superceded by CSpiDeviceListener.
3433 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3434 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3436 * libspi/Makefile.am:
3437 Replaced keystrokelistener.h and keystrokelistener.c
3438 with devicelistener.h and devicelistener.c; keystrokelisener.h
3439 stub retained for back-compat.
3441 * libspi/keystrokelistener.c:
3445 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3447 * registryd/deviceeventcontroller.c:
3448 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3449 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3450 (DEControllerPrivateData): Added xkb settings data.
3451 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3452 button release events (which can't be captured via XGrabButton).
3453 Don't dispatch via the 'normal' event mechanism if the device event was
3455 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3456 Handle the typeseq data in its new location (see above).
3457 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3458 New methods, for "generic" device listeners.
3459 (spi_controller_register_device_listener):
3460 Now handle mouse event listeners as well as key listeners.
3461 (spi_controller_notify_mouselisteners):
3462 New internal method.
3463 (spi_device_event_controller_forward_mouse_event):
3464 Now we notify mouse device listeners as well as generating the
3465 non-consumable "mouse:" events.
3467 We must check and restore the XKB
3468 modifier map if we consume the event, since the act of triggering
3469 a mouse event will normally reset the XKB latch. This is required for
3471 (spi_controller_register_with_devices):
3472 Load the XKB settings when registering, and register for XKB
3473 state notify events.
3474 (spi_key_eventtype_seq_contains_event):
3475 Renamed spi_eventtype_seq_contains_event, since it's used
3476 internally for all device event types now.
3477 (spi_key_event_matches_listener):
3478 Uses spi_eventtype_seq_contains_event now.
3479 (spi_device_event_controller_object_finalize):
3480 Free the private data and the XkbKeyboard struct.
3481 (impl_register_device_listener, impl_deregister_device_listener):
3482 Implementation of new IDL.
3483 (spi_deregister_controller_device_listener):
3484 New internal method.
3485 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3486 More efficient implementation, we don't have to create a new
3487 XkbControls structure every time we query.
3488 (spi_device_event_controller_class_init):
3489 Initialize the epv entries for the new IDL. Assign the
3490 "spi-dec-private" quark.
3491 (spi_device_event_controller_init):
3492 Initialize the private data.
3493 (spi_device_event_controller_forward_key_event):
3494 Removed a bogus CORBA_exception_free() call.
3496 * registryd/deviceeventcontroller.h:
3497 Replaced inclusion of keystrokelistener.h with
3500 * test/event-listener-test.c:
3501 (report_mouse_event):
3504 Added mouse-event device listener.
3506 * test/test-simple.c:
3507 (create_test_window):
3508 Fixed regression (we were instantiating a GtkRange,
3509 which is now an abstract class). Also fixed to match
3510 existing AtkRole names, this seems to have changed in ATK
3511 awhile ago; too late now I think, and the new
3512 mechanism is at least elegant and consistent with the
3513 glib enum "nick" APIs.
3515 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3517 * idl/Accessibility_Relation.idl:
3518 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3519 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3520 * idl/Accessibility_Role.idl:
3521 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3522 * idl/Accessibility_State.idl:
3523 add STATE_MANAGES_DESCENDANTS
3524 * test/event-listener-test.c:
3525 Added a listener for active-descendant events.
3527 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3529 * atk-bridge/bridge.c
3530 (atk_bridge_init): If application is Bonobo component wait until top
3531 level is added before registering
3532 (spi_atk_bridge_do_registration): New function which contains code,
3533 formerly in atk_bridge_init, to do application registration.
3534 (spi_atk_bridge_toplevel_added): Signal called when top level
3535 added to Bonobo component
3537 This fixes bug #83134.
3539 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3541 * registryd/deviceeventcontroller.c
3542 Fixed compilation error caused by calling gettimeofday()
3545 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3550 Added template for HAVE_XKB.
3553 Changes to check for XKB, and to set the HAVE_XKB #define if it
3556 * libspi/listener.c:
3557 ()impl_notify_event): Make failure to get event source name
3560 * registryd/deviceeventcontroller.c:
3561 (#include): include X11/XKBlib.h.
3562 (DEControllerPrivateData) : New struct.
3563 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3565 (dec_synth_keycode_press) (dec_synth_keycode_release):
3566 New methods; split the key synthesis code into these methods.
3567 They check XKB settings before determining the "time" values to
3568 pass to Xtest; this fixes bug #95828.
3569 (impl_generate_keyboard_event): Changed to use methods above,
3570 instead of callng Xtest directly.
3571 (spi_device_event_controller_init): Initialize new privae struct s
3573 (spi_device_event_controllr_object_finalize):
3574 Free the (new) private data.
3576 * registryd/deviceeventcontroller.h:
3577 Add new gpointer to end of struct data.
3579 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3582 Incremented revision to 1.1.2, SONAME is still '.so', library
3583 extensions are ".so.0.0.2".
3585 * registryd/deviceeventcontroller.c:
3586 FIXES FOR #93592 and #95940.
3587 (statics): renamed mouse_button_state to mouse_mask_state,
3588 added key_modifier_mask.
3589 (spi_dec_poll_mouse_moved):
3590 Added key modifier checks, and emit "keyboard:modifiers"
3591 events when the key modifiers currently in use change.
3592 Also generate "mouse:abs" events periodically, even if the mouse
3593 is stationary (should we?).
3594 Alternatively we could generate "mouse:abs" events for either all
3595 mouse movements, or every 'nth' mouse movement, or at the
3596 beginning and end of every "active" mouse period.
3598 * test/event-listener-test.c:
3599 (main): Added listener for "keyboard:modifiers" events.
3601 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3603 * libspi/keymasks.h:
3604 Added key mask #defines for mouse buttons; e.g.
3605 SPI_KEYMASK_BUTTON1, etc.
3608 Incremented dependency on ATK to version 1.1.0. (This dependency
3609 is probably premature but will soon be real enough).
3611 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3613 * libspi/hyperlink.[ch]
3614 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3615 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3618 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3623 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3625 * registryd/deviceeventcontroller.c
3626 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3627 events to be ignored.
3628 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3629 keyboard_mode so that XAllowEvents() can be called.
3633 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3635 * cspi/spi-accessible.c: Correct names of roles returned by
3636 AccessibleRole_getName(). Fixes bug #95055.
3638 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3640 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3643 * registryd/registry.c
3644 (desktop_remove_application: Write diagnostic message to stderr for
3647 (impl_accessibility_registry_deregister_global_event_listener):
3648 Correct size of lists array. This addresses bug #94555).
3650 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3652 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3655 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3657 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3660 * registryd/registry.c (impl_registry_notify_event): Remove
3661 unnecessary call to parser_event_type().
3663 * docs/reference/cspi/tmpl/spi_component.sgml:
3664 Add reference to SPI_LAYER_WINDOW.
3666 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3668 * registryd/registry.c
3669 (desktop_add_application): Remove leak.
3670 (desktop_remove_application): Remove leak.
3671 (parser_event_type): Remove leak.
3673 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3675 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3676 bogus call to CORBA_string_dup(). Also removed unnecessary
3677 g_string_dup/g_free calls.
3679 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3681 * registryd/deviceeventcontroller.c:
3682 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3684 * test/event-listener-test.c:
3685 main: commented out three redundant listeners, to reduce output
3686 noise. (They still are potentially useful for testing).
3689 2002-09-13 Michael Meeks <michael@ximian.com>
3691 * Update all the copyrights to include Ximian.
3693 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3695 * cspi/spi.h: add SPI_LAYER_WINDOW.
3697 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3698 add Accessibility_LAYER_WINDOW case.
3700 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3702 * libspi/component.c: (impl_accessibility_component_get_layer):
3703 add ATK_LAYER_WINDOW case.
3705 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3707 * configure.in: incremented micro version.
3709 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3711 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3714 Clarified and reworded our commit policy.
3717 Started an API "todo" addition list for 2.2.
3720 (impl_getSelection):
3721 Free char pointer from atk_text_get_selection, which was being leaked.
3723 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3726 Small revision to author acknowledgement.
3728 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3730 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3731 If signal has detail add it to the type of the event.
3734 2002-08-12 Michael Meeks <michael@ximian.com>
3736 * test/test-simple.c (global_listener_cb): bin bogosity.
3737 (test_keylisteners): disable, still doesn't work reliably,
3738 certainly not on my system anyway.
3740 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3741 don't leak a reference on the DEC. This round-trip
3742 fetching of the DEC per keystroke sucks, it should be
3745 * cspi/spi-private.h,
3746 * cspi/cspi-lowlevel.h,
3747 * cspi/bonobo/cspi-bonobo-listener.[ch],
3748 * cspi/bonobo/cspi-bonobo.c: get the copyright
3749 notices better - there is still a large amount of
3750 work in at-spi falsely attributed solely to Sun.
3752 * cspi/spi_main.c (cspi_object_ref): kill bogus
3753 hash lookup, just increment the ref.
3754 (SPI_freeString): make explicit the fact that we
3755 handle NULL strings just fine.
3756 (report_leaked_ref): obey coding standards.
3757 (cspi_object_hash, cspi_object_equal): kill retval.
3758 (cspi_object_release): only release if not on loan.
3759 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3760 (cspi_object_borrow, cspi_object_return): impl.
3762 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3763 use cspi_object_borrow / return.
3765 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3767 * cspi/bonobo/cspi-bonobo-listener.c:
3769 Don't call cspi_oject_new() because this is creating a new Accessible
3770 every single time that an event is fired. This causes ATs like at-poke
3771 to nolonger recognise the source of the event and thus ignore it.
3772 Re-use the object from the cache, ref it and then unref it after the
3773 listeners have been called.
3775 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3777 * test/event-listener-test.c:
3778 Added command-line options to disable mouse events (m) and
3781 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3783 * configure.in: Update required versions of ATK, GTK+ and GAIL
3785 * cspi-1.0.pc.in: Add dependency for X include files
3788 * cspi/bonobo/Makefile.am:
3789 Add $(X_CFLAGS) so that X include files
3790 are picked up even if not in standard place (bug #71686)
3792 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3794 * registryd/deviceeventcontroller.c: fix for 84261
3795 (spi_dec_mouse_moved):
3796 Added test of mouse button mask, so that we can detect mouse
3797 button release. Unfortunately we can't otherwise detect mouse
3798 button release events without consuming the mouse press event,
3799 because of the way XGrabButton works. This means that our mouse
3800 release events have a latency dependent on the polling period
3801 while the mouse button is down. At least in this case we only
3802 have to poll while the button is down, and not at other times.
3803 If the button masks don't match with what the last press event
3804 reported, we report the appropriate button release event.
3805 (spi_dec_ungrab_mouse):
3806 New method (not yet called).
3807 (spi_device_event_controller_forward_mouse_event):
3808 New method, sends mouse press event from GdkFilter.
3809 (spi_dec_init_mouse_listener):
3810 Added code to call XGrabButton, redirecting mouse button events to
3811 the root window and our Gdk event loop.
3813 Added code to filter mouse button events, and reordered.
3815 * test/event-listener-test.c:
3817 Added registration for mouse events of type "mouse:button".
3819 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3821 * registryd/deviceeventcontroller.c: partial fix for 84261
3822 (spi_dec_poll_mouse_idle):
3823 New method, a timeout which checks to see if the mouse
3825 (spi_dec_poll_mouse_moving):
3826 A timeout to be called when mouse motion is underway.
3827 (spi_dec_poll_mouse_moved):
3828 A method which fires an event if the mouse has moved, and reports
3829 whether or not it did so.
3830 (spi_dec_init_mouse_listener):
3831 A method which sets up the timeouts above.
3832 (spi_device_event_controller_new):
3833 Now calls spi_dec_init_mouse_listener.
3835 * registryd/registry.c:
3836 (spi_registry_init):
3837 Now we initialize the device event controller when the registry is
3838 initialized, instead of waiting until a client has requested a key
3839 event notification; this is because we need the event controller
3840 for mouse events, but the mouse event registration API is a
3841 "registry" call and doesn't explicitly call the
3842 deviceeventcontroller.
3843 We now report mouse motion events with a 100 ms idle latency and
3844 a 20 ms granularity when motion is in progress.
3846 * test/event-listener-test.c:
3848 We now register the "detail listener" for events of type
3849 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3850 delivered only for the first mouse event received, and thereafter
3851 "mouse:abs" events are delivered.)
3853 * cspi/spi_registry.c:
3854 DOCS: Documented the above mouse event typestrings.
3856 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3858 Happy Summer Solstice...
3860 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3861 (spi_controller_notify_keylisteners):
3862 Changes to remove a listener from the listener list, freeing its
3863 open keygrabs, if a notification to that listener fails. This
3864 means that although a dead listener can continue to hold a passive
3865 keygrab, a maximum of one dispatch to such a listener can fail
3866 before the listener is removed from the list, thus the keygrab
3867 will be released on the next occurrence.
3868 As part of this fix:
3869 (spi_notify_keylisteners):
3870 Renamed to spi_controller_notify_keylisteners, as the controller
3871 instance must now be passed as an argument.
3872 The copied 'notify' GList is now a list of DEControllerKeyListener
3873 objects, since we need more than just the CORBA reference if a
3874 notify fails and we need to deregister the listener.
3875 (impl_notify_listeners_sync):
3876 (impl_notify_listeners_async):
3877 (spi_device_event_controller_forward_key_event):
3878 Modify use of notify_keylisteners in accordance with above
3880 (spi_deregister_controller_key_listener):
3881 New method introduced by refactoring, from
3882 impl_deregister_keystroke_listener.
3883 (impl_deregister_keystroke_listener):
3884 Call spi_deregister_controller_key_listener.
3885 (spi_key_listener_clone):
3886 New method to copy a key listner without doing a 'ref' on the
3887 remote object instance; used to create a notifier list.
3888 (spi_key_listener_data_free):
3889 New method, frees data without unreffing the source.
3891 (spi_key_listener_clone_free): new method.
3892 (spi_key_listener_free):
3893 refactored to call spi_key_listener_data_free.
3895 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3897 * registryd/registry.c: [fix for bug 86048]
3898 (notify_listeners_cb):
3899 Clear CORBA system exceptions which occur when notifying
3900 listeners, before returning to the source of the original event,
3901 since the event source doesn't care if the relayed notify failed.
3902 In other words, don't complain to the atk-bridge if the registry
3903 could not notify all its listeners, that's no fault of the
3904 application and thus should not appear to be an error from the
3905 application's perspective.
3907 * cspi/spi_main.c: [fix for bug 85980]
3909 Replaced use of bonobo_object_dup_ref with call to the wrapper
3910 method, csou_dup_ref (); this silences a compiler warning and
3911 provided more portability.
3913 Ping the registry before return, and restart if necessary.
3915 * cspi/bonobo/cspi-bonobo.c:
3917 New internal method.
3919 Fixed this method to return an object reference, as it should have
3922 * cspi/cspi-lowlevel.h:
3923 Added internal definition for cspi_ping() and fixed
3924 return type of cspi_dup_ref().
3927 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3929 * atk-bridge/bridge.c: [fix for bug 85305]
3930 (spi_atk_bridge_register_application):
3931 New method where the initial application registry calls have been
3932 moved; it allows an application to re-register in response to
3933 certain error conditions (such as a registry restart, see below).
3935 Moved some initialization code to the method
3936 spi_atk_bridge_get_registry, below.
3937 (spi_atk_bridge_get_registry):
3938 New, private accessor function for the Accessibility_Registry
3939 instance. If the registry has not been started before, or has
3940 died (as detected by failure of a CORBA exception), it is
3941 restarted before return, and spi_atk_bridge_register_application
3942 is called again to register with the new bridge instance.
3943 (spi_atk_emit_eventv):
3944 Set registry_died on error; use spi_atk_bridge_get_registry () to
3945 access the registry.
3947 * registryd/registry.c:
3948 (impl_accessibility_registry_register_global_event_listener):
3949 Set listener's event_type_quark to etype.minor instead of
3950 etype.major (fix for bug 84856).
3952 * test/event-listener-test.c:
3953 (report_detail_event):
3954 Change the output string so that user/tester can tell that the
3955 'detail listener' was called instead of the 'generic listener'.
3957 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3959 Fixes for bugs 84900, 84908, 84897, 84898.
3964 Revved version to 1.1.0
3965 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3966 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3968 * idl/Accessibility_Registry.idl:
3969 (EventListener::notifyEvent):
3970 Removed 'oneway' directive after extensive consulation with
3971 ORBit2 team and others. This means also that unref() of the event
3972 source can and should be done synchronously after emission, rather
3973 than remotely in the client, after servicing the notify call on
3976 NOTE: This change speeds up listener performance considerably, but
3977 introduces new latency on the application side. We may want to
3978 add an event queue to the atk-bridge.
3980 * atk-bridge/bridge.c:
3981 (spi_atk_bridge_focus_tracker):
3982 Do a local unref() on the event source after emission.
3984 * registryd/registry.c:
3985 (desktop_remove_application):
3986 Do an unref() on the event source after emission.
3987 (desktop_add_application):
3988 Do an unref() on the event source after emission.
3989 (notify_listeners_cb):
3990 When relaying an event, don't automatically add the event source
3991 to the local object cache, just CORBA_dup it instead. Likewise,
3992 if this method reenters, release the ref rather than calling
3994 (impl_registry_notify_event):
3995 No longer call remote unref() on the event source after dispatch.
3997 * libspi/eventlistener.c:
3998 (impl_accessible_event_notify_event):
3999 Removed remote unref ()
4001 * cspi/bonobo/cspi-bonobo-listener.c:
4003 We now call cspi_object_new() instead of cspi_object_add() on
4004 receipt of an event; thus we only have an implicit object ref
4005 while the cspi_event method is being executed. If we need to keep
4006 a reference to the object, the listener must call ref() on the
4007 object. Thus also we don't need to call cspi_object_unref() after
4008 invoking the listener callbacks in this method.
4012 New internal API for creating a new cspi object, without adding it
4013 to the object cache.
4015 Now uses cspi_object_new() to create the cspi object instance.
4017 Now checks to see if the object is in the internal object cache,
4018 and adds it if necessary before incrementing its refcount (note
4019 that new objects are added with a refcount of 1).
4020 (report_leaked_ref):
4021 New method which gives some information on leaked object instances
4022 if leak detection is turned on.
4024 * test/event-listener-test.c:
4025 (timing_test_event):
4026 New method, used for testing event delivery timing for special
4027 events of type "object:test". It reports elapsed time and
4028 events/sec every 500 events.
4030 Added a new listener, 'test listener', to check timing of event
4031 receipt as noted above.
4033 Added some timing output here also, reports elapsed time every 100
4036 * test/stress-test.c:
4037 Emit events of type "object:test", for use with "event-listener-test".
4039 * test/test-simple.c:
4040 (global_listener_cb):
4041 Call Accessible_ref() on the event source before calling
4042 validate_accessible, since the validation process does pointer
4043 comparisons on the event source, meaning that the event source
4044 needs to be added to the local object cache first. Any use of
4045 such pointer comparisons between Accessible objects requires that
4046 the caller hold an explicit reference to those objects.
4047 We also must therefore call Accessible_unref() when leaving this method.
4049 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4051 * registryd/deviceeventcontroller.c:
4052 (spi_controller_update_key_grabs):
4053 Fix for #84735, subsequent keygrab listeners not informed of
4054 registration failure.
4057 (spi_base_construct):
4058 Add an assertion on construct, to make sure the GObject passed in
4059 is really a GObject.
4061 Explicitly initialize object->gobj pointer to NULL;
4063 * cspi/bonobo/cspi-bonobo-listener.c:
4064 (cspi_object_add_ref):
4065 New method, can specify whether to dup-ref a bonobo object passed
4066 in if it's newly added to the object cache.
4068 Now calls cspi_object_add_ref with second param of "FALSE". This
4069 prevents us from doing a pointless dup-ref followed by
4070 release-unref for all those cases where the object is already in
4071 our object cache (fix for #85205).
4073 * atk-bridge/bridge.c:
4074 (spi_atk_bridge_idle_init):
4075 Removed this method, we don't need to initialize in an idle
4078 Changed to call spi_atk_register_event_listeners directly, not via an
4079 idle handler. (fix for #81139)
4080 (gnome_accessibility_module_shutdown):
4081 Removed conditional around deregistration of listeners, since we
4082 don't use the idle handler and thus have always registered when
4084 (spi_init_keystroke_from_atk_key_event):
4085 Changed references to Accessibility_KEY_PRESSED to
4086 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4088 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4090 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4095 * test/stress-test.c:
4098 (may have been an incomplete commit yesterday?)
4100 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4103 Added target for new stress-test.
4105 * test/stress-test.c:
4106 New test, sends 1000 focus notifies in quick succession.
4108 * test/key-listener-test.c:
4109 Now we report whether a keylistener registration
4110 request succeeded or failed.
4112 * test/event-listener-test.c:
4113 Uncommented some listeners which are now implemented.
4116 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4118 * registryd/deviceeventcontroller.c:
4119 (spi_controller_update_key_grabs):
4120 Fix for #82509, lack of failure notification when
4121 ALL_WINDOWS keygrabs fail due to XGrabKey
4122 failure: we synchronize the server when
4123 registering a passive grab, to make sure we get the
4124 error message before the call returns.
4126 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4128 * test/test-simple.c:
4130 Removed #ifdef KEY_IMPL_WORKS guards.
4131 (test_keylisteners):
4132 Removed #ifdef KEY_IMPL_WORKS guards.
4133 Fixed bug which was causing a hang waiting for a
4134 "press" event (which was already overwritten by a "release"
4135 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4137 Added code to set globals 'key_press_received' and
4138 'key_release_received'.
4141 Added section "1.1 API Proposed Additions" which
4142 lists API additions desired for at-spi-1.1 (only one so far).
4143 Updated TODO list a little.
4145 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4147 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4150 * configure.in: Revved to 1.0.0.
4152 * idl/Accessibility_Registry.idl:
4153 (registerKeystrokeListener):
4154 Added boolean return value.
4156 * registryd/registry.c:
4157 (notify_listeners_cb): Minor fix to debug output.
4159 * registryd/Accessibility_Registry.server.in.in:
4160 Revved version number in OAFIID to 1.0.
4162 * registryd/registryd.c:
4164 Use new OAFIID version.
4166 * cspi/bonobo/cspi-bonobo.c:
4168 Use new OAFIID version.
4174 * atk-bridge/bridge.c:
4176 Use new OAFIID version.
4178 * registryd/deviceeventcontroller.c:
4179 (impl_register_keystroke_listener):
4180 Added CORBA_boolean return value.
4181 (spi_controller_register_device_listener):
4182 Added gboolean return value.
4183 (spi_controller_register_global_keygrabs):
4184 Added gboolean return value.
4185 (spi_key_set_contains_key):
4186 Added implementation for many more control keys,
4187 for instance F1-F12, arrow keys, End, Home, Page_Up,
4189 [TODO: some still not implemented].
4191 * text/screen-review-test.c:
4192 (text_chunk_pad_string):
4193 New function: it provides mapping between coordinate
4194 positions of text chunks and character positions in the
4195 screen-review-line output string.
4196 (text_chunk_to_string):
4197 New function, calls text_chunk_pad_string with various
4198 pad/delimiter characters. Pushbuttons are delimited with
4199 square brackets, Frames with vertical 'pipe' lines, and
4200 other text with double quotes.
4201 (text_chunk_list_to_string):
4202 Calls new function text_chunk_to_string.
4203 (toplevel_composite):
4204 New function to composite layers CANVAS through
4205 POPUP in each toplevel (other layers are composited
4206 across toplevels, i.e. BACKGROUND and OVERLAY).
4207 (review_buffer_composite):
4208 Revise to use new methods.
4214 2002-05-31 Laszlo Peter <laca@sun.com>
4216 * configure.in: add the Xtst libdir to the runpath on Solaris,
4217 since it's not in the default library search path.
4219 2002-05-29 jacob berkman <jacob@ximian.com>
4221 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4223 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4225 * test/screen-review-test.c:
4226 (text_chunk_pad_string):
4227 Added method, which pads the string according to the
4228 text bounds of the chunk. It also takes a 3-character
4229 string as a param which indicates the characters to be
4230 used for start, padding, and end delimitation of the chunk.
4231 (text_chunk_to_string):
4232 Changed to use text_chunk_pad_string.
4234 * configure.in: Fixed bug in AC_OUTPUT that was
4235 causing path substitution in Accessibility_Registry.server
4238 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4240 * text/screen-review-test.c:
4241 (guess_string_clip):
4242 New method which attempts a best-guess at clipping
4243 text from components (like Java labels) which don't
4244 actually implement AccessibleText. This inaccurate
4245 clip is based on the assumption that the label is
4246 justified left-and-right, and monospaced.
4247 (text_chunk_get_clipped_string):
4248 We now call guess_string_clip() for text-containing
4249 components that don't implement AccessibleText.
4251 * test/screen-review-test.c:
4252 (review_buffer_get_text_chunk):
4253 We now pull "name" from labels if they do not implement
4254 AccessibleText (i.e. for Java labels).
4255 (get_screen_review_line_at):
4256 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4259 Replaceded AC_OUTPUT target
4260 registryd/Accessibility_Registry.server with
4261 registryd/Accessibility_Registry.server.in.
4263 * registryd/Accessibility_Registry.server.in:
4264 Removed (this is now a Makefile target).
4266 * registryd/Accessibility_Registry.server.in.in:
4267 Added (source for target above). We now use $(libexecdir) as
4268 prefix for the executable at-spi-registryd.
4270 * registry/Makefile.am:
4271 Now install at-spi-registryd into $(libexecdir), and build .server
4272 file with path (see above).
4274 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4276 * test/screen-review-test.c:
4277 (text_chunk_get_clipped_string):
4278 We now check to see if words fall within clip bounds
4279 before resorting to character-by-character clip bounds testing.
4281 * TODO: Added a section for "2.2 Proposed API Additions".
4283 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4285 * test/screen-review-test.c:
4287 Added a screen review benchmarking and test program to test
4290 * cspi/spi_accessible.c:
4292 Made some of the debug strings passed to cspi_check_ev a
4293 little more specific.
4295 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4297 * test/screen-review-test.c: Fix crashes in debug statements
4299 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4301 * test/screen-review-test.c: Added this file.
4303 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4305 * atk-bridge/bridge.c: changed "object:state-change" to
4306 "object:state-changed" to match docs.
4308 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4310 * atk-bridge/bridge.c: Hooked up state-change event details.
4312 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4314 * registryd/registry.c:
4315 Fixed quarking bug in event string parsing; now events with
4316 detail parameters get matched correctly to listeners.
4319 * util/idl/Magnifier.idl: remove.
4321 * util/*.[ch]: Remove.
4322 Magnification utilities and IDL are now in module gnome-mag.
4324 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4326 * registryd/deviceeventcontroller.c:
4327 Fixed bug in grab key conversion which was causing keycode grabs
4328 to be converted to AnyKey grabs.
4331 updated NEWS file to reflect recent spin-off of gnome-mag.
4333 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4335 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4336 busted AccessibleStateSet_compare. Removed redundant casts.
4338 * cspi/spi-action.c: Removed redundant casts.
4340 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4342 * cspi/spi_component.c: Fixed typos and casting error.
4344 * cspi/spi_editabletext.c: Removed redundant casts.
4346 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4348 * cspi/spi_hypertext.c: Eliminated redundant casts.
4350 * cspi/spi_image.c: Eliminated redundant casts.
4352 * cspi/spi_registry.c: Eliminated redundant casts.
4353 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4354 * cspi/spi_selection.c: Removed redundant casts.
4355 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4356 handling. Screen geometry and text offsets were being returned as 0
4357 on error which is technically valid-- changed these to return -1.
4358 Added marshaller for text boundary types to fix bug with boundary
4359 types being passed incorrectly to atk.
4361 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4364 * cspi/spi_registry.c:
4365 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4366 which was uncovered by the recent key changes.
4368 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4370 * test/event-listener-test.c:
4372 Added new test, "event-listener-test";
4373 this code does two things; it benchmarks traversal time
4374 for the accessible hierarchy for the first running accessible
4375 app, and it connects listeners for all supported event types.
4376 It is thus useful as an example event listener and for
4377 diagnostics/debugging of event generation.
4379 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4382 Removed unnecessary dependency on libutil.
4385 Revved micro version: 0.13.1
4387 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4390 Removed util/Makefile from targets.
4393 Removed util subdir from SUBDIRS (temporarily,
4394 pending removal of magnifier-only code
4398 #ifdef-ed out magnifier dependencies, since
4399 magnifier IDL, headers, and binary now live in
4400 module gnome-mag and we don't want at-spi to depend
4401 on gnome-mag. A magnifier demo which can run alongside
4402 simple-at is forthcoming in the gnome-mag module.
4404 NOTE: Split magnifier binary, IDL, and magnification
4405 activation code from at-spi into module gnome-mag.
4407 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4409 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4410 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4412 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4415 Revved to version 0.13.0
4417 * idl/Accessibility_Registry.idl:
4418 Changed definition of KeySet from sequence of longs to sequence of
4419 KeyDefinitions, and added KeyDefinition struct.
4420 Required for fix to bug 80616.
4422 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4423 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4424 to use new definition (see above).
4426 * registryd/deviceeventcontroller.c: handle_keygrab(),
4427 spi_keyset_contains_key():
4428 Changed to make use of new struct; this allows matching based on
4429 string key-name, for instance "Tab". This also allows matching of
4430 composed characters, non-alphanumeric characters in a way that
4431 doesn't involve dependencies on X keysym codes directly, etc.
4433 * test/key-listener-test.c:
4434 Added test for Alt-Tab key using "string" specification of keyset,
4435 and modified one of the tests to use a keycode-based keyset.
4436 Thus this test both tests and demonstrates the creation and use of
4437 keysets of three forms: specified via keycode array,
4438 keysym array, and string array. (The string case only contains a
4439 single string, i.e. a string array of length 1).
4442 Turned on PRINT_TREE option by default. Also fixed a
4443 string-freeing bug in the PRINT_TREE code.
4444 Added a listener to window:minimize events.
4446 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4448 * atk-bridge/bridge.c:
4449 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4450 for window:activate and window:deactiveate
4451 (atk_bridge_property_event_listener atk_bridge_signal_listener
4452 atk_bridge_window_event_listener) Tidy debug code
4454 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4456 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4457 Fixed handling for NULL return value from ATK.
4459 * libspi/action.c libspi/component.c libspi/editabletext.
4460 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4461 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4462 Removed redundant casts.
4464 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4465 Fixed off by one bug.
4467 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4468 function not present in idl)
4470 2002-05-02 jacob berkman <jacob@ximian.com>
4472 * atk-bridge/Makefile.am: make atk-bridge a real module
4474 2002-04-26 Radek Doulik <rodo@ximian.com>
4476 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4477 atk_state_types table
4479 2002-04-22 jacob berkman <jacob@ximian.com>
4482 * libspi/Makefile.am: add deps on the built files to help
4483 automake, and don't version the ORBit typelib
4485 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4487 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4488 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4489 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4490 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4491 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4492 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4493 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4494 libspi/accessible.h libspi/accessible.h libspi/base.h
4495 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4496 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4497 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4498 libspi/spi-private.h libspi/statetset.h libspi/table.h
4499 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4500 util/mag_client.h util/mag_control.c util/mag_image.c
4501 util/mag_image.h util/magnifier.c util/magnifier.h:
4502 Add missing file headers; standardize existing ones
4504 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4506 * atk-bridge/bridge.c: Added window event support.
4508 2002-04-18 Michael Meeks <michael@ximian.com>
4510 * libspi/relation.c (impl_getNTargets): impl.
4511 (impl_getTarget): impl.
4513 * libspi/Makefile.am: fix stateset install.
4515 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4518 Started putting useful info in this file.
4520 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4522 * atk-bridge/bridge.c:
4523 Propagate state-changed notifications to ATs
4525 * cspi/spi_registry.c: update docs to reflect actual behavior of
4526 state-change events.
4528 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4531 Incremented version to 0.12.1
4533 * util/mag_client.h:
4534 Add missing declaration for magnifier_exit,
4535 used by mag_control.c - Forte compiler didn't like
4536 the implicit redeclaration of the function :-(
4539 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4542 Revved version to 0.12 due to API change (see below).
4544 * cspi/spi-roletypes.h:
4545 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4546 definition from the inline docs, and added docs
4547 for SPI_ROLE_LAST_DEFINED.
4550 * cspi/spi_streamablecontent.c:
4551 Added missing seek_type parameter to
4552 (so far unused) method,
4553 AccessibleStreamableContent_seek().
4554 [ RT approval JodyG. ]
4557 Fixed docs for SPI_createAccessibleKeystrokeListener.
4559 * cspi/spi_registry.c:
4560 Fixed docs for SPI_KEYSET_ALL_KEYS.
4562 * docs/reference/cspi/at-spi-cspi-sections.txt:
4563 Added a number of missing APIs to SECTIONS.
4565 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4567 * registryd/Makefile.am:
4569 * cspi/bonobo/Makefile.am:
4570 Add $(X_LIBS) to makefiles.
4572 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4575 Revved version to 0.11.
4577 * libspi/component.c:
4578 Added implementation for grabFocus.
4580 * idl/Accessibility_Component.idl
4581 (Accessibility_Component_grabFocus):
4582 Made this method return boolean to indicate success or failure, to
4583 be consistent with cspi and the corresponding ATK method.
4585 * idl/Accessibility_Selection.idl
4586 (Accessibility_Selection_selectAll) :
4587 Made these methods return boolean to indicate success or
4588 failure, to be consistent with cspi and the corresponding ATK methods.
4590 * idl/Accessibility_EditableText.idl
4591 (Accessibility_EditableText_setTextContents,
4592 Accessibility_EditableText_insertText,
4593 Accessibility_EditableText_cutText,
4594 Accessibility_EditableText_deleteText,
4595 Accessibility_EditableText_pasteText):
4596 Made these methods return boolean to indicate
4599 * cspi/spi_editabletext.c:
4600 Made these methods return booleans.
4602 * libspi/selection.c:
4603 * libspi/component.c:
4604 * libspi/editabletext.c:
4605 Connected the boolean returns from ATK
4606 to the server-side code referenced above.
4608 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4610 * idl/Accessibility_Table.idl: Added missing methods,
4611 Accessibility_Table_addRowSelection,
4612 Accessibility_Table_addColumnSelection,
4613 Accessibility_Table_removeRowSelection,
4614 Accessibility_Table_removeColumnSelection.
4617 Added C wrappers for above IDL:
4618 AccessibleTable_addRowSelection,
4619 AccessibleTable_addColumnSelection,
4620 AccessibleTable_removeRowSelection,
4621 AccessibleTable_removeColumnSelection.
4624 Added server-side implementation code for IDL above, connecting
4625 to pre-existing ATK api.
4627 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4629 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4631 * libspi/accessible.c: Added implementation fo
4632 Accessibility_Accessible_get_state.
4634 * libspi/libspi.h: Added stateset.h to the list of includes.
4636 * libspi/stateset.c: Fixed broken implementation.
4638 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4641 Added implementation code for Accessibility_Magnifier_exit ().
4643 * util/mag_control.c:
4644 Added test code for above method; you can
4645 now kill an existing magnifier via
4646 ./mag_control q, from the util directory.
4648 * test/key-listener-test.c:
4650 Added a new test, for our key listener API.
4652 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4654 * test/app.c, test/keysynth-demo.c:
4656 Replace use of snprintf with g_snprintf.
4657 (fix for bugzilla 78249)
4659 2002-03-27 Michael Meeks <michael@ximian.com>
4663 * util/Makefile.am (INCLUDES): fix.
4664 (DONT_DIST_SOURCE): don't distribute the
4667 * libspi/Makefile.am (dist-hook): ditto.
4669 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4671 * libspi/hypertext.c:
4672 Fix warnings when yelp is used with atk-bridge
4674 2002-03-21 Michael Meeks <michael@ximian.com>
4676 * libspi/application.c (spi_application_new):
4677 use spi_accessible_construct so we use the AtkObject
4680 2002-03-19 Michael Meeks <michael@ximian.com>
4682 * registryd/registry.c (desktop_remove_application),
4683 (desktop_add_application): clean coding style.
4685 * registryd/desktop.c (spi_desktop_remove_application),
4686 (spi_desktop_add_application): kill re-enterency hazards.
4687 (spi_desktop_dispose): remove bogus redundant cast
4688 obscuring bug; fix bug too.
4689 (spi_desktop_init): make the desktop object immortal.
4691 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4694 Added a #define-guarded tree-traversal step
4695 when enumerating the apps (diagnostic tool).
4697 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4699 * idl/Accessibility_Role.idl:
4700 Added ROLE_DRAWING_AREA which seemed to be missing from the
4703 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4705 * cspi/spi-roletypes.h cspi/spi_accessible.c
4706 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4709 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4710 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4711 AT when applications are added and removed from the desktop. This
4712 reverts the previous broken implementation using the backing
4713 AtkObject for the SpiDesktop.
4715 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4717 * registryd/desktop.c: emit the "children-changed::add" and
4718 "children-changed::remove" signals on the backing ATK object for
4719 the desktop so AT can tell when applications are started and shut
4722 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4724 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4726 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4728 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4730 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4732 * cspi/state-types.h: synched with IDL and ATK
4734 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4736 * libspi/accessible.c
4737 (impl_accessibility_accessible_get_child_at_index):
4738 Change return value for g_return_if_fail ()
4739 to CORBA_OBJECT_NIL instead of "0" (!)
4741 * registryd/Makefile.am:
4742 * registryd/Accessibility_Register.server.in:
4743 Changed name of executable, "registryd",
4744 to something more informative:
4747 2002-03-13 Michael Meeks <michael@ximian.com>
4749 * atk-bridge/bridge.c (atk_bridge_init): don't register
4750 if we're in a bonobo-component, rather than a bonobo app.
4752 2002-03-13 Michael Meeks <michael@ximian.com>
4754 * atk-bridge/bridge.c (gtk_module_init): split
4755 out body to (atk_bridge_init): here, since otherwise
4756 we get symbol conflicts and oddness when invoked
4757 from (gnome_accessibility_module_init): here (upd.)
4759 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4762 New file. Explicitly allow "build sheriff" putbacks provided
4763 they are tested on Solaris.
4765 * docs/reference/cspi/Makefile.am:
4766 Added '-' to the "cp" command for index.sgml.
4767 ("patch by thomasvs, soon coming to a GUADEC near you")
4770 Incremented version number (0.9.0) for new release.
4771 Changed macro that checks for popt, to better detect
4772 obsolete versions of popt.
4775 Added X_LIBS to AC_SUBST, for applications
4776 that call Xlib API directly.
4779 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4782 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4785 Fix regression caused by hard-coding major
4786 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4789 * test/test-simple.c (test_editable_text),
4790 (test_test): revert previous change (error was
4791 a regression in gail which is now fixed).
4793 2002-03-04 Michael Meeks <michael@ximian.com>
4795 * test/test-simple.c (test_editable_text),
4796 (test_text): pass G_MAXINT instead of '-1' for
4797 whole string - is this a good thing !?
4799 * cspi/spi_accessible.c
4800 (Accessible_getRelationSet): fix crasher bug
4801 overwriting the end of the array.
4803 * test/test-simple.c (validate_accessible): free,
4804 not g_free returned relation set.
4806 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4808 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4809 implemented stateset support
4811 * idl/Accessibility_State.idl: Made necessary changes to
4812 the IDL to support state sets.
4814 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4816 * registryd/deviceeventcontroller.c:
4817 Added implementation for generateMouseEvent.
4819 * cspi/spi_registry.c:
4820 Connected new implementation for generateMouseEvent
4823 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4826 Incremented revision (but no change in public API
4827 outside of 'utils', which are not installed public yet.)
4829 * libspi/component.c:
4830 Changed to use atk_component API for layers and
4831 mdi_zorder, instead of deprecated atk_object API.
4833 Magnification Utility Enhancements:
4836 Added implementation of createZoomRegion, clearAllZoomRegions,
4837 resizeZoomRegion. Added new commandline argument
4838 "--no-initial-region". Note that clearAllZoomRegions doesn't
4839 unmap the old '0' region as it should (yet), and the other
4840 methods only work when creating/resizing a single region,
4841 which is "region 0".
4842 (Code for multiple region support will be added later.)
4845 Now we raise the magnifier window each time it's refreshed;
4846 this will help keep it on top.
4848 * util/mag_client.h:
4849 Added simple wrappers for above, used by mag_control.
4850 For general use, it's recommended to use the bonobo magnifier
4851 control API directly instead of using these wrappers.
4854 Moved ZoomRegionData from magnifier.c to this file.
4856 * util/mag_control.c:
4857 Added some code to exercise new IDL implementations.
4859 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4861 * libspi/text.c: Provide implementation for getAttributes.
4863 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4866 Incremented revision.
4868 * test/test-simple.c:
4869 Replaced use of deprecated g_main_iteration with
4870 g_main_context_iteration.
4872 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4875 Incremented revision for desktop alpha 2.
4877 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4879 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4882 * test/simple-at.c: include netinet/in.h.
4884 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4886 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4887 use NULL, not CORBA_OBJECT_NIL.
4889 * libspi/accessible.c:
4890 (impl_accessibility_accessible_get_relation_set):
4891 allocate the sequence correctly.
4893 * libspi/remoteobject.h: kill spi_remote_object_new.
4895 * test/test-simple.c: (validate_accessible): add code
4896 to test relation sets, now all we need is to figure
4897 out how to excercise this code path :/
4899 2002-01-18 Michael Meeks <michael@ximian.com>
4901 * test/test-simple.c
4902 (key_listener_cb): consume the key.
4903 (test_keylisteners): update.
4904 (main): wait for any pending unrefs on events.
4906 * registryd/deviceeventcontroller.c
4907 (spi_controller_update_key_grabs): only re-issue the
4908 grab on a key release.
4909 (spi_device_event_controller_forward_key_event):
4910 refresh the keygrabs before we notify the listeners,
4911 to reduce the X ungrab / re-grab race.
4912 (spi_controller_register_with_devices): remove
4913 XSelectInput - we do that with the gdk_window_ call.
4914 (_spi_controller_device_error_handler): return a value.
4915 s/GDK_DISPLAY/spi_get_display/
4917 2002-01-17 Michael Meeks <michael@ximian.com>
4919 * registryd/deviceeventcontroller.c
4920 (_deregister_keygrab): don't blow out the later
4923 * test/test-simple.c (test_keylisteners): do a
4924 more intelligent validation.
4926 2002-01-14 Michael Meeks <michael@ximian.com>
4928 * atk-bridge/bridge.c
4929 (gnome_accessibility_module_init),
4930 (gnome_accessibility_module_shutdown): impl.
4931 (gtk_module_init): protect vs. double inits.
4932 (add_signal_listener): impl.
4933 (spi_atk_bridge_state_event_listener): kill
4934 (deregister_application): split out of
4935 (spi_atk_bridge_exit_func): here.
4937 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4940 Added caret tracking when using magnifier, and
4941 now use text bounds for focus tracking of text elements, rather than
4942 the component bounds - this is helpful for short text fields in long
4943 table cells, at high magnification.
4945 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4947 * registryd/deviceeventcontroller.c:
4948 Regression fix for keylistener de-registration; global keygrabs
4949 were not being released when deregisterKeystrokeListener was
4950 called in cspi, since
4951 Accessibility_DeviceEventController_deregisterKeystrokeListener
4952 was called with a zero-length keyset. That is because the cspi
4953 method, SPI_deregisterKeystrokeListener, does not take a keyset
4954 parameter but instead should remove all the key grabs held be a
4956 The code in impl_deregister_keystroke_listener was changed to copy
4957 the keylist from the listener instance previously registered with
4958 the DeviceEventController before releasing the grabs.
4960 * registryd/registry.c:
4961 * registryd/deviceeventcontroller.c:
4962 * libspi/spi-private.h:
4964 Changed spelling of "re-enterant" to "re-entrant" globally.
4966 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4968 * test/test-simple.c:
4969 Changed key listeners test - the test was slightly mis-using the
4970 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4971 It now uses '=' as the key event listened to and generated,
4972 relying on a keysym match rather than assuming that keycode 33
4973 is always equal to keysym '!'.
4975 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4978 Changed simple-at to use a specific keyset, rather than
4979 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4980 manager, desktop, etc.
4982 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4984 * registryd/deviceeventcontroller.c:
4985 Replaced standard X error handler with a special handler that
4986 is non-fatal for failed keygrabs. This works around
4987 problems with keygrab clashes sometimes observed on
4989 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4990 mouse handling code as yet).
4992 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4995 Incremented revision for desktop alpha release.
4998 Fixed a couple of the more glaring errors (still not
5001 2002-01-11 Michael Meeks <michael@ximian.com>
5003 * registryd/deviceeventcontroller.c
5004 (spi_device_event_controller_forward_key_event): kill
5005 XUngrabKey / XKeyGrab race.
5006 (spi_controller_grab_keyboard): rename to
5007 (spi_controller_update_key_grabs): this, and deal
5008 with incremental adding / removing grabs more
5010 (_register_keygrab): ensure we're not pending a remove.
5011 (spi_grab_mask_free): impl.
5012 (spi_controller_register_global_keygrabs): split out
5014 (handle_keygrab): impl.
5015 (_deregister_keygrab): impl.
5016 (spi_controller_deregister_global_keygrabs): impl.
5017 (spi_controller_update_key_grabs): re-issue the grab if
5018 we just recieved a notification.
5020 * test/test-simple.c (key_listener_cb): remove debug.
5022 * registryd/deviceeventcontroller.c
5023 (spi_controller_register_device_listener): after
5024 registering a global keygrab, actualy register it !
5025 don't wait for a timeout; doh !
5027 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5028 to make it more readable / manipulable.
5029 s/grabmask/grab_mask/ s/refcount/ref_count/
5030 s/keyval/key_val/ s/modmask/mod_mask
5032 2002-01-08 Michael Meeks <michael@ximian.com>
5034 * registryd/deviceeventcontroller.c
5035 (spi_controller_register_with_devices): use gdk calls to
5037 (global_filter_fn): implement the filter.
5038 (spi_device_event_controller_check_key_event): rename to
5039 (spi_device_event_controller_forward_key_event): this & upd.
5040 (spi_get_display): replace with GDK_DISPLAY.
5042 * registryd/deviceeventcontroller.c
5043 (spi_controller_deregister_device_listener): unroll into
5044 (impl_deregister_keystroke_listener): here to simplify.
5045 (spi_controller_register_global_keygrabs): split cut and
5046 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5047 (spi_controller_deregister_device_listener): remove.
5048 (impl_register_mouse_listener): remove, no mouse listener
5049 support in at-spi-1.0
5051 * registryd/registry.c
5052 (_device_event_controller_hook): kill.
5053 (spi_registry_init): upd.
5055 * registryd/deviceeventcontroller.c
5056 (spi_device_event_controller_class_init): upd.
5057 (spi_check_key_event): merge into.
5058 (spi_device_event_controller_check_key_event):
5059 here and kill strange static ev init, don't leak
5060 the x_event - nor dynamicaly allocate it.
5062 * registryd/registry-main.c (main): re-direct
5063 timeout to remove strange vtable mess.
5065 * registryd/deviceeventcontroller.c
5066 (remove_listener_cb): impl.
5067 (spi_controller_deregister_device_listener):
5068 fix re-enterancy hazard.
5070 2002-01-07 Michael Meeks <michael@ximian.com>
5072 * registryd/deviceeventcontroller.c
5073 (spi_device_event_controller_new): upd.
5074 (impl_notify_listeners_sync): upd. debug.
5075 (spi_notify_keylisteners): fix re-enterancy hazards,
5076 prettify, remove O(n*n) iteration.
5077 (spi_controller_grab_keyboard): fix iteration.
5078 (spi_check_key_event): re-format to suit coding style.
5079 Clean all the warnings - we're warning free.
5081 * registryd/deviceeventcontroller.h:
5082 * registryd/registry.h: make mutualy referential with
5083 typesafe forward references instead of (!) void pointer
5086 2002-01-11 Michael Meeks <michael@ximian.com>
5088 * cspi/spi_accessible.c (role_names): add a role name
5089 to sync this array with the enum; and make the regression
5092 2002-01-10 Michael Meeks <michael@ximian.com>
5094 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5095 allow expansion of enumeration & kill warning.
5097 * test/test-simple.c (key_listener_cb): impl.
5098 (test_keylisteners): impl.
5100 * cspi/spi-listener.h: make listener signatures const
5101 on the provided (const) events.
5103 * test/keysynth-demo.c: upd. to const events.
5105 * test/simple-at.c: ditto.
5107 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5110 Rev the version to 0.5 (the previous tarball was named 0.4,
5111 even though the micro number was 3), so we need to rev upwards
5112 again for beta2/"desktop-alpha"
5115 Checked in a demo script, which requires editing before use!
5116 Proceed with caution.
5119 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5121 * cspi/spi_accessible.c:
5122 Add a couple of missing enum initializations, and fix some enum
5125 * cspi/spi_registry.c:
5126 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5128 * docs/reference/cspi/at-spi-cspi-sections.txt:
5129 Remove/fix a couple of broken document references.
5132 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5133 as Alt-Control to listen for commands, since on some systems
5134 Control-Alt may already be grabbed.
5136 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5139 Update version number to 0.4 for Beta2.
5141 * libspi/accessible.c, libspi/accessible.h:
5142 Expose spi_accessible_construct, to enable libgail-gnome
5143 construction from spi_accessible subtype.
5145 * utils/magnifier.c:
5146 Workaround for bug in some non-gnome-compliant window managers
5147 which made magnifier resize improperly.
5149 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5151 * libspi/accessible.c: (spi_accessible_new) :
5152 Move the test for SPI_IS_REMOTE_OBJECT to
5153 spi_accessible_new_return, fixing a bug and compile time warning.
5155 2002-01-08 Michael Meeks <michael@ximian.com>
5157 * registryd/registry.c (parse_event_type): remove strndup.
5159 * libspi/Makefile.am (libspi_la_SOURCES): remove
5160 sources already included in the headers section.
5162 * libspi/util.c: add.
5164 * libspi/spi-private.h: add.
5166 * registryd/registry.c: update to moved list iterators.
5168 2002-01-05 Michael Meeks <michael@ximian.com>
5170 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5172 * test/test-simple.c (main): ditto.
5174 2002-01-04 Michael Meeks <michael@ximian.com>
5176 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5177 redundant construct.
5179 * registryd/registry.c
5180 (get_listener_list): impl.
5181 (impl_accessibility_registry_register_global_event_listener):
5182 re-impl. to simplify using ~, remove dodgy const cast off.
5183 (parse_event_type): constify.
5184 (impl_accessibility_registry_deregister_global_event_listener_all):
5185 re-write, more efficiency and simplicity, kill re-enterancy
5187 (compare_listener_corbaref, compare_corba_objects),
5188 (compare_listener_quarks): define out.
5189 (impl_accessibility_registry_deregister_global_event_listener):
5190 re-write for effiency, and nail re-enterancy hazard.
5191 (impl_accessibility_registry_get_desktop_list): impl.
5192 (re_enterant_list_delete_link): impl.
5193 (re_enterant_list_foreach): impl.
5194 (remove_listener_cb): impl.
5195 (_registry_notify_listeners): kill.
5196 (notify_listeners_cb): impl.
5198 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5199 (SPI_getDesktopList): impl.
5201 * test/test-simple.c (test_desktop): test the methods.
5203 2002-01-03 Michael Meeks <michael@ximian.com>
5205 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5206 keystrings since we free them
5207 (SPI_freeAccessibleKeySet): in here.
5209 * libspi/accessible.c (spi_accessible_new): kill warning,
5210 wonder what is going on with the constructor here.
5212 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5214 * libspi/accessible.c (spi_accessible_new ()) :
5215 Added check to see if AtkObject is an SpiRemoteObject before
5216 creating an SpiAccessible.
5218 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5220 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5221 Enable keygrabs using the Control modifier, now that they are
5222 working properly (they were previously disabled).
5225 Change the command keygrab for this demo to "Control+Alt", so as
5226 to conflict with fewer other key commands on the system; this
5227 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5229 Removed a pointlessly-chatty keylistener for unshifted keys
5230 (shifted keys are still reported).
5232 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5234 * libspi/remoteobject.h:
5235 * libspi/remoteobject.c:
5236 Added definitions for special AtkObject subtype, required for
5237 support of remote components (specifically, used by BonoboControl
5238 accessibility implementation).
5240 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5242 * cspi/spi.h: synched relation types with ATK
5244 * cspi/spi_accessible.c: Added implementations of
5245 AcccessibleRelation_* methods
5247 * idl/Accessibility_Relation.idl: added getRelationTypeName
5248 method. Synched known relation types with ATK. Allowed for
5249 relation type extension with the RELATION_EXTENDED type.
5251 * libspi/relation.c: Provided implementations for
5252 AccessibleRelation methods.
5254 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5256 API tweaks for today's API 'freeze'.
5259 Added placeholder functions to allow future compatible expansion
5260 of the IDL interfaces.
5262 * idl/Accessibility_Registry.idl:
5263 Changed generateKeyEvent to generateKeyboardEvent. Changed
5264 signature of this method to accept an optional keystring in
5265 parameter (for complex text input synthesis) and changed use of
5266 simple 'boolean' parameter in registerKeystrokeListener to a
5267 struct, EventListenerMode.
5269 * cspi/spi_accessible.c:
5271 * cspi/spi_streamablecontent.c:
5272 Added references to AccessibleStreamableContent interface, and
5273 definition and implementation of AccessibleStreamableContent
5276 * cspi/spi_registry.c:
5278 Changed generateKeyEvent API to generateKeyboardEvent,
5279 taking a new (optional) keystring parameter to support complex
5284 Renamed directory (to better reflect its actual purpose, bridging
5285 from at-spi to ATK). The .so module is also now named
5288 * idl/Accessibility_Hypertext.idl:
5289 * libspi/accessible.c:
5290 * libspi/hypertext.h:
5291 * libspi/hypertext.c:
5292 Changed Accessibility_Hypertext to *not* derive from
5295 * cspi/spi_registry.c:
5296 Added list of legal event type names for 'window' events, which
5297 completes the registry event API.
5299 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5301 * at-bridge/bridge.c: Added registration for separate
5302 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5303 signals. If either of the first two parameters to the generic
5304 bridge signal handler are ints, they are passed on as event
5305 details. This allows an AT to determine what text was inserted.
5307 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5309 * registryd/deviceeventcontroller.c:
5310 Fixed regressions in generateKeyEvent caused by the removal of
5311 gdk_init from registryd; we now use pure X calls to connect to the
5312 display, which makes sense because deviceeventcontroller already
5313 uses a fair bit of X API (should eventually be migrated to a
5314 'portability layer').
5316 * registryd/desktop.c:
5317 Fixed minor regression in spi_desktop_init, changed the way the
5318 desktop name is being set to work with new spi_base API
5319 (gobject-based, rather than AtkObject-based).
5321 * registryd/Makefile.am:
5322 Minor revision of makefile to use XTST_LIBS variable rather than
5323 hard-wiring the Xtst LD_ADD element.
5325 * test/keysynth-demo.c:
5326 Tweaked an output message; added initialization of the
5327 'keystrings' member of the "switch listener" key_set.
5329 * libspi/relation.c:
5330 Squashed compile-time warning.
5332 * libspi/accessible.c:
5333 Cosmetic and formatting fixes, renamed a static method.
5335 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5337 * libspi/accessible.c
5339 * libspi/application.c
5342 * libspi/component.c
5343 * libspi/editabletext.c
5344 * libspi/hyperlink.c
5345 * libspi/hypertext.c
5347 * libspi/selection.c
5351 * registryd/desktop.c:
5352 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5354 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5356 * idl/Accessibility_Registry.idl:
5357 Added boolean member 'is_text' to DeviceEvent. This is for the
5358 use of key events, and helps prevent ambiguity between composed
5359 key strings and keysym names, since both may potentially be
5360 returned in the 'event_string' member.
5362 * at-bridge/bridge.c:
5363 * registryd/deviceeventcontroller.c:
5364 Use the 'is_text' member when notifying device event listeners.
5365 Knon issue: composed characters are not dealt with correctly by
5366 the global key listener implementation yet.
5368 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5370 * at-bridge/bridge.c:
5371 Namespaced local static methods to spi_atk_bridge_* where
5372 previously named bridge_*, and spi_* elsewhere.
5374 * at-bridge/bridge.c:
5375 * cspi/bonobo/cspi-bonobo-listener.c:
5376 Added demarshalling/conversion for string member of
5377 Accessibility_DeviceEvent to AccessibleKeystroke.
5379 * registryd/deviceeventcontroller.c:
5380 Added code to fill the Accessibility_DeviceEvent key string value
5381 member for global key events (i.e. from XGrabKey), to match
5382 behavior of Accessibility_DeviceEvent from the toolkit key events
5383 from the bridge. Fixed timestamp in global key event notifications.
5386 Added printout of key event's string value to
5387 report_ordinary_key_event, for demo/debugging purposes.
5389 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5391 * idl/Accessibility_Registry.idl:
5392 Removed Accessibility_KeyStroke structure in favor of generic
5393 Accessibility_DeviceEvent structure.
5394 Changed Accessibility_ControllerEventMask from a struct to an
5397 * at-bridge/bridge.c:
5398 Changed APIs to use DeviceEvent structure as above, and removed
5399 bogus casting between these event structures.
5401 * cspi/spi-listener.h:
5402 Added keystring member of AccessibleKeystroke structure, to enable
5403 matching on event "names" rather than only hardware codes and
5407 Added keystrings member of AccessibleKeySet struct, to allow
5408 matching on event names (as above).
5409 Added declarations for SPI_createAccessibleKeySet and
5410 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5411 event modmasks directly as unsigned ints rather than structs with
5412 refcounts, in the DeviceEventController methods.
5414 * cspi/spi_registry.c:
5415 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5417 * cspi/spi-roletypes.h:
5418 Added documentation of newly added SPI Roles.
5420 * cspi/bonobo/cspi-bonobo-listener.c:
5421 Changes in support of API changes above.
5423 * libspi/accessible.c:
5424 Converted APIs to use DeviceEvent structure (see IDL changes
5427 * registryd/deviceeventcontroller.c:
5428 Added DEControllerGrabMask structure to track keygrabs not only by
5429 modmask but by keyset as well; this allows us to do "global"
5430 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5431 grabbing on AnyKey and then filtering after-the-fact.
5432 Bugfixes for event filtration mean that we don't get false matches
5433 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5435 * registryd/deviceeventcontroller.c:
5436 Namespaced a number of static methods to use spi_ prefix. Major
5437 revision to internals of global (i.e. X) key grabs.
5439 * registryd/deviceeventcontroller.h:
5440 Removed keymask_list and added keygrabs_list to
5441 SpiDeviceEventController struct.
5444 Added use of SPI_createAccessibleKeySet API when creating a
5445 listener for only one key. Attach a listener to "shift spacebar
5446 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5447 X key event names to SPI key event names, so that listeners are
5448 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5450 * test/keysynth-demo.c:
5451 Changed (incorrect) use of X key event names (KeyPressed,
5452 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5455 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5457 * libspi/accessible.c:
5458 Convert all AtkRole enumerations to Accessibility_Role enums when
5459 getting a role from an AtkObject.
5461 * cspi/spi_accessible.c:
5462 Complete the conversion of Accessibility_Role enums at runtime to
5463 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5464 role enums correctly match those given in spi-roletypes.h.
5465 Re-synchronize the local names list for AccessibleRole_getName ().
5466 AccessibleRole_getName is now deprecated, since it duplicates the
5467 more reliable Accessible_getRoleName.
5468 Added some role types from Accessibility_Role.idl.
5470 * idl/Accessibility_Role.idl:
5471 Added some role types used by AtkRole.
5473 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5476 * cspi/spi_registry.c:
5478 * cspi/cspi-bonobo-listener.c:
5479 Namespaced all methods that did not begin with an "SPI_" or
5480 "Accessible" prefix to "SPI_".
5483 Homogenized internal function namespace to "cspi_" for statics.
5486 Patched tests to use the new CSPI API.
5488 * docs/reference/cspi/at-spi-cspi-sections.txt:
5489 Updated docs to reflect namespace changes, and added a number of
5490 methods to the documentation.
5492 * registryd/registry.c:
5493 Changed use of strings and string hashes in listener event
5494 matching and parse_event_string to use GQuark, which is guaranteed
5497 * registryd/registry.h:
5498 Squashed annoying warning.
5500 * idl/Accessibility_Role.idl:
5501 Extended range of available Accessibility_Role values.
5503 * cspi/spi_accessible.c:
5504 Re-ordered role names.
5506 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5508 * idl/Accessibility_Value.idl:
5509 Revert use of union back to CORBA_double, since the double type is
5510 more efficient and can contain the other types without loss of
5513 * idl/Accessibility_Accessible.idl:
5514 Added method Accessibility:Accessible:getRoleName, to complement
5515 Accessibility:Accessible:getRole.
5517 * cspi/spi_accessible.c:
5519 Added C binding for above, Accessible_getRoleName (), and changed
5520 signature of Accessible_getRole () to return an AccessibleRole.
5522 * cspi/spi-roletypes.h:
5523 Changed AccessibleRole_getName to return a char * instead of a
5524 const char *. This method is now at least temporarily deprecated
5525 in favor of asking Accessibles for their RoleNames directly.
5528 Revert to match Accessibility_Value.idl;
5532 Change signature of AccessibleValue methods to use double rather
5536 * cspi/spi_accessible.c:
5537 Changed Accessible_getRole to return an AccessibleRole enum rather
5538 than a UTF-8 string. The UTF-8 string can still be obtained via
5539 AccessibleRole_getName ().
5541 * test/test-simple.c:
5542 Add test_action. Small fixup to match API change to Accessible_getRole.
5545 Bugfix for get_action_from_servant ().
5547 2001-12-11 Michael Meeks <michael@ximian.com>
5549 * libspi/libspi.h: remove registry.h and
5550 desktop.h, deviceeventcontroller.h
5552 * libspi/Makefile.am: remove registry.[ch],
5553 desktop.[ch], deviceeventcontroller.[ch]
5555 * registryd/Makefile.am: add registry.[ch],
5556 desktop.[ch], rename registryd.c to registry-main.c.
5557 add deviceeventcontroller.[ch]
5559 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5562 Replace setenv() call with putenv ().
5564 * libspi/component.c:
5565 Bugfix in AccessibleComponent_getExtents (),
5568 2001-12-11 Michael Meeks <michael@ximian.com>
5570 * libspi/image.c (impl_getImageExtents): impl.
5571 (spi_image_class_init): upd.
5574 (AccessibleImage_getImageDescription): fix daft bug
5577 * test/test-simple.c (global_listener_cb): update
5578 to only quit if not --poke
5579 (main): catch --poke.
5580 (validate_accessible): upd. dumping, call test_image
5583 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5586 * idl/Accessibility.idl: update all IDL includes.
5588 * idl/*.idl - rename to namespace - this sucks, blame
5589 mjs' bad decision for oafd.
5591 * test/test-simple.c (create_test_window): add more tests.
5592 (create_tree): split this out.
5593 (validate_accessible): bugfix.
5595 2001-12-11 Michael Meeks <michael@ximian.com>
5597 * cspi/bonobo/cspi-bonobo-listener.c:
5598 (cspi_kestroke_listener_unref),
5599 (cspi_event_listener_unref): impl. undoing previous
5600 homenous environment - for Bill.
5602 * cspi/spi_table.c (long_seq_to_array): use
5605 * cspi/spi_main.c: split out all bonoboish bits into
5608 * cspi/spi-impl.h: upd. typedefs.
5610 * cspi/spi_registry.c: update to lowlevel API,
5611 return booleans to indicate success in some places.
5613 * cspi/spi_event.c: update to lowlevel API.
5615 * cspi/bonobo/Makefile.am: add.
5617 * cspi/bonobo/cspi-lowlevel.h: add
5619 * cspi/bonobo/cspi-bonobo.c: add
5621 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5623 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5624 (SUBDIRS): add bonobo, link in the libs.
5626 * cspi/spi-util.c: kill this file.
5628 * TODO: merge in my bits.
5630 2001-12-11 Michael Meeks <michael@ximian.com>
5632 * test/test-simple.c (test_value, test_table, main):
5633 remove unused variables causing warnings.
5635 * configure.in: cleanup checks - require gail.
5637 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5640 Changed Value interface to use SValue (scalars) rather than
5641 assuming all values are floats. This allows floats, doubles,
5642 longs, shorts, and unsigned values to be manipulated.
5643 Introduced Accessibility:SValue union.
5646 Updated to use new API above, and to work correctly with GValues
5647 of different types in AtkValue.
5650 Updated to use new API above. cspi's API is as yet unchanged.
5653 Updated the Value revision action item.
5655 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5657 * test/test-simple.c:
5658 Added test_table (GtkTreeView widget in test window to follow).
5659 Un-commented test_value, added GtkRange widget.
5660 Added GtkTreeView widget with GtkListStore. It passes regression
5661 test but leaks one SPI object for some reason.
5664 Fixed bug in impl__set_currentValue.
5666 2001-12-10 Michael Meeks <michael@ximian.com>
5668 * cspi/spi_text.c: audit for exception handling,
5669 tolerating NULL object references safely etc.
5671 * cspi/spi_value.c: ditto.
5673 * cspi/spi_table.c (AccessibleTable_getSummary),
5674 (AccessibleTable_getAccessibleAt),
5675 (AccessibleTable_getRowHeader),
5676 (AccessibleTable_getColumnHeader),
5677 (AccessibleTable_getCaption): fix bugs hidden by
5679 (long_seq_to_array): impl.
5680 (AccessibleTable_getSelectedRows),
5681 (AccessibleTable_getSelectedColumns): use it.
5683 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5686 Added a TODO list (rough and short for now).
5688 * cspi/spi_hyperlink.c:
5689 * cspi/spi_hypertext.c:
5690 Fixed macro name typos, and remove use of obsolete macro in
5691 AccessibleHyperlink_getLink.
5693 * cspi/spi_action.c:
5694 * cspi/spi_accessible.c:
5695 * cspi/spi_application.c:
5696 * cspi/spi_component.c:
5697 * cspi/spi_selection.c:
5700 Documentation fixes (removed return values from ref/unref methods).
5702 2001-12-10 Michael Meeks <michael@ximian.com>
5704 * cspi/spi_action.c: audit for exception handling,
5705 tolerating NULL object references safely etc.
5707 * cspi/spi_accessible.c: ditto.
5709 * cspi/spi_component.c: ditto.
5711 * cspi/spi_editabletext.c: ditto.
5713 * cspi/spi_hyperlink.c: ditto.
5715 * cspi/spi_hypertext.c: ditto.
5717 * cspi/spi_image.c: ditto.
5719 * cspi/spi_selection.c: ditto.
5721 2001-12-10 Michael Meeks <michael@ximian.com>
5723 * configure.in: use cspi/libspi.pc.in instead.
5725 * Makefile.am (pkgconfig_DATA): upd. to match.
5727 * test/simple-at.c (report_focus_event): kill hacks around
5728 bad return values, use putenv not setenv
5730 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5731 fire ChildGone - I killed it.
5733 * libspi/component.c
5734 (impl_accessibility_component_get_extents): remove
5737 * idl/Accessible.idl: kill ChildGone exception.
5739 * cspi/*.[ch]: kill int return from ref / unref.
5741 * cspi/spi_main.c (cspi_object_add_check): fold into
5742 (cspi_object_add): here.
5744 * cspi/spi_component.c (AccessibleComponent_getExtents):
5745 handle exceptions elegantly.
5747 * cspi/spi-private.h (cspi_check_ev_return),
5748 (cspi_return_if_fail): impl.
5750 * cspi/spi_accessible.c: use extensively.
5751 (AccessibleStateSet_equals): add direct compare check.
5753 * cspi/spi_selection.c: tolerate NULL objs, and check
5754 exceptions before return.
5756 * cspi/spi-util.c (cspi_warn_ev): rename to
5757 (cspi_check_ev): this & don't pass ev in; no point.
5759 2001-12-10 Michael Meeks <michael@ximian.com>
5761 * test/test-simple.c: use putenv not setenv
5762 (get_environment_vars): more chatty if you're not using
5765 * test/simple-at.c: do the setenv so more people see the
5768 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5770 * libspi/registry.c:
5771 Changed check of CORBA_environment on notification to be a warning
5772 instead of an error for the moment, since we can recover from this
5773 error when caused by a queued notification from a dead app.
5776 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5777 used by all current implementors of AtkValue), and coerce to
5778 CORBA_float. (Proper general case fix may require change to Value.idl).
5780 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5784 * cspi/spi_accessible.c:
5785 Documentation fixes: added user_data params to documentation for
5786 listeners and callbacks.
5788 * cspi/spi_accessible.c:
5789 Changed AccessibleStateSet_compare to return a
5790 StateSet rather than return the difference set into a third parameter.
5793 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5796 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5797 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5801 Remove subdirectory po from SUBDIRS for now.
5803 * at-bridge/bridge.c:
5804 Beefed up a couple of debug printouts.
5805 One-line fix for signal notification name formatting.
5807 * libspi/accessible.c:
5808 Added assertion to spi_accessible_new ().
5810 * libspi/application.c:
5811 Put #ifdef qualifiers around a printf.
5814 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5816 * registryd/Makefile.am:
5818 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5819 INTLTOOL_SERVER_RULE macro.
5822 Added an event listener for several ATK signals, for
5823 testing and debugging. Removed a few g_warnings.
5824 Added test output if focussed item implements the Value interface.
5826 * test/test-simple.c:
5827 Added test_value () function (known not to pass at the moment, so
5828 not actually called yet.
5830 2001-12-08 Michael Meeks <michael@ximian.com>
5832 * at-bridge/bridge.c (bridge_focus_tracker),
5833 (emit_eventv): fix the same ref. leak.
5834 (register_atk_event_listeners): don't leak.
5836 * cspi/spi-listener-impl.c (cspi_event): more
5837 protection from client code.
5839 * test/test-simple.c (test_desktop): unref the app.
5841 * test/Makefile.am: upd. TESTS.
5843 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5845 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5847 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5849 * cspi/spi_registry.c: constify in strings.
5850 (deregisterGlobalEventListenerAll): don't release the ref.
5852 * cspi/spi.h: start removing redundant / conflicting
5853 gtkdoc comments, making the API readable at a glance :-)
5855 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5857 * test/keysynth-demo.c (keysynth_exit, main): upd.
5859 * test/simple-at.c (main, simple_at_exit): upd.
5861 * test/test-simple.c (unutterable_horror): kill.
5862 (utterable_normal_derefs): kill.
5863 (main): upd & do a setenv before gtk_init, so that we
5864 can use memprof - and to save the pain of remembering
5865 this, if we're running under memprof - don't exit.
5867 * cspi/spi_main.c (SPI_exit): return exit status
5869 (SPI_event_quit): impl.
5870 (SPI_event_main): simplify.
5871 (cspi_is_gnome_app): kill.
5872 (SPI_init): kill isGNOMEapp arg.
5874 * at-bridge/bridge.c (register_atk_event_listeners):
5875 re-instate the unref.
5876 (bridge_exit_func): don't re-activate the registry,
5877 protect vs. theoretical re-entry, use the
5878 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5879 assert a clean shutdown - for regression tests.
5881 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5883 * configure.in: Comment out dummy i18n support for now,
5884 otherwise it fails to build.
5885 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5886 EXTRA_DIST. They are missing in tarball.
5888 2001-12-07 Michael Meeks <michael@ximian.com>
5890 * util/magnifier.c: kill bonobo activation reg. race.
5892 * libspi/component.c
5893 (impl_accessibility_component_get_extents): make it match
5896 * libspi/registry.c (_registry_notify_listeners):
5897 re-remove X headers & reconcile conflicts.
5898 (spi_listener_struct_free): bad conflict resolve.
5899 (impl_accessibility_registry_register_application):
5900 more bad merging fixed.
5901 (impl_accessibility_registry_deregister_application): ditto.
5902 (spi_registry_new): ditto.
5903 (spi_registry_init): don't have an applications field.
5905 [ merge fixups2 branch to here ]
5906 2001-12-07 Michael Meeks <michael@ximian.com>
5908 * test/simple-at.c (report_focus_event),
5909 (report_focussed_accessible): remove g_warning debug.
5911 2001-12-07 Michael Meeks <michael@ximian.com>
5913 * test/test-simple.c (validate_tree): comment out some checks.
5914 (test_desktop): app now not registered idly - horay.
5916 2001-12-07 Michael Meeks <michael@ximian.com>
5918 * cspi/spi_registry.c
5919 (registerAccessibleKeystrokeListener): clean, stop it leaking
5920 great swathes of memory, and device event controller references.
5921 ensure we always pass valid sequences.
5922 (deregisterAccessibleKeystrokeListener): ditto.
5923 (generateKeyEvent): upd.
5925 * at-bridge/bridge.c (bridge_key_listener): handle
5926 registry dead exception gracefully.
5927 (bridge_focus_tracker, emit_eventv): free ev.
5929 * test/simple-at.c (report_focus_event): fix polarity.
5931 * libspi/application.c (notify_listeners): kill the ev
5932 argument, and make sure we init the ev we use.
5933 (spi_application_object_event_listener): split out a chunk
5934 (get_atk_object_ref): here & fixup.
5935 (reverse_lookup_name_for_toolkit_event): make const.
5936 (spi_application_toolkit_event_listener): fixup, kill leaks
5939 * at-bridge/bridge.c (register_atk_event_listeners):
5940 don't unref the noop object - causes grief.
5942 * libspi/registry.c: remove the X headers.
5943 turn off the debug churn.
5945 * libspi/accessible.c (spi_accessible_new_return): only
5946 release the ref if we are supposed to [doh]
5948 * test/simple-at.c (report_button_press, report_focus_event):
5949 guard vs. unexpected exit.
5951 * at-bridge/bridge.c (gtk_module_init): prune printf.
5952 (bridge_exit_func): fix app unref.
5954 * libspi/Makefile.am: don't install registry or desktop.h
5956 * libspi/*.h: update includes.
5958 * libspi/application.h: don't include ourself, or
5959 other redundant headers.
5961 2001-12-06 Michael Meeks <michael@ximian.com>
5963 * libspi/accessible.c
5964 (get_accessible_from_servant): impl.
5965 Upd. all CORBA impl.s to use it killing cut and paste.
5967 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5969 (SPI_init): register atexit cleanup handler here.
5971 2001-12-06 Michael Meeks <michael@ximian.com>
5973 * at-bridge/bridge.c (gtk_module_init): g_error on
5974 activation exception
5976 2001-12-06 Michael Meeks <michael@ximian.com>
5978 * at-bridge/bridge.c (gtk_module_init): some sort of
5979 confusing merge clash - reverted.
5980 (bridge_idle_init): ditto.
5982 * test/test-simple.c (main, utterable_normal_derefs):
5983 merge from Bill - somehow not committed.
5985 2001-12-06 Michael Meeks <michael@ximian.com>
5987 * libspi/value.c (spi_value_class_init): upd.
5988 (spi_value_finalize): kill.
5990 * libspi/table.c (spi_table_finalize): kill.
5991 (spi_table_interface_new): upd.
5992 (spi_table_class_init): upd.
5993 (get_table_from_servant): impl.
5994 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5996 * libspi/selection.c (spi_selection_finalize): kill.
5997 (spi_selection_interface_new): upd.
5998 (spi_selection_class_init): upd.
5999 (get_selection_from_servant): impl.
6000 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6002 * libspi/relation.c (spi_relation_finalize): kill.
6003 (spi_relation_class_init, spi_relation_new): upd
6005 * libspi/image.c (spi_image_finalize): kill.
6006 (spi_image_class_init): upd.
6007 (spi_image_interface_new): upd.
6008 (get_image_from_servant): impl.
6009 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6011 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6012 (spi_hyperlink_finalize): kill.
6013 (spi_hyperlink_new): upd.
6014 (get_hyperlink_from_servant): impl.
6015 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6017 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6018 (spi_hypertext_finalize): kill.
6019 (spi_hypertext_class_init): upd.
6020 (get_hypertext_from_servant): impl.
6021 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6023 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6024 (spi_editable_text_interface_new): upd.
6025 (get_editable_text_from_servant): impl.
6026 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6028 * libspi/text.c (get_text_from_servant): impl.
6029 All impls - update to use it killing more cut and paste,
6030 also fix bad string returns on duff args ( a somewhat
6031 impossible case to handle - but hey ).
6032 (spi_text_construct): impl.
6033 (spi_text_interface_new): upd.
6034 (spi_text_object_finalize): kill.
6036 * libspi/component.c
6037 (accessibility_component_object_finalize): kill.
6038 (spi_component_class_init): upd.
6039 (get_component_from_servant): impl. helper to kill cut & paste.
6040 (impl_accessibility_component_contains):
6041 (impl_accessibility_component_get_accessible_at_point):
6042 (impl_accessibility_component_get_position):
6043 (impl_accessibility_component_get_extents):
6044 (impl_accessibility_component_get_mdi_z_order):
6045 (impl_accessibility_component_get_layer):
6046 (spi_component_interface_new): upd.
6048 * libspi/action.c (spi_action_finalize): kill.
6049 (spi_action_class_init): upd. inherit from SpiObject.
6050 (spi_action_interface_new): upd.
6051 (get_action_from_servant): impl. helper to reduce cut & paste.
6052 (impl_getKeyBinding, impl_getName, impl_doAction),
6053 (impl_getDescription): Use it everywhere.
6055 * cspi/spi_main.c (get_live_refs): a pointer hash.
6056 (spi_object_hash, spi_object_equal): comment out.
6057 There are issues with CORBA object hashing that need
6060 * libspi/application.c (spi_application_init),
6061 (spi_application_new): upd.
6063 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6064 (spi_accessible_class_init): upd.
6065 s/accessible/object/ in epv methods.
6067 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6069 * at-bridge/bridge.c:
6070 Reorder the bridge initialization into the bridge gtk_module_init,
6071 an immediate call to bridge_register_app, and an idle_add for
6072 register_atk_event_listeners (the only code that *must* wait until
6073 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6074 the activation, creates the application's Accessible object, and
6075 queues the bridge_idle_init function. Restored call to
6076 Accessibility_Registry_deregisterApplication().
6077 Prior to making this call we obtain a new reference to the
6078 registry, which is a temporary hack that helps us handle apps that
6079 shut down the bonobo mainloop before we get there.
6081 * libspi/registry.c:
6082 Fix string leakage in debug block, and don't segv if a an app
6083 dies before its event notifications have been propagated.
6086 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6087 as stopgap measure until we get proper exception handling when
6088 objects die during or before interrogation.
6092 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6093 Also changed default value of is_gnome_app to TRUE.
6096 * test/keysynth-demo.c:
6097 Changed use of SPI_init and SPI_event_main to reflect API change above.
6100 Made report_focus_event check the warning value from getName
6101 before reporting on focussed accessible; simplifies handling of
6102 notifications from dead objects.
6104 * test/test-simple.c: (Changes not in this patch since source is
6107 2001-12-05 Michael Meeks <michael@ximian.com>
6109 * registryd/registryd.c (main): protect against
6110 bonobo-activation startup race condition.
6112 * cspi/spi_main.c (cspi_object_add_check): cope
6113 with the exception elegantly.
6115 * idl/Accessible.idl: decl. ChildGone
6117 * libspi/desktop.c (spi_desktop_dispose): impl.
6118 (spi_desktop_class_init): upd.
6119 (spi_desktop_add_application),
6120 (spi_desktop_remove_application),
6121 (abnormal_application_termination): impl.
6122 (impl_desktop_get_child_at_index): re-impl.
6125 (impl_accessibility_registry_deregister_application),
6126 (impl_accessibility_registry_register_application):
6127 kill excessive debug clutter.
6129 * test/test-simple.c (test_misc): test some NULL
6130 tolerance. (main): upd.
6132 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6133 implements no interfaces - so let's not crash.
6135 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6137 * libspi/accessible.c (spi_accessible_new_return): impl.
6138 helper to calm the cut and paste, to cope with
6139 NULL AtkObjects effectively and efficiently, and to kill
6140 the referencing bugs.
6142 * libspi/table.c (impl_getAccessibleAt),
6143 (impl_getRowHeader, impl_getColumnHeader): upd.
6145 * libspi/hyperlink.c (impl_getObject): upd.
6147 * libspi/accessible.c
6148 (impl_accessibility_accessible_get_child_at_index): upd.
6150 * libspi/component.c
6151 (impl_accessibility_component_get_accessible_at_point): upd.
6153 * test/test-simple.c (test_editable_text, test_text): impl.
6156 * cspi/spi_editabletext.c
6157 (AccessibleEditableText_insertText): constify.
6159 * test/test-simple.c (focus_me): make more robust.
6161 * libspi/accessible.c: remove some printfs in methods that
6162 we test and work fine, so we can get a clean tree dump.
6164 * test/test-simple.c (validate_accessible),
6165 (validate_tree): make tree dumping pretty too.
6167 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6168 it builds without debug on.
6170 * test/test-simple.c (validate_accessible): fix the most
6173 * cspi/spi_main.c (spi_object_release): leave the nicely
6174 blanked memory around if in debug mode.
6176 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6178 [committed to fixups2]
6179 2001-12-05 Michael Meeks <michael@ximian.com>
6181 * libspi/editabletext.c
6182 (spi_editable_text_class_init): g_type_class_peek_parent,
6183 not interface peek - so we finalize cleanly.
6185 * libspi/accessible.c (spi_accessible_new): kill debug.
6187 * test/test-simple.c (validate_accessible): fix ref.
6188 leak, print strings before freeing them; sigh, comment a
6189 chunk out due to strangeness.
6190 (validate_tree): unref the child after use.
6192 * cspi/spi_component.c (AccessibleComponent_getLayer):
6193 add missing break statement, switch on zlayer not the
6194 uninitialized retval.
6196 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6197 before (possibly re-entering) remote unref.
6199 * test/simple-at.c (main): unref the desktop.
6201 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6204 * cspi/spi_main.c (cspi_accessible_is_a): here to
6205 isolate bonobo API usage more.
6207 * libspi/registry.c (impl_accessibility_registry_register_application):
6208 prune bogus comment.
6210 2001-12-04 Michael Meeks <michael@ximian.com>
6212 * test/test-simple.c (validate_tree): upd.
6213 IndexInParent check to make it more lucid.
6214 (validate_accessible): dump the tree.
6216 * libspi/accessible.c (de_register_public_ref),
6217 (get_public_refs): impl.
6218 (spi_accessible_new): make more efficient & intuitive.
6219 Now IndexInParent check works.
6221 2001-12-04 Michael Meeks <michael@ximian.com>
6223 * cspi/spi-util.h: remove.
6225 * cspi/spi.h: move SPI_freeString here
6227 * libspi/component.c (impl_accessibility_component_get_layer):
6229 (impl_accessibility_component_get_mdi_z_order): ditto,
6230 return -1 on error - is this ok ?
6232 * test/test-simple.c (test_application): impl.
6234 * cspi/spi_accessible.c (Accessible_getApplication),
6235 (Accessible_isApplication): impl.
6237 * libspi/registry.c (spi_listener_struct_free): release
6238 the CORBA reference too.
6240 * libspi/accessible.c
6241 (impl_accessibility_accessible_get_parent): fix ref leak.
6243 * libspi/registry.c (spi_registry_new): make the registry
6244 immortal - we don't want it to go away ever.
6246 * libspi/application.c
6247 (spi_accessible_application_finalize): impl. cleanup.
6249 * cspi/spi_registry.c
6250 (deregisterGlobalEventListenerAll),
6251 (deregisterGlobalEventListener),
6252 (deregisterAccessibleKeystrokeListener): fix ref leak.
6254 * cspi/spi_main.c (SPI_init): remove redundant ref.
6256 * test/test-simple.c (unutterable_horror): impl. to force a
6261 (impl_accessibility_registry_deregister_application): release
6262 the application when we de-register it.
6264 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6265 until we have the infastructure to get it right.
6267 2001-12-03 Michael Meeks <michael@ximian.com>
6269 * libspi/Makefile.am: only build eventlistener.[ch]
6271 * libspi/accessible.c
6272 (impl_accessibility_accessible_get_child_at_index): don't leak.
6274 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6275 before we hit the idle handler.
6277 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6278 debugging than exit.
6280 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6282 * libspi/listener.c (impl_notify_event): check source
6283 not NIL before unref.
6285 * libspi/registry.c (impl_registry_notify_event): ditto.
6287 * libspi/eventlistener.c
6288 (impl_accessible_event_notify_event): unref the source.
6290 * libspi/accessibleeventlistener.c
6291 (impl_accessible_event_notify_event): unref the source.
6293 * idl/Event.idl: remove 'hash_id' attribute - of no
6296 * libspi/application.c (notify_listeners): upd list
6298 (spi_application_object_event_listener),
6299 (spi_application_toolkit_event_listener): upd to do correct
6303 (_registry_notify_listeners): update.
6304 (parse_event_type): this method also leaks like a sieve.
6305 (impl_accessibility_registry_deregister_global_event_listener):
6306 fix ETYPE_WINDOW case.
6308 * libspi/application.c
6309 (impl_accessibility_application_register_object_event_listener):
6312 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6314 * libspi/hypertext.c (impl_getLink): ditto.
6316 * cspi/spi_main.c (cspi_object_add): remove
6317 bogus CORBA_Object_duplicate.
6319 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6322 * cspi/spi_accessible.c
6323 (Accessible_getRelationSet): fix leak / referencing issue.
6325 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6326 (cspi_object_add, cspi_object_unref): upd.
6327 (spi_object_release, get_live_refs): impl.
6328 (cspi_cleanup): simplify.
6330 * *.[ch]: s/boolean/SpiBoolean/
6332 * cspi/spi_accessible.c (role_names): actualy order so it
6333 corresponds with the enum !
6335 * test/test-simple.c (test_roles): check some role strings
6336 vs. enums to detect offset errors.
6338 2001-12-01 Michael Meeks <michael@ximian.com>
6340 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6342 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6344 (Accessible_getChildAtIndex): use cspi_add_check so we
6345 check the ev before using a (possibly) invalid value.
6347 * libspi/accessible.c
6348 (impl_accessibility_accessible_get_parent): don't segv
6351 * at-bridge/bridge.c (gtk_module_init): upd.
6352 (bridge_property_event_listener): don't leak strings
6354 (bridge_state_event_listener),
6355 (bridge_property_event_listener): don't use a static
6356 buffer in case of recursive event emission &
6357 re-enterancy - split out the swathe of cut and paste
6359 (emit_eventv): and fix 2 ref leaks here & comply to the
6361 (bridge_register_app): rename to
6362 (bridge_idle_init): this and kill arg parsing, split
6363 various inits & bonobo-activation registration to module
6364 init time, kill referencing error.
6365 (bridge_exit_func): fix the same leak.
6366 (bridge_focus_tracker): don't leak event structures
6368 (bridge_signal_listener): more leakage and cut & paste
6370 (bridge_key_listener): return the result - FIXME is
6371 this polarity correct ?
6372 (accessibility_keystroke_from_atk_key_event): rename
6373 (accessibility_init_keystroke_from_atk_key_event): and stop
6375 (gtk_module_init): return a value - not that it is checked by
6377 (bridge_key_listener): register my horror at casting between
6378 IDL defined structs.
6379 (bridge_get_registry): kill - not used.
6381 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6383 * test/test-simple.c (test_roles): impl.
6384 (test_desktop, validate_accessible, validate_tree): impl.
6386 * cspi/spi_accessible.c (role_names): fixup bogus
6387 MAX_ROLES setup, make constants const for efficient linkage
6388 (AccessibleRole_getName): conform to coding style, make
6391 2001-11-30 Michael Meeks <michael@ximian.com>
6393 * cspi/spi.h: add missing prototype.
6395 * libspi/registry.c (spi_listener_struct_new): fix sig.
6397 * test/Makefile.am: add test-simple
6399 * test/test-simple.c: add
6401 * test/test.sh: add.
6403 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6405 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6406 do it straight - since otherwise we often get an activation race.
6408 [ work before Bill duplicated a chunk of it ... ]
6409 2001-11-30 Michael Meeks <michael@ximian.com>
6411 * libspi/keystrokelistener.c
6412 (spi_keystroke_listener_class_init): fixup arg
6415 * libspi/eventlistener.c
6416 (spi_event_listener_class_init): ditto.
6418 * tests/test.sh: add.
6420 * cspi/spi-listener-impl.h: update macros.
6422 * cspi/spi-listener-impl.c
6423 (cspi_event_listener_remove_callback): add
6424 correct pre-conditions.
6426 * cspi/spi_main.c (SPI_exit): guard vs. double
6427 exits, exit the mainloop nicely.
6428 (SPI_event_main): make more sense.
6429 (SPI_init): move the atexit evilness here so we
6430 always do it (yuck).
6431 (SPI_event_main): upd.
6433 * test/simple-at.c: update for listener changes.
6435 * registryd/registryd.c (main): prune kruft.
6437 * libspi/libspi.h: upd.
6439 * libspi/eventlistener.[ch]: rename broken macros.
6441 * libspi/accessibleeventlistener.[ch]: remove.
6443 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6445 * test/test-simple.c: Add - automated tests.
6447 * cspi/spi-listener-impl.c (cspi_event),
6448 (cspi_key_event): add user_data to invoke.
6449 (cspi_keystroke_listener_finalize): impl.
6450 (cspi_keystroke_listener_class_init): upd.
6453 (createAccessibleEventListener),
6454 (AccessibleEventListener_addCallback),
6455 (createAccessibleKeystrokeListener),
6456 (AccessibleKeystrokeListener_addCallback): upd.
6458 * libspi/deviceeventcontroller.c
6459 (spi_device_event_controller_check_key_event): add public proto.
6462 (impl_accessibility_registry_deregister_global_event_listener):
6463 always init listeners.
6464 (_registry_notify_listeners): yes it is.
6466 * cspi/spi-listener-impl.c (cspi_key_event):
6468 (cspi_event_listener_finalize): impl.
6469 (cspi_event_listener_class_init): hook up.
6470 (event_handler_new, event_handler_free),
6471 (event_list_remove_by_callback): impl.
6472 (cspi_event_listener_remove_callback),
6473 (cspi_keystroke_listener_remove_callback),
6474 (cspi_keystroke_listener_add_callback),
6475 (cspi_event_listener_add_callback): upd.
6477 * libspi/keystrokelistener.c
6478 (keystroke_listener_object_finalize): kill
6479 (spi_keystroke_listener_class_init): upd.
6480 (spi_keystroke_listener_add_callback),
6481 (spi_keystroke_listener_remove_callback): kill,
6483 (impl_key_event): prune drasticaly.
6485 * libspi/eventlistener.c
6486 (spi_event_listener_add_callback),
6487 (spi_event_listener_remove_callback): kill, use
6489 (impl_accessible_event_notify_event): upd.
6490 (spi_event_listener_object_finalize): remove.
6492 * libspi/Makefile.am: use eventlistener.[ch]
6494 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6496 * libspi/registry.c (_registry_notify_listeners):
6497 Changed listener loop iteration to use preferred convention.
6498 Got rid of string memory leaks caused be calling g_strconcat
6499 inside function calls.
6501 * libspi/registry.c (parse_event_type):
6502 Stopped g_strconcat memory leaks, free the g_strsplit return,
6503 g_strdup the split pieces when used, etc.
6505 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6508 Change method 'compare' to return a 'difference set' rather than
6509 taking a StateSet as an out parameter (more Java-friendly).
6511 * idl/Accessible.idl:
6512 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6514 * idl/Component.idl:
6516 Changed methods 'getExtents' and 'getImageExtents' in these
6517 interfaces to return a BoundingBox structure.
6518 (getPosition and getSize are redundant and possibly should be
6519 removed, rather than creating a corresponding Point struct.)
6521 * cspi/spi_component.c:
6522 Modify implementation of getExtents to reflect the above IDL
6527 Add (missing) AccessibleImage_getExtents () API.
6529 * docs/reference/cspi/at-spi-cspi-sections.txt:
6530 Added AccessibleImage_getImageExtents () to docs.
6532 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6534 * idl/Component.idl:
6535 Added two methods, getLayer () and getMDIZOrder (), to reflect
6536 the new ATK methods atk_object_get_layer and
6537 atk_object_get_mdi_z_order. (Which arguably should be part of the
6538 AtkComponent API and AtkObject). Also added an enum,
6539 ComponentLayer, for the first method's return value.
6541 * libspi/component.c:
6542 Added implementations for these methods.
6544 * cspi/spi_component.c:
6546 Added cspi binding methods for above,
6547 AccessibleComponent_getLayer() and
6548 AccessibleComponent_getMDIZOrder().
6549 Added cspi enum 'AccessibleComponentLayer'.
6551 * docs/reference/cspi/at-spi-cspi-sections.txt:
6552 Added above methods to docs.
6556 Changed typedef for 'boolean' type (and all references to it) to
6557 SPIBoolean, to avoid keyword clashes with C++.
6560 Changed usages of 'boolean' to SPIBoolean.
6562 * test/keysynth-demo.c:
6563 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6564 app), except where SPIBoolean is required by the callbacks API.
6566 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6568 * cspi/spi_registry.c:
6569 Removed obsolete X event loop for passive keygrabs (which now
6572 * registryd/registryd.c:
6573 Removed unnecessary call to gdk_init() [cruft]. This also allows
6574 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6577 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6579 * docs/reference/cspi:
6580 Included docs for SPI_freeString in generated documentation.
6583 Renamed spi_freeString to SPI_freeString, for consistency. Added
6584 documentation for this function.
6587 Renamed spi_freeString to SPI_freeString, for consistency.
6588 Removed obsolete method declaration string_from_corba_string.
6590 * test/keysynth-demo.c:
6591 Small tweak to comments.
6594 Stopped leaking the strings returned from CSPI.
6596 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6598 Merged Michael's branch (see his ChangeLog entries below).
6600 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6601 bridge is alive, release on exit.
6603 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6604 Fix type check macro.
6607 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6610 Added is_gnome_app static, and method cspi_is_gnome_app(),
6611 so we can call the appropriate shutdown routine at exit in SPI_exit.
6613 * cspi/spi_main.c (cspi_object_ref):
6614 Duplicate the corba object passed in, since we're keeping it around.
6616 * cspi/SPI_exit.c, cspi_cleanup:
6617 Moved the releasing of the live refs to its own function, so we
6618 can put it in g_atexit (). Call the appropriate shutdown API
6619 depending on whethe calling client is a gnome app or not
6620 (bonobo_main_quit or CORBA_ORB_shutdown).
6622 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6623 Unref the listener when this method is called, after
6624 deregistration. Updated the API docs to note this behavior.
6626 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6627 Bugfixes: Ref the bonobo object when returning a parent or child
6628 reference, or an AccessibleRelation. Generally made sure
6629 BonoboObject refcount is incremented whenever we return an
6632 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6633 Fixed typo/bug in signal declaration.
6635 * libspi/accessibleeventlistener.h:
6638 * libspi/application.c (spi_application_new):
6639 Fixed leak in initialization.
6642 Remembered to increment bonobo-object refcount when returning
6643 children (applications) from desktop object.
6644 Added (empty) finalize method.
6646 * libspi/deviceeventcontroller.c:
6647 Hold a ref to listeners inside DEControllerKeyListeners.
6648 Added dec_key_listener_free() method. Use prepend instead of
6649 append in key_listener list. Fixed some refcount madness and
6650 leaks in the listener registration/deregistration - deregistration
6651 now calls dec_key_listener_free() on listeners, and on the
6652 temporarily constructed dec_key_listener() used to perform the search/match.
6654 * libspi/hypertext.c (spi_hypertest_finalize):
6655 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6656 class. Also fixed spi_hypertext_interface_new() and
6657 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6659 * libspi/hypertext.h:
6660 Removed pointless and duplicate AtkObject pointer from
6663 * libspi/keystrokelistener.c:
6664 Fixed incorrect type of keystroke_listener_parent_class,
6665 renamed keystroke_listener_object_finalize to
6666 spi_keystroke_listener_object_finalize.
6667 Fixed typo in signal declaration
6668 (spi_keystroke_listener_class_init).
6670 * libspi/registry.c:
6671 Added funcsions spi_listener_struct_new() and
6672 spi_listener_struct_free() to help with memory management issues.
6673 We also now use these methods instead of gnew + poking stuff into
6674 the struct, and to decrement listener counts/free the listeners
6675 when deregistering them.
6676 Fix more refcount bugs in getDesktop() and
6677 getDeviceEventController().
6680 De-ref the desktop after enumerating the applications. Explicitly
6681 decrement the refcounts on the created listeners on exit (using
6682 _unref for keystroke listeners, and via the
6683 deregisterGlobalEventListenerAll command for other event
6686 2001-11-27 Michael Meeks <michael@ximian.com>
6688 * cspi/spi-listener.h: fixup enum.
6690 2001-11-27 Michael Meeks <michael@ximian.com>
6692 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6693 (cspi_keystroke_listener_new): Use the cspi variants.
6695 2001-11-26 Michael Meeks <michael@ximian.com>
6697 * test/keysynth-demo.c: fix 2 compile warnings, missing
6700 * test/simple-at.c (report_focussed_accessible),
6701 (report_focus_event, report_button_press),
6702 (check_property_change, is_command_key),
6703 (report_ordinary_key_event, report_command_key_event): upd.
6705 * util/mag_client.h: include pre-requisites.
6707 * libspi/accessibleeventlistener.c
6708 (spi_event_listener_object_finalize): free any lingering
6711 * libspi/keystrokelistener.c
6712 (keystroke_listener_object_finalize): ditto.
6714 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6715 callbacks, with cspi types.
6717 * cspi/spi_event.c (createAccessibleEventListener): chain to
6718 (AccessibleEventListener_addCallback): here.
6719 (createAccessibleKeystrokeListener): chain to
6720 (AccessibleKeystrokeListener_addCallback): here.
6722 * libspi/keystrokelistener.c
6723 (spi_keystroke_listener_class_init): add signal.
6724 (impl_key_event): emit the event.
6725 (boolean_handled_accumulator): impl.
6726 (marshal_BOOLEAN__POINTER): add, gack.
6728 * libspi/accessibleeventlistener.c
6729 (spi_event_listener_class_init): add signal.
6730 (impl_accessible_event_notify_event): emit the signal &
6731 make the loop efficient.
6732 (spi_event_listener_add_callback): prepend the callback.
6734 * libspi/accessibleeventlistener.h: add an 'event' signal,
6735 decl type on callback.
6737 * libspi/keystrokelistener.h: ditto.
6739 * cspi/spi-listener.h: make methods typesafe and
6740 make them use the new event typedefs.
6742 * test/simple-at.c (report_focussed_accessible):
6743 include mag_client.h
6744 Use *(void *)text_interface not the other thing.
6746 * configure.in: add gtk to registryd bits - since we use
6749 * util/magnifier.c: include libbonobo.h
6751 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6753 * test/keysynth-demo.c:
6754 Turned this into a simple scanning keyboard, to demonstrate the
6755 use of g_timeout_add () as a means of creating timers for
6756 scanning, and the use of GtkStyle for visually indicating when
6757 virtual keyboard elements are selected.
6759 keysynth-demo now listens to any keyboard keys with zero-valued
6760 keycodes (i.e. 'unused' keys) and interprets them as
6763 Reworked the shiftlatch code so that shift-down state isn't held
6764 for long periods (it's only synthesized immediately prior to
6765 the keysynth event it's modifying). Note that shiftlatch in this
6766 demo is a convenience, not intended to take the place of AccessX
6767 which is the better choice for getting 'sticky' modifier keys.
6769 * libspi/deviceeventcontroller.c:
6770 * at-bridge/bridge.c:
6771 * cspi/spi_registry.c:
6772 Removed some debug print stuff, and put other verbosity in #ifdef
6777 Implemented some more of the magnifier IDL for the simple
6778 magnifier: namely, getZoomRegionParams.
6779 Added mag_x and mag_y members to MagnifierData struct, aid of this
6781 Added GtkWindow::realize signal handler to magnifier, to keep it
6782 from receiving keyboard focus from the WM.
6784 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6786 * cspi/spi-private.h: my guess at what michael forgot
6787 before he ran off to NZ :-)
6789 2001-11-23 Michael Meeks <michael@ximian.com>
6791 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6792 comment out non existant method invoke so we link.
6794 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6795 use bonobo_exception_get_text for more friendly warnings.
6797 * cspi/spi.c (Obj_Add): move into spi_main & rename
6798 spi_object_add; kill spi.c
6800 * cspi/spi_registry.c
6801 (deregisterGlobalEventListener),
6802 (deregisterGlobalEventListenerAll),
6803 (registerGlobalEventListener): fix exception leaks.
6805 * cspi/spi_main.c (spi_exception): impl. helper, so we
6806 don't leak exceptions.
6808 * cspi/spi_selection.c
6809 (AccessibleSelection_deselectSelectedChild): return the
6812 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6813 (spi_registry): ditto.
6814 (SPI_init): guard against double inits.
6816 * cspi/*.c: use spi_ev (), and spi_registry () where
6817 appropriate - a temporary hack until we have something
6818 better. Use spi_object_add
6820 2001-11-22 Michael Meeks <michael@ximian.com>
6822 * cspi/Makefile.am: re organise, install the headers.
6824 * cspi/*.h: add G_BEGIN/END_DECLS
6826 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6829 Added non-preemptive keylistener for key events with no modifiers
6830 and shift-only modifier.
6832 * libspi/keystrokelistener.c:
6833 Removed some verbose diagnostics printout.
6835 * cspi/spi_registry.c:
6836 Fixed a bug that caused all key listeners to be registered as
6839 * libspi/deviceeventcontroller.c:
6840 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6841 for non-preemptive key masks.
6844 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6846 * docs/reference/idl/at-spi-idl-docs.sgml:
6847 * docs/reference/idl/at-spi-idl-sections.txt:
6848 * docs/reference/idl/at-spi-idl-overrides.txt:
6849 Added missing files.
6851 * docs/reference/Makefile.am:
6852 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6853 to scan the IDL files :-(
6858 Added .cvsignore files.
6860 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6862 * libspi/deviceeventcontroller.c:
6863 * libspi/keystrokelistener.c:
6865 * cspi/spi_registry.c:
6866 Added filters for KeySets, KeyEventSeq, and event types to key
6867 event dispatching, so listeners should only receive those events
6868 that they requested :-)
6870 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6875 * docs/reference:Makefile.am:
6876 * docs/reference/cspi:
6877 * docs/reference/cspi:Makefile.am:
6878 * docs/reference/cspi:tmpl:
6879 * docs/reference/cspi:tmpl:*.sgml:
6880 * docs/reference/idl:
6881 * docs/reference/idl:Makefile.am:
6882 * docs/reference/idl:at-spi-idl-sections.txt:
6883 * docs/reference/idl:at-spi-idl-docs.sgml:
6884 * docs/reference/idl:tmpl:
6885 * docs/reference/idl:tmpl:*.sgml:
6887 Restructured docs directory to allow separate 'reference' docs
6888 section, and forked idl and cspi docs. Added the sgml template
6889 files to CVS. Added the first sections/structural sgml for the
6892 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6894 * configure.in, libspi/Makefile.am: find libXtst.
6896 2001-11-21 Michael Meeks <michael@ximian.com>
6898 * test/accessx-gui.c: s/spi_value/value/ - doh.
6900 * libspi/base.[ch]: add.
6902 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6904 * idl/Accessible.idl:
6905 * idl/Application.idl:
6908 Started gtk-doc cleanup on IDL.
6910 * libspi/deviceeventcontroller.c:
6911 Added and connected non-preemptive key notification from the
6912 toolkits (in addition to the pre-emptive support from XServer
6913 which we had before, but which causes 'focus flashing'). Filters
6914 are presently limited to key modifiers and global/non-global,
6915 KeySets are presently ignored, as are KeyEvent masks.
6917 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6918 structs into the persistant structure rather than just storing
6919 pointers to things that might not persist across servant
6922 The XGrabKey call now does async keygrabs, because synchronous
6923 ones were deadlocking with GDK_event code in a very nasty way.
6925 Added boolean to internal method notify_keylisteners, to indicate
6926 whether the event came from the 'toolkit source' or the 'global
6927 (XServer) source' - this is used in the notification process to
6928 determine which listeners to send the event to.
6930 deviceeventcontroller.c is now warning-free.
6932 * libspi/registry.c:
6933 Fixed regression in application de-registration.
6934 Also fixed some really brain-dead weirdness having to do with
6935 event dispatching - event structs are now duplicated before being
6936 re-marshalled in the dispatch to listeners. This also fixes a
6937 Solaris build problem.
6940 2001-11-20 Michael Meeks <michael@ximian.com>
6943 (impl_accessibility_registry_deregister_global_event_listener):
6946 * libspi/deviceeventcontroller.c
6947 (spi_device_event_controller_check_key_event): return
6948 FALSE on no virtual method.
6950 * libspi/*..h: make includes work on a correctly pathed install.
6952 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6954 * libspi/application.h: kill unused ( and whacked out )
6955 gboolean *spi_application_set_id (AtkObject *app, long id);
6957 2001-11-20 Michael Meeks <michael@ximian.com>
6959 * libspi/*.[ch]: further convert to bonobo's type func
6960 macros, remove redundnant casts etc.
6962 * libspi/text.c s/accessibility_text/spi_text/g,
6963 re-order to de-cruft.
6965 * libspi/hypertext.c: re-order to kill a huge slew
6966 of redundant forward decls.
6968 * libspi/relation.c: ditto.
6970 * libspi/image.c: ditto.
6972 * */.cvsignore: update
6974 2001-11-20 Michael Meeks <michael@ximian.com>
6976 * libspi/deviceeventcontroller.c
6977 (_controller_register_with_devices): use g_getenv,
6978 kill stdlib.h include.
6980 * libspi/keystrokelistener.c
6981 (spi_keystroke_listener_get_type): kill
6982 (spi_keystroke_listener_class_init),
6983 (spi_keystroke_listener_init): rename to this.
6985 * libspi/text.c (impl_getAttributes): fix warning / bug.
6987 * libspi/*.[ch]: more headers, includes and over commenting.
6989 2001-11-20 Michael Meeks <michael@ximian.com>
6991 * libspi/*.[ch]: fixup headers, includes and over commenting.
6993 * libspi/image.c (impl__get_imageDescription): const
6994 correctness warning fix. remove redundant casting.
6996 * libspi/table.c (impl_getRowDescription): ditto.
6997 (impl_getColumnDescription): ditto.
6999 * libspi/libspi.h: add.
7001 2001-11-19 Michael Meeks <michael@ximian.com>
7003 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7005 * libspi/component.c (accessibility_component_get_type):
7006 rename to (spi_component_get_type): and macroify.
7007 (accessibility_component_init): rename to
7008 (spi_component_init): this
7009 (accessibility_component_class_init): rename to
7010 (spi_component_class_init): this
7012 * libspi/action.c (spi_action_get_type): kill, use the macro.
7014 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7017 * libspi/application.c (spi_application_object_event_listener),
7018 (impl_accessibility_application_register_object_event_listener):
7019 warning fixes / const understanding updates.
7021 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7024 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7026 * libspi/spi_accessible.c: Added docs and C bindings for
7027 AccessibleStateSet. (No implementations yet). Documentation
7028 coverage for C bindings now 100%. Made docs for event listeners
7033 boolean notifyListenersSync (in DeviceEventListener listener,
7034 in DeviceEvent event);
7036 oneway void notifyListenersAsync (in DeviceEventListener listener,
7037 in DeviceEvent event);
7039 Added DeviceEventListener and DeviceEvent structs (may deprecate
7040 KeyStroke and KeystrokeListener in favor of this generic
7041 event/listener framework for devices).
7043 * libspi/deviceeventcontroller.c:
7045 Changed some key listener code to take masks, etc., and paved the
7046 way for integration of toolkit/non-preemptive key events. Changed
7047 signatures of some internal methods.
7049 * at-bridge/bridge.c:
7050 Fixed regression connecting to interface signals, apparently
7051 caused by GTK+ changes.
7053 Added an internal bridge_state_listener to deal with
7054 property-change:accessible-state signals.
7056 Changed the key_listeners GList to store structs (including masks,
7057 etc.) instead of just CORBA_Objects (required for full
7058 implementation of key listener API).
7060 Connected the bridge to all currently supported Atk signals.
7061 Events now supported:
7062 object:property-change
7063 object:property-change:accessible-name
7064 object:property-change:accessible-state
7065 object:property-change:accessible-description
7066 object:property-change:accessible-parent
7067 object:property-change:accessible-value
7068 object:property-change:accessible-role
7069 object:property-change:accessible-table-caption
7070 object:property-change:accessible-table-column-description
7071 object:property-change:accessible-table-column-header
7072 object:property-change:accessible-table-row-description
7073 object:property-change:accessible-table-row-header
7074 object:property-change:accessible-table-summary
7075 object:children-changed
7076 object:visible-data-changed
7077 object:selection-changed
7078 object:text-selection-changed
7080 object:text-caret-moved
7082 object:row-reordered
7084 object:column-inserted
7085 object:column-reordered
7086 object:column-deleted
7087 object:model-changed
7089 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7091 * libspi/hyperlink.c,h:
7092 Fixed some broken stuff in hyperlink.
7094 * libspi/relation.h:
7095 * libspi/relation.c:
7096 * cspi/spi_accessible.c:
7097 Initial implementations of AccessibleRelation methods, and docs.
7099 * libspi/accessible.c:
7100 Fixed a bug that caused SEGV if an accessible
7101 object's description is NULL, and a client
7102 requests it. An empty string is now returned.
7104 * cspi/spi_editabletext.c:
7105 * cspi/spi_hypertext.c:
7107 * cspi/spi_hyperlink.c:
7111 Doc coverage now 95%.
7113 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7115 One last namespacing revision:
7116 * libspi/accessibleeventlistener.[ch]:
7117 Renamed SpiAccessibleEventListener to SpiEventListener,
7118 (no need for two namespaces ;-)
7120 And lots of documentation fixes:
7122 * docs/at-spi-docs.sgml:
7123 Fixed 'underscore vs. hyphen' bug that was preventing
7124 the gtk-doc API docs from being automatically generated.
7127 * cspi/spi-listener.h
7129 * cspi/spi_accessible.c
7131 * cspi/spi_application.c
7132 * cspi/spi_component.c
7133 * cspi/spi_editabletext.c
7135 * cspi/spi_hypertext.c
7137 * cspi/spi_registry.c
7138 * cspi/spi_selection.c
7142 * docs/at-spi-docs.sgml
7143 * docs/at-spi-sections.txt
7145 Added and fixed up gtk-doc documentation in cspi.
7147 Interfaces now (fully) documented (subject to revision and enhancement):
7149 Event Listener Support
7151 AccessibleApplication
7155 AccessibleEditableText
7162 AccessibleRelationSet
7167 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7169 * at-bridge/bridge.c:
7170 Initial work for toolkit-level key snooper connection by bridge.
7175 New typedefs and fixes to support new namespacing, and cleaner
7176 separation of cspi bindings from libspi bonobo implementation.
7177 Removed inconsistent and extraneous Spi* namespace prefix that
7178 had crept into cspi headers.
7179 Lots of comment fixes that sed had missed.
7181 * cspi/spi-roletypes.h:
7182 * cspi/spi-statetypes.h:
7183 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7184 to AccessibleRoleType.
7186 * libspi/accessibleeventlistener.h:
7187 Fixed minor namespacing weirdness.
7189 * libspi/deviceeventcontroller.c:
7190 Reordered some internal API for device listeners.
7191 Changed the key registry final boolean to 'is_system_global'
7192 rather than 'is_synchronous', which is more descriptive of its
7194 Added spi_device_event_controller_new().
7195 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7197 * libspi/keystrokelistener.[ch]:
7198 Namespaced KeystrokeListener to SpiKeystrokeListener.
7199 Changed uses of keymasks to use SPI_ prefix, and did other
7202 * libspi/keymasks.h:
7203 Namespaced keymask constants with SPI_ prefix.
7205 * libspi/registry.c:
7206 Some warning fixes, and knock-on fixes from namespace changes.
7209 Added rules for accessx-gui test program.
7211 * test/accessx-gui.c:
7212 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7213 utility. It doesn't actually use at-spi, but it's still cool and
7216 * test/keysynth-demo.c:
7220 Fixes so that these test clients work properly with the namespaced
7221 libraries. (Incompletely tested for technical reasons, fixes may follow)
7224 2001-11-13 Michael Meeks <michael@ximian.com>
7226 * libspi/application.c
7227 (impl_accessibility_application_get_version),
7228 (impl_accessibility_application_get_toolkit_name):
7230 (impl_accessibility_application_set_id),
7231 (impl_accessibility_application_get_id): remove
7232 redundant casting code.
7234 * libspi/action.c (impl_getDescription): fix warnings.
7236 * libspi/accessible.c
7237 (impl_accessibility_accessible_get_parent),
7238 (impl_accessibility_accessible_get_child_at_index),
7239 (impl_accessibility_accessible_get_state),
7240 (impl_accessibility_accessible_get_relation_set):
7241 warning fixes & include action.h
7243 2001-11-13 Michael Meeks <michael@ximian.com>
7245 * *.[ch] fix bits I screwed up:
7247 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7248 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7250 2001-11-13 Michael Meeks <michael@ximian.com>
7252 * *.[ch] Namespace libspi into spi_ and Spi.
7254 2001-13-11 Michael Meeks <michael@ximian.com>
7256 * Makefile.am: dist & install at-spi-1.0.pc
7258 * libspi/Makefile.am: install into at-spi-1.0
7260 * idl/Makefile.am (idldir): install into at-spi-1.0
7262 * at-spi-1.0.pc.in: add.
7264 * configure.in: build it.
7266 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7268 * test/keysynth-demo.c:
7269 Use a 'realize' signal-handler to set the WM properties for
7270 the virtual keyboard, rather than making it a "POPUP" type
7271 override-redirect window (thanks to anders carlsson for that
7274 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7277 * test/keysynth-demo.c:
7278 Added new test of key synthesis, which creates a simple
7279 (mouse-operated) onscreen keyboard. It inserts key events into
7280 the currently-focused window, thus it does not grab keyboard focus
7283 * cspi/spi_registry.c:
7284 Added C binding for AT-SPI generateKeyEvent.
7286 * libspi/deviceeventcontroller.c:
7287 Added call to XFilterEvent so that key listener works with XIM (we
7288 hope). Added event_synth_type to generateKeyEvent, so that we can
7289 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7290 synthesize a press/release pair for KeySyms.
7292 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7294 * libspi/Makefile.am:
7295 * registryd/Makefile.am:
7296 (temporary) hack to include libXtst in libspi and registryd.
7297 (Needed for keystroke synthesis, see below).
7300 Improved API for registerKeystrokeListener, in accordance with
7301 discussions with Gnopernicus team and X server research.
7303 * libspi/registry.c:
7304 * libspi/deviceeventcontroller.c:
7305 * libspi/accessible.c:
7306 * libspi/keystrokelistener.c:
7307 Changes and fixes to support keylisteners for potentially
7308 consumed key events (that is, 'passive grabs').
7309 Added implementation for generateKeyEvent() [untested].
7312 Changes to registerKeystrokeListener() API, as above.
7313 Added deregisterGlobalEventListenerAll(), and
7314 deregisterKeystrokeListener(), which are needed for clean exit of
7316 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7317 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7319 * cspi/spi_registry.c:
7320 Added implementations of function prototypes mentioned above.
7322 * registryd/registryd.c:
7323 Added the key listener event source as a g_timeout(), to allow
7324 receipt of key events that are not caught by GDK (since GDK
7325 doesn't support passive keygrabs, this was necessary).
7328 Changed to attach a keylistener to 'Alt' keys, and
7329 respond to the following keycommands: Alt-M (toggle magnifier);
7330 Alt-F (toggle speech); Alt-Q (quit).
7331 Added an exit routine to deregister the listeners, and a key
7332 listener that prints some key info to the console when a key
7333 matches the listener mask (and is thus received by the listener).
7335 * util/idl/Magnifier.idl:
7336 Changes to magnifier API to support multiple zoom regions,
7337 non-uniform scaling in x and y, markDirty, and a host of other
7338 features that would be useful to magnification.
7341 * util/mag_client.c:
7342 * util/mag_client.h:
7343 * util/mag_control.c:
7345 Source code changes to support the above IDL changes.
7348 As above, and also changes to use a (slower) generic conversion
7349 path for colormap conversions, since the fast RGB conversions have been
7350 reported to fail for 16-bit displays.
7352 2001-10-26 Michael Meeks <michael@ximian.com>
7354 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7356 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7358 * at-bridge/Makefile.am: fix LDFLAGS.
7360 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7362 * at-bridge/bridge.c:
7363 Re-worked listeners for toolkit events, now we have signal
7364 and property listeners. Added a private method
7365 register_atk_event_listeners(), which registers with the
7366 various atk and gtk signals we need to monitor in order to emit
7368 Added emission hook for AtkObject:property-change events, to
7369 support the 'property listeners'.
7370 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7373 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7374 which emit warnings and exit, respectively, if CORBA errors occur
7375 during remote calls, and we now use these methods to check most of
7376 our CORBA calls in the C bindings.
7378 * cspi/spi_accessible.c:
7379 Changed AccessibleSelection_refSelectedChild() to
7380 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7381 now increment refcounts.
7383 * cspi/spi_component.c:
7384 Fixed some long pointer casts (dangerous!) to pass pointers to
7385 CORBA_longs of the proper type to the CORBA stubs, and copy the
7386 data into the longs that were passed into the C bindings code.
7388 * at-bridge/bridge.c:
7390 * libspi/accessible.c:
7391 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7392 hyperlinks, AtkHyperlink is an object type.
7394 * libspi/application.c:
7395 Added various conversions to and from "generic" event types and
7396 atk-specific types; this is really part of the 'bridge'
7397 implementation but is valid for all AtkObject-based accessibility
7400 * libspi/editabletext.c:
7401 Fixed nasty bug wherein editable text's finalize method was
7402 unref'ing tha AtkObject reference that the text parent class was
7403 about to unref _again_. There was also a nasty inheritance bug
7404 that meant that the AccessibleEditableText class was corrupt.
7406 * libspi/selection.c:
7407 Provided implementations for some selection API that was broken.
7409 * idl/Application.idl:
7410 Added registerObjectEventListener () method.
7413 Fixed a number of return values that were Bonobo_Unknowns from
7414 bonobo_object_corba_objref(), which I
7415 forgot to dup before returning. Changed instances of
7416 bonobo_object_corba_objref (bonobo_object(o)) to
7417 BONOBO_OBJREF(o), for concision and clarity.
7419 2001-10-13 Louise Miller <louise.miller@sun.com>
7421 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7422 idl/Event.idl, idl/Registry.idl
7423 Changed these files to include Bonobo_Unknown.idl instead
7426 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7428 * libspi/component.c libspi/component.h:
7429 Fixed typo. Added assertions for object checks in
7430 AccessibleComponent code.
7432 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7434 * idl/Accessible.idl:
7435 Added 'isEqual (Accessible *object)'
7436 method for Accessible. (Not Yet Implemented).
7439 Changed signature of registerKeystrokeListener() to
7440 take a KeySet and KeyEventSeq so that specific keys and event
7441 types could be requested for monitoring, and added a flag
7442 is_synchronous so that either synchronous or asynchronous
7443 notification could be requested. (However this is not all
7444 implemented yet). This also meant adding two new typedefs,
7445 KeyEventSeq and KeySet.
7448 Added two new relations, RELATION_TOOLTIP_FOR and
7449 RELATION_LEAFNODE_OF.
7452 Added new state, STATE_HAS_TOOLTIP.
7454 * libspi/text.c, editabletext.c:
7455 Added new assertions to all casts of bonobo-objects from
7456 CORBA servants, to prevent Text API calls on non-text objects.
7457 Changed suspect casts of int-pointer types, so that we
7458 always send a valid CORBA_long pointer to the CORBA APIs that use
7459 in/out long parameters. We then have to copy from the CORBA_long
7460 into the regular long or int for return to the C bindings, or
7461 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7464 * libspi/deviceeventcontroller.c:
7465 Cleaned these sources up.
7467 Changed return type for getCharacterAtOffset to
7468 CORBA_unsigned_long, to allow for 32-bit characters.
7471 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7475 Fixed 'make dist' so that distro compiles...
7476 * libspi/keymasks.h:
7478 * cspi/spi-listener.c:
7479 KeystrokeListenerCB now returns a boolean.
7481 Added KeyEventType struct, and KeyStroke.
7482 Also added createKeystrokeListener(),
7483 KeystrokeListener_addCallback(),
7484 KeystrokeListener_removeCallback(), and added a keymask to
7485 registerKeystrokeListener().
7486 * cspi/spi_accessible.c:
7487 Changed numerous return types for interfaces from
7488 AccessibleComponent to Accessible<InterfaceName>; this was
7489 probably a cut-and-paste error.
7491 Implementations of new KeystrokeListener api (from spi.h,
7494 Changes to key modifier mapping.
7495 Created ControllerEventMask struct.
7496 Made DeviceEventController derive from Bonobo::Unknown.
7498 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7499 * libspi/deviceeventcontroller.c:
7500 Added a number of new internal (private) methods.
7501 * libspi/editabletext.c:
7502 * libspi/editabletext.h:
7503 Fixed a number of bugs related to the fact that
7504 editabletext inherits from text. Fixed the EditableText struct,
7505 the init() call, and use correct casts when calling Text methods
7506 from an EditableText object. Removed (duplicate) atko from the
7507 EditableText structure, we use the one in the parent Text
7508 structure via the casts mentioned above.
7509 * libspi/keystrokelistener.[ch]:
7510 * libspi/registry.c:
7511 Changes in support of keyboard handling (above).
7513 Keyboard handling, though partly functional, is still not
7514 recommended for at-spi client use as there is considerable
7515 work yet to be done.
7518 Changed some places where pointers to various int types
7519 are cast to be pointers to CORBA_long types and vice-versa:
7520 pointer casting is not safe so we pass pointers of the correct
7521 types and then cast the result before putting it into the target
7524 * libspi/text.h: minor typos corrected.
7526 We now speak not only the name of a Text element, but the
7527 first sentence of its content, when it receives focus.
7528 I also changed the text compression to 75% from 50%.
7529 * util/Accessibility_Util.server.in:
7530 Changed the default magnifier type to be a 3x vertical
7531 splitscreen magnifier (was previously a 2x horizontal one).
7533 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7535 * libspi/keystrokelistener.h:
7536 * libspi/keystrokelistener.c:
7537 Initial functional implementations of KeystrokeListener.
7540 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7542 Fixed string handling for NULL strings in libspi.
7543 Added spi_freeString to free strings returned by C bindings.
7545 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7547 * libspi/keystrokelistener.h:
7548 * libspi/keystrokelistener.c:
7549 Began (no-op) implementations of KeystrokeListener
7551 * libspi/deviceeventcontroller.c:
7552 * libspi/deviceeventcontroller.h:
7553 Began creating implementations of DeviceEventController,
7554 to handle keystroke and mouse event listening and
7556 * libspi/accessible.c:
7557 Stubbed-in the implementations for
7558 Accessibility_Accessible_getState and
7559 Accessibility_Accessible_getRelationSet.
7560 * libspi/registry.c:
7561 Improved de-registration process and fixed some bugs,
7562 deregistration now works correctly.
7564 Added initialization of applications list (to NULL).
7566 Reduced speech compression from 0.5 to 0.7, for demo.
7567 Changed call to gdk_window_set_decorations()
7568 to gtk_window_set_decorated().
7569 * at-bridge/bridge.c:
7570 Bridge now deregisters when app exits, via
7571 registration of a cleanup function
7572 with the g_atexit() call.
7573 Required making 'app' static, renamed 'this_app'.
7574 Fixed broken use of bonobo_init, passing argv wrongly.
7576 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7580 Created a new directory for
7581 accessibility-related utilities, primarily for
7582 testing and demo purposes, but with possible
7589 Onscreen magnifier utility that
7590 is implemented as a bonobo service.
7592 * util/mag_client.c:
7593 * util/mag_client.h:
7594 Client-side support (simple C bindings)
7595 for Magnification service
7597 * util/mag_control.c:
7598 Client program example for
7599 Magnification service
7601 * util/Accessibility_Magnifier.server.in:
7602 Bonobo-activation file for the
7603 Magnification service.
7606 * util/idl/Magnifier.idl:
7607 IDL defining the bonobo Magnification
7611 Modifications to use the bonobo-activated magnifier
7612 above, in place of trying to connect to an existing
7613 magnifier that uses socket-listening IPC.
7615 If env variable MAGNIFIER is set, a magnifier service
7616 will be started if one does not exist.
7618 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7620 * at-bridge/bridge.c:
7621 applied patch from Marc to build and run
7622 against new glib and gtk+ (seemed like a change
7623 to bonobo_init signature was made ?)
7625 made festival-server support turned off by default.
7626 Added support for a simple magnifier (off by default)
7627 which will be added to a 'util' directory later.
7628 * at-bridge/Makefile.am:
7629 Changed "application.h" header from a 'source'
7630 to a 'dependency' of libat-bridge.
7632 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7641 Added interface implementation c files to list of
7642 includes so they are included in libcspi.
7645 Changed prototype of AccessibleAction_doAction to return a
7647 Changed prototype of AccessibleTable_getCaption to
7648 return an Accessible.
7649 Changed prototype of AccessibleTable_getSelectedRows
7650 and AccessibleTable_getSelectedColumns to
7651 return a long (returns the number of selected rows
7652 or columns respectively).
7653 Changed name of AccessibleText_refRunAttributes to
7654 AccessibleText_getAttributes.
7655 Changed prototype of AccessibleText_getCharacterExtents to
7656 return a void rather than a boolean.
7657 Added support for a AccessibleCoordType parameter
7658 specifying what type of coordinates are desired.
7659 Added an AccessibleCordType parameter to
7660 AccessibleText_getPointAtOffset.
7662 * cspi/spi_accessible.c:
7663 Added code to return the outstanding interfaces from
7664 Accessible_queryInterface.
7666 * cspi/spi_action.c:
7668 Corrected call to getNActions to call the c binding
7671 * cspi/spi_editabletext.c:
7673 Changed name from setRunAttributes to setAttributes.
7675 * cspi/spi_hyperlink.c:
7677 Changed call to getNAnchors to correctly call the c
7678 binding for an attribute.
7680 * cspi/spi_hypertext.c:
7682 Changed getImageDescription to correctly call the
7683 binding for an attribute.
7685 * cspi/spi_selection.c:
7686 Changed getNSelectedChildren to correctly call the c
7687 binding for the attribute.
7688 Changed refSelectedChild to getSelectedChild.
7692 Changed getCaption to return an Accessible.
7693 Fixed calls which retrieve attributes.
7694 Changed refAt to getAccessibleAt.
7695 Changed getNSelectedRows and getNSelectedColumns to
7699 Changed getCharacterExtents and getPointAtOffset to accept an
7700 AccessibleCoordType.
7702 Changed calls which retrieve attributes.
7703 Changed refRunAttributes to getAttributes.
7708 * idl/Hyperlink.idl:
7709 Changed n_anchors attribute to nAnchors to keep naming
7710 convention consistent.
7713 Made Table inherit from Bonobo::Unknown.
7714 Added nSelectedColumns and nSelectedRows attributes.
7717 Made Value inherit from Bonobo::Unknown.
7719 * libspi/hyperlink.c:
7720 Change for nAnchors attributte name change.
7722 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7730 Added interface implementation c files to list of
7731 includes so they are included in libcspi.
7734 Changed prototype of AccessibleAction_doAction to return a
7736 Changed prototype of AccessibleTable_getCaption to
7737 return an Accessible.
7738 Changed prototype of AccessibleTable_getSelectedRows
7739 and AccessibleTable_getSelectedColumns to
7740 return a long (returns the number of selected rows
7741 or columns respectively).
7742 Changed name of AccessibleText_refRunAttributes to
7743 AccessibleText_getAttributes.
7744 Changed prototype of AccessibleText_getCharacterExtents to
7745 return a void rather than a boolean.
7746 Added support for a AccessibleCoordType parameter
7747 specifying what type of coordinates are desired.
7748 Added an AccessibleCordType parameter to
7749 AccessibleText_getPointAtOffset.
7751 * cspi/spi_accessible.c:
7752 Added code to return the outstanding interfaces from
7753 Accessible_queryInterface.
7755 * cspi/spi_action.c:
7757 Corrected call to getNActions to call the c binding
7760 * cspi/spi_editabletext.c:
7762 Changed name from setRunAttributes to setAttributes.
7764 * cspi/spi_hyperlink.c:
7766 Changed call to getNAnchors to correctly call the c
7767 binding for an attribute.
7769 * cspi/spi_hypertext.c:
7771 Changed getImageDescription to correctly call the
7772 binding for an attribute.
7774 * cspi/spi_selection.c:
7775 Changed getNSelectedChildren to correctly call the c
7776 binding for the attribute.
7777 Changed refSelectedChild to getSelectedChild.
7781 Changed getCaption to return an Accessible.
7782 Fixed calls which retrieve attributes.
7783 Changed refAt to getAccessibleAt.
7784 Changed getNSelectedRows and getNSelectedColumns to
7788 Changed getCharacterExtents and getPointAtOffset to accept an
7789 AccessibleCoordType.
7791 Changed calls which retrieve attributes.
7792 Changed refRunAttributes to getAttributes.
7797 * idl/Hyperlink.idl:
7798 Changed n_anchors attribute to nAnchors to keep naming
7799 convention consistent.
7802 Made Table inherit from Bonobo::Unknown.
7803 Added nSelectedColumns and nSelectedRows attributes.
7806 Made Value inherit from Bonobo::Unknown.
7808 * libspi/hyperlink.c:
7809 Change for nAnchors attributte name change.
7812 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7814 implementations-- made server implementations own AtkObject pointers
7815 rather than their respective AtkInterrface pointers to fix
7816 refcounting. AtkHyperlink is still broken.
7818 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7819 * cspi/spi_accessible.c:
7820 Added method Accessible_Role_getName(),
7821 and requisite string array (role_names).
7822 Added conversion string_from_corba_strin() call
7823 to Accessible_getName and _getDescription.
7824 * libspi/accessible.c:
7825 Added implementation for Accessible_getRole()
7827 Added festival support, used if environment variable
7830 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7832 * at-bridge/bridge.c:
7833 Now allocate Accessibility_Event using
7834 Accessibility_Event__alloc() instead of g_new0().
7835 * libspi/accessibleeventlistener.c:
7836 Initialize AccessibleEventListener->callbacks to NULL.
7837 Fixed accessible__event_listener_init() param, changed to
7838 "AccessibleEventListener *" type.
7839 Changed a bonobo_object_release_unref() call to
7840 Accessibility_Accessible_unref().
7841 * libspi/listener.c:
7842 Changed Bonobo_Unknown_unref to (equivalent)
7843 Accessibility_Accessible_unref.
7844 * libspi/registry.c:
7845 Changed bonobo_object_release_unref to
7846 Accessibility_Accessible_unref.
7848 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7851 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7852 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7853 spi-util.c spi-util.h
7854 Implementations for C bindings to remaining accessibility
7857 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7860 changed return value of Action from void to boolean to
7861 bring in line with ATK.
7864 Changed getText funcions to return "out" start and end offsets.
7865 Changed getAttributes to take and offset and return the start
7866 and end offset of the attribute run.
7867 Changed getOffsetAtPoint and getCharacterExtents to take an
7868 enum describing whether coordinates are window or screen.
7871 libspi/action.c libspi/action.h libspi/editabletext.c
7872 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7873 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7874 libspi/image.h libspi/selection.c libspi/selection.h
7875 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7876 libspi/value.c libspi/value.h
7877 Added server implementations for outstanding ATK interfaces
7878 not yet implemented.
7880 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7883 Added (missing) getName() method.
7884 Made nActions an attribute.
7885 * idl/EditableText.idl:
7886 Changed order of params in setAttributes.
7887 * idl/Hyperlink.idl:
7888 Removed getAnchor, added getURI.
7890 Changed attributes to methods, for efficiency
7891 (so that getting extents can be done in one call)
7892 * idl/Selection.idl:
7893 Changed nSelectedChildren to attribute, and re-indented.
7894 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7896 * idl/Text.idl: reformatted to match our coding style.
7897 (temporarily?) removed getRowColumnAtOffset().
7898 Changed text selection API to support multi-select and
7899 non-contiguous selections, as in ATK.
7900 * idl/Value.idl: changed some methods to attributes.
7902 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7904 * libspi/listener.c(impl_notify_event):
7905 BonoboUnkown_unref the source instead
7906 of bonobo_object_release_unref - the ORB
7907 handles the releasing.
7909 * configure.in: require ORBit-2.3.94 for
7912 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7914 Tagged CVS repository 'EA_1_0'.
7915 * README.EARLY_ACCESS:
7916 Alphabetized acknowledgements list, and
7918 Listed some known dependencies of at-spi.
7920 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7922 * docs/at-spi-docs.sgml:
7923 * docs/at-spi-sections.txt:
7924 * docs/at-spi-overrides.txt: (Added zero-length file)
7925 Documentation improvements - gtk-doc should build
7926 docs for all implemented C bindings now.
7929 * cspi/spi.c: (New file)
7930 * cspi/spi_event.c: (New file)
7931 * cspi/spi_registry.c: (New file)
7932 * cspi/spi_accessible.c: (New file)
7933 * cspi/spi_application.c: (New file)
7934 * cspi/spi_component.c: (New file)
7935 Split spi_main.c into six parts, and included them from
7936 "spi.c". This is a bit of a hack, probably temporary,
7937 but required by gtk-doc, apparently.
7939 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7942 * docs/at-spi-docs.sgml:
7943 * docs/at-spi-sections.txt:
7945 Initial checkins/modifications for gtk-doc generation.
7948 Added (missing) interface query methods to Accessible's C binding.
7950 Added GenericInterface type definition.
7952 Added query for AccessibleComponent interface to focus event handler.
7953 Added printout of bounding box for focussed component.
7954 * libspi/component.c:
7955 Added partial implementation for AccessibleComponent to C binding.
7956 * idl/Application.idl:
7957 * libspi/registry.c:
7958 * libspi/listener.c:
7959 * libspi/application.c:
7960 * libspi/application.h:
7961 Changed "ID" attribute type from string to long.
7963 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7967 Made method naming consistent: methods taking object args
7968 start with uppercase, other methods (except those using
7969 acronyms) start with lowercase. Underscores delimit between
7970 object names and method names:
7971 SPI_init() - uppercase since it starts with an acronym.
7972 getDesktopCount () - lowercase start since no object param0.
7973 Accessible_getName() - uppercase object type name, studlyCaps method
7977 Added gtk-doc documentation for all currently implemented
7978 methods in the C bindings API.
7980 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7982 * Makefile.am : changed build order to build test last.
7985 Changed "createEventListener" to "CreateEventListener".
7986 * libspi/accessibleeventlistener.c :
7987 Bugfix for addition of callbacks.
7988 * test/Makefile.am :
7989 * test/simple-at.c :
7990 Added new test that uses the C bindings API.
7992 * libspi/listener.c :
7993 * libspi/registry.c :
7994 * libspi/accessibleeventlistener.c :
7995 * at-bridge/bridge.c :
7996 Renamed member "target" of Accessibility_Event to "source",
7997 which is more descriptive.
8000 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8004 * cspi/Makefile.am :
8005 Added makefile support for at-spi/cspi directory.
8008 * cspi/spi-listener.h : (NEW FILE)
8009 Added support for/use of spi-listener.h.
8011 C bindings now build successfully, with no warnings.
8012 * libspi/accessibleeventlistener.h : (NEW FILE)
8013 * libspi/accessibleeventlistener.c : (NEW FILE)
8014 * libspi/Makefile.am :
8015 Added new object type "AccessibleEventListener"
8016 which inherits from Listener, and allows attachment
8017 of in-process callbacks (so that a client with a listening
8018 object instance can add functionality to the local
8019 implementation, dynamically).
8021 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8023 * libspi/accessible.c:
8024 Add implementation for get_index_in_parent().
8026 Added #include of "spi-roletypes.h", and
8027 added enumerated type AccessibleCoordType.
8028 Added definition for KeystrokeListener (function type).
8031 * cspi/spi-statetypes.h :
8032 * cspi/spi-roletypes.h :
8034 Added these headers, used by spi.h.
8036 Added code (NOTE: not yet built by make).
8038 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8040 * libspi/Makefile.am: generate imodule
8041 at the same time as other idl compiler
8044 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8045 * libspi/registry.c :
8046 * libspi/application.c :
8047 * idl/Application.idl :
8048 Made registration with toolkit an application method,
8049 which is required since each app has its own toolkit static
8050 environment. Thus the bridge must register for
8051 notification of toolkit events from each application in turn.
8052 Toolkit notifications are now successfully registered for, and
8053 sent to the listening at client.
8055 Changed toolkit event string to use hyphens rather than underscores.
8056 * libspi/listener.c :
8057 listner now gives more info in debug mode - it reports the
8058 name of the event received, as well as the name of the source.
8061 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8063 * libspi/registry.c :
8064 added more implementation for toolkit events.
8065 Fixed bug such that toolkit event registrations
8066 (via atk) use the whole event name string, not
8068 Removed a useless call to an ORBit_ method.
8069 * at-bridge/bridge.c :
8070 Removed unused local sbuf[] variable.
8072 We now register for Gtk:GtkWidget:button_press_event
8073 events as well as "focus:" events.
8075 Add some more API from Registry.idl that was missing,
8076 for keystroke listening, keystroke and mouse event
8077 synthesis, and enumeration of accessible desktops.
8079 2001-08-16 Michael Meeks <michael@ximian.com>
8081 * configure.in: use AM_GLIB_GNU_GETTEXT.
8083 * Makefile.am (SUBDIRS): kill intl.
8085 2001-08-15 Michael Meeks <michael@ximian.com>
8087 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8089 * configure.in: upd.
8091 * configure.in: depend on a recent bonobo-activation that
8092 will find our server files ...
8094 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8096 * libspi/accessible.c : accessible_new() :
8097 Now we add the Component interface via bonobo_object_add_interface,
8098 if the contained AtkObject implements AtkComponent.
8099 * libspi/accessible.h : now include "component.h"
8100 * libspi/component.h :
8101 * libspi/component.c : added files - implementation of
8102 bonobo wrapper object for Accessibility/Component
8103 * libspi/listener.c :
8104 Added test code to check for Accessibility/Component:1.0
8105 interface and report whether it is implemented by the
8107 * libspi/registry.c :
8108 Now we check for not only the hash of the whole event
8109 string before relaying the event, we also check the
8110 "minor" event string (without the detail string).
8111 This allows event listeners to be registered against
8112 all events of a certain major+minor type, or just
8113 against a specific major+minor+detail type.
8114 * libspi/accessible.c :
8115 Added implementations for Accessible:get_parent(),
8116 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8117 * libspi/registry.c :
8118 * libspi/listener.c :
8119 Replaced calls to Accessibility_Accessible_ref() and
8120 Accessibility_Accessible_unref() with
8121 calls to bonobo_object_dup_ref() and
8122 bonobo_object_release_unref(), so that the CORBA object
8123 is dup-ed and released when relayed, as well as the bonobo object.
8125 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8127 * libspi/Makefile.am,
8128 registryd/Makefile.am,
8129 at-bridge/Makefile.am.
8130 test/Makefile.am, configure.in:
8131 reverse previous changes.
8133 * /idl/Image.idl: fix typo.
8135 * test/Makefile.am: put DEBUG_FLAGS
8138 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8140 * test/app.c: use argv[0] instead of
8143 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8145 * libspi/Makefile.am,
8146 registryd/Makefile.am,
8147 at-bridge/Makefile.am.
8148 test/Makefile.am, configure.in:
8149 cleanup, replace individual LIBS/CFLAGS with
8150 AT_COMMON_{LIBS|CFLAGS}.
8154 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8156 * configure.in, libspi/Makefile.am:
8157 Change IDL path checking for bonobo-activation
8160 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8162 * registryd/registry.c : separated event listeners to use
8163 3 separate lists (focus, window, toolkit). Began testing
8164 event names against hashes before relaying events.
8165 * test/at.c : now register for events of type "focus:"
8166 * test/app.c : now generate events of type "focus:"
8167 * at-bridge/bridge.c : register with ATK for focus events,
8168 and we now relay those focus events to any "focus:" listeners.
8169 This now works with the bridge as a GTK_MODULE when running test/at.
8170 * libspi/registry.c :
8171 * libspi/listener.c :
8172 now we ref event sources before propagating, and unref on receipt.
8173 * libspi/registry.c :
8174 some changes to internal structs, to support event typestring hashes.
8175 * text/app.c : changed the way the appname is generated.
8176 * cspi : added directory that will hold the C bindings library for
8177 non-CORBA/bonobo-savvy clients.
8178 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8179 * idl/Component.idl : added in parameter to indicate coord system for
8180 geometry-related calls.
8181 * idl/Hyperlink.idl : added readonly n_links attribute
8182 * idl/Image.idl : changed methods to attributes.
8184 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8186 * at-bridge/Makefile.am: link against
8187 ../libspi/libspi.la instead of -lspi.
8189 * at-spi/test/app.c: include
8190 bonobo-activation.h. Use a default appname
8191 if one is not provided.
8193 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8195 * idl/Registry.idl : temporarily changed register_Application
8196 to oneway, to work around issue with initial registration
8198 * idl/Application.idl : changed attribute "id" from readonly
8199 to read-write, since it needs to be assigned by Registry.
8200 * registryd/registryd.c : added call to set application id
8202 * registryd/registry.c : changed de-registration procedure to
8203 use CORBA_Object_hash() to find matching object ref in application
8204 lists and listener lists.
8205 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8206 began distinguishing between event types (work in progress).
8208 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8211 * libspi/application.c:
8212 Added implementations for get/set id, get_toolkitName,
8214 * registryd/registryd.c :
8218 Converted from use of OAF to bonobo-activation.
8219 * libspi/desktop.h :
8220 * libspi/desktop.c :
8222 Removed references to atksimpleobject, since base atkobject
8223 implementation now provides functionality we need.
8224 * libspi/atksimpleobject.c :
8225 * libspi/atksimpleobject.h :
8230 * at-bridge/Makefile.am
8231 * at-bridge/bridge.c
8234 Added directory "bridge" and contents, and added dependencies
8235 in Makefile.am/configure.in.
8236 Initial checkin of "at-bridge".
8237 This code is a GTK_MODULE which automatically registers
8238 GTK+ apps with the accessibility registry, using an object
8239 reference to the root ATK object.
8241 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8243 * po/Makefile.in.in: Remove. Again. If this
8244 doesn't get autogenerated - you need to update
8247 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8249 * po/Makefile.in.in: Add. Again.
8251 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8253 * libspi/accessible.c : added support for 'description' property.
8254 * libspi/accessible.c
8256 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8257 (since the two are now equivalent in libbonobo)
8265 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8266 Bonobo::Unknown as does Accessibility::Accessible.
8267 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8268 interface with Bonobo::Stream, since it was redundant with it.
8269 (The Stream returned by a StreamableContext object is expected to
8270 implement only a subset of Bonobo::Stream)
8272 2001-07-28 Anders Carlsson <andersca@gnome.org>
8274 * libspi/accessible.c (accessible_object_finalize): Change
8275 g_free to g_object_unref since the AtkObject is a GObject.
8277 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8279 * idl/Accessibility.idl: add new IDL files
8282 * idl/Action.idl: Definitions of actionable UI object
8283 * idl/Component.idl: Definitions of UI component geometry, etc.
8284 * idl/Hyperlink.idl: Defs of hyperlink behavior
8285 * idl/Image.idl: Def of accessible image
8286 * idl/Selection.idl: Definition of UI object with selectable children
8287 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8288 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8289 * idl/Text.idl: Interface defs for UI elements with complex textual content
8290 * idl/Value.idl: Definition of UI element that is a value controller or display
8292 2001-07-27 Michael Meeks <michael@ximian.com>
8294 * po/Makefile.in.in: remove autogenerated file from CVS.
8296 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8299 * idl/Registry.idl: include guard.
8301 * idl/Accessibility.idl: Add, and include all the other IDL
8304 * idl/*.idl: remove mass of pragmas etc.
8306 2001-07-26 Michael Meeks <michael@ximian.com>
8308 * registryd/Makefile.am (registryd_SOURCES): remove
8311 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8313 * libspi/.cvsignore, registryd/.cvsignore,
8314 test/.cvsignore: updated.
8316 * po/Makefile.in.in: gettext update.
8318 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8320 * initial CVS checkin
8322 2001-06-29 Michael Meeks <michael@ximian.com>
8324 * configure.in: add AM_CONFIG_HEADER to gen config.h