1 2007-03-22 Li Yuan <li.yuan@sun.com>
3 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
4 main context. Fix for #329454.
6 2007-03-12 Li Yuan <li.yuan@sun.com>
8 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
10 2007-03-02 Li Yuan <li.yuan@sun.com>
13 (spi_atk_bridge_register_application),
14 (deregister_application), (spi_atk_bridge_focus_tracker),
15 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
16 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
17 to prevent calling threads_enter/leave during the init and shutdown.
19 2007-02-27 Li Yuan <li.yuan@sun.com>
22 (spi_re_entrant_list_delete_link):
23 Bug #412286. Reverse previous patch.
24 * configure.in, NEWS: Uprev/release 1.17.2.
26 2007-02-26 Li Yuan <li.yuan@sun.com>
28 * libspi/accessible.c:
29 (impl_accessibility_accessible_get_attributes),
30 (impl_accessibility_accessible_get_relation_set):
31 Bug #404584 and #401299. Return an empty object instead of return NULL.
32 * configure.in, NEWS: Uprev/release 1.17.1.
34 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
36 * Makefile.am: Dist MAINTAINERS.
38 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
40 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
41 (atk_bridge_init), (spi_atk_bridge_get_registry),
42 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
43 Fix some compiler warnings and plug a leak. Closes part of
46 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
48 * cspi/bonobo/cspi-bonobo-listener.h:
49 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
50 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
51 * cspi/spi_main.c: (SPI_eventIsReady):
52 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
53 * libspi/streamablecontent.c:
54 * libspi/util.c: (spi_re_entrant_list_delete_link):
55 * login-helper/login-helper.c:
56 * registryd/deviceeventcontroller.c:
57 (spi_controller_update_key_grabs), (isEvent):
58 * registryd/registry.c:
59 * test/key-listener-test.c: (simple_at_exit):
60 * test/login-helper-server-test.c: (test_set_wm_dock),
62 Fix a bunch of warnings from sparse:
63 - ANSIfication of function declarations
66 - make some stuff static
68 2007-02-14 Li Yuan <li.yuan@sun.com>
70 * libspi/accessible.c:
71 (impl_accessibility_accessible_get_attributes):
72 Bug #404584. If there is no attributes, just return NULL.
74 2007-02-12 Li Yuan <li.yuan@sun.com>
76 * configure.in, NEWS: Uprev/release 1.17.0.
78 2007-02-12 Li Yuan <li.yuan@sun.com>
80 * atk-bridge/bridge.c:
81 (atk_bridge_init): bug #400709. we must emit events even if we are not
82 registered as a full-fledged app.
83 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
84 application like openoffice shutdown. They need to unload gtk before
85 the is spi_atk_bridge_exit_func called.
87 2007-01-22 Li Yuan <li.yuan@sun.com>
89 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
91 2007-01-22 Li Yuan <li.yuan@sun.com>
93 * cspi/bonobo/cspi-bonobo.c:
94 (cspi_get_registry_ior), (cspi_init):
95 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
97 2007-01-19 Li Yuan <li.yuan@sun.com>
99 * atk-bridge/bridge.c:
100 (atk_bridge_init), (spi_atk_bridge_register_application),
101 (deregister_application), (spi_atk_bridge_focus_tracker),
102 (spi_atk_emit_eventv):
103 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
106 2007-01-08 Li Yuan <li.yuan@sun.com>
108 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
110 2007-01-08 Li Yuan <li.yuan@sun.com>
112 * registryd/registry-main.c:
113 (main): set registry ior only when register server successfully.
114 * atk-bridge/bridge.c:
115 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
116 Bug #372988, #381670. Fix memory leak.
118 2007-01-02 Bill Haneman <billh@gnome.org>
121 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
122 appending default attributes to a text attribute set.
125 2006-12-28 Li Yuan <li.yuan@sun.com>
127 * atk-bridge/bridge.c:
128 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
129 the second time, because spi_atk_emit_eventv will free any. Bug
132 2006-12-15 Li Yuan <li.yuan@sun.com>
134 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
136 2006-12-14 Li Yuan <li.yuan@sun.com>
139 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
140 (spi_atk_bridge_property_event_listener),
141 (spi_atk_bridge_signal_listener):
142 Free some CORBA objects to fix memory leak and crash.
144 2006-12-13 Li Yuan <li.yuan@sun.com>
146 Patch from Ariel Rios to fix #163132 and #377079.
147 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
148 (spi_atk_bridge_get_registry_ior):
149 Use g_warning instead of g_error and g_critical to avoid crash.
151 2006-12-11 Bill Haneman <bill.haneman@sun.com>
154 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
155 if there are no non-default attributes defined at the current offset.
158 2006-12-04 Bill Haneman <bill.haneman@sun.com>
160 * idl/Accessibility_Role.idl: Fixed the documentation for
161 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
163 2006-12-04 Bill Haneman <bill.haneman@sun.com>
165 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
167 2006-11-07 Bill Haneman <bill.haneman@sun.com>
169 Patches from Padraig O'Briain for bugs #361386 and #369377.
171 * registryd/registry.c:
172 (struct NotifyContext): Change the e_out
173 member from an Accessibility_Event struct to a pointer to
175 (notify_listeners_cb): Modify to use the new struct definition above.
176 Allows use of ORBit_copy_value instead of CORBA_any__copy.
178 * registryd/deviceeventcontroller.c:
179 (spi_dec_button_update_and_emit): Free the event's any_data
181 (spi_dec_mouse_check):Free the event details any struct
183 (spi_device_event_controller_forward_mouse_event): Free any.
184 (spi_device_event_controller_forward_key_event): Ditto.
186 2006-11-07 Bill Haneman <bill.haneman@sun.com>
188 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
189 Don't require gtk+ and gail for building most of at-spi
192 * registryd/registry-main.c (main): We now get te value of display
193 using the env var DISPLAY rather than using the gdk_display_get_default
194 to avoid dependancy of gdk. Also, once the registry is started, we set
195 the ior of the registry as an X property.
196 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
198 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
199 the registration was successfull.
200 (spi_atk_bridge_do_registration): This function now returns success
201 or not on activating the registry.
202 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
203 has been set in the X root window and return it if available.
204 (spi_atk_bridge_get_registry): We now get the registry using the IOR
205 saved as a X property rather than using the OAFID.
207 2006-10-01 Bill Haneman <bill.haneman@sun.com>
209 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
211 2006-09-25 Bill Haneman <bill.haneman@sun.com>
213 * registryd/registry.c:
214 (desktop_remove_application): Don't pass a ref to the
215 dead application with the event, since it's probably
216 defunct and will cause SEGV if we try to unref,
217 extract app name, etc.
220 2006-09-20 Bill Haneman <bill.haneman@sun.com>
222 Patch from Neo Liu <nian.liu@sun.com>,
225 * atk-bridge/bridge.c:
226 (spi_atk_bridge_document_event_listener): New, for
229 2006-08-30 Bill Haneman <bill.haneman@sun.com>
232 Changed some parameter names so as not to
233 collide with class names - allows IDL to be compiled with
234 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
236 2006-08-22 Bill Haneman <bill.haneman@sun.com>
238 * atk-bridge/bridge.c:
239 (spi_atk_bridge_signal_listener):
240 Patch from Ginn Chen, assign detail1 in children-changed
241 so that the child object can be assigned to the Any when the
242 at-spi event is emitted. Bug #350552.
244 * libspi/application.c:
245 (spi_application_finalize): Remove g_print debug output.
248 2006-08-21 Bill Haneman <bill.haneman@sun.com>
250 * configure.in: Revved to AT-SPI 1.7.11.
252 * libspi/accessible.c:
253 (spi_accessible_new): Aggregate Hyperlink interface
254 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
256 * libspi/hyperlink.c:
257 (spi_hyperlink_new): Don't aggregate Action a second time if this
258 interface is created for an AtkHyperlinkImpl object (i.e. for a
259 child Accessible, as opposed to the Hyperlink instance from
261 (get_hyperlink_from_servant): Obtain the hyperlink from
262 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
264 Patch section from Ginn Chen...
266 * cspi/spi_accessible.c:
267 (_cspi_accessible_set_from_sequence):
268 Changed g_newa to g_new0 on Ginn Chen's suggestion.
270 * libspi/accessible.c:
271 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
272 (spi_accessible_new): Add the Document interface if present.
275 (impl_getAttributes): Fixed to use AtkAttribute properly.
278 (impl_getAttributes, impl_getDefaultAttributes):
279 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
281 2006-08-17 Bill Haneman <bill.haneman@sun.com>
283 * cspi/spi-private.h, cspi/spi_accessible.c:
284 (_cspi_attribute_set_from_sequence): Renamed from
285 cspi_attribute_set_from_sequence, to suppress export.
288 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
289 inline docs, which was keeping the doc from appearing.
290 (SPIExceptionHandler): Doc this.
292 * cspi/spi_document.c:
293 Added inline gtk-docs cut-n-pasted from the doxygen
294 docs in the corresponding IDL files.
295 (AccessibleDocument_getAttributes): Fix the retval here.
297 * cspi/spi_streamablecontent.c:
298 Fixed some 'Since' tags that were accidentally doxygen-style.
301 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
302 docs from the IDL file.
304 * docs/reference/cspi/at-spi-cspi-docs.sgml:
305 Added entities for Document and StreamableContent interfaces.
307 * docs/reference/cspi/at-spi-cspi-sections.txt:
308 Added some docs that were present inline but not getting
311 2006-07-31 Bill Haneman <bill.haneman@sun.com>
314 (impl_getRangeExtents): Use the atk_text_get_range_extents
315 API instead of looping over character bounds, now that
317 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
318 (_spi_text_bounds_contain): Remove, not needed anymore.
319 (_spi_text_rect_union): Remove, not needed anymore.
321 2006-07-31 Bill Haneman <bill.haneman@sun.com>
323 * atk-bridge/bridge.c:
324 (spi_atk_emit_eventv): Fix the CORBA_free call which was
325 causing 64-bit troubles and memory leaks.
326 Special thanks to Alexander Larsson who finally seems to
327 have tracked down the problem, not just here but in
331 (spi_init_any_object): Make sure we copy the CORBA value
332 when initializing an object for passing as a CORBA_Any.
335 2006-07-21 Bill Haneman <billh@gnome.org>
337 * idl/Accessibility.idl:
338 Reverted pragma changes, this broke the build in some envs
339 including the Debian team's build and some tinderbox builds.
341 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
344 Revved to 1.7.10, and edited the Xevie check (bug #319994).
346 * idl/Accessibility.idl:
347 Reworked inclusion of Bonobo_Unknown.idl, to
348 avoid double-linking libs in the Bonobo environment.
349 Thanks to Michael Meeks for the workaround, see bug #313122.
351 * registryd/deviceeventcontroller.c:
352 (spi_controller_notify_keylisteners):
353 Set the SPI_NUMLOCK_MASK bit if the modifier
354 corresponding to the conceptual numlock state is set.
357 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
359 * idl/Accessibility_Selection.idl:
360 (deselectChild): New method.
362 * libspi/selection.c:
363 (impl_deselectChild): Implement the new IDL method.
366 (AccessibleSelection_deselectChild): Added new method.
368 * cspi/spi_selection.c:
369 (AccessibleSelection_deselectChild): New method implemented.
371 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
373 * cspi/bonobo/cspi-bonobo.c:
374 (cspi_init): Replace g_error with g_warning, prevent
375 SEGV if the registry cannot be activated. Bug #346393.
377 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
379 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
381 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
382 2006-07-12 Ariel Rios <arios@us.ibm.com>
386 * idl/Accessibility_Table.idl:
387 (getRowColumnExtentsAtIndex): New method for getting
388 selection status and extents in one API call.
391 (impl_getRowColumnExtentsAtIndex): Implementation of
393 (spi_table_class_init): Add above to epv.
397 (AccessibleTable_getRowColumnExtentsAtIndex): New
398 method, retrieves selection status and row/col extents
399 for a table cell in a single API call.
401 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
402 2006-07-12 Ariel Rios <arios@us.ibm.com>
404 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
407 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
408 New bindings for new methods defined in idl and libspi.
411 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
412 Added prototype functions.
415 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
417 (spi_text_class_init): Added previous methods.
420 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
421 * libspi/spi-private.h: Corrections.
423 2006-06-29 Bill Haneman <bill.haneman@sun.com>
425 Added Document interface (see bug #326520),
426 with work from Ariel Rios <arios@us.ibm.com>.
428 * configure.in: Bump to 1.7.8.
430 * libspi/Makefile.am: Added document.[ch] to sources
433 (SpiDocument, SpiDocumentClass):
434 New interface implementation.
435 (spi_document_get_type, spi_document_construct)
436 (spi_document_interface_new): New methods added.
437 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
438 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
439 Added macros for SpiDocument
443 (spi_document_interface_new): Get a
444 new document interface. New.
445 (get_document_from_servant): Get an AtkDocument from servant New.
446 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
447 Implementation of methods defined on idl.
448 (spi_document_class_init, spi_document_init)
449 Init methods for SpiDocument. new
451 * idl/Accessibility.idl: Added Accessibility_Document.idl.
453 * cspi/Makefile.am: Added spi_document.c to sources.
455 * cspi/spi_document.c:
456 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
457 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
458 (AccessibleDocument_getAttributes): Bindings for methods defined
461 * cspi/spi_accessible.c:
462 (Accessible_isDocument, Accessible_getDocument) New.
464 (Accessible_isDocument, Accessible_getDocument)
465 (AccessibleDocument_ref, AccessibleDocument_unref)
466 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
467 (AccessibleDocument_getAttributes): Bindings added.
469 * idl/Makefile.am: Added Accessibility_Document.idl to
472 2006-06-29 Bill Haneman <bill.haneman@sun.com>
474 * idl/Accessibility_Document.idl: New interface
475 for complex documents. First stage of fix for RFE
478 2006-06-27 Bill Haneman <bill.haneman@sun.com>
480 * libspi/streamablecontent.c:
481 (impl_content_stream_close):
482 Unref the GIOChannel on close.
484 2006-06-23 Bill Haneman <bill.haneman@sun.com>
486 * idl/Accessibility_Role.idl:
487 * libspi/accessiblerole.c:
488 * cspi/spi_accessible.c: Added ROLE_LINK,
489 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
490 Bug #345758 and bug #140635.
493 2006-06-22 Bill Haneman <bill.haneman@sun.com>
497 * idl/Accessibility_StreamableContent.idl:
498 Fix derivation of StreamableContent and ContentStream.
500 * cspi/spi_streamablecontent.c:
501 (accessible_content_stream_client_read):
502 Fix the datatype of the content stream used.
503 Interpret short reads as EOF, and stop trying to
504 read when we've fulfilled the request.
505 (AccessibleStreamableContent_getContentTypes):
506 Use g_strdup, not CORBA_string_dup, for the strings.
507 (AccessibleStreamableContent_open):
508 Correctly use the new getStream method for opening,
509 not the deprecated getContent method.
510 Use the object reference as the stream hash key.
511 Make note of the 'one stream per client per streamable'
512 limitation in the docs.
515 Add streamablecontent.h to the list of #includes.
517 * libspi/streamablecontent.c:
518 (impl_content_stream_read): Initialize the GError.
519 Allocate the incoming buffer if reading a fixed length of
520 data. Use g_memmove instead of memcpy.
521 (impl_accessibility_streamable_get_content_types):
522 Init typelist->_maximum. Only allocate the buffer if
523 there is a non-zero number of content types available.
524 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
526 * libspi/streamablecontent.h:
527 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
530 (SPI_IS_VALUE): Fix a typo in this macro too.
532 2006-06-16 Bill Haneman <bill.haneman@sun.com>
536 * idl/Accessibility_StreambleContent.idl:
537 Deprecate the Bonobo_Stream-based methods in favor of
538 a self-contained "ContentStream" interface. This should
539 allow us to remove BonoboStream dependencies entirely, since
540 there were no non-NIL implementations of the old methods anyway.
541 (ContentStream): New interface.
542 (ContentStream::SeekType): Enum.
543 (ContentStream::seek): New.
544 (ContentStream::read): New.
545 (ContentStream::close): New.
546 (getContent): Deprecate.
547 (getURI): New method, returns a URI pointing to the content, if available.
549 * libspi/streamablecontent.c:
550 (SpiContentStream): Internal object type definition used to
551 implement Accessibility::StreamableContent::ContentStream via
552 AtkStreamableContent's GIOChannel back-end.
553 (spi_content_stream_new, spi_content_stream_dispose): See above;
555 (impl_content_stream_seek, impl_content_stream_read):
556 (impl_content_stream_close): New, implementations of
558 (impl_accessibility_streamable_get_stream): Implement the
559 public method Accessibility::StreamableContent::getStream.
560 (impl_accessibility_streamable_get_uri): Implement the
561 public method Accessibility::StreamableContent::getURI.
563 * cspi/spi_streamablecontent.c:
564 (accessible_bonobo_stream_client_seek): Replaced by
565 (accessible_content_stream_client_seek).
566 (accessible_bonobo_stream_client_read): Replaced by
567 (accessible_content_stream_client_read).
568 (AccessibleStreamableContent_open):
569 (AccessibleStreamableContent_seek):
570 (AccessibleStreamableContent_read):
571 (AccessibleStreamableContent_close): Use the new 'getStream'
572 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
574 2006-06-15 Bill Haneman <bill.haneman@sun.com>
576 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
577 remove from other .idl files (except LoginHelper).
580 2006-06-14 Bill Haneman <bill.haneman@sun.com>
582 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
585 * configure.in, */Makefile.am: mingw patch, modified from
586 original patch by yselkowitz. Bug #314216.
588 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
589 for completeness. Bug #163111.
591 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
592 * libspi/util.c, registryd/registry-main.c:
593 Fix guint/char* casts.
594 Patch from chpe, bug #333883.
596 2006-06-12 Bill Haneman <bill.haneman@sun.com>
598 * configure.in: Require atk-1.12.0, to pick up
599 new API. (bug #344412).
601 * libspi-1.0-uninstalled.pc.in:
603 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
604 Fix for #341488 from Samual Thibault.
606 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
607 Thanks to Brian Pepple.
609 2006-06-09 Bill Haneman <bill.haneman@sun.com>
612 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
613 New, missing implementations of attribute reading methods
616 * cspi/spi.h, spi_value.c:
617 (AccessibleValue_getMinimumIncrement): New methods wrapping
618 the (formerly unimplemented) property from Value.idl.
621 (impl_get_minimumIncrement): Implementation for retrieving
622 the minimum valuator increment, (formerly unimplemented).
625 2006-06-09 Bill Haneman <bill.haneman@sun.com>
627 * idl/Accessibility_State.idl:
628 Added STATE_VISITED (bug #338369).
630 * cspi/spi_accessible.c:
631 (spi_state_to_corba) Fixed marshalling of new statetypes.
634 (spi_init_state_tables, impl_getStates):
635 Fixed conversion of new statetypes to/from ATK.
637 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
639 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
640 definitions/conversions for new roles from ATK.
642 * idl/Accessibility_Relation.idl:
644 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
645 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
646 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
648 * libspi/accessible.c: Fixed marshalling of new role types from
651 2006-04-17 Matthias Clasen <mclasen@redhat.com>
653 * revert my previous change
655 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
657 * configure.in: Remove obssolete no_NO locale
658 * po/no.po: And the translation.
660 2006-04-05 Matthias Clasen <mclasen@redhat.com>
662 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
663 memory-management error that caused crashes on x86_64.
666 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
668 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
670 2006-03-27 Bill Haneman <bill.haneman@sun.com>
672 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
673 to strip "cspi_*" from the symbol table.
675 * cspi/spi_streamablecontent.c:
676 (get_streams): Make this method static.
679 (_cspi_exception_throw): rename to cspi_exception_throw,
680 so we can strip it with the rest...
683 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
685 2006-03-27 Bill Haneman <bill.haneman@sun.com>
687 Add doxygen-generated IDL docs to tarball, and enable
688 doxygen during build/install when available. Bug #301345.
690 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
692 * docs/reference/Makefile.am: Add idl to SUBDIRS.
694 * docs/reference/idl/Makefile.am: Optionally use
695 doxygen to create docs.
697 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
699 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
701 2006-03-20 Bill Haneman <bill.haneman@sun.com>
704 (impl_get_selected_rows): Don't free the selection if it's
705 empty or has not been assigned; init it to NULL so you can tell.
706 Also, allow for zero selected rows.
707 (impl_getSelectedColumns): Ditto. Bug #319088.
709 2006-03-11 Vincent Untz <vuntz@gnome.org>
711 Leak fix for bug #334217.
713 * libspi/application.c: spi_application_toolkit_event_listener():
714 don't duplicate the string we pass as an argument to
715 spi_init_any_nil() since spi_init_any_nil() already does it
716 * registryd/deviceeventcontroller.c:
717 (spi_dec_button_update_and_emit): ditto
718 (spi_dec_mouse_check): ditto
719 (spi_dec_emit_modifier_event): ditto
720 (spi_device_event_controller_forward_mouse): ditto
721 * registryd/registry.c:
722 (desktop_add_application): ditto
723 (desktop_remove_application): ditto
725 2006-02-20 Bill Haneman <billh@gnome.org>
727 * configure.in: Rev to 1.7.6.
729 Leak fixes for bug #331924.
731 * atk-bridge/bridge.c:
732 (spi_atk_bridge_init_base): Don't dup the string, it's already
733 been dup-ed. Fixes a leak.
734 (spi_atk_emit_eventv): Move the CORBA_free call here,
735 instead of spi_atk_state_event_listener; fixes another leak.
736 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
737 notifying the registry; fixes another leak.
739 * registryd/registry.c:
740 (registry_flush_event_queue): Free the CORBA_any when
741 flushing the event, not just the string. Fixes another leak.
742 (registry_queue_event): Free the CORBA_any when dropping
743 events on the floor; fixes another leak.
746 (spi_init_any_object, spi_init_any_nil):
747 Always set _release to TRUE. Fixes another leak.
749 2006-02-20 Bill Haneman <billh@gnome.org>
751 * configure.in: Rev to 1.7.5.
752 Reinstate localization of this module. Thanks for Rodney
753 Dawes for fixing my patch.
755 * registryd/Makefile.am: Remove Accessibility_Registry.server
756 from dist, since it needs to be re-created at configure time.
759 2006-01-31 Bill Haneman <billh@gnome.org>
761 * configure.in: Rev to 1.7.4 (to include build fix below).
763 * idl/Makefile.am: Include Selector.idl in dist.
767 (cspi_internal_event_get_object): Handle case where
768 "object" isn't present, i.e. CORBA_TC_Object doesn't match
769 the EventDetails data.
770 (cspi_internal_event_get_text): Handle NULL string.
771 (cspi_internal_event_get_rect): Handle missing/empty rect
772 data, Accessibility_TC_RectBounds doesn't match any_data.
774 2006-01-30 Bill Haneman <billh@gnome.org>
778 * atk-bridge/bridge.c:
779 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
780 interface and use that when instantiating a new source
781 accessible. Better fix for bug #321814.
783 2006-01-27 Bill Haneman <billh@gnome.org>
785 * idl/Accessibility_Selector.idl: Added to the cvs repository.
787 * configure.in: Revved to 1.7.3.
789 2006-01-17 Bill Haneman <billh@gnome.org>
791 * configure.in: Revved to 1.7.2, re-dist to include docs.
793 2006-01-09 Bill Haneman <billh@gnome.org>
795 * configure.in: Removed po/Makefile.in inclusion, we do not need
798 * idl/Accessibility.idl: Improved documentation here, and for all
799 IDL in the 'GNOME::Accessibility' namespace.
801 * idl/Accessibility_Accessible.idl:
802 (LOCALE_TYPE): Added enum.
803 (AttributeSet): New, for returning multiple name/value attribute pairs.
804 (RoleSet): New, sequence of Roles, to be used in upcoming
806 (getAttributes): New API, allows retrieval of name/value pair
807 annotations for all kinds of Accessible objects. C.f.
808 Text:getAttributes, which is only for typographic/textual/semantic tags in
810 (getApplication): New, retrieves the host/containing Application
811 instance for an object (without having to walk up the whole tree).
813 * idl/Accessibility_Component.idl:
814 (getAlpha): New method, returns the alpha blending (aka 'opacity')
815 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
818 * idl/Accessibility_Event.idl:
819 (EventDetails): New struct definition, for encapsulating
820 commonly-queried information about emitted events. The use of
821 this structure in emitted events (in the 'any' member of
822 Accessibility_Event) should greatly reduce the number of
823 client-server roundtrips necessary.
825 * idl/Accessibility_Image.idl:
826 (imageLocale): New, a readonly attribute indicating the POSIX
827 LC_MESSAGES locale of the image and associated Alt/descriptive
830 * idl/Accessibility_Relation.idl:
831 (RELATION_PARENT_WINDOW_OF): Include, as complement to
834 * idl/Accessibility_Role.idl:
835 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
836 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
837 complex document and form support.
839 * idl/Accessibility_State.idl:
840 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
841 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
842 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
843 for support of complex documents and forms.
845 * idl/Accessibility_StreamableContent.idl:
846 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
847 allow old bonobo-stream interfaces to be deprecated in the next
850 * idl/Accessibility_Text.idl:
851 (getAttributeValue): New method, allows query-by-name of single
854 * libspi/accessible.c:
855 Added support for new roles. Implemented new methods
856 (impl_accessibility_accessible_get_application): New
857 (impl_accessibility_accessible_get_attributes): New
859 * libspi/component.c:
860 (impl_accessibility_component_get_alpha): New.
863 (impl_accessibility_image_get_locale): New.
865 * libspi/relation.c: Added support for new relation type.
867 * libspi/stateset.c: Added support for new state types.
870 (impl_getAttributeValue): New.
873 New prototypes for private methods
875 spi_init_any_object, spi_init_any_string,
878 * libspi/spi_event.c:
879 Use EventDetails in the event emission methods.
881 * cspi/spi-private.h:
882 (cspi_role_from_spi_role): Expose this adapter method, since
883 we need it in the bridge (see below).
886 (AccessibleEvent_getSourceName):
887 (AccessibleEvent_getSourceRole):
888 (AccessibleEvent_getSourceApplication):
889 (AccessibleEvent_getSourceDetails):
890 New methods for interrogating/demarshalling
891 event details (i.e. source's accessible name, role,
894 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
895 Make use of the new EventDetails struct in events, if present.
896 (AccessibleEvent_getSourceName)
897 (AccessibleEvent_getSourceRole)
898 (AccessibleEvent_getSourceApplication)
899 (AccessibleEvent_getSourceDetails): Implement the newly exposed
901 (Accessible_getAttributes): New, wraps
902 Accessibility_Accessible_getAttributes.
903 (Accessible_getHostApplication): New, wraps
904 Accessibility_Accessible_getApplication.
907 (AccessibleImage_getImageLocale): New wrapper for
908 Accessibility_Image_get_imageLocale.
910 * cspi/spi_component.c:
911 (AccessibleComponent_getAlpha): New wrapper for
912 Accessibility_Component_getAlpha.
914 * atk-bridge/bridge.c:
915 Use new prototyped for init_any methods.
916 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
917 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
918 (spi_atk_bridge_init_base): Wrappers
919 for spi_init_any_* methods, due to refactor; include extended
920 information in the Accessibility_EventDetails struct, for instance
921 accessible-name, Role, and containing Application.
923 * registryd/registry.c:
924 Use new event emission (with EventDetails).
926 * registryd/deviceeventcontroller.c:
927 Use new event emission (with EventDetails).
929 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
931 * configure.in: Generate po/Makefile.in
932 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
933 * cspi/spi_streamablecontent.c:
934 (accessible_bonobo_stream_client_seek),
935 (AccessibleStreamableContent_seek): Remove unused vars.
936 * libspi/application.c: Missing header.
937 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
938 * login-helper/login-helper.c: (login_helper_finalize),
939 (login_helper_init): Remove unused stuff
940 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
941 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
942 and surround some with #ifdef GRAB_BUTTON.
943 * test/event-listener-test.c: (main), (report_event),
944 (report_caret_event), (report_detail_event),
945 (report_detail1_event), (report_bounds_event), (report_text_event),
946 (report_text_selection_event),
947 (report_active_descendant_changed_event),
948 (report_children_changed_event), (report_name_changed_event),
949 (report_description_changed_event), (report_parent_changed_event),
950 (report_window_event), (report_table_summary_event),
951 (report_table_header_event), (report_table_caption_event),
952 (report_table_row_description_event),
953 (report_table_column_description_event), (timing_test_event):
954 Remove a bunch of unused variables and fix a slew of format specifiers
955 * test/key-listener-test.c: (report_all_key_event): Format specifier
956 * test/keypad-test.c: (print_key_event): Same
957 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
959 * test/screen-review-test.c: (main), (print_chunk_debug),
960 (review_buffer_get_text_chunk), (debug_chunk_list),
961 (string_guess_clip), (text_chunk_get_clipped_string),
962 (text_chunk_list_to_string), (get_screen_review_line_at):
963 Remove unused variables and fix format specifiers.
964 * test/simple-at.c: (report_text_event): Format specifier fix.
965 * test/stress-test.c: (main): Remove unused var.
967 2005-12-29 Abel Cheung <maddog@linuxhall.org>
969 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
970 (yes I know that's useless)
972 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
974 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
976 2005-11-17 Michael Meeks <michael.meeks@novell.com>
978 * atk-bridge/bridge.c (spi_atk_emit_eventv):
979 urgh-fix embarassing typo.
981 2005-11-16 Michael Meeks <michael.meeks@novell.com>
983 * atk-bridge/bridge.c (spi_atk_emit_eventv):
984 do a faster, less problematic _unref call on this local
985 object, rather than a slower (potentially cross-thread
986 complicated) CORBA call.
988 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
990 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
991 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
992 * registryd/deviceeventcontroller.c:
993 (spi_controller_notify_mouselisteners),
994 (impl_generate_keyboard_event):
995 * test/screen-review-test.c: (chunk_bounds_within):
996 * test/test-simple.c: (test_desktop): Remove some unused code
997 and fix compiler warnings. Closes bug #320049.
999 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1001 * registryd/deviceeventcontroller.c:
1002 (spi_controller_notify_keylisteners): Check
1003 to make sure the event listener has requested 'preemptive'
1004 status before pre-empting an event.
1006 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1008 * configure.in, README, NEWS: Release 1.6.5.
1010 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1012 * test/window-listener-test.c: Fix a printf
1013 format error. (#169453)
1015 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1017 * tests/test-simple.c:
1018 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1019 relying on the old string from the key event hanging around after
1020 the event handler returns. Fixes broken 'make check'.
1022 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1024 * Added Marathi (mr_IN) translations.
1026 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1028 * cspi/bonobo/cspi-bonobo-listener.c:
1029 (cspi_event_list_remove_by_cb): Fix the build.
1031 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1033 * cspi/bonobo/cspi-bonobo-listener.c
1034 (cspi_event_list_remove_by_cb): actually filter by callback.
1036 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1038 * registryd/registry.c (remove_listener_cb):
1039 Make deregistration filter rules match the event emission rules.
1041 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1043 * registryd/registry.c (remove_listener_cb),
1044 (impl_accessibility_registry_deregister_global_event_listener),
1045 (impl_accessibility_registry_deregister_global_event_listener_all):
1046 pass a closure to the remove callback to filter listeners more
1047 accurately on remove.
1049 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1051 * configure.in: Revved to 1.6.4.
1052 Remember to put quotes around XEVIE_LIBS assignment.
1053 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1056 * tests/event-listener-test.c: Tweaked the tests - more detail
1057 from caret events, and some interrogation of AccessibleText APIs.
1058 Commented-out the bounds-changed events by default, since they can
1061 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1063 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1064 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1065 Same here. Closes bug #167806
1067 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1069 * atk-bridge/bridge.c:
1070 (spi_atk_bridge_signal_listener):
1071 Free the any._value if any._release is TRUE,
1072 since the ORB won't do it for us in this case
1073 [because this method is not a skel].
1074 Fix for bug #168679.
1076 2005-03-30 Steve Murphy <murf@e-tools.com>
1078 * configure.in: Added "rw" to ALL_LINGUAS.
1080 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1082 * configure.in: Improved check for HAVE_XEVIE, to detect
1083 presence on XOrg, where -lXevie is a separate library.
1085 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1087 * configure.in, NEWS, README: Revved to 1.6.3.
1089 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1091 * configure.in: Added "xh" to ALL_LINGUAS.
1093 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1095 * atk-bridge/bridge.c:
1096 (atk_bridge_init): Added missing NULL in g_strconcat(),
1097 also check for symlink before logging to
1098 insecure directory. Thanks to meissner@suse.de.
1100 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1102 * tests/login-helper-server-test.c: Add return call to main
1103 function. Patch from Chris Lahey. Fixes bug #165129.
1105 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1107 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1109 2004-12-09 Bill Haneman <billh@gnome.org>
1111 * registryd/registry-main.c:
1112 Added #define <string.h> for strrchr. (bug 160862).
1113 Thanks to Vincent Berger for catching.
1115 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1117 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1118 restart registry process if the registry process is found to have died
1119 and the current process is exiting.
1120 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1121 application if the registry process has died.
1122 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1123 does not return a registry object.
1124 (spi_atk_tidy_windows): Give up if the registry process has died.
1126 This fixes problems with hangs and crashes when logging out.
1128 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1130 * registryd/desktop.c: Add checking that we are not exiting before
1131 calling spi_desktop_remove_application in
1132 abnormal_application_termination. Fix for bug #152147.
1134 2004-12-02 Bill Haneman <billh@gnome.org>
1136 * configure.in, NEWS, README: Revved to 1.6.1.
1138 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1139 * atk-bridge/bridge.c:
1140 (atk_bridge_init): Save the pid when we start, to detect forks.
1141 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1142 if we're in a forked pid.
1144 2004-10-09 Bill Haneman <billh@gnome.org>
1146 * idl/Accessibility_LoginHelper.idl:
1147 Improved inline documentation.
1149 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1151 * configure.in: Added gl (Galician) to ALL_LINGUAS
1153 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1155 * libspi/accessible.c:
1156 (impl_accessibility_accessible_get_role_name),
1157 (impl_accessibility_accessible_get_local_role_name):
1158 NULL vs. 0 cleanups.
1159 * libspi/component.c:
1160 (impl_accessibility_component_get_accessible_at_point):
1162 * libspi/eventlistener.c: (spi_event_listener_new):
1164 * libspi/stateset.c: (impl_compare): More of the same
1165 * libspi/table.c: (impl_getRowDescription): Again.
1166 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1167 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1168 (impl_generate_keyboard_event): Same.
1169 * registryd/registry-main.c: (main): Same
1170 * test/event-listener-test.c: (test_exit): Same
1171 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1172 * test/keysynth-test.c: (test_key_synthesis): Same
1173 * test/login-helper-server-test.c: (main): Fix warning.
1174 * test/screen-review-test.c: (test_exit): Fix include.
1175 * test/simple-at.c: (simple_at_exit), (_festival_init):
1178 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1180 * configure.in, NEWS, README: Revved to 1.6.0.
1182 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1184 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1185 was missing the HTML docs.
1187 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1189 * configure.in: only cleanups:
1190 - better looking PKG_CHECK_MODULES() output,
1192 - declare in one common place required versions of other tools using
1195 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1197 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1198 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1199 required ATK version accordingly.
1201 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1203 * cspi/bonobo/cspi-bonobo.c:
1204 (cspi_display_name): Fix C99ism.
1205 * atk-bridge/bridge.c:
1206 (spi_display_name): Fix C99ism.
1207 Patch from Jens Granseuer, jensgr@gmx.net.
1209 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1211 * configure.in: Added "or" to ALL_LINGUAS.
1213 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1215 * configure.in, NEWS, README: Revved to 1.5.4.
1217 * registryd/registry-main.c:
1218 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1221 * cspi/bonobo/cspi-bonobo.c:
1222 (cspi_display_name): New convenience method, gets DISPLAY with
1223 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1224 (cspi_init): Set the activation env value above before getting
1227 * atk-bridge/bridge.c:
1228 (spi_display_name): Create the AT_SPI_DISPLAY activation
1229 environment for an app, based on the DISPLAY environment with the
1230 screen number stripped off.
1231 (atk_bridge_init): Allow redirection of error messages to a log.
1232 (spi_atk_bridge_get_registry): Call
1233 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1235 Fixes for bugs #149962, #136986, #144086.
1237 2004-08-16 Christian Rose <menthos@menthos.com>
1239 * configure.in: Added "bs" to ALL_LINGUAS.
1241 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1243 * configure.in: Added nb to ALL_LINGUAS.
1245 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1248 (SPI_init): Return error code '2' if the activated
1249 registry cannot be pinged. Fixes bug #147648.
1251 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1253 * registryd/deviceeventcontroller.c:
1254 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1255 rely on timer-poll instead, to avoid conflict with
1258 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1260 * configure.in: Revved to 1.5.3.
1262 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1264 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1266 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1268 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1270 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1272 * atk-bridge/bridge.c:
1273 (spi_atk_bridge_do_registration):
1274 Register with ATK for AtkComponent:bounds-changed events.
1275 (api_atk_bridge_signal_listener):
1276 Marshal the AtkRectangle info into the event notification
1277 for object:bounds-changed events.
1280 (spi_init_any_rect): New method, inits a corba struct of
1281 type Accessibility_BoundingBox from an AtkRectangle.
1283 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1286 (SPIRect): New struct definition.
1287 (SPI_freeRect): New declaration.
1288 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1291 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1292 implemented. Gets the bounding box data from the CORBA_any
1293 associated with a bounds-changed event notification.
1294 (cspi_internal_event_get_rect): New, used internally by above method.
1297 (SPI_freeRect): Implemented this new method, for freeing
1300 * test/event-listener-test.c:
1301 (main, report_bounds_event):
1302 Added a test for object:bounds-changed events.
1304 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1306 * test/login-helper-server-test.c:
1307 (main): Fix C99-ism. Thanks to Jens Granseuer.
1309 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1311 * libloginhelper-1.0.pc.in:
1312 * idl/Accessibility_LoginHelper.idl:
1313 * login-helper/Makefile.am:
1314 * login-helper/login-helper.[ch]:
1315 * test/login-helper-client-test.c:
1316 * test/login-helper-server-test.c: Added files missing from CVS.
1317 Files obtained from at-spi-1.5.2 tarball.
1319 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1321 * configure.in: Create login-helper/Makefile.
1322 Incremented micro version.
1324 * Makefile.am: Add login-helper subdir and pkgconfig data.
1326 * login-helper: New subdir.
1328 * libloginhelper-1.0.pc.in: New.
1330 * idl/Accessibility_LoginHelper.idl: New file, defines
1331 interface whereby authentication clients can identify agents which
1332 need access to services during the login process, e.g. screen lock
1335 * login-helper/Makefile.am : New.
1337 * login-helper/login-helper.[ch] : New, implementation of
1338 a LoginHelper base class. Services needing LoginHelper can subclass.
1340 * test/Makefile.am : Added test for login-helper, client and
1343 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1344 Use proper prefix in #include files.
1346 * test/login-helper-client-test.c: New.
1348 * test/login-helper-server-test.c: New.
1350 2004-05-27 Alexander Shopov <ash@contact.bg>
1352 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1354 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1356 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1357 is positive. This should make it easier to detect inapprorpiate unref
1360 2004-05-11 James Henstridge <james@daa.com.au>
1362 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1363 no-op and deprecated.
1365 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1367 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1369 2004-04-28 Bill Haneman <billh@gnome.org>
1371 * Makefile.am: Added --enable-gtk-doc to
1372 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1374 2004-04-19 Bill Haneman <billh@gnome.org>
1376 * configure.in: Revved to 1.5.1.
1378 * registryd/deviceeventcontroller.c:
1380 (DEControllerPrivateData): Added fields for
1381 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1382 (spi_dec_replace_map_keysym): New internal utility for
1383 replacing a keysym in the keymap - used to allow
1384 synthesis of individual characters which aren't in the
1386 (spi_dec_reset_reserved): New; resets the changed keysym value
1388 (keycode_for_keysym): We now try to deal with failed
1389 XKeysymToKeycode requests by changing a keymap value
1390 and returning a reserved keycode. We now take
1391 a DEController pointer as first arg.
1392 (spi_controller_register_with_devices): Call XkbGetMap with
1393 the XkbKeySymsMask. Find the highest keycode in the current
1394 keymap which doesn't have any grabs, and mark that one for
1395 temporary re-mapping when out-of-range KeySyms are synthesized.
1396 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1399 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1401 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1403 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1405 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1407 2004-03-24 Bill Haneman <billh@gnome.org>
1410 (AccessibleTable_addRowSelection),
1411 (AccessibleTable_addColumnSelection),
1412 (AccessibleTable_removeRowSelection),
1413 (AccessibleTable_removeColumnSelection):
1414 Add declarations for spi wrappers which were
1415 inadvertantly omitted. Fixes bug #133413.
1418 Revved to 1.5.0 (unstable series for GNOME 2.7).
1420 2004-03-24 Bill Haneman <billh@gnome.org>
1422 * atk-bridge/bridge.c:
1423 Bracketed some debug output in
1424 conditionals, to avoid printing it in normal use.
1427 * libspi/hyperlink.c:
1428 Don't cast 'object' to ATK_OBJECT when constructing
1429 an AtkAction interface for a hyperlink.
1430 See discussion in bug #120659.
1432 * test/key-listener-test.c:
1433 (report_all_key_event): Send output to stderr,
1434 not stdout, for consistency with the rest of the test callbacks.
1437 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1438 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1439 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1440 try incrementing the revision AFTER doing a dist, at least
1443 2004-03-22 Bill Haneman <billh@gnome.org>
1445 * configure.in: Revved to 1.4.0, libtool 9.14.9
1447 2004-03-17 Laszlo Peter <laca@sun.com>
1449 * libspi-1.0-uninstalled.pc.in: add idldir
1451 * cspi-1.0-uninstalled.pc.in: add idldir
1453 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1455 * configure.in: Added "en_GB" to ALL_LINGUAS
1457 2004-03-15 Bill Haneman <billh@gnome.org>
1459 * configure.in: Revved to 1.3.16,
1462 2004-03-15 Laszlo Peter <laca@sun.com>
1464 * libspi-1.0-uninstalled.pc.in: new file
1466 * cspi-1.0-uninstalled.pc.in: new file
1468 * configure.in: add the new pc files to AC_OUTPUT
1470 * Makefile.am: add the new pc files to EXTRA_DIST
1472 2004-03-12 Bill Haneman <billh@gnome.org>
1474 * atk-bridge/bridge.c:
1475 (spi_atk_bridge_key_listener):
1476 Make sure to return consumed=FALSE if snoop
1477 event is not dispatched to listener.
1480 2004-03-01 Bill Haneman <billh@gnome.org>
1482 * configure.in: Revved to 1.3.15,
1485 2004-03-07 Danilo Segan <dsegan@gmx.net>
1487 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1489 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1491 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1493 2004-03-01 Bill Haneman <billh@gnome.org>
1495 * configure.in: Revved to 1.3.14.
1498 (SPI_exit): Removed "bye-bye" exit message.
1499 Moved "leak" report to happen before the
1500 iteration over the leaked refs list.
1501 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1503 2004-02-24 Bill Haneman <billh@gnome.org>
1505 * configure.in: Revved to 1.3.13.
1507 * docs/reference/cspi/Makefile.am:
1508 Correct typo that was breaking the docs build.
1510 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1512 * autogen.sh: Require version 1.7 of automake.
1514 * configure.in: call GTK_DOC_CHECK([1.0])
1516 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1518 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1520 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1522 * test/Makefile.am: Remove use of CFLAGS.
1524 This fixes bug #132987.
1526 2004-02-11 Bill Haneman <billh@gnome.org>
1528 * reverted most of Tomasz' patch below, since it was breaking
1529 builds (see bug #134058).
1531 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1533 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1534 correct pass "make dist" (empty .. because seems no sach types in
1535 header files with gtk-doc markups).
1536 * docs/reference/cspi/Makefile.am, configure.in:
1537 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1538 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1539 * Makefile.am: added:
1540 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1541 for force correct pass generate documentation on "make distcheck".
1542 * libspi/Makefile.am: fixes for automake >= 1.6.
1543 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1544 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1547 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1549 * docs/reference/cspi/Makefile.am (install-data-local): Install
1550 index.sgml since the doc autobuilder on widget.gnome.org looks for
1553 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1555 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1558 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1560 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1562 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1564 * test/simple-at.c: Fixed null string problems that cause core
1565 dumping problems on Solaris.
1567 2004-01-12 Bill Haneman <billh@gnome.org>
1569 * configure.in: Incremented version to 1.3.11.
1571 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1573 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1574 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1577 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1579 * configure.in: Added "fa" to ALL_LINGUAS.
1581 2003-12-20 Arafat Medini <lumina@silverpen.de>
1583 * configure.in: Added "ar" to ALL_LINGUAS
1585 2003-12-16 Bill Haneman <billh@gnome.org>
1587 * registryd/registry-main.c:
1589 Set the reg_env DISPLAY variable before registering the
1590 activated registry service. Fixes bug #129479.
1592 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1594 * configure.in: Added "id" in ALL_LINGUAS
1595 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1597 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1599 * registryd/deviceeventcontroller.c (global_filter_fn):
1600 When an event is consumed discard any XEvents were added to
1601 the queue while dealing with the the event. This can happen if
1602 processing of the event takes a long time. Call XUngrabKeyboard
1603 if an event was discarded. This fixes bug $124837.
1604 Only call wait_for_release_event for a KeyPress.
1605 Use local variable display instead of spi_get_display().
1606 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1609 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1611 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1612 Allow for mask to contain values other than NumLock mask.
1615 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1617 * registryd/devieceventcontroller.c:
1618 (wait_for_release_event): Change first parameter from GdkEvent to
1620 (global_filter_fn); Correct call to wait_for_release_event.
1624 2003-12-08 Bill Haneman <billh@gnome.org>
1628 * registryd/ucs2keysym.c: New file.
1630 * registryd/deviceeventcontroller.c:
1631 (dec_keysym_for_unichar): Remove old partial implementation and
1632 replace with call to ucs2keysym(), which is much more complete.
1633 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1638 2003-12-05 Bill Haneman <billh@gnome.org>
1640 * configure.in: Version 1.3.9.
1642 * docs/reference/cspi/tmpl/spi_registry.sgml:
1643 Added reference to libspi/keymasks.h to the
1644 description of Registry queries: AccessibleKeyMaskType.
1647 2003-12-04 Bill Haneman <billh@gnome.org>
1649 Fix for bug #121974.
1651 * idl/Accessibility_Application.idl:
1652 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1653 setlocale's LC_TYPEs.
1654 (Accessibility::Application::getLocale): New method.
1655 Allows clients to query the locale, by type, of an app.
1658 * cspi/spi_application.c:
1659 (AccessibleApplication_getLocale): New method, wraps IDL above.
1661 * libspi/application.c:
1662 (spi_application_class_init): Init epv entry for getLocale.
1663 (impl_accessibility_application_get_locale): Impl for above.
1665 * test/test-simple.c:
1666 (test_application): Added assertion for getLocale, i.e.
1667 that the string from AccessibleApplication_getLocale (app, type)
1668 is the same as that from setlocale (type, NULL);
1670 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1672 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1673 the keyboard on a timeout intil the key state goes from pressed to
1674 released. Fixes bug #111429.
1676 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1678 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1679 root object so that it is present when a context menu in an
1680 out-of-process applet is popped up.
1681 (spi_atk_bridge_do_registration): Create acceessible application root
1682 object only if it does not exist.
1684 This fixes bug #125834.
1686 2003-12-01 Bill Haneman <billh@gnome.org>
1688 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1691 Added enum for AccessibleStreamableContentSeekType.
1692 (AccessibleStreamableContent_freeContentTypeList): New.
1694 * cspi/spi_streamablecontent.c:
1695 (accessible_bonobo_stream_client_seek): New private method.
1696 (AccessibleStreamableContent_seek): Implemented this method,
1697 using Bonobo_Stream_seek.
1698 (AccessibleStreamableContent_freeContentTypeList): New method
1699 for freeing the return value from
1700 AccessibleStreamableContent_getContentTypes.
1701 (stream_cache_item_free): Replaces stream_release; stop leaks.
1702 (stream_release): removed.
1703 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1704 free the memory properly.
1706 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1708 Fix for bug #116009.
1710 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1712 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1714 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1716 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1718 2003-12-01 Bill Haneman <billh@gnome.org>
1720 Fix for bug/rfe #127463.
1722 * idl/Accessibility_Accessible.idl:
1723 (getLocalizedRoleName): New.
1724 (unimplemented4): Removed (replaced by above).
1726 * libspi/accessible.c:
1727 (impl_accessibility_accessible_get_local_role_name): New.
1728 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1732 (Accessible_getLocalizedRoleName): New.
1734 * cspi/spi_accessible.c:
1735 (Accessible_getLocalizedRoleName): New.
1737 2003-12-01 Bill Haneman <billh@gnome.org>
1739 Fix for bug #118581.
1740 * idl/Accessibility_Text.idl:
1741 (getDefaultAttributes): New.
1742 (unimplemented4): Removed (replaced by above method).
1745 (impl_getDefaultAttributes): New method.
1746 (spi_text_class_init):
1747 initialize the get_default_attributes slot in the epv.
1750 (AccessibleText_getDefaultAttributes): New prototype.
1753 (AccessibleText_getDefaultAttributes): New method.
1755 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1757 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1758 write beyond the end of the table. Fixes bug #120473.
1760 2003-09-30 Christian Rose <menthos@menthos.com>
1762 * configure.in: Added "eu" to ALL_LINGUAS.
1764 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1766 * configure.in: ALL_LINGUAS: Added no.
1768 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1770 * configure.in: Added lt to ALL_LINGUAS.
1772 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1774 * atk-bridge/bridge.c:
1775 (atk_bridge_init): Register event listeners always even for
1776 out-of-process applet.
1777 (spi_atk_bridge_toplevel_added): Remove call to
1778 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1779 (spi_atk_bridge_toplevelk_removed): Remove call to
1780 spi_atk_deregister_event_listenersa as the listeners are now always
1782 (spi_atk_bridge_register_application): Remove call to
1783 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1785 This fixes bug #120991.
1787 * libspi/table.c (impl_getColumnDescription): Correct typo,
1788 pointed out by Bolian.Yin@sun.com.
1790 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1792 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1794 2003-09-08 Bill Haneman <billh@gnome.org>
1796 * configure.in: Revved to 1.3.7.
1798 This is the GNOME 2.4.0 release of at-spi.
1800 * docs/reference/cspi/Makefile.am:
1801 Removed spurious inclusion of 'index.sgml' in the
1802 html directory; this was breaking make distcheck and
1803 also some other build environments.
1805 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1807 * registryd/registry.[ch}:
1808 Add queue_handler_id and focus_object to SpiRegistry data structure.
1809 (registry_flush_event_queue): If event being discarded is
1810 "state-change:focused" store object as focus_object.
1811 (registry_start_queue): Remove queue handler and focus object
1813 (registry_discard_event): New function which discards a focus event
1814 if we had stored focus object in the registry.
1815 (registry_queue_event): Add new check that is_queueing is set as this
1816 function is reentrant.
1817 (registry_filer_event): Add call to registry_discard_event.
1819 This resolves issues raised in bug #108664.
1821 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1823 * configure.in: Added "bn" to ALL_LINGUAS.
1825 2003-09-04 Bill Haneman <billh@gnome.org>
1827 * cspi/spi_event.c: Documentation improvements for
1828 (SPI_registerAccessibleKeylistener).
1830 * docs/reference/tmpl/spi_registry.sgml:
1831 Documentation improvements for SpiAccessibleKeylistenerCB.
1833 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1835 * configure.in: Added "ro" to ALL_LINGUAS.
1838 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1840 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1841 not decremented to zero. Fixes bug #120725.
1843 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1845 * configure.in: Added "ja" to ALL_LINGUAS.
1847 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1849 * configure.in: Added "is" to ALL_LINGUAS.
1851 2003-08-22 Christian Rose <menthos@menthos.com>
1853 * configure.in: Added "nl" to ALL_LINGUAS.
1855 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1857 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1858 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1860 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1862 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1863 type for unspecified exception.
1864 * cspi_streamablecontect): Add include of string.h for memcpy.
1865 (stream_release): Correct call to bonobo_object_release_unref
1866 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1867 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1868 argument of _cspi_expection_throw.
1869 * libspi/hyperlink.c: Add include of libspi/action.h:
1870 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1871 * libspi/streamablecontent.c: add include of libspi/component.h.
1872 * regisrtyd/deviceeventcontroller.c:
1873 (spi_dec_translate_mask): Removed unused variable priv.
1874 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1875 * registryd/registry.c:
1876 (registry_filter_event): Remove unused variable queue_is-empty.
1877 (impl_registry_notify_event): Use correct modifier in fprintf call.
1879 This fixes compiler warnings reported in bug #120220.
1881 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1883 * registryd/registryd.c: Remove this file.
1885 2003-08-17 Sanlig Badral <badral@openmn.org>
1887 * configure.in: Added mn to ALL_LINGUAS.
1889 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1891 * configure.in: Added et to ALL_LINGUAS.
1893 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1895 * test/event-listener-test.c: Change active-descendant to
1896 active-descendant-changed.
1898 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1900 * configure.in: Added "fi" in ALL_LINGUAS.
1902 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1904 * configure.in: Added "hi" in ALL_LINGUAS.
1906 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1908 * configure.in: Revved to 1.3.6.
1912 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1914 * registryd/deviceeventcontroller.c
1915 (spi_device_event_controller_object_finalize): Fix typo in previous
1918 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1920 * registryd/deviceeventcontroller.c
1921 (spi_device_event_controller_object_finalize): Fix build on
1922 systems without XEvIE.
1924 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1926 * acconfig.h, configure.in, registryd/Makefile.am,
1927 registryd/devicecontoller.[ch]: Add XEViE support.
1929 2003-08-06 Wang Jian <lark@linux.net.cn>
1931 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1933 2003-08-06 Metin Amiroff<metin@karegen.com>
1935 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1937 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1939 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1940 MODIFIER_ALT in correct place.
1942 This fixes part of bug #118114.
1944 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1946 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1948 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1950 * configure.in: Added "ko" to ALL_LINGUAS.
1952 2003-07-28 Ole Laursen <olau@hardworking.dk>
1954 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1956 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1958 * configure.in: Added "sq" to ALL_LINGUAS.
1960 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1962 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1964 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1966 * configure.in: updated ALL_LINGUAS list
1968 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1970 * configure.in: Added Belarusian to ALL_LINGUAS.
1972 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1974 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1976 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1977 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1979 This fixes bug #116949.
1981 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1983 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1984 Correct CSPI to SPI in function documentation.
1986 This fixes bug #118054.
1988 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1990 * configure.in: Added Russian to ALL_LINGUAS.
1992 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1994 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1996 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1998 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2000 2003-07-10 Joel Brich <joel.brich@laposte.net>
2002 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2004 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2006 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2008 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2010 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2011 resources allocated for AccessibleEvent. See cspi_event().
2013 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2014 static variable streams to NULL.
2016 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2017 Update so that AcessibleEvent_ref will work.
2019 This fixes bug #116624.
2021 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2023 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2025 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2027 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2029 2003-07-02 Christian Neumair <chris@gnome-de.org>
2031 * configure.in: Added "de" (German) to ALL_LINGUAS.
2033 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2035 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2037 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2039 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2041 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2043 * configure.in: Added "pl" to ALL_LINGUAS.
2045 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2047 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2049 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2052 (get_action_from_servant):
2053 Removed assertion that action is implemented on an AtkObject.
2055 * libspi/hyperlink.c:
2056 (spi_hyperlink_new):
2057 Aggregate AccessibleAction interface on the hyperlink object if
2058 the object implements AtkAction. (This convention is used in
2061 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2063 * configure.in: Revved to 1.3.5.
2065 * registryd/Accessibility_Registry.server.in.in:
2066 Marked up appropriate strings for translation.
2068 * atk-bridge/bridge.c: Marked a couple of
2069 user-visible warnings for translation. Questionable
2070 whether they are really useful, but possibly so.
2073 2003-06-28 Christian Rose <menthos@menthos.com>
2075 * configure.in: Added "sv" to ALL_LINGUAS.
2077 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2079 * registryd/registry.c:
2080 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2081 (registry_defer_on_event): Defer focus: events, this is an
2082 improvement to the patch for bug #108664.
2084 * TODO: Update with 2.4/"Dev Complete" items.
2086 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2088 * atk-bridge/bridge.c:
2089 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2090 looks up signals once.
2091 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2092 if doing registration.
2093 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2094 when doing registration.
2096 This fixes bug #115014.
2098 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2100 * atk-bridge/bridge.c:
2101 (atk_bridge_init): Add signal handler for children-changed:remove on
2102 root when in a BonoboComponent.
2103 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2104 for first toplevel only other incrememt variable toplevels.
2105 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2106 application and remove listeners.
2107 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2109 (spi_atk_deregister_event_listeners): New function which removes
2111 (reinit_register_vars): New fuction which reinitializes variables.
2113 This fixes bug #111578.
2115 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2117 * configure.in: version 1.3.4.
2119 * cspi/spi_accessible.c:
2120 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2123 2003-06-13 Michael Meeks <michael@ximian.com>
2125 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2127 * cspi/spi_main.c (cspi_peek_ev): impl.
2129 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2131 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2133 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2135 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2136 SPI_ROLE_AUTOCOMPLETE
2138 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2140 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2141 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2143 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2145 * libspi/streamablecontent.h:
2146 * libspi/streamablecontent.c:
2147 New files, provide implementation/wrappers for
2148 Accessibility_StreamableContent.
2150 * cspi/spi_streamablecontent.c:
2151 Connected the C wrappers to the libspi C bindings.
2152 (AccessibleStreamableContent_close): New method.
2155 (AccessibleStreamableContent_close): New method, needed
2156 since we have an "open, [seek], read, close" model in cspi.
2158 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2160 Fix for #108664; Padraig's revision of my original patch.
2162 * registryd/registry.h:
2163 Added event queue list, is_queuing, and exit_notify_timeout
2164 to the registry struct.
2166 * registryd/registry.c:
2167 (registry_init): Initialize new struct from registry.h.
2168 (impl_registry_notify_event):
2169 Filter events before notifying, in case some need to be
2171 (registry_filter_event): New,
2172 we defer certain incoming events (for instance
2173 window:deactivate) because we may wish to hide
2174 or reject them based on pending events. This is
2175 mostly a workaround for bug #108664.
2176 (registry_queue_event, registry_start_queue): New.
2177 (registry_defer_on_event): Test event to see if it
2179 (registry_reset_on_event): Returns TRUE if the
2180 event should cause a queue reset.
2181 (registry_discard_on_event): Returns TRUE if the event
2182 should cause the previous queue contents to be discarded.
2183 (registry_timeout_flush_queue): Flushes the pending event
2184 queue if no reset/discard-triggering events have come in
2185 within the timeout period.
2186 (registry_emit_event): New.
2187 (registry_clone_notify_context): New, used when queueing the
2188 event notify contexts.
2190 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2192 * configure.in: Version revved to 1.3.2, lt 0.9.2
2193 Incremented ATK required version to 1.3.4.
2195 * cspi/spi_registry.c:
2196 (SPI_generateKeyEvent):
2197 We now pass the keystring along if it's non-null.
2199 * registryd/deviceeventcontroller.c:
2200 (keysym_mod_mask): New method, returns modifier mask
2201 required to generate a keysym from a given keycode.
2202 (dec_synth_keysym): New method.
2203 (dec_synth_keystring): New method.
2204 (dec_get_modifier_state): New method.
2205 (dec_lock_modifiers): New
2206 (dec_unlock_modifiers): New.
2207 (dec_keysym_for_unichar): New, rather brute-force
2208 conversion from UCS-4 to X KeySyms. Only works for
2209 Latin at the moment, with partial implementations for
2210 Greek, Hebrew, and (incomplete) Katakana.
2211 (impl_generate_keyboard_event): Now implement
2212 "KEYSTRING" synthesis and implement "KEYSYM"
2214 (keycode_from_keysym): Improved, passes a returned
2215 modmask value now if the corresponding param is non-NULL.
2217 Fixes bugs #92143 and #109776.
2220 * test/keysynth-test.c:
2221 New test program for key synthesis, to confirm fixes for
2225 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2227 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2229 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2230 Add line for RELATION_POPUP_FOR
2232 * docs/reference/cspi/tmpl/spi_relation.sgml:
2233 Add relation SPI_RELATION_POPUP_FOR
2235 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2236 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2238 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2240 * libspi/relation.c (spi_init_relation_type_table):
2241 Add line for RELATION_POPUP_FOR
2243 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2245 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2246 there are still windows which have not been deleted and emit
2247 window:deactivate, if necessary and window:destroy events.
2248 This fixes bug #114370. The change on June 5th was not correct.
2250 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2252 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2255 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2257 New methods for client exception handling and interception.
2258 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2259 (SPI_exceptionHandlerPop): You guessed it...
2260 (SPI_getSourceType): Return the type of object which offended.
2261 (SPI_getExceptionCode): Return an enum code telling, possibly,
2262 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2263 (SPIAccessibleException_getSource): get the source object for
2264 exceptions that come from Accessibles, if SPIExceptionSourceType is
2265 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2266 (SPIException_getDescription): New, returns a string description of
2267 the problem. [Not yet a stable ABI, strings are not frozen]
2269 * cspi/spi-private.h:
2270 Added implementation details of opaque SPIException
2274 Implementations of above. Also
2275 (_cspi_exception_throw): new private method that
2276 dispatches exceptions to handlers, called from cspi-bonobo.c
2278 * cspi/bonobo/cspi-bonobo.c:
2279 (cspi_check_ev): call _cspi_exception_throw.
2280 Don't print a warning message if the exception has been
2281 handled by _cspi_exception_throw.
2283 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2285 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2286 there are still windows which have not been deleted and emit
2287 window:deactivate, if necessary and window:destroy events.
2288 This fixes bug #114370.
2290 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2293 (cspi_accessible_is_a): Make non-fatal
2294 if the object reference is dead.
2296 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2298 * cspi/spi_main.c: #include <stdio.h>
2299 * test/simple-at.c: ditto
2300 * test/event-listener-test.c: ditto
2301 * test/screen-review-test.c: ditto
2303 2003-05-30 Michael Meeks <michael@ximian.com>
2305 * test/test-simple.c (main): use CORBA_ORB_perform_work
2306 instead of an unnecessary linc_ call.
2308 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2310 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2311 Add SPI_STATE_INDETERMINATE.
2313 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2316 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2318 * libspi/stateset.c (init_state_type_tables): Add support for
2321 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2323 * configure: Update versions of atk and gail required.
2324 This fixes bug #113268.
2326 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2328 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2330 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2332 * libspi/Makefile.am:
2333 Ensure headers are generated before being used by c sources.
2335 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2338 Simplified lt versioning rules.
2339 Incremented version to 1.3.0, to indicate that we're on the
2340 unstable branch now.
2342 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2344 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2345 Add MKDB_OPTIONS=--outtput-format=xml
2347 * docs/reference/cspi/at-spi-cspi-docs.sgml
2348 docs/reference/idl/at-spi-idl-docs.sgml:
2349 Convert to Docbook XML.
2351 This fixes bug #111793.
2353 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2355 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2356 AcccessibleKeyEventType, AccessibleKeyMaskType.
2358 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2360 * cspi/state-types.h: Add documentation for AccessibleState.
2362 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2363 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2364 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2365 AccessibleComponentLayer.
2367 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2370 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2372 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2373 Accessible. Add description of AccessibleEvent,
2374 AccessibleEventListenerCB.
2376 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2379 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2380 documentation. Add description of AccessibleKeystrokeListenerCB,
2381 AccessibleKeyEventMask, AccessibleModifierMaskType,
2382 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2383 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2385 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2388 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2391 This fixes bug #104730.
2393 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2395 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2396 Set is_text field of Accessibility_DeviceEvent data structure.
2398 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2399 is-text field of AccessibleDeviceEvent data structure.
2401 This addresses part of bug #108666.
2403 * registryd/devcieeventcontroller.c: Unset debug option.
2405 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2407 * cspi/accessible.c:
2408 (cpi_initial_relation_type_table): New function which initializes
2409 mapping between Accessibility_RelationType and AccessibleRelationType.
2410 (cspi_relation_type_from_spi_relation_type): New function which
2411 translates an Accessibility_RelationType into an AccessibleRelationType.
2412 (AccessibleRelation_getRelationType): Use
2413 cpi_relation_type_get_spi_relation_type to return correct value.
2414 (spi_state_to_corba): Return correct type for default case.
2416 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2417 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2419 * cspi/cspi-bonobo-listener.c:
2420 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2423 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2424 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2425 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2426 libspi/image.c, libspi/listener.c, libspi/selection.c,
2427 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2428 registryd/desktop.c, registryd/registry.c:
2429 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2431 * libspi/eventlistener.c
2432 Remove semicolon after BONOBO_TYPE_FUNC.
2434 * libspi/relation.c:
2435 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2436 (spi_init_relation_type_table): Initialize using correct type.
2438 * registryd/desktop.c:
2439 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2440 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2441 of Accessibility_KeyEventType.
2443 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2446 * tests/simple-at.c, tests/screen-review-test.c:
2447 Add include for <strings.h>.
2449 * tests.stress-test.c:
2450 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2452 These changes fix compiler warnings when using FORTE compiler on
2453 Solaris; fixes bug #107479.
2456 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2459 * configure.in: revved to 1.1.10
2461 * libspi/keymasks.h:
2462 (SPI_KEYMASK_NUMLOCK): Added.
2464 * registryd/deviceeventcontroller.c:
2465 (spi_key_event_matches_listener): AND with a smaller
2466 bitmask (as we should).
2467 (spi_dec_translate_mask):
2468 New method, sets the virtual NumLock modifier bit
2469 if numlock is on. Eventually it can handle other virtual
2470 modifier bits if needed, or other marshalling from
2471 at-spi modifier masks to platform (X) masks.
2472 (spi_dec_key_listener_new):
2473 Call spi_dec_translate_mask to set up virtual mod bits
2474 in the 'mask' field when creating a new listener struct.
2475 (spi_dec_emit_modifier_event):
2476 Set the virtual (i.e. NumLock) bits before emitting event.
2477 (spi_controller_register_with_devices):
2478 Query for the NumLock modifier 'physical' bit if Xkb is
2479 present, for use in above methods.
2483 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2485 * registryd/deviceeventcontroller.c:
2486 (spi_keystroke_from_x_key_event):
2487 Instead of checking to see if the keysym is
2488 printable, check the string from XLookupString
2489 if available, get the first unicode character from it,
2490 and call g_unichar_isprint to determine whether the
2491 is_text flag should be TRUE or FALSE.
2495 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2497 * atk-bridge/bridge.c: Add support for extended events
2498 * cspi/spi_event.c: Add documentation and implementation for
2500 * tests/event-listener-test.c: Add tests for extended events.
2502 This fixes bugs #100424 and #100426.
2504 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2506 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2507 of LT_CURRENT. This fixes bug #89350.
2509 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2511 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2512 number of signal parameter values before accessing them. This fixes
2515 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2517 * configure.in: Fixed duplicate inclusion of -lspi.
2518 * branched for gnome-2-2/HEAD.
2519 [created tag "gnome-2-2"]
2521 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2523 * configure.in: 1.1.9 release.
2526 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2528 [needed by GOK, to fix bugs 107985 and 107988]
2529 * registryd/deviceeventcontroller.c:
2530 (spi_dec_clear_unlatch_pending):
2531 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2532 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2533 (spi_dec_init_mouse_listener):Emit warning if mouse button
2535 (spi_device_event_controller_forward_mouse_event):
2536 Removed unnecessary parens from a conditional.
2537 (global_filter_fn):Added TODO comment.
2538 (impl_generate_keyboard_event):
2539 Cancel a pending relatch if a 'delatching' key was
2542 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2544 * atk-bridge/bridge.c:
2545 Change atk_signal_child_changed to atk_signal_children_changed.
2546 Reorganize code in spi_atk_bridge_signal_listener().
2548 * test/event-listener-test.c:
2549 Add children_changed_listener and report_children_changed_event()
2550 to test AccessibleChildEvent_getChildAccessible.
2552 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2554 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2555 g_strdup to CORBA_String_dup (bug #105291)
2557 * test/event-listener-test.c (report_text_event): Add call to
2560 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2562 * registryd/deviceeventcontroller.c:
2563 (spi_keystroke_from_x_key_event):
2564 Fix string and keysym return codes to match modifier state.
2567 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2569 * registryd/deviceeventcontroller.c:
2570 (spi_keystroke_from_x_key_event):
2571 Fix segv due to improper use of isprint(c). [bug #107254]
2573 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2576 (get_accessible_text_boundary_type):
2577 Move default return value to (new) default case in switch.
2578 (get_accessible_text_clip_type):
2579 Move default return value to (new) default case in switch.
2581 * libspi/application.c:
2582 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2583 Remove unused methods.
2584 (impl_accessibility_application_register_object_event_listener):
2585 Remove unused methods.
2588 Added #include of <math.h>.
2590 * registryd/deviceeventcontroller.c:
2591 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2592 we don't currently use this method.
2593 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2595 (impl_generate_key_event):
2596 Remove unused variables.
2597 (impl_generate_mouse_event):
2598 Initialize button to zero, just in case we get an invalid
2599 input. Added support for mouse buttons 4 and 5.
2600 (spi_device_event_controller_new):
2601 Removed unused variable declaration for 'private'.
2603 Added #include of <gdk/gdk.h>
2605 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2607 * configure.in: Update to work when X is not installed in expected
2608 location. Fixes bug #105836.
2610 * atk-bridge/bridge.c
2611 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2613 (spi_atk_register_event_listener): Add signal listener for
2615 (spi_atk_bridge_signal_listener): Event event when link-selected
2616 signal is emitted. (bug #104622)
2618 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2619 on returned string. (bug #105291)
2621 * test/event-listener-test.c: Add test for link-selected.
2623 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2625 * atk-bridge/Makefile.am: Correct typo in previous commit.
2627 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2629 * atk-bridge/Makefile.am: Allow for build directory to be different
2630 from source directory
2632 * registryd/Makefile.am: Allow for build directory to be different
2633 from source directory
2637 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2640 Fixed dependencies for libcspi so that libspi gets pulled in
2641 properly. Fixes 104741.
2645 Clean up inline docs a little.
2647 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2649 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2650 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2651 the AtkObject within an SpiDesktop.
2652 This addresses bug #101524.
2654 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2655 Remove call to gdk_init().
2657 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2658 so that Display is set when SpiDesktop is created.
2660 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2662 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2663 This fixes bug #102830.
2665 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2667 * test/test-simple.c: Update to take account of fact that GailButton
2668 now implements AtkText.
2669 (create_text_window): Set name on AtkObject for GtkEntry.
2670 (validate_accessible): Check accessible name before calling test_text().
2672 * libspi/Makefile.am: Fix problem with building outside of source
2673 directory. Bug #98120.
2675 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2676 typo in documentation comments. Bug #94275.
2678 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2680 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2682 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2685 Add includes to avoid compiler warnings on Solaris.
2686 (impl_getRangeExtents): Bug fix.
2688 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2690 Fix for 100944, [API addition approved by Gman and murrayc].
2697 * idl/Accessibility_Text.idl:
2698 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2699 (Text::getRangeExtents): New method for efficient
2700 bounds query of a text range.
2701 (Text::getBoundedRanges): New method for efficient
2702 clipping of text to bounding boxes.
2703 (unImplemented7, unImplemented8):
2704 Removed these padding methods to preserve bincompat.
2707 (impl_getRangeExtents): implementation of new IDL.
2708 (impl_getBoundedRanges): implementation of new IDL.
2709 (SpiTextRect): Internal use struct.
2710 (_spi_text_rect_union): internal method, calculates union of two
2711 SpiTextRect bounding rects.
2712 (_spi_text_range_seq_from_gslist): internal method, allows us
2713 to build our sequence efficiently as a gslist then convert it
2715 (_spi_bounds_contain): internal method, determines whether
2716 a text character is "in" or "out" of a clip rect according to
2717 values of TEXT_CLIP_TYPE.
2718 (spi_text_class_init): Initialize the new methods in the epv.
2721 (AccessibleTextClipType): New enum used by screen review api.
2722 (AccessibleTextRange): New struct used by screen review api.
2723 (AccessibleText_getRangeExtents):
2724 cspi binding for Accessibility_Text_getRangeExtents.
2725 (AccessibleText_getBoundedRanges):
2726 cspi binding for Accessibility_Text_getBoundedRanges.
2727 (AccessibleTextRange_freeRanges): convenience method.
2730 (AccessibleText_getRangeExtents):
2731 cspi binding for Accessibility_Text_getRangeExtents.
2732 (AccessibleText_getBoundedRanges):
2733 cspi binding for Accessibility_Text_getBoundedRanges.
2734 (AccessibleTextRange_freeRanges): convenience method.
2735 (get_accessible_text_clip_type): internal conversion method.
2736 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2738 * registryd/deviceeventcontroller.c:
2739 (spi_dec_mouse_check):
2740 Improved behavior for mouse:abs events
2741 [same granularity as mouse:rel events, and no
2742 events when mouse is idle].
2744 2002-12-16 Michael Meeks <michael@ximian.com>
2746 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2748 * libspi/stateset.c (state_spi_to_atk): split out
2749 ( fix several remote array bounds nasties )
2750 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2751 (impl_remove): make safe from array bounds issues.
2752 (spi_atk_state_from_spi_state): impl.
2754 * libspi/stateset.h (spi_state_set_cache_is_empty):
2755 add a set of wrapper defines to get layering right.
2757 * cspi/spi_accessible.c: update state set stuff to
2760 2002-12-14 Michael Meeks <michael@ximian.com>
2762 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2763 to avoid 2 roundtrips to the registry per key event
2764 (spi_atk_bridge_key_listener): upd.
2765 (deregister_application): release the dec.
2767 * registryd/registry.c (notify_listeners_cb):
2768 bin lots of re-enterant complexity - we no longer
2769 do a round-trip bonobo ref here, ensure that a single
2770 listener's exception failure won't poison all other
2772 (impl_registry_notify_event): bin obvious memory leak.
2774 2002-12-13 Michael Meeks <michael@ximian.com>
2776 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2777 init the ev so the error is meaningful.
2778 (spi_atk_bridge_key_listener): ditto.
2780 * cspi/spi_main.c (cspi_ev): init the ev so we start
2781 with a clean slate, otherwise the first exception
2782 kills us completely.
2784 * cspi/spi_text.c (get_accessible_text_boundary_type):
2785 add a fallthrough for no warnings.
2787 * cspi/spi_registry.c: prune unused warnings.
2789 * cspi/spi_main.c (cspi_object_take): fix
2790 mind-blowing brokenness ( by watching the compile
2793 * cspi/spi_accessible.c (Accessible_getStateSet):
2794 re-impl. to use an AtkStateSet.
2795 (spi_state_type_from_accessible_state),
2796 (init_state_table): bin these.
2798 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2800 (atk_state_set_from_accessibility_state_set): here.
2802 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2803 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2804 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2805 (AccessibleStateSet_add, AccessibleStateSet_remove),
2806 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2807 (AccessibleStateSet_isEmpty): re-write to use a local
2810 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2812 * configure.in: Revved to 1.1.7 (new keymask vals).
2814 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2816 * libspi/keymasks.h:
2817 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2819 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2822 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2823 to compare two CORBA_TypeCodes.
2824 (cspi_internal_event_add): Silence warning from FORTE compiler.
2826 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2827 avoid implicit declaration of functions.
2829 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2831 * atk-bridge/bridge.c:
2832 (spi_atk_bridge_init_event_type_consts): Store signal id for
2833 active-descendant-changed signal.
2834 (spi_atk_register_event_listeners): Add signal listener for
2835 active-descendant-changed signal,
2836 (spi_atk_bridge_signal_listener): Move code in function
2837 spi_atk-signal_emit_event() into this function.
2838 Add support for active-descendant-changed
2839 Update support for child-changed signal.
2840 (spi_bridge_window_event_listener): Silence warning.
2842 * libspi/spi_private.[ch]:
2843 (spi_init_any_object): Change second parameter from CORBA_Object to
2845 Omit call to CORBA_Object_duplicate().
2846 Set CORBA_any's _value to CORBA_Object*.
2848 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2854 (AccessibleEvent_ref, AccessibleEvent_unref):
2855 New methods, for persisting an event outside the emission context.
2856 Must be used if the new accessor methods are to be called
2857 outside of the event listener's callback.
2859 * cspi/bonobo/cspi-bonobo.c:
2860 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2861 as second parameter instead of NULL, so we can call
2862 cspi_check_ev afterwards.
2865 (cspi_object_take): New internal method,
2866 converts a CORBA_Object reference to a hard ref on
2867 an Accessible if possible, returning NULL if the object
2868 reference is invalid or an Accessible * otherwise.
2871 (AccessibleEvent_ref):
2872 Increment the event's internal private refcount, and
2873 add the event's internal struct to an internal cache
2874 if it's not already there.
2875 (AccessibleEvent_unref):
2876 Decrement the event's refcount and remove it from
2877 the cspi event cache if refcount==0.
2878 (cspi_event_compare): New private method.
2879 Compares two event structs via their ids. Used
2881 (cspi_internal_event_lookup): New private method.
2882 (cspi_internal_event_check): New private method,
2883 a 0-order sanity check for events to make sure their
2884 private data is intact.
2885 (cspi_internal_event_add, cspi_internal_event_remove):
2886 New private methods for managiing the event cache.
2888 * cspi/bonobo/cspi-bonobo-listener.c:
2890 Initialize the new private data elements (id, magic, ref_count).
2892 * atk-bridge/bridge.c:
2893 (spi_atk_bridge_signal_listener):
2894 Fixed bug #100530, passing wrong params to emission func.
2896 * registryd/deviceeventcontroller.c:
2897 (spi_dec_button_update_and_emit):
2898 Fixed type in mask bit operations; fix for #99799.
2900 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2902 Removed some of the more dangerous workarounds from
2903 previous commit; they are only needed by GOK, which
2904 in reality should be using another method to accomplish
2905 the goals. So on reconsideration some of the workarounds
2906 need to be reverted:
2908 * registryd/deviceeventcontroller.c:
2909 (spi_keycodes_contain, spi_dec_init_keycode_list):
2910 Removed these methods, used only by a nasty hack to try
2911 and detect whether a key synthesis should be allowed
2912 to reset the XKB latch state or not. This code was only
2913 required to work around an interaction between GOK,
2914 button events, and XKB.
2915 (impl_generate_key_event):
2916 Removed hack at end of key generation that tried to
2917 "do the right thing" if XKB latch keys were generated
2918 in the midst of button press/release pairs.
2921 Added a check for HAVE_XINPUT. Not normally used yet.
2923 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2925 Workarounds and fixes for mouse event/XKB interaction.
2927 * registryd/deviceeventcontroller.c:
2928 (spi_keycodes_contain, spi_dec_init_keycode_list):
2929 New internal methods.
2930 (spi_dec_set_unlatch_pending):
2931 Split the method that tells XKB to expect an
2932 unlatch (and revert it) out of the rest of the
2933 event handling code. This method is called by the
2934 two mouse event handlers (the poll and the filter).
2935 (spi_dec_update_and_emit, spi_dec_mouse_check):
2936 New methods split from spi_dec_poll_mouse_moved.
2937 The second one is now called from inside the filterFn
2938 when an XKB delatch event is received, to determine
2939 whether to revert the delatch or not.
2940 (spi_poll_mouse_moved): Refactor; also we can now
2941 properly handle the case where multiple button states
2942 have changed between polling cycles and we didn't get
2943 notified due to another client's grab.
2945 Synchronize the server while handling an XKB notification.
2946 Ugly, but apparently necessary to avoid nasty races.
2947 Check the mouse state on receipt of an XKB latch change,
2948 to decide whether to revert the latch or not. (Latches are
2949 reverted if there is an immediately preceding mouse button
2950 event that a client has consumed, in which case we don't want
2951 the user to see the side-effect of the event).
2952 (spi_device_event_controller_forward_mouse_event):
2953 Check for modifier events and fire before resetting mouse_mask_state,
2954 prevents losing modifier events.
2956 (impl_generate_keyboard_event):
2957 If we've just generated a keyboard event for a non-shift key,
2958 we don't want to revert the pending XKB latch.
2959 Otherwise, check the modifier state (via a call to
2960 spi_dev_mouse_check) and set the relatch mask to
2961 that state before returning.
2963 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2966 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2969 * atk-bridge/bridge.c:
2970 (spi_atk_register_event_listeners):
2971 Don't re-register for ATK events if the registry has died
2972 and the app needs to re-register; the ATK listeners are in
2973 process and doing so will cause duplicate emission.
2975 * registryd/deviceeventcontroller.c:
2976 (spi_poll_mouse_moved):
2977 Reformat the source, detect and emit multiple button-change
2978 events (i.e. if multiple buttons have changed between poll
2980 Add code to detect mouse-down events even when the pointer
2981 is grabbed; workaround for GOK bug 98420.
2982 (spi_controller_register_with_devices):
2983 Call XTestGrabControl with 'impervious' flag set to True,
2984 allows us to synthesize events and query the pointer even during
2985 an active grab by another client.
2986 (spi_device_event_controller_forward_mouse_event):
2987 Set the mouse_mask_state to the mouse_button_state from
2988 the intercepted event, to synchronize the grab listener with
2991 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2993 * cspi/spi_accessible.c:
2994 (AccessibleRole_getName):
2995 Added necessary strings for making this (deprecated)
2996 method work with the new role types.
2997 (init_role_table, role_table):
2998 Added definition of SPI_ROLE_APPLICATION.
3000 * libspi/spi-roletypes.h:
3001 Added SPI_ROLE_APPLICATION.
3003 * idl/Accessibility_Role.idl:
3004 Added ROLE_APPLICATION.
3006 * docs/reference/cspi/at-spi-cspi-decl.txt:
3007 Added SPI_ROLE_APPLICATION to docs.
3009 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3011 * cspi/spi_accessible.c
3012 (cspi_init_role_table): Do not write beyond end of role_table.
3013 (Accessible_getRole): Use correct type for value returned by
3014 Accessibility_Accessible_getRole().
3016 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3017 beyond end of role_table. (This fixes bug #98269)
3019 * libspi/application.c: Add include file spi-private.h for
3020 definition of spi_init_any_nil.
3022 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3026 * libspi/spi-private.h:
3027 Added DGB() macro, and extern int _dbg declaration.
3029 * registryd/registry.c:
3030 (definitions) storage for _dbg.
3031 (spi_registry_init):
3032 Get environment variable "AT_SPI_DEBUG".
3033 (spi_registry_set_debug):
3034 New method, to initialize _dbg value.
3035 (spi_listener_struct_new, spi_registry_object_finalize):
3036 (notify_listeners_cb):
3037 Changed fprintfs to use DBG and g_warning().
3039 * registryd/deviceeventcontroller.c:
3040 (_deregister_keygrab, spi_controller_register_device_listener):
3041 Changed debug/warning messages to use DBG macro.
3043 * libspi/listener.c:
3044 (impl_notify_event):
3045 Changed warning messages to use DBG macro and g_warning().
3047 * atk-bridge/bridge.c:
3048 (atk_bridge_init, spi_atk_bridge_get_registry):
3049 (spi_atk_bridge_exit_func):
3050 (spi_atk_bridge_property_event_listener):
3051 Changed status, warning, and error messages to use
3052 g_warning, g_message, and DBG macros.
3055 Read the state of the AT_SPI_DEBUG environment variable
3056 and set a local '_dbg' accordingly.
3058 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3060 FIXES for 98836, 98842, other bugs.
3063 Revved to 1.1.4, interface-age=4, binary-age=4.
3065 * registryd/deviceeventcontroller.c:
3067 Fixed crasher bug in last_mouse_pos initialization.
3069 * registryd/registry.c:
3070 (desktop_add_application, desktop_remove_application):
3071 Added (and then commented out) some support for
3072 object context marshalling. [TODO]
3074 * atk-bridge/bridge.c:
3075 (spi_atk_bridge_event_context_create):
3076 Commented out object context creation until it can
3077 be properly tested and debugged.
3079 * registryd/registry.c:
3080 (impl_registry_notify_event):
3081 Fixed crasher bug, we were calling
3082 spi_re_entrant_list_foreach () with an empty list.
3084 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3086 * idl/Accessibility_Action.idl:
3087 * idl/Accessibility_Component.idl:
3088 * idl/Accessibility_Desktop.idl:
3089 * idl/Accessibility_Event.idl:
3090 * idl/Accessibility_Hyperlink.idl:
3091 * idl/Accessibility_Image.idl:
3092 * idl/Accessibility_Relation.idl:
3093 * idl/Accessibility_Selection.idl:
3094 * idl/Accessibility_State.idl:
3095 * idl/Accessibility_Value.idl:
3096 Updated unimplemented slot count to minimum of
3097 four for all interfaces, for ABI freeze.
3099 * idl/Accessibility_EditableText.idl:
3100 * idl/Accessibility_Text.idl:
3101 Updated unimplemented slot count to six
3104 * idl/Accessibility_Registry.idl:
3105 Updated unimplemented slot count to six
3106 (also for DeviceEventController),
3109 * idl/Accessibility_Table.idl:
3110 Updated unimplemented slot count to eight,
3113 * idl/Accessibility_Event.idl:
3114 Added CORBA_any "any_data" member to Event struct.
3116 * idl/Accessibility_Event.idl:
3117 Added CORBA_any "any_data" member to Event struct.
3119 * atk-bridge/bridge.c:
3121 atk_signal_text_changed, atk_signal_child_changed,
3122 signal ids queried from gtype system.
3123 (AtkBridgeEventContextType): New enum.
3124 (AtkBridgeEventContextData): New struct.
3125 (AtkBridgeEventContext): New struct.
3126 (atk_bridge_init_event_type_consts):
3127 New method, initializes type contants for comparison
3128 prior to emit_eventv.
3129 (atk_bridge_event_context_init): New method,
3130 initializes a CORBA_any from an AtkBridgeEventContext.
3131 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3132 initialize the event.any_data struct.
3133 (spi_atk_bridge_event_context_create): New method,
3134 creates an AtkBridgeEventContext from signal/event info.
3135 (spi_atk_bridge_event_context_free): New method.
3136 (spi_atk_emit_eventv): Changed to take an
3137 AtkBridgeEventContext parameter. We now initialize
3138 the event.any_data member prior to notifying the
3139 Registry, via the AtkBridgeEventContext.
3140 (spi_atk_bridge_property_event_listener):
3141 (spi_atk_bridge_state_event_listener):
3142 Match emit_eventv signature.
3143 (spi_atk_bridge_object_event_listener):
3144 Match emit_eventv signature, and create an
3145 event context from the event details.
3146 Free the event context afterwards.
3147 (spi_atk_bridge_window_event_listener):
3148 Create an event context, pass it to the
3152 (AccessibleEvent_getContextString):
3153 (AccessibleEvent_getContextObject):
3154 New methods, allow query of AccessibleEvent objects
3155 for more context details (via the "any_data" member
3156 of the Event struct, above).
3159 Definitions for AccessibleEvent_getContextString
3160 and AccessibleEvent_getContextObject.
3162 * cspi/spi_listener.h:
3163 (InternalEvent): New struct.
3166 (AccessibleEvent_getContextString):
3167 (AccessibleEvent_getContextObject):
3168 Implementations of new methods, for obtaining
3169 additional context information from some event types.
3171 * cspi/spi_registry.c:
3172 (SPI_registerGlobalEventListener):
3173 Added mention of active-descendant-changed event in docs.
3175 * cspi/cspi-bonobo-listener.c:
3177 Marshal the any into the AccessibleEvent via
3180 * libspi/spi-private.h:
3181 #include <orbit/orbit.h>
3183 (spi_init_any_string):
3184 (spi_init_any_object):
3185 New convenience function declarations.
3189 (spi_init_any_string):
3190 (spi_init_any_object):
3191 New convenience function implementations.
3193 * registryd/deviceeventcontroller.c:
3194 (spi_poll_dec_mouse_moved):
3195 (spi_device_event_controller_forward_mous_event):
3196 Initialize any_data member of event.
3197 (spi_deregister_controller_device_listener):
3198 Fix incorrect param pass which was preventing deregistration.
3200 * registryd/registry.c:
3201 (desktop_add_application):
3202 (desktop_remove_application):
3203 Add object data to event's any_data before dispatch.
3205 Fix for error messages from GAIL.
3207 * test/event-listener-test.c:
3208 Test new ContextString and "any_data" API:
3209 (report_text_event): New method query and output context string.
3210 (main): register a new text listener with report_text_event
3213 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3215 Fixes for bugs 98127 and 97914.
3216 * cspi/spi-roletypes.h:
3217 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3219 * cspi/spi-statetypes.h:
3220 Added SPI_STATE_MANAGES_DESCENDANTS
3222 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3223 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3224 * cspi/spi_accessible.c:
3225 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3226 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3227 Accessibility_STATE_MANAGES_DESCENDANTS
3228 * libspi/accessible.c:
3229 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3230 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3231 As requested by Bill, I also cleaned up the alignment.
3232 * libspi/relation.c:
3233 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3234 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3235 * libspi/stateset.c:
3236 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3237 Accessibility_STATE_MANAGES_DESCENDANTS
3238 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3239 Document changes reflecting modifications to roles.
3240 * docs/reference/cspi/tmpl/spi_relation.sgml:
3241 Document changes reflecting modifications to relations.
3242 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3243 Document changes reflecting modifications to states.
3245 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3248 Revved to 1.1.3, interface-age=3, binary-age=3.
3249 Added REBUILD macro.
3252 Removed accessx-gui from the tests, since we have a nice
3253 keyboard accessibility capplet now :-)
3255 * test/keysynth-demo.c:
3256 (increment_scan): removed do-nothing default: case,
3259 * test/visual-bell.c:
3260 (main) : removed do-nothing default: case,
3263 * cspi/spi_action.c:
3264 (AccessibleAction_getKeyBinding_):
3265 Documented keybinding string format.
3269 (AccessibleText_getAttributes):
3270 Documented the text attribute string format.
3271 It's changed to use semicolon delimiters also,
3272 to prevent clashes with CSS attributes, but the old
3273 trick of looking for ", " strings will still work
3274 (as unreliably as ever). Fix for bug related to 97916.
3277 Include <cspi/bonobo/cspi-bonobo-listener.h>
3278 Fixes build warning.
3279 (SPI_freeAccessibleKeySet):
3280 (AccessibleKeystrokeListener_addCallback):
3281 (AccessibleKeystrokeListener_removeCallback):
3282 Modify to use AccessibleDeviceListener API internally,
3283 instead of AccessibleKeystrokeListener.
3285 * idl/Accessibility_Event.idl:
3286 Added two more empty slots to EventListener (for a total of four).
3288 * idl/Accessibility_Accessible.idl:
3289 Added four empty slots to Accessible interface.
3291 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3293 * idl/Accessibility_Registry.idl:
3294 (KeyEventType, EventType):
3295 Marked KeyEventType as deprecated; it duplicates
3296 functionality of EventType, which has been extended to
3297 include Mouse-button events.
3298 (KeyEventTypeSeq): defined in terms of EventType.
3299 (registerDeviceEventListener, deregisterDeviceEventListener):
3300 New methods, for managing listeners to device events,
3301 which potentially may consume them.
3304 Added definition for AccessibleDeviceListener.
3306 * cspi/spi-listener.h:
3307 (enum AccessibleDeviceEventType):
3308 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3309 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3310 for backwards compat.
3311 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3312 and typedef'd AccessibleKeystroke to it for back-compat.
3313 (AccessibleDeviceListenerCB):
3314 New function prototype typedef.
3317 (AccessibleDeviceEventMask): New typedef.
3318 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3319 (AccessibleKeyMaskType):
3320 Set equivalent to AccessibleModifierMaskType for back-compat.
3321 (SPI_createAccessibleKeystrokeListener):
3322 (AccessibleKeystrokeListener_unref):
3323 Deprecated in favor of equivalent (better-named) new API below..
3324 keystroke listeners are like all device listeners.
3325 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3326 New API names for old features :-).
3327 (AccessibleDeviceListener_addCallback):
3328 (AccessibleDeviceListener_removeCallback):
3329 (SPI_registerDeviceEventListener):
3330 (SPI_deregisterDeviceEventListener):
3334 (SPI_createAccessibleKeystrokeListener):
3335 Use new preferred API, cspi_device_listener_new() and
3336 cspi_device_listener_add_cb().
3337 (AccessibleKeystrokeListener_removeCallback):
3338 Use new preferred API, cspi_device_listener_remove_cb().
3339 (AccessibleKeystrokeListener_unref):
3340 Use new preferred API, cspi_device_listener_unref().
3341 (SPI_createAccessibleDeviceListener):
3342 (AccessibleDeviceListener_addCallback):
3343 (AccessibleDeviceListener_removeCallback):
3344 Implementation of new API.
3346 * cspi/spi_registry.c:
3347 (SPI_registerDeviceEventListener):
3348 (SPI_deregisterDeviceEventListener):
3349 Implementation of new API. Fixed memory leak and removed need to
3350 allocate EventTypeSeq (thanks Michael for catching this).
3351 Squashed a wayward CORBA_exception_free that shouldn't get called.
3353 * cspi/bonobo/cspi-bonobo-listener.c:
3355 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3356 (cspi_key_event): renamed to cspi_device_event().
3357 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3358 Extended to handle mouse button events as well as key events.
3359 (CSpiKeystrokeListener):
3360 Class superceded by CSpiDeviceListener.
3361 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3362 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3364 * cspi/bonobo/cspi-bonobo-listener.h:
3365 (CSpiKeystrokeListener):
3366 Class superceded by CSpiDeviceListener.
3367 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3368 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3370 * libspi/Makefile.am:
3371 Replaced keystrokelistener.h and keystrokelistener.c
3372 with devicelistener.h and devicelistener.c; keystrokelisener.h
3373 stub retained for back-compat.
3375 * libspi/keystrokelistener.c:
3379 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3381 * registryd/deviceeventcontroller.c:
3382 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3383 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3384 (DEControllerPrivateData): Added xkb settings data.
3385 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3386 button release events (which can't be captured via XGrabButton).
3387 Don't dispatch via the 'normal' event mechanism if the device event was
3389 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3390 Handle the typeseq data in its new location (see above).
3391 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3392 New methods, for "generic" device listeners.
3393 (spi_controller_register_device_listener):
3394 Now handle mouse event listeners as well as key listeners.
3395 (spi_controller_notify_mouselisteners):
3396 New internal method.
3397 (spi_device_event_controller_forward_mouse_event):
3398 Now we notify mouse device listeners as well as generating the
3399 non-consumable "mouse:" events.
3401 We must check and restore the XKB
3402 modifier map if we consume the event, since the act of triggering
3403 a mouse event will normally reset the XKB latch. This is required for
3405 (spi_controller_register_with_devices):
3406 Load the XKB settings when registering, and register for XKB
3407 state notify events.
3408 (spi_key_eventtype_seq_contains_event):
3409 Renamed spi_eventtype_seq_contains_event, since it's used
3410 internally for all device event types now.
3411 (spi_key_event_matches_listener):
3412 Uses spi_eventtype_seq_contains_event now.
3413 (spi_device_event_controller_object_finalize):
3414 Free the private data and the XkbKeyboard struct.
3415 (impl_register_device_listener, impl_deregister_device_listener):
3416 Implementation of new IDL.
3417 (spi_deregister_controller_device_listener):
3418 New internal method.
3419 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3420 More efficient implementation, we don't have to create a new
3421 XkbControls structure every time we query.
3422 (spi_device_event_controller_class_init):
3423 Initialize the epv entries for the new IDL. Assign the
3424 "spi-dec-private" quark.
3425 (spi_device_event_controller_init):
3426 Initialize the private data.
3427 (spi_device_event_controller_forward_key_event):
3428 Removed a bogus CORBA_exception_free() call.
3430 * registryd/deviceeventcontroller.h:
3431 Replaced inclusion of keystrokelistener.h with
3434 * test/event-listener-test.c:
3435 (report_mouse_event):
3438 Added mouse-event device listener.
3440 * test/test-simple.c:
3441 (create_test_window):
3442 Fixed regression (we were instantiating a GtkRange,
3443 which is now an abstract class). Also fixed to match
3444 existing AtkRole names, this seems to have changed in ATK
3445 awhile ago; too late now I think, and the new
3446 mechanism is at least elegant and consistent with the
3447 glib enum "nick" APIs.
3449 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3451 * idl/Accessibility_Relation.idl:
3452 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3453 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3454 * idl/Accessibility_Role.idl:
3455 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3456 * idl/Accessibility_State.idl:
3457 add STATE_MANAGES_DESCENDANTS
3458 * test/event-listener-test.c:
3459 Added a listener for active-descendant events.
3461 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3463 * atk-bridge/bridge.c
3464 (atk_bridge_init): If application is Bonobo component wait until top
3465 level is added before registering
3466 (spi_atk_bridge_do_registration): New function which contains code,
3467 formerly in atk_bridge_init, to do application registration.
3468 (spi_atk_bridge_toplevel_added): Signal called when top level
3469 added to Bonobo component
3471 This fixes bug #83134.
3473 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3475 * registryd/deviceeventcontroller.c
3476 Fixed compilation error caused by calling gettimeofday()
3479 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3484 Added template for HAVE_XKB.
3487 Changes to check for XKB, and to set the HAVE_XKB #define if it
3490 * libspi/listener.c:
3491 ()impl_notify_event): Make failure to get event source name
3494 * registryd/deviceeventcontroller.c:
3495 (#include): include X11/XKBlib.h.
3496 (DEControllerPrivateData) : New struct.
3497 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3499 (dec_synth_keycode_press) (dec_synth_keycode_release):
3500 New methods; split the key synthesis code into these methods.
3501 They check XKB settings before determining the "time" values to
3502 pass to Xtest; this fixes bug #95828.
3503 (impl_generate_keyboard_event): Changed to use methods above,
3504 instead of callng Xtest directly.
3505 (spi_device_event_controller_init): Initialize new privae struct s
3507 (spi_device_event_controllr_object_finalize):
3508 Free the (new) private data.
3510 * registryd/deviceeventcontroller.h:
3511 Add new gpointer to end of struct data.
3513 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3516 Incremented revision to 1.1.2, SONAME is still '.so', library
3517 extensions are ".so.0.0.2".
3519 * registryd/deviceeventcontroller.c:
3520 FIXES FOR #93592 and #95940.
3521 (statics): renamed mouse_button_state to mouse_mask_state,
3522 added key_modifier_mask.
3523 (spi_dec_poll_mouse_moved):
3524 Added key modifier checks, and emit "keyboard:modifiers"
3525 events when the key modifiers currently in use change.
3526 Also generate "mouse:abs" events periodically, even if the mouse
3527 is stationary (should we?).
3528 Alternatively we could generate "mouse:abs" events for either all
3529 mouse movements, or every 'nth' mouse movement, or at the
3530 beginning and end of every "active" mouse period.
3532 * test/event-listener-test.c:
3533 (main): Added listener for "keyboard:modifiers" events.
3535 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3537 * libspi/keymasks.h:
3538 Added key mask #defines for mouse buttons; e.g.
3539 SPI_KEYMASK_BUTTON1, etc.
3542 Incremented dependency on ATK to version 1.1.0. (This dependency
3543 is probably premature but will soon be real enough).
3545 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3547 * libspi/hyperlink.[ch]
3548 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3549 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3552 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3557 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3559 * registryd/deviceeventcontroller.c
3560 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3561 events to be ignored.
3562 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3563 keyboard_mode so that XAllowEvents() can be called.
3567 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3569 * cspi/spi-accessible.c: Correct names of roles returned by
3570 AccessibleRole_getName(). Fixes bug #95055.
3572 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3574 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3577 * registryd/registry.c
3578 (desktop_remove_application: Write diagnostic message to stderr for
3581 (impl_accessibility_registry_deregister_global_event_listener):
3582 Correct size of lists array. This addresses bug #94555).
3584 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3586 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3589 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3591 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3594 * registryd/registry.c (impl_registry_notify_event): Remove
3595 unnecessary call to parser_event_type().
3597 * docs/reference/cspi/tmpl/spi_component.sgml:
3598 Add reference to SPI_LAYER_WINDOW.
3600 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3602 * registryd/registry.c
3603 (desktop_add_application): Remove leak.
3604 (desktop_remove_application): Remove leak.
3605 (parser_event_type): Remove leak.
3607 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3609 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3610 bogus call to CORBA_string_dup(). Also removed unnecessary
3611 g_string_dup/g_free calls.
3613 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3615 * registryd/deviceeventcontroller.c:
3616 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3618 * test/event-listener-test.c:
3619 main: commented out three redundant listeners, to reduce output
3620 noise. (They still are potentially useful for testing).
3623 2002-09-13 Michael Meeks <michael@ximian.com>
3625 * Update all the copyrights to include Ximian.
3627 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3629 * cspi/spi.h: add SPI_LAYER_WINDOW.
3631 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3632 add Accessibility_LAYER_WINDOW case.
3634 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3636 * libspi/component.c: (impl_accessibility_component_get_layer):
3637 add ATK_LAYER_WINDOW case.
3639 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3641 * configure.in: incremented micro version.
3643 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3645 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3648 Clarified and reworded our commit policy.
3651 Started an API "todo" addition list for 2.2.
3654 (impl_getSelection):
3655 Free char pointer from atk_text_get_selection, which was being leaked.
3657 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3660 Small revision to author acknowledgement.
3662 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3664 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3665 If signal has detail add it to the type of the event.
3668 2002-08-12 Michael Meeks <michael@ximian.com>
3670 * test/test-simple.c (global_listener_cb): bin bogosity.
3671 (test_keylisteners): disable, still doesn't work reliably,
3672 certainly not on my system anyway.
3674 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3675 don't leak a reference on the DEC. This round-trip
3676 fetching of the DEC per keystroke sucks, it should be
3679 * cspi/spi-private.h,
3680 * cspi/cspi-lowlevel.h,
3681 * cspi/bonobo/cspi-bonobo-listener.[ch],
3682 * cspi/bonobo/cspi-bonobo.c: get the copyright
3683 notices better - there is still a large amount of
3684 work in at-spi falsely attributed solely to Sun.
3686 * cspi/spi_main.c (cspi_object_ref): kill bogus
3687 hash lookup, just increment the ref.
3688 (SPI_freeString): make explicit the fact that we
3689 handle NULL strings just fine.
3690 (report_leaked_ref): obey coding standards.
3691 (cspi_object_hash, cspi_object_equal): kill retval.
3692 (cspi_object_release): only release if not on loan.
3693 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3694 (cspi_object_borrow, cspi_object_return): impl.
3696 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3697 use cspi_object_borrow / return.
3699 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3701 * cspi/bonobo/cspi-bonobo-listener.c:
3703 Don't call cspi_oject_new() because this is creating a new Accessible
3704 every single time that an event is fired. This causes ATs like at-poke
3705 to nolonger recognise the source of the event and thus ignore it.
3706 Re-use the object from the cache, ref it and then unref it after the
3707 listeners have been called.
3709 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3711 * test/event-listener-test.c:
3712 Added command-line options to disable mouse events (m) and
3715 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3717 * configure.in: Update required versions of ATK, GTK+ and GAIL
3719 * cspi-1.0.pc.in: Add dependency for X include files
3722 * cspi/bonobo/Makefile.am:
3723 Add $(X_CFLAGS) so that X include files
3724 are picked up even if not in standard place (bug #71686)
3726 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3728 * registryd/deviceeventcontroller.c: fix for 84261
3729 (spi_dec_mouse_moved):
3730 Added test of mouse button mask, so that we can detect mouse
3731 button release. Unfortunately we can't otherwise detect mouse
3732 button release events without consuming the mouse press event,
3733 because of the way XGrabButton works. This means that our mouse
3734 release events have a latency dependent on the polling period
3735 while the mouse button is down. At least in this case we only
3736 have to poll while the button is down, and not at other times.
3737 If the button masks don't match with what the last press event
3738 reported, we report the appropriate button release event.
3739 (spi_dec_ungrab_mouse):
3740 New method (not yet called).
3741 (spi_device_event_controller_forward_mouse_event):
3742 New method, sends mouse press event from GdkFilter.
3743 (spi_dec_init_mouse_listener):
3744 Added code to call XGrabButton, redirecting mouse button events to
3745 the root window and our Gdk event loop.
3747 Added code to filter mouse button events, and reordered.
3749 * test/event-listener-test.c:
3751 Added registration for mouse events of type "mouse:button".
3753 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3755 * registryd/deviceeventcontroller.c: partial fix for 84261
3756 (spi_dec_poll_mouse_idle):
3757 New method, a timeout which checks to see if the mouse
3759 (spi_dec_poll_mouse_moving):
3760 A timeout to be called when mouse motion is underway.
3761 (spi_dec_poll_mouse_moved):
3762 A method which fires an event if the mouse has moved, and reports
3763 whether or not it did so.
3764 (spi_dec_init_mouse_listener):
3765 A method which sets up the timeouts above.
3766 (spi_device_event_controller_new):
3767 Now calls spi_dec_init_mouse_listener.
3769 * registryd/registry.c:
3770 (spi_registry_init):
3771 Now we initialize the device event controller when the registry is
3772 initialized, instead of waiting until a client has requested a key
3773 event notification; this is because we need the event controller
3774 for mouse events, but the mouse event registration API is a
3775 "registry" call and doesn't explicitly call the
3776 deviceeventcontroller.
3777 We now report mouse motion events with a 100 ms idle latency and
3778 a 20 ms granularity when motion is in progress.
3780 * test/event-listener-test.c:
3782 We now register the "detail listener" for events of type
3783 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3784 delivered only for the first mouse event received, and thereafter
3785 "mouse:abs" events are delivered.)
3787 * cspi/spi_registry.c:
3788 DOCS: Documented the above mouse event typestrings.
3790 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3792 Happy Summer Solstice...
3794 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3795 (spi_controller_notify_keylisteners):
3796 Changes to remove a listener from the listener list, freeing its
3797 open keygrabs, if a notification to that listener fails. This
3798 means that although a dead listener can continue to hold a passive
3799 keygrab, a maximum of one dispatch to such a listener can fail
3800 before the listener is removed from the list, thus the keygrab
3801 will be released on the next occurrence.
3802 As part of this fix:
3803 (spi_notify_keylisteners):
3804 Renamed to spi_controller_notify_keylisteners, as the controller
3805 instance must now be passed as an argument.
3806 The copied 'notify' GList is now a list of DEControllerKeyListener
3807 objects, since we need more than just the CORBA reference if a
3808 notify fails and we need to deregister the listener.
3809 (impl_notify_listeners_sync):
3810 (impl_notify_listeners_async):
3811 (spi_device_event_controller_forward_key_event):
3812 Modify use of notify_keylisteners in accordance with above
3814 (spi_deregister_controller_key_listener):
3815 New method introduced by refactoring, from
3816 impl_deregister_keystroke_listener.
3817 (impl_deregister_keystroke_listener):
3818 Call spi_deregister_controller_key_listener.
3819 (spi_key_listener_clone):
3820 New method to copy a key listner without doing a 'ref' on the
3821 remote object instance; used to create a notifier list.
3822 (spi_key_listener_data_free):
3823 New method, frees data without unreffing the source.
3825 (spi_key_listener_clone_free): new method.
3826 (spi_key_listener_free):
3827 refactored to call spi_key_listener_data_free.
3829 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3831 * registryd/registry.c: [fix for bug 86048]
3832 (notify_listeners_cb):
3833 Clear CORBA system exceptions which occur when notifying
3834 listeners, before returning to the source of the original event,
3835 since the event source doesn't care if the relayed notify failed.
3836 In other words, don't complain to the atk-bridge if the registry
3837 could not notify all its listeners, that's no fault of the
3838 application and thus should not appear to be an error from the
3839 application's perspective.
3841 * cspi/spi_main.c: [fix for bug 85980]
3843 Replaced use of bonobo_object_dup_ref with call to the wrapper
3844 method, csou_dup_ref (); this silences a compiler warning and
3845 provided more portability.
3847 Ping the registry before return, and restart if necessary.
3849 * cspi/bonobo/cspi-bonobo.c:
3851 New internal method.
3853 Fixed this method to return an object reference, as it should have
3856 * cspi/cspi-lowlevel.h:
3857 Added internal definition for cspi_ping() and fixed
3858 return type of cspi_dup_ref().
3861 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3863 * atk-bridge/bridge.c: [fix for bug 85305]
3864 (spi_atk_bridge_register_application):
3865 New method where the initial application registry calls have been
3866 moved; it allows an application to re-register in response to
3867 certain error conditions (such as a registry restart, see below).
3869 Moved some initialization code to the method
3870 spi_atk_bridge_get_registry, below.
3871 (spi_atk_bridge_get_registry):
3872 New, private accessor function for the Accessibility_Registry
3873 instance. If the registry has not been started before, or has
3874 died (as detected by failure of a CORBA exception), it is
3875 restarted before return, and spi_atk_bridge_register_application
3876 is called again to register with the new bridge instance.
3877 (spi_atk_emit_eventv):
3878 Set registry_died on error; use spi_atk_bridge_get_registry () to
3879 access the registry.
3881 * registryd/registry.c:
3882 (impl_accessibility_registry_register_global_event_listener):
3883 Set listener's event_type_quark to etype.minor instead of
3884 etype.major (fix for bug 84856).
3886 * test/event-listener-test.c:
3887 (report_detail_event):
3888 Change the output string so that user/tester can tell that the
3889 'detail listener' was called instead of the 'generic listener'.
3891 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3893 Fixes for bugs 84900, 84908, 84897, 84898.
3898 Revved version to 1.1.0
3899 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3900 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3902 * idl/Accessibility_Registry.idl:
3903 (EventListener::notifyEvent):
3904 Removed 'oneway' directive after extensive consulation with
3905 ORBit2 team and others. This means also that unref() of the event
3906 source can and should be done synchronously after emission, rather
3907 than remotely in the client, after servicing the notify call on
3910 NOTE: This change speeds up listener performance considerably, but
3911 introduces new latency on the application side. We may want to
3912 add an event queue to the atk-bridge.
3914 * atk-bridge/bridge.c:
3915 (spi_atk_bridge_focus_tracker):
3916 Do a local unref() on the event source after emission.
3918 * registryd/registry.c:
3919 (desktop_remove_application):
3920 Do an unref() on the event source after emission.
3921 (desktop_add_application):
3922 Do an unref() on the event source after emission.
3923 (notify_listeners_cb):
3924 When relaying an event, don't automatically add the event source
3925 to the local object cache, just CORBA_dup it instead. Likewise,
3926 if this method reenters, release the ref rather than calling
3928 (impl_registry_notify_event):
3929 No longer call remote unref() on the event source after dispatch.
3931 * libspi/eventlistener.c:
3932 (impl_accessible_event_notify_event):
3933 Removed remote unref ()
3935 * cspi/bonobo/cspi-bonobo-listener.c:
3937 We now call cspi_object_new() instead of cspi_object_add() on
3938 receipt of an event; thus we only have an implicit object ref
3939 while the cspi_event method is being executed. If we need to keep
3940 a reference to the object, the listener must call ref() on the
3941 object. Thus also we don't need to call cspi_object_unref() after
3942 invoking the listener callbacks in this method.
3946 New internal API for creating a new cspi object, without adding it
3947 to the object cache.
3949 Now uses cspi_object_new() to create the cspi object instance.
3951 Now checks to see if the object is in the internal object cache,
3952 and adds it if necessary before incrementing its refcount (note
3953 that new objects are added with a refcount of 1).
3954 (report_leaked_ref):
3955 New method which gives some information on leaked object instances
3956 if leak detection is turned on.
3958 * test/event-listener-test.c:
3959 (timing_test_event):
3960 New method, used for testing event delivery timing for special
3961 events of type "object:test". It reports elapsed time and
3962 events/sec every 500 events.
3964 Added a new listener, 'test listener', to check timing of event
3965 receipt as noted above.
3967 Added some timing output here also, reports elapsed time every 100
3970 * test/stress-test.c:
3971 Emit events of type "object:test", for use with "event-listener-test".
3973 * test/test-simple.c:
3974 (global_listener_cb):
3975 Call Accessible_ref() on the event source before calling
3976 validate_accessible, since the validation process does pointer
3977 comparisons on the event source, meaning that the event source
3978 needs to be added to the local object cache first. Any use of
3979 such pointer comparisons between Accessible objects requires that
3980 the caller hold an explicit reference to those objects.
3981 We also must therefore call Accessible_unref() when leaving this method.
3983 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3985 * registryd/deviceeventcontroller.c:
3986 (spi_controller_update_key_grabs):
3987 Fix for #84735, subsequent keygrab listeners not informed of
3988 registration failure.
3991 (spi_base_construct):
3992 Add an assertion on construct, to make sure the GObject passed in
3993 is really a GObject.
3995 Explicitly initialize object->gobj pointer to NULL;
3997 * cspi/bonobo/cspi-bonobo-listener.c:
3998 (cspi_object_add_ref):
3999 New method, can specify whether to dup-ref a bonobo object passed
4000 in if it's newly added to the object cache.
4002 Now calls cspi_object_add_ref with second param of "FALSE". This
4003 prevents us from doing a pointless dup-ref followed by
4004 release-unref for all those cases where the object is already in
4005 our object cache (fix for #85205).
4007 * atk-bridge/bridge.c:
4008 (spi_atk_bridge_idle_init):
4009 Removed this method, we don't need to initialize in an idle
4012 Changed to call spi_atk_register_event_listeners directly, not via an
4013 idle handler. (fix for #81139)
4014 (gnome_accessibility_module_shutdown):
4015 Removed conditional around deregistration of listeners, since we
4016 don't use the idle handler and thus have always registered when
4018 (spi_init_keystroke_from_atk_key_event):
4019 Changed references to Accessibility_KEY_PRESSED to
4020 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4022 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4024 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4029 * test/stress-test.c:
4032 (may have been an incomplete commit yesterday?)
4034 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4037 Added target for new stress-test.
4039 * test/stress-test.c:
4040 New test, sends 1000 focus notifies in quick succession.
4042 * test/key-listener-test.c:
4043 Now we report whether a keylistener registration
4044 request succeeded or failed.
4046 * test/event-listener-test.c:
4047 Uncommented some listeners which are now implemented.
4050 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4052 * registryd/deviceeventcontroller.c:
4053 (spi_controller_update_key_grabs):
4054 Fix for #82509, lack of failure notification when
4055 ALL_WINDOWS keygrabs fail due to XGrabKey
4056 failure: we synchronize the server when
4057 registering a passive grab, to make sure we get the
4058 error message before the call returns.
4060 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4062 * test/test-simple.c:
4064 Removed #ifdef KEY_IMPL_WORKS guards.
4065 (test_keylisteners):
4066 Removed #ifdef KEY_IMPL_WORKS guards.
4067 Fixed bug which was causing a hang waiting for a
4068 "press" event (which was already overwritten by a "release"
4069 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4071 Added code to set globals 'key_press_received' and
4072 'key_release_received'.
4075 Added section "1.1 API Proposed Additions" which
4076 lists API additions desired for at-spi-1.1 (only one so far).
4077 Updated TODO list a little.
4079 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4081 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4084 * configure.in: Revved to 1.0.0.
4086 * idl/Accessibility_Registry.idl:
4087 (registerKeystrokeListener):
4088 Added boolean return value.
4090 * registryd/registry.c:
4091 (notify_listeners_cb): Minor fix to debug output.
4093 * registryd/Accessibility_Registry.server.in.in:
4094 Revved version number in OAFIID to 1.0.
4096 * registryd/registryd.c:
4098 Use new OAFIID version.
4100 * cspi/bonobo/cspi-bonobo.c:
4102 Use new OAFIID version.
4108 * atk-bridge/bridge.c:
4110 Use new OAFIID version.
4112 * registryd/deviceeventcontroller.c:
4113 (impl_register_keystroke_listener):
4114 Added CORBA_boolean return value.
4115 (spi_controller_register_device_listener):
4116 Added gboolean return value.
4117 (spi_controller_register_global_keygrabs):
4118 Added gboolean return value.
4119 (spi_key_set_contains_key):
4120 Added implementation for many more control keys,
4121 for instance F1-F12, arrow keys, End, Home, Page_Up,
4123 [TODO: some still not implemented].
4125 * text/screen-review-test.c:
4126 (text_chunk_pad_string):
4127 New function: it provides mapping between coordinate
4128 positions of text chunks and character positions in the
4129 screen-review-line output string.
4130 (text_chunk_to_string):
4131 New function, calls text_chunk_pad_string with various
4132 pad/delimiter characters. Pushbuttons are delimited with
4133 square brackets, Frames with vertical 'pipe' lines, and
4134 other text with double quotes.
4135 (text_chunk_list_to_string):
4136 Calls new function text_chunk_to_string.
4137 (toplevel_composite):
4138 New function to composite layers CANVAS through
4139 POPUP in each toplevel (other layers are composited
4140 across toplevels, i.e. BACKGROUND and OVERLAY).
4141 (review_buffer_composite):
4142 Revise to use new methods.
4148 2002-05-31 Laszlo Peter <laca@sun.com>
4150 * configure.in: add the Xtst libdir to the runpath on Solaris,
4151 since it's not in the default library search path.
4153 2002-05-29 jacob berkman <jacob@ximian.com>
4155 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4157 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4159 * test/screen-review-test.c:
4160 (text_chunk_pad_string):
4161 Added method, which pads the string according to the
4162 text bounds of the chunk. It also takes a 3-character
4163 string as a param which indicates the characters to be
4164 used for start, padding, and end delimitation of the chunk.
4165 (text_chunk_to_string):
4166 Changed to use text_chunk_pad_string.
4168 * configure.in: Fixed bug in AC_OUTPUT that was
4169 causing path substitution in Accessibility_Registry.server
4172 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4174 * text/screen-review-test.c:
4175 (guess_string_clip):
4176 New method which attempts a best-guess at clipping
4177 text from components (like Java labels) which don't
4178 actually implement AccessibleText. This inaccurate
4179 clip is based on the assumption that the label is
4180 justified left-and-right, and monospaced.
4181 (text_chunk_get_clipped_string):
4182 We now call guess_string_clip() for text-containing
4183 components that don't implement AccessibleText.
4185 * test/screen-review-test.c:
4186 (review_buffer_get_text_chunk):
4187 We now pull "name" from labels if they do not implement
4188 AccessibleText (i.e. for Java labels).
4189 (get_screen_review_line_at):
4190 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4193 Replaceded AC_OUTPUT target
4194 registryd/Accessibility_Registry.server with
4195 registryd/Accessibility_Registry.server.in.
4197 * registryd/Accessibility_Registry.server.in:
4198 Removed (this is now a Makefile target).
4200 * registryd/Accessibility_Registry.server.in.in:
4201 Added (source for target above). We now use $(libexecdir) as
4202 prefix for the executable at-spi-registryd.
4204 * registry/Makefile.am:
4205 Now install at-spi-registryd into $(libexecdir), and build .server
4206 file with path (see above).
4208 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4210 * test/screen-review-test.c:
4211 (text_chunk_get_clipped_string):
4212 We now check to see if words fall within clip bounds
4213 before resorting to character-by-character clip bounds testing.
4215 * TODO: Added a section for "2.2 Proposed API Additions".
4217 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4219 * test/screen-review-test.c:
4221 Added a screen review benchmarking and test program to test
4224 * cspi/spi_accessible.c:
4226 Made some of the debug strings passed to cspi_check_ev a
4227 little more specific.
4229 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4231 * test/screen-review-test.c: Fix crashes in debug statements
4233 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4235 * test/screen-review-test.c: Added this file.
4237 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4239 * atk-bridge/bridge.c: changed "object:state-change" to
4240 "object:state-changed" to match docs.
4242 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4244 * atk-bridge/bridge.c: Hooked up state-change event details.
4246 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4248 * registryd/registry.c:
4249 Fixed quarking bug in event string parsing; now events with
4250 detail parameters get matched correctly to listeners.
4253 * util/idl/Magnifier.idl: remove.
4255 * util/*.[ch]: Remove.
4256 Magnification utilities and IDL are now in module gnome-mag.
4258 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4260 * registryd/deviceeventcontroller.c:
4261 Fixed bug in grab key conversion which was causing keycode grabs
4262 to be converted to AnyKey grabs.
4265 updated NEWS file to reflect recent spin-off of gnome-mag.
4267 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4269 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4270 busted AccessibleStateSet_compare. Removed redundant casts.
4272 * cspi/spi-action.c: Removed redundant casts.
4274 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4276 * cspi/spi_component.c: Fixed typos and casting error.
4278 * cspi/spi_editabletext.c: Removed redundant casts.
4280 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4282 * cspi/spi_hypertext.c: Eliminated redundant casts.
4284 * cspi/spi_image.c: Eliminated redundant casts.
4286 * cspi/spi_registry.c: Eliminated redundant casts.
4287 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4288 * cspi/spi_selection.c: Removed redundant casts.
4289 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4290 handling. Screen geometry and text offsets were being returned as 0
4291 on error which is technically valid-- changed these to return -1.
4292 Added marshaller for text boundary types to fix bug with boundary
4293 types being passed incorrectly to atk.
4295 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4298 * cspi/spi_registry.c:
4299 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4300 which was uncovered by the recent key changes.
4302 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4304 * test/event-listener-test.c:
4306 Added new test, "event-listener-test";
4307 this code does two things; it benchmarks traversal time
4308 for the accessible hierarchy for the first running accessible
4309 app, and it connects listeners for all supported event types.
4310 It is thus useful as an example event listener and for
4311 diagnostics/debugging of event generation.
4313 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4316 Removed unnecessary dependency on libutil.
4319 Revved micro version: 0.13.1
4321 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4324 Removed util/Makefile from targets.
4327 Removed util subdir from SUBDIRS (temporarily,
4328 pending removal of magnifier-only code
4332 #ifdef-ed out magnifier dependencies, since
4333 magnifier IDL, headers, and binary now live in
4334 module gnome-mag and we don't want at-spi to depend
4335 on gnome-mag. A magnifier demo which can run alongside
4336 simple-at is forthcoming in the gnome-mag module.
4338 NOTE: Split magnifier binary, IDL, and magnification
4339 activation code from at-spi into module gnome-mag.
4341 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4343 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4344 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4346 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4349 Revved to version 0.13.0
4351 * idl/Accessibility_Registry.idl:
4352 Changed definition of KeySet from sequence of longs to sequence of
4353 KeyDefinitions, and added KeyDefinition struct.
4354 Required for fix to bug 80616.
4356 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4357 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4358 to use new definition (see above).
4360 * registryd/deviceeventcontroller.c: handle_keygrab(),
4361 spi_keyset_contains_key():
4362 Changed to make use of new struct; this allows matching based on
4363 string key-name, for instance "Tab". This also allows matching of
4364 composed characters, non-alphanumeric characters in a way that
4365 doesn't involve dependencies on X keysym codes directly, etc.
4367 * test/key-listener-test.c:
4368 Added test for Alt-Tab key using "string" specification of keyset,
4369 and modified one of the tests to use a keycode-based keyset.
4370 Thus this test both tests and demonstrates the creation and use of
4371 keysets of three forms: specified via keycode array,
4372 keysym array, and string array. (The string case only contains a
4373 single string, i.e. a string array of length 1).
4376 Turned on PRINT_TREE option by default. Also fixed a
4377 string-freeing bug in the PRINT_TREE code.
4378 Added a listener to window:minimize events.
4380 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4382 * atk-bridge/bridge.c:
4383 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4384 for window:activate and window:deactiveate
4385 (atk_bridge_property_event_listener atk_bridge_signal_listener
4386 atk_bridge_window_event_listener) Tidy debug code
4388 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4390 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4391 Fixed handling for NULL return value from ATK.
4393 * libspi/action.c libspi/component.c libspi/editabletext.
4394 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4395 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4396 Removed redundant casts.
4398 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4399 Fixed off by one bug.
4401 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4402 function not present in idl)
4404 2002-05-02 jacob berkman <jacob@ximian.com>
4406 * atk-bridge/Makefile.am: make atk-bridge a real module
4408 2002-04-26 Radek Doulik <rodo@ximian.com>
4410 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4411 atk_state_types table
4413 2002-04-22 jacob berkman <jacob@ximian.com>
4416 * libspi/Makefile.am: add deps on the built files to help
4417 automake, and don't version the ORBit typelib
4419 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4421 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4422 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4423 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4424 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4425 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4426 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4427 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4428 libspi/accessible.h libspi/accessible.h libspi/base.h
4429 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4430 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4431 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4432 libspi/spi-private.h libspi/statetset.h libspi/table.h
4433 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4434 util/mag_client.h util/mag_control.c util/mag_image.c
4435 util/mag_image.h util/magnifier.c util/magnifier.h:
4436 Add missing file headers; standardize existing ones
4438 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4440 * atk-bridge/bridge.c: Added window event support.
4442 2002-04-18 Michael Meeks <michael@ximian.com>
4444 * libspi/relation.c (impl_getNTargets): impl.
4445 (impl_getTarget): impl.
4447 * libspi/Makefile.am: fix stateset install.
4449 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4452 Started putting useful info in this file.
4454 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4456 * atk-bridge/bridge.c:
4457 Propagate state-changed notifications to ATs
4459 * cspi/spi_registry.c: update docs to reflect actual behavior of
4460 state-change events.
4462 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4465 Incremented version to 0.12.1
4467 * util/mag_client.h:
4468 Add missing declaration for magnifier_exit,
4469 used by mag_control.c - Forte compiler didn't like
4470 the implicit redeclaration of the function :-(
4473 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4476 Revved version to 0.12 due to API change (see below).
4478 * cspi/spi-roletypes.h:
4479 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4480 definition from the inline docs, and added docs
4481 for SPI_ROLE_LAST_DEFINED.
4484 * cspi/spi_streamablecontent.c:
4485 Added missing seek_type parameter to
4486 (so far unused) method,
4487 AccessibleStreamableContent_seek().
4488 [ RT approval JodyG. ]
4491 Fixed docs for SPI_createAccessibleKeystrokeListener.
4493 * cspi/spi_registry.c:
4494 Fixed docs for SPI_KEYSET_ALL_KEYS.
4496 * docs/reference/cspi/at-spi-cspi-sections.txt:
4497 Added a number of missing APIs to SECTIONS.
4499 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4501 * registryd/Makefile.am:
4503 * cspi/bonobo/Makefile.am:
4504 Add $(X_LIBS) to makefiles.
4506 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4509 Revved version to 0.11.
4511 * libspi/component.c:
4512 Added implementation for grabFocus.
4514 * idl/Accessibility_Component.idl
4515 (Accessibility_Component_grabFocus):
4516 Made this method return boolean to indicate success or failure, to
4517 be consistent with cspi and the corresponding ATK method.
4519 * idl/Accessibility_Selection.idl
4520 (Accessibility_Selection_selectAll) :
4521 Made these methods return boolean to indicate success or
4522 failure, to be consistent with cspi and the corresponding ATK methods.
4524 * idl/Accessibility_EditableText.idl
4525 (Accessibility_EditableText_setTextContents,
4526 Accessibility_EditableText_insertText,
4527 Accessibility_EditableText_cutText,
4528 Accessibility_EditableText_deleteText,
4529 Accessibility_EditableText_pasteText):
4530 Made these methods return boolean to indicate
4533 * cspi/spi_editabletext.c:
4534 Made these methods return booleans.
4536 * libspi/selection.c:
4537 * libspi/component.c:
4538 * libspi/editabletext.c:
4539 Connected the boolean returns from ATK
4540 to the server-side code referenced above.
4542 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4544 * idl/Accessibility_Table.idl: Added missing methods,
4545 Accessibility_Table_addRowSelection,
4546 Accessibility_Table_addColumnSelection,
4547 Accessibility_Table_removeRowSelection,
4548 Accessibility_Table_removeColumnSelection.
4551 Added C wrappers for above IDL:
4552 AccessibleTable_addRowSelection,
4553 AccessibleTable_addColumnSelection,
4554 AccessibleTable_removeRowSelection,
4555 AccessibleTable_removeColumnSelection.
4558 Added server-side implementation code for IDL above, connecting
4559 to pre-existing ATK api.
4561 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4563 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4565 * libspi/accessible.c: Added implementation fo
4566 Accessibility_Accessible_get_state.
4568 * libspi/libspi.h: Added stateset.h to the list of includes.
4570 * libspi/stateset.c: Fixed broken implementation.
4572 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4575 Added implementation code for Accessibility_Magnifier_exit ().
4577 * util/mag_control.c:
4578 Added test code for above method; you can
4579 now kill an existing magnifier via
4580 ./mag_control q, from the util directory.
4582 * test/key-listener-test.c:
4584 Added a new test, for our key listener API.
4586 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4588 * test/app.c, test/keysynth-demo.c:
4590 Replace use of snprintf with g_snprintf.
4591 (fix for bugzilla 78249)
4593 2002-03-27 Michael Meeks <michael@ximian.com>
4597 * util/Makefile.am (INCLUDES): fix.
4598 (DONT_DIST_SOURCE): don't distribute the
4601 * libspi/Makefile.am (dist-hook): ditto.
4603 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4605 * libspi/hypertext.c:
4606 Fix warnings when yelp is used with atk-bridge
4608 2002-03-21 Michael Meeks <michael@ximian.com>
4610 * libspi/application.c (spi_application_new):
4611 use spi_accessible_construct so we use the AtkObject
4614 2002-03-19 Michael Meeks <michael@ximian.com>
4616 * registryd/registry.c (desktop_remove_application),
4617 (desktop_add_application): clean coding style.
4619 * registryd/desktop.c (spi_desktop_remove_application),
4620 (spi_desktop_add_application): kill re-enterency hazards.
4621 (spi_desktop_dispose): remove bogus redundant cast
4622 obscuring bug; fix bug too.
4623 (spi_desktop_init): make the desktop object immortal.
4625 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4628 Added a #define-guarded tree-traversal step
4629 when enumerating the apps (diagnostic tool).
4631 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4633 * idl/Accessibility_Role.idl:
4634 Added ROLE_DRAWING_AREA which seemed to be missing from the
4637 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4639 * cspi/spi-roletypes.h cspi/spi_accessible.c
4640 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4643 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4644 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4645 AT when applications are added and removed from the desktop. This
4646 reverts the previous broken implementation using the backing
4647 AtkObject for the SpiDesktop.
4649 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4651 * registryd/desktop.c: emit the "children-changed::add" and
4652 "children-changed::remove" signals on the backing ATK object for
4653 the desktop so AT can tell when applications are started and shut
4656 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4658 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4660 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4662 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4664 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4666 * cspi/state-types.h: synched with IDL and ATK
4668 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4670 * libspi/accessible.c
4671 (impl_accessibility_accessible_get_child_at_index):
4672 Change return value for g_return_if_fail ()
4673 to CORBA_OBJECT_NIL instead of "0" (!)
4675 * registryd/Makefile.am:
4676 * registryd/Accessibility_Register.server.in:
4677 Changed name of executable, "registryd",
4678 to something more informative:
4681 2002-03-13 Michael Meeks <michael@ximian.com>
4683 * atk-bridge/bridge.c (atk_bridge_init): don't register
4684 if we're in a bonobo-component, rather than a bonobo app.
4686 2002-03-13 Michael Meeks <michael@ximian.com>
4688 * atk-bridge/bridge.c (gtk_module_init): split
4689 out body to (atk_bridge_init): here, since otherwise
4690 we get symbol conflicts and oddness when invoked
4691 from (gnome_accessibility_module_init): here (upd.)
4693 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4696 New file. Explicitly allow "build sheriff" putbacks provided
4697 they are tested on Solaris.
4699 * docs/reference/cspi/Makefile.am:
4700 Added '-' to the "cp" command for index.sgml.
4701 ("patch by thomasvs, soon coming to a GUADEC near you")
4704 Incremented version number (0.9.0) for new release.
4705 Changed macro that checks for popt, to better detect
4706 obsolete versions of popt.
4709 Added X_LIBS to AC_SUBST, for applications
4710 that call Xlib API directly.
4713 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4716 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4719 Fix regression caused by hard-coding major
4720 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4723 * test/test-simple.c (test_editable_text),
4724 (test_test): revert previous change (error was
4725 a regression in gail which is now fixed).
4727 2002-03-04 Michael Meeks <michael@ximian.com>
4729 * test/test-simple.c (test_editable_text),
4730 (test_text): pass G_MAXINT instead of '-1' for
4731 whole string - is this a good thing !?
4733 * cspi/spi_accessible.c
4734 (Accessible_getRelationSet): fix crasher bug
4735 overwriting the end of the array.
4737 * test/test-simple.c (validate_accessible): free,
4738 not g_free returned relation set.
4740 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4742 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4743 implemented stateset support
4745 * idl/Accessibility_State.idl: Made necessary changes to
4746 the IDL to support state sets.
4748 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4750 * registryd/deviceeventcontroller.c:
4751 Added implementation for generateMouseEvent.
4753 * cspi/spi_registry.c:
4754 Connected new implementation for generateMouseEvent
4757 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4760 Incremented revision (but no change in public API
4761 outside of 'utils', which are not installed public yet.)
4763 * libspi/component.c:
4764 Changed to use atk_component API for layers and
4765 mdi_zorder, instead of deprecated atk_object API.
4767 Magnification Utility Enhancements:
4770 Added implementation of createZoomRegion, clearAllZoomRegions,
4771 resizeZoomRegion. Added new commandline argument
4772 "--no-initial-region". Note that clearAllZoomRegions doesn't
4773 unmap the old '0' region as it should (yet), and the other
4774 methods only work when creating/resizing a single region,
4775 which is "region 0".
4776 (Code for multiple region support will be added later.)
4779 Now we raise the magnifier window each time it's refreshed;
4780 this will help keep it on top.
4782 * util/mag_client.h:
4783 Added simple wrappers for above, used by mag_control.
4784 For general use, it's recommended to use the bonobo magnifier
4785 control API directly instead of using these wrappers.
4788 Moved ZoomRegionData from magnifier.c to this file.
4790 * util/mag_control.c:
4791 Added some code to exercise new IDL implementations.
4793 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4795 * libspi/text.c: Provide implementation for getAttributes.
4797 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4800 Incremented revision.
4802 * test/test-simple.c:
4803 Replaced use of deprecated g_main_iteration with
4804 g_main_context_iteration.
4806 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4809 Incremented revision for desktop alpha 2.
4811 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4813 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4816 * test/simple-at.c: include netinet/in.h.
4818 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4820 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4821 use NULL, not CORBA_OBJECT_NIL.
4823 * libspi/accessible.c:
4824 (impl_accessibility_accessible_get_relation_set):
4825 allocate the sequence correctly.
4827 * libspi/remoteobject.h: kill spi_remote_object_new.
4829 * test/test-simple.c: (validate_accessible): add code
4830 to test relation sets, now all we need is to figure
4831 out how to excercise this code path :/
4833 2002-01-18 Michael Meeks <michael@ximian.com>
4835 * test/test-simple.c
4836 (key_listener_cb): consume the key.
4837 (test_keylisteners): update.
4838 (main): wait for any pending unrefs on events.
4840 * registryd/deviceeventcontroller.c
4841 (spi_controller_update_key_grabs): only re-issue the
4842 grab on a key release.
4843 (spi_device_event_controller_forward_key_event):
4844 refresh the keygrabs before we notify the listeners,
4845 to reduce the X ungrab / re-grab race.
4846 (spi_controller_register_with_devices): remove
4847 XSelectInput - we do that with the gdk_window_ call.
4848 (_spi_controller_device_error_handler): return a value.
4849 s/GDK_DISPLAY/spi_get_display/
4851 2002-01-17 Michael Meeks <michael@ximian.com>
4853 * registryd/deviceeventcontroller.c
4854 (_deregister_keygrab): don't blow out the later
4857 * test/test-simple.c (test_keylisteners): do a
4858 more intelligent validation.
4860 2002-01-14 Michael Meeks <michael@ximian.com>
4862 * atk-bridge/bridge.c
4863 (gnome_accessibility_module_init),
4864 (gnome_accessibility_module_shutdown): impl.
4865 (gtk_module_init): protect vs. double inits.
4866 (add_signal_listener): impl.
4867 (spi_atk_bridge_state_event_listener): kill
4868 (deregister_application): split out of
4869 (spi_atk_bridge_exit_func): here.
4871 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4874 Added caret tracking when using magnifier, and
4875 now use text bounds for focus tracking of text elements, rather than
4876 the component bounds - this is helpful for short text fields in long
4877 table cells, at high magnification.
4879 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4881 * registryd/deviceeventcontroller.c:
4882 Regression fix for keylistener de-registration; global keygrabs
4883 were not being released when deregisterKeystrokeListener was
4884 called in cspi, since
4885 Accessibility_DeviceEventController_deregisterKeystrokeListener
4886 was called with a zero-length keyset. That is because the cspi
4887 method, SPI_deregisterKeystrokeListener, does not take a keyset
4888 parameter but instead should remove all the key grabs held be a
4890 The code in impl_deregister_keystroke_listener was changed to copy
4891 the keylist from the listener instance previously registered with
4892 the DeviceEventController before releasing the grabs.
4894 * registryd/registry.c:
4895 * registryd/deviceeventcontroller.c:
4896 * libspi/spi-private.h:
4898 Changed spelling of "re-enterant" to "re-entrant" globally.
4900 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4902 * test/test-simple.c:
4903 Changed key listeners test - the test was slightly mis-using the
4904 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4905 It now uses '=' as the key event listened to and generated,
4906 relying on a keysym match rather than assuming that keycode 33
4907 is always equal to keysym '!'.
4909 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4912 Changed simple-at to use a specific keyset, rather than
4913 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4914 manager, desktop, etc.
4916 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4918 * registryd/deviceeventcontroller.c:
4919 Replaced standard X error handler with a special handler that
4920 is non-fatal for failed keygrabs. This works around
4921 problems with keygrab clashes sometimes observed on
4923 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4924 mouse handling code as yet).
4926 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4929 Incremented revision for desktop alpha release.
4932 Fixed a couple of the more glaring errors (still not
4935 2002-01-11 Michael Meeks <michael@ximian.com>
4937 * registryd/deviceeventcontroller.c
4938 (spi_device_event_controller_forward_key_event): kill
4939 XUngrabKey / XKeyGrab race.
4940 (spi_controller_grab_keyboard): rename to
4941 (spi_controller_update_key_grabs): this, and deal
4942 with incremental adding / removing grabs more
4944 (_register_keygrab): ensure we're not pending a remove.
4945 (spi_grab_mask_free): impl.
4946 (spi_controller_register_global_keygrabs): split out
4948 (handle_keygrab): impl.
4949 (_deregister_keygrab): impl.
4950 (spi_controller_deregister_global_keygrabs): impl.
4951 (spi_controller_update_key_grabs): re-issue the grab if
4952 we just recieved a notification.
4954 * test/test-simple.c (key_listener_cb): remove debug.
4956 * registryd/deviceeventcontroller.c
4957 (spi_controller_register_device_listener): after
4958 registering a global keygrab, actualy register it !
4959 don't wait for a timeout; doh !
4961 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4962 to make it more readable / manipulable.
4963 s/grabmask/grab_mask/ s/refcount/ref_count/
4964 s/keyval/key_val/ s/modmask/mod_mask
4966 2002-01-08 Michael Meeks <michael@ximian.com>
4968 * registryd/deviceeventcontroller.c
4969 (spi_controller_register_with_devices): use gdk calls to
4971 (global_filter_fn): implement the filter.
4972 (spi_device_event_controller_check_key_event): rename to
4973 (spi_device_event_controller_forward_key_event): this & upd.
4974 (spi_get_display): replace with GDK_DISPLAY.
4976 * registryd/deviceeventcontroller.c
4977 (spi_controller_deregister_device_listener): unroll into
4978 (impl_deregister_keystroke_listener): here to simplify.
4979 (spi_controller_register_global_keygrabs): split cut and
4980 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4981 (spi_controller_deregister_device_listener): remove.
4982 (impl_register_mouse_listener): remove, no mouse listener
4983 support in at-spi-1.0
4985 * registryd/registry.c
4986 (_device_event_controller_hook): kill.
4987 (spi_registry_init): upd.
4989 * registryd/deviceeventcontroller.c
4990 (spi_device_event_controller_class_init): upd.
4991 (spi_check_key_event): merge into.
4992 (spi_device_event_controller_check_key_event):
4993 here and kill strange static ev init, don't leak
4994 the x_event - nor dynamicaly allocate it.
4996 * registryd/registry-main.c (main): re-direct
4997 timeout to remove strange vtable mess.
4999 * registryd/deviceeventcontroller.c
5000 (remove_listener_cb): impl.
5001 (spi_controller_deregister_device_listener):
5002 fix re-enterancy hazard.
5004 2002-01-07 Michael Meeks <michael@ximian.com>
5006 * registryd/deviceeventcontroller.c
5007 (spi_device_event_controller_new): upd.
5008 (impl_notify_listeners_sync): upd. debug.
5009 (spi_notify_keylisteners): fix re-enterancy hazards,
5010 prettify, remove O(n*n) iteration.
5011 (spi_controller_grab_keyboard): fix iteration.
5012 (spi_check_key_event): re-format to suit coding style.
5013 Clean all the warnings - we're warning free.
5015 * registryd/deviceeventcontroller.h:
5016 * registryd/registry.h: make mutualy referential with
5017 typesafe forward references instead of (!) void pointer
5020 2002-01-11 Michael Meeks <michael@ximian.com>
5022 * cspi/spi_accessible.c (role_names): add a role name
5023 to sync this array with the enum; and make the regression
5026 2002-01-10 Michael Meeks <michael@ximian.com>
5028 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5029 allow expansion of enumeration & kill warning.
5031 * test/test-simple.c (key_listener_cb): impl.
5032 (test_keylisteners): impl.
5034 * cspi/spi-listener.h: make listener signatures const
5035 on the provided (const) events.
5037 * test/keysynth-demo.c: upd. to const events.
5039 * test/simple-at.c: ditto.
5041 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5044 Rev the version to 0.5 (the previous tarball was named 0.4,
5045 even though the micro number was 3), so we need to rev upwards
5046 again for beta2/"desktop-alpha"
5049 Checked in a demo script, which requires editing before use!
5050 Proceed with caution.
5053 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5055 * cspi/spi_accessible.c:
5056 Add a couple of missing enum initializations, and fix some enum
5059 * cspi/spi_registry.c:
5060 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5062 * docs/reference/cspi/at-spi-cspi-sections.txt:
5063 Remove/fix a couple of broken document references.
5066 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5067 as Alt-Control to listen for commands, since on some systems
5068 Control-Alt may already be grabbed.
5070 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5073 Update version number to 0.4 for Beta2.
5075 * libspi/accessible.c, libspi/accessible.h:
5076 Expose spi_accessible_construct, to enable libgail-gnome
5077 construction from spi_accessible subtype.
5079 * utils/magnifier.c:
5080 Workaround for bug in some non-gnome-compliant window managers
5081 which made magnifier resize improperly.
5083 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5085 * libspi/accessible.c: (spi_accessible_new) :
5086 Move the test for SPI_IS_REMOTE_OBJECT to
5087 spi_accessible_new_return, fixing a bug and compile time warning.
5089 2002-01-08 Michael Meeks <michael@ximian.com>
5091 * registryd/registry.c (parse_event_type): remove strndup.
5093 * libspi/Makefile.am (libspi_la_SOURCES): remove
5094 sources already included in the headers section.
5096 * libspi/util.c: add.
5098 * libspi/spi-private.h: add.
5100 * registryd/registry.c: update to moved list iterators.
5102 2002-01-05 Michael Meeks <michael@ximian.com>
5104 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5106 * test/test-simple.c (main): ditto.
5108 2002-01-04 Michael Meeks <michael@ximian.com>
5110 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5111 redundant construct.
5113 * registryd/registry.c
5114 (get_listener_list): impl.
5115 (impl_accessibility_registry_register_global_event_listener):
5116 re-impl. to simplify using ~, remove dodgy const cast off.
5117 (parse_event_type): constify.
5118 (impl_accessibility_registry_deregister_global_event_listener_all):
5119 re-write, more efficiency and simplicity, kill re-enterancy
5121 (compare_listener_corbaref, compare_corba_objects),
5122 (compare_listener_quarks): define out.
5123 (impl_accessibility_registry_deregister_global_event_listener):
5124 re-write for effiency, and nail re-enterancy hazard.
5125 (impl_accessibility_registry_get_desktop_list): impl.
5126 (re_enterant_list_delete_link): impl.
5127 (re_enterant_list_foreach): impl.
5128 (remove_listener_cb): impl.
5129 (_registry_notify_listeners): kill.
5130 (notify_listeners_cb): impl.
5132 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5133 (SPI_getDesktopList): impl.
5135 * test/test-simple.c (test_desktop): test the methods.
5137 2002-01-03 Michael Meeks <michael@ximian.com>
5139 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5140 keystrings since we free them
5141 (SPI_freeAccessibleKeySet): in here.
5143 * libspi/accessible.c (spi_accessible_new): kill warning,
5144 wonder what is going on with the constructor here.
5146 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5148 * libspi/accessible.c (spi_accessible_new ()) :
5149 Added check to see if AtkObject is an SpiRemoteObject before
5150 creating an SpiAccessible.
5152 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5154 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5155 Enable keygrabs using the Control modifier, now that they are
5156 working properly (they were previously disabled).
5159 Change the command keygrab for this demo to "Control+Alt", so as
5160 to conflict with fewer other key commands on the system; this
5161 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5163 Removed a pointlessly-chatty keylistener for unshifted keys
5164 (shifted keys are still reported).
5166 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5168 * libspi/remoteobject.h:
5169 * libspi/remoteobject.c:
5170 Added definitions for special AtkObject subtype, required for
5171 support of remote components (specifically, used by BonoboControl
5172 accessibility implementation).
5174 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5176 * cspi/spi.h: synched relation types with ATK
5178 * cspi/spi_accessible.c: Added implementations of
5179 AcccessibleRelation_* methods
5181 * idl/Accessibility_Relation.idl: added getRelationTypeName
5182 method. Synched known relation types with ATK. Allowed for
5183 relation type extension with the RELATION_EXTENDED type.
5185 * libspi/relation.c: Provided implementations for
5186 AccessibleRelation methods.
5188 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5190 API tweaks for today's API 'freeze'.
5193 Added placeholder functions to allow future compatible expansion
5194 of the IDL interfaces.
5196 * idl/Accessibility_Registry.idl:
5197 Changed generateKeyEvent to generateKeyboardEvent. Changed
5198 signature of this method to accept an optional keystring in
5199 parameter (for complex text input synthesis) and changed use of
5200 simple 'boolean' parameter in registerKeystrokeListener to a
5201 struct, EventListenerMode.
5203 * cspi/spi_accessible.c:
5205 * cspi/spi_streamablecontent.c:
5206 Added references to AccessibleStreamableContent interface, and
5207 definition and implementation of AccessibleStreamableContent
5210 * cspi/spi_registry.c:
5212 Changed generateKeyEvent API to generateKeyboardEvent,
5213 taking a new (optional) keystring parameter to support complex
5218 Renamed directory (to better reflect its actual purpose, bridging
5219 from at-spi to ATK). The .so module is also now named
5222 * idl/Accessibility_Hypertext.idl:
5223 * libspi/accessible.c:
5224 * libspi/hypertext.h:
5225 * libspi/hypertext.c:
5226 Changed Accessibility_Hypertext to *not* derive from
5229 * cspi/spi_registry.c:
5230 Added list of legal event type names for 'window' events, which
5231 completes the registry event API.
5233 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5235 * at-bridge/bridge.c: Added registration for separate
5236 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5237 signals. If either of the first two parameters to the generic
5238 bridge signal handler are ints, they are passed on as event
5239 details. This allows an AT to determine what text was inserted.
5241 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5243 * registryd/deviceeventcontroller.c:
5244 Fixed regressions in generateKeyEvent caused by the removal of
5245 gdk_init from registryd; we now use pure X calls to connect to the
5246 display, which makes sense because deviceeventcontroller already
5247 uses a fair bit of X API (should eventually be migrated to a
5248 'portability layer').
5250 * registryd/desktop.c:
5251 Fixed minor regression in spi_desktop_init, changed the way the
5252 desktop name is being set to work with new spi_base API
5253 (gobject-based, rather than AtkObject-based).
5255 * registryd/Makefile.am:
5256 Minor revision of makefile to use XTST_LIBS variable rather than
5257 hard-wiring the Xtst LD_ADD element.
5259 * test/keysynth-demo.c:
5260 Tweaked an output message; added initialization of the
5261 'keystrings' member of the "switch listener" key_set.
5263 * libspi/relation.c:
5264 Squashed compile-time warning.
5266 * libspi/accessible.c:
5267 Cosmetic and formatting fixes, renamed a static method.
5269 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5271 * libspi/accessible.c
5273 * libspi/application.c
5276 * libspi/component.c
5277 * libspi/editabletext.c
5278 * libspi/hyperlink.c
5279 * libspi/hypertext.c
5281 * libspi/selection.c
5285 * registryd/desktop.c:
5286 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5288 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5290 * idl/Accessibility_Registry.idl:
5291 Added boolean member 'is_text' to DeviceEvent. This is for the
5292 use of key events, and helps prevent ambiguity between composed
5293 key strings and keysym names, since both may potentially be
5294 returned in the 'event_string' member.
5296 * at-bridge/bridge.c:
5297 * registryd/deviceeventcontroller.c:
5298 Use the 'is_text' member when notifying device event listeners.
5299 Knon issue: composed characters are not dealt with correctly by
5300 the global key listener implementation yet.
5302 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5304 * at-bridge/bridge.c:
5305 Namespaced local static methods to spi_atk_bridge_* where
5306 previously named bridge_*, and spi_* elsewhere.
5308 * at-bridge/bridge.c:
5309 * cspi/bonobo/cspi-bonobo-listener.c:
5310 Added demarshalling/conversion for string member of
5311 Accessibility_DeviceEvent to AccessibleKeystroke.
5313 * registryd/deviceeventcontroller.c:
5314 Added code to fill the Accessibility_DeviceEvent key string value
5315 member for global key events (i.e. from XGrabKey), to match
5316 behavior of Accessibility_DeviceEvent from the toolkit key events
5317 from the bridge. Fixed timestamp in global key event notifications.
5320 Added printout of key event's string value to
5321 report_ordinary_key_event, for demo/debugging purposes.
5323 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5325 * idl/Accessibility_Registry.idl:
5326 Removed Accessibility_KeyStroke structure in favor of generic
5327 Accessibility_DeviceEvent structure.
5328 Changed Accessibility_ControllerEventMask from a struct to an
5331 * at-bridge/bridge.c:
5332 Changed APIs to use DeviceEvent structure as above, and removed
5333 bogus casting between these event structures.
5335 * cspi/spi-listener.h:
5336 Added keystring member of AccessibleKeystroke structure, to enable
5337 matching on event "names" rather than only hardware codes and
5341 Added keystrings member of AccessibleKeySet struct, to allow
5342 matching on event names (as above).
5343 Added declarations for SPI_createAccessibleKeySet and
5344 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5345 event modmasks directly as unsigned ints rather than structs with
5346 refcounts, in the DeviceEventController methods.
5348 * cspi/spi_registry.c:
5349 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5351 * cspi/spi-roletypes.h:
5352 Added documentation of newly added SPI Roles.
5354 * cspi/bonobo/cspi-bonobo-listener.c:
5355 Changes in support of API changes above.
5357 * libspi/accessible.c:
5358 Converted APIs to use DeviceEvent structure (see IDL changes
5361 * registryd/deviceeventcontroller.c:
5362 Added DEControllerGrabMask structure to track keygrabs not only by
5363 modmask but by keyset as well; this allows us to do "global"
5364 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5365 grabbing on AnyKey and then filtering after-the-fact.
5366 Bugfixes for event filtration mean that we don't get false matches
5367 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5369 * registryd/deviceeventcontroller.c:
5370 Namespaced a number of static methods to use spi_ prefix. Major
5371 revision to internals of global (i.e. X) key grabs.
5373 * registryd/deviceeventcontroller.h:
5374 Removed keymask_list and added keygrabs_list to
5375 SpiDeviceEventController struct.
5378 Added use of SPI_createAccessibleKeySet API when creating a
5379 listener for only one key. Attach a listener to "shift spacebar
5380 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5381 X key event names to SPI key event names, so that listeners are
5382 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5384 * test/keysynth-demo.c:
5385 Changed (incorrect) use of X key event names (KeyPressed,
5386 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5389 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5391 * libspi/accessible.c:
5392 Convert all AtkRole enumerations to Accessibility_Role enums when
5393 getting a role from an AtkObject.
5395 * cspi/spi_accessible.c:
5396 Complete the conversion of Accessibility_Role enums at runtime to
5397 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5398 role enums correctly match those given in spi-roletypes.h.
5399 Re-synchronize the local names list for AccessibleRole_getName ().
5400 AccessibleRole_getName is now deprecated, since it duplicates the
5401 more reliable Accessible_getRoleName.
5402 Added some role types from Accessibility_Role.idl.
5404 * idl/Accessibility_Role.idl:
5405 Added some role types used by AtkRole.
5407 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5410 * cspi/spi_registry.c:
5412 * cspi/cspi-bonobo-listener.c:
5413 Namespaced all methods that did not begin with an "SPI_" or
5414 "Accessible" prefix to "SPI_".
5417 Homogenized internal function namespace to "cspi_" for statics.
5420 Patched tests to use the new CSPI API.
5422 * docs/reference/cspi/at-spi-cspi-sections.txt:
5423 Updated docs to reflect namespace changes, and added a number of
5424 methods to the documentation.
5426 * registryd/registry.c:
5427 Changed use of strings and string hashes in listener event
5428 matching and parse_event_string to use GQuark, which is guaranteed
5431 * registryd/registry.h:
5432 Squashed annoying warning.
5434 * idl/Accessibility_Role.idl:
5435 Extended range of available Accessibility_Role values.
5437 * cspi/spi_accessible.c:
5438 Re-ordered role names.
5440 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5442 * idl/Accessibility_Value.idl:
5443 Revert use of union back to CORBA_double, since the double type is
5444 more efficient and can contain the other types without loss of
5447 * idl/Accessibility_Accessible.idl:
5448 Added method Accessibility:Accessible:getRoleName, to complement
5449 Accessibility:Accessible:getRole.
5451 * cspi/spi_accessible.c:
5453 Added C binding for above, Accessible_getRoleName (), and changed
5454 signature of Accessible_getRole () to return an AccessibleRole.
5456 * cspi/spi-roletypes.h:
5457 Changed AccessibleRole_getName to return a char * instead of a
5458 const char *. This method is now at least temporarily deprecated
5459 in favor of asking Accessibles for their RoleNames directly.
5462 Revert to match Accessibility_Value.idl;
5466 Change signature of AccessibleValue methods to use double rather
5470 * cspi/spi_accessible.c:
5471 Changed Accessible_getRole to return an AccessibleRole enum rather
5472 than a UTF-8 string. The UTF-8 string can still be obtained via
5473 AccessibleRole_getName ().
5475 * test/test-simple.c:
5476 Add test_action. Small fixup to match API change to Accessible_getRole.
5479 Bugfix for get_action_from_servant ().
5481 2001-12-11 Michael Meeks <michael@ximian.com>
5483 * libspi/libspi.h: remove registry.h and
5484 desktop.h, deviceeventcontroller.h
5486 * libspi/Makefile.am: remove registry.[ch],
5487 desktop.[ch], deviceeventcontroller.[ch]
5489 * registryd/Makefile.am: add registry.[ch],
5490 desktop.[ch], rename registryd.c to registry-main.c.
5491 add deviceeventcontroller.[ch]
5493 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5496 Replace setenv() call with putenv ().
5498 * libspi/component.c:
5499 Bugfix in AccessibleComponent_getExtents (),
5502 2001-12-11 Michael Meeks <michael@ximian.com>
5504 * libspi/image.c (impl_getImageExtents): impl.
5505 (spi_image_class_init): upd.
5508 (AccessibleImage_getImageDescription): fix daft bug
5511 * test/test-simple.c (global_listener_cb): update
5512 to only quit if not --poke
5513 (main): catch --poke.
5514 (validate_accessible): upd. dumping, call test_image
5517 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5520 * idl/Accessibility.idl: update all IDL includes.
5522 * idl/*.idl - rename to namespace - this sucks, blame
5523 mjs' bad decision for oafd.
5525 * test/test-simple.c (create_test_window): add more tests.
5526 (create_tree): split this out.
5527 (validate_accessible): bugfix.
5529 2001-12-11 Michael Meeks <michael@ximian.com>
5531 * cspi/bonobo/cspi-bonobo-listener.c:
5532 (cspi_kestroke_listener_unref),
5533 (cspi_event_listener_unref): impl. undoing previous
5534 homenous environment - for Bill.
5536 * cspi/spi_table.c (long_seq_to_array): use
5539 * cspi/spi_main.c: split out all bonoboish bits into
5542 * cspi/spi-impl.h: upd. typedefs.
5544 * cspi/spi_registry.c: update to lowlevel API,
5545 return booleans to indicate success in some places.
5547 * cspi/spi_event.c: update to lowlevel API.
5549 * cspi/bonobo/Makefile.am: add.
5551 * cspi/bonobo/cspi-lowlevel.h: add
5553 * cspi/bonobo/cspi-bonobo.c: add
5555 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5557 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5558 (SUBDIRS): add bonobo, link in the libs.
5560 * cspi/spi-util.c: kill this file.
5562 * TODO: merge in my bits.
5564 2001-12-11 Michael Meeks <michael@ximian.com>
5566 * test/test-simple.c (test_value, test_table, main):
5567 remove unused variables causing warnings.
5569 * configure.in: cleanup checks - require gail.
5571 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5574 Changed Value interface to use SValue (scalars) rather than
5575 assuming all values are floats. This allows floats, doubles,
5576 longs, shorts, and unsigned values to be manipulated.
5577 Introduced Accessibility:SValue union.
5580 Updated to use new API above, and to work correctly with GValues
5581 of different types in AtkValue.
5584 Updated to use new API above. cspi's API is as yet unchanged.
5587 Updated the Value revision action item.
5589 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5591 * test/test-simple.c:
5592 Added test_table (GtkTreeView widget in test window to follow).
5593 Un-commented test_value, added GtkRange widget.
5594 Added GtkTreeView widget with GtkListStore. It passes regression
5595 test but leaks one SPI object for some reason.
5598 Fixed bug in impl__set_currentValue.
5600 2001-12-10 Michael Meeks <michael@ximian.com>
5602 * cspi/spi_text.c: audit for exception handling,
5603 tolerating NULL object references safely etc.
5605 * cspi/spi_value.c: ditto.
5607 * cspi/spi_table.c (AccessibleTable_getSummary),
5608 (AccessibleTable_getAccessibleAt),
5609 (AccessibleTable_getRowHeader),
5610 (AccessibleTable_getColumnHeader),
5611 (AccessibleTable_getCaption): fix bugs hidden by
5613 (long_seq_to_array): impl.
5614 (AccessibleTable_getSelectedRows),
5615 (AccessibleTable_getSelectedColumns): use it.
5617 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5620 Added a TODO list (rough and short for now).
5622 * cspi/spi_hyperlink.c:
5623 * cspi/spi_hypertext.c:
5624 Fixed macro name typos, and remove use of obsolete macro in
5625 AccessibleHyperlink_getLink.
5627 * cspi/spi_action.c:
5628 * cspi/spi_accessible.c:
5629 * cspi/spi_application.c:
5630 * cspi/spi_component.c:
5631 * cspi/spi_selection.c:
5634 Documentation fixes (removed return values from ref/unref methods).
5636 2001-12-10 Michael Meeks <michael@ximian.com>
5638 * cspi/spi_action.c: audit for exception handling,
5639 tolerating NULL object references safely etc.
5641 * cspi/spi_accessible.c: ditto.
5643 * cspi/spi_component.c: ditto.
5645 * cspi/spi_editabletext.c: ditto.
5647 * cspi/spi_hyperlink.c: ditto.
5649 * cspi/spi_hypertext.c: ditto.
5651 * cspi/spi_image.c: ditto.
5653 * cspi/spi_selection.c: ditto.
5655 2001-12-10 Michael Meeks <michael@ximian.com>
5657 * configure.in: use cspi/libspi.pc.in instead.
5659 * Makefile.am (pkgconfig_DATA): upd. to match.
5661 * test/simple-at.c (report_focus_event): kill hacks around
5662 bad return values, use putenv not setenv
5664 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5665 fire ChildGone - I killed it.
5667 * libspi/component.c
5668 (impl_accessibility_component_get_extents): remove
5671 * idl/Accessible.idl: kill ChildGone exception.
5673 * cspi/*.[ch]: kill int return from ref / unref.
5675 * cspi/spi_main.c (cspi_object_add_check): fold into
5676 (cspi_object_add): here.
5678 * cspi/spi_component.c (AccessibleComponent_getExtents):
5679 handle exceptions elegantly.
5681 * cspi/spi-private.h (cspi_check_ev_return),
5682 (cspi_return_if_fail): impl.
5684 * cspi/spi_accessible.c: use extensively.
5685 (AccessibleStateSet_equals): add direct compare check.
5687 * cspi/spi_selection.c: tolerate NULL objs, and check
5688 exceptions before return.
5690 * cspi/spi-util.c (cspi_warn_ev): rename to
5691 (cspi_check_ev): this & don't pass ev in; no point.
5693 2001-12-10 Michael Meeks <michael@ximian.com>
5695 * test/test-simple.c: use putenv not setenv
5696 (get_environment_vars): more chatty if you're not using
5699 * test/simple-at.c: do the setenv so more people see the
5702 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5704 * libspi/registry.c:
5705 Changed check of CORBA_environment on notification to be a warning
5706 instead of an error for the moment, since we can recover from this
5707 error when caused by a queued notification from a dead app.
5710 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5711 used by all current implementors of AtkValue), and coerce to
5712 CORBA_float. (Proper general case fix may require change to Value.idl).
5714 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5718 * cspi/spi_accessible.c:
5719 Documentation fixes: added user_data params to documentation for
5720 listeners and callbacks.
5722 * cspi/spi_accessible.c:
5723 Changed AccessibleStateSet_compare to return a
5724 StateSet rather than return the difference set into a third parameter.
5727 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5730 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5731 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5735 Remove subdirectory po from SUBDIRS for now.
5737 * at-bridge/bridge.c:
5738 Beefed up a couple of debug printouts.
5739 One-line fix for signal notification name formatting.
5741 * libspi/accessible.c:
5742 Added assertion to spi_accessible_new ().
5744 * libspi/application.c:
5745 Put #ifdef qualifiers around a printf.
5748 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5750 * registryd/Makefile.am:
5752 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5753 INTLTOOL_SERVER_RULE macro.
5756 Added an event listener for several ATK signals, for
5757 testing and debugging. Removed a few g_warnings.
5758 Added test output if focussed item implements the Value interface.
5760 * test/test-simple.c:
5761 Added test_value () function (known not to pass at the moment, so
5762 not actually called yet.
5764 2001-12-08 Michael Meeks <michael@ximian.com>
5766 * at-bridge/bridge.c (bridge_focus_tracker),
5767 (emit_eventv): fix the same ref. leak.
5768 (register_atk_event_listeners): don't leak.
5770 * cspi/spi-listener-impl.c (cspi_event): more
5771 protection from client code.
5773 * test/test-simple.c (test_desktop): unref the app.
5775 * test/Makefile.am: upd. TESTS.
5777 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5779 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5781 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5783 * cspi/spi_registry.c: constify in strings.
5784 (deregisterGlobalEventListenerAll): don't release the ref.
5786 * cspi/spi.h: start removing redundant / conflicting
5787 gtkdoc comments, making the API readable at a glance :-)
5789 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5791 * test/keysynth-demo.c (keysynth_exit, main): upd.
5793 * test/simple-at.c (main, simple_at_exit): upd.
5795 * test/test-simple.c (unutterable_horror): kill.
5796 (utterable_normal_derefs): kill.
5797 (main): upd & do a setenv before gtk_init, so that we
5798 can use memprof - and to save the pain of remembering
5799 this, if we're running under memprof - don't exit.
5801 * cspi/spi_main.c (SPI_exit): return exit status
5803 (SPI_event_quit): impl.
5804 (SPI_event_main): simplify.
5805 (cspi_is_gnome_app): kill.
5806 (SPI_init): kill isGNOMEapp arg.
5808 * at-bridge/bridge.c (register_atk_event_listeners):
5809 re-instate the unref.
5810 (bridge_exit_func): don't re-activate the registry,
5811 protect vs. theoretical re-entry, use the
5812 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5813 assert a clean shutdown - for regression tests.
5815 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5817 * configure.in: Comment out dummy i18n support for now,
5818 otherwise it fails to build.
5819 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5820 EXTRA_DIST. They are missing in tarball.
5822 2001-12-07 Michael Meeks <michael@ximian.com>
5824 * util/magnifier.c: kill bonobo activation reg. race.
5826 * libspi/component.c
5827 (impl_accessibility_component_get_extents): make it match
5830 * libspi/registry.c (_registry_notify_listeners):
5831 re-remove X headers & reconcile conflicts.
5832 (spi_listener_struct_free): bad conflict resolve.
5833 (impl_accessibility_registry_register_application):
5834 more bad merging fixed.
5835 (impl_accessibility_registry_deregister_application): ditto.
5836 (spi_registry_new): ditto.
5837 (spi_registry_init): don't have an applications field.
5839 [ merge fixups2 branch to here ]
5840 2001-12-07 Michael Meeks <michael@ximian.com>
5842 * test/simple-at.c (report_focus_event),
5843 (report_focussed_accessible): remove g_warning debug.
5845 2001-12-07 Michael Meeks <michael@ximian.com>
5847 * test/test-simple.c (validate_tree): comment out some checks.
5848 (test_desktop): app now not registered idly - horay.
5850 2001-12-07 Michael Meeks <michael@ximian.com>
5852 * cspi/spi_registry.c
5853 (registerAccessibleKeystrokeListener): clean, stop it leaking
5854 great swathes of memory, and device event controller references.
5855 ensure we always pass valid sequences.
5856 (deregisterAccessibleKeystrokeListener): ditto.
5857 (generateKeyEvent): upd.
5859 * at-bridge/bridge.c (bridge_key_listener): handle
5860 registry dead exception gracefully.
5861 (bridge_focus_tracker, emit_eventv): free ev.
5863 * test/simple-at.c (report_focus_event): fix polarity.
5865 * libspi/application.c (notify_listeners): kill the ev
5866 argument, and make sure we init the ev we use.
5867 (spi_application_object_event_listener): split out a chunk
5868 (get_atk_object_ref): here & fixup.
5869 (reverse_lookup_name_for_toolkit_event): make const.
5870 (spi_application_toolkit_event_listener): fixup, kill leaks
5873 * at-bridge/bridge.c (register_atk_event_listeners):
5874 don't unref the noop object - causes grief.
5876 * libspi/registry.c: remove the X headers.
5877 turn off the debug churn.
5879 * libspi/accessible.c (spi_accessible_new_return): only
5880 release the ref if we are supposed to [doh]
5882 * test/simple-at.c (report_button_press, report_focus_event):
5883 guard vs. unexpected exit.
5885 * at-bridge/bridge.c (gtk_module_init): prune printf.
5886 (bridge_exit_func): fix app unref.
5888 * libspi/Makefile.am: don't install registry or desktop.h
5890 * libspi/*.h: update includes.
5892 * libspi/application.h: don't include ourself, or
5893 other redundant headers.
5895 2001-12-06 Michael Meeks <michael@ximian.com>
5897 * libspi/accessible.c
5898 (get_accessible_from_servant): impl.
5899 Upd. all CORBA impl.s to use it killing cut and paste.
5901 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5903 (SPI_init): register atexit cleanup handler here.
5905 2001-12-06 Michael Meeks <michael@ximian.com>
5907 * at-bridge/bridge.c (gtk_module_init): g_error on
5908 activation exception
5910 2001-12-06 Michael Meeks <michael@ximian.com>
5912 * at-bridge/bridge.c (gtk_module_init): some sort of
5913 confusing merge clash - reverted.
5914 (bridge_idle_init): ditto.
5916 * test/test-simple.c (main, utterable_normal_derefs):
5917 merge from Bill - somehow not committed.
5919 2001-12-06 Michael Meeks <michael@ximian.com>
5921 * libspi/value.c (spi_value_class_init): upd.
5922 (spi_value_finalize): kill.
5924 * libspi/table.c (spi_table_finalize): kill.
5925 (spi_table_interface_new): upd.
5926 (spi_table_class_init): upd.
5927 (get_table_from_servant): impl.
5928 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5930 * libspi/selection.c (spi_selection_finalize): kill.
5931 (spi_selection_interface_new): upd.
5932 (spi_selection_class_init): upd.
5933 (get_selection_from_servant): impl.
5934 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5936 * libspi/relation.c (spi_relation_finalize): kill.
5937 (spi_relation_class_init, spi_relation_new): upd
5939 * libspi/image.c (spi_image_finalize): kill.
5940 (spi_image_class_init): upd.
5941 (spi_image_interface_new): upd.
5942 (get_image_from_servant): impl.
5943 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5945 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5946 (spi_hyperlink_finalize): kill.
5947 (spi_hyperlink_new): upd.
5948 (get_hyperlink_from_servant): impl.
5949 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5951 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5952 (spi_hypertext_finalize): kill.
5953 (spi_hypertext_class_init): upd.
5954 (get_hypertext_from_servant): impl.
5955 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5957 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5958 (spi_editable_text_interface_new): upd.
5959 (get_editable_text_from_servant): impl.
5960 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5962 * libspi/text.c (get_text_from_servant): impl.
5963 All impls - update to use it killing more cut and paste,
5964 also fix bad string returns on duff args ( a somewhat
5965 impossible case to handle - but hey ).
5966 (spi_text_construct): impl.
5967 (spi_text_interface_new): upd.
5968 (spi_text_object_finalize): kill.
5970 * libspi/component.c
5971 (accessibility_component_object_finalize): kill.
5972 (spi_component_class_init): upd.
5973 (get_component_from_servant): impl. helper to kill cut & paste.
5974 (impl_accessibility_component_contains):
5975 (impl_accessibility_component_get_accessible_at_point):
5976 (impl_accessibility_component_get_position):
5977 (impl_accessibility_component_get_extents):
5978 (impl_accessibility_component_get_mdi_z_order):
5979 (impl_accessibility_component_get_layer):
5980 (spi_component_interface_new): upd.
5982 * libspi/action.c (spi_action_finalize): kill.
5983 (spi_action_class_init): upd. inherit from SpiObject.
5984 (spi_action_interface_new): upd.
5985 (get_action_from_servant): impl. helper to reduce cut & paste.
5986 (impl_getKeyBinding, impl_getName, impl_doAction),
5987 (impl_getDescription): Use it everywhere.
5989 * cspi/spi_main.c (get_live_refs): a pointer hash.
5990 (spi_object_hash, spi_object_equal): comment out.
5991 There are issues with CORBA object hashing that need
5994 * libspi/application.c (spi_application_init),
5995 (spi_application_new): upd.
5997 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5998 (spi_accessible_class_init): upd.
5999 s/accessible/object/ in epv methods.
6001 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6003 * at-bridge/bridge.c:
6004 Reorder the bridge initialization into the bridge gtk_module_init,
6005 an immediate call to bridge_register_app, and an idle_add for
6006 register_atk_event_listeners (the only code that *must* wait until
6007 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6008 the activation, creates the application's Accessible object, and
6009 queues the bridge_idle_init function. Restored call to
6010 Accessibility_Registry_deregisterApplication().
6011 Prior to making this call we obtain a new reference to the
6012 registry, which is a temporary hack that helps us handle apps that
6013 shut down the bonobo mainloop before we get there.
6015 * libspi/registry.c:
6016 Fix string leakage in debug block, and don't segv if a an app
6017 dies before its event notifications have been propagated.
6020 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6021 as stopgap measure until we get proper exception handling when
6022 objects die during or before interrogation.
6026 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6027 Also changed default value of is_gnome_app to TRUE.
6030 * test/keysynth-demo.c:
6031 Changed use of SPI_init and SPI_event_main to reflect API change above.
6034 Made report_focus_event check the warning value from getName
6035 before reporting on focussed accessible; simplifies handling of
6036 notifications from dead objects.
6038 * test/test-simple.c: (Changes not in this patch since source is
6041 2001-12-05 Michael Meeks <michael@ximian.com>
6043 * registryd/registryd.c (main): protect against
6044 bonobo-activation startup race condition.
6046 * cspi/spi_main.c (cspi_object_add_check): cope
6047 with the exception elegantly.
6049 * idl/Accessible.idl: decl. ChildGone
6051 * libspi/desktop.c (spi_desktop_dispose): impl.
6052 (spi_desktop_class_init): upd.
6053 (spi_desktop_add_application),
6054 (spi_desktop_remove_application),
6055 (abnormal_application_termination): impl.
6056 (impl_desktop_get_child_at_index): re-impl.
6059 (impl_accessibility_registry_deregister_application),
6060 (impl_accessibility_registry_register_application):
6061 kill excessive debug clutter.
6063 * test/test-simple.c (test_misc): test some NULL
6064 tolerance. (main): upd.
6066 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6067 implements no interfaces - so let's not crash.
6069 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6071 * libspi/accessible.c (spi_accessible_new_return): impl.
6072 helper to calm the cut and paste, to cope with
6073 NULL AtkObjects effectively and efficiently, and to kill
6074 the referencing bugs.
6076 * libspi/table.c (impl_getAccessibleAt),
6077 (impl_getRowHeader, impl_getColumnHeader): upd.
6079 * libspi/hyperlink.c (impl_getObject): upd.
6081 * libspi/accessible.c
6082 (impl_accessibility_accessible_get_child_at_index): upd.
6084 * libspi/component.c
6085 (impl_accessibility_component_get_accessible_at_point): upd.
6087 * test/test-simple.c (test_editable_text, test_text): impl.
6090 * cspi/spi_editabletext.c
6091 (AccessibleEditableText_insertText): constify.
6093 * test/test-simple.c (focus_me): make more robust.
6095 * libspi/accessible.c: remove some printfs in methods that
6096 we test and work fine, so we can get a clean tree dump.
6098 * test/test-simple.c (validate_accessible),
6099 (validate_tree): make tree dumping pretty too.
6101 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6102 it builds without debug on.
6104 * test/test-simple.c (validate_accessible): fix the most
6107 * cspi/spi_main.c (spi_object_release): leave the nicely
6108 blanked memory around if in debug mode.
6110 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6112 [committed to fixups2]
6113 2001-12-05 Michael Meeks <michael@ximian.com>
6115 * libspi/editabletext.c
6116 (spi_editable_text_class_init): g_type_class_peek_parent,
6117 not interface peek - so we finalize cleanly.
6119 * libspi/accessible.c (spi_accessible_new): kill debug.
6121 * test/test-simple.c (validate_accessible): fix ref.
6122 leak, print strings before freeing them; sigh, comment a
6123 chunk out due to strangeness.
6124 (validate_tree): unref the child after use.
6126 * cspi/spi_component.c (AccessibleComponent_getLayer):
6127 add missing break statement, switch on zlayer not the
6128 uninitialized retval.
6130 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6131 before (possibly re-entering) remote unref.
6133 * test/simple-at.c (main): unref the desktop.
6135 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6138 * cspi/spi_main.c (cspi_accessible_is_a): here to
6139 isolate bonobo API usage more.
6141 * libspi/registry.c (impl_accessibility_registry_register_application):
6142 prune bogus comment.
6144 2001-12-04 Michael Meeks <michael@ximian.com>
6146 * test/test-simple.c (validate_tree): upd.
6147 IndexInParent check to make it more lucid.
6148 (validate_accessible): dump the tree.
6150 * libspi/accessible.c (de_register_public_ref),
6151 (get_public_refs): impl.
6152 (spi_accessible_new): make more efficient & intuitive.
6153 Now IndexInParent check works.
6155 2001-12-04 Michael Meeks <michael@ximian.com>
6157 * cspi/spi-util.h: remove.
6159 * cspi/spi.h: move SPI_freeString here
6161 * libspi/component.c (impl_accessibility_component_get_layer):
6163 (impl_accessibility_component_get_mdi_z_order): ditto,
6164 return -1 on error - is this ok ?
6166 * test/test-simple.c (test_application): impl.
6168 * cspi/spi_accessible.c (Accessible_getApplication),
6169 (Accessible_isApplication): impl.
6171 * libspi/registry.c (spi_listener_struct_free): release
6172 the CORBA reference too.
6174 * libspi/accessible.c
6175 (impl_accessibility_accessible_get_parent): fix ref leak.
6177 * libspi/registry.c (spi_registry_new): make the registry
6178 immortal - we don't want it to go away ever.
6180 * libspi/application.c
6181 (spi_accessible_application_finalize): impl. cleanup.
6183 * cspi/spi_registry.c
6184 (deregisterGlobalEventListenerAll),
6185 (deregisterGlobalEventListener),
6186 (deregisterAccessibleKeystrokeListener): fix ref leak.
6188 * cspi/spi_main.c (SPI_init): remove redundant ref.
6190 * test/test-simple.c (unutterable_horror): impl. to force a
6195 (impl_accessibility_registry_deregister_application): release
6196 the application when we de-register it.
6198 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6199 until we have the infastructure to get it right.
6201 2001-12-03 Michael Meeks <michael@ximian.com>
6203 * libspi/Makefile.am: only build eventlistener.[ch]
6205 * libspi/accessible.c
6206 (impl_accessibility_accessible_get_child_at_index): don't leak.
6208 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6209 before we hit the idle handler.
6211 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6212 debugging than exit.
6214 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6216 * libspi/listener.c (impl_notify_event): check source
6217 not NIL before unref.
6219 * libspi/registry.c (impl_registry_notify_event): ditto.
6221 * libspi/eventlistener.c
6222 (impl_accessible_event_notify_event): unref the source.
6224 * libspi/accessibleeventlistener.c
6225 (impl_accessible_event_notify_event): unref the source.
6227 * idl/Event.idl: remove 'hash_id' attribute - of no
6230 * libspi/application.c (notify_listeners): upd list
6232 (spi_application_object_event_listener),
6233 (spi_application_toolkit_event_listener): upd to do correct
6237 (_registry_notify_listeners): update.
6238 (parse_event_type): this method also leaks like a sieve.
6239 (impl_accessibility_registry_deregister_global_event_listener):
6240 fix ETYPE_WINDOW case.
6242 * libspi/application.c
6243 (impl_accessibility_application_register_object_event_listener):
6246 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6248 * libspi/hypertext.c (impl_getLink): ditto.
6250 * cspi/spi_main.c (cspi_object_add): remove
6251 bogus CORBA_Object_duplicate.
6253 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6256 * cspi/spi_accessible.c
6257 (Accessible_getRelationSet): fix leak / referencing issue.
6259 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6260 (cspi_object_add, cspi_object_unref): upd.
6261 (spi_object_release, get_live_refs): impl.
6262 (cspi_cleanup): simplify.
6264 * *.[ch]: s/boolean/SpiBoolean/
6266 * cspi/spi_accessible.c (role_names): actualy order so it
6267 corresponds with the enum !
6269 * test/test-simple.c (test_roles): check some role strings
6270 vs. enums to detect offset errors.
6272 2001-12-01 Michael Meeks <michael@ximian.com>
6274 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6276 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6278 (Accessible_getChildAtIndex): use cspi_add_check so we
6279 check the ev before using a (possibly) invalid value.
6281 * libspi/accessible.c
6282 (impl_accessibility_accessible_get_parent): don't segv
6285 * at-bridge/bridge.c (gtk_module_init): upd.
6286 (bridge_property_event_listener): don't leak strings
6288 (bridge_state_event_listener),
6289 (bridge_property_event_listener): don't use a static
6290 buffer in case of recursive event emission &
6291 re-enterancy - split out the swathe of cut and paste
6293 (emit_eventv): and fix 2 ref leaks here & comply to the
6295 (bridge_register_app): rename to
6296 (bridge_idle_init): this and kill arg parsing, split
6297 various inits & bonobo-activation registration to module
6298 init time, kill referencing error.
6299 (bridge_exit_func): fix the same leak.
6300 (bridge_focus_tracker): don't leak event structures
6302 (bridge_signal_listener): more leakage and cut & paste
6304 (bridge_key_listener): return the result - FIXME is
6305 this polarity correct ?
6306 (accessibility_keystroke_from_atk_key_event): rename
6307 (accessibility_init_keystroke_from_atk_key_event): and stop
6309 (gtk_module_init): return a value - not that it is checked by
6311 (bridge_key_listener): register my horror at casting between
6312 IDL defined structs.
6313 (bridge_get_registry): kill - not used.
6315 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6317 * test/test-simple.c (test_roles): impl.
6318 (test_desktop, validate_accessible, validate_tree): impl.
6320 * cspi/spi_accessible.c (role_names): fixup bogus
6321 MAX_ROLES setup, make constants const for efficient linkage
6322 (AccessibleRole_getName): conform to coding style, make
6325 2001-11-30 Michael Meeks <michael@ximian.com>
6327 * cspi/spi.h: add missing prototype.
6329 * libspi/registry.c (spi_listener_struct_new): fix sig.
6331 * test/Makefile.am: add test-simple
6333 * test/test-simple.c: add
6335 * test/test.sh: add.
6337 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6339 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6340 do it straight - since otherwise we often get an activation race.
6342 [ work before Bill duplicated a chunk of it ... ]
6343 2001-11-30 Michael Meeks <michael@ximian.com>
6345 * libspi/keystrokelistener.c
6346 (spi_keystroke_listener_class_init): fixup arg
6349 * libspi/eventlistener.c
6350 (spi_event_listener_class_init): ditto.
6352 * tests/test.sh: add.
6354 * cspi/spi-listener-impl.h: update macros.
6356 * cspi/spi-listener-impl.c
6357 (cspi_event_listener_remove_callback): add
6358 correct pre-conditions.
6360 * cspi/spi_main.c (SPI_exit): guard vs. double
6361 exits, exit the mainloop nicely.
6362 (SPI_event_main): make more sense.
6363 (SPI_init): move the atexit evilness here so we
6364 always do it (yuck).
6365 (SPI_event_main): upd.
6367 * test/simple-at.c: update for listener changes.
6369 * registryd/registryd.c (main): prune kruft.
6371 * libspi/libspi.h: upd.
6373 * libspi/eventlistener.[ch]: rename broken macros.
6375 * libspi/accessibleeventlistener.[ch]: remove.
6377 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6379 * test/test-simple.c: Add - automated tests.
6381 * cspi/spi-listener-impl.c (cspi_event),
6382 (cspi_key_event): add user_data to invoke.
6383 (cspi_keystroke_listener_finalize): impl.
6384 (cspi_keystroke_listener_class_init): upd.
6387 (createAccessibleEventListener),
6388 (AccessibleEventListener_addCallback),
6389 (createAccessibleKeystrokeListener),
6390 (AccessibleKeystrokeListener_addCallback): upd.
6392 * libspi/deviceeventcontroller.c
6393 (spi_device_event_controller_check_key_event): add public proto.
6396 (impl_accessibility_registry_deregister_global_event_listener):
6397 always init listeners.
6398 (_registry_notify_listeners): yes it is.
6400 * cspi/spi-listener-impl.c (cspi_key_event):
6402 (cspi_event_listener_finalize): impl.
6403 (cspi_event_listener_class_init): hook up.
6404 (event_handler_new, event_handler_free),
6405 (event_list_remove_by_callback): impl.
6406 (cspi_event_listener_remove_callback),
6407 (cspi_keystroke_listener_remove_callback),
6408 (cspi_keystroke_listener_add_callback),
6409 (cspi_event_listener_add_callback): upd.
6411 * libspi/keystrokelistener.c
6412 (keystroke_listener_object_finalize): kill
6413 (spi_keystroke_listener_class_init): upd.
6414 (spi_keystroke_listener_add_callback),
6415 (spi_keystroke_listener_remove_callback): kill,
6417 (impl_key_event): prune drasticaly.
6419 * libspi/eventlistener.c
6420 (spi_event_listener_add_callback),
6421 (spi_event_listener_remove_callback): kill, use
6423 (impl_accessible_event_notify_event): upd.
6424 (spi_event_listener_object_finalize): remove.
6426 * libspi/Makefile.am: use eventlistener.[ch]
6428 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6430 * libspi/registry.c (_registry_notify_listeners):
6431 Changed listener loop iteration to use preferred convention.
6432 Got rid of string memory leaks caused be calling g_strconcat
6433 inside function calls.
6435 * libspi/registry.c (parse_event_type):
6436 Stopped g_strconcat memory leaks, free the g_strsplit return,
6437 g_strdup the split pieces when used, etc.
6439 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6442 Change method 'compare' to return a 'difference set' rather than
6443 taking a StateSet as an out parameter (more Java-friendly).
6445 * idl/Accessible.idl:
6446 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6448 * idl/Component.idl:
6450 Changed methods 'getExtents' and 'getImageExtents' in these
6451 interfaces to return a BoundingBox structure.
6452 (getPosition and getSize are redundant and possibly should be
6453 removed, rather than creating a corresponding Point struct.)
6455 * cspi/spi_component.c:
6456 Modify implementation of getExtents to reflect the above IDL
6461 Add (missing) AccessibleImage_getExtents () API.
6463 * docs/reference/cspi/at-spi-cspi-sections.txt:
6464 Added AccessibleImage_getImageExtents () to docs.
6466 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6468 * idl/Component.idl:
6469 Added two methods, getLayer () and getMDIZOrder (), to reflect
6470 the new ATK methods atk_object_get_layer and
6471 atk_object_get_mdi_z_order. (Which arguably should be part of the
6472 AtkComponent API and AtkObject). Also added an enum,
6473 ComponentLayer, for the first method's return value.
6475 * libspi/component.c:
6476 Added implementations for these methods.
6478 * cspi/spi_component.c:
6480 Added cspi binding methods for above,
6481 AccessibleComponent_getLayer() and
6482 AccessibleComponent_getMDIZOrder().
6483 Added cspi enum 'AccessibleComponentLayer'.
6485 * docs/reference/cspi/at-spi-cspi-sections.txt:
6486 Added above methods to docs.
6490 Changed typedef for 'boolean' type (and all references to it) to
6491 SPIBoolean, to avoid keyword clashes with C++.
6494 Changed usages of 'boolean' to SPIBoolean.
6496 * test/keysynth-demo.c:
6497 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6498 app), except where SPIBoolean is required by the callbacks API.
6500 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6502 * cspi/spi_registry.c:
6503 Removed obsolete X event loop for passive keygrabs (which now
6506 * registryd/registryd.c:
6507 Removed unnecessary call to gdk_init() [cruft]. This also allows
6508 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6511 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6513 * docs/reference/cspi:
6514 Included docs for SPI_freeString in generated documentation.
6517 Renamed spi_freeString to SPI_freeString, for consistency. Added
6518 documentation for this function.
6521 Renamed spi_freeString to SPI_freeString, for consistency.
6522 Removed obsolete method declaration string_from_corba_string.
6524 * test/keysynth-demo.c:
6525 Small tweak to comments.
6528 Stopped leaking the strings returned from CSPI.
6530 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6532 Merged Michael's branch (see his ChangeLog entries below).
6534 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6535 bridge is alive, release on exit.
6537 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6538 Fix type check macro.
6541 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6544 Added is_gnome_app static, and method cspi_is_gnome_app(),
6545 so we can call the appropriate shutdown routine at exit in SPI_exit.
6547 * cspi/spi_main.c (cspi_object_ref):
6548 Duplicate the corba object passed in, since we're keeping it around.
6550 * cspi/SPI_exit.c, cspi_cleanup:
6551 Moved the releasing of the live refs to its own function, so we
6552 can put it in g_atexit (). Call the appropriate shutdown API
6553 depending on whethe calling client is a gnome app or not
6554 (bonobo_main_quit or CORBA_ORB_shutdown).
6556 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6557 Unref the listener when this method is called, after
6558 deregistration. Updated the API docs to note this behavior.
6560 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6561 Bugfixes: Ref the bonobo object when returning a parent or child
6562 reference, or an AccessibleRelation. Generally made sure
6563 BonoboObject refcount is incremented whenever we return an
6566 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6567 Fixed typo/bug in signal declaration.
6569 * libspi/accessibleeventlistener.h:
6572 * libspi/application.c (spi_application_new):
6573 Fixed leak in initialization.
6576 Remembered to increment bonobo-object refcount when returning
6577 children (applications) from desktop object.
6578 Added (empty) finalize method.
6580 * libspi/deviceeventcontroller.c:
6581 Hold a ref to listeners inside DEControllerKeyListeners.
6582 Added dec_key_listener_free() method. Use prepend instead of
6583 append in key_listener list. Fixed some refcount madness and
6584 leaks in the listener registration/deregistration - deregistration
6585 now calls dec_key_listener_free() on listeners, and on the
6586 temporarily constructed dec_key_listener() used to perform the search/match.
6588 * libspi/hypertext.c (spi_hypertest_finalize):
6589 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6590 class. Also fixed spi_hypertext_interface_new() and
6591 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6593 * libspi/hypertext.h:
6594 Removed pointless and duplicate AtkObject pointer from
6597 * libspi/keystrokelistener.c:
6598 Fixed incorrect type of keystroke_listener_parent_class,
6599 renamed keystroke_listener_object_finalize to
6600 spi_keystroke_listener_object_finalize.
6601 Fixed typo in signal declaration
6602 (spi_keystroke_listener_class_init).
6604 * libspi/registry.c:
6605 Added funcsions spi_listener_struct_new() and
6606 spi_listener_struct_free() to help with memory management issues.
6607 We also now use these methods instead of gnew + poking stuff into
6608 the struct, and to decrement listener counts/free the listeners
6609 when deregistering them.
6610 Fix more refcount bugs in getDesktop() and
6611 getDeviceEventController().
6614 De-ref the desktop after enumerating the applications. Explicitly
6615 decrement the refcounts on the created listeners on exit (using
6616 _unref for keystroke listeners, and via the
6617 deregisterGlobalEventListenerAll command for other event
6620 2001-11-27 Michael Meeks <michael@ximian.com>
6622 * cspi/spi-listener.h: fixup enum.
6624 2001-11-27 Michael Meeks <michael@ximian.com>
6626 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6627 (cspi_keystroke_listener_new): Use the cspi variants.
6629 2001-11-26 Michael Meeks <michael@ximian.com>
6631 * test/keysynth-demo.c: fix 2 compile warnings, missing
6634 * test/simple-at.c (report_focussed_accessible),
6635 (report_focus_event, report_button_press),
6636 (check_property_change, is_command_key),
6637 (report_ordinary_key_event, report_command_key_event): upd.
6639 * util/mag_client.h: include pre-requisites.
6641 * libspi/accessibleeventlistener.c
6642 (spi_event_listener_object_finalize): free any lingering
6645 * libspi/keystrokelistener.c
6646 (keystroke_listener_object_finalize): ditto.
6648 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6649 callbacks, with cspi types.
6651 * cspi/spi_event.c (createAccessibleEventListener): chain to
6652 (AccessibleEventListener_addCallback): here.
6653 (createAccessibleKeystrokeListener): chain to
6654 (AccessibleKeystrokeListener_addCallback): here.
6656 * libspi/keystrokelistener.c
6657 (spi_keystroke_listener_class_init): add signal.
6658 (impl_key_event): emit the event.
6659 (boolean_handled_accumulator): impl.
6660 (marshal_BOOLEAN__POINTER): add, gack.
6662 * libspi/accessibleeventlistener.c
6663 (spi_event_listener_class_init): add signal.
6664 (impl_accessible_event_notify_event): emit the signal &
6665 make the loop efficient.
6666 (spi_event_listener_add_callback): prepend the callback.
6668 * libspi/accessibleeventlistener.h: add an 'event' signal,
6669 decl type on callback.
6671 * libspi/keystrokelistener.h: ditto.
6673 * cspi/spi-listener.h: make methods typesafe and
6674 make them use the new event typedefs.
6676 * test/simple-at.c (report_focussed_accessible):
6677 include mag_client.h
6678 Use *(void *)text_interface not the other thing.
6680 * configure.in: add gtk to registryd bits - since we use
6683 * util/magnifier.c: include libbonobo.h
6685 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6687 * test/keysynth-demo.c:
6688 Turned this into a simple scanning keyboard, to demonstrate the
6689 use of g_timeout_add () as a means of creating timers for
6690 scanning, and the use of GtkStyle for visually indicating when
6691 virtual keyboard elements are selected.
6693 keysynth-demo now listens to any keyboard keys with zero-valued
6694 keycodes (i.e. 'unused' keys) and interprets them as
6697 Reworked the shiftlatch code so that shift-down state isn't held
6698 for long periods (it's only synthesized immediately prior to
6699 the keysynth event it's modifying). Note that shiftlatch in this
6700 demo is a convenience, not intended to take the place of AccessX
6701 which is the better choice for getting 'sticky' modifier keys.
6703 * libspi/deviceeventcontroller.c:
6704 * at-bridge/bridge.c:
6705 * cspi/spi_registry.c:
6706 Removed some debug print stuff, and put other verbosity in #ifdef
6711 Implemented some more of the magnifier IDL for the simple
6712 magnifier: namely, getZoomRegionParams.
6713 Added mag_x and mag_y members to MagnifierData struct, aid of this
6715 Added GtkWindow::realize signal handler to magnifier, to keep it
6716 from receiving keyboard focus from the WM.
6718 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6720 * cspi/spi-private.h: my guess at what michael forgot
6721 before he ran off to NZ :-)
6723 2001-11-23 Michael Meeks <michael@ximian.com>
6725 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6726 comment out non existant method invoke so we link.
6728 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6729 use bonobo_exception_get_text for more friendly warnings.
6731 * cspi/spi.c (Obj_Add): move into spi_main & rename
6732 spi_object_add; kill spi.c
6734 * cspi/spi_registry.c
6735 (deregisterGlobalEventListener),
6736 (deregisterGlobalEventListenerAll),
6737 (registerGlobalEventListener): fix exception leaks.
6739 * cspi/spi_main.c (spi_exception): impl. helper, so we
6740 don't leak exceptions.
6742 * cspi/spi_selection.c
6743 (AccessibleSelection_deselectSelectedChild): return the
6746 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6747 (spi_registry): ditto.
6748 (SPI_init): guard against double inits.
6750 * cspi/*.c: use spi_ev (), and spi_registry () where
6751 appropriate - a temporary hack until we have something
6752 better. Use spi_object_add
6754 2001-11-22 Michael Meeks <michael@ximian.com>
6756 * cspi/Makefile.am: re organise, install the headers.
6758 * cspi/*.h: add G_BEGIN/END_DECLS
6760 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6763 Added non-preemptive keylistener for key events with no modifiers
6764 and shift-only modifier.
6766 * libspi/keystrokelistener.c:
6767 Removed some verbose diagnostics printout.
6769 * cspi/spi_registry.c:
6770 Fixed a bug that caused all key listeners to be registered as
6773 * libspi/deviceeventcontroller.c:
6774 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6775 for non-preemptive key masks.
6778 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6780 * docs/reference/idl/at-spi-idl-docs.sgml:
6781 * docs/reference/idl/at-spi-idl-sections.txt:
6782 * docs/reference/idl/at-spi-idl-overrides.txt:
6783 Added missing files.
6785 * docs/reference/Makefile.am:
6786 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6787 to scan the IDL files :-(
6792 Added .cvsignore files.
6794 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6796 * libspi/deviceeventcontroller.c:
6797 * libspi/keystrokelistener.c:
6799 * cspi/spi_registry.c:
6800 Added filters for KeySets, KeyEventSeq, and event types to key
6801 event dispatching, so listeners should only receive those events
6802 that they requested :-)
6804 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6809 * docs/reference:Makefile.am:
6810 * docs/reference/cspi:
6811 * docs/reference/cspi:Makefile.am:
6812 * docs/reference/cspi:tmpl:
6813 * docs/reference/cspi:tmpl:*.sgml:
6814 * docs/reference/idl:
6815 * docs/reference/idl:Makefile.am:
6816 * docs/reference/idl:at-spi-idl-sections.txt:
6817 * docs/reference/idl:at-spi-idl-docs.sgml:
6818 * docs/reference/idl:tmpl:
6819 * docs/reference/idl:tmpl:*.sgml:
6821 Restructured docs directory to allow separate 'reference' docs
6822 section, and forked idl and cspi docs. Added the sgml template
6823 files to CVS. Added the first sections/structural sgml for the
6826 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6828 * configure.in, libspi/Makefile.am: find libXtst.
6830 2001-11-21 Michael Meeks <michael@ximian.com>
6832 * test/accessx-gui.c: s/spi_value/value/ - doh.
6834 * libspi/base.[ch]: add.
6836 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6838 * idl/Accessible.idl:
6839 * idl/Application.idl:
6842 Started gtk-doc cleanup on IDL.
6844 * libspi/deviceeventcontroller.c:
6845 Added and connected non-preemptive key notification from the
6846 toolkits (in addition to the pre-emptive support from XServer
6847 which we had before, but which causes 'focus flashing'). Filters
6848 are presently limited to key modifiers and global/non-global,
6849 KeySets are presently ignored, as are KeyEvent masks.
6851 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6852 structs into the persistant structure rather than just storing
6853 pointers to things that might not persist across servant
6856 The XGrabKey call now does async keygrabs, because synchronous
6857 ones were deadlocking with GDK_event code in a very nasty way.
6859 Added boolean to internal method notify_keylisteners, to indicate
6860 whether the event came from the 'toolkit source' or the 'global
6861 (XServer) source' - this is used in the notification process to
6862 determine which listeners to send the event to.
6864 deviceeventcontroller.c is now warning-free.
6866 * libspi/registry.c:
6867 Fixed regression in application de-registration.
6868 Also fixed some really brain-dead weirdness having to do with
6869 event dispatching - event structs are now duplicated before being
6870 re-marshalled in the dispatch to listeners. This also fixes a
6871 Solaris build problem.
6874 2001-11-20 Michael Meeks <michael@ximian.com>
6877 (impl_accessibility_registry_deregister_global_event_listener):
6880 * libspi/deviceeventcontroller.c
6881 (spi_device_event_controller_check_key_event): return
6882 FALSE on no virtual method.
6884 * libspi/*..h: make includes work on a correctly pathed install.
6886 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6888 * libspi/application.h: kill unused ( and whacked out )
6889 gboolean *spi_application_set_id (AtkObject *app, long id);
6891 2001-11-20 Michael Meeks <michael@ximian.com>
6893 * libspi/*.[ch]: further convert to bonobo's type func
6894 macros, remove redundnant casts etc.
6896 * libspi/text.c s/accessibility_text/spi_text/g,
6897 re-order to de-cruft.
6899 * libspi/hypertext.c: re-order to kill a huge slew
6900 of redundant forward decls.
6902 * libspi/relation.c: ditto.
6904 * libspi/image.c: ditto.
6906 * */.cvsignore: update
6908 2001-11-20 Michael Meeks <michael@ximian.com>
6910 * libspi/deviceeventcontroller.c
6911 (_controller_register_with_devices): use g_getenv,
6912 kill stdlib.h include.
6914 * libspi/keystrokelistener.c
6915 (spi_keystroke_listener_get_type): kill
6916 (spi_keystroke_listener_class_init),
6917 (spi_keystroke_listener_init): rename to this.
6919 * libspi/text.c (impl_getAttributes): fix warning / bug.
6921 * libspi/*.[ch]: more headers, includes and over commenting.
6923 2001-11-20 Michael Meeks <michael@ximian.com>
6925 * libspi/*.[ch]: fixup headers, includes and over commenting.
6927 * libspi/image.c (impl__get_imageDescription): const
6928 correctness warning fix. remove redundant casting.
6930 * libspi/table.c (impl_getRowDescription): ditto.
6931 (impl_getColumnDescription): ditto.
6933 * libspi/libspi.h: add.
6935 2001-11-19 Michael Meeks <michael@ximian.com>
6937 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6939 * libspi/component.c (accessibility_component_get_type):
6940 rename to (spi_component_get_type): and macroify.
6941 (accessibility_component_init): rename to
6942 (spi_component_init): this
6943 (accessibility_component_class_init): rename to
6944 (spi_component_class_init): this
6946 * libspi/action.c (spi_action_get_type): kill, use the macro.
6948 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6951 * libspi/application.c (spi_application_object_event_listener),
6952 (impl_accessibility_application_register_object_event_listener):
6953 warning fixes / const understanding updates.
6955 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6958 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6960 * libspi/spi_accessible.c: Added docs and C bindings for
6961 AccessibleStateSet. (No implementations yet). Documentation
6962 coverage for C bindings now 100%. Made docs for event listeners
6967 boolean notifyListenersSync (in DeviceEventListener listener,
6968 in DeviceEvent event);
6970 oneway void notifyListenersAsync (in DeviceEventListener listener,
6971 in DeviceEvent event);
6973 Added DeviceEventListener and DeviceEvent structs (may deprecate
6974 KeyStroke and KeystrokeListener in favor of this generic
6975 event/listener framework for devices).
6977 * libspi/deviceeventcontroller.c:
6979 Changed some key listener code to take masks, etc., and paved the
6980 way for integration of toolkit/non-preemptive key events. Changed
6981 signatures of some internal methods.
6983 * at-bridge/bridge.c:
6984 Fixed regression connecting to interface signals, apparently
6985 caused by GTK+ changes.
6987 Added an internal bridge_state_listener to deal with
6988 property-change:accessible-state signals.
6990 Changed the key_listeners GList to store structs (including masks,
6991 etc.) instead of just CORBA_Objects (required for full
6992 implementation of key listener API).
6994 Connected the bridge to all currently supported Atk signals.
6995 Events now supported:
6996 object:property-change
6997 object:property-change:accessible-name
6998 object:property-change:accessible-state
6999 object:property-change:accessible-description
7000 object:property-change:accessible-parent
7001 object:property-change:accessible-value
7002 object:property-change:accessible-role
7003 object:property-change:accessible-table-caption
7004 object:property-change:accessible-table-column-description
7005 object:property-change:accessible-table-column-header
7006 object:property-change:accessible-table-row-description
7007 object:property-change:accessible-table-row-header
7008 object:property-change:accessible-table-summary
7009 object:children-changed
7010 object:visible-data-changed
7011 object:selection-changed
7012 object:text-selection-changed
7014 object:text-caret-moved
7016 object:row-reordered
7018 object:column-inserted
7019 object:column-reordered
7020 object:column-deleted
7021 object:model-changed
7023 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7025 * libspi/hyperlink.c,h:
7026 Fixed some broken stuff in hyperlink.
7028 * libspi/relation.h:
7029 * libspi/relation.c:
7030 * cspi/spi_accessible.c:
7031 Initial implementations of AccessibleRelation methods, and docs.
7033 * libspi/accessible.c:
7034 Fixed a bug that caused SEGV if an accessible
7035 object's description is NULL, and a client
7036 requests it. An empty string is now returned.
7038 * cspi/spi_editabletext.c:
7039 * cspi/spi_hypertext.c:
7041 * cspi/spi_hyperlink.c:
7045 Doc coverage now 95%.
7047 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7049 One last namespacing revision:
7050 * libspi/accessibleeventlistener.[ch]:
7051 Renamed SpiAccessibleEventListener to SpiEventListener,
7052 (no need for two namespaces ;-)
7054 And lots of documentation fixes:
7056 * docs/at-spi-docs.sgml:
7057 Fixed 'underscore vs. hyphen' bug that was preventing
7058 the gtk-doc API docs from being automatically generated.
7061 * cspi/spi-listener.h
7063 * cspi/spi_accessible.c
7065 * cspi/spi_application.c
7066 * cspi/spi_component.c
7067 * cspi/spi_editabletext.c
7069 * cspi/spi_hypertext.c
7071 * cspi/spi_registry.c
7072 * cspi/spi_selection.c
7076 * docs/at-spi-docs.sgml
7077 * docs/at-spi-sections.txt
7079 Added and fixed up gtk-doc documentation in cspi.
7081 Interfaces now (fully) documented (subject to revision and enhancement):
7083 Event Listener Support
7085 AccessibleApplication
7089 AccessibleEditableText
7096 AccessibleRelationSet
7101 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7103 * at-bridge/bridge.c:
7104 Initial work for toolkit-level key snooper connection by bridge.
7109 New typedefs and fixes to support new namespacing, and cleaner
7110 separation of cspi bindings from libspi bonobo implementation.
7111 Removed inconsistent and extraneous Spi* namespace prefix that
7112 had crept into cspi headers.
7113 Lots of comment fixes that sed had missed.
7115 * cspi/spi-roletypes.h:
7116 * cspi/spi-statetypes.h:
7117 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7118 to AccessibleRoleType.
7120 * libspi/accessibleeventlistener.h:
7121 Fixed minor namespacing weirdness.
7123 * libspi/deviceeventcontroller.c:
7124 Reordered some internal API for device listeners.
7125 Changed the key registry final boolean to 'is_system_global'
7126 rather than 'is_synchronous', which is more descriptive of its
7128 Added spi_device_event_controller_new().
7129 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7131 * libspi/keystrokelistener.[ch]:
7132 Namespaced KeystrokeListener to SpiKeystrokeListener.
7133 Changed uses of keymasks to use SPI_ prefix, and did other
7136 * libspi/keymasks.h:
7137 Namespaced keymask constants with SPI_ prefix.
7139 * libspi/registry.c:
7140 Some warning fixes, and knock-on fixes from namespace changes.
7143 Added rules for accessx-gui test program.
7145 * test/accessx-gui.c:
7146 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7147 utility. It doesn't actually use at-spi, but it's still cool and
7150 * test/keysynth-demo.c:
7154 Fixes so that these test clients work properly with the namespaced
7155 libraries. (Incompletely tested for technical reasons, fixes may follow)
7158 2001-11-13 Michael Meeks <michael@ximian.com>
7160 * libspi/application.c
7161 (impl_accessibility_application_get_version),
7162 (impl_accessibility_application_get_toolkit_name):
7164 (impl_accessibility_application_set_id),
7165 (impl_accessibility_application_get_id): remove
7166 redundant casting code.
7168 * libspi/action.c (impl_getDescription): fix warnings.
7170 * libspi/accessible.c
7171 (impl_accessibility_accessible_get_parent),
7172 (impl_accessibility_accessible_get_child_at_index),
7173 (impl_accessibility_accessible_get_state),
7174 (impl_accessibility_accessible_get_relation_set):
7175 warning fixes & include action.h
7177 2001-11-13 Michael Meeks <michael@ximian.com>
7179 * *.[ch] fix bits I screwed up:
7181 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7182 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7184 2001-11-13 Michael Meeks <michael@ximian.com>
7186 * *.[ch] Namespace libspi into spi_ and Spi.
7188 2001-13-11 Michael Meeks <michael@ximian.com>
7190 * Makefile.am: dist & install at-spi-1.0.pc
7192 * libspi/Makefile.am: install into at-spi-1.0
7194 * idl/Makefile.am (idldir): install into at-spi-1.0
7196 * at-spi-1.0.pc.in: add.
7198 * configure.in: build it.
7200 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7202 * test/keysynth-demo.c:
7203 Use a 'realize' signal-handler to set the WM properties for
7204 the virtual keyboard, rather than making it a "POPUP" type
7205 override-redirect window (thanks to anders carlsson for that
7208 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7211 * test/keysynth-demo.c:
7212 Added new test of key synthesis, which creates a simple
7213 (mouse-operated) onscreen keyboard. It inserts key events into
7214 the currently-focused window, thus it does not grab keyboard focus
7217 * cspi/spi_registry.c:
7218 Added C binding for AT-SPI generateKeyEvent.
7220 * libspi/deviceeventcontroller.c:
7221 Added call to XFilterEvent so that key listener works with XIM (we
7222 hope). Added event_synth_type to generateKeyEvent, so that we can
7223 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7224 synthesize a press/release pair for KeySyms.
7226 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7228 * libspi/Makefile.am:
7229 * registryd/Makefile.am:
7230 (temporary) hack to include libXtst in libspi and registryd.
7231 (Needed for keystroke synthesis, see below).
7234 Improved API for registerKeystrokeListener, in accordance with
7235 discussions with Gnopernicus team and X server research.
7237 * libspi/registry.c:
7238 * libspi/deviceeventcontroller.c:
7239 * libspi/accessible.c:
7240 * libspi/keystrokelistener.c:
7241 Changes and fixes to support keylisteners for potentially
7242 consumed key events (that is, 'passive grabs').
7243 Added implementation for generateKeyEvent() [untested].
7246 Changes to registerKeystrokeListener() API, as above.
7247 Added deregisterGlobalEventListenerAll(), and
7248 deregisterKeystrokeListener(), which are needed for clean exit of
7250 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7251 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7253 * cspi/spi_registry.c:
7254 Added implementations of function prototypes mentioned above.
7256 * registryd/registryd.c:
7257 Added the key listener event source as a g_timeout(), to allow
7258 receipt of key events that are not caught by GDK (since GDK
7259 doesn't support passive keygrabs, this was necessary).
7262 Changed to attach a keylistener to 'Alt' keys, and
7263 respond to the following keycommands: Alt-M (toggle magnifier);
7264 Alt-F (toggle speech); Alt-Q (quit).
7265 Added an exit routine to deregister the listeners, and a key
7266 listener that prints some key info to the console when a key
7267 matches the listener mask (and is thus received by the listener).
7269 * util/idl/Magnifier.idl:
7270 Changes to magnifier API to support multiple zoom regions,
7271 non-uniform scaling in x and y, markDirty, and a host of other
7272 features that would be useful to magnification.
7275 * util/mag_client.c:
7276 * util/mag_client.h:
7277 * util/mag_control.c:
7279 Source code changes to support the above IDL changes.
7282 As above, and also changes to use a (slower) generic conversion
7283 path for colormap conversions, since the fast RGB conversions have been
7284 reported to fail for 16-bit displays.
7286 2001-10-26 Michael Meeks <michael@ximian.com>
7288 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7290 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7292 * at-bridge/Makefile.am: fix LDFLAGS.
7294 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7296 * at-bridge/bridge.c:
7297 Re-worked listeners for toolkit events, now we have signal
7298 and property listeners. Added a private method
7299 register_atk_event_listeners(), which registers with the
7300 various atk and gtk signals we need to monitor in order to emit
7302 Added emission hook for AtkObject:property-change events, to
7303 support the 'property listeners'.
7304 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7307 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7308 which emit warnings and exit, respectively, if CORBA errors occur
7309 during remote calls, and we now use these methods to check most of
7310 our CORBA calls in the C bindings.
7312 * cspi/spi_accessible.c:
7313 Changed AccessibleSelection_refSelectedChild() to
7314 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7315 now increment refcounts.
7317 * cspi/spi_component.c:
7318 Fixed some long pointer casts (dangerous!) to pass pointers to
7319 CORBA_longs of the proper type to the CORBA stubs, and copy the
7320 data into the longs that were passed into the C bindings code.
7322 * at-bridge/bridge.c:
7324 * libspi/accessible.c:
7325 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7326 hyperlinks, AtkHyperlink is an object type.
7328 * libspi/application.c:
7329 Added various conversions to and from "generic" event types and
7330 atk-specific types; this is really part of the 'bridge'
7331 implementation but is valid for all AtkObject-based accessibility
7334 * libspi/editabletext.c:
7335 Fixed nasty bug wherein editable text's finalize method was
7336 unref'ing tha AtkObject reference that the text parent class was
7337 about to unref _again_. There was also a nasty inheritance bug
7338 that meant that the AccessibleEditableText class was corrupt.
7340 * libspi/selection.c:
7341 Provided implementations for some selection API that was broken.
7343 * idl/Application.idl:
7344 Added registerObjectEventListener () method.
7347 Fixed a number of return values that were Bonobo_Unknowns from
7348 bonobo_object_corba_objref(), which I
7349 forgot to dup before returning. Changed instances of
7350 bonobo_object_corba_objref (bonobo_object(o)) to
7351 BONOBO_OBJREF(o), for concision and clarity.
7353 2001-10-13 Louise Miller <louise.miller@sun.com>
7355 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7356 idl/Event.idl, idl/Registry.idl
7357 Changed these files to include Bonobo_Unknown.idl instead
7360 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7362 * libspi/component.c libspi/component.h:
7363 Fixed typo. Added assertions for object checks in
7364 AccessibleComponent code.
7366 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7368 * idl/Accessible.idl:
7369 Added 'isEqual (Accessible *object)'
7370 method for Accessible. (Not Yet Implemented).
7373 Changed signature of registerKeystrokeListener() to
7374 take a KeySet and KeyEventSeq so that specific keys and event
7375 types could be requested for monitoring, and added a flag
7376 is_synchronous so that either synchronous or asynchronous
7377 notification could be requested. (However this is not all
7378 implemented yet). This also meant adding two new typedefs,
7379 KeyEventSeq and KeySet.
7382 Added two new relations, RELATION_TOOLTIP_FOR and
7383 RELATION_LEAFNODE_OF.
7386 Added new state, STATE_HAS_TOOLTIP.
7388 * libspi/text.c, editabletext.c:
7389 Added new assertions to all casts of bonobo-objects from
7390 CORBA servants, to prevent Text API calls on non-text objects.
7391 Changed suspect casts of int-pointer types, so that we
7392 always send a valid CORBA_long pointer to the CORBA APIs that use
7393 in/out long parameters. We then have to copy from the CORBA_long
7394 into the regular long or int for return to the C bindings, or
7395 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7398 * libspi/deviceeventcontroller.c:
7399 Cleaned these sources up.
7401 Changed return type for getCharacterAtOffset to
7402 CORBA_unsigned_long, to allow for 32-bit characters.
7405 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7409 Fixed 'make dist' so that distro compiles...
7410 * libspi/keymasks.h:
7412 * cspi/spi-listener.c:
7413 KeystrokeListenerCB now returns a boolean.
7415 Added KeyEventType struct, and KeyStroke.
7416 Also added createKeystrokeListener(),
7417 KeystrokeListener_addCallback(),
7418 KeystrokeListener_removeCallback(), and added a keymask to
7419 registerKeystrokeListener().
7420 * cspi/spi_accessible.c:
7421 Changed numerous return types for interfaces from
7422 AccessibleComponent to Accessible<InterfaceName>; this was
7423 probably a cut-and-paste error.
7425 Implementations of new KeystrokeListener api (from spi.h,
7428 Changes to key modifier mapping.
7429 Created ControllerEventMask struct.
7430 Made DeviceEventController derive from Bonobo::Unknown.
7432 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7433 * libspi/deviceeventcontroller.c:
7434 Added a number of new internal (private) methods.
7435 * libspi/editabletext.c:
7436 * libspi/editabletext.h:
7437 Fixed a number of bugs related to the fact that
7438 editabletext inherits from text. Fixed the EditableText struct,
7439 the init() call, and use correct casts when calling Text methods
7440 from an EditableText object. Removed (duplicate) atko from the
7441 EditableText structure, we use the one in the parent Text
7442 structure via the casts mentioned above.
7443 * libspi/keystrokelistener.[ch]:
7444 * libspi/registry.c:
7445 Changes in support of keyboard handling (above).
7447 Keyboard handling, though partly functional, is still not
7448 recommended for at-spi client use as there is considerable
7449 work yet to be done.
7452 Changed some places where pointers to various int types
7453 are cast to be pointers to CORBA_long types and vice-versa:
7454 pointer casting is not safe so we pass pointers of the correct
7455 types and then cast the result before putting it into the target
7458 * libspi/text.h: minor typos corrected.
7460 We now speak not only the name of a Text element, but the
7461 first sentence of its content, when it receives focus.
7462 I also changed the text compression to 75% from 50%.
7463 * util/Accessibility_Util.server.in:
7464 Changed the default magnifier type to be a 3x vertical
7465 splitscreen magnifier (was previously a 2x horizontal one).
7467 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7469 * libspi/keystrokelistener.h:
7470 * libspi/keystrokelistener.c:
7471 Initial functional implementations of KeystrokeListener.
7474 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7476 Fixed string handling for NULL strings in libspi.
7477 Added spi_freeString to free strings returned by C bindings.
7479 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7481 * libspi/keystrokelistener.h:
7482 * libspi/keystrokelistener.c:
7483 Began (no-op) implementations of KeystrokeListener
7485 * libspi/deviceeventcontroller.c:
7486 * libspi/deviceeventcontroller.h:
7487 Began creating implementations of DeviceEventController,
7488 to handle keystroke and mouse event listening and
7490 * libspi/accessible.c:
7491 Stubbed-in the implementations for
7492 Accessibility_Accessible_getState and
7493 Accessibility_Accessible_getRelationSet.
7494 * libspi/registry.c:
7495 Improved de-registration process and fixed some bugs,
7496 deregistration now works correctly.
7498 Added initialization of applications list (to NULL).
7500 Reduced speech compression from 0.5 to 0.7, for demo.
7501 Changed call to gdk_window_set_decorations()
7502 to gtk_window_set_decorated().
7503 * at-bridge/bridge.c:
7504 Bridge now deregisters when app exits, via
7505 registration of a cleanup function
7506 with the g_atexit() call.
7507 Required making 'app' static, renamed 'this_app'.
7508 Fixed broken use of bonobo_init, passing argv wrongly.
7510 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7514 Created a new directory for
7515 accessibility-related utilities, primarily for
7516 testing and demo purposes, but with possible
7523 Onscreen magnifier utility that
7524 is implemented as a bonobo service.
7526 * util/mag_client.c:
7527 * util/mag_client.h:
7528 Client-side support (simple C bindings)
7529 for Magnification service
7531 * util/mag_control.c:
7532 Client program example for
7533 Magnification service
7535 * util/Accessibility_Magnifier.server.in:
7536 Bonobo-activation file for the
7537 Magnification service.
7540 * util/idl/Magnifier.idl:
7541 IDL defining the bonobo Magnification
7545 Modifications to use the bonobo-activated magnifier
7546 above, in place of trying to connect to an existing
7547 magnifier that uses socket-listening IPC.
7549 If env variable MAGNIFIER is set, a magnifier service
7550 will be started if one does not exist.
7552 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7554 * at-bridge/bridge.c:
7555 applied patch from Marc to build and run
7556 against new glib and gtk+ (seemed like a change
7557 to bonobo_init signature was made ?)
7559 made festival-server support turned off by default.
7560 Added support for a simple magnifier (off by default)
7561 which will be added to a 'util' directory later.
7562 * at-bridge/Makefile.am:
7563 Changed "application.h" header from a 'source'
7564 to a 'dependency' of libat-bridge.
7566 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7575 Added interface implementation c files to list of
7576 includes so they are included in libcspi.
7579 Changed prototype of AccessibleAction_doAction to return a
7581 Changed prototype of AccessibleTable_getCaption to
7582 return an Accessible.
7583 Changed prototype of AccessibleTable_getSelectedRows
7584 and AccessibleTable_getSelectedColumns to
7585 return a long (returns the number of selected rows
7586 or columns respectively).
7587 Changed name of AccessibleText_refRunAttributes to
7588 AccessibleText_getAttributes.
7589 Changed prototype of AccessibleText_getCharacterExtents to
7590 return a void rather than a boolean.
7591 Added support for a AccessibleCoordType parameter
7592 specifying what type of coordinates are desired.
7593 Added an AccessibleCordType parameter to
7594 AccessibleText_getPointAtOffset.
7596 * cspi/spi_accessible.c:
7597 Added code to return the outstanding interfaces from
7598 Accessible_queryInterface.
7600 * cspi/spi_action.c:
7602 Corrected call to getNActions to call the c binding
7605 * cspi/spi_editabletext.c:
7607 Changed name from setRunAttributes to setAttributes.
7609 * cspi/spi_hyperlink.c:
7611 Changed call to getNAnchors to correctly call the c
7612 binding for an attribute.
7614 * cspi/spi_hypertext.c:
7616 Changed getImageDescription to correctly call the
7617 binding for an attribute.
7619 * cspi/spi_selection.c:
7620 Changed getNSelectedChildren to correctly call the c
7621 binding for the attribute.
7622 Changed refSelectedChild to getSelectedChild.
7626 Changed getCaption to return an Accessible.
7627 Fixed calls which retrieve attributes.
7628 Changed refAt to getAccessibleAt.
7629 Changed getNSelectedRows and getNSelectedColumns to
7633 Changed getCharacterExtents and getPointAtOffset to accept an
7634 AccessibleCoordType.
7636 Changed calls which retrieve attributes.
7637 Changed refRunAttributes to getAttributes.
7642 * idl/Hyperlink.idl:
7643 Changed n_anchors attribute to nAnchors to keep naming
7644 convention consistent.
7647 Made Table inherit from Bonobo::Unknown.
7648 Added nSelectedColumns and nSelectedRows attributes.
7651 Made Value inherit from Bonobo::Unknown.
7653 * libspi/hyperlink.c:
7654 Change for nAnchors attributte name change.
7656 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7664 Added interface implementation c files to list of
7665 includes so they are included in libcspi.
7668 Changed prototype of AccessibleAction_doAction to return a
7670 Changed prototype of AccessibleTable_getCaption to
7671 return an Accessible.
7672 Changed prototype of AccessibleTable_getSelectedRows
7673 and AccessibleTable_getSelectedColumns to
7674 return a long (returns the number of selected rows
7675 or columns respectively).
7676 Changed name of AccessibleText_refRunAttributes to
7677 AccessibleText_getAttributes.
7678 Changed prototype of AccessibleText_getCharacterExtents to
7679 return a void rather than a boolean.
7680 Added support for a AccessibleCoordType parameter
7681 specifying what type of coordinates are desired.
7682 Added an AccessibleCordType parameter to
7683 AccessibleText_getPointAtOffset.
7685 * cspi/spi_accessible.c:
7686 Added code to return the outstanding interfaces from
7687 Accessible_queryInterface.
7689 * cspi/spi_action.c:
7691 Corrected call to getNActions to call the c binding
7694 * cspi/spi_editabletext.c:
7696 Changed name from setRunAttributes to setAttributes.
7698 * cspi/spi_hyperlink.c:
7700 Changed call to getNAnchors to correctly call the c
7701 binding for an attribute.
7703 * cspi/spi_hypertext.c:
7705 Changed getImageDescription to correctly call the
7706 binding for an attribute.
7708 * cspi/spi_selection.c:
7709 Changed getNSelectedChildren to correctly call the c
7710 binding for the attribute.
7711 Changed refSelectedChild to getSelectedChild.
7715 Changed getCaption to return an Accessible.
7716 Fixed calls which retrieve attributes.
7717 Changed refAt to getAccessibleAt.
7718 Changed getNSelectedRows and getNSelectedColumns to
7722 Changed getCharacterExtents and getPointAtOffset to accept an
7723 AccessibleCoordType.
7725 Changed calls which retrieve attributes.
7726 Changed refRunAttributes to getAttributes.
7731 * idl/Hyperlink.idl:
7732 Changed n_anchors attribute to nAnchors to keep naming
7733 convention consistent.
7736 Made Table inherit from Bonobo::Unknown.
7737 Added nSelectedColumns and nSelectedRows attributes.
7740 Made Value inherit from Bonobo::Unknown.
7742 * libspi/hyperlink.c:
7743 Change for nAnchors attributte name change.
7746 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7748 implementations-- made server implementations own AtkObject pointers
7749 rather than their respective AtkInterrface pointers to fix
7750 refcounting. AtkHyperlink is still broken.
7752 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7753 * cspi/spi_accessible.c:
7754 Added method Accessible_Role_getName(),
7755 and requisite string array (role_names).
7756 Added conversion string_from_corba_strin() call
7757 to Accessible_getName and _getDescription.
7758 * libspi/accessible.c:
7759 Added implementation for Accessible_getRole()
7761 Added festival support, used if environment variable
7764 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7766 * at-bridge/bridge.c:
7767 Now allocate Accessibility_Event using
7768 Accessibility_Event__alloc() instead of g_new0().
7769 * libspi/accessibleeventlistener.c:
7770 Initialize AccessibleEventListener->callbacks to NULL.
7771 Fixed accessible__event_listener_init() param, changed to
7772 "AccessibleEventListener *" type.
7773 Changed a bonobo_object_release_unref() call to
7774 Accessibility_Accessible_unref().
7775 * libspi/listener.c:
7776 Changed Bonobo_Unknown_unref to (equivalent)
7777 Accessibility_Accessible_unref.
7778 * libspi/registry.c:
7779 Changed bonobo_object_release_unref to
7780 Accessibility_Accessible_unref.
7782 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7785 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7786 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7787 spi-util.c spi-util.h
7788 Implementations for C bindings to remaining accessibility
7791 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7794 changed return value of Action from void to boolean to
7795 bring in line with ATK.
7798 Changed getText funcions to return "out" start and end offsets.
7799 Changed getAttributes to take and offset and return the start
7800 and end offset of the attribute run.
7801 Changed getOffsetAtPoint and getCharacterExtents to take an
7802 enum describing whether coordinates are window or screen.
7805 libspi/action.c libspi/action.h libspi/editabletext.c
7806 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7807 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7808 libspi/image.h libspi/selection.c libspi/selection.h
7809 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7810 libspi/value.c libspi/value.h
7811 Added server implementations for outstanding ATK interfaces
7812 not yet implemented.
7814 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7817 Added (missing) getName() method.
7818 Made nActions an attribute.
7819 * idl/EditableText.idl:
7820 Changed order of params in setAttributes.
7821 * idl/Hyperlink.idl:
7822 Removed getAnchor, added getURI.
7824 Changed attributes to methods, for efficiency
7825 (so that getting extents can be done in one call)
7826 * idl/Selection.idl:
7827 Changed nSelectedChildren to attribute, and re-indented.
7828 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7830 * idl/Text.idl: reformatted to match our coding style.
7831 (temporarily?) removed getRowColumnAtOffset().
7832 Changed text selection API to support multi-select and
7833 non-contiguous selections, as in ATK.
7834 * idl/Value.idl: changed some methods to attributes.
7836 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7838 * libspi/listener.c(impl_notify_event):
7839 BonoboUnkown_unref the source instead
7840 of bonobo_object_release_unref - the ORB
7841 handles the releasing.
7843 * configure.in: require ORBit-2.3.94 for
7846 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7848 Tagged CVS repository 'EA_1_0'.
7849 * README.EARLY_ACCESS:
7850 Alphabetized acknowledgements list, and
7852 Listed some known dependencies of at-spi.
7854 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7856 * docs/at-spi-docs.sgml:
7857 * docs/at-spi-sections.txt:
7858 * docs/at-spi-overrides.txt: (Added zero-length file)
7859 Documentation improvements - gtk-doc should build
7860 docs for all implemented C bindings now.
7863 * cspi/spi.c: (New file)
7864 * cspi/spi_event.c: (New file)
7865 * cspi/spi_registry.c: (New file)
7866 * cspi/spi_accessible.c: (New file)
7867 * cspi/spi_application.c: (New file)
7868 * cspi/spi_component.c: (New file)
7869 Split spi_main.c into six parts, and included them from
7870 "spi.c". This is a bit of a hack, probably temporary,
7871 but required by gtk-doc, apparently.
7873 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7876 * docs/at-spi-docs.sgml:
7877 * docs/at-spi-sections.txt:
7879 Initial checkins/modifications for gtk-doc generation.
7882 Added (missing) interface query methods to Accessible's C binding.
7884 Added GenericInterface type definition.
7886 Added query for AccessibleComponent interface to focus event handler.
7887 Added printout of bounding box for focussed component.
7888 * libspi/component.c:
7889 Added partial implementation for AccessibleComponent to C binding.
7890 * idl/Application.idl:
7891 * libspi/registry.c:
7892 * libspi/listener.c:
7893 * libspi/application.c:
7894 * libspi/application.h:
7895 Changed "ID" attribute type from string to long.
7897 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7901 Made method naming consistent: methods taking object args
7902 start with uppercase, other methods (except those using
7903 acronyms) start with lowercase. Underscores delimit between
7904 object names and method names:
7905 SPI_init() - uppercase since it starts with an acronym.
7906 getDesktopCount () - lowercase start since no object param0.
7907 Accessible_getName() - uppercase object type name, studlyCaps method
7911 Added gtk-doc documentation for all currently implemented
7912 methods in the C bindings API.
7914 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7916 * Makefile.am : changed build order to build test last.
7919 Changed "createEventListener" to "CreateEventListener".
7920 * libspi/accessibleeventlistener.c :
7921 Bugfix for addition of callbacks.
7922 * test/Makefile.am :
7923 * test/simple-at.c :
7924 Added new test that uses the C bindings API.
7926 * libspi/listener.c :
7927 * libspi/registry.c :
7928 * libspi/accessibleeventlistener.c :
7929 * at-bridge/bridge.c :
7930 Renamed member "target" of Accessibility_Event to "source",
7931 which is more descriptive.
7934 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7938 * cspi/Makefile.am :
7939 Added makefile support for at-spi/cspi directory.
7942 * cspi/spi-listener.h : (NEW FILE)
7943 Added support for/use of spi-listener.h.
7945 C bindings now build successfully, with no warnings.
7946 * libspi/accessibleeventlistener.h : (NEW FILE)
7947 * libspi/accessibleeventlistener.c : (NEW FILE)
7948 * libspi/Makefile.am :
7949 Added new object type "AccessibleEventListener"
7950 which inherits from Listener, and allows attachment
7951 of in-process callbacks (so that a client with a listening
7952 object instance can add functionality to the local
7953 implementation, dynamically).
7955 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7957 * libspi/accessible.c:
7958 Add implementation for get_index_in_parent().
7960 Added #include of "spi-roletypes.h", and
7961 added enumerated type AccessibleCoordType.
7962 Added definition for KeystrokeListener (function type).
7965 * cspi/spi-statetypes.h :
7966 * cspi/spi-roletypes.h :
7968 Added these headers, used by spi.h.
7970 Added code (NOTE: not yet built by make).
7972 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7974 * libspi/Makefile.am: generate imodule
7975 at the same time as other idl compiler
7978 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7979 * libspi/registry.c :
7980 * libspi/application.c :
7981 * idl/Application.idl :
7982 Made registration with toolkit an application method,
7983 which is required since each app has its own toolkit static
7984 environment. Thus the bridge must register for
7985 notification of toolkit events from each application in turn.
7986 Toolkit notifications are now successfully registered for, and
7987 sent to the listening at client.
7989 Changed toolkit event string to use hyphens rather than underscores.
7990 * libspi/listener.c :
7991 listner now gives more info in debug mode - it reports the
7992 name of the event received, as well as the name of the source.
7995 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7997 * libspi/registry.c :
7998 added more implementation for toolkit events.
7999 Fixed bug such that toolkit event registrations
8000 (via atk) use the whole event name string, not
8002 Removed a useless call to an ORBit_ method.
8003 * at-bridge/bridge.c :
8004 Removed unused local sbuf[] variable.
8006 We now register for Gtk:GtkWidget:button_press_event
8007 events as well as "focus:" events.
8009 Add some more API from Registry.idl that was missing,
8010 for keystroke listening, keystroke and mouse event
8011 synthesis, and enumeration of accessible desktops.
8013 2001-08-16 Michael Meeks <michael@ximian.com>
8015 * configure.in: use AM_GLIB_GNU_GETTEXT.
8017 * Makefile.am (SUBDIRS): kill intl.
8019 2001-08-15 Michael Meeks <michael@ximian.com>
8021 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8023 * configure.in: upd.
8025 * configure.in: depend on a recent bonobo-activation that
8026 will find our server files ...
8028 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8030 * libspi/accessible.c : accessible_new() :
8031 Now we add the Component interface via bonobo_object_add_interface,
8032 if the contained AtkObject implements AtkComponent.
8033 * libspi/accessible.h : now include "component.h"
8034 * libspi/component.h :
8035 * libspi/component.c : added files - implementation of
8036 bonobo wrapper object for Accessibility/Component
8037 * libspi/listener.c :
8038 Added test code to check for Accessibility/Component:1.0
8039 interface and report whether it is implemented by the
8041 * libspi/registry.c :
8042 Now we check for not only the hash of the whole event
8043 string before relaying the event, we also check the
8044 "minor" event string (without the detail string).
8045 This allows event listeners to be registered against
8046 all events of a certain major+minor type, or just
8047 against a specific major+minor+detail type.
8048 * libspi/accessible.c :
8049 Added implementations for Accessible:get_parent(),
8050 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8051 * libspi/registry.c :
8052 * libspi/listener.c :
8053 Replaced calls to Accessibility_Accessible_ref() and
8054 Accessibility_Accessible_unref() with
8055 calls to bonobo_object_dup_ref() and
8056 bonobo_object_release_unref(), so that the CORBA object
8057 is dup-ed and released when relayed, as well as the bonobo object.
8059 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8061 * libspi/Makefile.am,
8062 registryd/Makefile.am,
8063 at-bridge/Makefile.am.
8064 test/Makefile.am, configure.in:
8065 reverse previous changes.
8067 * /idl/Image.idl: fix typo.
8069 * test/Makefile.am: put DEBUG_FLAGS
8072 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8074 * test/app.c: use argv[0] instead of
8077 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8079 * libspi/Makefile.am,
8080 registryd/Makefile.am,
8081 at-bridge/Makefile.am.
8082 test/Makefile.am, configure.in:
8083 cleanup, replace individual LIBS/CFLAGS with
8084 AT_COMMON_{LIBS|CFLAGS}.
8088 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8090 * configure.in, libspi/Makefile.am:
8091 Change IDL path checking for bonobo-activation
8094 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8096 * registryd/registry.c : separated event listeners to use
8097 3 separate lists (focus, window, toolkit). Began testing
8098 event names against hashes before relaying events.
8099 * test/at.c : now register for events of type "focus:"
8100 * test/app.c : now generate events of type "focus:"
8101 * at-bridge/bridge.c : register with ATK for focus events,
8102 and we now relay those focus events to any "focus:" listeners.
8103 This now works with the bridge as a GTK_MODULE when running test/at.
8104 * libspi/registry.c :
8105 * libspi/listener.c :
8106 now we ref event sources before propagating, and unref on receipt.
8107 * libspi/registry.c :
8108 some changes to internal structs, to support event typestring hashes.
8109 * text/app.c : changed the way the appname is generated.
8110 * cspi : added directory that will hold the C bindings library for
8111 non-CORBA/bonobo-savvy clients.
8112 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8113 * idl/Component.idl : added in parameter to indicate coord system for
8114 geometry-related calls.
8115 * idl/Hyperlink.idl : added readonly n_links attribute
8116 * idl/Image.idl : changed methods to attributes.
8118 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8120 * at-bridge/Makefile.am: link against
8121 ../libspi/libspi.la instead of -lspi.
8123 * at-spi/test/app.c: include
8124 bonobo-activation.h. Use a default appname
8125 if one is not provided.
8127 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8129 * idl/Registry.idl : temporarily changed register_Application
8130 to oneway, to work around issue with initial registration
8132 * idl/Application.idl : changed attribute "id" from readonly
8133 to read-write, since it needs to be assigned by Registry.
8134 * registryd/registryd.c : added call to set application id
8136 * registryd/registry.c : changed de-registration procedure to
8137 use CORBA_Object_hash() to find matching object ref in application
8138 lists and listener lists.
8139 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8140 began distinguishing between event types (work in progress).
8142 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8145 * libspi/application.c:
8146 Added implementations for get/set id, get_toolkitName,
8148 * registryd/registryd.c :
8152 Converted from use of OAF to bonobo-activation.
8153 * libspi/desktop.h :
8154 * libspi/desktop.c :
8156 Removed references to atksimpleobject, since base atkobject
8157 implementation now provides functionality we need.
8158 * libspi/atksimpleobject.c :
8159 * libspi/atksimpleobject.h :
8164 * at-bridge/Makefile.am
8165 * at-bridge/bridge.c
8168 Added directory "bridge" and contents, and added dependencies
8169 in Makefile.am/configure.in.
8170 Initial checkin of "at-bridge".
8171 This code is a GTK_MODULE which automatically registers
8172 GTK+ apps with the accessibility registry, using an object
8173 reference to the root ATK object.
8175 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8177 * po/Makefile.in.in: Remove. Again. If this
8178 doesn't get autogenerated - you need to update
8181 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8183 * po/Makefile.in.in: Add. Again.
8185 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8187 * libspi/accessible.c : added support for 'description' property.
8188 * libspi/accessible.c
8190 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8191 (since the two are now equivalent in libbonobo)
8199 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8200 Bonobo::Unknown as does Accessibility::Accessible.
8201 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8202 interface with Bonobo::Stream, since it was redundant with it.
8203 (The Stream returned by a StreamableContext object is expected to
8204 implement only a subset of Bonobo::Stream)
8206 2001-07-28 Anders Carlsson <andersca@gnome.org>
8208 * libspi/accessible.c (accessible_object_finalize): Change
8209 g_free to g_object_unref since the AtkObject is a GObject.
8211 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8213 * idl/Accessibility.idl: add new IDL files
8216 * idl/Action.idl: Definitions of actionable UI object
8217 * idl/Component.idl: Definitions of UI component geometry, etc.
8218 * idl/Hyperlink.idl: Defs of hyperlink behavior
8219 * idl/Image.idl: Def of accessible image
8220 * idl/Selection.idl: Definition of UI object with selectable children
8221 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8222 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8223 * idl/Text.idl: Interface defs for UI elements with complex textual content
8224 * idl/Value.idl: Definition of UI element that is a value controller or display
8226 2001-07-27 Michael Meeks <michael@ximian.com>
8228 * po/Makefile.in.in: remove autogenerated file from CVS.
8230 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8233 * idl/Registry.idl: include guard.
8235 * idl/Accessibility.idl: Add, and include all the other IDL
8238 * idl/*.idl: remove mass of pragmas etc.
8240 2001-07-26 Michael Meeks <michael@ximian.com>
8242 * registryd/Makefile.am (registryd_SOURCES): remove
8245 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8247 * libspi/.cvsignore, registryd/.cvsignore,
8248 test/.cvsignore: updated.
8250 * po/Makefile.in.in: gettext update.
8252 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8254 * initial CVS checkin
8256 2001-06-29 Michael Meeks <michael@ximian.com>
8258 * configure.in: add AM_CONFIG_HEADER to gen config.h