1 2007-02-26 Li Yuan <li.yuan@sun.com>
4 (impl_accessibility_accessible_get_attributes),
5 (impl_accessibility_accessible_get_relation_set):
6 Bug #404584 and #401299. Return an empty object instead of return NULL.
7 * configure.in, NEWS: Uprev/release 1.17.1.
9 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
11 * Makefile.am: Dist MAINTAINERS.
13 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
15 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
16 (atk_bridge_init), (spi_atk_bridge_get_registry),
17 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
18 Fix some compiler warnings and plug a leak. Closes part of
21 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
23 * cspi/bonobo/cspi-bonobo-listener.h:
24 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
25 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
26 * cspi/spi_main.c: (SPI_eventIsReady):
27 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
28 * libspi/streamablecontent.c:
29 * libspi/util.c: (spi_re_entrant_list_delete_link):
30 * login-helper/login-helper.c:
31 * registryd/deviceeventcontroller.c:
32 (spi_controller_update_key_grabs), (isEvent):
33 * registryd/registry.c:
34 * test/key-listener-test.c: (simple_at_exit):
35 * test/login-helper-server-test.c: (test_set_wm_dock),
37 Fix a bunch of warnings from sparse:
38 - ANSIfication of function declarations
41 - make some stuff static
43 2007-02-14 Li Yuan <li.yuan@sun.com>
45 * libspi/accessible.c:
46 (impl_accessibility_accessible_get_attributes):
47 Bug #404584. If there is no attributes, just return NULL.
49 2007-02-12 Li Yuan <li.yuan@sun.com>
51 * configure.in, NEWS: Uprev/release 1.17.0.
53 2007-02-12 Li Yuan <li.yuan@sun.com>
55 * atk-bridge/bridge.c:
56 (atk_bridge_init): bug #400709. we must emit events even if we are not
57 registered as a full-fledged app.
58 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
59 application like openoffice shutdown. They need to unload gtk before
60 the is spi_atk_bridge_exit_func called.
62 2007-01-22 Li Yuan <li.yuan@sun.com>
64 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
66 2007-01-22 Li Yuan <li.yuan@sun.com>
68 * cspi/bonobo/cspi-bonobo.c:
69 (cspi_get_registry_ior), (cspi_init):
70 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
72 2007-01-19 Li Yuan <li.yuan@sun.com>
74 * atk-bridge/bridge.c:
75 (atk_bridge_init), (spi_atk_bridge_register_application),
76 (deregister_application), (spi_atk_bridge_focus_tracker),
77 (spi_atk_emit_eventv):
78 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
81 2007-01-08 Li Yuan <li.yuan@sun.com>
83 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
85 2007-01-08 Li Yuan <li.yuan@sun.com>
87 * registryd/registry-main.c:
88 (main): set registry ior only when register server successfully.
89 * atk-bridge/bridge.c:
90 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
91 Bug #372988, #381670. Fix memory leak.
93 2007-01-02 Bill Haneman <billh@gnome.org>
96 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
97 appending default attributes to a text attribute set.
100 2006-12-28 Li Yuan <li.yuan@sun.com>
102 * atk-bridge/bridge.c:
103 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
104 the second time, because spi_atk_emit_eventv will free any. Bug
107 2006-12-15 Li Yuan <li.yuan@sun.com>
109 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
111 2006-12-14 Li Yuan <li.yuan@sun.com>
114 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
115 (spi_atk_bridge_property_event_listener),
116 (spi_atk_bridge_signal_listener):
117 Free some CORBA objects to fix memory leak and crash.
119 2006-12-13 Li Yuan <li.yuan@sun.com>
121 Patch from Ariel Rios to fix #163132 and #377079.
122 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
123 (spi_atk_bridge_get_registry_ior):
124 Use g_warning instead of g_error and g_critical to avoid crash.
126 2006-12-11 Bill Haneman <bill.haneman@sun.com>
129 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
130 if there are no non-default attributes defined at the current offset.
133 2006-12-04 Bill Haneman <bill.haneman@sun.com>
135 * idl/Accessibility_Role.idl: Fixed the documentation for
136 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
138 2006-12-04 Bill Haneman <bill.haneman@sun.com>
140 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
142 2006-11-07 Bill Haneman <bill.haneman@sun.com>
144 Patches from Padraig O'Briain for bugs #361386 and #369377.
146 * registryd/registry.c:
147 (struct NotifyContext): Change the e_out
148 member from an Accessibility_Event struct to a pointer to
150 (notify_listeners_cb): Modify to use the new struct definition above.
151 Allows use of ORBit_copy_value instead of CORBA_any__copy.
153 * registryd/deviceeventcontroller.c:
154 (spi_dec_button_update_and_emit): Free the event's any_data
156 (spi_dec_mouse_check):Free the event details any struct
158 (spi_device_event_controller_forward_mouse_event): Free any.
159 (spi_device_event_controller_forward_key_event): Ditto.
161 2006-11-07 Bill Haneman <bill.haneman@sun.com>
163 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
164 Don't require gtk+ and gail for building most of at-spi
167 * registryd/registry-main.c (main): We now get te value of display
168 using the env var DISPLAY rather than using the gdk_display_get_default
169 to avoid dependancy of gdk. Also, once the registry is started, we set
170 the ior of the registry as an X property.
171 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
173 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
174 the registration was successfull.
175 (spi_atk_bridge_do_registration): This function now returns success
176 or not on activating the registry.
177 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
178 has been set in the X root window and return it if available.
179 (spi_atk_bridge_get_registry): We now get the registry using the IOR
180 saved as a X property rather than using the OAFID.
182 2006-10-01 Bill Haneman <bill.haneman@sun.com>
184 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
186 2006-09-25 Bill Haneman <bill.haneman@sun.com>
188 * registryd/registry.c:
189 (desktop_remove_application): Don't pass a ref to the
190 dead application with the event, since it's probably
191 defunct and will cause SEGV if we try to unref,
192 extract app name, etc.
195 2006-09-20 Bill Haneman <bill.haneman@sun.com>
197 Patch from Neo Liu <nian.liu@sun.com>,
200 * atk-bridge/bridge.c:
201 (spi_atk_bridge_document_event_listener): New, for
204 2006-08-30 Bill Haneman <bill.haneman@sun.com>
207 Changed some parameter names so as not to
208 collide with class names - allows IDL to be compiled with
209 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
211 2006-08-22 Bill Haneman <bill.haneman@sun.com>
213 * atk-bridge/bridge.c:
214 (spi_atk_bridge_signal_listener):
215 Patch from Ginn Chen, assign detail1 in children-changed
216 so that the child object can be assigned to the Any when the
217 at-spi event is emitted. Bug #350552.
219 * libspi/application.c:
220 (spi_application_finalize): Remove g_print debug output.
223 2006-08-21 Bill Haneman <bill.haneman@sun.com>
225 * configure.in: Revved to AT-SPI 1.7.11.
227 * libspi/accessible.c:
228 (spi_accessible_new): Aggregate Hyperlink interface
229 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
231 * libspi/hyperlink.c:
232 (spi_hyperlink_new): Don't aggregate Action a second time if this
233 interface is created for an AtkHyperlinkImpl object (i.e. for a
234 child Accessible, as opposed to the Hyperlink instance from
236 (get_hyperlink_from_servant): Obtain the hyperlink from
237 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
239 Patch section from Ginn Chen...
241 * cspi/spi_accessible.c:
242 (_cspi_accessible_set_from_sequence):
243 Changed g_newa to g_new0 on Ginn Chen's suggestion.
245 * libspi/accessible.c:
246 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
247 (spi_accessible_new): Add the Document interface if present.
250 (impl_getAttributes): Fixed to use AtkAttribute properly.
253 (impl_getAttributes, impl_getDefaultAttributes):
254 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
256 2006-08-17 Bill Haneman <bill.haneman@sun.com>
258 * cspi/spi-private.h, cspi/spi_accessible.c:
259 (_cspi_attribute_set_from_sequence): Renamed from
260 cspi_attribute_set_from_sequence, to suppress export.
263 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
264 inline docs, which was keeping the doc from appearing.
265 (SPIExceptionHandler): Doc this.
267 * cspi/spi_document.c:
268 Added inline gtk-docs cut-n-pasted from the doxygen
269 docs in the corresponding IDL files.
270 (AccessibleDocument_getAttributes): Fix the retval here.
272 * cspi/spi_streamablecontent.c:
273 Fixed some 'Since' tags that were accidentally doxygen-style.
276 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
277 docs from the IDL file.
279 * docs/reference/cspi/at-spi-cspi-docs.sgml:
280 Added entities for Document and StreamableContent interfaces.
282 * docs/reference/cspi/at-spi-cspi-sections.txt:
283 Added some docs that were present inline but not getting
286 2006-07-31 Bill Haneman <bill.haneman@sun.com>
289 (impl_getRangeExtents): Use the atk_text_get_range_extents
290 API instead of looping over character bounds, now that
292 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
293 (_spi_text_bounds_contain): Remove, not needed anymore.
294 (_spi_text_rect_union): Remove, not needed anymore.
296 2006-07-31 Bill Haneman <bill.haneman@sun.com>
298 * atk-bridge/bridge.c:
299 (spi_atk_emit_eventv): Fix the CORBA_free call which was
300 causing 64-bit troubles and memory leaks.
301 Special thanks to Alexander Larsson who finally seems to
302 have tracked down the problem, not just here but in
306 (spi_init_any_object): Make sure we copy the CORBA value
307 when initializing an object for passing as a CORBA_Any.
310 2006-07-21 Bill Haneman <billh@gnome.org>
312 * idl/Accessibility.idl:
313 Reverted pragma changes, this broke the build in some envs
314 including the Debian team's build and some tinderbox builds.
316 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
319 Revved to 1.7.10, and edited the Xevie check (bug #319994).
321 * idl/Accessibility.idl:
322 Reworked inclusion of Bonobo_Unknown.idl, to
323 avoid double-linking libs in the Bonobo environment.
324 Thanks to Michael Meeks for the workaround, see bug #313122.
326 * registryd/deviceeventcontroller.c:
327 (spi_controller_notify_keylisteners):
328 Set the SPI_NUMLOCK_MASK bit if the modifier
329 corresponding to the conceptual numlock state is set.
332 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
334 * idl/Accessibility_Selection.idl:
335 (deselectChild): New method.
337 * libspi/selection.c:
338 (impl_deselectChild): Implement the new IDL method.
341 (AccessibleSelection_deselectChild): Added new method.
343 * cspi/spi_selection.c:
344 (AccessibleSelection_deselectChild): New method implemented.
346 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
348 * cspi/bonobo/cspi-bonobo.c:
349 (cspi_init): Replace g_error with g_warning, prevent
350 SEGV if the registry cannot be activated. Bug #346393.
352 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
354 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
356 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
357 2006-07-12 Ariel Rios <arios@us.ibm.com>
361 * idl/Accessibility_Table.idl:
362 (getRowColumnExtentsAtIndex): New method for getting
363 selection status and extents in one API call.
366 (impl_getRowColumnExtentsAtIndex): Implementation of
368 (spi_table_class_init): Add above to epv.
372 (AccessibleTable_getRowColumnExtentsAtIndex): New
373 method, retrieves selection status and row/col extents
374 for a table cell in a single API call.
376 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
377 2006-07-12 Ariel Rios <arios@us.ibm.com>
379 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
382 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
383 New bindings for new methods defined in idl and libspi.
386 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
387 Added prototype functions.
390 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
392 (spi_text_class_init): Added previous methods.
395 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
396 * libspi/spi-private.h: Corrections.
398 2006-06-29 Bill Haneman <bill.haneman@sun.com>
400 Added Document interface (see bug #326520),
401 with work from Ariel Rios <arios@us.ibm.com>.
403 * configure.in: Bump to 1.7.8.
405 * libspi/Makefile.am: Added document.[ch] to sources
408 (SpiDocument, SpiDocumentClass):
409 New interface implementation.
410 (spi_document_get_type, spi_document_construct)
411 (spi_document_interface_new): New methods added.
412 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
413 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
414 Added macros for SpiDocument
418 (spi_document_interface_new): Get a
419 new document interface. New.
420 (get_document_from_servant): Get an AtkDocument from servant New.
421 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
422 Implementation of methods defined on idl.
423 (spi_document_class_init, spi_document_init)
424 Init methods for SpiDocument. new
426 * idl/Accessibility.idl: Added Accessibility_Document.idl.
428 * cspi/Makefile.am: Added spi_document.c to sources.
430 * cspi/spi_document.c:
431 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
432 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
433 (AccessibleDocument_getAttributes): Bindings for methods defined
436 * cspi/spi_accessible.c:
437 (Accessible_isDocument, Accessible_getDocument) New.
439 (Accessible_isDocument, Accessible_getDocument)
440 (AccessibleDocument_ref, AccessibleDocument_unref)
441 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
442 (AccessibleDocument_getAttributes): Bindings added.
444 * idl/Makefile.am: Added Accessibility_Document.idl to
447 2006-06-29 Bill Haneman <bill.haneman@sun.com>
449 * idl/Accessibility_Document.idl: New interface
450 for complex documents. First stage of fix for RFE
453 2006-06-27 Bill Haneman <bill.haneman@sun.com>
455 * libspi/streamablecontent.c:
456 (impl_content_stream_close):
457 Unref the GIOChannel on close.
459 2006-06-23 Bill Haneman <bill.haneman@sun.com>
461 * idl/Accessibility_Role.idl:
462 * libspi/accessiblerole.c:
463 * cspi/spi_accessible.c: Added ROLE_LINK,
464 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
465 Bug #345758 and bug #140635.
468 2006-06-22 Bill Haneman <bill.haneman@sun.com>
472 * idl/Accessibility_StreamableContent.idl:
473 Fix derivation of StreamableContent and ContentStream.
475 * cspi/spi_streamablecontent.c:
476 (accessible_content_stream_client_read):
477 Fix the datatype of the content stream used.
478 Interpret short reads as EOF, and stop trying to
479 read when we've fulfilled the request.
480 (AccessibleStreamableContent_getContentTypes):
481 Use g_strdup, not CORBA_string_dup, for the strings.
482 (AccessibleStreamableContent_open):
483 Correctly use the new getStream method for opening,
484 not the deprecated getContent method.
485 Use the object reference as the stream hash key.
486 Make note of the 'one stream per client per streamable'
487 limitation in the docs.
490 Add streamablecontent.h to the list of #includes.
492 * libspi/streamablecontent.c:
493 (impl_content_stream_read): Initialize the GError.
494 Allocate the incoming buffer if reading a fixed length of
495 data. Use g_memmove instead of memcpy.
496 (impl_accessibility_streamable_get_content_types):
497 Init typelist->_maximum. Only allocate the buffer if
498 there is a non-zero number of content types available.
499 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
501 * libspi/streamablecontent.h:
502 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
505 (SPI_IS_VALUE): Fix a typo in this macro too.
507 2006-06-16 Bill Haneman <bill.haneman@sun.com>
511 * idl/Accessibility_StreambleContent.idl:
512 Deprecate the Bonobo_Stream-based methods in favor of
513 a self-contained "ContentStream" interface. This should
514 allow us to remove BonoboStream dependencies entirely, since
515 there were no non-NIL implementations of the old methods anyway.
516 (ContentStream): New interface.
517 (ContentStream::SeekType): Enum.
518 (ContentStream::seek): New.
519 (ContentStream::read): New.
520 (ContentStream::close): New.
521 (getContent): Deprecate.
522 (getURI): New method, returns a URI pointing to the content, if available.
524 * libspi/streamablecontent.c:
525 (SpiContentStream): Internal object type definition used to
526 implement Accessibility::StreamableContent::ContentStream via
527 AtkStreamableContent's GIOChannel back-end.
528 (spi_content_stream_new, spi_content_stream_dispose): See above;
530 (impl_content_stream_seek, impl_content_stream_read):
531 (impl_content_stream_close): New, implementations of
533 (impl_accessibility_streamable_get_stream): Implement the
534 public method Accessibility::StreamableContent::getStream.
535 (impl_accessibility_streamable_get_uri): Implement the
536 public method Accessibility::StreamableContent::getURI.
538 * cspi/spi_streamablecontent.c:
539 (accessible_bonobo_stream_client_seek): Replaced by
540 (accessible_content_stream_client_seek).
541 (accessible_bonobo_stream_client_read): Replaced by
542 (accessible_content_stream_client_read).
543 (AccessibleStreamableContent_open):
544 (AccessibleStreamableContent_seek):
545 (AccessibleStreamableContent_read):
546 (AccessibleStreamableContent_close): Use the new 'getStream'
547 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
549 2006-06-15 Bill Haneman <bill.haneman@sun.com>
551 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
552 remove from other .idl files (except LoginHelper).
555 2006-06-14 Bill Haneman <bill.haneman@sun.com>
557 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
560 * configure.in, */Makefile.am: mingw patch, modified from
561 original patch by yselkowitz. Bug #314216.
563 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
564 for completeness. Bug #163111.
566 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
567 * libspi/util.c, registryd/registry-main.c:
568 Fix guint/char* casts.
569 Patch from chpe, bug #333883.
571 2006-06-12 Bill Haneman <bill.haneman@sun.com>
573 * configure.in: Require atk-1.12.0, to pick up
574 new API. (bug #344412).
576 * libspi-1.0-uninstalled.pc.in:
578 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
579 Fix for #341488 from Samual Thibault.
581 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
582 Thanks to Brian Pepple.
584 2006-06-09 Bill Haneman <bill.haneman@sun.com>
587 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
588 New, missing implementations of attribute reading methods
591 * cspi/spi.h, spi_value.c:
592 (AccessibleValue_getMinimumIncrement): New methods wrapping
593 the (formerly unimplemented) property from Value.idl.
596 (impl_get_minimumIncrement): Implementation for retrieving
597 the minimum valuator increment, (formerly unimplemented).
600 2006-06-09 Bill Haneman <bill.haneman@sun.com>
602 * idl/Accessibility_State.idl:
603 Added STATE_VISITED (bug #338369).
605 * cspi/spi_accessible.c:
606 (spi_state_to_corba) Fixed marshalling of new statetypes.
609 (spi_init_state_tables, impl_getStates):
610 Fixed conversion of new statetypes to/from ATK.
612 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
614 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
615 definitions/conversions for new roles from ATK.
617 * idl/Accessibility_Relation.idl:
619 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
620 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
621 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
623 * libspi/accessible.c: Fixed marshalling of new role types from
626 2006-04-17 Matthias Clasen <mclasen@redhat.com>
628 * revert my previous change
630 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
632 * configure.in: Remove obssolete no_NO locale
633 * po/no.po: And the translation.
635 2006-04-05 Matthias Clasen <mclasen@redhat.com>
637 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
638 memory-management error that caused crashes on x86_64.
641 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
643 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
645 2006-03-27 Bill Haneman <bill.haneman@sun.com>
647 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
648 to strip "cspi_*" from the symbol table.
650 * cspi/spi_streamablecontent.c:
651 (get_streams): Make this method static.
654 (_cspi_exception_throw): rename to cspi_exception_throw,
655 so we can strip it with the rest...
658 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
660 2006-03-27 Bill Haneman <bill.haneman@sun.com>
662 Add doxygen-generated IDL docs to tarball, and enable
663 doxygen during build/install when available. Bug #301345.
665 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
667 * docs/reference/Makefile.am: Add idl to SUBDIRS.
669 * docs/reference/idl/Makefile.am: Optionally use
670 doxygen to create docs.
672 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
674 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
676 2006-03-20 Bill Haneman <bill.haneman@sun.com>
679 (impl_get_selected_rows): Don't free the selection if it's
680 empty or has not been assigned; init it to NULL so you can tell.
681 Also, allow for zero selected rows.
682 (impl_getSelectedColumns): Ditto. Bug #319088.
684 2006-03-11 Vincent Untz <vuntz@gnome.org>
686 Leak fix for bug #334217.
688 * libspi/application.c: spi_application_toolkit_event_listener():
689 don't duplicate the string we pass as an argument to
690 spi_init_any_nil() since spi_init_any_nil() already does it
691 * registryd/deviceeventcontroller.c:
692 (spi_dec_button_update_and_emit): ditto
693 (spi_dec_mouse_check): ditto
694 (spi_dec_emit_modifier_event): ditto
695 (spi_device_event_controller_forward_mouse): ditto
696 * registryd/registry.c:
697 (desktop_add_application): ditto
698 (desktop_remove_application): ditto
700 2006-02-20 Bill Haneman <billh@gnome.org>
702 * configure.in: Rev to 1.7.6.
704 Leak fixes for bug #331924.
706 * atk-bridge/bridge.c:
707 (spi_atk_bridge_init_base): Don't dup the string, it's already
708 been dup-ed. Fixes a leak.
709 (spi_atk_emit_eventv): Move the CORBA_free call here,
710 instead of spi_atk_state_event_listener; fixes another leak.
711 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
712 notifying the registry; fixes another leak.
714 * registryd/registry.c:
715 (registry_flush_event_queue): Free the CORBA_any when
716 flushing the event, not just the string. Fixes another leak.
717 (registry_queue_event): Free the CORBA_any when dropping
718 events on the floor; fixes another leak.
721 (spi_init_any_object, spi_init_any_nil):
722 Always set _release to TRUE. Fixes another leak.
724 2006-02-20 Bill Haneman <billh@gnome.org>
726 * configure.in: Rev to 1.7.5.
727 Reinstate localization of this module. Thanks for Rodney
728 Dawes for fixing my patch.
730 * registryd/Makefile.am: Remove Accessibility_Registry.server
731 from dist, since it needs to be re-created at configure time.
734 2006-01-31 Bill Haneman <billh@gnome.org>
736 * configure.in: Rev to 1.7.4 (to include build fix below).
738 * idl/Makefile.am: Include Selector.idl in dist.
742 (cspi_internal_event_get_object): Handle case where
743 "object" isn't present, i.e. CORBA_TC_Object doesn't match
744 the EventDetails data.
745 (cspi_internal_event_get_text): Handle NULL string.
746 (cspi_internal_event_get_rect): Handle missing/empty rect
747 data, Accessibility_TC_RectBounds doesn't match any_data.
749 2006-01-30 Bill Haneman <billh@gnome.org>
753 * atk-bridge/bridge.c:
754 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
755 interface and use that when instantiating a new source
756 accessible. Better fix for bug #321814.
758 2006-01-27 Bill Haneman <billh@gnome.org>
760 * idl/Accessibility_Selector.idl: Added to the cvs repository.
762 * configure.in: Revved to 1.7.3.
764 2006-01-17 Bill Haneman <billh@gnome.org>
766 * configure.in: Revved to 1.7.2, re-dist to include docs.
768 2006-01-09 Bill Haneman <billh@gnome.org>
770 * configure.in: Removed po/Makefile.in inclusion, we do not need
773 * idl/Accessibility.idl: Improved documentation here, and for all
774 IDL in the 'GNOME::Accessibility' namespace.
776 * idl/Accessibility_Accessible.idl:
777 (LOCALE_TYPE): Added enum.
778 (AttributeSet): New, for returning multiple name/value attribute pairs.
779 (RoleSet): New, sequence of Roles, to be used in upcoming
781 (getAttributes): New API, allows retrieval of name/value pair
782 annotations for all kinds of Accessible objects. C.f.
783 Text:getAttributes, which is only for typographic/textual/semantic tags in
785 (getApplication): New, retrieves the host/containing Application
786 instance for an object (without having to walk up the whole tree).
788 * idl/Accessibility_Component.idl:
789 (getAlpha): New method, returns the alpha blending (aka 'opacity')
790 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
793 * idl/Accessibility_Event.idl:
794 (EventDetails): New struct definition, for encapsulating
795 commonly-queried information about emitted events. The use of
796 this structure in emitted events (in the 'any' member of
797 Accessibility_Event) should greatly reduce the number of
798 client-server roundtrips necessary.
800 * idl/Accessibility_Image.idl:
801 (imageLocale): New, a readonly attribute indicating the POSIX
802 LC_MESSAGES locale of the image and associated Alt/descriptive
805 * idl/Accessibility_Relation.idl:
806 (RELATION_PARENT_WINDOW_OF): Include, as complement to
809 * idl/Accessibility_Role.idl:
810 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
811 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
812 complex document and form support.
814 * idl/Accessibility_State.idl:
815 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
816 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
817 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
818 for support of complex documents and forms.
820 * idl/Accessibility_StreamableContent.idl:
821 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
822 allow old bonobo-stream interfaces to be deprecated in the next
825 * idl/Accessibility_Text.idl:
826 (getAttributeValue): New method, allows query-by-name of single
829 * libspi/accessible.c:
830 Added support for new roles. Implemented new methods
831 (impl_accessibility_accessible_get_application): New
832 (impl_accessibility_accessible_get_attributes): New
834 * libspi/component.c:
835 (impl_accessibility_component_get_alpha): New.
838 (impl_accessibility_image_get_locale): New.
840 * libspi/relation.c: Added support for new relation type.
842 * libspi/stateset.c: Added support for new state types.
845 (impl_getAttributeValue): New.
848 New prototypes for private methods
850 spi_init_any_object, spi_init_any_string,
853 * libspi/spi_event.c:
854 Use EventDetails in the event emission methods.
856 * cspi/spi-private.h:
857 (cspi_role_from_spi_role): Expose this adapter method, since
858 we need it in the bridge (see below).
861 (AccessibleEvent_getSourceName):
862 (AccessibleEvent_getSourceRole):
863 (AccessibleEvent_getSourceApplication):
864 (AccessibleEvent_getSourceDetails):
865 New methods for interrogating/demarshalling
866 event details (i.e. source's accessible name, role,
869 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
870 Make use of the new EventDetails struct in events, if present.
871 (AccessibleEvent_getSourceName)
872 (AccessibleEvent_getSourceRole)
873 (AccessibleEvent_getSourceApplication)
874 (AccessibleEvent_getSourceDetails): Implement the newly exposed
876 (Accessible_getAttributes): New, wraps
877 Accessibility_Accessible_getAttributes.
878 (Accessible_getHostApplication): New, wraps
879 Accessibility_Accessible_getApplication.
882 (AccessibleImage_getImageLocale): New wrapper for
883 Accessibility_Image_get_imageLocale.
885 * cspi/spi_component.c:
886 (AccessibleComponent_getAlpha): New wrapper for
887 Accessibility_Component_getAlpha.
889 * atk-bridge/bridge.c:
890 Use new prototyped for init_any methods.
891 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
892 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
893 (spi_atk_bridge_init_base): Wrappers
894 for spi_init_any_* methods, due to refactor; include extended
895 information in the Accessibility_EventDetails struct, for instance
896 accessible-name, Role, and containing Application.
898 * registryd/registry.c:
899 Use new event emission (with EventDetails).
901 * registryd/deviceeventcontroller.c:
902 Use new event emission (with EventDetails).
904 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
906 * configure.in: Generate po/Makefile.in
907 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
908 * cspi/spi_streamablecontent.c:
909 (accessible_bonobo_stream_client_seek),
910 (AccessibleStreamableContent_seek): Remove unused vars.
911 * libspi/application.c: Missing header.
912 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
913 * login-helper/login-helper.c: (login_helper_finalize),
914 (login_helper_init): Remove unused stuff
915 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
916 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
917 and surround some with #ifdef GRAB_BUTTON.
918 * test/event-listener-test.c: (main), (report_event),
919 (report_caret_event), (report_detail_event),
920 (report_detail1_event), (report_bounds_event), (report_text_event),
921 (report_text_selection_event),
922 (report_active_descendant_changed_event),
923 (report_children_changed_event), (report_name_changed_event),
924 (report_description_changed_event), (report_parent_changed_event),
925 (report_window_event), (report_table_summary_event),
926 (report_table_header_event), (report_table_caption_event),
927 (report_table_row_description_event),
928 (report_table_column_description_event), (timing_test_event):
929 Remove a bunch of unused variables and fix a slew of format specifiers
930 * test/key-listener-test.c: (report_all_key_event): Format specifier
931 * test/keypad-test.c: (print_key_event): Same
932 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
934 * test/screen-review-test.c: (main), (print_chunk_debug),
935 (review_buffer_get_text_chunk), (debug_chunk_list),
936 (string_guess_clip), (text_chunk_get_clipped_string),
937 (text_chunk_list_to_string), (get_screen_review_line_at):
938 Remove unused variables and fix format specifiers.
939 * test/simple-at.c: (report_text_event): Format specifier fix.
940 * test/stress-test.c: (main): Remove unused var.
942 2005-12-29 Abel Cheung <maddog@linuxhall.org>
944 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
945 (yes I know that's useless)
947 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
949 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
951 2005-11-17 Michael Meeks <michael.meeks@novell.com>
953 * atk-bridge/bridge.c (spi_atk_emit_eventv):
954 urgh-fix embarassing typo.
956 2005-11-16 Michael Meeks <michael.meeks@novell.com>
958 * atk-bridge/bridge.c (spi_atk_emit_eventv):
959 do a faster, less problematic _unref call on this local
960 object, rather than a slower (potentially cross-thread
961 complicated) CORBA call.
963 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
965 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
966 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
967 * registryd/deviceeventcontroller.c:
968 (spi_controller_notify_mouselisteners),
969 (impl_generate_keyboard_event):
970 * test/screen-review-test.c: (chunk_bounds_within):
971 * test/test-simple.c: (test_desktop): Remove some unused code
972 and fix compiler warnings. Closes bug #320049.
974 2005-10-27 Bill Haneman <bill.haneman@sun.com>
976 * registryd/deviceeventcontroller.c:
977 (spi_controller_notify_keylisteners): Check
978 to make sure the event listener has requested 'preemptive'
979 status before pre-empting an event.
981 2005-08-29 Bill Haneman <bill.haneman@sun.com>
983 * configure.in, README, NEWS: Release 1.6.5.
985 2005-07-25 Matthias Clasen <mclasen@redhat.com>
987 * test/window-listener-test.c: Fix a printf
988 format error. (#169453)
990 2005-07-15 Bill Haneman <bill.haneman@sun.com>
992 * tests/test-simple.c:
993 (key_listener_cb): Ensure that the keystring is dup'ed instead of
994 relying on the old string from the key event hanging around after
995 the event handler returns. Fixes broken 'make check'.
997 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
999 * Added Marathi (mr_IN) translations.
1001 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1003 * cspi/bonobo/cspi-bonobo-listener.c:
1004 (cspi_event_list_remove_by_cb): Fix the build.
1006 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1008 * cspi/bonobo/cspi-bonobo-listener.c
1009 (cspi_event_list_remove_by_cb): actually filter by callback.
1011 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1013 * registryd/registry.c (remove_listener_cb):
1014 Make deregistration filter rules match the event emission rules.
1016 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1018 * registryd/registry.c (remove_listener_cb),
1019 (impl_accessibility_registry_deregister_global_event_listener),
1020 (impl_accessibility_registry_deregister_global_event_listener_all):
1021 pass a closure to the remove callback to filter listeners more
1022 accurately on remove.
1024 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1026 * configure.in: Revved to 1.6.4.
1027 Remember to put quotes around XEVIE_LIBS assignment.
1028 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1031 * tests/event-listener-test.c: Tweaked the tests - more detail
1032 from caret events, and some interrogation of AccessibleText APIs.
1033 Commented-out the bounds-changed events by default, since they can
1036 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1038 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1039 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1040 Same here. Closes bug #167806
1042 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1044 * atk-bridge/bridge.c:
1045 (spi_atk_bridge_signal_listener):
1046 Free the any._value if any._release is TRUE,
1047 since the ORB won't do it for us in this case
1048 [because this method is not a skel].
1049 Fix for bug #168679.
1051 2005-03-30 Steve Murphy <murf@e-tools.com>
1053 * configure.in: Added "rw" to ALL_LINGUAS.
1055 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1057 * configure.in: Improved check for HAVE_XEVIE, to detect
1058 presence on XOrg, where -lXevie is a separate library.
1060 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1062 * configure.in, NEWS, README: Revved to 1.6.3.
1064 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1066 * configure.in: Added "xh" to ALL_LINGUAS.
1068 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1070 * atk-bridge/bridge.c:
1071 (atk_bridge_init): Added missing NULL in g_strconcat(),
1072 also check for symlink before logging to
1073 insecure directory. Thanks to meissner@suse.de.
1075 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1077 * tests/login-helper-server-test.c: Add return call to main
1078 function. Patch from Chris Lahey. Fixes bug #165129.
1080 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1082 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1084 2004-12-09 Bill Haneman <billh@gnome.org>
1086 * registryd/registry-main.c:
1087 Added #define <string.h> for strrchr. (bug 160862).
1088 Thanks to Vincent Berger for catching.
1090 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1092 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1093 restart registry process if the registry process is found to have died
1094 and the current process is exiting.
1095 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1096 application if the registry process has died.
1097 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1098 does not return a registry object.
1099 (spi_atk_tidy_windows): Give up if the registry process has died.
1101 This fixes problems with hangs and crashes when logging out.
1103 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1105 * registryd/desktop.c: Add checking that we are not exiting before
1106 calling spi_desktop_remove_application in
1107 abnormal_application_termination. Fix for bug #152147.
1109 2004-12-02 Bill Haneman <billh@gnome.org>
1111 * configure.in, NEWS, README: Revved to 1.6.1.
1113 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1114 * atk-bridge/bridge.c:
1115 (atk_bridge_init): Save the pid when we start, to detect forks.
1116 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1117 if we're in a forked pid.
1119 2004-10-09 Bill Haneman <billh@gnome.org>
1121 * idl/Accessibility_LoginHelper.idl:
1122 Improved inline documentation.
1124 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1126 * configure.in: Added gl (Galician) to ALL_LINGUAS
1128 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1130 * libspi/accessible.c:
1131 (impl_accessibility_accessible_get_role_name),
1132 (impl_accessibility_accessible_get_local_role_name):
1133 NULL vs. 0 cleanups.
1134 * libspi/component.c:
1135 (impl_accessibility_component_get_accessible_at_point):
1137 * libspi/eventlistener.c: (spi_event_listener_new):
1139 * libspi/stateset.c: (impl_compare): More of the same
1140 * libspi/table.c: (impl_getRowDescription): Again.
1141 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1142 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1143 (impl_generate_keyboard_event): Same.
1144 * registryd/registry-main.c: (main): Same
1145 * test/event-listener-test.c: (test_exit): Same
1146 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1147 * test/keysynth-test.c: (test_key_synthesis): Same
1148 * test/login-helper-server-test.c: (main): Fix warning.
1149 * test/screen-review-test.c: (test_exit): Fix include.
1150 * test/simple-at.c: (simple_at_exit), (_festival_init):
1153 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1155 * configure.in, NEWS, README: Revved to 1.6.0.
1157 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1159 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1160 was missing the HTML docs.
1162 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1164 * configure.in: only cleanups:
1165 - better looking PKG_CHECK_MODULES() output,
1167 - declare in one common place required versions of other tools using
1170 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1172 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1173 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1174 required ATK version accordingly.
1176 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1178 * cspi/bonobo/cspi-bonobo.c:
1179 (cspi_display_name): Fix C99ism.
1180 * atk-bridge/bridge.c:
1181 (spi_display_name): Fix C99ism.
1182 Patch from Jens Granseuer, jensgr@gmx.net.
1184 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1186 * configure.in: Added "or" to ALL_LINGUAS.
1188 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1190 * configure.in, NEWS, README: Revved to 1.5.4.
1192 * registryd/registry-main.c:
1193 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1196 * cspi/bonobo/cspi-bonobo.c:
1197 (cspi_display_name): New convenience method, gets DISPLAY with
1198 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1199 (cspi_init): Set the activation env value above before getting
1202 * atk-bridge/bridge.c:
1203 (spi_display_name): Create the AT_SPI_DISPLAY activation
1204 environment for an app, based on the DISPLAY environment with the
1205 screen number stripped off.
1206 (atk_bridge_init): Allow redirection of error messages to a log.
1207 (spi_atk_bridge_get_registry): Call
1208 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1210 Fixes for bugs #149962, #136986, #144086.
1212 2004-08-16 Christian Rose <menthos@menthos.com>
1214 * configure.in: Added "bs" to ALL_LINGUAS.
1216 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1218 * configure.in: Added nb to ALL_LINGUAS.
1220 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1223 (SPI_init): Return error code '2' if the activated
1224 registry cannot be pinged. Fixes bug #147648.
1226 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1228 * registryd/deviceeventcontroller.c:
1229 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1230 rely on timer-poll instead, to avoid conflict with
1233 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1235 * configure.in: Revved to 1.5.3.
1237 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1239 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1241 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1243 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1245 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1247 * atk-bridge/bridge.c:
1248 (spi_atk_bridge_do_registration):
1249 Register with ATK for AtkComponent:bounds-changed events.
1250 (api_atk_bridge_signal_listener):
1251 Marshal the AtkRectangle info into the event notification
1252 for object:bounds-changed events.
1255 (spi_init_any_rect): New method, inits a corba struct of
1256 type Accessibility_BoundingBox from an AtkRectangle.
1258 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1261 (SPIRect): New struct definition.
1262 (SPI_freeRect): New declaration.
1263 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1266 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1267 implemented. Gets the bounding box data from the CORBA_any
1268 associated with a bounds-changed event notification.
1269 (cspi_internal_event_get_rect): New, used internally by above method.
1272 (SPI_freeRect): Implemented this new method, for freeing
1275 * test/event-listener-test.c:
1276 (main, report_bounds_event):
1277 Added a test for object:bounds-changed events.
1279 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1281 * test/login-helper-server-test.c:
1282 (main): Fix C99-ism. Thanks to Jens Granseuer.
1284 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1286 * libloginhelper-1.0.pc.in:
1287 * idl/Accessibility_LoginHelper.idl:
1288 * login-helper/Makefile.am:
1289 * login-helper/login-helper.[ch]:
1290 * test/login-helper-client-test.c:
1291 * test/login-helper-server-test.c: Added files missing from CVS.
1292 Files obtained from at-spi-1.5.2 tarball.
1294 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1296 * configure.in: Create login-helper/Makefile.
1297 Incremented micro version.
1299 * Makefile.am: Add login-helper subdir and pkgconfig data.
1301 * login-helper: New subdir.
1303 * libloginhelper-1.0.pc.in: New.
1305 * idl/Accessibility_LoginHelper.idl: New file, defines
1306 interface whereby authentication clients can identify agents which
1307 need access to services during the login process, e.g. screen lock
1310 * login-helper/Makefile.am : New.
1312 * login-helper/login-helper.[ch] : New, implementation of
1313 a LoginHelper base class. Services needing LoginHelper can subclass.
1315 * test/Makefile.am : Added test for login-helper, client and
1318 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1319 Use proper prefix in #include files.
1321 * test/login-helper-client-test.c: New.
1323 * test/login-helper-server-test.c: New.
1325 2004-05-27 Alexander Shopov <ash@contact.bg>
1327 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1329 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1331 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1332 is positive. This should make it easier to detect inapprorpiate unref
1335 2004-05-11 James Henstridge <james@daa.com.au>
1337 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1338 no-op and deprecated.
1340 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1342 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1344 2004-04-28 Bill Haneman <billh@gnome.org>
1346 * Makefile.am: Added --enable-gtk-doc to
1347 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1349 2004-04-19 Bill Haneman <billh@gnome.org>
1351 * configure.in: Revved to 1.5.1.
1353 * registryd/deviceeventcontroller.c:
1355 (DEControllerPrivateData): Added fields for
1356 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1357 (spi_dec_replace_map_keysym): New internal utility for
1358 replacing a keysym in the keymap - used to allow
1359 synthesis of individual characters which aren't in the
1361 (spi_dec_reset_reserved): New; resets the changed keysym value
1363 (keycode_for_keysym): We now try to deal with failed
1364 XKeysymToKeycode requests by changing a keymap value
1365 and returning a reserved keycode. We now take
1366 a DEController pointer as first arg.
1367 (spi_controller_register_with_devices): Call XkbGetMap with
1368 the XkbKeySymsMask. Find the highest keycode in the current
1369 keymap which doesn't have any grabs, and mark that one for
1370 temporary re-mapping when out-of-range KeySyms are synthesized.
1371 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1374 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1376 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1378 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1380 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1382 2004-03-24 Bill Haneman <billh@gnome.org>
1385 (AccessibleTable_addRowSelection),
1386 (AccessibleTable_addColumnSelection),
1387 (AccessibleTable_removeRowSelection),
1388 (AccessibleTable_removeColumnSelection):
1389 Add declarations for spi wrappers which were
1390 inadvertantly omitted. Fixes bug #133413.
1393 Revved to 1.5.0 (unstable series for GNOME 2.7).
1395 2004-03-24 Bill Haneman <billh@gnome.org>
1397 * atk-bridge/bridge.c:
1398 Bracketed some debug output in
1399 conditionals, to avoid printing it in normal use.
1402 * libspi/hyperlink.c:
1403 Don't cast 'object' to ATK_OBJECT when constructing
1404 an AtkAction interface for a hyperlink.
1405 See discussion in bug #120659.
1407 * test/key-listener-test.c:
1408 (report_all_key_event): Send output to stderr,
1409 not stdout, for consistency with the rest of the test callbacks.
1412 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1413 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1414 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1415 try incrementing the revision AFTER doing a dist, at least
1418 2004-03-22 Bill Haneman <billh@gnome.org>
1420 * configure.in: Revved to 1.4.0, libtool 9.14.9
1422 2004-03-17 Laszlo Peter <laca@sun.com>
1424 * libspi-1.0-uninstalled.pc.in: add idldir
1426 * cspi-1.0-uninstalled.pc.in: add idldir
1428 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1430 * configure.in: Added "en_GB" to ALL_LINGUAS
1432 2004-03-15 Bill Haneman <billh@gnome.org>
1434 * configure.in: Revved to 1.3.16,
1437 2004-03-15 Laszlo Peter <laca@sun.com>
1439 * libspi-1.0-uninstalled.pc.in: new file
1441 * cspi-1.0-uninstalled.pc.in: new file
1443 * configure.in: add the new pc files to AC_OUTPUT
1445 * Makefile.am: add the new pc files to EXTRA_DIST
1447 2004-03-12 Bill Haneman <billh@gnome.org>
1449 * atk-bridge/bridge.c:
1450 (spi_atk_bridge_key_listener):
1451 Make sure to return consumed=FALSE if snoop
1452 event is not dispatched to listener.
1455 2004-03-01 Bill Haneman <billh@gnome.org>
1457 * configure.in: Revved to 1.3.15,
1460 2004-03-07 Danilo Segan <dsegan@gmx.net>
1462 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1464 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1466 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1468 2004-03-01 Bill Haneman <billh@gnome.org>
1470 * configure.in: Revved to 1.3.14.
1473 (SPI_exit): Removed "bye-bye" exit message.
1474 Moved "leak" report to happen before the
1475 iteration over the leaked refs list.
1476 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1478 2004-02-24 Bill Haneman <billh@gnome.org>
1480 * configure.in: Revved to 1.3.13.
1482 * docs/reference/cspi/Makefile.am:
1483 Correct typo that was breaking the docs build.
1485 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1487 * autogen.sh: Require version 1.7 of automake.
1489 * configure.in: call GTK_DOC_CHECK([1.0])
1491 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1493 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1495 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1497 * test/Makefile.am: Remove use of CFLAGS.
1499 This fixes bug #132987.
1501 2004-02-11 Bill Haneman <billh@gnome.org>
1503 * reverted most of Tomasz' patch below, since it was breaking
1504 builds (see bug #134058).
1506 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1508 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1509 correct pass "make dist" (empty .. because seems no sach types in
1510 header files with gtk-doc markups).
1511 * docs/reference/cspi/Makefile.am, configure.in:
1512 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1513 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1514 * Makefile.am: added:
1515 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1516 for force correct pass generate documentation on "make distcheck".
1517 * libspi/Makefile.am: fixes for automake >= 1.6.
1518 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1519 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1522 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1524 * docs/reference/cspi/Makefile.am (install-data-local): Install
1525 index.sgml since the doc autobuilder on widget.gnome.org looks for
1528 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1530 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1533 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1535 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1537 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1539 * test/simple-at.c: Fixed null string problems that cause core
1540 dumping problems on Solaris.
1542 2004-01-12 Bill Haneman <billh@gnome.org>
1544 * configure.in: Incremented version to 1.3.11.
1546 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1548 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1549 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1552 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1554 * configure.in: Added "fa" to ALL_LINGUAS.
1556 2003-12-20 Arafat Medini <lumina@silverpen.de>
1558 * configure.in: Added "ar" to ALL_LINGUAS
1560 2003-12-16 Bill Haneman <billh@gnome.org>
1562 * registryd/registry-main.c:
1564 Set the reg_env DISPLAY variable before registering the
1565 activated registry service. Fixes bug #129479.
1567 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1569 * configure.in: Added "id" in ALL_LINGUAS
1570 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1572 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1574 * registryd/deviceeventcontroller.c (global_filter_fn):
1575 When an event is consumed discard any XEvents were added to
1576 the queue while dealing with the the event. This can happen if
1577 processing of the event takes a long time. Call XUngrabKeyboard
1578 if an event was discarded. This fixes bug $124837.
1579 Only call wait_for_release_event for a KeyPress.
1580 Use local variable display instead of spi_get_display().
1581 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1584 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1586 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1587 Allow for mask to contain values other than NumLock mask.
1590 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1592 * registryd/devieceventcontroller.c:
1593 (wait_for_release_event): Change first parameter from GdkEvent to
1595 (global_filter_fn); Correct call to wait_for_release_event.
1599 2003-12-08 Bill Haneman <billh@gnome.org>
1603 * registryd/ucs2keysym.c: New file.
1605 * registryd/deviceeventcontroller.c:
1606 (dec_keysym_for_unichar): Remove old partial implementation and
1607 replace with call to ucs2keysym(), which is much more complete.
1608 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1613 2003-12-05 Bill Haneman <billh@gnome.org>
1615 * configure.in: Version 1.3.9.
1617 * docs/reference/cspi/tmpl/spi_registry.sgml:
1618 Added reference to libspi/keymasks.h to the
1619 description of Registry queries: AccessibleKeyMaskType.
1622 2003-12-04 Bill Haneman <billh@gnome.org>
1624 Fix for bug #121974.
1626 * idl/Accessibility_Application.idl:
1627 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1628 setlocale's LC_TYPEs.
1629 (Accessibility::Application::getLocale): New method.
1630 Allows clients to query the locale, by type, of an app.
1633 * cspi/spi_application.c:
1634 (AccessibleApplication_getLocale): New method, wraps IDL above.
1636 * libspi/application.c:
1637 (spi_application_class_init): Init epv entry for getLocale.
1638 (impl_accessibility_application_get_locale): Impl for above.
1640 * test/test-simple.c:
1641 (test_application): Added assertion for getLocale, i.e.
1642 that the string from AccessibleApplication_getLocale (app, type)
1643 is the same as that from setlocale (type, NULL);
1645 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1647 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1648 the keyboard on a timeout intil the key state goes from pressed to
1649 released. Fixes bug #111429.
1651 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1653 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1654 root object so that it is present when a context menu in an
1655 out-of-process applet is popped up.
1656 (spi_atk_bridge_do_registration): Create acceessible application root
1657 object only if it does not exist.
1659 This fixes bug #125834.
1661 2003-12-01 Bill Haneman <billh@gnome.org>
1663 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1666 Added enum for AccessibleStreamableContentSeekType.
1667 (AccessibleStreamableContent_freeContentTypeList): New.
1669 * cspi/spi_streamablecontent.c:
1670 (accessible_bonobo_stream_client_seek): New private method.
1671 (AccessibleStreamableContent_seek): Implemented this method,
1672 using Bonobo_Stream_seek.
1673 (AccessibleStreamableContent_freeContentTypeList): New method
1674 for freeing the return value from
1675 AccessibleStreamableContent_getContentTypes.
1676 (stream_cache_item_free): Replaces stream_release; stop leaks.
1677 (stream_release): removed.
1678 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1679 free the memory properly.
1681 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1683 Fix for bug #116009.
1685 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1687 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1689 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1691 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1693 2003-12-01 Bill Haneman <billh@gnome.org>
1695 Fix for bug/rfe #127463.
1697 * idl/Accessibility_Accessible.idl:
1698 (getLocalizedRoleName): New.
1699 (unimplemented4): Removed (replaced by above).
1701 * libspi/accessible.c:
1702 (impl_accessibility_accessible_get_local_role_name): New.
1703 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1707 (Accessible_getLocalizedRoleName): New.
1709 * cspi/spi_accessible.c:
1710 (Accessible_getLocalizedRoleName): New.
1712 2003-12-01 Bill Haneman <billh@gnome.org>
1714 Fix for bug #118581.
1715 * idl/Accessibility_Text.idl:
1716 (getDefaultAttributes): New.
1717 (unimplemented4): Removed (replaced by above method).
1720 (impl_getDefaultAttributes): New method.
1721 (spi_text_class_init):
1722 initialize the get_default_attributes slot in the epv.
1725 (AccessibleText_getDefaultAttributes): New prototype.
1728 (AccessibleText_getDefaultAttributes): New method.
1730 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1732 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1733 write beyond the end of the table. Fixes bug #120473.
1735 2003-09-30 Christian Rose <menthos@menthos.com>
1737 * configure.in: Added "eu" to ALL_LINGUAS.
1739 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1741 * configure.in: ALL_LINGUAS: Added no.
1743 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1745 * configure.in: Added lt to ALL_LINGUAS.
1747 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1749 * atk-bridge/bridge.c:
1750 (atk_bridge_init): Register event listeners always even for
1751 out-of-process applet.
1752 (spi_atk_bridge_toplevel_added): Remove call to
1753 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1754 (spi_atk_bridge_toplevelk_removed): Remove call to
1755 spi_atk_deregister_event_listenersa as the listeners are now always
1757 (spi_atk_bridge_register_application): Remove call to
1758 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1760 This fixes bug #120991.
1762 * libspi/table.c (impl_getColumnDescription): Correct typo,
1763 pointed out by Bolian.Yin@sun.com.
1765 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1767 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1769 2003-09-08 Bill Haneman <billh@gnome.org>
1771 * configure.in: Revved to 1.3.7.
1773 This is the GNOME 2.4.0 release of at-spi.
1775 * docs/reference/cspi/Makefile.am:
1776 Removed spurious inclusion of 'index.sgml' in the
1777 html directory; this was breaking make distcheck and
1778 also some other build environments.
1780 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1782 * registryd/registry.[ch}:
1783 Add queue_handler_id and focus_object to SpiRegistry data structure.
1784 (registry_flush_event_queue): If event being discarded is
1785 "state-change:focused" store object as focus_object.
1786 (registry_start_queue): Remove queue handler and focus object
1788 (registry_discard_event): New function which discards a focus event
1789 if we had stored focus object in the registry.
1790 (registry_queue_event): Add new check that is_queueing is set as this
1791 function is reentrant.
1792 (registry_filer_event): Add call to registry_discard_event.
1794 This resolves issues raised in bug #108664.
1796 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1798 * configure.in: Added "bn" to ALL_LINGUAS.
1800 2003-09-04 Bill Haneman <billh@gnome.org>
1802 * cspi/spi_event.c: Documentation improvements for
1803 (SPI_registerAccessibleKeylistener).
1805 * docs/reference/tmpl/spi_registry.sgml:
1806 Documentation improvements for SpiAccessibleKeylistenerCB.
1808 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1810 * configure.in: Added "ro" to ALL_LINGUAS.
1813 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1815 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1816 not decremented to zero. Fixes bug #120725.
1818 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1820 * configure.in: Added "ja" to ALL_LINGUAS.
1822 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1824 * configure.in: Added "is" to ALL_LINGUAS.
1826 2003-08-22 Christian Rose <menthos@menthos.com>
1828 * configure.in: Added "nl" to ALL_LINGUAS.
1830 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1832 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1833 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1835 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1837 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1838 type for unspecified exception.
1839 * cspi_streamablecontect): Add include of string.h for memcpy.
1840 (stream_release): Correct call to bonobo_object_release_unref
1841 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1842 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1843 argument of _cspi_expection_throw.
1844 * libspi/hyperlink.c: Add include of libspi/action.h:
1845 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1846 * libspi/streamablecontent.c: add include of libspi/component.h.
1847 * regisrtyd/deviceeventcontroller.c:
1848 (spi_dec_translate_mask): Removed unused variable priv.
1849 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1850 * registryd/registry.c:
1851 (registry_filter_event): Remove unused variable queue_is-empty.
1852 (impl_registry_notify_event): Use correct modifier in fprintf call.
1854 This fixes compiler warnings reported in bug #120220.
1856 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1858 * registryd/registryd.c: Remove this file.
1860 2003-08-17 Sanlig Badral <badral@openmn.org>
1862 * configure.in: Added mn to ALL_LINGUAS.
1864 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1866 * configure.in: Added et to ALL_LINGUAS.
1868 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1870 * test/event-listener-test.c: Change active-descendant to
1871 active-descendant-changed.
1873 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1875 * configure.in: Added "fi" in ALL_LINGUAS.
1877 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1879 * configure.in: Added "hi" in ALL_LINGUAS.
1881 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1883 * configure.in: Revved to 1.3.6.
1887 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1889 * registryd/deviceeventcontroller.c
1890 (spi_device_event_controller_object_finalize): Fix typo in previous
1893 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1895 * registryd/deviceeventcontroller.c
1896 (spi_device_event_controller_object_finalize): Fix build on
1897 systems without XEvIE.
1899 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1901 * acconfig.h, configure.in, registryd/Makefile.am,
1902 registryd/devicecontoller.[ch]: Add XEViE support.
1904 2003-08-06 Wang Jian <lark@linux.net.cn>
1906 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1908 2003-08-06 Metin Amiroff<metin@karegen.com>
1910 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1912 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1914 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1915 MODIFIER_ALT in correct place.
1917 This fixes part of bug #118114.
1919 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1921 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1923 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1925 * configure.in: Added "ko" to ALL_LINGUAS.
1927 2003-07-28 Ole Laursen <olau@hardworking.dk>
1929 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1931 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1933 * configure.in: Added "sq" to ALL_LINGUAS.
1935 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1937 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1939 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1941 * configure.in: updated ALL_LINGUAS list
1943 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1945 * configure.in: Added Belarusian to ALL_LINGUAS.
1947 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1949 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1951 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1952 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1954 This fixes bug #116949.
1956 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1958 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1959 Correct CSPI to SPI in function documentation.
1961 This fixes bug #118054.
1963 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1965 * configure.in: Added Russian to ALL_LINGUAS.
1967 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1969 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1971 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1973 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1975 2003-07-10 Joel Brich <joel.brich@laposte.net>
1977 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1979 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1981 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1983 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1985 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1986 resources allocated for AccessibleEvent. See cspi_event().
1988 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1989 static variable streams to NULL.
1991 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1992 Update so that AcessibleEvent_ref will work.
1994 This fixes bug #116624.
1996 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1998 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2000 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2002 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2004 2003-07-02 Christian Neumair <chris@gnome-de.org>
2006 * configure.in: Added "de" (German) to ALL_LINGUAS.
2008 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2010 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2012 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2014 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2016 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2018 * configure.in: Added "pl" to ALL_LINGUAS.
2020 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2022 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2024 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2027 (get_action_from_servant):
2028 Removed assertion that action is implemented on an AtkObject.
2030 * libspi/hyperlink.c:
2031 (spi_hyperlink_new):
2032 Aggregate AccessibleAction interface on the hyperlink object if
2033 the object implements AtkAction. (This convention is used in
2036 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2038 * configure.in: Revved to 1.3.5.
2040 * registryd/Accessibility_Registry.server.in.in:
2041 Marked up appropriate strings for translation.
2043 * atk-bridge/bridge.c: Marked a couple of
2044 user-visible warnings for translation. Questionable
2045 whether they are really useful, but possibly so.
2048 2003-06-28 Christian Rose <menthos@menthos.com>
2050 * configure.in: Added "sv" to ALL_LINGUAS.
2052 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2054 * registryd/registry.c:
2055 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2056 (registry_defer_on_event): Defer focus: events, this is an
2057 improvement to the patch for bug #108664.
2059 * TODO: Update with 2.4/"Dev Complete" items.
2061 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2063 * atk-bridge/bridge.c:
2064 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2065 looks up signals once.
2066 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2067 if doing registration.
2068 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2069 when doing registration.
2071 This fixes bug #115014.
2073 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2075 * atk-bridge/bridge.c:
2076 (atk_bridge_init): Add signal handler for children-changed:remove on
2077 root when in a BonoboComponent.
2078 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2079 for first toplevel only other incrememt variable toplevels.
2080 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2081 application and remove listeners.
2082 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2084 (spi_atk_deregister_event_listeners): New function which removes
2086 (reinit_register_vars): New fuction which reinitializes variables.
2088 This fixes bug #111578.
2090 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2092 * configure.in: version 1.3.4.
2094 * cspi/spi_accessible.c:
2095 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2098 2003-06-13 Michael Meeks <michael@ximian.com>
2100 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2102 * cspi/spi_main.c (cspi_peek_ev): impl.
2104 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2106 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2108 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2110 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2111 SPI_ROLE_AUTOCOMPLETE
2113 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2115 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2116 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2118 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2120 * libspi/streamablecontent.h:
2121 * libspi/streamablecontent.c:
2122 New files, provide implementation/wrappers for
2123 Accessibility_StreamableContent.
2125 * cspi/spi_streamablecontent.c:
2126 Connected the C wrappers to the libspi C bindings.
2127 (AccessibleStreamableContent_close): New method.
2130 (AccessibleStreamableContent_close): New method, needed
2131 since we have an "open, [seek], read, close" model in cspi.
2133 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2135 Fix for #108664; Padraig's revision of my original patch.
2137 * registryd/registry.h:
2138 Added event queue list, is_queuing, and exit_notify_timeout
2139 to the registry struct.
2141 * registryd/registry.c:
2142 (registry_init): Initialize new struct from registry.h.
2143 (impl_registry_notify_event):
2144 Filter events before notifying, in case some need to be
2146 (registry_filter_event): New,
2147 we defer certain incoming events (for instance
2148 window:deactivate) because we may wish to hide
2149 or reject them based on pending events. This is
2150 mostly a workaround for bug #108664.
2151 (registry_queue_event, registry_start_queue): New.
2152 (registry_defer_on_event): Test event to see if it
2154 (registry_reset_on_event): Returns TRUE if the
2155 event should cause a queue reset.
2156 (registry_discard_on_event): Returns TRUE if the event
2157 should cause the previous queue contents to be discarded.
2158 (registry_timeout_flush_queue): Flushes the pending event
2159 queue if no reset/discard-triggering events have come in
2160 within the timeout period.
2161 (registry_emit_event): New.
2162 (registry_clone_notify_context): New, used when queueing the
2163 event notify contexts.
2165 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2167 * configure.in: Version revved to 1.3.2, lt 0.9.2
2168 Incremented ATK required version to 1.3.4.
2170 * cspi/spi_registry.c:
2171 (SPI_generateKeyEvent):
2172 We now pass the keystring along if it's non-null.
2174 * registryd/deviceeventcontroller.c:
2175 (keysym_mod_mask): New method, returns modifier mask
2176 required to generate a keysym from a given keycode.
2177 (dec_synth_keysym): New method.
2178 (dec_synth_keystring): New method.
2179 (dec_get_modifier_state): New method.
2180 (dec_lock_modifiers): New
2181 (dec_unlock_modifiers): New.
2182 (dec_keysym_for_unichar): New, rather brute-force
2183 conversion from UCS-4 to X KeySyms. Only works for
2184 Latin at the moment, with partial implementations for
2185 Greek, Hebrew, and (incomplete) Katakana.
2186 (impl_generate_keyboard_event): Now implement
2187 "KEYSTRING" synthesis and implement "KEYSYM"
2189 (keycode_from_keysym): Improved, passes a returned
2190 modmask value now if the corresponding param is non-NULL.
2192 Fixes bugs #92143 and #109776.
2195 * test/keysynth-test.c:
2196 New test program for key synthesis, to confirm fixes for
2200 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2202 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2204 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2205 Add line for RELATION_POPUP_FOR
2207 * docs/reference/cspi/tmpl/spi_relation.sgml:
2208 Add relation SPI_RELATION_POPUP_FOR
2210 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2211 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2213 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2215 * libspi/relation.c (spi_init_relation_type_table):
2216 Add line for RELATION_POPUP_FOR
2218 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2220 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2221 there are still windows which have not been deleted and emit
2222 window:deactivate, if necessary and window:destroy events.
2223 This fixes bug #114370. The change on June 5th was not correct.
2225 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2227 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2230 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2232 New methods for client exception handling and interception.
2233 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2234 (SPI_exceptionHandlerPop): You guessed it...
2235 (SPI_getSourceType): Return the type of object which offended.
2236 (SPI_getExceptionCode): Return an enum code telling, possibly,
2237 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2238 (SPIAccessibleException_getSource): get the source object for
2239 exceptions that come from Accessibles, if SPIExceptionSourceType is
2240 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2241 (SPIException_getDescription): New, returns a string description of
2242 the problem. [Not yet a stable ABI, strings are not frozen]
2244 * cspi/spi-private.h:
2245 Added implementation details of opaque SPIException
2249 Implementations of above. Also
2250 (_cspi_exception_throw): new private method that
2251 dispatches exceptions to handlers, called from cspi-bonobo.c
2253 * cspi/bonobo/cspi-bonobo.c:
2254 (cspi_check_ev): call _cspi_exception_throw.
2255 Don't print a warning message if the exception has been
2256 handled by _cspi_exception_throw.
2258 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2260 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2261 there are still windows which have not been deleted and emit
2262 window:deactivate, if necessary and window:destroy events.
2263 This fixes bug #114370.
2265 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2268 (cspi_accessible_is_a): Make non-fatal
2269 if the object reference is dead.
2271 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2273 * cspi/spi_main.c: #include <stdio.h>
2274 * test/simple-at.c: ditto
2275 * test/event-listener-test.c: ditto
2276 * test/screen-review-test.c: ditto
2278 2003-05-30 Michael Meeks <michael@ximian.com>
2280 * test/test-simple.c (main): use CORBA_ORB_perform_work
2281 instead of an unnecessary linc_ call.
2283 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2285 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2286 Add SPI_STATE_INDETERMINATE.
2288 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2291 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2293 * libspi/stateset.c (init_state_type_tables): Add support for
2296 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2298 * configure: Update versions of atk and gail required.
2299 This fixes bug #113268.
2301 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2303 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2305 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2307 * libspi/Makefile.am:
2308 Ensure headers are generated before being used by c sources.
2310 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2313 Simplified lt versioning rules.
2314 Incremented version to 1.3.0, to indicate that we're on the
2315 unstable branch now.
2317 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2319 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2320 Add MKDB_OPTIONS=--outtput-format=xml
2322 * docs/reference/cspi/at-spi-cspi-docs.sgml
2323 docs/reference/idl/at-spi-idl-docs.sgml:
2324 Convert to Docbook XML.
2326 This fixes bug #111793.
2328 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2330 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2331 AcccessibleKeyEventType, AccessibleKeyMaskType.
2333 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2335 * cspi/state-types.h: Add documentation for AccessibleState.
2337 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2338 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2339 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2340 AccessibleComponentLayer.
2342 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2345 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2347 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2348 Accessible. Add description of AccessibleEvent,
2349 AccessibleEventListenerCB.
2351 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2354 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2355 documentation. Add description of AccessibleKeystrokeListenerCB,
2356 AccessibleKeyEventMask, AccessibleModifierMaskType,
2357 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2358 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2360 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2363 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2366 This fixes bug #104730.
2368 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2370 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2371 Set is_text field of Accessibility_DeviceEvent data structure.
2373 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2374 is-text field of AccessibleDeviceEvent data structure.
2376 This addresses part of bug #108666.
2378 * registryd/devcieeventcontroller.c: Unset debug option.
2380 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2382 * cspi/accessible.c:
2383 (cpi_initial_relation_type_table): New function which initializes
2384 mapping between Accessibility_RelationType and AccessibleRelationType.
2385 (cspi_relation_type_from_spi_relation_type): New function which
2386 translates an Accessibility_RelationType into an AccessibleRelationType.
2387 (AccessibleRelation_getRelationType): Use
2388 cpi_relation_type_get_spi_relation_type to return correct value.
2389 (spi_state_to_corba): Return correct type for default case.
2391 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2392 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2394 * cspi/cspi-bonobo-listener.c:
2395 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2398 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2399 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2400 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2401 libspi/image.c, libspi/listener.c, libspi/selection.c,
2402 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2403 registryd/desktop.c, registryd/registry.c:
2404 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2406 * libspi/eventlistener.c
2407 Remove semicolon after BONOBO_TYPE_FUNC.
2409 * libspi/relation.c:
2410 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2411 (spi_init_relation_type_table): Initialize using correct type.
2413 * registryd/desktop.c:
2414 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2415 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2416 of Accessibility_KeyEventType.
2418 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2421 * tests/simple-at.c, tests/screen-review-test.c:
2422 Add include for <strings.h>.
2424 * tests.stress-test.c:
2425 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2427 These changes fix compiler warnings when using FORTE compiler on
2428 Solaris; fixes bug #107479.
2431 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2434 * configure.in: revved to 1.1.10
2436 * libspi/keymasks.h:
2437 (SPI_KEYMASK_NUMLOCK): Added.
2439 * registryd/deviceeventcontroller.c:
2440 (spi_key_event_matches_listener): AND with a smaller
2441 bitmask (as we should).
2442 (spi_dec_translate_mask):
2443 New method, sets the virtual NumLock modifier bit
2444 if numlock is on. Eventually it can handle other virtual
2445 modifier bits if needed, or other marshalling from
2446 at-spi modifier masks to platform (X) masks.
2447 (spi_dec_key_listener_new):
2448 Call spi_dec_translate_mask to set up virtual mod bits
2449 in the 'mask' field when creating a new listener struct.
2450 (spi_dec_emit_modifier_event):
2451 Set the virtual (i.e. NumLock) bits before emitting event.
2452 (spi_controller_register_with_devices):
2453 Query for the NumLock modifier 'physical' bit if Xkb is
2454 present, for use in above methods.
2458 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2460 * registryd/deviceeventcontroller.c:
2461 (spi_keystroke_from_x_key_event):
2462 Instead of checking to see if the keysym is
2463 printable, check the string from XLookupString
2464 if available, get the first unicode character from it,
2465 and call g_unichar_isprint to determine whether the
2466 is_text flag should be TRUE or FALSE.
2470 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2472 * atk-bridge/bridge.c: Add support for extended events
2473 * cspi/spi_event.c: Add documentation and implementation for
2475 * tests/event-listener-test.c: Add tests for extended events.
2477 This fixes bugs #100424 and #100426.
2479 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2481 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2482 of LT_CURRENT. This fixes bug #89350.
2484 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2486 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2487 number of signal parameter values before accessing them. This fixes
2490 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2492 * configure.in: Fixed duplicate inclusion of -lspi.
2493 * branched for gnome-2-2/HEAD.
2494 [created tag "gnome-2-2"]
2496 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2498 * configure.in: 1.1.9 release.
2501 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2503 [needed by GOK, to fix bugs 107985 and 107988]
2504 * registryd/deviceeventcontroller.c:
2505 (spi_dec_clear_unlatch_pending):
2506 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2507 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2508 (spi_dec_init_mouse_listener):Emit warning if mouse button
2510 (spi_device_event_controller_forward_mouse_event):
2511 Removed unnecessary parens from a conditional.
2512 (global_filter_fn):Added TODO comment.
2513 (impl_generate_keyboard_event):
2514 Cancel a pending relatch if a 'delatching' key was
2517 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2519 * atk-bridge/bridge.c:
2520 Change atk_signal_child_changed to atk_signal_children_changed.
2521 Reorganize code in spi_atk_bridge_signal_listener().
2523 * test/event-listener-test.c:
2524 Add children_changed_listener and report_children_changed_event()
2525 to test AccessibleChildEvent_getChildAccessible.
2527 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2529 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2530 g_strdup to CORBA_String_dup (bug #105291)
2532 * test/event-listener-test.c (report_text_event): Add call to
2535 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2537 * registryd/deviceeventcontroller.c:
2538 (spi_keystroke_from_x_key_event):
2539 Fix string and keysym return codes to match modifier state.
2542 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2544 * registryd/deviceeventcontroller.c:
2545 (spi_keystroke_from_x_key_event):
2546 Fix segv due to improper use of isprint(c). [bug #107254]
2548 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2551 (get_accessible_text_boundary_type):
2552 Move default return value to (new) default case in switch.
2553 (get_accessible_text_clip_type):
2554 Move default return value to (new) default case in switch.
2556 * libspi/application.c:
2557 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2558 Remove unused methods.
2559 (impl_accessibility_application_register_object_event_listener):
2560 Remove unused methods.
2563 Added #include of <math.h>.
2565 * registryd/deviceeventcontroller.c:
2566 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2567 we don't currently use this method.
2568 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2570 (impl_generate_key_event):
2571 Remove unused variables.
2572 (impl_generate_mouse_event):
2573 Initialize button to zero, just in case we get an invalid
2574 input. Added support for mouse buttons 4 and 5.
2575 (spi_device_event_controller_new):
2576 Removed unused variable declaration for 'private'.
2578 Added #include of <gdk/gdk.h>
2580 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2582 * configure.in: Update to work when X is not installed in expected
2583 location. Fixes bug #105836.
2585 * atk-bridge/bridge.c
2586 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2588 (spi_atk_register_event_listener): Add signal listener for
2590 (spi_atk_bridge_signal_listener): Event event when link-selected
2591 signal is emitted. (bug #104622)
2593 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2594 on returned string. (bug #105291)
2596 * test/event-listener-test.c: Add test for link-selected.
2598 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2600 * atk-bridge/Makefile.am: Correct typo in previous commit.
2602 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2604 * atk-bridge/Makefile.am: Allow for build directory to be different
2605 from source directory
2607 * registryd/Makefile.am: Allow for build directory to be different
2608 from source directory
2612 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2615 Fixed dependencies for libcspi so that libspi gets pulled in
2616 properly. Fixes 104741.
2620 Clean up inline docs a little.
2622 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2624 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2625 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2626 the AtkObject within an SpiDesktop.
2627 This addresses bug #101524.
2629 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2630 Remove call to gdk_init().
2632 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2633 so that Display is set when SpiDesktop is created.
2635 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2637 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2638 This fixes bug #102830.
2640 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2642 * test/test-simple.c: Update to take account of fact that GailButton
2643 now implements AtkText.
2644 (create_text_window): Set name on AtkObject for GtkEntry.
2645 (validate_accessible): Check accessible name before calling test_text().
2647 * libspi/Makefile.am: Fix problem with building outside of source
2648 directory. Bug #98120.
2650 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2651 typo in documentation comments. Bug #94275.
2653 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2655 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2657 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2660 Add includes to avoid compiler warnings on Solaris.
2661 (impl_getRangeExtents): Bug fix.
2663 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2665 Fix for 100944, [API addition approved by Gman and murrayc].
2672 * idl/Accessibility_Text.idl:
2673 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2674 (Text::getRangeExtents): New method for efficient
2675 bounds query of a text range.
2676 (Text::getBoundedRanges): New method for efficient
2677 clipping of text to bounding boxes.
2678 (unImplemented7, unImplemented8):
2679 Removed these padding methods to preserve bincompat.
2682 (impl_getRangeExtents): implementation of new IDL.
2683 (impl_getBoundedRanges): implementation of new IDL.
2684 (SpiTextRect): Internal use struct.
2685 (_spi_text_rect_union): internal method, calculates union of two
2686 SpiTextRect bounding rects.
2687 (_spi_text_range_seq_from_gslist): internal method, allows us
2688 to build our sequence efficiently as a gslist then convert it
2690 (_spi_bounds_contain): internal method, determines whether
2691 a text character is "in" or "out" of a clip rect according to
2692 values of TEXT_CLIP_TYPE.
2693 (spi_text_class_init): Initialize the new methods in the epv.
2696 (AccessibleTextClipType): New enum used by screen review api.
2697 (AccessibleTextRange): New struct used by screen review api.
2698 (AccessibleText_getRangeExtents):
2699 cspi binding for Accessibility_Text_getRangeExtents.
2700 (AccessibleText_getBoundedRanges):
2701 cspi binding for Accessibility_Text_getBoundedRanges.
2702 (AccessibleTextRange_freeRanges): convenience method.
2705 (AccessibleText_getRangeExtents):
2706 cspi binding for Accessibility_Text_getRangeExtents.
2707 (AccessibleText_getBoundedRanges):
2708 cspi binding for Accessibility_Text_getBoundedRanges.
2709 (AccessibleTextRange_freeRanges): convenience method.
2710 (get_accessible_text_clip_type): internal conversion method.
2711 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2713 * registryd/deviceeventcontroller.c:
2714 (spi_dec_mouse_check):
2715 Improved behavior for mouse:abs events
2716 [same granularity as mouse:rel events, and no
2717 events when mouse is idle].
2719 2002-12-16 Michael Meeks <michael@ximian.com>
2721 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2723 * libspi/stateset.c (state_spi_to_atk): split out
2724 ( fix several remote array bounds nasties )
2725 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2726 (impl_remove): make safe from array bounds issues.
2727 (spi_atk_state_from_spi_state): impl.
2729 * libspi/stateset.h (spi_state_set_cache_is_empty):
2730 add a set of wrapper defines to get layering right.
2732 * cspi/spi_accessible.c: update state set stuff to
2735 2002-12-14 Michael Meeks <michael@ximian.com>
2737 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2738 to avoid 2 roundtrips to the registry per key event
2739 (spi_atk_bridge_key_listener): upd.
2740 (deregister_application): release the dec.
2742 * registryd/registry.c (notify_listeners_cb):
2743 bin lots of re-enterant complexity - we no longer
2744 do a round-trip bonobo ref here, ensure that a single
2745 listener's exception failure won't poison all other
2747 (impl_registry_notify_event): bin obvious memory leak.
2749 2002-12-13 Michael Meeks <michael@ximian.com>
2751 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2752 init the ev so the error is meaningful.
2753 (spi_atk_bridge_key_listener): ditto.
2755 * cspi/spi_main.c (cspi_ev): init the ev so we start
2756 with a clean slate, otherwise the first exception
2757 kills us completely.
2759 * cspi/spi_text.c (get_accessible_text_boundary_type):
2760 add a fallthrough for no warnings.
2762 * cspi/spi_registry.c: prune unused warnings.
2764 * cspi/spi_main.c (cspi_object_take): fix
2765 mind-blowing brokenness ( by watching the compile
2768 * cspi/spi_accessible.c (Accessible_getStateSet):
2769 re-impl. to use an AtkStateSet.
2770 (spi_state_type_from_accessible_state),
2771 (init_state_table): bin these.
2773 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2775 (atk_state_set_from_accessibility_state_set): here.
2777 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2778 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2779 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2780 (AccessibleStateSet_add, AccessibleStateSet_remove),
2781 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2782 (AccessibleStateSet_isEmpty): re-write to use a local
2785 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2787 * configure.in: Revved to 1.1.7 (new keymask vals).
2789 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2791 * libspi/keymasks.h:
2792 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2794 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2797 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2798 to compare two CORBA_TypeCodes.
2799 (cspi_internal_event_add): Silence warning from FORTE compiler.
2801 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2802 avoid implicit declaration of functions.
2804 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2806 * atk-bridge/bridge.c:
2807 (spi_atk_bridge_init_event_type_consts): Store signal id for
2808 active-descendant-changed signal.
2809 (spi_atk_register_event_listeners): Add signal listener for
2810 active-descendant-changed signal,
2811 (spi_atk_bridge_signal_listener): Move code in function
2812 spi_atk-signal_emit_event() into this function.
2813 Add support for active-descendant-changed
2814 Update support for child-changed signal.
2815 (spi_bridge_window_event_listener): Silence warning.
2817 * libspi/spi_private.[ch]:
2818 (spi_init_any_object): Change second parameter from CORBA_Object to
2820 Omit call to CORBA_Object_duplicate().
2821 Set CORBA_any's _value to CORBA_Object*.
2823 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2829 (AccessibleEvent_ref, AccessibleEvent_unref):
2830 New methods, for persisting an event outside the emission context.
2831 Must be used if the new accessor methods are to be called
2832 outside of the event listener's callback.
2834 * cspi/bonobo/cspi-bonobo.c:
2835 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2836 as second parameter instead of NULL, so we can call
2837 cspi_check_ev afterwards.
2840 (cspi_object_take): New internal method,
2841 converts a CORBA_Object reference to a hard ref on
2842 an Accessible if possible, returning NULL if the object
2843 reference is invalid or an Accessible * otherwise.
2846 (AccessibleEvent_ref):
2847 Increment the event's internal private refcount, and
2848 add the event's internal struct to an internal cache
2849 if it's not already there.
2850 (AccessibleEvent_unref):
2851 Decrement the event's refcount and remove it from
2852 the cspi event cache if refcount==0.
2853 (cspi_event_compare): New private method.
2854 Compares two event structs via their ids. Used
2856 (cspi_internal_event_lookup): New private method.
2857 (cspi_internal_event_check): New private method,
2858 a 0-order sanity check for events to make sure their
2859 private data is intact.
2860 (cspi_internal_event_add, cspi_internal_event_remove):
2861 New private methods for managiing the event cache.
2863 * cspi/bonobo/cspi-bonobo-listener.c:
2865 Initialize the new private data elements (id, magic, ref_count).
2867 * atk-bridge/bridge.c:
2868 (spi_atk_bridge_signal_listener):
2869 Fixed bug #100530, passing wrong params to emission func.
2871 * registryd/deviceeventcontroller.c:
2872 (spi_dec_button_update_and_emit):
2873 Fixed type in mask bit operations; fix for #99799.
2875 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2877 Removed some of the more dangerous workarounds from
2878 previous commit; they are only needed by GOK, which
2879 in reality should be using another method to accomplish
2880 the goals. So on reconsideration some of the workarounds
2881 need to be reverted:
2883 * registryd/deviceeventcontroller.c:
2884 (spi_keycodes_contain, spi_dec_init_keycode_list):
2885 Removed these methods, used only by a nasty hack to try
2886 and detect whether a key synthesis should be allowed
2887 to reset the XKB latch state or not. This code was only
2888 required to work around an interaction between GOK,
2889 button events, and XKB.
2890 (impl_generate_key_event):
2891 Removed hack at end of key generation that tried to
2892 "do the right thing" if XKB latch keys were generated
2893 in the midst of button press/release pairs.
2896 Added a check for HAVE_XINPUT. Not normally used yet.
2898 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2900 Workarounds and fixes for mouse event/XKB interaction.
2902 * registryd/deviceeventcontroller.c:
2903 (spi_keycodes_contain, spi_dec_init_keycode_list):
2904 New internal methods.
2905 (spi_dec_set_unlatch_pending):
2906 Split the method that tells XKB to expect an
2907 unlatch (and revert it) out of the rest of the
2908 event handling code. This method is called by the
2909 two mouse event handlers (the poll and the filter).
2910 (spi_dec_update_and_emit, spi_dec_mouse_check):
2911 New methods split from spi_dec_poll_mouse_moved.
2912 The second one is now called from inside the filterFn
2913 when an XKB delatch event is received, to determine
2914 whether to revert the delatch or not.
2915 (spi_poll_mouse_moved): Refactor; also we can now
2916 properly handle the case where multiple button states
2917 have changed between polling cycles and we didn't get
2918 notified due to another client's grab.
2920 Synchronize the server while handling an XKB notification.
2921 Ugly, but apparently necessary to avoid nasty races.
2922 Check the mouse state on receipt of an XKB latch change,
2923 to decide whether to revert the latch or not. (Latches are
2924 reverted if there is an immediately preceding mouse button
2925 event that a client has consumed, in which case we don't want
2926 the user to see the side-effect of the event).
2927 (spi_device_event_controller_forward_mouse_event):
2928 Check for modifier events and fire before resetting mouse_mask_state,
2929 prevents losing modifier events.
2931 (impl_generate_keyboard_event):
2932 If we've just generated a keyboard event for a non-shift key,
2933 we don't want to revert the pending XKB latch.
2934 Otherwise, check the modifier state (via a call to
2935 spi_dev_mouse_check) and set the relatch mask to
2936 that state before returning.
2938 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2941 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2944 * atk-bridge/bridge.c:
2945 (spi_atk_register_event_listeners):
2946 Don't re-register for ATK events if the registry has died
2947 and the app needs to re-register; the ATK listeners are in
2948 process and doing so will cause duplicate emission.
2950 * registryd/deviceeventcontroller.c:
2951 (spi_poll_mouse_moved):
2952 Reformat the source, detect and emit multiple button-change
2953 events (i.e. if multiple buttons have changed between poll
2955 Add code to detect mouse-down events even when the pointer
2956 is grabbed; workaround for GOK bug 98420.
2957 (spi_controller_register_with_devices):
2958 Call XTestGrabControl with 'impervious' flag set to True,
2959 allows us to synthesize events and query the pointer even during
2960 an active grab by another client.
2961 (spi_device_event_controller_forward_mouse_event):
2962 Set the mouse_mask_state to the mouse_button_state from
2963 the intercepted event, to synchronize the grab listener with
2966 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2968 * cspi/spi_accessible.c:
2969 (AccessibleRole_getName):
2970 Added necessary strings for making this (deprecated)
2971 method work with the new role types.
2972 (init_role_table, role_table):
2973 Added definition of SPI_ROLE_APPLICATION.
2975 * libspi/spi-roletypes.h:
2976 Added SPI_ROLE_APPLICATION.
2978 * idl/Accessibility_Role.idl:
2979 Added ROLE_APPLICATION.
2981 * docs/reference/cspi/at-spi-cspi-decl.txt:
2982 Added SPI_ROLE_APPLICATION to docs.
2984 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2986 * cspi/spi_accessible.c
2987 (cspi_init_role_table): Do not write beyond end of role_table.
2988 (Accessible_getRole): Use correct type for value returned by
2989 Accessibility_Accessible_getRole().
2991 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2992 beyond end of role_table. (This fixes bug #98269)
2994 * libspi/application.c: Add include file spi-private.h for
2995 definition of spi_init_any_nil.
2997 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3001 * libspi/spi-private.h:
3002 Added DGB() macro, and extern int _dbg declaration.
3004 * registryd/registry.c:
3005 (definitions) storage for _dbg.
3006 (spi_registry_init):
3007 Get environment variable "AT_SPI_DEBUG".
3008 (spi_registry_set_debug):
3009 New method, to initialize _dbg value.
3010 (spi_listener_struct_new, spi_registry_object_finalize):
3011 (notify_listeners_cb):
3012 Changed fprintfs to use DBG and g_warning().
3014 * registryd/deviceeventcontroller.c:
3015 (_deregister_keygrab, spi_controller_register_device_listener):
3016 Changed debug/warning messages to use DBG macro.
3018 * libspi/listener.c:
3019 (impl_notify_event):
3020 Changed warning messages to use DBG macro and g_warning().
3022 * atk-bridge/bridge.c:
3023 (atk_bridge_init, spi_atk_bridge_get_registry):
3024 (spi_atk_bridge_exit_func):
3025 (spi_atk_bridge_property_event_listener):
3026 Changed status, warning, and error messages to use
3027 g_warning, g_message, and DBG macros.
3030 Read the state of the AT_SPI_DEBUG environment variable
3031 and set a local '_dbg' accordingly.
3033 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3035 FIXES for 98836, 98842, other bugs.
3038 Revved to 1.1.4, interface-age=4, binary-age=4.
3040 * registryd/deviceeventcontroller.c:
3042 Fixed crasher bug in last_mouse_pos initialization.
3044 * registryd/registry.c:
3045 (desktop_add_application, desktop_remove_application):
3046 Added (and then commented out) some support for
3047 object context marshalling. [TODO]
3049 * atk-bridge/bridge.c:
3050 (spi_atk_bridge_event_context_create):
3051 Commented out object context creation until it can
3052 be properly tested and debugged.
3054 * registryd/registry.c:
3055 (impl_registry_notify_event):
3056 Fixed crasher bug, we were calling
3057 spi_re_entrant_list_foreach () with an empty list.
3059 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3061 * idl/Accessibility_Action.idl:
3062 * idl/Accessibility_Component.idl:
3063 * idl/Accessibility_Desktop.idl:
3064 * idl/Accessibility_Event.idl:
3065 * idl/Accessibility_Hyperlink.idl:
3066 * idl/Accessibility_Image.idl:
3067 * idl/Accessibility_Relation.idl:
3068 * idl/Accessibility_Selection.idl:
3069 * idl/Accessibility_State.idl:
3070 * idl/Accessibility_Value.idl:
3071 Updated unimplemented slot count to minimum of
3072 four for all interfaces, for ABI freeze.
3074 * idl/Accessibility_EditableText.idl:
3075 * idl/Accessibility_Text.idl:
3076 Updated unimplemented slot count to six
3079 * idl/Accessibility_Registry.idl:
3080 Updated unimplemented slot count to six
3081 (also for DeviceEventController),
3084 * idl/Accessibility_Table.idl:
3085 Updated unimplemented slot count to eight,
3088 * idl/Accessibility_Event.idl:
3089 Added CORBA_any "any_data" member to Event struct.
3091 * idl/Accessibility_Event.idl:
3092 Added CORBA_any "any_data" member to Event struct.
3094 * atk-bridge/bridge.c:
3096 atk_signal_text_changed, atk_signal_child_changed,
3097 signal ids queried from gtype system.
3098 (AtkBridgeEventContextType): New enum.
3099 (AtkBridgeEventContextData): New struct.
3100 (AtkBridgeEventContext): New struct.
3101 (atk_bridge_init_event_type_consts):
3102 New method, initializes type contants for comparison
3103 prior to emit_eventv.
3104 (atk_bridge_event_context_init): New method,
3105 initializes a CORBA_any from an AtkBridgeEventContext.
3106 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3107 initialize the event.any_data struct.
3108 (spi_atk_bridge_event_context_create): New method,
3109 creates an AtkBridgeEventContext from signal/event info.
3110 (spi_atk_bridge_event_context_free): New method.
3111 (spi_atk_emit_eventv): Changed to take an
3112 AtkBridgeEventContext parameter. We now initialize
3113 the event.any_data member prior to notifying the
3114 Registry, via the AtkBridgeEventContext.
3115 (spi_atk_bridge_property_event_listener):
3116 (spi_atk_bridge_state_event_listener):
3117 Match emit_eventv signature.
3118 (spi_atk_bridge_object_event_listener):
3119 Match emit_eventv signature, and create an
3120 event context from the event details.
3121 Free the event context afterwards.
3122 (spi_atk_bridge_window_event_listener):
3123 Create an event context, pass it to the
3127 (AccessibleEvent_getContextString):
3128 (AccessibleEvent_getContextObject):
3129 New methods, allow query of AccessibleEvent objects
3130 for more context details (via the "any_data" member
3131 of the Event struct, above).
3134 Definitions for AccessibleEvent_getContextString
3135 and AccessibleEvent_getContextObject.
3137 * cspi/spi_listener.h:
3138 (InternalEvent): New struct.
3141 (AccessibleEvent_getContextString):
3142 (AccessibleEvent_getContextObject):
3143 Implementations of new methods, for obtaining
3144 additional context information from some event types.
3146 * cspi/spi_registry.c:
3147 (SPI_registerGlobalEventListener):
3148 Added mention of active-descendant-changed event in docs.
3150 * cspi/cspi-bonobo-listener.c:
3152 Marshal the any into the AccessibleEvent via
3155 * libspi/spi-private.h:
3156 #include <orbit/orbit.h>
3158 (spi_init_any_string):
3159 (spi_init_any_object):
3160 New convenience function declarations.
3164 (spi_init_any_string):
3165 (spi_init_any_object):
3166 New convenience function implementations.
3168 * registryd/deviceeventcontroller.c:
3169 (spi_poll_dec_mouse_moved):
3170 (spi_device_event_controller_forward_mous_event):
3171 Initialize any_data member of event.
3172 (spi_deregister_controller_device_listener):
3173 Fix incorrect param pass which was preventing deregistration.
3175 * registryd/registry.c:
3176 (desktop_add_application):
3177 (desktop_remove_application):
3178 Add object data to event's any_data before dispatch.
3180 Fix for error messages from GAIL.
3182 * test/event-listener-test.c:
3183 Test new ContextString and "any_data" API:
3184 (report_text_event): New method query and output context string.
3185 (main): register a new text listener with report_text_event
3188 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3190 Fixes for bugs 98127 and 97914.
3191 * cspi/spi-roletypes.h:
3192 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3194 * cspi/spi-statetypes.h:
3195 Added SPI_STATE_MANAGES_DESCENDANTS
3197 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3198 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3199 * cspi/spi_accessible.c:
3200 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3201 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3202 Accessibility_STATE_MANAGES_DESCENDANTS
3203 * libspi/accessible.c:
3204 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3205 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3206 As requested by Bill, I also cleaned up the alignment.
3207 * libspi/relation.c:
3208 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3209 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3210 * libspi/stateset.c:
3211 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3212 Accessibility_STATE_MANAGES_DESCENDANTS
3213 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3214 Document changes reflecting modifications to roles.
3215 * docs/reference/cspi/tmpl/spi_relation.sgml:
3216 Document changes reflecting modifications to relations.
3217 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3218 Document changes reflecting modifications to states.
3220 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3223 Revved to 1.1.3, interface-age=3, binary-age=3.
3224 Added REBUILD macro.
3227 Removed accessx-gui from the tests, since we have a nice
3228 keyboard accessibility capplet now :-)
3230 * test/keysynth-demo.c:
3231 (increment_scan): removed do-nothing default: case,
3234 * test/visual-bell.c:
3235 (main) : removed do-nothing default: case,
3238 * cspi/spi_action.c:
3239 (AccessibleAction_getKeyBinding_):
3240 Documented keybinding string format.
3244 (AccessibleText_getAttributes):
3245 Documented the text attribute string format.
3246 It's changed to use semicolon delimiters also,
3247 to prevent clashes with CSS attributes, but the old
3248 trick of looking for ", " strings will still work
3249 (as unreliably as ever). Fix for bug related to 97916.
3252 Include <cspi/bonobo/cspi-bonobo-listener.h>
3253 Fixes build warning.
3254 (SPI_freeAccessibleKeySet):
3255 (AccessibleKeystrokeListener_addCallback):
3256 (AccessibleKeystrokeListener_removeCallback):
3257 Modify to use AccessibleDeviceListener API internally,
3258 instead of AccessibleKeystrokeListener.
3260 * idl/Accessibility_Event.idl:
3261 Added two more empty slots to EventListener (for a total of four).
3263 * idl/Accessibility_Accessible.idl:
3264 Added four empty slots to Accessible interface.
3266 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3268 * idl/Accessibility_Registry.idl:
3269 (KeyEventType, EventType):
3270 Marked KeyEventType as deprecated; it duplicates
3271 functionality of EventType, which has been extended to
3272 include Mouse-button events.
3273 (KeyEventTypeSeq): defined in terms of EventType.
3274 (registerDeviceEventListener, deregisterDeviceEventListener):
3275 New methods, for managing listeners to device events,
3276 which potentially may consume them.
3279 Added definition for AccessibleDeviceListener.
3281 * cspi/spi-listener.h:
3282 (enum AccessibleDeviceEventType):
3283 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3284 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3285 for backwards compat.
3286 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3287 and typedef'd AccessibleKeystroke to it for back-compat.
3288 (AccessibleDeviceListenerCB):
3289 New function prototype typedef.
3292 (AccessibleDeviceEventMask): New typedef.
3293 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3294 (AccessibleKeyMaskType):
3295 Set equivalent to AccessibleModifierMaskType for back-compat.
3296 (SPI_createAccessibleKeystrokeListener):
3297 (AccessibleKeystrokeListener_unref):
3298 Deprecated in favor of equivalent (better-named) new API below..
3299 keystroke listeners are like all device listeners.
3300 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3301 New API names for old features :-).
3302 (AccessibleDeviceListener_addCallback):
3303 (AccessibleDeviceListener_removeCallback):
3304 (SPI_registerDeviceEventListener):
3305 (SPI_deregisterDeviceEventListener):
3309 (SPI_createAccessibleKeystrokeListener):
3310 Use new preferred API, cspi_device_listener_new() and
3311 cspi_device_listener_add_cb().
3312 (AccessibleKeystrokeListener_removeCallback):
3313 Use new preferred API, cspi_device_listener_remove_cb().
3314 (AccessibleKeystrokeListener_unref):
3315 Use new preferred API, cspi_device_listener_unref().
3316 (SPI_createAccessibleDeviceListener):
3317 (AccessibleDeviceListener_addCallback):
3318 (AccessibleDeviceListener_removeCallback):
3319 Implementation of new API.
3321 * cspi/spi_registry.c:
3322 (SPI_registerDeviceEventListener):
3323 (SPI_deregisterDeviceEventListener):
3324 Implementation of new API. Fixed memory leak and removed need to
3325 allocate EventTypeSeq (thanks Michael for catching this).
3326 Squashed a wayward CORBA_exception_free that shouldn't get called.
3328 * cspi/bonobo/cspi-bonobo-listener.c:
3330 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3331 (cspi_key_event): renamed to cspi_device_event().
3332 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3333 Extended to handle mouse button events as well as key events.
3334 (CSpiKeystrokeListener):
3335 Class superceded by CSpiDeviceListener.
3336 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3337 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3339 * cspi/bonobo/cspi-bonobo-listener.h:
3340 (CSpiKeystrokeListener):
3341 Class superceded by CSpiDeviceListener.
3342 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3343 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3345 * libspi/Makefile.am:
3346 Replaced keystrokelistener.h and keystrokelistener.c
3347 with devicelistener.h and devicelistener.c; keystrokelisener.h
3348 stub retained for back-compat.
3350 * libspi/keystrokelistener.c:
3354 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3356 * registryd/deviceeventcontroller.c:
3357 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3358 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3359 (DEControllerPrivateData): Added xkb settings data.
3360 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3361 button release events (which can't be captured via XGrabButton).
3362 Don't dispatch via the 'normal' event mechanism if the device event was
3364 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3365 Handle the typeseq data in its new location (see above).
3366 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3367 New methods, for "generic" device listeners.
3368 (spi_controller_register_device_listener):
3369 Now handle mouse event listeners as well as key listeners.
3370 (spi_controller_notify_mouselisteners):
3371 New internal method.
3372 (spi_device_event_controller_forward_mouse_event):
3373 Now we notify mouse device listeners as well as generating the
3374 non-consumable "mouse:" events.
3376 We must check and restore the XKB
3377 modifier map if we consume the event, since the act of triggering
3378 a mouse event will normally reset the XKB latch. This is required for
3380 (spi_controller_register_with_devices):
3381 Load the XKB settings when registering, and register for XKB
3382 state notify events.
3383 (spi_key_eventtype_seq_contains_event):
3384 Renamed spi_eventtype_seq_contains_event, since it's used
3385 internally for all device event types now.
3386 (spi_key_event_matches_listener):
3387 Uses spi_eventtype_seq_contains_event now.
3388 (spi_device_event_controller_object_finalize):
3389 Free the private data and the XkbKeyboard struct.
3390 (impl_register_device_listener, impl_deregister_device_listener):
3391 Implementation of new IDL.
3392 (spi_deregister_controller_device_listener):
3393 New internal method.
3394 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3395 More efficient implementation, we don't have to create a new
3396 XkbControls structure every time we query.
3397 (spi_device_event_controller_class_init):
3398 Initialize the epv entries for the new IDL. Assign the
3399 "spi-dec-private" quark.
3400 (spi_device_event_controller_init):
3401 Initialize the private data.
3402 (spi_device_event_controller_forward_key_event):
3403 Removed a bogus CORBA_exception_free() call.
3405 * registryd/deviceeventcontroller.h:
3406 Replaced inclusion of keystrokelistener.h with
3409 * test/event-listener-test.c:
3410 (report_mouse_event):
3413 Added mouse-event device listener.
3415 * test/test-simple.c:
3416 (create_test_window):
3417 Fixed regression (we were instantiating a GtkRange,
3418 which is now an abstract class). Also fixed to match
3419 existing AtkRole names, this seems to have changed in ATK
3420 awhile ago; too late now I think, and the new
3421 mechanism is at least elegant and consistent with the
3422 glib enum "nick" APIs.
3424 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3426 * idl/Accessibility_Relation.idl:
3427 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3428 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3429 * idl/Accessibility_Role.idl:
3430 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3431 * idl/Accessibility_State.idl:
3432 add STATE_MANAGES_DESCENDANTS
3433 * test/event-listener-test.c:
3434 Added a listener for active-descendant events.
3436 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3438 * atk-bridge/bridge.c
3439 (atk_bridge_init): If application is Bonobo component wait until top
3440 level is added before registering
3441 (spi_atk_bridge_do_registration): New function which contains code,
3442 formerly in atk_bridge_init, to do application registration.
3443 (spi_atk_bridge_toplevel_added): Signal called when top level
3444 added to Bonobo component
3446 This fixes bug #83134.
3448 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3450 * registryd/deviceeventcontroller.c
3451 Fixed compilation error caused by calling gettimeofday()
3454 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3459 Added template for HAVE_XKB.
3462 Changes to check for XKB, and to set the HAVE_XKB #define if it
3465 * libspi/listener.c:
3466 ()impl_notify_event): Make failure to get event source name
3469 * registryd/deviceeventcontroller.c:
3470 (#include): include X11/XKBlib.h.
3471 (DEControllerPrivateData) : New struct.
3472 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3474 (dec_synth_keycode_press) (dec_synth_keycode_release):
3475 New methods; split the key synthesis code into these methods.
3476 They check XKB settings before determining the "time" values to
3477 pass to Xtest; this fixes bug #95828.
3478 (impl_generate_keyboard_event): Changed to use methods above,
3479 instead of callng Xtest directly.
3480 (spi_device_event_controller_init): Initialize new privae struct s
3482 (spi_device_event_controllr_object_finalize):
3483 Free the (new) private data.
3485 * registryd/deviceeventcontroller.h:
3486 Add new gpointer to end of struct data.
3488 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3491 Incremented revision to 1.1.2, SONAME is still '.so', library
3492 extensions are ".so.0.0.2".
3494 * registryd/deviceeventcontroller.c:
3495 FIXES FOR #93592 and #95940.
3496 (statics): renamed mouse_button_state to mouse_mask_state,
3497 added key_modifier_mask.
3498 (spi_dec_poll_mouse_moved):
3499 Added key modifier checks, and emit "keyboard:modifiers"
3500 events when the key modifiers currently in use change.
3501 Also generate "mouse:abs" events periodically, even if the mouse
3502 is stationary (should we?).
3503 Alternatively we could generate "mouse:abs" events for either all
3504 mouse movements, or every 'nth' mouse movement, or at the
3505 beginning and end of every "active" mouse period.
3507 * test/event-listener-test.c:
3508 (main): Added listener for "keyboard:modifiers" events.
3510 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3512 * libspi/keymasks.h:
3513 Added key mask #defines for mouse buttons; e.g.
3514 SPI_KEYMASK_BUTTON1, etc.
3517 Incremented dependency on ATK to version 1.1.0. (This dependency
3518 is probably premature but will soon be real enough).
3520 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3522 * libspi/hyperlink.[ch]
3523 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3524 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3527 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3532 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3534 * registryd/deviceeventcontroller.c
3535 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3536 events to be ignored.
3537 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3538 keyboard_mode so that XAllowEvents() can be called.
3542 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3544 * cspi/spi-accessible.c: Correct names of roles returned by
3545 AccessibleRole_getName(). Fixes bug #95055.
3547 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3549 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3552 * registryd/registry.c
3553 (desktop_remove_application: Write diagnostic message to stderr for
3556 (impl_accessibility_registry_deregister_global_event_listener):
3557 Correct size of lists array. This addresses bug #94555).
3559 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3561 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3564 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3566 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3569 * registryd/registry.c (impl_registry_notify_event): Remove
3570 unnecessary call to parser_event_type().
3572 * docs/reference/cspi/tmpl/spi_component.sgml:
3573 Add reference to SPI_LAYER_WINDOW.
3575 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3577 * registryd/registry.c
3578 (desktop_add_application): Remove leak.
3579 (desktop_remove_application): Remove leak.
3580 (parser_event_type): Remove leak.
3582 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3584 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3585 bogus call to CORBA_string_dup(). Also removed unnecessary
3586 g_string_dup/g_free calls.
3588 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3590 * registryd/deviceeventcontroller.c:
3591 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3593 * test/event-listener-test.c:
3594 main: commented out three redundant listeners, to reduce output
3595 noise. (They still are potentially useful for testing).
3598 2002-09-13 Michael Meeks <michael@ximian.com>
3600 * Update all the copyrights to include Ximian.
3602 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3604 * cspi/spi.h: add SPI_LAYER_WINDOW.
3606 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3607 add Accessibility_LAYER_WINDOW case.
3609 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3611 * libspi/component.c: (impl_accessibility_component_get_layer):
3612 add ATK_LAYER_WINDOW case.
3614 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3616 * configure.in: incremented micro version.
3618 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3620 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3623 Clarified and reworded our commit policy.
3626 Started an API "todo" addition list for 2.2.
3629 (impl_getSelection):
3630 Free char pointer from atk_text_get_selection, which was being leaked.
3632 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3635 Small revision to author acknowledgement.
3637 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3639 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3640 If signal has detail add it to the type of the event.
3643 2002-08-12 Michael Meeks <michael@ximian.com>
3645 * test/test-simple.c (global_listener_cb): bin bogosity.
3646 (test_keylisteners): disable, still doesn't work reliably,
3647 certainly not on my system anyway.
3649 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3650 don't leak a reference on the DEC. This round-trip
3651 fetching of the DEC per keystroke sucks, it should be
3654 * cspi/spi-private.h,
3655 * cspi/cspi-lowlevel.h,
3656 * cspi/bonobo/cspi-bonobo-listener.[ch],
3657 * cspi/bonobo/cspi-bonobo.c: get the copyright
3658 notices better - there is still a large amount of
3659 work in at-spi falsely attributed solely to Sun.
3661 * cspi/spi_main.c (cspi_object_ref): kill bogus
3662 hash lookup, just increment the ref.
3663 (SPI_freeString): make explicit the fact that we
3664 handle NULL strings just fine.
3665 (report_leaked_ref): obey coding standards.
3666 (cspi_object_hash, cspi_object_equal): kill retval.
3667 (cspi_object_release): only release if not on loan.
3668 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3669 (cspi_object_borrow, cspi_object_return): impl.
3671 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3672 use cspi_object_borrow / return.
3674 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3676 * cspi/bonobo/cspi-bonobo-listener.c:
3678 Don't call cspi_oject_new() because this is creating a new Accessible
3679 every single time that an event is fired. This causes ATs like at-poke
3680 to nolonger recognise the source of the event and thus ignore it.
3681 Re-use the object from the cache, ref it and then unref it after the
3682 listeners have been called.
3684 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3686 * test/event-listener-test.c:
3687 Added command-line options to disable mouse events (m) and
3690 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3692 * configure.in: Update required versions of ATK, GTK+ and GAIL
3694 * cspi-1.0.pc.in: Add dependency for X include files
3697 * cspi/bonobo/Makefile.am:
3698 Add $(X_CFLAGS) so that X include files
3699 are picked up even if not in standard place (bug #71686)
3701 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3703 * registryd/deviceeventcontroller.c: fix for 84261
3704 (spi_dec_mouse_moved):
3705 Added test of mouse button mask, so that we can detect mouse
3706 button release. Unfortunately we can't otherwise detect mouse
3707 button release events without consuming the mouse press event,
3708 because of the way XGrabButton works. This means that our mouse
3709 release events have a latency dependent on the polling period
3710 while the mouse button is down. At least in this case we only
3711 have to poll while the button is down, and not at other times.
3712 If the button masks don't match with what the last press event
3713 reported, we report the appropriate button release event.
3714 (spi_dec_ungrab_mouse):
3715 New method (not yet called).
3716 (spi_device_event_controller_forward_mouse_event):
3717 New method, sends mouse press event from GdkFilter.
3718 (spi_dec_init_mouse_listener):
3719 Added code to call XGrabButton, redirecting mouse button events to
3720 the root window and our Gdk event loop.
3722 Added code to filter mouse button events, and reordered.
3724 * test/event-listener-test.c:
3726 Added registration for mouse events of type "mouse:button".
3728 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3730 * registryd/deviceeventcontroller.c: partial fix for 84261
3731 (spi_dec_poll_mouse_idle):
3732 New method, a timeout which checks to see if the mouse
3734 (spi_dec_poll_mouse_moving):
3735 A timeout to be called when mouse motion is underway.
3736 (spi_dec_poll_mouse_moved):
3737 A method which fires an event if the mouse has moved, and reports
3738 whether or not it did so.
3739 (spi_dec_init_mouse_listener):
3740 A method which sets up the timeouts above.
3741 (spi_device_event_controller_new):
3742 Now calls spi_dec_init_mouse_listener.
3744 * registryd/registry.c:
3745 (spi_registry_init):
3746 Now we initialize the device event controller when the registry is
3747 initialized, instead of waiting until a client has requested a key
3748 event notification; this is because we need the event controller
3749 for mouse events, but the mouse event registration API is a
3750 "registry" call and doesn't explicitly call the
3751 deviceeventcontroller.
3752 We now report mouse motion events with a 100 ms idle latency and
3753 a 20 ms granularity when motion is in progress.
3755 * test/event-listener-test.c:
3757 We now register the "detail listener" for events of type
3758 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3759 delivered only for the first mouse event received, and thereafter
3760 "mouse:abs" events are delivered.)
3762 * cspi/spi_registry.c:
3763 DOCS: Documented the above mouse event typestrings.
3765 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3767 Happy Summer Solstice...
3769 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3770 (spi_controller_notify_keylisteners):
3771 Changes to remove a listener from the listener list, freeing its
3772 open keygrabs, if a notification to that listener fails. This
3773 means that although a dead listener can continue to hold a passive
3774 keygrab, a maximum of one dispatch to such a listener can fail
3775 before the listener is removed from the list, thus the keygrab
3776 will be released on the next occurrence.
3777 As part of this fix:
3778 (spi_notify_keylisteners):
3779 Renamed to spi_controller_notify_keylisteners, as the controller
3780 instance must now be passed as an argument.
3781 The copied 'notify' GList is now a list of DEControllerKeyListener
3782 objects, since we need more than just the CORBA reference if a
3783 notify fails and we need to deregister the listener.
3784 (impl_notify_listeners_sync):
3785 (impl_notify_listeners_async):
3786 (spi_device_event_controller_forward_key_event):
3787 Modify use of notify_keylisteners in accordance with above
3789 (spi_deregister_controller_key_listener):
3790 New method introduced by refactoring, from
3791 impl_deregister_keystroke_listener.
3792 (impl_deregister_keystroke_listener):
3793 Call spi_deregister_controller_key_listener.
3794 (spi_key_listener_clone):
3795 New method to copy a key listner without doing a 'ref' on the
3796 remote object instance; used to create a notifier list.
3797 (spi_key_listener_data_free):
3798 New method, frees data without unreffing the source.
3800 (spi_key_listener_clone_free): new method.
3801 (spi_key_listener_free):
3802 refactored to call spi_key_listener_data_free.
3804 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3806 * registryd/registry.c: [fix for bug 86048]
3807 (notify_listeners_cb):
3808 Clear CORBA system exceptions which occur when notifying
3809 listeners, before returning to the source of the original event,
3810 since the event source doesn't care if the relayed notify failed.
3811 In other words, don't complain to the atk-bridge if the registry
3812 could not notify all its listeners, that's no fault of the
3813 application and thus should not appear to be an error from the
3814 application's perspective.
3816 * cspi/spi_main.c: [fix for bug 85980]
3818 Replaced use of bonobo_object_dup_ref with call to the wrapper
3819 method, csou_dup_ref (); this silences a compiler warning and
3820 provided more portability.
3822 Ping the registry before return, and restart if necessary.
3824 * cspi/bonobo/cspi-bonobo.c:
3826 New internal method.
3828 Fixed this method to return an object reference, as it should have
3831 * cspi/cspi-lowlevel.h:
3832 Added internal definition for cspi_ping() and fixed
3833 return type of cspi_dup_ref().
3836 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3838 * atk-bridge/bridge.c: [fix for bug 85305]
3839 (spi_atk_bridge_register_application):
3840 New method where the initial application registry calls have been
3841 moved; it allows an application to re-register in response to
3842 certain error conditions (such as a registry restart, see below).
3844 Moved some initialization code to the method
3845 spi_atk_bridge_get_registry, below.
3846 (spi_atk_bridge_get_registry):
3847 New, private accessor function for the Accessibility_Registry
3848 instance. If the registry has not been started before, or has
3849 died (as detected by failure of a CORBA exception), it is
3850 restarted before return, and spi_atk_bridge_register_application
3851 is called again to register with the new bridge instance.
3852 (spi_atk_emit_eventv):
3853 Set registry_died on error; use spi_atk_bridge_get_registry () to
3854 access the registry.
3856 * registryd/registry.c:
3857 (impl_accessibility_registry_register_global_event_listener):
3858 Set listener's event_type_quark to etype.minor instead of
3859 etype.major (fix for bug 84856).
3861 * test/event-listener-test.c:
3862 (report_detail_event):
3863 Change the output string so that user/tester can tell that the
3864 'detail listener' was called instead of the 'generic listener'.
3866 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3868 Fixes for bugs 84900, 84908, 84897, 84898.
3873 Revved version to 1.1.0
3874 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3875 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3877 * idl/Accessibility_Registry.idl:
3878 (EventListener::notifyEvent):
3879 Removed 'oneway' directive after extensive consulation with
3880 ORBit2 team and others. This means also that unref() of the event
3881 source can and should be done synchronously after emission, rather
3882 than remotely in the client, after servicing the notify call on
3885 NOTE: This change speeds up listener performance considerably, but
3886 introduces new latency on the application side. We may want to
3887 add an event queue to the atk-bridge.
3889 * atk-bridge/bridge.c:
3890 (spi_atk_bridge_focus_tracker):
3891 Do a local unref() on the event source after emission.
3893 * registryd/registry.c:
3894 (desktop_remove_application):
3895 Do an unref() on the event source after emission.
3896 (desktop_add_application):
3897 Do an unref() on the event source after emission.
3898 (notify_listeners_cb):
3899 When relaying an event, don't automatically add the event source
3900 to the local object cache, just CORBA_dup it instead. Likewise,
3901 if this method reenters, release the ref rather than calling
3903 (impl_registry_notify_event):
3904 No longer call remote unref() on the event source after dispatch.
3906 * libspi/eventlistener.c:
3907 (impl_accessible_event_notify_event):
3908 Removed remote unref ()
3910 * cspi/bonobo/cspi-bonobo-listener.c:
3912 We now call cspi_object_new() instead of cspi_object_add() on
3913 receipt of an event; thus we only have an implicit object ref
3914 while the cspi_event method is being executed. If we need to keep
3915 a reference to the object, the listener must call ref() on the
3916 object. Thus also we don't need to call cspi_object_unref() after
3917 invoking the listener callbacks in this method.
3921 New internal API for creating a new cspi object, without adding it
3922 to the object cache.
3924 Now uses cspi_object_new() to create the cspi object instance.
3926 Now checks to see if the object is in the internal object cache,
3927 and adds it if necessary before incrementing its refcount (note
3928 that new objects are added with a refcount of 1).
3929 (report_leaked_ref):
3930 New method which gives some information on leaked object instances
3931 if leak detection is turned on.
3933 * test/event-listener-test.c:
3934 (timing_test_event):
3935 New method, used for testing event delivery timing for special
3936 events of type "object:test". It reports elapsed time and
3937 events/sec every 500 events.
3939 Added a new listener, 'test listener', to check timing of event
3940 receipt as noted above.
3942 Added some timing output here also, reports elapsed time every 100
3945 * test/stress-test.c:
3946 Emit events of type "object:test", for use with "event-listener-test".
3948 * test/test-simple.c:
3949 (global_listener_cb):
3950 Call Accessible_ref() on the event source before calling
3951 validate_accessible, since the validation process does pointer
3952 comparisons on the event source, meaning that the event source
3953 needs to be added to the local object cache first. Any use of
3954 such pointer comparisons between Accessible objects requires that
3955 the caller hold an explicit reference to those objects.
3956 We also must therefore call Accessible_unref() when leaving this method.
3958 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3960 * registryd/deviceeventcontroller.c:
3961 (spi_controller_update_key_grabs):
3962 Fix for #84735, subsequent keygrab listeners not informed of
3963 registration failure.
3966 (spi_base_construct):
3967 Add an assertion on construct, to make sure the GObject passed in
3968 is really a GObject.
3970 Explicitly initialize object->gobj pointer to NULL;
3972 * cspi/bonobo/cspi-bonobo-listener.c:
3973 (cspi_object_add_ref):
3974 New method, can specify whether to dup-ref a bonobo object passed
3975 in if it's newly added to the object cache.
3977 Now calls cspi_object_add_ref with second param of "FALSE". This
3978 prevents us from doing a pointless dup-ref followed by
3979 release-unref for all those cases where the object is already in
3980 our object cache (fix for #85205).
3982 * atk-bridge/bridge.c:
3983 (spi_atk_bridge_idle_init):
3984 Removed this method, we don't need to initialize in an idle
3987 Changed to call spi_atk_register_event_listeners directly, not via an
3988 idle handler. (fix for #81139)
3989 (gnome_accessibility_module_shutdown):
3990 Removed conditional around deregistration of listeners, since we
3991 don't use the idle handler and thus have always registered when
3993 (spi_init_keystroke_from_atk_key_event):
3994 Changed references to Accessibility_KEY_PRESSED to
3995 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3997 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3999 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4004 * test/stress-test.c:
4007 (may have been an incomplete commit yesterday?)
4009 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4012 Added target for new stress-test.
4014 * test/stress-test.c:
4015 New test, sends 1000 focus notifies in quick succession.
4017 * test/key-listener-test.c:
4018 Now we report whether a keylistener registration
4019 request succeeded or failed.
4021 * test/event-listener-test.c:
4022 Uncommented some listeners which are now implemented.
4025 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4027 * registryd/deviceeventcontroller.c:
4028 (spi_controller_update_key_grabs):
4029 Fix for #82509, lack of failure notification when
4030 ALL_WINDOWS keygrabs fail due to XGrabKey
4031 failure: we synchronize the server when
4032 registering a passive grab, to make sure we get the
4033 error message before the call returns.
4035 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4037 * test/test-simple.c:
4039 Removed #ifdef KEY_IMPL_WORKS guards.
4040 (test_keylisteners):
4041 Removed #ifdef KEY_IMPL_WORKS guards.
4042 Fixed bug which was causing a hang waiting for a
4043 "press" event (which was already overwritten by a "release"
4044 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4046 Added code to set globals 'key_press_received' and
4047 'key_release_received'.
4050 Added section "1.1 API Proposed Additions" which
4051 lists API additions desired for at-spi-1.1 (only one so far).
4052 Updated TODO list a little.
4054 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4056 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4059 * configure.in: Revved to 1.0.0.
4061 * idl/Accessibility_Registry.idl:
4062 (registerKeystrokeListener):
4063 Added boolean return value.
4065 * registryd/registry.c:
4066 (notify_listeners_cb): Minor fix to debug output.
4068 * registryd/Accessibility_Registry.server.in.in:
4069 Revved version number in OAFIID to 1.0.
4071 * registryd/registryd.c:
4073 Use new OAFIID version.
4075 * cspi/bonobo/cspi-bonobo.c:
4077 Use new OAFIID version.
4083 * atk-bridge/bridge.c:
4085 Use new OAFIID version.
4087 * registryd/deviceeventcontroller.c:
4088 (impl_register_keystroke_listener):
4089 Added CORBA_boolean return value.
4090 (spi_controller_register_device_listener):
4091 Added gboolean return value.
4092 (spi_controller_register_global_keygrabs):
4093 Added gboolean return value.
4094 (spi_key_set_contains_key):
4095 Added implementation for many more control keys,
4096 for instance F1-F12, arrow keys, End, Home, Page_Up,
4098 [TODO: some still not implemented].
4100 * text/screen-review-test.c:
4101 (text_chunk_pad_string):
4102 New function: it provides mapping between coordinate
4103 positions of text chunks and character positions in the
4104 screen-review-line output string.
4105 (text_chunk_to_string):
4106 New function, calls text_chunk_pad_string with various
4107 pad/delimiter characters. Pushbuttons are delimited with
4108 square brackets, Frames with vertical 'pipe' lines, and
4109 other text with double quotes.
4110 (text_chunk_list_to_string):
4111 Calls new function text_chunk_to_string.
4112 (toplevel_composite):
4113 New function to composite layers CANVAS through
4114 POPUP in each toplevel (other layers are composited
4115 across toplevels, i.e. BACKGROUND and OVERLAY).
4116 (review_buffer_composite):
4117 Revise to use new methods.
4123 2002-05-31 Laszlo Peter <laca@sun.com>
4125 * configure.in: add the Xtst libdir to the runpath on Solaris,
4126 since it's not in the default library search path.
4128 2002-05-29 jacob berkman <jacob@ximian.com>
4130 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4132 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4134 * test/screen-review-test.c:
4135 (text_chunk_pad_string):
4136 Added method, which pads the string according to the
4137 text bounds of the chunk. It also takes a 3-character
4138 string as a param which indicates the characters to be
4139 used for start, padding, and end delimitation of the chunk.
4140 (text_chunk_to_string):
4141 Changed to use text_chunk_pad_string.
4143 * configure.in: Fixed bug in AC_OUTPUT that was
4144 causing path substitution in Accessibility_Registry.server
4147 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4149 * text/screen-review-test.c:
4150 (guess_string_clip):
4151 New method which attempts a best-guess at clipping
4152 text from components (like Java labels) which don't
4153 actually implement AccessibleText. This inaccurate
4154 clip is based on the assumption that the label is
4155 justified left-and-right, and monospaced.
4156 (text_chunk_get_clipped_string):
4157 We now call guess_string_clip() for text-containing
4158 components that don't implement AccessibleText.
4160 * test/screen-review-test.c:
4161 (review_buffer_get_text_chunk):
4162 We now pull "name" from labels if they do not implement
4163 AccessibleText (i.e. for Java labels).
4164 (get_screen_review_line_at):
4165 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4168 Replaceded AC_OUTPUT target
4169 registryd/Accessibility_Registry.server with
4170 registryd/Accessibility_Registry.server.in.
4172 * registryd/Accessibility_Registry.server.in:
4173 Removed (this is now a Makefile target).
4175 * registryd/Accessibility_Registry.server.in.in:
4176 Added (source for target above). We now use $(libexecdir) as
4177 prefix for the executable at-spi-registryd.
4179 * registry/Makefile.am:
4180 Now install at-spi-registryd into $(libexecdir), and build .server
4181 file with path (see above).
4183 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4185 * test/screen-review-test.c:
4186 (text_chunk_get_clipped_string):
4187 We now check to see if words fall within clip bounds
4188 before resorting to character-by-character clip bounds testing.
4190 * TODO: Added a section for "2.2 Proposed API Additions".
4192 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4194 * test/screen-review-test.c:
4196 Added a screen review benchmarking and test program to test
4199 * cspi/spi_accessible.c:
4201 Made some of the debug strings passed to cspi_check_ev a
4202 little more specific.
4204 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4206 * test/screen-review-test.c: Fix crashes in debug statements
4208 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4210 * test/screen-review-test.c: Added this file.
4212 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4214 * atk-bridge/bridge.c: changed "object:state-change" to
4215 "object:state-changed" to match docs.
4217 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4219 * atk-bridge/bridge.c: Hooked up state-change event details.
4221 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4223 * registryd/registry.c:
4224 Fixed quarking bug in event string parsing; now events with
4225 detail parameters get matched correctly to listeners.
4228 * util/idl/Magnifier.idl: remove.
4230 * util/*.[ch]: Remove.
4231 Magnification utilities and IDL are now in module gnome-mag.
4233 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4235 * registryd/deviceeventcontroller.c:
4236 Fixed bug in grab key conversion which was causing keycode grabs
4237 to be converted to AnyKey grabs.
4240 updated NEWS file to reflect recent spin-off of gnome-mag.
4242 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4244 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4245 busted AccessibleStateSet_compare. Removed redundant casts.
4247 * cspi/spi-action.c: Removed redundant casts.
4249 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4251 * cspi/spi_component.c: Fixed typos and casting error.
4253 * cspi/spi_editabletext.c: Removed redundant casts.
4255 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4257 * cspi/spi_hypertext.c: Eliminated redundant casts.
4259 * cspi/spi_image.c: Eliminated redundant casts.
4261 * cspi/spi_registry.c: Eliminated redundant casts.
4262 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4263 * cspi/spi_selection.c: Removed redundant casts.
4264 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4265 handling. Screen geometry and text offsets were being returned as 0
4266 on error which is technically valid-- changed these to return -1.
4267 Added marshaller for text boundary types to fix bug with boundary
4268 types being passed incorrectly to atk.
4270 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4273 * cspi/spi_registry.c:
4274 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4275 which was uncovered by the recent key changes.
4277 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4279 * test/event-listener-test.c:
4281 Added new test, "event-listener-test";
4282 this code does two things; it benchmarks traversal time
4283 for the accessible hierarchy for the first running accessible
4284 app, and it connects listeners for all supported event types.
4285 It is thus useful as an example event listener and for
4286 diagnostics/debugging of event generation.
4288 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4291 Removed unnecessary dependency on libutil.
4294 Revved micro version: 0.13.1
4296 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4299 Removed util/Makefile from targets.
4302 Removed util subdir from SUBDIRS (temporarily,
4303 pending removal of magnifier-only code
4307 #ifdef-ed out magnifier dependencies, since
4308 magnifier IDL, headers, and binary now live in
4309 module gnome-mag and we don't want at-spi to depend
4310 on gnome-mag. A magnifier demo which can run alongside
4311 simple-at is forthcoming in the gnome-mag module.
4313 NOTE: Split magnifier binary, IDL, and magnification
4314 activation code from at-spi into module gnome-mag.
4316 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4318 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4319 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4321 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4324 Revved to version 0.13.0
4326 * idl/Accessibility_Registry.idl:
4327 Changed definition of KeySet from sequence of longs to sequence of
4328 KeyDefinitions, and added KeyDefinition struct.
4329 Required for fix to bug 80616.
4331 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4332 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4333 to use new definition (see above).
4335 * registryd/deviceeventcontroller.c: handle_keygrab(),
4336 spi_keyset_contains_key():
4337 Changed to make use of new struct; this allows matching based on
4338 string key-name, for instance "Tab". This also allows matching of
4339 composed characters, non-alphanumeric characters in a way that
4340 doesn't involve dependencies on X keysym codes directly, etc.
4342 * test/key-listener-test.c:
4343 Added test for Alt-Tab key using "string" specification of keyset,
4344 and modified one of the tests to use a keycode-based keyset.
4345 Thus this test both tests and demonstrates the creation and use of
4346 keysets of three forms: specified via keycode array,
4347 keysym array, and string array. (The string case only contains a
4348 single string, i.e. a string array of length 1).
4351 Turned on PRINT_TREE option by default. Also fixed a
4352 string-freeing bug in the PRINT_TREE code.
4353 Added a listener to window:minimize events.
4355 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4357 * atk-bridge/bridge.c:
4358 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4359 for window:activate and window:deactiveate
4360 (atk_bridge_property_event_listener atk_bridge_signal_listener
4361 atk_bridge_window_event_listener) Tidy debug code
4363 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4365 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4366 Fixed handling for NULL return value from ATK.
4368 * libspi/action.c libspi/component.c libspi/editabletext.
4369 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4370 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4371 Removed redundant casts.
4373 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4374 Fixed off by one bug.
4376 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4377 function not present in idl)
4379 2002-05-02 jacob berkman <jacob@ximian.com>
4381 * atk-bridge/Makefile.am: make atk-bridge a real module
4383 2002-04-26 Radek Doulik <rodo@ximian.com>
4385 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4386 atk_state_types table
4388 2002-04-22 jacob berkman <jacob@ximian.com>
4391 * libspi/Makefile.am: add deps on the built files to help
4392 automake, and don't version the ORBit typelib
4394 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4396 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4397 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4398 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4399 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4400 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4401 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4402 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4403 libspi/accessible.h libspi/accessible.h libspi/base.h
4404 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4405 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4406 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4407 libspi/spi-private.h libspi/statetset.h libspi/table.h
4408 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4409 util/mag_client.h util/mag_control.c util/mag_image.c
4410 util/mag_image.h util/magnifier.c util/magnifier.h:
4411 Add missing file headers; standardize existing ones
4413 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4415 * atk-bridge/bridge.c: Added window event support.
4417 2002-04-18 Michael Meeks <michael@ximian.com>
4419 * libspi/relation.c (impl_getNTargets): impl.
4420 (impl_getTarget): impl.
4422 * libspi/Makefile.am: fix stateset install.
4424 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4427 Started putting useful info in this file.
4429 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4431 * atk-bridge/bridge.c:
4432 Propagate state-changed notifications to ATs
4434 * cspi/spi_registry.c: update docs to reflect actual behavior of
4435 state-change events.
4437 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4440 Incremented version to 0.12.1
4442 * util/mag_client.h:
4443 Add missing declaration for magnifier_exit,
4444 used by mag_control.c - Forte compiler didn't like
4445 the implicit redeclaration of the function :-(
4448 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4451 Revved version to 0.12 due to API change (see below).
4453 * cspi/spi-roletypes.h:
4454 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4455 definition from the inline docs, and added docs
4456 for SPI_ROLE_LAST_DEFINED.
4459 * cspi/spi_streamablecontent.c:
4460 Added missing seek_type parameter to
4461 (so far unused) method,
4462 AccessibleStreamableContent_seek().
4463 [ RT approval JodyG. ]
4466 Fixed docs for SPI_createAccessibleKeystrokeListener.
4468 * cspi/spi_registry.c:
4469 Fixed docs for SPI_KEYSET_ALL_KEYS.
4471 * docs/reference/cspi/at-spi-cspi-sections.txt:
4472 Added a number of missing APIs to SECTIONS.
4474 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4476 * registryd/Makefile.am:
4478 * cspi/bonobo/Makefile.am:
4479 Add $(X_LIBS) to makefiles.
4481 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4484 Revved version to 0.11.
4486 * libspi/component.c:
4487 Added implementation for grabFocus.
4489 * idl/Accessibility_Component.idl
4490 (Accessibility_Component_grabFocus):
4491 Made this method return boolean to indicate success or failure, to
4492 be consistent with cspi and the corresponding ATK method.
4494 * idl/Accessibility_Selection.idl
4495 (Accessibility_Selection_selectAll) :
4496 Made these methods return boolean to indicate success or
4497 failure, to be consistent with cspi and the corresponding ATK methods.
4499 * idl/Accessibility_EditableText.idl
4500 (Accessibility_EditableText_setTextContents,
4501 Accessibility_EditableText_insertText,
4502 Accessibility_EditableText_cutText,
4503 Accessibility_EditableText_deleteText,
4504 Accessibility_EditableText_pasteText):
4505 Made these methods return boolean to indicate
4508 * cspi/spi_editabletext.c:
4509 Made these methods return booleans.
4511 * libspi/selection.c:
4512 * libspi/component.c:
4513 * libspi/editabletext.c:
4514 Connected the boolean returns from ATK
4515 to the server-side code referenced above.
4517 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4519 * idl/Accessibility_Table.idl: Added missing methods,
4520 Accessibility_Table_addRowSelection,
4521 Accessibility_Table_addColumnSelection,
4522 Accessibility_Table_removeRowSelection,
4523 Accessibility_Table_removeColumnSelection.
4526 Added C wrappers for above IDL:
4527 AccessibleTable_addRowSelection,
4528 AccessibleTable_addColumnSelection,
4529 AccessibleTable_removeRowSelection,
4530 AccessibleTable_removeColumnSelection.
4533 Added server-side implementation code for IDL above, connecting
4534 to pre-existing ATK api.
4536 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4538 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4540 * libspi/accessible.c: Added implementation fo
4541 Accessibility_Accessible_get_state.
4543 * libspi/libspi.h: Added stateset.h to the list of includes.
4545 * libspi/stateset.c: Fixed broken implementation.
4547 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4550 Added implementation code for Accessibility_Magnifier_exit ().
4552 * util/mag_control.c:
4553 Added test code for above method; you can
4554 now kill an existing magnifier via
4555 ./mag_control q, from the util directory.
4557 * test/key-listener-test.c:
4559 Added a new test, for our key listener API.
4561 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4563 * test/app.c, test/keysynth-demo.c:
4565 Replace use of snprintf with g_snprintf.
4566 (fix for bugzilla 78249)
4568 2002-03-27 Michael Meeks <michael@ximian.com>
4572 * util/Makefile.am (INCLUDES): fix.
4573 (DONT_DIST_SOURCE): don't distribute the
4576 * libspi/Makefile.am (dist-hook): ditto.
4578 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4580 * libspi/hypertext.c:
4581 Fix warnings when yelp is used with atk-bridge
4583 2002-03-21 Michael Meeks <michael@ximian.com>
4585 * libspi/application.c (spi_application_new):
4586 use spi_accessible_construct so we use the AtkObject
4589 2002-03-19 Michael Meeks <michael@ximian.com>
4591 * registryd/registry.c (desktop_remove_application),
4592 (desktop_add_application): clean coding style.
4594 * registryd/desktop.c (spi_desktop_remove_application),
4595 (spi_desktop_add_application): kill re-enterency hazards.
4596 (spi_desktop_dispose): remove bogus redundant cast
4597 obscuring bug; fix bug too.
4598 (spi_desktop_init): make the desktop object immortal.
4600 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4603 Added a #define-guarded tree-traversal step
4604 when enumerating the apps (diagnostic tool).
4606 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4608 * idl/Accessibility_Role.idl:
4609 Added ROLE_DRAWING_AREA which seemed to be missing from the
4612 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4614 * cspi/spi-roletypes.h cspi/spi_accessible.c
4615 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4618 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4619 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4620 AT when applications are added and removed from the desktop. This
4621 reverts the previous broken implementation using the backing
4622 AtkObject for the SpiDesktop.
4624 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4626 * registryd/desktop.c: emit the "children-changed::add" and
4627 "children-changed::remove" signals on the backing ATK object for
4628 the desktop so AT can tell when applications are started and shut
4631 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4633 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4635 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4637 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4639 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4641 * cspi/state-types.h: synched with IDL and ATK
4643 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4645 * libspi/accessible.c
4646 (impl_accessibility_accessible_get_child_at_index):
4647 Change return value for g_return_if_fail ()
4648 to CORBA_OBJECT_NIL instead of "0" (!)
4650 * registryd/Makefile.am:
4651 * registryd/Accessibility_Register.server.in:
4652 Changed name of executable, "registryd",
4653 to something more informative:
4656 2002-03-13 Michael Meeks <michael@ximian.com>
4658 * atk-bridge/bridge.c (atk_bridge_init): don't register
4659 if we're in a bonobo-component, rather than a bonobo app.
4661 2002-03-13 Michael Meeks <michael@ximian.com>
4663 * atk-bridge/bridge.c (gtk_module_init): split
4664 out body to (atk_bridge_init): here, since otherwise
4665 we get symbol conflicts and oddness when invoked
4666 from (gnome_accessibility_module_init): here (upd.)
4668 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4671 New file. Explicitly allow "build sheriff" putbacks provided
4672 they are tested on Solaris.
4674 * docs/reference/cspi/Makefile.am:
4675 Added '-' to the "cp" command for index.sgml.
4676 ("patch by thomasvs, soon coming to a GUADEC near you")
4679 Incremented version number (0.9.0) for new release.
4680 Changed macro that checks for popt, to better detect
4681 obsolete versions of popt.
4684 Added X_LIBS to AC_SUBST, for applications
4685 that call Xlib API directly.
4688 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4691 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4694 Fix regression caused by hard-coding major
4695 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4698 * test/test-simple.c (test_editable_text),
4699 (test_test): revert previous change (error was
4700 a regression in gail which is now fixed).
4702 2002-03-04 Michael Meeks <michael@ximian.com>
4704 * test/test-simple.c (test_editable_text),
4705 (test_text): pass G_MAXINT instead of '-1' for
4706 whole string - is this a good thing !?
4708 * cspi/spi_accessible.c
4709 (Accessible_getRelationSet): fix crasher bug
4710 overwriting the end of the array.
4712 * test/test-simple.c (validate_accessible): free,
4713 not g_free returned relation set.
4715 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4717 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4718 implemented stateset support
4720 * idl/Accessibility_State.idl: Made necessary changes to
4721 the IDL to support state sets.
4723 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4725 * registryd/deviceeventcontroller.c:
4726 Added implementation for generateMouseEvent.
4728 * cspi/spi_registry.c:
4729 Connected new implementation for generateMouseEvent
4732 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4735 Incremented revision (but no change in public API
4736 outside of 'utils', which are not installed public yet.)
4738 * libspi/component.c:
4739 Changed to use atk_component API for layers and
4740 mdi_zorder, instead of deprecated atk_object API.
4742 Magnification Utility Enhancements:
4745 Added implementation of createZoomRegion, clearAllZoomRegions,
4746 resizeZoomRegion. Added new commandline argument
4747 "--no-initial-region". Note that clearAllZoomRegions doesn't
4748 unmap the old '0' region as it should (yet), and the other
4749 methods only work when creating/resizing a single region,
4750 which is "region 0".
4751 (Code for multiple region support will be added later.)
4754 Now we raise the magnifier window each time it's refreshed;
4755 this will help keep it on top.
4757 * util/mag_client.h:
4758 Added simple wrappers for above, used by mag_control.
4759 For general use, it's recommended to use the bonobo magnifier
4760 control API directly instead of using these wrappers.
4763 Moved ZoomRegionData from magnifier.c to this file.
4765 * util/mag_control.c:
4766 Added some code to exercise new IDL implementations.
4768 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4770 * libspi/text.c: Provide implementation for getAttributes.
4772 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4775 Incremented revision.
4777 * test/test-simple.c:
4778 Replaced use of deprecated g_main_iteration with
4779 g_main_context_iteration.
4781 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4784 Incremented revision for desktop alpha 2.
4786 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4788 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4791 * test/simple-at.c: include netinet/in.h.
4793 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4795 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4796 use NULL, not CORBA_OBJECT_NIL.
4798 * libspi/accessible.c:
4799 (impl_accessibility_accessible_get_relation_set):
4800 allocate the sequence correctly.
4802 * libspi/remoteobject.h: kill spi_remote_object_new.
4804 * test/test-simple.c: (validate_accessible): add code
4805 to test relation sets, now all we need is to figure
4806 out how to excercise this code path :/
4808 2002-01-18 Michael Meeks <michael@ximian.com>
4810 * test/test-simple.c
4811 (key_listener_cb): consume the key.
4812 (test_keylisteners): update.
4813 (main): wait for any pending unrefs on events.
4815 * registryd/deviceeventcontroller.c
4816 (spi_controller_update_key_grabs): only re-issue the
4817 grab on a key release.
4818 (spi_device_event_controller_forward_key_event):
4819 refresh the keygrabs before we notify the listeners,
4820 to reduce the X ungrab / re-grab race.
4821 (spi_controller_register_with_devices): remove
4822 XSelectInput - we do that with the gdk_window_ call.
4823 (_spi_controller_device_error_handler): return a value.
4824 s/GDK_DISPLAY/spi_get_display/
4826 2002-01-17 Michael Meeks <michael@ximian.com>
4828 * registryd/deviceeventcontroller.c
4829 (_deregister_keygrab): don't blow out the later
4832 * test/test-simple.c (test_keylisteners): do a
4833 more intelligent validation.
4835 2002-01-14 Michael Meeks <michael@ximian.com>
4837 * atk-bridge/bridge.c
4838 (gnome_accessibility_module_init),
4839 (gnome_accessibility_module_shutdown): impl.
4840 (gtk_module_init): protect vs. double inits.
4841 (add_signal_listener): impl.
4842 (spi_atk_bridge_state_event_listener): kill
4843 (deregister_application): split out of
4844 (spi_atk_bridge_exit_func): here.
4846 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4849 Added caret tracking when using magnifier, and
4850 now use text bounds for focus tracking of text elements, rather than
4851 the component bounds - this is helpful for short text fields in long
4852 table cells, at high magnification.
4854 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4856 * registryd/deviceeventcontroller.c:
4857 Regression fix for keylistener de-registration; global keygrabs
4858 were not being released when deregisterKeystrokeListener was
4859 called in cspi, since
4860 Accessibility_DeviceEventController_deregisterKeystrokeListener
4861 was called with a zero-length keyset. That is because the cspi
4862 method, SPI_deregisterKeystrokeListener, does not take a keyset
4863 parameter but instead should remove all the key grabs held be a
4865 The code in impl_deregister_keystroke_listener was changed to copy
4866 the keylist from the listener instance previously registered with
4867 the DeviceEventController before releasing the grabs.
4869 * registryd/registry.c:
4870 * registryd/deviceeventcontroller.c:
4871 * libspi/spi-private.h:
4873 Changed spelling of "re-enterant" to "re-entrant" globally.
4875 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4877 * test/test-simple.c:
4878 Changed key listeners test - the test was slightly mis-using the
4879 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4880 It now uses '=' as the key event listened to and generated,
4881 relying on a keysym match rather than assuming that keycode 33
4882 is always equal to keysym '!'.
4884 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4887 Changed simple-at to use a specific keyset, rather than
4888 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4889 manager, desktop, etc.
4891 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4893 * registryd/deviceeventcontroller.c:
4894 Replaced standard X error handler with a special handler that
4895 is non-fatal for failed keygrabs. This works around
4896 problems with keygrab clashes sometimes observed on
4898 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4899 mouse handling code as yet).
4901 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4904 Incremented revision for desktop alpha release.
4907 Fixed a couple of the more glaring errors (still not
4910 2002-01-11 Michael Meeks <michael@ximian.com>
4912 * registryd/deviceeventcontroller.c
4913 (spi_device_event_controller_forward_key_event): kill
4914 XUngrabKey / XKeyGrab race.
4915 (spi_controller_grab_keyboard): rename to
4916 (spi_controller_update_key_grabs): this, and deal
4917 with incremental adding / removing grabs more
4919 (_register_keygrab): ensure we're not pending a remove.
4920 (spi_grab_mask_free): impl.
4921 (spi_controller_register_global_keygrabs): split out
4923 (handle_keygrab): impl.
4924 (_deregister_keygrab): impl.
4925 (spi_controller_deregister_global_keygrabs): impl.
4926 (spi_controller_update_key_grabs): re-issue the grab if
4927 we just recieved a notification.
4929 * test/test-simple.c (key_listener_cb): remove debug.
4931 * registryd/deviceeventcontroller.c
4932 (spi_controller_register_device_listener): after
4933 registering a global keygrab, actualy register it !
4934 don't wait for a timeout; doh !
4936 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4937 to make it more readable / manipulable.
4938 s/grabmask/grab_mask/ s/refcount/ref_count/
4939 s/keyval/key_val/ s/modmask/mod_mask
4941 2002-01-08 Michael Meeks <michael@ximian.com>
4943 * registryd/deviceeventcontroller.c
4944 (spi_controller_register_with_devices): use gdk calls to
4946 (global_filter_fn): implement the filter.
4947 (spi_device_event_controller_check_key_event): rename to
4948 (spi_device_event_controller_forward_key_event): this & upd.
4949 (spi_get_display): replace with GDK_DISPLAY.
4951 * registryd/deviceeventcontroller.c
4952 (spi_controller_deregister_device_listener): unroll into
4953 (impl_deregister_keystroke_listener): here to simplify.
4954 (spi_controller_register_global_keygrabs): split cut and
4955 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4956 (spi_controller_deregister_device_listener): remove.
4957 (impl_register_mouse_listener): remove, no mouse listener
4958 support in at-spi-1.0
4960 * registryd/registry.c
4961 (_device_event_controller_hook): kill.
4962 (spi_registry_init): upd.
4964 * registryd/deviceeventcontroller.c
4965 (spi_device_event_controller_class_init): upd.
4966 (spi_check_key_event): merge into.
4967 (spi_device_event_controller_check_key_event):
4968 here and kill strange static ev init, don't leak
4969 the x_event - nor dynamicaly allocate it.
4971 * registryd/registry-main.c (main): re-direct
4972 timeout to remove strange vtable mess.
4974 * registryd/deviceeventcontroller.c
4975 (remove_listener_cb): impl.
4976 (spi_controller_deregister_device_listener):
4977 fix re-enterancy hazard.
4979 2002-01-07 Michael Meeks <michael@ximian.com>
4981 * registryd/deviceeventcontroller.c
4982 (spi_device_event_controller_new): upd.
4983 (impl_notify_listeners_sync): upd. debug.
4984 (spi_notify_keylisteners): fix re-enterancy hazards,
4985 prettify, remove O(n*n) iteration.
4986 (spi_controller_grab_keyboard): fix iteration.
4987 (spi_check_key_event): re-format to suit coding style.
4988 Clean all the warnings - we're warning free.
4990 * registryd/deviceeventcontroller.h:
4991 * registryd/registry.h: make mutualy referential with
4992 typesafe forward references instead of (!) void pointer
4995 2002-01-11 Michael Meeks <michael@ximian.com>
4997 * cspi/spi_accessible.c (role_names): add a role name
4998 to sync this array with the enum; and make the regression
5001 2002-01-10 Michael Meeks <michael@ximian.com>
5003 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5004 allow expansion of enumeration & kill warning.
5006 * test/test-simple.c (key_listener_cb): impl.
5007 (test_keylisteners): impl.
5009 * cspi/spi-listener.h: make listener signatures const
5010 on the provided (const) events.
5012 * test/keysynth-demo.c: upd. to const events.
5014 * test/simple-at.c: ditto.
5016 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5019 Rev the version to 0.5 (the previous tarball was named 0.4,
5020 even though the micro number was 3), so we need to rev upwards
5021 again for beta2/"desktop-alpha"
5024 Checked in a demo script, which requires editing before use!
5025 Proceed with caution.
5028 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5030 * cspi/spi_accessible.c:
5031 Add a couple of missing enum initializations, and fix some enum
5034 * cspi/spi_registry.c:
5035 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5037 * docs/reference/cspi/at-spi-cspi-sections.txt:
5038 Remove/fix a couple of broken document references.
5041 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5042 as Alt-Control to listen for commands, since on some systems
5043 Control-Alt may already be grabbed.
5045 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5048 Update version number to 0.4 for Beta2.
5050 * libspi/accessible.c, libspi/accessible.h:
5051 Expose spi_accessible_construct, to enable libgail-gnome
5052 construction from spi_accessible subtype.
5054 * utils/magnifier.c:
5055 Workaround for bug in some non-gnome-compliant window managers
5056 which made magnifier resize improperly.
5058 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5060 * libspi/accessible.c: (spi_accessible_new) :
5061 Move the test for SPI_IS_REMOTE_OBJECT to
5062 spi_accessible_new_return, fixing a bug and compile time warning.
5064 2002-01-08 Michael Meeks <michael@ximian.com>
5066 * registryd/registry.c (parse_event_type): remove strndup.
5068 * libspi/Makefile.am (libspi_la_SOURCES): remove
5069 sources already included in the headers section.
5071 * libspi/util.c: add.
5073 * libspi/spi-private.h: add.
5075 * registryd/registry.c: update to moved list iterators.
5077 2002-01-05 Michael Meeks <michael@ximian.com>
5079 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5081 * test/test-simple.c (main): ditto.
5083 2002-01-04 Michael Meeks <michael@ximian.com>
5085 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5086 redundant construct.
5088 * registryd/registry.c
5089 (get_listener_list): impl.
5090 (impl_accessibility_registry_register_global_event_listener):
5091 re-impl. to simplify using ~, remove dodgy const cast off.
5092 (parse_event_type): constify.
5093 (impl_accessibility_registry_deregister_global_event_listener_all):
5094 re-write, more efficiency and simplicity, kill re-enterancy
5096 (compare_listener_corbaref, compare_corba_objects),
5097 (compare_listener_quarks): define out.
5098 (impl_accessibility_registry_deregister_global_event_listener):
5099 re-write for effiency, and nail re-enterancy hazard.
5100 (impl_accessibility_registry_get_desktop_list): impl.
5101 (re_enterant_list_delete_link): impl.
5102 (re_enterant_list_foreach): impl.
5103 (remove_listener_cb): impl.
5104 (_registry_notify_listeners): kill.
5105 (notify_listeners_cb): impl.
5107 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5108 (SPI_getDesktopList): impl.
5110 * test/test-simple.c (test_desktop): test the methods.
5112 2002-01-03 Michael Meeks <michael@ximian.com>
5114 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5115 keystrings since we free them
5116 (SPI_freeAccessibleKeySet): in here.
5118 * libspi/accessible.c (spi_accessible_new): kill warning,
5119 wonder what is going on with the constructor here.
5121 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5123 * libspi/accessible.c (spi_accessible_new ()) :
5124 Added check to see if AtkObject is an SpiRemoteObject before
5125 creating an SpiAccessible.
5127 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5129 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5130 Enable keygrabs using the Control modifier, now that they are
5131 working properly (they were previously disabled).
5134 Change the command keygrab for this demo to "Control+Alt", so as
5135 to conflict with fewer other key commands on the system; this
5136 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5138 Removed a pointlessly-chatty keylistener for unshifted keys
5139 (shifted keys are still reported).
5141 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5143 * libspi/remoteobject.h:
5144 * libspi/remoteobject.c:
5145 Added definitions for special AtkObject subtype, required for
5146 support of remote components (specifically, used by BonoboControl
5147 accessibility implementation).
5149 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5151 * cspi/spi.h: synched relation types with ATK
5153 * cspi/spi_accessible.c: Added implementations of
5154 AcccessibleRelation_* methods
5156 * idl/Accessibility_Relation.idl: added getRelationTypeName
5157 method. Synched known relation types with ATK. Allowed for
5158 relation type extension with the RELATION_EXTENDED type.
5160 * libspi/relation.c: Provided implementations for
5161 AccessibleRelation methods.
5163 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5165 API tweaks for today's API 'freeze'.
5168 Added placeholder functions to allow future compatible expansion
5169 of the IDL interfaces.
5171 * idl/Accessibility_Registry.idl:
5172 Changed generateKeyEvent to generateKeyboardEvent. Changed
5173 signature of this method to accept an optional keystring in
5174 parameter (for complex text input synthesis) and changed use of
5175 simple 'boolean' parameter in registerKeystrokeListener to a
5176 struct, EventListenerMode.
5178 * cspi/spi_accessible.c:
5180 * cspi/spi_streamablecontent.c:
5181 Added references to AccessibleStreamableContent interface, and
5182 definition and implementation of AccessibleStreamableContent
5185 * cspi/spi_registry.c:
5187 Changed generateKeyEvent API to generateKeyboardEvent,
5188 taking a new (optional) keystring parameter to support complex
5193 Renamed directory (to better reflect its actual purpose, bridging
5194 from at-spi to ATK). The .so module is also now named
5197 * idl/Accessibility_Hypertext.idl:
5198 * libspi/accessible.c:
5199 * libspi/hypertext.h:
5200 * libspi/hypertext.c:
5201 Changed Accessibility_Hypertext to *not* derive from
5204 * cspi/spi_registry.c:
5205 Added list of legal event type names for 'window' events, which
5206 completes the registry event API.
5208 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5210 * at-bridge/bridge.c: Added registration for separate
5211 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5212 signals. If either of the first two parameters to the generic
5213 bridge signal handler are ints, they are passed on as event
5214 details. This allows an AT to determine what text was inserted.
5216 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5218 * registryd/deviceeventcontroller.c:
5219 Fixed regressions in generateKeyEvent caused by the removal of
5220 gdk_init from registryd; we now use pure X calls to connect to the
5221 display, which makes sense because deviceeventcontroller already
5222 uses a fair bit of X API (should eventually be migrated to a
5223 'portability layer').
5225 * registryd/desktop.c:
5226 Fixed minor regression in spi_desktop_init, changed the way the
5227 desktop name is being set to work with new spi_base API
5228 (gobject-based, rather than AtkObject-based).
5230 * registryd/Makefile.am:
5231 Minor revision of makefile to use XTST_LIBS variable rather than
5232 hard-wiring the Xtst LD_ADD element.
5234 * test/keysynth-demo.c:
5235 Tweaked an output message; added initialization of the
5236 'keystrings' member of the "switch listener" key_set.
5238 * libspi/relation.c:
5239 Squashed compile-time warning.
5241 * libspi/accessible.c:
5242 Cosmetic and formatting fixes, renamed a static method.
5244 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5246 * libspi/accessible.c
5248 * libspi/application.c
5251 * libspi/component.c
5252 * libspi/editabletext.c
5253 * libspi/hyperlink.c
5254 * libspi/hypertext.c
5256 * libspi/selection.c
5260 * registryd/desktop.c:
5261 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5263 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5265 * idl/Accessibility_Registry.idl:
5266 Added boolean member 'is_text' to DeviceEvent. This is for the
5267 use of key events, and helps prevent ambiguity between composed
5268 key strings and keysym names, since both may potentially be
5269 returned in the 'event_string' member.
5271 * at-bridge/bridge.c:
5272 * registryd/deviceeventcontroller.c:
5273 Use the 'is_text' member when notifying device event listeners.
5274 Knon issue: composed characters are not dealt with correctly by
5275 the global key listener implementation yet.
5277 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5279 * at-bridge/bridge.c:
5280 Namespaced local static methods to spi_atk_bridge_* where
5281 previously named bridge_*, and spi_* elsewhere.
5283 * at-bridge/bridge.c:
5284 * cspi/bonobo/cspi-bonobo-listener.c:
5285 Added demarshalling/conversion for string member of
5286 Accessibility_DeviceEvent to AccessibleKeystroke.
5288 * registryd/deviceeventcontroller.c:
5289 Added code to fill the Accessibility_DeviceEvent key string value
5290 member for global key events (i.e. from XGrabKey), to match
5291 behavior of Accessibility_DeviceEvent from the toolkit key events
5292 from the bridge. Fixed timestamp in global key event notifications.
5295 Added printout of key event's string value to
5296 report_ordinary_key_event, for demo/debugging purposes.
5298 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5300 * idl/Accessibility_Registry.idl:
5301 Removed Accessibility_KeyStroke structure in favor of generic
5302 Accessibility_DeviceEvent structure.
5303 Changed Accessibility_ControllerEventMask from a struct to an
5306 * at-bridge/bridge.c:
5307 Changed APIs to use DeviceEvent structure as above, and removed
5308 bogus casting between these event structures.
5310 * cspi/spi-listener.h:
5311 Added keystring member of AccessibleKeystroke structure, to enable
5312 matching on event "names" rather than only hardware codes and
5316 Added keystrings member of AccessibleKeySet struct, to allow
5317 matching on event names (as above).
5318 Added declarations for SPI_createAccessibleKeySet and
5319 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5320 event modmasks directly as unsigned ints rather than structs with
5321 refcounts, in the DeviceEventController methods.
5323 * cspi/spi_registry.c:
5324 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5326 * cspi/spi-roletypes.h:
5327 Added documentation of newly added SPI Roles.
5329 * cspi/bonobo/cspi-bonobo-listener.c:
5330 Changes in support of API changes above.
5332 * libspi/accessible.c:
5333 Converted APIs to use DeviceEvent structure (see IDL changes
5336 * registryd/deviceeventcontroller.c:
5337 Added DEControllerGrabMask structure to track keygrabs not only by
5338 modmask but by keyset as well; this allows us to do "global"
5339 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5340 grabbing on AnyKey and then filtering after-the-fact.
5341 Bugfixes for event filtration mean that we don't get false matches
5342 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5344 * registryd/deviceeventcontroller.c:
5345 Namespaced a number of static methods to use spi_ prefix. Major
5346 revision to internals of global (i.e. X) key grabs.
5348 * registryd/deviceeventcontroller.h:
5349 Removed keymask_list and added keygrabs_list to
5350 SpiDeviceEventController struct.
5353 Added use of SPI_createAccessibleKeySet API when creating a
5354 listener for only one key. Attach a listener to "shift spacebar
5355 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5356 X key event names to SPI key event names, so that listeners are
5357 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5359 * test/keysynth-demo.c:
5360 Changed (incorrect) use of X key event names (KeyPressed,
5361 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5364 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5366 * libspi/accessible.c:
5367 Convert all AtkRole enumerations to Accessibility_Role enums when
5368 getting a role from an AtkObject.
5370 * cspi/spi_accessible.c:
5371 Complete the conversion of Accessibility_Role enums at runtime to
5372 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5373 role enums correctly match those given in spi-roletypes.h.
5374 Re-synchronize the local names list for AccessibleRole_getName ().
5375 AccessibleRole_getName is now deprecated, since it duplicates the
5376 more reliable Accessible_getRoleName.
5377 Added some role types from Accessibility_Role.idl.
5379 * idl/Accessibility_Role.idl:
5380 Added some role types used by AtkRole.
5382 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5385 * cspi/spi_registry.c:
5387 * cspi/cspi-bonobo-listener.c:
5388 Namespaced all methods that did not begin with an "SPI_" or
5389 "Accessible" prefix to "SPI_".
5392 Homogenized internal function namespace to "cspi_" for statics.
5395 Patched tests to use the new CSPI API.
5397 * docs/reference/cspi/at-spi-cspi-sections.txt:
5398 Updated docs to reflect namespace changes, and added a number of
5399 methods to the documentation.
5401 * registryd/registry.c:
5402 Changed use of strings and string hashes in listener event
5403 matching and parse_event_string to use GQuark, which is guaranteed
5406 * registryd/registry.h:
5407 Squashed annoying warning.
5409 * idl/Accessibility_Role.idl:
5410 Extended range of available Accessibility_Role values.
5412 * cspi/spi_accessible.c:
5413 Re-ordered role names.
5415 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5417 * idl/Accessibility_Value.idl:
5418 Revert use of union back to CORBA_double, since the double type is
5419 more efficient and can contain the other types without loss of
5422 * idl/Accessibility_Accessible.idl:
5423 Added method Accessibility:Accessible:getRoleName, to complement
5424 Accessibility:Accessible:getRole.
5426 * cspi/spi_accessible.c:
5428 Added C binding for above, Accessible_getRoleName (), and changed
5429 signature of Accessible_getRole () to return an AccessibleRole.
5431 * cspi/spi-roletypes.h:
5432 Changed AccessibleRole_getName to return a char * instead of a
5433 const char *. This method is now at least temporarily deprecated
5434 in favor of asking Accessibles for their RoleNames directly.
5437 Revert to match Accessibility_Value.idl;
5441 Change signature of AccessibleValue methods to use double rather
5445 * cspi/spi_accessible.c:
5446 Changed Accessible_getRole to return an AccessibleRole enum rather
5447 than a UTF-8 string. The UTF-8 string can still be obtained via
5448 AccessibleRole_getName ().
5450 * test/test-simple.c:
5451 Add test_action. Small fixup to match API change to Accessible_getRole.
5454 Bugfix for get_action_from_servant ().
5456 2001-12-11 Michael Meeks <michael@ximian.com>
5458 * libspi/libspi.h: remove registry.h and
5459 desktop.h, deviceeventcontroller.h
5461 * libspi/Makefile.am: remove registry.[ch],
5462 desktop.[ch], deviceeventcontroller.[ch]
5464 * registryd/Makefile.am: add registry.[ch],
5465 desktop.[ch], rename registryd.c to registry-main.c.
5466 add deviceeventcontroller.[ch]
5468 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5471 Replace setenv() call with putenv ().
5473 * libspi/component.c:
5474 Bugfix in AccessibleComponent_getExtents (),
5477 2001-12-11 Michael Meeks <michael@ximian.com>
5479 * libspi/image.c (impl_getImageExtents): impl.
5480 (spi_image_class_init): upd.
5483 (AccessibleImage_getImageDescription): fix daft bug
5486 * test/test-simple.c (global_listener_cb): update
5487 to only quit if not --poke
5488 (main): catch --poke.
5489 (validate_accessible): upd. dumping, call test_image
5492 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5495 * idl/Accessibility.idl: update all IDL includes.
5497 * idl/*.idl - rename to namespace - this sucks, blame
5498 mjs' bad decision for oafd.
5500 * test/test-simple.c (create_test_window): add more tests.
5501 (create_tree): split this out.
5502 (validate_accessible): bugfix.
5504 2001-12-11 Michael Meeks <michael@ximian.com>
5506 * cspi/bonobo/cspi-bonobo-listener.c:
5507 (cspi_kestroke_listener_unref),
5508 (cspi_event_listener_unref): impl. undoing previous
5509 homenous environment - for Bill.
5511 * cspi/spi_table.c (long_seq_to_array): use
5514 * cspi/spi_main.c: split out all bonoboish bits into
5517 * cspi/spi-impl.h: upd. typedefs.
5519 * cspi/spi_registry.c: update to lowlevel API,
5520 return booleans to indicate success in some places.
5522 * cspi/spi_event.c: update to lowlevel API.
5524 * cspi/bonobo/Makefile.am: add.
5526 * cspi/bonobo/cspi-lowlevel.h: add
5528 * cspi/bonobo/cspi-bonobo.c: add
5530 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5532 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5533 (SUBDIRS): add bonobo, link in the libs.
5535 * cspi/spi-util.c: kill this file.
5537 * TODO: merge in my bits.
5539 2001-12-11 Michael Meeks <michael@ximian.com>
5541 * test/test-simple.c (test_value, test_table, main):
5542 remove unused variables causing warnings.
5544 * configure.in: cleanup checks - require gail.
5546 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5549 Changed Value interface to use SValue (scalars) rather than
5550 assuming all values are floats. This allows floats, doubles,
5551 longs, shorts, and unsigned values to be manipulated.
5552 Introduced Accessibility:SValue union.
5555 Updated to use new API above, and to work correctly with GValues
5556 of different types in AtkValue.
5559 Updated to use new API above. cspi's API is as yet unchanged.
5562 Updated the Value revision action item.
5564 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5566 * test/test-simple.c:
5567 Added test_table (GtkTreeView widget in test window to follow).
5568 Un-commented test_value, added GtkRange widget.
5569 Added GtkTreeView widget with GtkListStore. It passes regression
5570 test but leaks one SPI object for some reason.
5573 Fixed bug in impl__set_currentValue.
5575 2001-12-10 Michael Meeks <michael@ximian.com>
5577 * cspi/spi_text.c: audit for exception handling,
5578 tolerating NULL object references safely etc.
5580 * cspi/spi_value.c: ditto.
5582 * cspi/spi_table.c (AccessibleTable_getSummary),
5583 (AccessibleTable_getAccessibleAt),
5584 (AccessibleTable_getRowHeader),
5585 (AccessibleTable_getColumnHeader),
5586 (AccessibleTable_getCaption): fix bugs hidden by
5588 (long_seq_to_array): impl.
5589 (AccessibleTable_getSelectedRows),
5590 (AccessibleTable_getSelectedColumns): use it.
5592 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5595 Added a TODO list (rough and short for now).
5597 * cspi/spi_hyperlink.c:
5598 * cspi/spi_hypertext.c:
5599 Fixed macro name typos, and remove use of obsolete macro in
5600 AccessibleHyperlink_getLink.
5602 * cspi/spi_action.c:
5603 * cspi/spi_accessible.c:
5604 * cspi/spi_application.c:
5605 * cspi/spi_component.c:
5606 * cspi/spi_selection.c:
5609 Documentation fixes (removed return values from ref/unref methods).
5611 2001-12-10 Michael Meeks <michael@ximian.com>
5613 * cspi/spi_action.c: audit for exception handling,
5614 tolerating NULL object references safely etc.
5616 * cspi/spi_accessible.c: ditto.
5618 * cspi/spi_component.c: ditto.
5620 * cspi/spi_editabletext.c: ditto.
5622 * cspi/spi_hyperlink.c: ditto.
5624 * cspi/spi_hypertext.c: ditto.
5626 * cspi/spi_image.c: ditto.
5628 * cspi/spi_selection.c: ditto.
5630 2001-12-10 Michael Meeks <michael@ximian.com>
5632 * configure.in: use cspi/libspi.pc.in instead.
5634 * Makefile.am (pkgconfig_DATA): upd. to match.
5636 * test/simple-at.c (report_focus_event): kill hacks around
5637 bad return values, use putenv not setenv
5639 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5640 fire ChildGone - I killed it.
5642 * libspi/component.c
5643 (impl_accessibility_component_get_extents): remove
5646 * idl/Accessible.idl: kill ChildGone exception.
5648 * cspi/*.[ch]: kill int return from ref / unref.
5650 * cspi/spi_main.c (cspi_object_add_check): fold into
5651 (cspi_object_add): here.
5653 * cspi/spi_component.c (AccessibleComponent_getExtents):
5654 handle exceptions elegantly.
5656 * cspi/spi-private.h (cspi_check_ev_return),
5657 (cspi_return_if_fail): impl.
5659 * cspi/spi_accessible.c: use extensively.
5660 (AccessibleStateSet_equals): add direct compare check.
5662 * cspi/spi_selection.c: tolerate NULL objs, and check
5663 exceptions before return.
5665 * cspi/spi-util.c (cspi_warn_ev): rename to
5666 (cspi_check_ev): this & don't pass ev in; no point.
5668 2001-12-10 Michael Meeks <michael@ximian.com>
5670 * test/test-simple.c: use putenv not setenv
5671 (get_environment_vars): more chatty if you're not using
5674 * test/simple-at.c: do the setenv so more people see the
5677 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5679 * libspi/registry.c:
5680 Changed check of CORBA_environment on notification to be a warning
5681 instead of an error for the moment, since we can recover from this
5682 error when caused by a queued notification from a dead app.
5685 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5686 used by all current implementors of AtkValue), and coerce to
5687 CORBA_float. (Proper general case fix may require change to Value.idl).
5689 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5693 * cspi/spi_accessible.c:
5694 Documentation fixes: added user_data params to documentation for
5695 listeners and callbacks.
5697 * cspi/spi_accessible.c:
5698 Changed AccessibleStateSet_compare to return a
5699 StateSet rather than return the difference set into a third parameter.
5702 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5705 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5706 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5710 Remove subdirectory po from SUBDIRS for now.
5712 * at-bridge/bridge.c:
5713 Beefed up a couple of debug printouts.
5714 One-line fix for signal notification name formatting.
5716 * libspi/accessible.c:
5717 Added assertion to spi_accessible_new ().
5719 * libspi/application.c:
5720 Put #ifdef qualifiers around a printf.
5723 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5725 * registryd/Makefile.am:
5727 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5728 INTLTOOL_SERVER_RULE macro.
5731 Added an event listener for several ATK signals, for
5732 testing and debugging. Removed a few g_warnings.
5733 Added test output if focussed item implements the Value interface.
5735 * test/test-simple.c:
5736 Added test_value () function (known not to pass at the moment, so
5737 not actually called yet.
5739 2001-12-08 Michael Meeks <michael@ximian.com>
5741 * at-bridge/bridge.c (bridge_focus_tracker),
5742 (emit_eventv): fix the same ref. leak.
5743 (register_atk_event_listeners): don't leak.
5745 * cspi/spi-listener-impl.c (cspi_event): more
5746 protection from client code.
5748 * test/test-simple.c (test_desktop): unref the app.
5750 * test/Makefile.am: upd. TESTS.
5752 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5754 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5756 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5758 * cspi/spi_registry.c: constify in strings.
5759 (deregisterGlobalEventListenerAll): don't release the ref.
5761 * cspi/spi.h: start removing redundant / conflicting
5762 gtkdoc comments, making the API readable at a glance :-)
5764 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5766 * test/keysynth-demo.c (keysynth_exit, main): upd.
5768 * test/simple-at.c (main, simple_at_exit): upd.
5770 * test/test-simple.c (unutterable_horror): kill.
5771 (utterable_normal_derefs): kill.
5772 (main): upd & do a setenv before gtk_init, so that we
5773 can use memprof - and to save the pain of remembering
5774 this, if we're running under memprof - don't exit.
5776 * cspi/spi_main.c (SPI_exit): return exit status
5778 (SPI_event_quit): impl.
5779 (SPI_event_main): simplify.
5780 (cspi_is_gnome_app): kill.
5781 (SPI_init): kill isGNOMEapp arg.
5783 * at-bridge/bridge.c (register_atk_event_listeners):
5784 re-instate the unref.
5785 (bridge_exit_func): don't re-activate the registry,
5786 protect vs. theoretical re-entry, use the
5787 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5788 assert a clean shutdown - for regression tests.
5790 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5792 * configure.in: Comment out dummy i18n support for now,
5793 otherwise it fails to build.
5794 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5795 EXTRA_DIST. They are missing in tarball.
5797 2001-12-07 Michael Meeks <michael@ximian.com>
5799 * util/magnifier.c: kill bonobo activation reg. race.
5801 * libspi/component.c
5802 (impl_accessibility_component_get_extents): make it match
5805 * libspi/registry.c (_registry_notify_listeners):
5806 re-remove X headers & reconcile conflicts.
5807 (spi_listener_struct_free): bad conflict resolve.
5808 (impl_accessibility_registry_register_application):
5809 more bad merging fixed.
5810 (impl_accessibility_registry_deregister_application): ditto.
5811 (spi_registry_new): ditto.
5812 (spi_registry_init): don't have an applications field.
5814 [ merge fixups2 branch to here ]
5815 2001-12-07 Michael Meeks <michael@ximian.com>
5817 * test/simple-at.c (report_focus_event),
5818 (report_focussed_accessible): remove g_warning debug.
5820 2001-12-07 Michael Meeks <michael@ximian.com>
5822 * test/test-simple.c (validate_tree): comment out some checks.
5823 (test_desktop): app now not registered idly - horay.
5825 2001-12-07 Michael Meeks <michael@ximian.com>
5827 * cspi/spi_registry.c
5828 (registerAccessibleKeystrokeListener): clean, stop it leaking
5829 great swathes of memory, and device event controller references.
5830 ensure we always pass valid sequences.
5831 (deregisterAccessibleKeystrokeListener): ditto.
5832 (generateKeyEvent): upd.
5834 * at-bridge/bridge.c (bridge_key_listener): handle
5835 registry dead exception gracefully.
5836 (bridge_focus_tracker, emit_eventv): free ev.
5838 * test/simple-at.c (report_focus_event): fix polarity.
5840 * libspi/application.c (notify_listeners): kill the ev
5841 argument, and make sure we init the ev we use.
5842 (spi_application_object_event_listener): split out a chunk
5843 (get_atk_object_ref): here & fixup.
5844 (reverse_lookup_name_for_toolkit_event): make const.
5845 (spi_application_toolkit_event_listener): fixup, kill leaks
5848 * at-bridge/bridge.c (register_atk_event_listeners):
5849 don't unref the noop object - causes grief.
5851 * libspi/registry.c: remove the X headers.
5852 turn off the debug churn.
5854 * libspi/accessible.c (spi_accessible_new_return): only
5855 release the ref if we are supposed to [doh]
5857 * test/simple-at.c (report_button_press, report_focus_event):
5858 guard vs. unexpected exit.
5860 * at-bridge/bridge.c (gtk_module_init): prune printf.
5861 (bridge_exit_func): fix app unref.
5863 * libspi/Makefile.am: don't install registry or desktop.h
5865 * libspi/*.h: update includes.
5867 * libspi/application.h: don't include ourself, or
5868 other redundant headers.
5870 2001-12-06 Michael Meeks <michael@ximian.com>
5872 * libspi/accessible.c
5873 (get_accessible_from_servant): impl.
5874 Upd. all CORBA impl.s to use it killing cut and paste.
5876 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5878 (SPI_init): register atexit cleanup handler here.
5880 2001-12-06 Michael Meeks <michael@ximian.com>
5882 * at-bridge/bridge.c (gtk_module_init): g_error on
5883 activation exception
5885 2001-12-06 Michael Meeks <michael@ximian.com>
5887 * at-bridge/bridge.c (gtk_module_init): some sort of
5888 confusing merge clash - reverted.
5889 (bridge_idle_init): ditto.
5891 * test/test-simple.c (main, utterable_normal_derefs):
5892 merge from Bill - somehow not committed.
5894 2001-12-06 Michael Meeks <michael@ximian.com>
5896 * libspi/value.c (spi_value_class_init): upd.
5897 (spi_value_finalize): kill.
5899 * libspi/table.c (spi_table_finalize): kill.
5900 (spi_table_interface_new): upd.
5901 (spi_table_class_init): upd.
5902 (get_table_from_servant): impl.
5903 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5905 * libspi/selection.c (spi_selection_finalize): kill.
5906 (spi_selection_interface_new): upd.
5907 (spi_selection_class_init): upd.
5908 (get_selection_from_servant): impl.
5909 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5911 * libspi/relation.c (spi_relation_finalize): kill.
5912 (spi_relation_class_init, spi_relation_new): upd
5914 * libspi/image.c (spi_image_finalize): kill.
5915 (spi_image_class_init): upd.
5916 (spi_image_interface_new): upd.
5917 (get_image_from_servant): impl.
5918 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5920 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5921 (spi_hyperlink_finalize): kill.
5922 (spi_hyperlink_new): upd.
5923 (get_hyperlink_from_servant): impl.
5924 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5926 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5927 (spi_hypertext_finalize): kill.
5928 (spi_hypertext_class_init): upd.
5929 (get_hypertext_from_servant): impl.
5930 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5932 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5933 (spi_editable_text_interface_new): upd.
5934 (get_editable_text_from_servant): impl.
5935 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5937 * libspi/text.c (get_text_from_servant): impl.
5938 All impls - update to use it killing more cut and paste,
5939 also fix bad string returns on duff args ( a somewhat
5940 impossible case to handle - but hey ).
5941 (spi_text_construct): impl.
5942 (spi_text_interface_new): upd.
5943 (spi_text_object_finalize): kill.
5945 * libspi/component.c
5946 (accessibility_component_object_finalize): kill.
5947 (spi_component_class_init): upd.
5948 (get_component_from_servant): impl. helper to kill cut & paste.
5949 (impl_accessibility_component_contains):
5950 (impl_accessibility_component_get_accessible_at_point):
5951 (impl_accessibility_component_get_position):
5952 (impl_accessibility_component_get_extents):
5953 (impl_accessibility_component_get_mdi_z_order):
5954 (impl_accessibility_component_get_layer):
5955 (spi_component_interface_new): upd.
5957 * libspi/action.c (spi_action_finalize): kill.
5958 (spi_action_class_init): upd. inherit from SpiObject.
5959 (spi_action_interface_new): upd.
5960 (get_action_from_servant): impl. helper to reduce cut & paste.
5961 (impl_getKeyBinding, impl_getName, impl_doAction),
5962 (impl_getDescription): Use it everywhere.
5964 * cspi/spi_main.c (get_live_refs): a pointer hash.
5965 (spi_object_hash, spi_object_equal): comment out.
5966 There are issues with CORBA object hashing that need
5969 * libspi/application.c (spi_application_init),
5970 (spi_application_new): upd.
5972 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5973 (spi_accessible_class_init): upd.
5974 s/accessible/object/ in epv methods.
5976 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5978 * at-bridge/bridge.c:
5979 Reorder the bridge initialization into the bridge gtk_module_init,
5980 an immediate call to bridge_register_app, and an idle_add for
5981 register_atk_event_listeners (the only code that *must* wait until
5982 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5983 the activation, creates the application's Accessible object, and
5984 queues the bridge_idle_init function. Restored call to
5985 Accessibility_Registry_deregisterApplication().
5986 Prior to making this call we obtain a new reference to the
5987 registry, which is a temporary hack that helps us handle apps that
5988 shut down the bonobo mainloop before we get there.
5990 * libspi/registry.c:
5991 Fix string leakage in debug block, and don't segv if a an app
5992 dies before its event notifications have been propagated.
5995 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5996 as stopgap measure until we get proper exception handling when
5997 objects die during or before interrogation.
6001 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6002 Also changed default value of is_gnome_app to TRUE.
6005 * test/keysynth-demo.c:
6006 Changed use of SPI_init and SPI_event_main to reflect API change above.
6009 Made report_focus_event check the warning value from getName
6010 before reporting on focussed accessible; simplifies handling of
6011 notifications from dead objects.
6013 * test/test-simple.c: (Changes not in this patch since source is
6016 2001-12-05 Michael Meeks <michael@ximian.com>
6018 * registryd/registryd.c (main): protect against
6019 bonobo-activation startup race condition.
6021 * cspi/spi_main.c (cspi_object_add_check): cope
6022 with the exception elegantly.
6024 * idl/Accessible.idl: decl. ChildGone
6026 * libspi/desktop.c (spi_desktop_dispose): impl.
6027 (spi_desktop_class_init): upd.
6028 (spi_desktop_add_application),
6029 (spi_desktop_remove_application),
6030 (abnormal_application_termination): impl.
6031 (impl_desktop_get_child_at_index): re-impl.
6034 (impl_accessibility_registry_deregister_application),
6035 (impl_accessibility_registry_register_application):
6036 kill excessive debug clutter.
6038 * test/test-simple.c (test_misc): test some NULL
6039 tolerance. (main): upd.
6041 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6042 implements no interfaces - so let's not crash.
6044 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6046 * libspi/accessible.c (spi_accessible_new_return): impl.
6047 helper to calm the cut and paste, to cope with
6048 NULL AtkObjects effectively and efficiently, and to kill
6049 the referencing bugs.
6051 * libspi/table.c (impl_getAccessibleAt),
6052 (impl_getRowHeader, impl_getColumnHeader): upd.
6054 * libspi/hyperlink.c (impl_getObject): upd.
6056 * libspi/accessible.c
6057 (impl_accessibility_accessible_get_child_at_index): upd.
6059 * libspi/component.c
6060 (impl_accessibility_component_get_accessible_at_point): upd.
6062 * test/test-simple.c (test_editable_text, test_text): impl.
6065 * cspi/spi_editabletext.c
6066 (AccessibleEditableText_insertText): constify.
6068 * test/test-simple.c (focus_me): make more robust.
6070 * libspi/accessible.c: remove some printfs in methods that
6071 we test and work fine, so we can get a clean tree dump.
6073 * test/test-simple.c (validate_accessible),
6074 (validate_tree): make tree dumping pretty too.
6076 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6077 it builds without debug on.
6079 * test/test-simple.c (validate_accessible): fix the most
6082 * cspi/spi_main.c (spi_object_release): leave the nicely
6083 blanked memory around if in debug mode.
6085 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6087 [committed to fixups2]
6088 2001-12-05 Michael Meeks <michael@ximian.com>
6090 * libspi/editabletext.c
6091 (spi_editable_text_class_init): g_type_class_peek_parent,
6092 not interface peek - so we finalize cleanly.
6094 * libspi/accessible.c (spi_accessible_new): kill debug.
6096 * test/test-simple.c (validate_accessible): fix ref.
6097 leak, print strings before freeing them; sigh, comment a
6098 chunk out due to strangeness.
6099 (validate_tree): unref the child after use.
6101 * cspi/spi_component.c (AccessibleComponent_getLayer):
6102 add missing break statement, switch on zlayer not the
6103 uninitialized retval.
6105 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6106 before (possibly re-entering) remote unref.
6108 * test/simple-at.c (main): unref the desktop.
6110 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6113 * cspi/spi_main.c (cspi_accessible_is_a): here to
6114 isolate bonobo API usage more.
6116 * libspi/registry.c (impl_accessibility_registry_register_application):
6117 prune bogus comment.
6119 2001-12-04 Michael Meeks <michael@ximian.com>
6121 * test/test-simple.c (validate_tree): upd.
6122 IndexInParent check to make it more lucid.
6123 (validate_accessible): dump the tree.
6125 * libspi/accessible.c (de_register_public_ref),
6126 (get_public_refs): impl.
6127 (spi_accessible_new): make more efficient & intuitive.
6128 Now IndexInParent check works.
6130 2001-12-04 Michael Meeks <michael@ximian.com>
6132 * cspi/spi-util.h: remove.
6134 * cspi/spi.h: move SPI_freeString here
6136 * libspi/component.c (impl_accessibility_component_get_layer):
6138 (impl_accessibility_component_get_mdi_z_order): ditto,
6139 return -1 on error - is this ok ?
6141 * test/test-simple.c (test_application): impl.
6143 * cspi/spi_accessible.c (Accessible_getApplication),
6144 (Accessible_isApplication): impl.
6146 * libspi/registry.c (spi_listener_struct_free): release
6147 the CORBA reference too.
6149 * libspi/accessible.c
6150 (impl_accessibility_accessible_get_parent): fix ref leak.
6152 * libspi/registry.c (spi_registry_new): make the registry
6153 immortal - we don't want it to go away ever.
6155 * libspi/application.c
6156 (spi_accessible_application_finalize): impl. cleanup.
6158 * cspi/spi_registry.c
6159 (deregisterGlobalEventListenerAll),
6160 (deregisterGlobalEventListener),
6161 (deregisterAccessibleKeystrokeListener): fix ref leak.
6163 * cspi/spi_main.c (SPI_init): remove redundant ref.
6165 * test/test-simple.c (unutterable_horror): impl. to force a
6170 (impl_accessibility_registry_deregister_application): release
6171 the application when we de-register it.
6173 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6174 until we have the infastructure to get it right.
6176 2001-12-03 Michael Meeks <michael@ximian.com>
6178 * libspi/Makefile.am: only build eventlistener.[ch]
6180 * libspi/accessible.c
6181 (impl_accessibility_accessible_get_child_at_index): don't leak.
6183 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6184 before we hit the idle handler.
6186 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6187 debugging than exit.
6189 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6191 * libspi/listener.c (impl_notify_event): check source
6192 not NIL before unref.
6194 * libspi/registry.c (impl_registry_notify_event): ditto.
6196 * libspi/eventlistener.c
6197 (impl_accessible_event_notify_event): unref the source.
6199 * libspi/accessibleeventlistener.c
6200 (impl_accessible_event_notify_event): unref the source.
6202 * idl/Event.idl: remove 'hash_id' attribute - of no
6205 * libspi/application.c (notify_listeners): upd list
6207 (spi_application_object_event_listener),
6208 (spi_application_toolkit_event_listener): upd to do correct
6212 (_registry_notify_listeners): update.
6213 (parse_event_type): this method also leaks like a sieve.
6214 (impl_accessibility_registry_deregister_global_event_listener):
6215 fix ETYPE_WINDOW case.
6217 * libspi/application.c
6218 (impl_accessibility_application_register_object_event_listener):
6221 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6223 * libspi/hypertext.c (impl_getLink): ditto.
6225 * cspi/spi_main.c (cspi_object_add): remove
6226 bogus CORBA_Object_duplicate.
6228 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6231 * cspi/spi_accessible.c
6232 (Accessible_getRelationSet): fix leak / referencing issue.
6234 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6235 (cspi_object_add, cspi_object_unref): upd.
6236 (spi_object_release, get_live_refs): impl.
6237 (cspi_cleanup): simplify.
6239 * *.[ch]: s/boolean/SpiBoolean/
6241 * cspi/spi_accessible.c (role_names): actualy order so it
6242 corresponds with the enum !
6244 * test/test-simple.c (test_roles): check some role strings
6245 vs. enums to detect offset errors.
6247 2001-12-01 Michael Meeks <michael@ximian.com>
6249 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6251 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6253 (Accessible_getChildAtIndex): use cspi_add_check so we
6254 check the ev before using a (possibly) invalid value.
6256 * libspi/accessible.c
6257 (impl_accessibility_accessible_get_parent): don't segv
6260 * at-bridge/bridge.c (gtk_module_init): upd.
6261 (bridge_property_event_listener): don't leak strings
6263 (bridge_state_event_listener),
6264 (bridge_property_event_listener): don't use a static
6265 buffer in case of recursive event emission &
6266 re-enterancy - split out the swathe of cut and paste
6268 (emit_eventv): and fix 2 ref leaks here & comply to the
6270 (bridge_register_app): rename to
6271 (bridge_idle_init): this and kill arg parsing, split
6272 various inits & bonobo-activation registration to module
6273 init time, kill referencing error.
6274 (bridge_exit_func): fix the same leak.
6275 (bridge_focus_tracker): don't leak event structures
6277 (bridge_signal_listener): more leakage and cut & paste
6279 (bridge_key_listener): return the result - FIXME is
6280 this polarity correct ?
6281 (accessibility_keystroke_from_atk_key_event): rename
6282 (accessibility_init_keystroke_from_atk_key_event): and stop
6284 (gtk_module_init): return a value - not that it is checked by
6286 (bridge_key_listener): register my horror at casting between
6287 IDL defined structs.
6288 (bridge_get_registry): kill - not used.
6290 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6292 * test/test-simple.c (test_roles): impl.
6293 (test_desktop, validate_accessible, validate_tree): impl.
6295 * cspi/spi_accessible.c (role_names): fixup bogus
6296 MAX_ROLES setup, make constants const for efficient linkage
6297 (AccessibleRole_getName): conform to coding style, make
6300 2001-11-30 Michael Meeks <michael@ximian.com>
6302 * cspi/spi.h: add missing prototype.
6304 * libspi/registry.c (spi_listener_struct_new): fix sig.
6306 * test/Makefile.am: add test-simple
6308 * test/test-simple.c: add
6310 * test/test.sh: add.
6312 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6314 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6315 do it straight - since otherwise we often get an activation race.
6317 [ work before Bill duplicated a chunk of it ... ]
6318 2001-11-30 Michael Meeks <michael@ximian.com>
6320 * libspi/keystrokelistener.c
6321 (spi_keystroke_listener_class_init): fixup arg
6324 * libspi/eventlistener.c
6325 (spi_event_listener_class_init): ditto.
6327 * tests/test.sh: add.
6329 * cspi/spi-listener-impl.h: update macros.
6331 * cspi/spi-listener-impl.c
6332 (cspi_event_listener_remove_callback): add
6333 correct pre-conditions.
6335 * cspi/spi_main.c (SPI_exit): guard vs. double
6336 exits, exit the mainloop nicely.
6337 (SPI_event_main): make more sense.
6338 (SPI_init): move the atexit evilness here so we
6339 always do it (yuck).
6340 (SPI_event_main): upd.
6342 * test/simple-at.c: update for listener changes.
6344 * registryd/registryd.c (main): prune kruft.
6346 * libspi/libspi.h: upd.
6348 * libspi/eventlistener.[ch]: rename broken macros.
6350 * libspi/accessibleeventlistener.[ch]: remove.
6352 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6354 * test/test-simple.c: Add - automated tests.
6356 * cspi/spi-listener-impl.c (cspi_event),
6357 (cspi_key_event): add user_data to invoke.
6358 (cspi_keystroke_listener_finalize): impl.
6359 (cspi_keystroke_listener_class_init): upd.
6362 (createAccessibleEventListener),
6363 (AccessibleEventListener_addCallback),
6364 (createAccessibleKeystrokeListener),
6365 (AccessibleKeystrokeListener_addCallback): upd.
6367 * libspi/deviceeventcontroller.c
6368 (spi_device_event_controller_check_key_event): add public proto.
6371 (impl_accessibility_registry_deregister_global_event_listener):
6372 always init listeners.
6373 (_registry_notify_listeners): yes it is.
6375 * cspi/spi-listener-impl.c (cspi_key_event):
6377 (cspi_event_listener_finalize): impl.
6378 (cspi_event_listener_class_init): hook up.
6379 (event_handler_new, event_handler_free),
6380 (event_list_remove_by_callback): impl.
6381 (cspi_event_listener_remove_callback),
6382 (cspi_keystroke_listener_remove_callback),
6383 (cspi_keystroke_listener_add_callback),
6384 (cspi_event_listener_add_callback): upd.
6386 * libspi/keystrokelistener.c
6387 (keystroke_listener_object_finalize): kill
6388 (spi_keystroke_listener_class_init): upd.
6389 (spi_keystroke_listener_add_callback),
6390 (spi_keystroke_listener_remove_callback): kill,
6392 (impl_key_event): prune drasticaly.
6394 * libspi/eventlistener.c
6395 (spi_event_listener_add_callback),
6396 (spi_event_listener_remove_callback): kill, use
6398 (impl_accessible_event_notify_event): upd.
6399 (spi_event_listener_object_finalize): remove.
6401 * libspi/Makefile.am: use eventlistener.[ch]
6403 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6405 * libspi/registry.c (_registry_notify_listeners):
6406 Changed listener loop iteration to use preferred convention.
6407 Got rid of string memory leaks caused be calling g_strconcat
6408 inside function calls.
6410 * libspi/registry.c (parse_event_type):
6411 Stopped g_strconcat memory leaks, free the g_strsplit return,
6412 g_strdup the split pieces when used, etc.
6414 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6417 Change method 'compare' to return a 'difference set' rather than
6418 taking a StateSet as an out parameter (more Java-friendly).
6420 * idl/Accessible.idl:
6421 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6423 * idl/Component.idl:
6425 Changed methods 'getExtents' and 'getImageExtents' in these
6426 interfaces to return a BoundingBox structure.
6427 (getPosition and getSize are redundant and possibly should be
6428 removed, rather than creating a corresponding Point struct.)
6430 * cspi/spi_component.c:
6431 Modify implementation of getExtents to reflect the above IDL
6436 Add (missing) AccessibleImage_getExtents () API.
6438 * docs/reference/cspi/at-spi-cspi-sections.txt:
6439 Added AccessibleImage_getImageExtents () to docs.
6441 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6443 * idl/Component.idl:
6444 Added two methods, getLayer () and getMDIZOrder (), to reflect
6445 the new ATK methods atk_object_get_layer and
6446 atk_object_get_mdi_z_order. (Which arguably should be part of the
6447 AtkComponent API and AtkObject). Also added an enum,
6448 ComponentLayer, for the first method's return value.
6450 * libspi/component.c:
6451 Added implementations for these methods.
6453 * cspi/spi_component.c:
6455 Added cspi binding methods for above,
6456 AccessibleComponent_getLayer() and
6457 AccessibleComponent_getMDIZOrder().
6458 Added cspi enum 'AccessibleComponentLayer'.
6460 * docs/reference/cspi/at-spi-cspi-sections.txt:
6461 Added above methods to docs.
6465 Changed typedef for 'boolean' type (and all references to it) to
6466 SPIBoolean, to avoid keyword clashes with C++.
6469 Changed usages of 'boolean' to SPIBoolean.
6471 * test/keysynth-demo.c:
6472 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6473 app), except where SPIBoolean is required by the callbacks API.
6475 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6477 * cspi/spi_registry.c:
6478 Removed obsolete X event loop for passive keygrabs (which now
6481 * registryd/registryd.c:
6482 Removed unnecessary call to gdk_init() [cruft]. This also allows
6483 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6486 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6488 * docs/reference/cspi:
6489 Included docs for SPI_freeString in generated documentation.
6492 Renamed spi_freeString to SPI_freeString, for consistency. Added
6493 documentation for this function.
6496 Renamed spi_freeString to SPI_freeString, for consistency.
6497 Removed obsolete method declaration string_from_corba_string.
6499 * test/keysynth-demo.c:
6500 Small tweak to comments.
6503 Stopped leaking the strings returned from CSPI.
6505 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6507 Merged Michael's branch (see his ChangeLog entries below).
6509 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6510 bridge is alive, release on exit.
6512 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6513 Fix type check macro.
6516 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6519 Added is_gnome_app static, and method cspi_is_gnome_app(),
6520 so we can call the appropriate shutdown routine at exit in SPI_exit.
6522 * cspi/spi_main.c (cspi_object_ref):
6523 Duplicate the corba object passed in, since we're keeping it around.
6525 * cspi/SPI_exit.c, cspi_cleanup:
6526 Moved the releasing of the live refs to its own function, so we
6527 can put it in g_atexit (). Call the appropriate shutdown API
6528 depending on whethe calling client is a gnome app or not
6529 (bonobo_main_quit or CORBA_ORB_shutdown).
6531 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6532 Unref the listener when this method is called, after
6533 deregistration. Updated the API docs to note this behavior.
6535 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6536 Bugfixes: Ref the bonobo object when returning a parent or child
6537 reference, or an AccessibleRelation. Generally made sure
6538 BonoboObject refcount is incremented whenever we return an
6541 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6542 Fixed typo/bug in signal declaration.
6544 * libspi/accessibleeventlistener.h:
6547 * libspi/application.c (spi_application_new):
6548 Fixed leak in initialization.
6551 Remembered to increment bonobo-object refcount when returning
6552 children (applications) from desktop object.
6553 Added (empty) finalize method.
6555 * libspi/deviceeventcontroller.c:
6556 Hold a ref to listeners inside DEControllerKeyListeners.
6557 Added dec_key_listener_free() method. Use prepend instead of
6558 append in key_listener list. Fixed some refcount madness and
6559 leaks in the listener registration/deregistration - deregistration
6560 now calls dec_key_listener_free() on listeners, and on the
6561 temporarily constructed dec_key_listener() used to perform the search/match.
6563 * libspi/hypertext.c (spi_hypertest_finalize):
6564 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6565 class. Also fixed spi_hypertext_interface_new() and
6566 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6568 * libspi/hypertext.h:
6569 Removed pointless and duplicate AtkObject pointer from
6572 * libspi/keystrokelistener.c:
6573 Fixed incorrect type of keystroke_listener_parent_class,
6574 renamed keystroke_listener_object_finalize to
6575 spi_keystroke_listener_object_finalize.
6576 Fixed typo in signal declaration
6577 (spi_keystroke_listener_class_init).
6579 * libspi/registry.c:
6580 Added funcsions spi_listener_struct_new() and
6581 spi_listener_struct_free() to help with memory management issues.
6582 We also now use these methods instead of gnew + poking stuff into
6583 the struct, and to decrement listener counts/free the listeners
6584 when deregistering them.
6585 Fix more refcount bugs in getDesktop() and
6586 getDeviceEventController().
6589 De-ref the desktop after enumerating the applications. Explicitly
6590 decrement the refcounts on the created listeners on exit (using
6591 _unref for keystroke listeners, and via the
6592 deregisterGlobalEventListenerAll command for other event
6595 2001-11-27 Michael Meeks <michael@ximian.com>
6597 * cspi/spi-listener.h: fixup enum.
6599 2001-11-27 Michael Meeks <michael@ximian.com>
6601 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6602 (cspi_keystroke_listener_new): Use the cspi variants.
6604 2001-11-26 Michael Meeks <michael@ximian.com>
6606 * test/keysynth-demo.c: fix 2 compile warnings, missing
6609 * test/simple-at.c (report_focussed_accessible),
6610 (report_focus_event, report_button_press),
6611 (check_property_change, is_command_key),
6612 (report_ordinary_key_event, report_command_key_event): upd.
6614 * util/mag_client.h: include pre-requisites.
6616 * libspi/accessibleeventlistener.c
6617 (spi_event_listener_object_finalize): free any lingering
6620 * libspi/keystrokelistener.c
6621 (keystroke_listener_object_finalize): ditto.
6623 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6624 callbacks, with cspi types.
6626 * cspi/spi_event.c (createAccessibleEventListener): chain to
6627 (AccessibleEventListener_addCallback): here.
6628 (createAccessibleKeystrokeListener): chain to
6629 (AccessibleKeystrokeListener_addCallback): here.
6631 * libspi/keystrokelistener.c
6632 (spi_keystroke_listener_class_init): add signal.
6633 (impl_key_event): emit the event.
6634 (boolean_handled_accumulator): impl.
6635 (marshal_BOOLEAN__POINTER): add, gack.
6637 * libspi/accessibleeventlistener.c
6638 (spi_event_listener_class_init): add signal.
6639 (impl_accessible_event_notify_event): emit the signal &
6640 make the loop efficient.
6641 (spi_event_listener_add_callback): prepend the callback.
6643 * libspi/accessibleeventlistener.h: add an 'event' signal,
6644 decl type on callback.
6646 * libspi/keystrokelistener.h: ditto.
6648 * cspi/spi-listener.h: make methods typesafe and
6649 make them use the new event typedefs.
6651 * test/simple-at.c (report_focussed_accessible):
6652 include mag_client.h
6653 Use *(void *)text_interface not the other thing.
6655 * configure.in: add gtk to registryd bits - since we use
6658 * util/magnifier.c: include libbonobo.h
6660 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6662 * test/keysynth-demo.c:
6663 Turned this into a simple scanning keyboard, to demonstrate the
6664 use of g_timeout_add () as a means of creating timers for
6665 scanning, and the use of GtkStyle for visually indicating when
6666 virtual keyboard elements are selected.
6668 keysynth-demo now listens to any keyboard keys with zero-valued
6669 keycodes (i.e. 'unused' keys) and interprets them as
6672 Reworked the shiftlatch code so that shift-down state isn't held
6673 for long periods (it's only synthesized immediately prior to
6674 the keysynth event it's modifying). Note that shiftlatch in this
6675 demo is a convenience, not intended to take the place of AccessX
6676 which is the better choice for getting 'sticky' modifier keys.
6678 * libspi/deviceeventcontroller.c:
6679 * at-bridge/bridge.c:
6680 * cspi/spi_registry.c:
6681 Removed some debug print stuff, and put other verbosity in #ifdef
6686 Implemented some more of the magnifier IDL for the simple
6687 magnifier: namely, getZoomRegionParams.
6688 Added mag_x and mag_y members to MagnifierData struct, aid of this
6690 Added GtkWindow::realize signal handler to magnifier, to keep it
6691 from receiving keyboard focus from the WM.
6693 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6695 * cspi/spi-private.h: my guess at what michael forgot
6696 before he ran off to NZ :-)
6698 2001-11-23 Michael Meeks <michael@ximian.com>
6700 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6701 comment out non existant method invoke so we link.
6703 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6704 use bonobo_exception_get_text for more friendly warnings.
6706 * cspi/spi.c (Obj_Add): move into spi_main & rename
6707 spi_object_add; kill spi.c
6709 * cspi/spi_registry.c
6710 (deregisterGlobalEventListener),
6711 (deregisterGlobalEventListenerAll),
6712 (registerGlobalEventListener): fix exception leaks.
6714 * cspi/spi_main.c (spi_exception): impl. helper, so we
6715 don't leak exceptions.
6717 * cspi/spi_selection.c
6718 (AccessibleSelection_deselectSelectedChild): return the
6721 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6722 (spi_registry): ditto.
6723 (SPI_init): guard against double inits.
6725 * cspi/*.c: use spi_ev (), and spi_registry () where
6726 appropriate - a temporary hack until we have something
6727 better. Use spi_object_add
6729 2001-11-22 Michael Meeks <michael@ximian.com>
6731 * cspi/Makefile.am: re organise, install the headers.
6733 * cspi/*.h: add G_BEGIN/END_DECLS
6735 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6738 Added non-preemptive keylistener for key events with no modifiers
6739 and shift-only modifier.
6741 * libspi/keystrokelistener.c:
6742 Removed some verbose diagnostics printout.
6744 * cspi/spi_registry.c:
6745 Fixed a bug that caused all key listeners to be registered as
6748 * libspi/deviceeventcontroller.c:
6749 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6750 for non-preemptive key masks.
6753 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6755 * docs/reference/idl/at-spi-idl-docs.sgml:
6756 * docs/reference/idl/at-spi-idl-sections.txt:
6757 * docs/reference/idl/at-spi-idl-overrides.txt:
6758 Added missing files.
6760 * docs/reference/Makefile.am:
6761 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6762 to scan the IDL files :-(
6767 Added .cvsignore files.
6769 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6771 * libspi/deviceeventcontroller.c:
6772 * libspi/keystrokelistener.c:
6774 * cspi/spi_registry.c:
6775 Added filters for KeySets, KeyEventSeq, and event types to key
6776 event dispatching, so listeners should only receive those events
6777 that they requested :-)
6779 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6784 * docs/reference:Makefile.am:
6785 * docs/reference/cspi:
6786 * docs/reference/cspi:Makefile.am:
6787 * docs/reference/cspi:tmpl:
6788 * docs/reference/cspi:tmpl:*.sgml:
6789 * docs/reference/idl:
6790 * docs/reference/idl:Makefile.am:
6791 * docs/reference/idl:at-spi-idl-sections.txt:
6792 * docs/reference/idl:at-spi-idl-docs.sgml:
6793 * docs/reference/idl:tmpl:
6794 * docs/reference/idl:tmpl:*.sgml:
6796 Restructured docs directory to allow separate 'reference' docs
6797 section, and forked idl and cspi docs. Added the sgml template
6798 files to CVS. Added the first sections/structural sgml for the
6801 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6803 * configure.in, libspi/Makefile.am: find libXtst.
6805 2001-11-21 Michael Meeks <michael@ximian.com>
6807 * test/accessx-gui.c: s/spi_value/value/ - doh.
6809 * libspi/base.[ch]: add.
6811 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6813 * idl/Accessible.idl:
6814 * idl/Application.idl:
6817 Started gtk-doc cleanup on IDL.
6819 * libspi/deviceeventcontroller.c:
6820 Added and connected non-preemptive key notification from the
6821 toolkits (in addition to the pre-emptive support from XServer
6822 which we had before, but which causes 'focus flashing'). Filters
6823 are presently limited to key modifiers and global/non-global,
6824 KeySets are presently ignored, as are KeyEvent masks.
6826 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6827 structs into the persistant structure rather than just storing
6828 pointers to things that might not persist across servant
6831 The XGrabKey call now does async keygrabs, because synchronous
6832 ones were deadlocking with GDK_event code in a very nasty way.
6834 Added boolean to internal method notify_keylisteners, to indicate
6835 whether the event came from the 'toolkit source' or the 'global
6836 (XServer) source' - this is used in the notification process to
6837 determine which listeners to send the event to.
6839 deviceeventcontroller.c is now warning-free.
6841 * libspi/registry.c:
6842 Fixed regression in application de-registration.
6843 Also fixed some really brain-dead weirdness having to do with
6844 event dispatching - event structs are now duplicated before being
6845 re-marshalled in the dispatch to listeners. This also fixes a
6846 Solaris build problem.
6849 2001-11-20 Michael Meeks <michael@ximian.com>
6852 (impl_accessibility_registry_deregister_global_event_listener):
6855 * libspi/deviceeventcontroller.c
6856 (spi_device_event_controller_check_key_event): return
6857 FALSE on no virtual method.
6859 * libspi/*..h: make includes work on a correctly pathed install.
6861 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6863 * libspi/application.h: kill unused ( and whacked out )
6864 gboolean *spi_application_set_id (AtkObject *app, long id);
6866 2001-11-20 Michael Meeks <michael@ximian.com>
6868 * libspi/*.[ch]: further convert to bonobo's type func
6869 macros, remove redundnant casts etc.
6871 * libspi/text.c s/accessibility_text/spi_text/g,
6872 re-order to de-cruft.
6874 * libspi/hypertext.c: re-order to kill a huge slew
6875 of redundant forward decls.
6877 * libspi/relation.c: ditto.
6879 * libspi/image.c: ditto.
6881 * */.cvsignore: update
6883 2001-11-20 Michael Meeks <michael@ximian.com>
6885 * libspi/deviceeventcontroller.c
6886 (_controller_register_with_devices): use g_getenv,
6887 kill stdlib.h include.
6889 * libspi/keystrokelistener.c
6890 (spi_keystroke_listener_get_type): kill
6891 (spi_keystroke_listener_class_init),
6892 (spi_keystroke_listener_init): rename to this.
6894 * libspi/text.c (impl_getAttributes): fix warning / bug.
6896 * libspi/*.[ch]: more headers, includes and over commenting.
6898 2001-11-20 Michael Meeks <michael@ximian.com>
6900 * libspi/*.[ch]: fixup headers, includes and over commenting.
6902 * libspi/image.c (impl__get_imageDescription): const
6903 correctness warning fix. remove redundant casting.
6905 * libspi/table.c (impl_getRowDescription): ditto.
6906 (impl_getColumnDescription): ditto.
6908 * libspi/libspi.h: add.
6910 2001-11-19 Michael Meeks <michael@ximian.com>
6912 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6914 * libspi/component.c (accessibility_component_get_type):
6915 rename to (spi_component_get_type): and macroify.
6916 (accessibility_component_init): rename to
6917 (spi_component_init): this
6918 (accessibility_component_class_init): rename to
6919 (spi_component_class_init): this
6921 * libspi/action.c (spi_action_get_type): kill, use the macro.
6923 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6926 * libspi/application.c (spi_application_object_event_listener),
6927 (impl_accessibility_application_register_object_event_listener):
6928 warning fixes / const understanding updates.
6930 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6933 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6935 * libspi/spi_accessible.c: Added docs and C bindings for
6936 AccessibleStateSet. (No implementations yet). Documentation
6937 coverage for C bindings now 100%. Made docs for event listeners
6942 boolean notifyListenersSync (in DeviceEventListener listener,
6943 in DeviceEvent event);
6945 oneway void notifyListenersAsync (in DeviceEventListener listener,
6946 in DeviceEvent event);
6948 Added DeviceEventListener and DeviceEvent structs (may deprecate
6949 KeyStroke and KeystrokeListener in favor of this generic
6950 event/listener framework for devices).
6952 * libspi/deviceeventcontroller.c:
6954 Changed some key listener code to take masks, etc., and paved the
6955 way for integration of toolkit/non-preemptive key events. Changed
6956 signatures of some internal methods.
6958 * at-bridge/bridge.c:
6959 Fixed regression connecting to interface signals, apparently
6960 caused by GTK+ changes.
6962 Added an internal bridge_state_listener to deal with
6963 property-change:accessible-state signals.
6965 Changed the key_listeners GList to store structs (including masks,
6966 etc.) instead of just CORBA_Objects (required for full
6967 implementation of key listener API).
6969 Connected the bridge to all currently supported Atk signals.
6970 Events now supported:
6971 object:property-change
6972 object:property-change:accessible-name
6973 object:property-change:accessible-state
6974 object:property-change:accessible-description
6975 object:property-change:accessible-parent
6976 object:property-change:accessible-value
6977 object:property-change:accessible-role
6978 object:property-change:accessible-table-caption
6979 object:property-change:accessible-table-column-description
6980 object:property-change:accessible-table-column-header
6981 object:property-change:accessible-table-row-description
6982 object:property-change:accessible-table-row-header
6983 object:property-change:accessible-table-summary
6984 object:children-changed
6985 object:visible-data-changed
6986 object:selection-changed
6987 object:text-selection-changed
6989 object:text-caret-moved
6991 object:row-reordered
6993 object:column-inserted
6994 object:column-reordered
6995 object:column-deleted
6996 object:model-changed
6998 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7000 * libspi/hyperlink.c,h:
7001 Fixed some broken stuff in hyperlink.
7003 * libspi/relation.h:
7004 * libspi/relation.c:
7005 * cspi/spi_accessible.c:
7006 Initial implementations of AccessibleRelation methods, and docs.
7008 * libspi/accessible.c:
7009 Fixed a bug that caused SEGV if an accessible
7010 object's description is NULL, and a client
7011 requests it. An empty string is now returned.
7013 * cspi/spi_editabletext.c:
7014 * cspi/spi_hypertext.c:
7016 * cspi/spi_hyperlink.c:
7020 Doc coverage now 95%.
7022 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7024 One last namespacing revision:
7025 * libspi/accessibleeventlistener.[ch]:
7026 Renamed SpiAccessibleEventListener to SpiEventListener,
7027 (no need for two namespaces ;-)
7029 And lots of documentation fixes:
7031 * docs/at-spi-docs.sgml:
7032 Fixed 'underscore vs. hyphen' bug that was preventing
7033 the gtk-doc API docs from being automatically generated.
7036 * cspi/spi-listener.h
7038 * cspi/spi_accessible.c
7040 * cspi/spi_application.c
7041 * cspi/spi_component.c
7042 * cspi/spi_editabletext.c
7044 * cspi/spi_hypertext.c
7046 * cspi/spi_registry.c
7047 * cspi/spi_selection.c
7051 * docs/at-spi-docs.sgml
7052 * docs/at-spi-sections.txt
7054 Added and fixed up gtk-doc documentation in cspi.
7056 Interfaces now (fully) documented (subject to revision and enhancement):
7058 Event Listener Support
7060 AccessibleApplication
7064 AccessibleEditableText
7071 AccessibleRelationSet
7076 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7078 * at-bridge/bridge.c:
7079 Initial work for toolkit-level key snooper connection by bridge.
7084 New typedefs and fixes to support new namespacing, and cleaner
7085 separation of cspi bindings from libspi bonobo implementation.
7086 Removed inconsistent and extraneous Spi* namespace prefix that
7087 had crept into cspi headers.
7088 Lots of comment fixes that sed had missed.
7090 * cspi/spi-roletypes.h:
7091 * cspi/spi-statetypes.h:
7092 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7093 to AccessibleRoleType.
7095 * libspi/accessibleeventlistener.h:
7096 Fixed minor namespacing weirdness.
7098 * libspi/deviceeventcontroller.c:
7099 Reordered some internal API for device listeners.
7100 Changed the key registry final boolean to 'is_system_global'
7101 rather than 'is_synchronous', which is more descriptive of its
7103 Added spi_device_event_controller_new().
7104 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7106 * libspi/keystrokelistener.[ch]:
7107 Namespaced KeystrokeListener to SpiKeystrokeListener.
7108 Changed uses of keymasks to use SPI_ prefix, and did other
7111 * libspi/keymasks.h:
7112 Namespaced keymask constants with SPI_ prefix.
7114 * libspi/registry.c:
7115 Some warning fixes, and knock-on fixes from namespace changes.
7118 Added rules for accessx-gui test program.
7120 * test/accessx-gui.c:
7121 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7122 utility. It doesn't actually use at-spi, but it's still cool and
7125 * test/keysynth-demo.c:
7129 Fixes so that these test clients work properly with the namespaced
7130 libraries. (Incompletely tested for technical reasons, fixes may follow)
7133 2001-11-13 Michael Meeks <michael@ximian.com>
7135 * libspi/application.c
7136 (impl_accessibility_application_get_version),
7137 (impl_accessibility_application_get_toolkit_name):
7139 (impl_accessibility_application_set_id),
7140 (impl_accessibility_application_get_id): remove
7141 redundant casting code.
7143 * libspi/action.c (impl_getDescription): fix warnings.
7145 * libspi/accessible.c
7146 (impl_accessibility_accessible_get_parent),
7147 (impl_accessibility_accessible_get_child_at_index),
7148 (impl_accessibility_accessible_get_state),
7149 (impl_accessibility_accessible_get_relation_set):
7150 warning fixes & include action.h
7152 2001-11-13 Michael Meeks <michael@ximian.com>
7154 * *.[ch] fix bits I screwed up:
7156 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7157 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7159 2001-11-13 Michael Meeks <michael@ximian.com>
7161 * *.[ch] Namespace libspi into spi_ and Spi.
7163 2001-13-11 Michael Meeks <michael@ximian.com>
7165 * Makefile.am: dist & install at-spi-1.0.pc
7167 * libspi/Makefile.am: install into at-spi-1.0
7169 * idl/Makefile.am (idldir): install into at-spi-1.0
7171 * at-spi-1.0.pc.in: add.
7173 * configure.in: build it.
7175 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7177 * test/keysynth-demo.c:
7178 Use a 'realize' signal-handler to set the WM properties for
7179 the virtual keyboard, rather than making it a "POPUP" type
7180 override-redirect window (thanks to anders carlsson for that
7183 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7186 * test/keysynth-demo.c:
7187 Added new test of key synthesis, which creates a simple
7188 (mouse-operated) onscreen keyboard. It inserts key events into
7189 the currently-focused window, thus it does not grab keyboard focus
7192 * cspi/spi_registry.c:
7193 Added C binding for AT-SPI generateKeyEvent.
7195 * libspi/deviceeventcontroller.c:
7196 Added call to XFilterEvent so that key listener works with XIM (we
7197 hope). Added event_synth_type to generateKeyEvent, so that we can
7198 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7199 synthesize a press/release pair for KeySyms.
7201 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7203 * libspi/Makefile.am:
7204 * registryd/Makefile.am:
7205 (temporary) hack to include libXtst in libspi and registryd.
7206 (Needed for keystroke synthesis, see below).
7209 Improved API for registerKeystrokeListener, in accordance with
7210 discussions with Gnopernicus team and X server research.
7212 * libspi/registry.c:
7213 * libspi/deviceeventcontroller.c:
7214 * libspi/accessible.c:
7215 * libspi/keystrokelistener.c:
7216 Changes and fixes to support keylisteners for potentially
7217 consumed key events (that is, 'passive grabs').
7218 Added implementation for generateKeyEvent() [untested].
7221 Changes to registerKeystrokeListener() API, as above.
7222 Added deregisterGlobalEventListenerAll(), and
7223 deregisterKeystrokeListener(), which are needed for clean exit of
7225 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7226 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7228 * cspi/spi_registry.c:
7229 Added implementations of function prototypes mentioned above.
7231 * registryd/registryd.c:
7232 Added the key listener event source as a g_timeout(), to allow
7233 receipt of key events that are not caught by GDK (since GDK
7234 doesn't support passive keygrabs, this was necessary).
7237 Changed to attach a keylistener to 'Alt' keys, and
7238 respond to the following keycommands: Alt-M (toggle magnifier);
7239 Alt-F (toggle speech); Alt-Q (quit).
7240 Added an exit routine to deregister the listeners, and a key
7241 listener that prints some key info to the console when a key
7242 matches the listener mask (and is thus received by the listener).
7244 * util/idl/Magnifier.idl:
7245 Changes to magnifier API to support multiple zoom regions,
7246 non-uniform scaling in x and y, markDirty, and a host of other
7247 features that would be useful to magnification.
7250 * util/mag_client.c:
7251 * util/mag_client.h:
7252 * util/mag_control.c:
7254 Source code changes to support the above IDL changes.
7257 As above, and also changes to use a (slower) generic conversion
7258 path for colormap conversions, since the fast RGB conversions have been
7259 reported to fail for 16-bit displays.
7261 2001-10-26 Michael Meeks <michael@ximian.com>
7263 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7265 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7267 * at-bridge/Makefile.am: fix LDFLAGS.
7269 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7271 * at-bridge/bridge.c:
7272 Re-worked listeners for toolkit events, now we have signal
7273 and property listeners. Added a private method
7274 register_atk_event_listeners(), which registers with the
7275 various atk and gtk signals we need to monitor in order to emit
7277 Added emission hook for AtkObject:property-change events, to
7278 support the 'property listeners'.
7279 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7282 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7283 which emit warnings and exit, respectively, if CORBA errors occur
7284 during remote calls, and we now use these methods to check most of
7285 our CORBA calls in the C bindings.
7287 * cspi/spi_accessible.c:
7288 Changed AccessibleSelection_refSelectedChild() to
7289 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7290 now increment refcounts.
7292 * cspi/spi_component.c:
7293 Fixed some long pointer casts (dangerous!) to pass pointers to
7294 CORBA_longs of the proper type to the CORBA stubs, and copy the
7295 data into the longs that were passed into the C bindings code.
7297 * at-bridge/bridge.c:
7299 * libspi/accessible.c:
7300 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7301 hyperlinks, AtkHyperlink is an object type.
7303 * libspi/application.c:
7304 Added various conversions to and from "generic" event types and
7305 atk-specific types; this is really part of the 'bridge'
7306 implementation but is valid for all AtkObject-based accessibility
7309 * libspi/editabletext.c:
7310 Fixed nasty bug wherein editable text's finalize method was
7311 unref'ing tha AtkObject reference that the text parent class was
7312 about to unref _again_. There was also a nasty inheritance bug
7313 that meant that the AccessibleEditableText class was corrupt.
7315 * libspi/selection.c:
7316 Provided implementations for some selection API that was broken.
7318 * idl/Application.idl:
7319 Added registerObjectEventListener () method.
7322 Fixed a number of return values that were Bonobo_Unknowns from
7323 bonobo_object_corba_objref(), which I
7324 forgot to dup before returning. Changed instances of
7325 bonobo_object_corba_objref (bonobo_object(o)) to
7326 BONOBO_OBJREF(o), for concision and clarity.
7328 2001-10-13 Louise Miller <louise.miller@sun.com>
7330 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7331 idl/Event.idl, idl/Registry.idl
7332 Changed these files to include Bonobo_Unknown.idl instead
7335 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7337 * libspi/component.c libspi/component.h:
7338 Fixed typo. Added assertions for object checks in
7339 AccessibleComponent code.
7341 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7343 * idl/Accessible.idl:
7344 Added 'isEqual (Accessible *object)'
7345 method for Accessible. (Not Yet Implemented).
7348 Changed signature of registerKeystrokeListener() to
7349 take a KeySet and KeyEventSeq so that specific keys and event
7350 types could be requested for monitoring, and added a flag
7351 is_synchronous so that either synchronous or asynchronous
7352 notification could be requested. (However this is not all
7353 implemented yet). This also meant adding two new typedefs,
7354 KeyEventSeq and KeySet.
7357 Added two new relations, RELATION_TOOLTIP_FOR and
7358 RELATION_LEAFNODE_OF.
7361 Added new state, STATE_HAS_TOOLTIP.
7363 * libspi/text.c, editabletext.c:
7364 Added new assertions to all casts of bonobo-objects from
7365 CORBA servants, to prevent Text API calls on non-text objects.
7366 Changed suspect casts of int-pointer types, so that we
7367 always send a valid CORBA_long pointer to the CORBA APIs that use
7368 in/out long parameters. We then have to copy from the CORBA_long
7369 into the regular long or int for return to the C bindings, or
7370 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7373 * libspi/deviceeventcontroller.c:
7374 Cleaned these sources up.
7376 Changed return type for getCharacterAtOffset to
7377 CORBA_unsigned_long, to allow for 32-bit characters.
7380 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7384 Fixed 'make dist' so that distro compiles...
7385 * libspi/keymasks.h:
7387 * cspi/spi-listener.c:
7388 KeystrokeListenerCB now returns a boolean.
7390 Added KeyEventType struct, and KeyStroke.
7391 Also added createKeystrokeListener(),
7392 KeystrokeListener_addCallback(),
7393 KeystrokeListener_removeCallback(), and added a keymask to
7394 registerKeystrokeListener().
7395 * cspi/spi_accessible.c:
7396 Changed numerous return types for interfaces from
7397 AccessibleComponent to Accessible<InterfaceName>; this was
7398 probably a cut-and-paste error.
7400 Implementations of new KeystrokeListener api (from spi.h,
7403 Changes to key modifier mapping.
7404 Created ControllerEventMask struct.
7405 Made DeviceEventController derive from Bonobo::Unknown.
7407 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7408 * libspi/deviceeventcontroller.c:
7409 Added a number of new internal (private) methods.
7410 * libspi/editabletext.c:
7411 * libspi/editabletext.h:
7412 Fixed a number of bugs related to the fact that
7413 editabletext inherits from text. Fixed the EditableText struct,
7414 the init() call, and use correct casts when calling Text methods
7415 from an EditableText object. Removed (duplicate) atko from the
7416 EditableText structure, we use the one in the parent Text
7417 structure via the casts mentioned above.
7418 * libspi/keystrokelistener.[ch]:
7419 * libspi/registry.c:
7420 Changes in support of keyboard handling (above).
7422 Keyboard handling, though partly functional, is still not
7423 recommended for at-spi client use as there is considerable
7424 work yet to be done.
7427 Changed some places where pointers to various int types
7428 are cast to be pointers to CORBA_long types and vice-versa:
7429 pointer casting is not safe so we pass pointers of the correct
7430 types and then cast the result before putting it into the target
7433 * libspi/text.h: minor typos corrected.
7435 We now speak not only the name of a Text element, but the
7436 first sentence of its content, when it receives focus.
7437 I also changed the text compression to 75% from 50%.
7438 * util/Accessibility_Util.server.in:
7439 Changed the default magnifier type to be a 3x vertical
7440 splitscreen magnifier (was previously a 2x horizontal one).
7442 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7444 * libspi/keystrokelistener.h:
7445 * libspi/keystrokelistener.c:
7446 Initial functional implementations of KeystrokeListener.
7449 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7451 Fixed string handling for NULL strings in libspi.
7452 Added spi_freeString to free strings returned by C bindings.
7454 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7456 * libspi/keystrokelistener.h:
7457 * libspi/keystrokelistener.c:
7458 Began (no-op) implementations of KeystrokeListener
7460 * libspi/deviceeventcontroller.c:
7461 * libspi/deviceeventcontroller.h:
7462 Began creating implementations of DeviceEventController,
7463 to handle keystroke and mouse event listening and
7465 * libspi/accessible.c:
7466 Stubbed-in the implementations for
7467 Accessibility_Accessible_getState and
7468 Accessibility_Accessible_getRelationSet.
7469 * libspi/registry.c:
7470 Improved de-registration process and fixed some bugs,
7471 deregistration now works correctly.
7473 Added initialization of applications list (to NULL).
7475 Reduced speech compression from 0.5 to 0.7, for demo.
7476 Changed call to gdk_window_set_decorations()
7477 to gtk_window_set_decorated().
7478 * at-bridge/bridge.c:
7479 Bridge now deregisters when app exits, via
7480 registration of a cleanup function
7481 with the g_atexit() call.
7482 Required making 'app' static, renamed 'this_app'.
7483 Fixed broken use of bonobo_init, passing argv wrongly.
7485 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7489 Created a new directory for
7490 accessibility-related utilities, primarily for
7491 testing and demo purposes, but with possible
7498 Onscreen magnifier utility that
7499 is implemented as a bonobo service.
7501 * util/mag_client.c:
7502 * util/mag_client.h:
7503 Client-side support (simple C bindings)
7504 for Magnification service
7506 * util/mag_control.c:
7507 Client program example for
7508 Magnification service
7510 * util/Accessibility_Magnifier.server.in:
7511 Bonobo-activation file for the
7512 Magnification service.
7515 * util/idl/Magnifier.idl:
7516 IDL defining the bonobo Magnification
7520 Modifications to use the bonobo-activated magnifier
7521 above, in place of trying to connect to an existing
7522 magnifier that uses socket-listening IPC.
7524 If env variable MAGNIFIER is set, a magnifier service
7525 will be started if one does not exist.
7527 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7529 * at-bridge/bridge.c:
7530 applied patch from Marc to build and run
7531 against new glib and gtk+ (seemed like a change
7532 to bonobo_init signature was made ?)
7534 made festival-server support turned off by default.
7535 Added support for a simple magnifier (off by default)
7536 which will be added to a 'util' directory later.
7537 * at-bridge/Makefile.am:
7538 Changed "application.h" header from a 'source'
7539 to a 'dependency' of libat-bridge.
7541 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7550 Added interface implementation c files to list of
7551 includes so they are included in libcspi.
7554 Changed prototype of AccessibleAction_doAction to return a
7556 Changed prototype of AccessibleTable_getCaption to
7557 return an Accessible.
7558 Changed prototype of AccessibleTable_getSelectedRows
7559 and AccessibleTable_getSelectedColumns to
7560 return a long (returns the number of selected rows
7561 or columns respectively).
7562 Changed name of AccessibleText_refRunAttributes to
7563 AccessibleText_getAttributes.
7564 Changed prototype of AccessibleText_getCharacterExtents to
7565 return a void rather than a boolean.
7566 Added support for a AccessibleCoordType parameter
7567 specifying what type of coordinates are desired.
7568 Added an AccessibleCordType parameter to
7569 AccessibleText_getPointAtOffset.
7571 * cspi/spi_accessible.c:
7572 Added code to return the outstanding interfaces from
7573 Accessible_queryInterface.
7575 * cspi/spi_action.c:
7577 Corrected call to getNActions to call the c binding
7580 * cspi/spi_editabletext.c:
7582 Changed name from setRunAttributes to setAttributes.
7584 * cspi/spi_hyperlink.c:
7586 Changed call to getNAnchors to correctly call the c
7587 binding for an attribute.
7589 * cspi/spi_hypertext.c:
7591 Changed getImageDescription to correctly call the
7592 binding for an attribute.
7594 * cspi/spi_selection.c:
7595 Changed getNSelectedChildren to correctly call the c
7596 binding for the attribute.
7597 Changed refSelectedChild to getSelectedChild.
7601 Changed getCaption to return an Accessible.
7602 Fixed calls which retrieve attributes.
7603 Changed refAt to getAccessibleAt.
7604 Changed getNSelectedRows and getNSelectedColumns to
7608 Changed getCharacterExtents and getPointAtOffset to accept an
7609 AccessibleCoordType.
7611 Changed calls which retrieve attributes.
7612 Changed refRunAttributes to getAttributes.
7617 * idl/Hyperlink.idl:
7618 Changed n_anchors attribute to nAnchors to keep naming
7619 convention consistent.
7622 Made Table inherit from Bonobo::Unknown.
7623 Added nSelectedColumns and nSelectedRows attributes.
7626 Made Value inherit from Bonobo::Unknown.
7628 * libspi/hyperlink.c:
7629 Change for nAnchors attributte name change.
7631 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7639 Added interface implementation c files to list of
7640 includes so they are included in libcspi.
7643 Changed prototype of AccessibleAction_doAction to return a
7645 Changed prototype of AccessibleTable_getCaption to
7646 return an Accessible.
7647 Changed prototype of AccessibleTable_getSelectedRows
7648 and AccessibleTable_getSelectedColumns to
7649 return a long (returns the number of selected rows
7650 or columns respectively).
7651 Changed name of AccessibleText_refRunAttributes to
7652 AccessibleText_getAttributes.
7653 Changed prototype of AccessibleText_getCharacterExtents to
7654 return a void rather than a boolean.
7655 Added support for a AccessibleCoordType parameter
7656 specifying what type of coordinates are desired.
7657 Added an AccessibleCordType parameter to
7658 AccessibleText_getPointAtOffset.
7660 * cspi/spi_accessible.c:
7661 Added code to return the outstanding interfaces from
7662 Accessible_queryInterface.
7664 * cspi/spi_action.c:
7666 Corrected call to getNActions to call the c binding
7669 * cspi/spi_editabletext.c:
7671 Changed name from setRunAttributes to setAttributes.
7673 * cspi/spi_hyperlink.c:
7675 Changed call to getNAnchors to correctly call the c
7676 binding for an attribute.
7678 * cspi/spi_hypertext.c:
7680 Changed getImageDescription to correctly call the
7681 binding for an attribute.
7683 * cspi/spi_selection.c:
7684 Changed getNSelectedChildren to correctly call the c
7685 binding for the attribute.
7686 Changed refSelectedChild to getSelectedChild.
7690 Changed getCaption to return an Accessible.
7691 Fixed calls which retrieve attributes.
7692 Changed refAt to getAccessibleAt.
7693 Changed getNSelectedRows and getNSelectedColumns to
7697 Changed getCharacterExtents and getPointAtOffset to accept an
7698 AccessibleCoordType.
7700 Changed calls which retrieve attributes.
7701 Changed refRunAttributes to getAttributes.
7706 * idl/Hyperlink.idl:
7707 Changed n_anchors attribute to nAnchors to keep naming
7708 convention consistent.
7711 Made Table inherit from Bonobo::Unknown.
7712 Added nSelectedColumns and nSelectedRows attributes.
7715 Made Value inherit from Bonobo::Unknown.
7717 * libspi/hyperlink.c:
7718 Change for nAnchors attributte name change.
7721 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7723 implementations-- made server implementations own AtkObject pointers
7724 rather than their respective AtkInterrface pointers to fix
7725 refcounting. AtkHyperlink is still broken.
7727 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7728 * cspi/spi_accessible.c:
7729 Added method Accessible_Role_getName(),
7730 and requisite string array (role_names).
7731 Added conversion string_from_corba_strin() call
7732 to Accessible_getName and _getDescription.
7733 * libspi/accessible.c:
7734 Added implementation for Accessible_getRole()
7736 Added festival support, used if environment variable
7739 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7741 * at-bridge/bridge.c:
7742 Now allocate Accessibility_Event using
7743 Accessibility_Event__alloc() instead of g_new0().
7744 * libspi/accessibleeventlistener.c:
7745 Initialize AccessibleEventListener->callbacks to NULL.
7746 Fixed accessible__event_listener_init() param, changed to
7747 "AccessibleEventListener *" type.
7748 Changed a bonobo_object_release_unref() call to
7749 Accessibility_Accessible_unref().
7750 * libspi/listener.c:
7751 Changed Bonobo_Unknown_unref to (equivalent)
7752 Accessibility_Accessible_unref.
7753 * libspi/registry.c:
7754 Changed bonobo_object_release_unref to
7755 Accessibility_Accessible_unref.
7757 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7760 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7761 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7762 spi-util.c spi-util.h
7763 Implementations for C bindings to remaining accessibility
7766 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7769 changed return value of Action from void to boolean to
7770 bring in line with ATK.
7773 Changed getText funcions to return "out" start and end offsets.
7774 Changed getAttributes to take and offset and return the start
7775 and end offset of the attribute run.
7776 Changed getOffsetAtPoint and getCharacterExtents to take an
7777 enum describing whether coordinates are window or screen.
7780 libspi/action.c libspi/action.h libspi/editabletext.c
7781 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7782 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7783 libspi/image.h libspi/selection.c libspi/selection.h
7784 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7785 libspi/value.c libspi/value.h
7786 Added server implementations for outstanding ATK interfaces
7787 not yet implemented.
7789 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7792 Added (missing) getName() method.
7793 Made nActions an attribute.
7794 * idl/EditableText.idl:
7795 Changed order of params in setAttributes.
7796 * idl/Hyperlink.idl:
7797 Removed getAnchor, added getURI.
7799 Changed attributes to methods, for efficiency
7800 (so that getting extents can be done in one call)
7801 * idl/Selection.idl:
7802 Changed nSelectedChildren to attribute, and re-indented.
7803 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7805 * idl/Text.idl: reformatted to match our coding style.
7806 (temporarily?) removed getRowColumnAtOffset().
7807 Changed text selection API to support multi-select and
7808 non-contiguous selections, as in ATK.
7809 * idl/Value.idl: changed some methods to attributes.
7811 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7813 * libspi/listener.c(impl_notify_event):
7814 BonoboUnkown_unref the source instead
7815 of bonobo_object_release_unref - the ORB
7816 handles the releasing.
7818 * configure.in: require ORBit-2.3.94 for
7821 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7823 Tagged CVS repository 'EA_1_0'.
7824 * README.EARLY_ACCESS:
7825 Alphabetized acknowledgements list, and
7827 Listed some known dependencies of at-spi.
7829 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7831 * docs/at-spi-docs.sgml:
7832 * docs/at-spi-sections.txt:
7833 * docs/at-spi-overrides.txt: (Added zero-length file)
7834 Documentation improvements - gtk-doc should build
7835 docs for all implemented C bindings now.
7838 * cspi/spi.c: (New file)
7839 * cspi/spi_event.c: (New file)
7840 * cspi/spi_registry.c: (New file)
7841 * cspi/spi_accessible.c: (New file)
7842 * cspi/spi_application.c: (New file)
7843 * cspi/spi_component.c: (New file)
7844 Split spi_main.c into six parts, and included them from
7845 "spi.c". This is a bit of a hack, probably temporary,
7846 but required by gtk-doc, apparently.
7848 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7851 * docs/at-spi-docs.sgml:
7852 * docs/at-spi-sections.txt:
7854 Initial checkins/modifications for gtk-doc generation.
7857 Added (missing) interface query methods to Accessible's C binding.
7859 Added GenericInterface type definition.
7861 Added query for AccessibleComponent interface to focus event handler.
7862 Added printout of bounding box for focussed component.
7863 * libspi/component.c:
7864 Added partial implementation for AccessibleComponent to C binding.
7865 * idl/Application.idl:
7866 * libspi/registry.c:
7867 * libspi/listener.c:
7868 * libspi/application.c:
7869 * libspi/application.h:
7870 Changed "ID" attribute type from string to long.
7872 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7876 Made method naming consistent: methods taking object args
7877 start with uppercase, other methods (except those using
7878 acronyms) start with lowercase. Underscores delimit between
7879 object names and method names:
7880 SPI_init() - uppercase since it starts with an acronym.
7881 getDesktopCount () - lowercase start since no object param0.
7882 Accessible_getName() - uppercase object type name, studlyCaps method
7886 Added gtk-doc documentation for all currently implemented
7887 methods in the C bindings API.
7889 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7891 * Makefile.am : changed build order to build test last.
7894 Changed "createEventListener" to "CreateEventListener".
7895 * libspi/accessibleeventlistener.c :
7896 Bugfix for addition of callbacks.
7897 * test/Makefile.am :
7898 * test/simple-at.c :
7899 Added new test that uses the C bindings API.
7901 * libspi/listener.c :
7902 * libspi/registry.c :
7903 * libspi/accessibleeventlistener.c :
7904 * at-bridge/bridge.c :
7905 Renamed member "target" of Accessibility_Event to "source",
7906 which is more descriptive.
7909 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7913 * cspi/Makefile.am :
7914 Added makefile support for at-spi/cspi directory.
7917 * cspi/spi-listener.h : (NEW FILE)
7918 Added support for/use of spi-listener.h.
7920 C bindings now build successfully, with no warnings.
7921 * libspi/accessibleeventlistener.h : (NEW FILE)
7922 * libspi/accessibleeventlistener.c : (NEW FILE)
7923 * libspi/Makefile.am :
7924 Added new object type "AccessibleEventListener"
7925 which inherits from Listener, and allows attachment
7926 of in-process callbacks (so that a client with a listening
7927 object instance can add functionality to the local
7928 implementation, dynamically).
7930 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7932 * libspi/accessible.c:
7933 Add implementation for get_index_in_parent().
7935 Added #include of "spi-roletypes.h", and
7936 added enumerated type AccessibleCoordType.
7937 Added definition for KeystrokeListener (function type).
7940 * cspi/spi-statetypes.h :
7941 * cspi/spi-roletypes.h :
7943 Added these headers, used by spi.h.
7945 Added code (NOTE: not yet built by make).
7947 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7949 * libspi/Makefile.am: generate imodule
7950 at the same time as other idl compiler
7953 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7954 * libspi/registry.c :
7955 * libspi/application.c :
7956 * idl/Application.idl :
7957 Made registration with toolkit an application method,
7958 which is required since each app has its own toolkit static
7959 environment. Thus the bridge must register for
7960 notification of toolkit events from each application in turn.
7961 Toolkit notifications are now successfully registered for, and
7962 sent to the listening at client.
7964 Changed toolkit event string to use hyphens rather than underscores.
7965 * libspi/listener.c :
7966 listner now gives more info in debug mode - it reports the
7967 name of the event received, as well as the name of the source.
7970 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7972 * libspi/registry.c :
7973 added more implementation for toolkit events.
7974 Fixed bug such that toolkit event registrations
7975 (via atk) use the whole event name string, not
7977 Removed a useless call to an ORBit_ method.
7978 * at-bridge/bridge.c :
7979 Removed unused local sbuf[] variable.
7981 We now register for Gtk:GtkWidget:button_press_event
7982 events as well as "focus:" events.
7984 Add some more API from Registry.idl that was missing,
7985 for keystroke listening, keystroke and mouse event
7986 synthesis, and enumeration of accessible desktops.
7988 2001-08-16 Michael Meeks <michael@ximian.com>
7990 * configure.in: use AM_GLIB_GNU_GETTEXT.
7992 * Makefile.am (SUBDIRS): kill intl.
7994 2001-08-15 Michael Meeks <michael@ximian.com>
7996 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7998 * configure.in: upd.
8000 * configure.in: depend on a recent bonobo-activation that
8001 will find our server files ...
8003 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8005 * libspi/accessible.c : accessible_new() :
8006 Now we add the Component interface via bonobo_object_add_interface,
8007 if the contained AtkObject implements AtkComponent.
8008 * libspi/accessible.h : now include "component.h"
8009 * libspi/component.h :
8010 * libspi/component.c : added files - implementation of
8011 bonobo wrapper object for Accessibility/Component
8012 * libspi/listener.c :
8013 Added test code to check for Accessibility/Component:1.0
8014 interface and report whether it is implemented by the
8016 * libspi/registry.c :
8017 Now we check for not only the hash of the whole event
8018 string before relaying the event, we also check the
8019 "minor" event string (without the detail string).
8020 This allows event listeners to be registered against
8021 all events of a certain major+minor type, or just
8022 against a specific major+minor+detail type.
8023 * libspi/accessible.c :
8024 Added implementations for Accessible:get_parent(),
8025 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8026 * libspi/registry.c :
8027 * libspi/listener.c :
8028 Replaced calls to Accessibility_Accessible_ref() and
8029 Accessibility_Accessible_unref() with
8030 calls to bonobo_object_dup_ref() and
8031 bonobo_object_release_unref(), so that the CORBA object
8032 is dup-ed and released when relayed, as well as the bonobo object.
8034 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8036 * libspi/Makefile.am,
8037 registryd/Makefile.am,
8038 at-bridge/Makefile.am.
8039 test/Makefile.am, configure.in:
8040 reverse previous changes.
8042 * /idl/Image.idl: fix typo.
8044 * test/Makefile.am: put DEBUG_FLAGS
8047 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8049 * test/app.c: use argv[0] instead of
8052 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8054 * libspi/Makefile.am,
8055 registryd/Makefile.am,
8056 at-bridge/Makefile.am.
8057 test/Makefile.am, configure.in:
8058 cleanup, replace individual LIBS/CFLAGS with
8059 AT_COMMON_{LIBS|CFLAGS}.
8063 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8065 * configure.in, libspi/Makefile.am:
8066 Change IDL path checking for bonobo-activation
8069 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8071 * registryd/registry.c : separated event listeners to use
8072 3 separate lists (focus, window, toolkit). Began testing
8073 event names against hashes before relaying events.
8074 * test/at.c : now register for events of type "focus:"
8075 * test/app.c : now generate events of type "focus:"
8076 * at-bridge/bridge.c : register with ATK for focus events,
8077 and we now relay those focus events to any "focus:" listeners.
8078 This now works with the bridge as a GTK_MODULE when running test/at.
8079 * libspi/registry.c :
8080 * libspi/listener.c :
8081 now we ref event sources before propagating, and unref on receipt.
8082 * libspi/registry.c :
8083 some changes to internal structs, to support event typestring hashes.
8084 * text/app.c : changed the way the appname is generated.
8085 * cspi : added directory that will hold the C bindings library for
8086 non-CORBA/bonobo-savvy clients.
8087 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8088 * idl/Component.idl : added in parameter to indicate coord system for
8089 geometry-related calls.
8090 * idl/Hyperlink.idl : added readonly n_links attribute
8091 * idl/Image.idl : changed methods to attributes.
8093 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8095 * at-bridge/Makefile.am: link against
8096 ../libspi/libspi.la instead of -lspi.
8098 * at-spi/test/app.c: include
8099 bonobo-activation.h. Use a default appname
8100 if one is not provided.
8102 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8104 * idl/Registry.idl : temporarily changed register_Application
8105 to oneway, to work around issue with initial registration
8107 * idl/Application.idl : changed attribute "id" from readonly
8108 to read-write, since it needs to be assigned by Registry.
8109 * registryd/registryd.c : added call to set application id
8111 * registryd/registry.c : changed de-registration procedure to
8112 use CORBA_Object_hash() to find matching object ref in application
8113 lists and listener lists.
8114 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8115 began distinguishing between event types (work in progress).
8117 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8120 * libspi/application.c:
8121 Added implementations for get/set id, get_toolkitName,
8123 * registryd/registryd.c :
8127 Converted from use of OAF to bonobo-activation.
8128 * libspi/desktop.h :
8129 * libspi/desktop.c :
8131 Removed references to atksimpleobject, since base atkobject
8132 implementation now provides functionality we need.
8133 * libspi/atksimpleobject.c :
8134 * libspi/atksimpleobject.h :
8139 * at-bridge/Makefile.am
8140 * at-bridge/bridge.c
8143 Added directory "bridge" and contents, and added dependencies
8144 in Makefile.am/configure.in.
8145 Initial checkin of "at-bridge".
8146 This code is a GTK_MODULE which automatically registers
8147 GTK+ apps with the accessibility registry, using an object
8148 reference to the root ATK object.
8150 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8152 * po/Makefile.in.in: Remove. Again. If this
8153 doesn't get autogenerated - you need to update
8156 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8158 * po/Makefile.in.in: Add. Again.
8160 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8162 * libspi/accessible.c : added support for 'description' property.
8163 * libspi/accessible.c
8165 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8166 (since the two are now equivalent in libbonobo)
8174 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8175 Bonobo::Unknown as does Accessibility::Accessible.
8176 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8177 interface with Bonobo::Stream, since it was redundant with it.
8178 (The Stream returned by a StreamableContext object is expected to
8179 implement only a subset of Bonobo::Stream)
8181 2001-07-28 Anders Carlsson <andersca@gnome.org>
8183 * libspi/accessible.c (accessible_object_finalize): Change
8184 g_free to g_object_unref since the AtkObject is a GObject.
8186 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8188 * idl/Accessibility.idl: add new IDL files
8191 * idl/Action.idl: Definitions of actionable UI object
8192 * idl/Component.idl: Definitions of UI component geometry, etc.
8193 * idl/Hyperlink.idl: Defs of hyperlink behavior
8194 * idl/Image.idl: Def of accessible image
8195 * idl/Selection.idl: Definition of UI object with selectable children
8196 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8197 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8198 * idl/Text.idl: Interface defs for UI elements with complex textual content
8199 * idl/Value.idl: Definition of UI element that is a value controller or display
8201 2001-07-27 Michael Meeks <michael@ximian.com>
8203 * po/Makefile.in.in: remove autogenerated file from CVS.
8205 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8208 * idl/Registry.idl: include guard.
8210 * idl/Accessibility.idl: Add, and include all the other IDL
8213 * idl/*.idl: remove mass of pragmas etc.
8215 2001-07-26 Michael Meeks <michael@ximian.com>
8217 * registryd/Makefile.am (registryd_SOURCES): remove
8220 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8222 * libspi/.cvsignore, registryd/.cvsignore,
8223 test/.cvsignore: updated.
8225 * po/Makefile.in.in: gettext update.
8227 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8229 * initial CVS checkin
8231 2001-06-29 Michael Meeks <michael@ximian.com>
8233 * configure.in: add AM_CONFIG_HEADER to gen config.h