1 2007-02-27 Li Yuan <li.yuan@sun.com>
4 (spi_re_entrant_list_delete_link):
5 Bug #412286. Reverse previous patch.
6 * configure.in, NEWS: Uprev/release 1.17.2.
8 2007-02-26 Li Yuan <li.yuan@sun.com>
10 * libspi/accessible.c:
11 (impl_accessibility_accessible_get_attributes),
12 (impl_accessibility_accessible_get_relation_set):
13 Bug #404584 and #401299. Return an empty object instead of return NULL.
14 * configure.in, NEWS: Uprev/release 1.17.1.
16 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
18 * Makefile.am: Dist MAINTAINERS.
20 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
22 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
23 (atk_bridge_init), (spi_atk_bridge_get_registry),
24 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
25 Fix some compiler warnings and plug a leak. Closes part of
28 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
30 * cspi/bonobo/cspi-bonobo-listener.h:
31 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
32 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
33 * cspi/spi_main.c: (SPI_eventIsReady):
34 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
35 * libspi/streamablecontent.c:
36 * libspi/util.c: (spi_re_entrant_list_delete_link):
37 * login-helper/login-helper.c:
38 * registryd/deviceeventcontroller.c:
39 (spi_controller_update_key_grabs), (isEvent):
40 * registryd/registry.c:
41 * test/key-listener-test.c: (simple_at_exit):
42 * test/login-helper-server-test.c: (test_set_wm_dock),
44 Fix a bunch of warnings from sparse:
45 - ANSIfication of function declarations
48 - make some stuff static
50 2007-02-14 Li Yuan <li.yuan@sun.com>
52 * libspi/accessible.c:
53 (impl_accessibility_accessible_get_attributes):
54 Bug #404584. If there is no attributes, just return NULL.
56 2007-02-12 Li Yuan <li.yuan@sun.com>
58 * configure.in, NEWS: Uprev/release 1.17.0.
60 2007-02-12 Li Yuan <li.yuan@sun.com>
62 * atk-bridge/bridge.c:
63 (atk_bridge_init): bug #400709. we must emit events even if we are not
64 registered as a full-fledged app.
65 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
66 application like openoffice shutdown. They need to unload gtk before
67 the is spi_atk_bridge_exit_func called.
69 2007-01-22 Li Yuan <li.yuan@sun.com>
71 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
73 2007-01-22 Li Yuan <li.yuan@sun.com>
75 * cspi/bonobo/cspi-bonobo.c:
76 (cspi_get_registry_ior), (cspi_init):
77 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
79 2007-01-19 Li Yuan <li.yuan@sun.com>
81 * atk-bridge/bridge.c:
82 (atk_bridge_init), (spi_atk_bridge_register_application),
83 (deregister_application), (spi_atk_bridge_focus_tracker),
84 (spi_atk_emit_eventv):
85 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
88 2007-01-08 Li Yuan <li.yuan@sun.com>
90 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
92 2007-01-08 Li Yuan <li.yuan@sun.com>
94 * registryd/registry-main.c:
95 (main): set registry ior only when register server successfully.
96 * atk-bridge/bridge.c:
97 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
98 Bug #372988, #381670. Fix memory leak.
100 2007-01-02 Bill Haneman <billh@gnome.org>
103 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
104 appending default attributes to a text attribute set.
107 2006-12-28 Li Yuan <li.yuan@sun.com>
109 * atk-bridge/bridge.c:
110 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
111 the second time, because spi_atk_emit_eventv will free any. Bug
114 2006-12-15 Li Yuan <li.yuan@sun.com>
116 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
118 2006-12-14 Li Yuan <li.yuan@sun.com>
121 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
122 (spi_atk_bridge_property_event_listener),
123 (spi_atk_bridge_signal_listener):
124 Free some CORBA objects to fix memory leak and crash.
126 2006-12-13 Li Yuan <li.yuan@sun.com>
128 Patch from Ariel Rios to fix #163132 and #377079.
129 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
130 (spi_atk_bridge_get_registry_ior):
131 Use g_warning instead of g_error and g_critical to avoid crash.
133 2006-12-11 Bill Haneman <bill.haneman@sun.com>
136 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
137 if there are no non-default attributes defined at the current offset.
140 2006-12-04 Bill Haneman <bill.haneman@sun.com>
142 * idl/Accessibility_Role.idl: Fixed the documentation for
143 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
145 2006-12-04 Bill Haneman <bill.haneman@sun.com>
147 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
149 2006-11-07 Bill Haneman <bill.haneman@sun.com>
151 Patches from Padraig O'Briain for bugs #361386 and #369377.
153 * registryd/registry.c:
154 (struct NotifyContext): Change the e_out
155 member from an Accessibility_Event struct to a pointer to
157 (notify_listeners_cb): Modify to use the new struct definition above.
158 Allows use of ORBit_copy_value instead of CORBA_any__copy.
160 * registryd/deviceeventcontroller.c:
161 (spi_dec_button_update_and_emit): Free the event's any_data
163 (spi_dec_mouse_check):Free the event details any struct
165 (spi_device_event_controller_forward_mouse_event): Free any.
166 (spi_device_event_controller_forward_key_event): Ditto.
168 2006-11-07 Bill Haneman <bill.haneman@sun.com>
170 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
171 Don't require gtk+ and gail for building most of at-spi
174 * registryd/registry-main.c (main): We now get te value of display
175 using the env var DISPLAY rather than using the gdk_display_get_default
176 to avoid dependancy of gdk. Also, once the registry is started, we set
177 the ior of the registry as an X property.
178 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
180 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
181 the registration was successfull.
182 (spi_atk_bridge_do_registration): This function now returns success
183 or not on activating the registry.
184 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
185 has been set in the X root window and return it if available.
186 (spi_atk_bridge_get_registry): We now get the registry using the IOR
187 saved as a X property rather than using the OAFID.
189 2006-10-01 Bill Haneman <bill.haneman@sun.com>
191 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
193 2006-09-25 Bill Haneman <bill.haneman@sun.com>
195 * registryd/registry.c:
196 (desktop_remove_application): Don't pass a ref to the
197 dead application with the event, since it's probably
198 defunct and will cause SEGV if we try to unref,
199 extract app name, etc.
202 2006-09-20 Bill Haneman <bill.haneman@sun.com>
204 Patch from Neo Liu <nian.liu@sun.com>,
207 * atk-bridge/bridge.c:
208 (spi_atk_bridge_document_event_listener): New, for
211 2006-08-30 Bill Haneman <bill.haneman@sun.com>
214 Changed some parameter names so as not to
215 collide with class names - allows IDL to be compiled with
216 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
218 2006-08-22 Bill Haneman <bill.haneman@sun.com>
220 * atk-bridge/bridge.c:
221 (spi_atk_bridge_signal_listener):
222 Patch from Ginn Chen, assign detail1 in children-changed
223 so that the child object can be assigned to the Any when the
224 at-spi event is emitted. Bug #350552.
226 * libspi/application.c:
227 (spi_application_finalize): Remove g_print debug output.
230 2006-08-21 Bill Haneman <bill.haneman@sun.com>
232 * configure.in: Revved to AT-SPI 1.7.11.
234 * libspi/accessible.c:
235 (spi_accessible_new): Aggregate Hyperlink interface
236 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
238 * libspi/hyperlink.c:
239 (spi_hyperlink_new): Don't aggregate Action a second time if this
240 interface is created for an AtkHyperlinkImpl object (i.e. for a
241 child Accessible, as opposed to the Hyperlink instance from
243 (get_hyperlink_from_servant): Obtain the hyperlink from
244 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
246 Patch section from Ginn Chen...
248 * cspi/spi_accessible.c:
249 (_cspi_accessible_set_from_sequence):
250 Changed g_newa to g_new0 on Ginn Chen's suggestion.
252 * libspi/accessible.c:
253 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
254 (spi_accessible_new): Add the Document interface if present.
257 (impl_getAttributes): Fixed to use AtkAttribute properly.
260 (impl_getAttributes, impl_getDefaultAttributes):
261 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
263 2006-08-17 Bill Haneman <bill.haneman@sun.com>
265 * cspi/spi-private.h, cspi/spi_accessible.c:
266 (_cspi_attribute_set_from_sequence): Renamed from
267 cspi_attribute_set_from_sequence, to suppress export.
270 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
271 inline docs, which was keeping the doc from appearing.
272 (SPIExceptionHandler): Doc this.
274 * cspi/spi_document.c:
275 Added inline gtk-docs cut-n-pasted from the doxygen
276 docs in the corresponding IDL files.
277 (AccessibleDocument_getAttributes): Fix the retval here.
279 * cspi/spi_streamablecontent.c:
280 Fixed some 'Since' tags that were accidentally doxygen-style.
283 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
284 docs from the IDL file.
286 * docs/reference/cspi/at-spi-cspi-docs.sgml:
287 Added entities for Document and StreamableContent interfaces.
289 * docs/reference/cspi/at-spi-cspi-sections.txt:
290 Added some docs that were present inline but not getting
293 2006-07-31 Bill Haneman <bill.haneman@sun.com>
296 (impl_getRangeExtents): Use the atk_text_get_range_extents
297 API instead of looping over character bounds, now that
299 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
300 (_spi_text_bounds_contain): Remove, not needed anymore.
301 (_spi_text_rect_union): Remove, not needed anymore.
303 2006-07-31 Bill Haneman <bill.haneman@sun.com>
305 * atk-bridge/bridge.c:
306 (spi_atk_emit_eventv): Fix the CORBA_free call which was
307 causing 64-bit troubles and memory leaks.
308 Special thanks to Alexander Larsson who finally seems to
309 have tracked down the problem, not just here but in
313 (spi_init_any_object): Make sure we copy the CORBA value
314 when initializing an object for passing as a CORBA_Any.
317 2006-07-21 Bill Haneman <billh@gnome.org>
319 * idl/Accessibility.idl:
320 Reverted pragma changes, this broke the build in some envs
321 including the Debian team's build and some tinderbox builds.
323 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
326 Revved to 1.7.10, and edited the Xevie check (bug #319994).
328 * idl/Accessibility.idl:
329 Reworked inclusion of Bonobo_Unknown.idl, to
330 avoid double-linking libs in the Bonobo environment.
331 Thanks to Michael Meeks for the workaround, see bug #313122.
333 * registryd/deviceeventcontroller.c:
334 (spi_controller_notify_keylisteners):
335 Set the SPI_NUMLOCK_MASK bit if the modifier
336 corresponding to the conceptual numlock state is set.
339 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
341 * idl/Accessibility_Selection.idl:
342 (deselectChild): New method.
344 * libspi/selection.c:
345 (impl_deselectChild): Implement the new IDL method.
348 (AccessibleSelection_deselectChild): Added new method.
350 * cspi/spi_selection.c:
351 (AccessibleSelection_deselectChild): New method implemented.
353 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
355 * cspi/bonobo/cspi-bonobo.c:
356 (cspi_init): Replace g_error with g_warning, prevent
357 SEGV if the registry cannot be activated. Bug #346393.
359 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
361 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
363 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
364 2006-07-12 Ariel Rios <arios@us.ibm.com>
368 * idl/Accessibility_Table.idl:
369 (getRowColumnExtentsAtIndex): New method for getting
370 selection status and extents in one API call.
373 (impl_getRowColumnExtentsAtIndex): Implementation of
375 (spi_table_class_init): Add above to epv.
379 (AccessibleTable_getRowColumnExtentsAtIndex): New
380 method, retrieves selection status and row/col extents
381 for a table cell in a single API call.
383 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
384 2006-07-12 Ariel Rios <arios@us.ibm.com>
386 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
389 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
390 New bindings for new methods defined in idl and libspi.
393 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
394 Added prototype functions.
397 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
399 (spi_text_class_init): Added previous methods.
402 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
403 * libspi/spi-private.h: Corrections.
405 2006-06-29 Bill Haneman <bill.haneman@sun.com>
407 Added Document interface (see bug #326520),
408 with work from Ariel Rios <arios@us.ibm.com>.
410 * configure.in: Bump to 1.7.8.
412 * libspi/Makefile.am: Added document.[ch] to sources
415 (SpiDocument, SpiDocumentClass):
416 New interface implementation.
417 (spi_document_get_type, spi_document_construct)
418 (spi_document_interface_new): New methods added.
419 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
420 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
421 Added macros for SpiDocument
425 (spi_document_interface_new): Get a
426 new document interface. New.
427 (get_document_from_servant): Get an AtkDocument from servant New.
428 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
429 Implementation of methods defined on idl.
430 (spi_document_class_init, spi_document_init)
431 Init methods for SpiDocument. new
433 * idl/Accessibility.idl: Added Accessibility_Document.idl.
435 * cspi/Makefile.am: Added spi_document.c to sources.
437 * cspi/spi_document.c:
438 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
439 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
440 (AccessibleDocument_getAttributes): Bindings for methods defined
443 * cspi/spi_accessible.c:
444 (Accessible_isDocument, Accessible_getDocument) New.
446 (Accessible_isDocument, Accessible_getDocument)
447 (AccessibleDocument_ref, AccessibleDocument_unref)
448 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
449 (AccessibleDocument_getAttributes): Bindings added.
451 * idl/Makefile.am: Added Accessibility_Document.idl to
454 2006-06-29 Bill Haneman <bill.haneman@sun.com>
456 * idl/Accessibility_Document.idl: New interface
457 for complex documents. First stage of fix for RFE
460 2006-06-27 Bill Haneman <bill.haneman@sun.com>
462 * libspi/streamablecontent.c:
463 (impl_content_stream_close):
464 Unref the GIOChannel on close.
466 2006-06-23 Bill Haneman <bill.haneman@sun.com>
468 * idl/Accessibility_Role.idl:
469 * libspi/accessiblerole.c:
470 * cspi/spi_accessible.c: Added ROLE_LINK,
471 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
472 Bug #345758 and bug #140635.
475 2006-06-22 Bill Haneman <bill.haneman@sun.com>
479 * idl/Accessibility_StreamableContent.idl:
480 Fix derivation of StreamableContent and ContentStream.
482 * cspi/spi_streamablecontent.c:
483 (accessible_content_stream_client_read):
484 Fix the datatype of the content stream used.
485 Interpret short reads as EOF, and stop trying to
486 read when we've fulfilled the request.
487 (AccessibleStreamableContent_getContentTypes):
488 Use g_strdup, not CORBA_string_dup, for the strings.
489 (AccessibleStreamableContent_open):
490 Correctly use the new getStream method for opening,
491 not the deprecated getContent method.
492 Use the object reference as the stream hash key.
493 Make note of the 'one stream per client per streamable'
494 limitation in the docs.
497 Add streamablecontent.h to the list of #includes.
499 * libspi/streamablecontent.c:
500 (impl_content_stream_read): Initialize the GError.
501 Allocate the incoming buffer if reading a fixed length of
502 data. Use g_memmove instead of memcpy.
503 (impl_accessibility_streamable_get_content_types):
504 Init typelist->_maximum. Only allocate the buffer if
505 there is a non-zero number of content types available.
506 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
508 * libspi/streamablecontent.h:
509 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
512 (SPI_IS_VALUE): Fix a typo in this macro too.
514 2006-06-16 Bill Haneman <bill.haneman@sun.com>
518 * idl/Accessibility_StreambleContent.idl:
519 Deprecate the Bonobo_Stream-based methods in favor of
520 a self-contained "ContentStream" interface. This should
521 allow us to remove BonoboStream dependencies entirely, since
522 there were no non-NIL implementations of the old methods anyway.
523 (ContentStream): New interface.
524 (ContentStream::SeekType): Enum.
525 (ContentStream::seek): New.
526 (ContentStream::read): New.
527 (ContentStream::close): New.
528 (getContent): Deprecate.
529 (getURI): New method, returns a URI pointing to the content, if available.
531 * libspi/streamablecontent.c:
532 (SpiContentStream): Internal object type definition used to
533 implement Accessibility::StreamableContent::ContentStream via
534 AtkStreamableContent's GIOChannel back-end.
535 (spi_content_stream_new, spi_content_stream_dispose): See above;
537 (impl_content_stream_seek, impl_content_stream_read):
538 (impl_content_stream_close): New, implementations of
540 (impl_accessibility_streamable_get_stream): Implement the
541 public method Accessibility::StreamableContent::getStream.
542 (impl_accessibility_streamable_get_uri): Implement the
543 public method Accessibility::StreamableContent::getURI.
545 * cspi/spi_streamablecontent.c:
546 (accessible_bonobo_stream_client_seek): Replaced by
547 (accessible_content_stream_client_seek).
548 (accessible_bonobo_stream_client_read): Replaced by
549 (accessible_content_stream_client_read).
550 (AccessibleStreamableContent_open):
551 (AccessibleStreamableContent_seek):
552 (AccessibleStreamableContent_read):
553 (AccessibleStreamableContent_close): Use the new 'getStream'
554 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
556 2006-06-15 Bill Haneman <bill.haneman@sun.com>
558 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
559 remove from other .idl files (except LoginHelper).
562 2006-06-14 Bill Haneman <bill.haneman@sun.com>
564 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
567 * configure.in, */Makefile.am: mingw patch, modified from
568 original patch by yselkowitz. Bug #314216.
570 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
571 for completeness. Bug #163111.
573 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
574 * libspi/util.c, registryd/registry-main.c:
575 Fix guint/char* casts.
576 Patch from chpe, bug #333883.
578 2006-06-12 Bill Haneman <bill.haneman@sun.com>
580 * configure.in: Require atk-1.12.0, to pick up
581 new API. (bug #344412).
583 * libspi-1.0-uninstalled.pc.in:
585 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
586 Fix for #341488 from Samual Thibault.
588 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
589 Thanks to Brian Pepple.
591 2006-06-09 Bill Haneman <bill.haneman@sun.com>
594 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
595 New, missing implementations of attribute reading methods
598 * cspi/spi.h, spi_value.c:
599 (AccessibleValue_getMinimumIncrement): New methods wrapping
600 the (formerly unimplemented) property from Value.idl.
603 (impl_get_minimumIncrement): Implementation for retrieving
604 the minimum valuator increment, (formerly unimplemented).
607 2006-06-09 Bill Haneman <bill.haneman@sun.com>
609 * idl/Accessibility_State.idl:
610 Added STATE_VISITED (bug #338369).
612 * cspi/spi_accessible.c:
613 (spi_state_to_corba) Fixed marshalling of new statetypes.
616 (spi_init_state_tables, impl_getStates):
617 Fixed conversion of new statetypes to/from ATK.
619 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
621 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
622 definitions/conversions for new roles from ATK.
624 * idl/Accessibility_Relation.idl:
626 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
627 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
628 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
630 * libspi/accessible.c: Fixed marshalling of new role types from
633 2006-04-17 Matthias Clasen <mclasen@redhat.com>
635 * revert my previous change
637 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
639 * configure.in: Remove obssolete no_NO locale
640 * po/no.po: And the translation.
642 2006-04-05 Matthias Clasen <mclasen@redhat.com>
644 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
645 memory-management error that caused crashes on x86_64.
648 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
650 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
652 2006-03-27 Bill Haneman <bill.haneman@sun.com>
654 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
655 to strip "cspi_*" from the symbol table.
657 * cspi/spi_streamablecontent.c:
658 (get_streams): Make this method static.
661 (_cspi_exception_throw): rename to cspi_exception_throw,
662 so we can strip it with the rest...
665 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
667 2006-03-27 Bill Haneman <bill.haneman@sun.com>
669 Add doxygen-generated IDL docs to tarball, and enable
670 doxygen during build/install when available. Bug #301345.
672 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
674 * docs/reference/Makefile.am: Add idl to SUBDIRS.
676 * docs/reference/idl/Makefile.am: Optionally use
677 doxygen to create docs.
679 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
681 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
683 2006-03-20 Bill Haneman <bill.haneman@sun.com>
686 (impl_get_selected_rows): Don't free the selection if it's
687 empty or has not been assigned; init it to NULL so you can tell.
688 Also, allow for zero selected rows.
689 (impl_getSelectedColumns): Ditto. Bug #319088.
691 2006-03-11 Vincent Untz <vuntz@gnome.org>
693 Leak fix for bug #334217.
695 * libspi/application.c: spi_application_toolkit_event_listener():
696 don't duplicate the string we pass as an argument to
697 spi_init_any_nil() since spi_init_any_nil() already does it
698 * registryd/deviceeventcontroller.c:
699 (spi_dec_button_update_and_emit): ditto
700 (spi_dec_mouse_check): ditto
701 (spi_dec_emit_modifier_event): ditto
702 (spi_device_event_controller_forward_mouse): ditto
703 * registryd/registry.c:
704 (desktop_add_application): ditto
705 (desktop_remove_application): ditto
707 2006-02-20 Bill Haneman <billh@gnome.org>
709 * configure.in: Rev to 1.7.6.
711 Leak fixes for bug #331924.
713 * atk-bridge/bridge.c:
714 (spi_atk_bridge_init_base): Don't dup the string, it's already
715 been dup-ed. Fixes a leak.
716 (spi_atk_emit_eventv): Move the CORBA_free call here,
717 instead of spi_atk_state_event_listener; fixes another leak.
718 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
719 notifying the registry; fixes another leak.
721 * registryd/registry.c:
722 (registry_flush_event_queue): Free the CORBA_any when
723 flushing the event, not just the string. Fixes another leak.
724 (registry_queue_event): Free the CORBA_any when dropping
725 events on the floor; fixes another leak.
728 (spi_init_any_object, spi_init_any_nil):
729 Always set _release to TRUE. Fixes another leak.
731 2006-02-20 Bill Haneman <billh@gnome.org>
733 * configure.in: Rev to 1.7.5.
734 Reinstate localization of this module. Thanks for Rodney
735 Dawes for fixing my patch.
737 * registryd/Makefile.am: Remove Accessibility_Registry.server
738 from dist, since it needs to be re-created at configure time.
741 2006-01-31 Bill Haneman <billh@gnome.org>
743 * configure.in: Rev to 1.7.4 (to include build fix below).
745 * idl/Makefile.am: Include Selector.idl in dist.
749 (cspi_internal_event_get_object): Handle case where
750 "object" isn't present, i.e. CORBA_TC_Object doesn't match
751 the EventDetails data.
752 (cspi_internal_event_get_text): Handle NULL string.
753 (cspi_internal_event_get_rect): Handle missing/empty rect
754 data, Accessibility_TC_RectBounds doesn't match any_data.
756 2006-01-30 Bill Haneman <billh@gnome.org>
760 * atk-bridge/bridge.c:
761 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
762 interface and use that when instantiating a new source
763 accessible. Better fix for bug #321814.
765 2006-01-27 Bill Haneman <billh@gnome.org>
767 * idl/Accessibility_Selector.idl: Added to the cvs repository.
769 * configure.in: Revved to 1.7.3.
771 2006-01-17 Bill Haneman <billh@gnome.org>
773 * configure.in: Revved to 1.7.2, re-dist to include docs.
775 2006-01-09 Bill Haneman <billh@gnome.org>
777 * configure.in: Removed po/Makefile.in inclusion, we do not need
780 * idl/Accessibility.idl: Improved documentation here, and for all
781 IDL in the 'GNOME::Accessibility' namespace.
783 * idl/Accessibility_Accessible.idl:
784 (LOCALE_TYPE): Added enum.
785 (AttributeSet): New, for returning multiple name/value attribute pairs.
786 (RoleSet): New, sequence of Roles, to be used in upcoming
788 (getAttributes): New API, allows retrieval of name/value pair
789 annotations for all kinds of Accessible objects. C.f.
790 Text:getAttributes, which is only for typographic/textual/semantic tags in
792 (getApplication): New, retrieves the host/containing Application
793 instance for an object (without having to walk up the whole tree).
795 * idl/Accessibility_Component.idl:
796 (getAlpha): New method, returns the alpha blending (aka 'opacity')
797 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
800 * idl/Accessibility_Event.idl:
801 (EventDetails): New struct definition, for encapsulating
802 commonly-queried information about emitted events. The use of
803 this structure in emitted events (in the 'any' member of
804 Accessibility_Event) should greatly reduce the number of
805 client-server roundtrips necessary.
807 * idl/Accessibility_Image.idl:
808 (imageLocale): New, a readonly attribute indicating the POSIX
809 LC_MESSAGES locale of the image and associated Alt/descriptive
812 * idl/Accessibility_Relation.idl:
813 (RELATION_PARENT_WINDOW_OF): Include, as complement to
816 * idl/Accessibility_Role.idl:
817 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
818 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
819 complex document and form support.
821 * idl/Accessibility_State.idl:
822 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
823 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
824 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
825 for support of complex documents and forms.
827 * idl/Accessibility_StreamableContent.idl:
828 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
829 allow old bonobo-stream interfaces to be deprecated in the next
832 * idl/Accessibility_Text.idl:
833 (getAttributeValue): New method, allows query-by-name of single
836 * libspi/accessible.c:
837 Added support for new roles. Implemented new methods
838 (impl_accessibility_accessible_get_application): New
839 (impl_accessibility_accessible_get_attributes): New
841 * libspi/component.c:
842 (impl_accessibility_component_get_alpha): New.
845 (impl_accessibility_image_get_locale): New.
847 * libspi/relation.c: Added support for new relation type.
849 * libspi/stateset.c: Added support for new state types.
852 (impl_getAttributeValue): New.
855 New prototypes for private methods
857 spi_init_any_object, spi_init_any_string,
860 * libspi/spi_event.c:
861 Use EventDetails in the event emission methods.
863 * cspi/spi-private.h:
864 (cspi_role_from_spi_role): Expose this adapter method, since
865 we need it in the bridge (see below).
868 (AccessibleEvent_getSourceName):
869 (AccessibleEvent_getSourceRole):
870 (AccessibleEvent_getSourceApplication):
871 (AccessibleEvent_getSourceDetails):
872 New methods for interrogating/demarshalling
873 event details (i.e. source's accessible name, role,
876 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
877 Make use of the new EventDetails struct in events, if present.
878 (AccessibleEvent_getSourceName)
879 (AccessibleEvent_getSourceRole)
880 (AccessibleEvent_getSourceApplication)
881 (AccessibleEvent_getSourceDetails): Implement the newly exposed
883 (Accessible_getAttributes): New, wraps
884 Accessibility_Accessible_getAttributes.
885 (Accessible_getHostApplication): New, wraps
886 Accessibility_Accessible_getApplication.
889 (AccessibleImage_getImageLocale): New wrapper for
890 Accessibility_Image_get_imageLocale.
892 * cspi/spi_component.c:
893 (AccessibleComponent_getAlpha): New wrapper for
894 Accessibility_Component_getAlpha.
896 * atk-bridge/bridge.c:
897 Use new prototyped for init_any methods.
898 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
899 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
900 (spi_atk_bridge_init_base): Wrappers
901 for spi_init_any_* methods, due to refactor; include extended
902 information in the Accessibility_EventDetails struct, for instance
903 accessible-name, Role, and containing Application.
905 * registryd/registry.c:
906 Use new event emission (with EventDetails).
908 * registryd/deviceeventcontroller.c:
909 Use new event emission (with EventDetails).
911 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
913 * configure.in: Generate po/Makefile.in
914 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
915 * cspi/spi_streamablecontent.c:
916 (accessible_bonobo_stream_client_seek),
917 (AccessibleStreamableContent_seek): Remove unused vars.
918 * libspi/application.c: Missing header.
919 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
920 * login-helper/login-helper.c: (login_helper_finalize),
921 (login_helper_init): Remove unused stuff
922 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
923 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
924 and surround some with #ifdef GRAB_BUTTON.
925 * test/event-listener-test.c: (main), (report_event),
926 (report_caret_event), (report_detail_event),
927 (report_detail1_event), (report_bounds_event), (report_text_event),
928 (report_text_selection_event),
929 (report_active_descendant_changed_event),
930 (report_children_changed_event), (report_name_changed_event),
931 (report_description_changed_event), (report_parent_changed_event),
932 (report_window_event), (report_table_summary_event),
933 (report_table_header_event), (report_table_caption_event),
934 (report_table_row_description_event),
935 (report_table_column_description_event), (timing_test_event):
936 Remove a bunch of unused variables and fix a slew of format specifiers
937 * test/key-listener-test.c: (report_all_key_event): Format specifier
938 * test/keypad-test.c: (print_key_event): Same
939 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
941 * test/screen-review-test.c: (main), (print_chunk_debug),
942 (review_buffer_get_text_chunk), (debug_chunk_list),
943 (string_guess_clip), (text_chunk_get_clipped_string),
944 (text_chunk_list_to_string), (get_screen_review_line_at):
945 Remove unused variables and fix format specifiers.
946 * test/simple-at.c: (report_text_event): Format specifier fix.
947 * test/stress-test.c: (main): Remove unused var.
949 2005-12-29 Abel Cheung <maddog@linuxhall.org>
951 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
952 (yes I know that's useless)
954 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
956 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
958 2005-11-17 Michael Meeks <michael.meeks@novell.com>
960 * atk-bridge/bridge.c (spi_atk_emit_eventv):
961 urgh-fix embarassing typo.
963 2005-11-16 Michael Meeks <michael.meeks@novell.com>
965 * atk-bridge/bridge.c (spi_atk_emit_eventv):
966 do a faster, less problematic _unref call on this local
967 object, rather than a slower (potentially cross-thread
968 complicated) CORBA call.
970 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
972 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
973 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
974 * registryd/deviceeventcontroller.c:
975 (spi_controller_notify_mouselisteners),
976 (impl_generate_keyboard_event):
977 * test/screen-review-test.c: (chunk_bounds_within):
978 * test/test-simple.c: (test_desktop): Remove some unused code
979 and fix compiler warnings. Closes bug #320049.
981 2005-10-27 Bill Haneman <bill.haneman@sun.com>
983 * registryd/deviceeventcontroller.c:
984 (spi_controller_notify_keylisteners): Check
985 to make sure the event listener has requested 'preemptive'
986 status before pre-empting an event.
988 2005-08-29 Bill Haneman <bill.haneman@sun.com>
990 * configure.in, README, NEWS: Release 1.6.5.
992 2005-07-25 Matthias Clasen <mclasen@redhat.com>
994 * test/window-listener-test.c: Fix a printf
995 format error. (#169453)
997 2005-07-15 Bill Haneman <bill.haneman@sun.com>
999 * tests/test-simple.c:
1000 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1001 relying on the old string from the key event hanging around after
1002 the event handler returns. Fixes broken 'make check'.
1004 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1006 * Added Marathi (mr_IN) translations.
1008 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1010 * cspi/bonobo/cspi-bonobo-listener.c:
1011 (cspi_event_list_remove_by_cb): Fix the build.
1013 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1015 * cspi/bonobo/cspi-bonobo-listener.c
1016 (cspi_event_list_remove_by_cb): actually filter by callback.
1018 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1020 * registryd/registry.c (remove_listener_cb):
1021 Make deregistration filter rules match the event emission rules.
1023 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1025 * registryd/registry.c (remove_listener_cb),
1026 (impl_accessibility_registry_deregister_global_event_listener),
1027 (impl_accessibility_registry_deregister_global_event_listener_all):
1028 pass a closure to the remove callback to filter listeners more
1029 accurately on remove.
1031 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1033 * configure.in: Revved to 1.6.4.
1034 Remember to put quotes around XEVIE_LIBS assignment.
1035 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1038 * tests/event-listener-test.c: Tweaked the tests - more detail
1039 from caret events, and some interrogation of AccessibleText APIs.
1040 Commented-out the bounds-changed events by default, since they can
1043 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1045 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1046 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1047 Same here. Closes bug #167806
1049 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1051 * atk-bridge/bridge.c:
1052 (spi_atk_bridge_signal_listener):
1053 Free the any._value if any._release is TRUE,
1054 since the ORB won't do it for us in this case
1055 [because this method is not a skel].
1056 Fix for bug #168679.
1058 2005-03-30 Steve Murphy <murf@e-tools.com>
1060 * configure.in: Added "rw" to ALL_LINGUAS.
1062 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1064 * configure.in: Improved check for HAVE_XEVIE, to detect
1065 presence on XOrg, where -lXevie is a separate library.
1067 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1069 * configure.in, NEWS, README: Revved to 1.6.3.
1071 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1073 * configure.in: Added "xh" to ALL_LINGUAS.
1075 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1077 * atk-bridge/bridge.c:
1078 (atk_bridge_init): Added missing NULL in g_strconcat(),
1079 also check for symlink before logging to
1080 insecure directory. Thanks to meissner@suse.de.
1082 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1084 * tests/login-helper-server-test.c: Add return call to main
1085 function. Patch from Chris Lahey. Fixes bug #165129.
1087 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1089 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1091 2004-12-09 Bill Haneman <billh@gnome.org>
1093 * registryd/registry-main.c:
1094 Added #define <string.h> for strrchr. (bug 160862).
1095 Thanks to Vincent Berger for catching.
1097 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1099 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1100 restart registry process if the registry process is found to have died
1101 and the current process is exiting.
1102 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1103 application if the registry process has died.
1104 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1105 does not return a registry object.
1106 (spi_atk_tidy_windows): Give up if the registry process has died.
1108 This fixes problems with hangs and crashes when logging out.
1110 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1112 * registryd/desktop.c: Add checking that we are not exiting before
1113 calling spi_desktop_remove_application in
1114 abnormal_application_termination. Fix for bug #152147.
1116 2004-12-02 Bill Haneman <billh@gnome.org>
1118 * configure.in, NEWS, README: Revved to 1.6.1.
1120 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1121 * atk-bridge/bridge.c:
1122 (atk_bridge_init): Save the pid when we start, to detect forks.
1123 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1124 if we're in a forked pid.
1126 2004-10-09 Bill Haneman <billh@gnome.org>
1128 * idl/Accessibility_LoginHelper.idl:
1129 Improved inline documentation.
1131 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1133 * configure.in: Added gl (Galician) to ALL_LINGUAS
1135 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1137 * libspi/accessible.c:
1138 (impl_accessibility_accessible_get_role_name),
1139 (impl_accessibility_accessible_get_local_role_name):
1140 NULL vs. 0 cleanups.
1141 * libspi/component.c:
1142 (impl_accessibility_component_get_accessible_at_point):
1144 * libspi/eventlistener.c: (spi_event_listener_new):
1146 * libspi/stateset.c: (impl_compare): More of the same
1147 * libspi/table.c: (impl_getRowDescription): Again.
1148 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1149 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1150 (impl_generate_keyboard_event): Same.
1151 * registryd/registry-main.c: (main): Same
1152 * test/event-listener-test.c: (test_exit): Same
1153 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1154 * test/keysynth-test.c: (test_key_synthesis): Same
1155 * test/login-helper-server-test.c: (main): Fix warning.
1156 * test/screen-review-test.c: (test_exit): Fix include.
1157 * test/simple-at.c: (simple_at_exit), (_festival_init):
1160 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1162 * configure.in, NEWS, README: Revved to 1.6.0.
1164 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1166 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1167 was missing the HTML docs.
1169 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1171 * configure.in: only cleanups:
1172 - better looking PKG_CHECK_MODULES() output,
1174 - declare in one common place required versions of other tools using
1177 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1179 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1180 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1181 required ATK version accordingly.
1183 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1185 * cspi/bonobo/cspi-bonobo.c:
1186 (cspi_display_name): Fix C99ism.
1187 * atk-bridge/bridge.c:
1188 (spi_display_name): Fix C99ism.
1189 Patch from Jens Granseuer, jensgr@gmx.net.
1191 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1193 * configure.in: Added "or" to ALL_LINGUAS.
1195 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1197 * configure.in, NEWS, README: Revved to 1.5.4.
1199 * registryd/registry-main.c:
1200 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1203 * cspi/bonobo/cspi-bonobo.c:
1204 (cspi_display_name): New convenience method, gets DISPLAY with
1205 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1206 (cspi_init): Set the activation env value above before getting
1209 * atk-bridge/bridge.c:
1210 (spi_display_name): Create the AT_SPI_DISPLAY activation
1211 environment for an app, based on the DISPLAY environment with the
1212 screen number stripped off.
1213 (atk_bridge_init): Allow redirection of error messages to a log.
1214 (spi_atk_bridge_get_registry): Call
1215 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1217 Fixes for bugs #149962, #136986, #144086.
1219 2004-08-16 Christian Rose <menthos@menthos.com>
1221 * configure.in: Added "bs" to ALL_LINGUAS.
1223 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1225 * configure.in: Added nb to ALL_LINGUAS.
1227 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1230 (SPI_init): Return error code '2' if the activated
1231 registry cannot be pinged. Fixes bug #147648.
1233 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1235 * registryd/deviceeventcontroller.c:
1236 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1237 rely on timer-poll instead, to avoid conflict with
1240 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1242 * configure.in: Revved to 1.5.3.
1244 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1246 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1248 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1250 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1252 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1254 * atk-bridge/bridge.c:
1255 (spi_atk_bridge_do_registration):
1256 Register with ATK for AtkComponent:bounds-changed events.
1257 (api_atk_bridge_signal_listener):
1258 Marshal the AtkRectangle info into the event notification
1259 for object:bounds-changed events.
1262 (spi_init_any_rect): New method, inits a corba struct of
1263 type Accessibility_BoundingBox from an AtkRectangle.
1265 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1268 (SPIRect): New struct definition.
1269 (SPI_freeRect): New declaration.
1270 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1273 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1274 implemented. Gets the bounding box data from the CORBA_any
1275 associated with a bounds-changed event notification.
1276 (cspi_internal_event_get_rect): New, used internally by above method.
1279 (SPI_freeRect): Implemented this new method, for freeing
1282 * test/event-listener-test.c:
1283 (main, report_bounds_event):
1284 Added a test for object:bounds-changed events.
1286 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1288 * test/login-helper-server-test.c:
1289 (main): Fix C99-ism. Thanks to Jens Granseuer.
1291 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1293 * libloginhelper-1.0.pc.in:
1294 * idl/Accessibility_LoginHelper.idl:
1295 * login-helper/Makefile.am:
1296 * login-helper/login-helper.[ch]:
1297 * test/login-helper-client-test.c:
1298 * test/login-helper-server-test.c: Added files missing from CVS.
1299 Files obtained from at-spi-1.5.2 tarball.
1301 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1303 * configure.in: Create login-helper/Makefile.
1304 Incremented micro version.
1306 * Makefile.am: Add login-helper subdir and pkgconfig data.
1308 * login-helper: New subdir.
1310 * libloginhelper-1.0.pc.in: New.
1312 * idl/Accessibility_LoginHelper.idl: New file, defines
1313 interface whereby authentication clients can identify agents which
1314 need access to services during the login process, e.g. screen lock
1317 * login-helper/Makefile.am : New.
1319 * login-helper/login-helper.[ch] : New, implementation of
1320 a LoginHelper base class. Services needing LoginHelper can subclass.
1322 * test/Makefile.am : Added test for login-helper, client and
1325 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1326 Use proper prefix in #include files.
1328 * test/login-helper-client-test.c: New.
1330 * test/login-helper-server-test.c: New.
1332 2004-05-27 Alexander Shopov <ash@contact.bg>
1334 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1336 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1338 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1339 is positive. This should make it easier to detect inapprorpiate unref
1342 2004-05-11 James Henstridge <james@daa.com.au>
1344 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1345 no-op and deprecated.
1347 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1349 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1351 2004-04-28 Bill Haneman <billh@gnome.org>
1353 * Makefile.am: Added --enable-gtk-doc to
1354 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1356 2004-04-19 Bill Haneman <billh@gnome.org>
1358 * configure.in: Revved to 1.5.1.
1360 * registryd/deviceeventcontroller.c:
1362 (DEControllerPrivateData): Added fields for
1363 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1364 (spi_dec_replace_map_keysym): New internal utility for
1365 replacing a keysym in the keymap - used to allow
1366 synthesis of individual characters which aren't in the
1368 (spi_dec_reset_reserved): New; resets the changed keysym value
1370 (keycode_for_keysym): We now try to deal with failed
1371 XKeysymToKeycode requests by changing a keymap value
1372 and returning a reserved keycode. We now take
1373 a DEController pointer as first arg.
1374 (spi_controller_register_with_devices): Call XkbGetMap with
1375 the XkbKeySymsMask. Find the highest keycode in the current
1376 keymap which doesn't have any grabs, and mark that one for
1377 temporary re-mapping when out-of-range KeySyms are synthesized.
1378 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1381 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1383 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1385 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1387 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1389 2004-03-24 Bill Haneman <billh@gnome.org>
1392 (AccessibleTable_addRowSelection),
1393 (AccessibleTable_addColumnSelection),
1394 (AccessibleTable_removeRowSelection),
1395 (AccessibleTable_removeColumnSelection):
1396 Add declarations for spi wrappers which were
1397 inadvertantly omitted. Fixes bug #133413.
1400 Revved to 1.5.0 (unstable series for GNOME 2.7).
1402 2004-03-24 Bill Haneman <billh@gnome.org>
1404 * atk-bridge/bridge.c:
1405 Bracketed some debug output in
1406 conditionals, to avoid printing it in normal use.
1409 * libspi/hyperlink.c:
1410 Don't cast 'object' to ATK_OBJECT when constructing
1411 an AtkAction interface for a hyperlink.
1412 See discussion in bug #120659.
1414 * test/key-listener-test.c:
1415 (report_all_key_event): Send output to stderr,
1416 not stdout, for consistency with the rest of the test callbacks.
1419 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1420 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1421 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1422 try incrementing the revision AFTER doing a dist, at least
1425 2004-03-22 Bill Haneman <billh@gnome.org>
1427 * configure.in: Revved to 1.4.0, libtool 9.14.9
1429 2004-03-17 Laszlo Peter <laca@sun.com>
1431 * libspi-1.0-uninstalled.pc.in: add idldir
1433 * cspi-1.0-uninstalled.pc.in: add idldir
1435 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1437 * configure.in: Added "en_GB" to ALL_LINGUAS
1439 2004-03-15 Bill Haneman <billh@gnome.org>
1441 * configure.in: Revved to 1.3.16,
1444 2004-03-15 Laszlo Peter <laca@sun.com>
1446 * libspi-1.0-uninstalled.pc.in: new file
1448 * cspi-1.0-uninstalled.pc.in: new file
1450 * configure.in: add the new pc files to AC_OUTPUT
1452 * Makefile.am: add the new pc files to EXTRA_DIST
1454 2004-03-12 Bill Haneman <billh@gnome.org>
1456 * atk-bridge/bridge.c:
1457 (spi_atk_bridge_key_listener):
1458 Make sure to return consumed=FALSE if snoop
1459 event is not dispatched to listener.
1462 2004-03-01 Bill Haneman <billh@gnome.org>
1464 * configure.in: Revved to 1.3.15,
1467 2004-03-07 Danilo Segan <dsegan@gmx.net>
1469 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1471 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1473 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1475 2004-03-01 Bill Haneman <billh@gnome.org>
1477 * configure.in: Revved to 1.3.14.
1480 (SPI_exit): Removed "bye-bye" exit message.
1481 Moved "leak" report to happen before the
1482 iteration over the leaked refs list.
1483 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1485 2004-02-24 Bill Haneman <billh@gnome.org>
1487 * configure.in: Revved to 1.3.13.
1489 * docs/reference/cspi/Makefile.am:
1490 Correct typo that was breaking the docs build.
1492 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1494 * autogen.sh: Require version 1.7 of automake.
1496 * configure.in: call GTK_DOC_CHECK([1.0])
1498 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1500 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1502 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1504 * test/Makefile.am: Remove use of CFLAGS.
1506 This fixes bug #132987.
1508 2004-02-11 Bill Haneman <billh@gnome.org>
1510 * reverted most of Tomasz' patch below, since it was breaking
1511 builds (see bug #134058).
1513 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1515 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1516 correct pass "make dist" (empty .. because seems no sach types in
1517 header files with gtk-doc markups).
1518 * docs/reference/cspi/Makefile.am, configure.in:
1519 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1520 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1521 * Makefile.am: added:
1522 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1523 for force correct pass generate documentation on "make distcheck".
1524 * libspi/Makefile.am: fixes for automake >= 1.6.
1525 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1526 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1529 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1531 * docs/reference/cspi/Makefile.am (install-data-local): Install
1532 index.sgml since the doc autobuilder on widget.gnome.org looks for
1535 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1537 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1540 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1542 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1544 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1546 * test/simple-at.c: Fixed null string problems that cause core
1547 dumping problems on Solaris.
1549 2004-01-12 Bill Haneman <billh@gnome.org>
1551 * configure.in: Incremented version to 1.3.11.
1553 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1555 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1556 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1559 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1561 * configure.in: Added "fa" to ALL_LINGUAS.
1563 2003-12-20 Arafat Medini <lumina@silverpen.de>
1565 * configure.in: Added "ar" to ALL_LINGUAS
1567 2003-12-16 Bill Haneman <billh@gnome.org>
1569 * registryd/registry-main.c:
1571 Set the reg_env DISPLAY variable before registering the
1572 activated registry service. Fixes bug #129479.
1574 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1576 * configure.in: Added "id" in ALL_LINGUAS
1577 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1579 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1581 * registryd/deviceeventcontroller.c (global_filter_fn):
1582 When an event is consumed discard any XEvents were added to
1583 the queue while dealing with the the event. This can happen if
1584 processing of the event takes a long time. Call XUngrabKeyboard
1585 if an event was discarded. This fixes bug $124837.
1586 Only call wait_for_release_event for a KeyPress.
1587 Use local variable display instead of spi_get_display().
1588 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1591 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1593 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1594 Allow for mask to contain values other than NumLock mask.
1597 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1599 * registryd/devieceventcontroller.c:
1600 (wait_for_release_event): Change first parameter from GdkEvent to
1602 (global_filter_fn); Correct call to wait_for_release_event.
1606 2003-12-08 Bill Haneman <billh@gnome.org>
1610 * registryd/ucs2keysym.c: New file.
1612 * registryd/deviceeventcontroller.c:
1613 (dec_keysym_for_unichar): Remove old partial implementation and
1614 replace with call to ucs2keysym(), which is much more complete.
1615 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1620 2003-12-05 Bill Haneman <billh@gnome.org>
1622 * configure.in: Version 1.3.9.
1624 * docs/reference/cspi/tmpl/spi_registry.sgml:
1625 Added reference to libspi/keymasks.h to the
1626 description of Registry queries: AccessibleKeyMaskType.
1629 2003-12-04 Bill Haneman <billh@gnome.org>
1631 Fix for bug #121974.
1633 * idl/Accessibility_Application.idl:
1634 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1635 setlocale's LC_TYPEs.
1636 (Accessibility::Application::getLocale): New method.
1637 Allows clients to query the locale, by type, of an app.
1640 * cspi/spi_application.c:
1641 (AccessibleApplication_getLocale): New method, wraps IDL above.
1643 * libspi/application.c:
1644 (spi_application_class_init): Init epv entry for getLocale.
1645 (impl_accessibility_application_get_locale): Impl for above.
1647 * test/test-simple.c:
1648 (test_application): Added assertion for getLocale, i.e.
1649 that the string from AccessibleApplication_getLocale (app, type)
1650 is the same as that from setlocale (type, NULL);
1652 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1654 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1655 the keyboard on a timeout intil the key state goes from pressed to
1656 released. Fixes bug #111429.
1658 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1660 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1661 root object so that it is present when a context menu in an
1662 out-of-process applet is popped up.
1663 (spi_atk_bridge_do_registration): Create acceessible application root
1664 object only if it does not exist.
1666 This fixes bug #125834.
1668 2003-12-01 Bill Haneman <billh@gnome.org>
1670 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1673 Added enum for AccessibleStreamableContentSeekType.
1674 (AccessibleStreamableContent_freeContentTypeList): New.
1676 * cspi/spi_streamablecontent.c:
1677 (accessible_bonobo_stream_client_seek): New private method.
1678 (AccessibleStreamableContent_seek): Implemented this method,
1679 using Bonobo_Stream_seek.
1680 (AccessibleStreamableContent_freeContentTypeList): New method
1681 for freeing the return value from
1682 AccessibleStreamableContent_getContentTypes.
1683 (stream_cache_item_free): Replaces stream_release; stop leaks.
1684 (stream_release): removed.
1685 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1686 free the memory properly.
1688 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1690 Fix for bug #116009.
1692 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1694 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1696 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1698 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1700 2003-12-01 Bill Haneman <billh@gnome.org>
1702 Fix for bug/rfe #127463.
1704 * idl/Accessibility_Accessible.idl:
1705 (getLocalizedRoleName): New.
1706 (unimplemented4): Removed (replaced by above).
1708 * libspi/accessible.c:
1709 (impl_accessibility_accessible_get_local_role_name): New.
1710 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1714 (Accessible_getLocalizedRoleName): New.
1716 * cspi/spi_accessible.c:
1717 (Accessible_getLocalizedRoleName): New.
1719 2003-12-01 Bill Haneman <billh@gnome.org>
1721 Fix for bug #118581.
1722 * idl/Accessibility_Text.idl:
1723 (getDefaultAttributes): New.
1724 (unimplemented4): Removed (replaced by above method).
1727 (impl_getDefaultAttributes): New method.
1728 (spi_text_class_init):
1729 initialize the get_default_attributes slot in the epv.
1732 (AccessibleText_getDefaultAttributes): New prototype.
1735 (AccessibleText_getDefaultAttributes): New method.
1737 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1739 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1740 write beyond the end of the table. Fixes bug #120473.
1742 2003-09-30 Christian Rose <menthos@menthos.com>
1744 * configure.in: Added "eu" to ALL_LINGUAS.
1746 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1748 * configure.in: ALL_LINGUAS: Added no.
1750 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1752 * configure.in: Added lt to ALL_LINGUAS.
1754 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1756 * atk-bridge/bridge.c:
1757 (atk_bridge_init): Register event listeners always even for
1758 out-of-process applet.
1759 (spi_atk_bridge_toplevel_added): Remove call to
1760 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1761 (spi_atk_bridge_toplevelk_removed): Remove call to
1762 spi_atk_deregister_event_listenersa as the listeners are now always
1764 (spi_atk_bridge_register_application): Remove call to
1765 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1767 This fixes bug #120991.
1769 * libspi/table.c (impl_getColumnDescription): Correct typo,
1770 pointed out by Bolian.Yin@sun.com.
1772 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1774 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1776 2003-09-08 Bill Haneman <billh@gnome.org>
1778 * configure.in: Revved to 1.3.7.
1780 This is the GNOME 2.4.0 release of at-spi.
1782 * docs/reference/cspi/Makefile.am:
1783 Removed spurious inclusion of 'index.sgml' in the
1784 html directory; this was breaking make distcheck and
1785 also some other build environments.
1787 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1789 * registryd/registry.[ch}:
1790 Add queue_handler_id and focus_object to SpiRegistry data structure.
1791 (registry_flush_event_queue): If event being discarded is
1792 "state-change:focused" store object as focus_object.
1793 (registry_start_queue): Remove queue handler and focus object
1795 (registry_discard_event): New function which discards a focus event
1796 if we had stored focus object in the registry.
1797 (registry_queue_event): Add new check that is_queueing is set as this
1798 function is reentrant.
1799 (registry_filer_event): Add call to registry_discard_event.
1801 This resolves issues raised in bug #108664.
1803 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1805 * configure.in: Added "bn" to ALL_LINGUAS.
1807 2003-09-04 Bill Haneman <billh@gnome.org>
1809 * cspi/spi_event.c: Documentation improvements for
1810 (SPI_registerAccessibleKeylistener).
1812 * docs/reference/tmpl/spi_registry.sgml:
1813 Documentation improvements for SpiAccessibleKeylistenerCB.
1815 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1817 * configure.in: Added "ro" to ALL_LINGUAS.
1820 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1822 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1823 not decremented to zero. Fixes bug #120725.
1825 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1827 * configure.in: Added "ja" to ALL_LINGUAS.
1829 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1831 * configure.in: Added "is" to ALL_LINGUAS.
1833 2003-08-22 Christian Rose <menthos@menthos.com>
1835 * configure.in: Added "nl" to ALL_LINGUAS.
1837 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1839 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1840 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1842 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1844 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1845 type for unspecified exception.
1846 * cspi_streamablecontect): Add include of string.h for memcpy.
1847 (stream_release): Correct call to bonobo_object_release_unref
1848 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1849 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1850 argument of _cspi_expection_throw.
1851 * libspi/hyperlink.c: Add include of libspi/action.h:
1852 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1853 * libspi/streamablecontent.c: add include of libspi/component.h.
1854 * regisrtyd/deviceeventcontroller.c:
1855 (spi_dec_translate_mask): Removed unused variable priv.
1856 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1857 * registryd/registry.c:
1858 (registry_filter_event): Remove unused variable queue_is-empty.
1859 (impl_registry_notify_event): Use correct modifier in fprintf call.
1861 This fixes compiler warnings reported in bug #120220.
1863 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1865 * registryd/registryd.c: Remove this file.
1867 2003-08-17 Sanlig Badral <badral@openmn.org>
1869 * configure.in: Added mn to ALL_LINGUAS.
1871 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1873 * configure.in: Added et to ALL_LINGUAS.
1875 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1877 * test/event-listener-test.c: Change active-descendant to
1878 active-descendant-changed.
1880 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1882 * configure.in: Added "fi" in ALL_LINGUAS.
1884 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1886 * configure.in: Added "hi" in ALL_LINGUAS.
1888 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1890 * configure.in: Revved to 1.3.6.
1894 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1896 * registryd/deviceeventcontroller.c
1897 (spi_device_event_controller_object_finalize): Fix typo in previous
1900 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1902 * registryd/deviceeventcontroller.c
1903 (spi_device_event_controller_object_finalize): Fix build on
1904 systems without XEvIE.
1906 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1908 * acconfig.h, configure.in, registryd/Makefile.am,
1909 registryd/devicecontoller.[ch]: Add XEViE support.
1911 2003-08-06 Wang Jian <lark@linux.net.cn>
1913 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1915 2003-08-06 Metin Amiroff<metin@karegen.com>
1917 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1919 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1921 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1922 MODIFIER_ALT in correct place.
1924 This fixes part of bug #118114.
1926 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1928 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1930 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1932 * configure.in: Added "ko" to ALL_LINGUAS.
1934 2003-07-28 Ole Laursen <olau@hardworking.dk>
1936 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1938 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1940 * configure.in: Added "sq" to ALL_LINGUAS.
1942 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1944 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1946 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1948 * configure.in: updated ALL_LINGUAS list
1950 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1952 * configure.in: Added Belarusian to ALL_LINGUAS.
1954 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1956 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1958 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1959 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1961 This fixes bug #116949.
1963 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1965 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1966 Correct CSPI to SPI in function documentation.
1968 This fixes bug #118054.
1970 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1972 * configure.in: Added Russian to ALL_LINGUAS.
1974 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1976 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1978 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1980 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1982 2003-07-10 Joel Brich <joel.brich@laposte.net>
1984 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1986 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1988 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1990 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1992 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1993 resources allocated for AccessibleEvent. See cspi_event().
1995 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1996 static variable streams to NULL.
1998 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1999 Update so that AcessibleEvent_ref will work.
2001 This fixes bug #116624.
2003 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2005 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2007 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2009 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2011 2003-07-02 Christian Neumair <chris@gnome-de.org>
2013 * configure.in: Added "de" (German) to ALL_LINGUAS.
2015 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2017 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2019 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2021 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2023 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2025 * configure.in: Added "pl" to ALL_LINGUAS.
2027 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2029 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2031 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2034 (get_action_from_servant):
2035 Removed assertion that action is implemented on an AtkObject.
2037 * libspi/hyperlink.c:
2038 (spi_hyperlink_new):
2039 Aggregate AccessibleAction interface on the hyperlink object if
2040 the object implements AtkAction. (This convention is used in
2043 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2045 * configure.in: Revved to 1.3.5.
2047 * registryd/Accessibility_Registry.server.in.in:
2048 Marked up appropriate strings for translation.
2050 * atk-bridge/bridge.c: Marked a couple of
2051 user-visible warnings for translation. Questionable
2052 whether they are really useful, but possibly so.
2055 2003-06-28 Christian Rose <menthos@menthos.com>
2057 * configure.in: Added "sv" to ALL_LINGUAS.
2059 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2061 * registryd/registry.c:
2062 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2063 (registry_defer_on_event): Defer focus: events, this is an
2064 improvement to the patch for bug #108664.
2066 * TODO: Update with 2.4/"Dev Complete" items.
2068 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2070 * atk-bridge/bridge.c:
2071 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2072 looks up signals once.
2073 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2074 if doing registration.
2075 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2076 when doing registration.
2078 This fixes bug #115014.
2080 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2082 * atk-bridge/bridge.c:
2083 (atk_bridge_init): Add signal handler for children-changed:remove on
2084 root when in a BonoboComponent.
2085 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2086 for first toplevel only other incrememt variable toplevels.
2087 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2088 application and remove listeners.
2089 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2091 (spi_atk_deregister_event_listeners): New function which removes
2093 (reinit_register_vars): New fuction which reinitializes variables.
2095 This fixes bug #111578.
2097 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2099 * configure.in: version 1.3.4.
2101 * cspi/spi_accessible.c:
2102 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2105 2003-06-13 Michael Meeks <michael@ximian.com>
2107 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2109 * cspi/spi_main.c (cspi_peek_ev): impl.
2111 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2113 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2115 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2117 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2118 SPI_ROLE_AUTOCOMPLETE
2120 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2122 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2123 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2125 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2127 * libspi/streamablecontent.h:
2128 * libspi/streamablecontent.c:
2129 New files, provide implementation/wrappers for
2130 Accessibility_StreamableContent.
2132 * cspi/spi_streamablecontent.c:
2133 Connected the C wrappers to the libspi C bindings.
2134 (AccessibleStreamableContent_close): New method.
2137 (AccessibleStreamableContent_close): New method, needed
2138 since we have an "open, [seek], read, close" model in cspi.
2140 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2142 Fix for #108664; Padraig's revision of my original patch.
2144 * registryd/registry.h:
2145 Added event queue list, is_queuing, and exit_notify_timeout
2146 to the registry struct.
2148 * registryd/registry.c:
2149 (registry_init): Initialize new struct from registry.h.
2150 (impl_registry_notify_event):
2151 Filter events before notifying, in case some need to be
2153 (registry_filter_event): New,
2154 we defer certain incoming events (for instance
2155 window:deactivate) because we may wish to hide
2156 or reject them based on pending events. This is
2157 mostly a workaround for bug #108664.
2158 (registry_queue_event, registry_start_queue): New.
2159 (registry_defer_on_event): Test event to see if it
2161 (registry_reset_on_event): Returns TRUE if the
2162 event should cause a queue reset.
2163 (registry_discard_on_event): Returns TRUE if the event
2164 should cause the previous queue contents to be discarded.
2165 (registry_timeout_flush_queue): Flushes the pending event
2166 queue if no reset/discard-triggering events have come in
2167 within the timeout period.
2168 (registry_emit_event): New.
2169 (registry_clone_notify_context): New, used when queueing the
2170 event notify contexts.
2172 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2174 * configure.in: Version revved to 1.3.2, lt 0.9.2
2175 Incremented ATK required version to 1.3.4.
2177 * cspi/spi_registry.c:
2178 (SPI_generateKeyEvent):
2179 We now pass the keystring along if it's non-null.
2181 * registryd/deviceeventcontroller.c:
2182 (keysym_mod_mask): New method, returns modifier mask
2183 required to generate a keysym from a given keycode.
2184 (dec_synth_keysym): New method.
2185 (dec_synth_keystring): New method.
2186 (dec_get_modifier_state): New method.
2187 (dec_lock_modifiers): New
2188 (dec_unlock_modifiers): New.
2189 (dec_keysym_for_unichar): New, rather brute-force
2190 conversion from UCS-4 to X KeySyms. Only works for
2191 Latin at the moment, with partial implementations for
2192 Greek, Hebrew, and (incomplete) Katakana.
2193 (impl_generate_keyboard_event): Now implement
2194 "KEYSTRING" synthesis and implement "KEYSYM"
2196 (keycode_from_keysym): Improved, passes a returned
2197 modmask value now if the corresponding param is non-NULL.
2199 Fixes bugs #92143 and #109776.
2202 * test/keysynth-test.c:
2203 New test program for key synthesis, to confirm fixes for
2207 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2209 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2211 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2212 Add line for RELATION_POPUP_FOR
2214 * docs/reference/cspi/tmpl/spi_relation.sgml:
2215 Add relation SPI_RELATION_POPUP_FOR
2217 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2218 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2220 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2222 * libspi/relation.c (spi_init_relation_type_table):
2223 Add line for RELATION_POPUP_FOR
2225 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2227 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2228 there are still windows which have not been deleted and emit
2229 window:deactivate, if necessary and window:destroy events.
2230 This fixes bug #114370. The change on June 5th was not correct.
2232 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2234 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2237 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2239 New methods for client exception handling and interception.
2240 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2241 (SPI_exceptionHandlerPop): You guessed it...
2242 (SPI_getSourceType): Return the type of object which offended.
2243 (SPI_getExceptionCode): Return an enum code telling, possibly,
2244 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2245 (SPIAccessibleException_getSource): get the source object for
2246 exceptions that come from Accessibles, if SPIExceptionSourceType is
2247 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2248 (SPIException_getDescription): New, returns a string description of
2249 the problem. [Not yet a stable ABI, strings are not frozen]
2251 * cspi/spi-private.h:
2252 Added implementation details of opaque SPIException
2256 Implementations of above. Also
2257 (_cspi_exception_throw): new private method that
2258 dispatches exceptions to handlers, called from cspi-bonobo.c
2260 * cspi/bonobo/cspi-bonobo.c:
2261 (cspi_check_ev): call _cspi_exception_throw.
2262 Don't print a warning message if the exception has been
2263 handled by _cspi_exception_throw.
2265 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2267 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2268 there are still windows which have not been deleted and emit
2269 window:deactivate, if necessary and window:destroy events.
2270 This fixes bug #114370.
2272 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2275 (cspi_accessible_is_a): Make non-fatal
2276 if the object reference is dead.
2278 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2280 * cspi/spi_main.c: #include <stdio.h>
2281 * test/simple-at.c: ditto
2282 * test/event-listener-test.c: ditto
2283 * test/screen-review-test.c: ditto
2285 2003-05-30 Michael Meeks <michael@ximian.com>
2287 * test/test-simple.c (main): use CORBA_ORB_perform_work
2288 instead of an unnecessary linc_ call.
2290 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2292 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2293 Add SPI_STATE_INDETERMINATE.
2295 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2298 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2300 * libspi/stateset.c (init_state_type_tables): Add support for
2303 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2305 * configure: Update versions of atk and gail required.
2306 This fixes bug #113268.
2308 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2310 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2312 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2314 * libspi/Makefile.am:
2315 Ensure headers are generated before being used by c sources.
2317 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2320 Simplified lt versioning rules.
2321 Incremented version to 1.3.0, to indicate that we're on the
2322 unstable branch now.
2324 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2326 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2327 Add MKDB_OPTIONS=--outtput-format=xml
2329 * docs/reference/cspi/at-spi-cspi-docs.sgml
2330 docs/reference/idl/at-spi-idl-docs.sgml:
2331 Convert to Docbook XML.
2333 This fixes bug #111793.
2335 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2337 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2338 AcccessibleKeyEventType, AccessibleKeyMaskType.
2340 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2342 * cspi/state-types.h: Add documentation for AccessibleState.
2344 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2345 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2346 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2347 AccessibleComponentLayer.
2349 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2352 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2354 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2355 Accessible. Add description of AccessibleEvent,
2356 AccessibleEventListenerCB.
2358 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2361 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2362 documentation. Add description of AccessibleKeystrokeListenerCB,
2363 AccessibleKeyEventMask, AccessibleModifierMaskType,
2364 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2365 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2367 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2370 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2373 This fixes bug #104730.
2375 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2377 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2378 Set is_text field of Accessibility_DeviceEvent data structure.
2380 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2381 is-text field of AccessibleDeviceEvent data structure.
2383 This addresses part of bug #108666.
2385 * registryd/devcieeventcontroller.c: Unset debug option.
2387 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2389 * cspi/accessible.c:
2390 (cpi_initial_relation_type_table): New function which initializes
2391 mapping between Accessibility_RelationType and AccessibleRelationType.
2392 (cspi_relation_type_from_spi_relation_type): New function which
2393 translates an Accessibility_RelationType into an AccessibleRelationType.
2394 (AccessibleRelation_getRelationType): Use
2395 cpi_relation_type_get_spi_relation_type to return correct value.
2396 (spi_state_to_corba): Return correct type for default case.
2398 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2399 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2401 * cspi/cspi-bonobo-listener.c:
2402 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2405 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2406 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2407 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2408 libspi/image.c, libspi/listener.c, libspi/selection.c,
2409 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2410 registryd/desktop.c, registryd/registry.c:
2411 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2413 * libspi/eventlistener.c
2414 Remove semicolon after BONOBO_TYPE_FUNC.
2416 * libspi/relation.c:
2417 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2418 (spi_init_relation_type_table): Initialize using correct type.
2420 * registryd/desktop.c:
2421 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2422 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2423 of Accessibility_KeyEventType.
2425 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2428 * tests/simple-at.c, tests/screen-review-test.c:
2429 Add include for <strings.h>.
2431 * tests.stress-test.c:
2432 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2434 These changes fix compiler warnings when using FORTE compiler on
2435 Solaris; fixes bug #107479.
2438 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2441 * configure.in: revved to 1.1.10
2443 * libspi/keymasks.h:
2444 (SPI_KEYMASK_NUMLOCK): Added.
2446 * registryd/deviceeventcontroller.c:
2447 (spi_key_event_matches_listener): AND with a smaller
2448 bitmask (as we should).
2449 (spi_dec_translate_mask):
2450 New method, sets the virtual NumLock modifier bit
2451 if numlock is on. Eventually it can handle other virtual
2452 modifier bits if needed, or other marshalling from
2453 at-spi modifier masks to platform (X) masks.
2454 (spi_dec_key_listener_new):
2455 Call spi_dec_translate_mask to set up virtual mod bits
2456 in the 'mask' field when creating a new listener struct.
2457 (spi_dec_emit_modifier_event):
2458 Set the virtual (i.e. NumLock) bits before emitting event.
2459 (spi_controller_register_with_devices):
2460 Query for the NumLock modifier 'physical' bit if Xkb is
2461 present, for use in above methods.
2465 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2467 * registryd/deviceeventcontroller.c:
2468 (spi_keystroke_from_x_key_event):
2469 Instead of checking to see if the keysym is
2470 printable, check the string from XLookupString
2471 if available, get the first unicode character from it,
2472 and call g_unichar_isprint to determine whether the
2473 is_text flag should be TRUE or FALSE.
2477 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2479 * atk-bridge/bridge.c: Add support for extended events
2480 * cspi/spi_event.c: Add documentation and implementation for
2482 * tests/event-listener-test.c: Add tests for extended events.
2484 This fixes bugs #100424 and #100426.
2486 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2488 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2489 of LT_CURRENT. This fixes bug #89350.
2491 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2493 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2494 number of signal parameter values before accessing them. This fixes
2497 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2499 * configure.in: Fixed duplicate inclusion of -lspi.
2500 * branched for gnome-2-2/HEAD.
2501 [created tag "gnome-2-2"]
2503 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2505 * configure.in: 1.1.9 release.
2508 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2510 [needed by GOK, to fix bugs 107985 and 107988]
2511 * registryd/deviceeventcontroller.c:
2512 (spi_dec_clear_unlatch_pending):
2513 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2514 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2515 (spi_dec_init_mouse_listener):Emit warning if mouse button
2517 (spi_device_event_controller_forward_mouse_event):
2518 Removed unnecessary parens from a conditional.
2519 (global_filter_fn):Added TODO comment.
2520 (impl_generate_keyboard_event):
2521 Cancel a pending relatch if a 'delatching' key was
2524 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2526 * atk-bridge/bridge.c:
2527 Change atk_signal_child_changed to atk_signal_children_changed.
2528 Reorganize code in spi_atk_bridge_signal_listener().
2530 * test/event-listener-test.c:
2531 Add children_changed_listener and report_children_changed_event()
2532 to test AccessibleChildEvent_getChildAccessible.
2534 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2536 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2537 g_strdup to CORBA_String_dup (bug #105291)
2539 * test/event-listener-test.c (report_text_event): Add call to
2542 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2544 * registryd/deviceeventcontroller.c:
2545 (spi_keystroke_from_x_key_event):
2546 Fix string and keysym return codes to match modifier state.
2549 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2551 * registryd/deviceeventcontroller.c:
2552 (spi_keystroke_from_x_key_event):
2553 Fix segv due to improper use of isprint(c). [bug #107254]
2555 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2558 (get_accessible_text_boundary_type):
2559 Move default return value to (new) default case in switch.
2560 (get_accessible_text_clip_type):
2561 Move default return value to (new) default case in switch.
2563 * libspi/application.c:
2564 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2565 Remove unused methods.
2566 (impl_accessibility_application_register_object_event_listener):
2567 Remove unused methods.
2570 Added #include of <math.h>.
2572 * registryd/deviceeventcontroller.c:
2573 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2574 we don't currently use this method.
2575 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2577 (impl_generate_key_event):
2578 Remove unused variables.
2579 (impl_generate_mouse_event):
2580 Initialize button to zero, just in case we get an invalid
2581 input. Added support for mouse buttons 4 and 5.
2582 (spi_device_event_controller_new):
2583 Removed unused variable declaration for 'private'.
2585 Added #include of <gdk/gdk.h>
2587 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2589 * configure.in: Update to work when X is not installed in expected
2590 location. Fixes bug #105836.
2592 * atk-bridge/bridge.c
2593 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2595 (spi_atk_register_event_listener): Add signal listener for
2597 (spi_atk_bridge_signal_listener): Event event when link-selected
2598 signal is emitted. (bug #104622)
2600 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2601 on returned string. (bug #105291)
2603 * test/event-listener-test.c: Add test for link-selected.
2605 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2607 * atk-bridge/Makefile.am: Correct typo in previous commit.
2609 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2611 * atk-bridge/Makefile.am: Allow for build directory to be different
2612 from source directory
2614 * registryd/Makefile.am: Allow for build directory to be different
2615 from source directory
2619 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2622 Fixed dependencies for libcspi so that libspi gets pulled in
2623 properly. Fixes 104741.
2627 Clean up inline docs a little.
2629 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2631 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2632 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2633 the AtkObject within an SpiDesktop.
2634 This addresses bug #101524.
2636 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2637 Remove call to gdk_init().
2639 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2640 so that Display is set when SpiDesktop is created.
2642 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2644 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2645 This fixes bug #102830.
2647 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2649 * test/test-simple.c: Update to take account of fact that GailButton
2650 now implements AtkText.
2651 (create_text_window): Set name on AtkObject for GtkEntry.
2652 (validate_accessible): Check accessible name before calling test_text().
2654 * libspi/Makefile.am: Fix problem with building outside of source
2655 directory. Bug #98120.
2657 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2658 typo in documentation comments. Bug #94275.
2660 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2662 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2664 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2667 Add includes to avoid compiler warnings on Solaris.
2668 (impl_getRangeExtents): Bug fix.
2670 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2672 Fix for 100944, [API addition approved by Gman and murrayc].
2679 * idl/Accessibility_Text.idl:
2680 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2681 (Text::getRangeExtents): New method for efficient
2682 bounds query of a text range.
2683 (Text::getBoundedRanges): New method for efficient
2684 clipping of text to bounding boxes.
2685 (unImplemented7, unImplemented8):
2686 Removed these padding methods to preserve bincompat.
2689 (impl_getRangeExtents): implementation of new IDL.
2690 (impl_getBoundedRanges): implementation of new IDL.
2691 (SpiTextRect): Internal use struct.
2692 (_spi_text_rect_union): internal method, calculates union of two
2693 SpiTextRect bounding rects.
2694 (_spi_text_range_seq_from_gslist): internal method, allows us
2695 to build our sequence efficiently as a gslist then convert it
2697 (_spi_bounds_contain): internal method, determines whether
2698 a text character is "in" or "out" of a clip rect according to
2699 values of TEXT_CLIP_TYPE.
2700 (spi_text_class_init): Initialize the new methods in the epv.
2703 (AccessibleTextClipType): New enum used by screen review api.
2704 (AccessibleTextRange): New struct used by screen review api.
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.
2712 (AccessibleText_getRangeExtents):
2713 cspi binding for Accessibility_Text_getRangeExtents.
2714 (AccessibleText_getBoundedRanges):
2715 cspi binding for Accessibility_Text_getBoundedRanges.
2716 (AccessibleTextRange_freeRanges): convenience method.
2717 (get_accessible_text_clip_type): internal conversion method.
2718 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2720 * registryd/deviceeventcontroller.c:
2721 (spi_dec_mouse_check):
2722 Improved behavior for mouse:abs events
2723 [same granularity as mouse:rel events, and no
2724 events when mouse is idle].
2726 2002-12-16 Michael Meeks <michael@ximian.com>
2728 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2730 * libspi/stateset.c (state_spi_to_atk): split out
2731 ( fix several remote array bounds nasties )
2732 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2733 (impl_remove): make safe from array bounds issues.
2734 (spi_atk_state_from_spi_state): impl.
2736 * libspi/stateset.h (spi_state_set_cache_is_empty):
2737 add a set of wrapper defines to get layering right.
2739 * cspi/spi_accessible.c: update state set stuff to
2742 2002-12-14 Michael Meeks <michael@ximian.com>
2744 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2745 to avoid 2 roundtrips to the registry per key event
2746 (spi_atk_bridge_key_listener): upd.
2747 (deregister_application): release the dec.
2749 * registryd/registry.c (notify_listeners_cb):
2750 bin lots of re-enterant complexity - we no longer
2751 do a round-trip bonobo ref here, ensure that a single
2752 listener's exception failure won't poison all other
2754 (impl_registry_notify_event): bin obvious memory leak.
2756 2002-12-13 Michael Meeks <michael@ximian.com>
2758 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2759 init the ev so the error is meaningful.
2760 (spi_atk_bridge_key_listener): ditto.
2762 * cspi/spi_main.c (cspi_ev): init the ev so we start
2763 with a clean slate, otherwise the first exception
2764 kills us completely.
2766 * cspi/spi_text.c (get_accessible_text_boundary_type):
2767 add a fallthrough for no warnings.
2769 * cspi/spi_registry.c: prune unused warnings.
2771 * cspi/spi_main.c (cspi_object_take): fix
2772 mind-blowing brokenness ( by watching the compile
2775 * cspi/spi_accessible.c (Accessible_getStateSet):
2776 re-impl. to use an AtkStateSet.
2777 (spi_state_type_from_accessible_state),
2778 (init_state_table): bin these.
2780 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2782 (atk_state_set_from_accessibility_state_set): here.
2784 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2785 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2786 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2787 (AccessibleStateSet_add, AccessibleStateSet_remove),
2788 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2789 (AccessibleStateSet_isEmpty): re-write to use a local
2792 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2794 * configure.in: Revved to 1.1.7 (new keymask vals).
2796 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2798 * libspi/keymasks.h:
2799 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2801 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2804 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2805 to compare two CORBA_TypeCodes.
2806 (cspi_internal_event_add): Silence warning from FORTE compiler.
2808 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2809 avoid implicit declaration of functions.
2811 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2813 * atk-bridge/bridge.c:
2814 (spi_atk_bridge_init_event_type_consts): Store signal id for
2815 active-descendant-changed signal.
2816 (spi_atk_register_event_listeners): Add signal listener for
2817 active-descendant-changed signal,
2818 (spi_atk_bridge_signal_listener): Move code in function
2819 spi_atk-signal_emit_event() into this function.
2820 Add support for active-descendant-changed
2821 Update support for child-changed signal.
2822 (spi_bridge_window_event_listener): Silence warning.
2824 * libspi/spi_private.[ch]:
2825 (spi_init_any_object): Change second parameter from CORBA_Object to
2827 Omit call to CORBA_Object_duplicate().
2828 Set CORBA_any's _value to CORBA_Object*.
2830 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2836 (AccessibleEvent_ref, AccessibleEvent_unref):
2837 New methods, for persisting an event outside the emission context.
2838 Must be used if the new accessor methods are to be called
2839 outside of the event listener's callback.
2841 * cspi/bonobo/cspi-bonobo.c:
2842 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2843 as second parameter instead of NULL, so we can call
2844 cspi_check_ev afterwards.
2847 (cspi_object_take): New internal method,
2848 converts a CORBA_Object reference to a hard ref on
2849 an Accessible if possible, returning NULL if the object
2850 reference is invalid or an Accessible * otherwise.
2853 (AccessibleEvent_ref):
2854 Increment the event's internal private refcount, and
2855 add the event's internal struct to an internal cache
2856 if it's not already there.
2857 (AccessibleEvent_unref):
2858 Decrement the event's refcount and remove it from
2859 the cspi event cache if refcount==0.
2860 (cspi_event_compare): New private method.
2861 Compares two event structs via their ids. Used
2863 (cspi_internal_event_lookup): New private method.
2864 (cspi_internal_event_check): New private method,
2865 a 0-order sanity check for events to make sure their
2866 private data is intact.
2867 (cspi_internal_event_add, cspi_internal_event_remove):
2868 New private methods for managiing the event cache.
2870 * cspi/bonobo/cspi-bonobo-listener.c:
2872 Initialize the new private data elements (id, magic, ref_count).
2874 * atk-bridge/bridge.c:
2875 (spi_atk_bridge_signal_listener):
2876 Fixed bug #100530, passing wrong params to emission func.
2878 * registryd/deviceeventcontroller.c:
2879 (spi_dec_button_update_and_emit):
2880 Fixed type in mask bit operations; fix for #99799.
2882 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2884 Removed some of the more dangerous workarounds from
2885 previous commit; they are only needed by GOK, which
2886 in reality should be using another method to accomplish
2887 the goals. So on reconsideration some of the workarounds
2888 need to be reverted:
2890 * registryd/deviceeventcontroller.c:
2891 (spi_keycodes_contain, spi_dec_init_keycode_list):
2892 Removed these methods, used only by a nasty hack to try
2893 and detect whether a key synthesis should be allowed
2894 to reset the XKB latch state or not. This code was only
2895 required to work around an interaction between GOK,
2896 button events, and XKB.
2897 (impl_generate_key_event):
2898 Removed hack at end of key generation that tried to
2899 "do the right thing" if XKB latch keys were generated
2900 in the midst of button press/release pairs.
2903 Added a check for HAVE_XINPUT. Not normally used yet.
2905 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2907 Workarounds and fixes for mouse event/XKB interaction.
2909 * registryd/deviceeventcontroller.c:
2910 (spi_keycodes_contain, spi_dec_init_keycode_list):
2911 New internal methods.
2912 (spi_dec_set_unlatch_pending):
2913 Split the method that tells XKB to expect an
2914 unlatch (and revert it) out of the rest of the
2915 event handling code. This method is called by the
2916 two mouse event handlers (the poll and the filter).
2917 (spi_dec_update_and_emit, spi_dec_mouse_check):
2918 New methods split from spi_dec_poll_mouse_moved.
2919 The second one is now called from inside the filterFn
2920 when an XKB delatch event is received, to determine
2921 whether to revert the delatch or not.
2922 (spi_poll_mouse_moved): Refactor; also we can now
2923 properly handle the case where multiple button states
2924 have changed between polling cycles and we didn't get
2925 notified due to another client's grab.
2927 Synchronize the server while handling an XKB notification.
2928 Ugly, but apparently necessary to avoid nasty races.
2929 Check the mouse state on receipt of an XKB latch change,
2930 to decide whether to revert the latch or not. (Latches are
2931 reverted if there is an immediately preceding mouse button
2932 event that a client has consumed, in which case we don't want
2933 the user to see the side-effect of the event).
2934 (spi_device_event_controller_forward_mouse_event):
2935 Check for modifier events and fire before resetting mouse_mask_state,
2936 prevents losing modifier events.
2938 (impl_generate_keyboard_event):
2939 If we've just generated a keyboard event for a non-shift key,
2940 we don't want to revert the pending XKB latch.
2941 Otherwise, check the modifier state (via a call to
2942 spi_dev_mouse_check) and set the relatch mask to
2943 that state before returning.
2945 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2948 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2951 * atk-bridge/bridge.c:
2952 (spi_atk_register_event_listeners):
2953 Don't re-register for ATK events if the registry has died
2954 and the app needs to re-register; the ATK listeners are in
2955 process and doing so will cause duplicate emission.
2957 * registryd/deviceeventcontroller.c:
2958 (spi_poll_mouse_moved):
2959 Reformat the source, detect and emit multiple button-change
2960 events (i.e. if multiple buttons have changed between poll
2962 Add code to detect mouse-down events even when the pointer
2963 is grabbed; workaround for GOK bug 98420.
2964 (spi_controller_register_with_devices):
2965 Call XTestGrabControl with 'impervious' flag set to True,
2966 allows us to synthesize events and query the pointer even during
2967 an active grab by another client.
2968 (spi_device_event_controller_forward_mouse_event):
2969 Set the mouse_mask_state to the mouse_button_state from
2970 the intercepted event, to synchronize the grab listener with
2973 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2975 * cspi/spi_accessible.c:
2976 (AccessibleRole_getName):
2977 Added necessary strings for making this (deprecated)
2978 method work with the new role types.
2979 (init_role_table, role_table):
2980 Added definition of SPI_ROLE_APPLICATION.
2982 * libspi/spi-roletypes.h:
2983 Added SPI_ROLE_APPLICATION.
2985 * idl/Accessibility_Role.idl:
2986 Added ROLE_APPLICATION.
2988 * docs/reference/cspi/at-spi-cspi-decl.txt:
2989 Added SPI_ROLE_APPLICATION to docs.
2991 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2993 * cspi/spi_accessible.c
2994 (cspi_init_role_table): Do not write beyond end of role_table.
2995 (Accessible_getRole): Use correct type for value returned by
2996 Accessibility_Accessible_getRole().
2998 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2999 beyond end of role_table. (This fixes bug #98269)
3001 * libspi/application.c: Add include file spi-private.h for
3002 definition of spi_init_any_nil.
3004 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3008 * libspi/spi-private.h:
3009 Added DGB() macro, and extern int _dbg declaration.
3011 * registryd/registry.c:
3012 (definitions) storage for _dbg.
3013 (spi_registry_init):
3014 Get environment variable "AT_SPI_DEBUG".
3015 (spi_registry_set_debug):
3016 New method, to initialize _dbg value.
3017 (spi_listener_struct_new, spi_registry_object_finalize):
3018 (notify_listeners_cb):
3019 Changed fprintfs to use DBG and g_warning().
3021 * registryd/deviceeventcontroller.c:
3022 (_deregister_keygrab, spi_controller_register_device_listener):
3023 Changed debug/warning messages to use DBG macro.
3025 * libspi/listener.c:
3026 (impl_notify_event):
3027 Changed warning messages to use DBG macro and g_warning().
3029 * atk-bridge/bridge.c:
3030 (atk_bridge_init, spi_atk_bridge_get_registry):
3031 (spi_atk_bridge_exit_func):
3032 (spi_atk_bridge_property_event_listener):
3033 Changed status, warning, and error messages to use
3034 g_warning, g_message, and DBG macros.
3037 Read the state of the AT_SPI_DEBUG environment variable
3038 and set a local '_dbg' accordingly.
3040 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3042 FIXES for 98836, 98842, other bugs.
3045 Revved to 1.1.4, interface-age=4, binary-age=4.
3047 * registryd/deviceeventcontroller.c:
3049 Fixed crasher bug in last_mouse_pos initialization.
3051 * registryd/registry.c:
3052 (desktop_add_application, desktop_remove_application):
3053 Added (and then commented out) some support for
3054 object context marshalling. [TODO]
3056 * atk-bridge/bridge.c:
3057 (spi_atk_bridge_event_context_create):
3058 Commented out object context creation until it can
3059 be properly tested and debugged.
3061 * registryd/registry.c:
3062 (impl_registry_notify_event):
3063 Fixed crasher bug, we were calling
3064 spi_re_entrant_list_foreach () with an empty list.
3066 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3068 * idl/Accessibility_Action.idl:
3069 * idl/Accessibility_Component.idl:
3070 * idl/Accessibility_Desktop.idl:
3071 * idl/Accessibility_Event.idl:
3072 * idl/Accessibility_Hyperlink.idl:
3073 * idl/Accessibility_Image.idl:
3074 * idl/Accessibility_Relation.idl:
3075 * idl/Accessibility_Selection.idl:
3076 * idl/Accessibility_State.idl:
3077 * idl/Accessibility_Value.idl:
3078 Updated unimplemented slot count to minimum of
3079 four for all interfaces, for ABI freeze.
3081 * idl/Accessibility_EditableText.idl:
3082 * idl/Accessibility_Text.idl:
3083 Updated unimplemented slot count to six
3086 * idl/Accessibility_Registry.idl:
3087 Updated unimplemented slot count to six
3088 (also for DeviceEventController),
3091 * idl/Accessibility_Table.idl:
3092 Updated unimplemented slot count to eight,
3095 * idl/Accessibility_Event.idl:
3096 Added CORBA_any "any_data" member to Event struct.
3098 * idl/Accessibility_Event.idl:
3099 Added CORBA_any "any_data" member to Event struct.
3101 * atk-bridge/bridge.c:
3103 atk_signal_text_changed, atk_signal_child_changed,
3104 signal ids queried from gtype system.
3105 (AtkBridgeEventContextType): New enum.
3106 (AtkBridgeEventContextData): New struct.
3107 (AtkBridgeEventContext): New struct.
3108 (atk_bridge_init_event_type_consts):
3109 New method, initializes type contants for comparison
3110 prior to emit_eventv.
3111 (atk_bridge_event_context_init): New method,
3112 initializes a CORBA_any from an AtkBridgeEventContext.
3113 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3114 initialize the event.any_data struct.
3115 (spi_atk_bridge_event_context_create): New method,
3116 creates an AtkBridgeEventContext from signal/event info.
3117 (spi_atk_bridge_event_context_free): New method.
3118 (spi_atk_emit_eventv): Changed to take an
3119 AtkBridgeEventContext parameter. We now initialize
3120 the event.any_data member prior to notifying the
3121 Registry, via the AtkBridgeEventContext.
3122 (spi_atk_bridge_property_event_listener):
3123 (spi_atk_bridge_state_event_listener):
3124 Match emit_eventv signature.
3125 (spi_atk_bridge_object_event_listener):
3126 Match emit_eventv signature, and create an
3127 event context from the event details.
3128 Free the event context afterwards.
3129 (spi_atk_bridge_window_event_listener):
3130 Create an event context, pass it to the
3134 (AccessibleEvent_getContextString):
3135 (AccessibleEvent_getContextObject):
3136 New methods, allow query of AccessibleEvent objects
3137 for more context details (via the "any_data" member
3138 of the Event struct, above).
3141 Definitions for AccessibleEvent_getContextString
3142 and AccessibleEvent_getContextObject.
3144 * cspi/spi_listener.h:
3145 (InternalEvent): New struct.
3148 (AccessibleEvent_getContextString):
3149 (AccessibleEvent_getContextObject):
3150 Implementations of new methods, for obtaining
3151 additional context information from some event types.
3153 * cspi/spi_registry.c:
3154 (SPI_registerGlobalEventListener):
3155 Added mention of active-descendant-changed event in docs.
3157 * cspi/cspi-bonobo-listener.c:
3159 Marshal the any into the AccessibleEvent via
3162 * libspi/spi-private.h:
3163 #include <orbit/orbit.h>
3165 (spi_init_any_string):
3166 (spi_init_any_object):
3167 New convenience function declarations.
3171 (spi_init_any_string):
3172 (spi_init_any_object):
3173 New convenience function implementations.
3175 * registryd/deviceeventcontroller.c:
3176 (spi_poll_dec_mouse_moved):
3177 (spi_device_event_controller_forward_mous_event):
3178 Initialize any_data member of event.
3179 (spi_deregister_controller_device_listener):
3180 Fix incorrect param pass which was preventing deregistration.
3182 * registryd/registry.c:
3183 (desktop_add_application):
3184 (desktop_remove_application):
3185 Add object data to event's any_data before dispatch.
3187 Fix for error messages from GAIL.
3189 * test/event-listener-test.c:
3190 Test new ContextString and "any_data" API:
3191 (report_text_event): New method query and output context string.
3192 (main): register a new text listener with report_text_event
3195 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3197 Fixes for bugs 98127 and 97914.
3198 * cspi/spi-roletypes.h:
3199 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3201 * cspi/spi-statetypes.h:
3202 Added SPI_STATE_MANAGES_DESCENDANTS
3204 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3205 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3206 * cspi/spi_accessible.c:
3207 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3208 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3209 Accessibility_STATE_MANAGES_DESCENDANTS
3210 * libspi/accessible.c:
3211 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3212 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3213 As requested by Bill, I also cleaned up the alignment.
3214 * libspi/relation.c:
3215 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3216 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3217 * libspi/stateset.c:
3218 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3219 Accessibility_STATE_MANAGES_DESCENDANTS
3220 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3221 Document changes reflecting modifications to roles.
3222 * docs/reference/cspi/tmpl/spi_relation.sgml:
3223 Document changes reflecting modifications to relations.
3224 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3225 Document changes reflecting modifications to states.
3227 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3230 Revved to 1.1.3, interface-age=3, binary-age=3.
3231 Added REBUILD macro.
3234 Removed accessx-gui from the tests, since we have a nice
3235 keyboard accessibility capplet now :-)
3237 * test/keysynth-demo.c:
3238 (increment_scan): removed do-nothing default: case,
3241 * test/visual-bell.c:
3242 (main) : removed do-nothing default: case,
3245 * cspi/spi_action.c:
3246 (AccessibleAction_getKeyBinding_):
3247 Documented keybinding string format.
3251 (AccessibleText_getAttributes):
3252 Documented the text attribute string format.
3253 It's changed to use semicolon delimiters also,
3254 to prevent clashes with CSS attributes, but the old
3255 trick of looking for ", " strings will still work
3256 (as unreliably as ever). Fix for bug related to 97916.
3259 Include <cspi/bonobo/cspi-bonobo-listener.h>
3260 Fixes build warning.
3261 (SPI_freeAccessibleKeySet):
3262 (AccessibleKeystrokeListener_addCallback):
3263 (AccessibleKeystrokeListener_removeCallback):
3264 Modify to use AccessibleDeviceListener API internally,
3265 instead of AccessibleKeystrokeListener.
3267 * idl/Accessibility_Event.idl:
3268 Added two more empty slots to EventListener (for a total of four).
3270 * idl/Accessibility_Accessible.idl:
3271 Added four empty slots to Accessible interface.
3273 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3275 * idl/Accessibility_Registry.idl:
3276 (KeyEventType, EventType):
3277 Marked KeyEventType as deprecated; it duplicates
3278 functionality of EventType, which has been extended to
3279 include Mouse-button events.
3280 (KeyEventTypeSeq): defined in terms of EventType.
3281 (registerDeviceEventListener, deregisterDeviceEventListener):
3282 New methods, for managing listeners to device events,
3283 which potentially may consume them.
3286 Added definition for AccessibleDeviceListener.
3288 * cspi/spi-listener.h:
3289 (enum AccessibleDeviceEventType):
3290 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3291 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3292 for backwards compat.
3293 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3294 and typedef'd AccessibleKeystroke to it for back-compat.
3295 (AccessibleDeviceListenerCB):
3296 New function prototype typedef.
3299 (AccessibleDeviceEventMask): New typedef.
3300 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3301 (AccessibleKeyMaskType):
3302 Set equivalent to AccessibleModifierMaskType for back-compat.
3303 (SPI_createAccessibleKeystrokeListener):
3304 (AccessibleKeystrokeListener_unref):
3305 Deprecated in favor of equivalent (better-named) new API below..
3306 keystroke listeners are like all device listeners.
3307 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3308 New API names for old features :-).
3309 (AccessibleDeviceListener_addCallback):
3310 (AccessibleDeviceListener_removeCallback):
3311 (SPI_registerDeviceEventListener):
3312 (SPI_deregisterDeviceEventListener):
3316 (SPI_createAccessibleKeystrokeListener):
3317 Use new preferred API, cspi_device_listener_new() and
3318 cspi_device_listener_add_cb().
3319 (AccessibleKeystrokeListener_removeCallback):
3320 Use new preferred API, cspi_device_listener_remove_cb().
3321 (AccessibleKeystrokeListener_unref):
3322 Use new preferred API, cspi_device_listener_unref().
3323 (SPI_createAccessibleDeviceListener):
3324 (AccessibleDeviceListener_addCallback):
3325 (AccessibleDeviceListener_removeCallback):
3326 Implementation of new API.
3328 * cspi/spi_registry.c:
3329 (SPI_registerDeviceEventListener):
3330 (SPI_deregisterDeviceEventListener):
3331 Implementation of new API. Fixed memory leak and removed need to
3332 allocate EventTypeSeq (thanks Michael for catching this).
3333 Squashed a wayward CORBA_exception_free that shouldn't get called.
3335 * cspi/bonobo/cspi-bonobo-listener.c:
3337 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3338 (cspi_key_event): renamed to cspi_device_event().
3339 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3340 Extended to handle mouse button events as well as key events.
3341 (CSpiKeystrokeListener):
3342 Class superceded by CSpiDeviceListener.
3343 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3344 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3346 * cspi/bonobo/cspi-bonobo-listener.h:
3347 (CSpiKeystrokeListener):
3348 Class superceded by CSpiDeviceListener.
3349 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3350 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3352 * libspi/Makefile.am:
3353 Replaced keystrokelistener.h and keystrokelistener.c
3354 with devicelistener.h and devicelistener.c; keystrokelisener.h
3355 stub retained for back-compat.
3357 * libspi/keystrokelistener.c:
3361 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3363 * registryd/deviceeventcontroller.c:
3364 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3365 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3366 (DEControllerPrivateData): Added xkb settings data.
3367 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3368 button release events (which can't be captured via XGrabButton).
3369 Don't dispatch via the 'normal' event mechanism if the device event was
3371 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3372 Handle the typeseq data in its new location (see above).
3373 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3374 New methods, for "generic" device listeners.
3375 (spi_controller_register_device_listener):
3376 Now handle mouse event listeners as well as key listeners.
3377 (spi_controller_notify_mouselisteners):
3378 New internal method.
3379 (spi_device_event_controller_forward_mouse_event):
3380 Now we notify mouse device listeners as well as generating the
3381 non-consumable "mouse:" events.
3383 We must check and restore the XKB
3384 modifier map if we consume the event, since the act of triggering
3385 a mouse event will normally reset the XKB latch. This is required for
3387 (spi_controller_register_with_devices):
3388 Load the XKB settings when registering, and register for XKB
3389 state notify events.
3390 (spi_key_eventtype_seq_contains_event):
3391 Renamed spi_eventtype_seq_contains_event, since it's used
3392 internally for all device event types now.
3393 (spi_key_event_matches_listener):
3394 Uses spi_eventtype_seq_contains_event now.
3395 (spi_device_event_controller_object_finalize):
3396 Free the private data and the XkbKeyboard struct.
3397 (impl_register_device_listener, impl_deregister_device_listener):
3398 Implementation of new IDL.
3399 (spi_deregister_controller_device_listener):
3400 New internal method.
3401 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3402 More efficient implementation, we don't have to create a new
3403 XkbControls structure every time we query.
3404 (spi_device_event_controller_class_init):
3405 Initialize the epv entries for the new IDL. Assign the
3406 "spi-dec-private" quark.
3407 (spi_device_event_controller_init):
3408 Initialize the private data.
3409 (spi_device_event_controller_forward_key_event):
3410 Removed a bogus CORBA_exception_free() call.
3412 * registryd/deviceeventcontroller.h:
3413 Replaced inclusion of keystrokelistener.h with
3416 * test/event-listener-test.c:
3417 (report_mouse_event):
3420 Added mouse-event device listener.
3422 * test/test-simple.c:
3423 (create_test_window):
3424 Fixed regression (we were instantiating a GtkRange,
3425 which is now an abstract class). Also fixed to match
3426 existing AtkRole names, this seems to have changed in ATK
3427 awhile ago; too late now I think, and the new
3428 mechanism is at least elegant and consistent with the
3429 glib enum "nick" APIs.
3431 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3433 * idl/Accessibility_Relation.idl:
3434 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3435 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3436 * idl/Accessibility_Role.idl:
3437 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3438 * idl/Accessibility_State.idl:
3439 add STATE_MANAGES_DESCENDANTS
3440 * test/event-listener-test.c:
3441 Added a listener for active-descendant events.
3443 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3445 * atk-bridge/bridge.c
3446 (atk_bridge_init): If application is Bonobo component wait until top
3447 level is added before registering
3448 (spi_atk_bridge_do_registration): New function which contains code,
3449 formerly in atk_bridge_init, to do application registration.
3450 (spi_atk_bridge_toplevel_added): Signal called when top level
3451 added to Bonobo component
3453 This fixes bug #83134.
3455 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3457 * registryd/deviceeventcontroller.c
3458 Fixed compilation error caused by calling gettimeofday()
3461 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3466 Added template for HAVE_XKB.
3469 Changes to check for XKB, and to set the HAVE_XKB #define if it
3472 * libspi/listener.c:
3473 ()impl_notify_event): Make failure to get event source name
3476 * registryd/deviceeventcontroller.c:
3477 (#include): include X11/XKBlib.h.
3478 (DEControllerPrivateData) : New struct.
3479 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3481 (dec_synth_keycode_press) (dec_synth_keycode_release):
3482 New methods; split the key synthesis code into these methods.
3483 They check XKB settings before determining the "time" values to
3484 pass to Xtest; this fixes bug #95828.
3485 (impl_generate_keyboard_event): Changed to use methods above,
3486 instead of callng Xtest directly.
3487 (spi_device_event_controller_init): Initialize new privae struct s
3489 (spi_device_event_controllr_object_finalize):
3490 Free the (new) private data.
3492 * registryd/deviceeventcontroller.h:
3493 Add new gpointer to end of struct data.
3495 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3498 Incremented revision to 1.1.2, SONAME is still '.so', library
3499 extensions are ".so.0.0.2".
3501 * registryd/deviceeventcontroller.c:
3502 FIXES FOR #93592 and #95940.
3503 (statics): renamed mouse_button_state to mouse_mask_state,
3504 added key_modifier_mask.
3505 (spi_dec_poll_mouse_moved):
3506 Added key modifier checks, and emit "keyboard:modifiers"
3507 events when the key modifiers currently in use change.
3508 Also generate "mouse:abs" events periodically, even if the mouse
3509 is stationary (should we?).
3510 Alternatively we could generate "mouse:abs" events for either all
3511 mouse movements, or every 'nth' mouse movement, or at the
3512 beginning and end of every "active" mouse period.
3514 * test/event-listener-test.c:
3515 (main): Added listener for "keyboard:modifiers" events.
3517 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3519 * libspi/keymasks.h:
3520 Added key mask #defines for mouse buttons; e.g.
3521 SPI_KEYMASK_BUTTON1, etc.
3524 Incremented dependency on ATK to version 1.1.0. (This dependency
3525 is probably premature but will soon be real enough).
3527 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3529 * libspi/hyperlink.[ch]
3530 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3531 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3534 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3539 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3541 * registryd/deviceeventcontroller.c
3542 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3543 events to be ignored.
3544 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3545 keyboard_mode so that XAllowEvents() can be called.
3549 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3551 * cspi/spi-accessible.c: Correct names of roles returned by
3552 AccessibleRole_getName(). Fixes bug #95055.
3554 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3556 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3559 * registryd/registry.c
3560 (desktop_remove_application: Write diagnostic message to stderr for
3563 (impl_accessibility_registry_deregister_global_event_listener):
3564 Correct size of lists array. This addresses bug #94555).
3566 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3568 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3571 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3573 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3576 * registryd/registry.c (impl_registry_notify_event): Remove
3577 unnecessary call to parser_event_type().
3579 * docs/reference/cspi/tmpl/spi_component.sgml:
3580 Add reference to SPI_LAYER_WINDOW.
3582 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3584 * registryd/registry.c
3585 (desktop_add_application): Remove leak.
3586 (desktop_remove_application): Remove leak.
3587 (parser_event_type): Remove leak.
3589 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3591 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3592 bogus call to CORBA_string_dup(). Also removed unnecessary
3593 g_string_dup/g_free calls.
3595 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3597 * registryd/deviceeventcontroller.c:
3598 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3600 * test/event-listener-test.c:
3601 main: commented out three redundant listeners, to reduce output
3602 noise. (They still are potentially useful for testing).
3605 2002-09-13 Michael Meeks <michael@ximian.com>
3607 * Update all the copyrights to include Ximian.
3609 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3611 * cspi/spi.h: add SPI_LAYER_WINDOW.
3613 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3614 add Accessibility_LAYER_WINDOW case.
3616 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3618 * libspi/component.c: (impl_accessibility_component_get_layer):
3619 add ATK_LAYER_WINDOW case.
3621 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3623 * configure.in: incremented micro version.
3625 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3627 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3630 Clarified and reworded our commit policy.
3633 Started an API "todo" addition list for 2.2.
3636 (impl_getSelection):
3637 Free char pointer from atk_text_get_selection, which was being leaked.
3639 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3642 Small revision to author acknowledgement.
3644 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3646 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3647 If signal has detail add it to the type of the event.
3650 2002-08-12 Michael Meeks <michael@ximian.com>
3652 * test/test-simple.c (global_listener_cb): bin bogosity.
3653 (test_keylisteners): disable, still doesn't work reliably,
3654 certainly not on my system anyway.
3656 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3657 don't leak a reference on the DEC. This round-trip
3658 fetching of the DEC per keystroke sucks, it should be
3661 * cspi/spi-private.h,
3662 * cspi/cspi-lowlevel.h,
3663 * cspi/bonobo/cspi-bonobo-listener.[ch],
3664 * cspi/bonobo/cspi-bonobo.c: get the copyright
3665 notices better - there is still a large amount of
3666 work in at-spi falsely attributed solely to Sun.
3668 * cspi/spi_main.c (cspi_object_ref): kill bogus
3669 hash lookup, just increment the ref.
3670 (SPI_freeString): make explicit the fact that we
3671 handle NULL strings just fine.
3672 (report_leaked_ref): obey coding standards.
3673 (cspi_object_hash, cspi_object_equal): kill retval.
3674 (cspi_object_release): only release if not on loan.
3675 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3676 (cspi_object_borrow, cspi_object_return): impl.
3678 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3679 use cspi_object_borrow / return.
3681 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3683 * cspi/bonobo/cspi-bonobo-listener.c:
3685 Don't call cspi_oject_new() because this is creating a new Accessible
3686 every single time that an event is fired. This causes ATs like at-poke
3687 to nolonger recognise the source of the event and thus ignore it.
3688 Re-use the object from the cache, ref it and then unref it after the
3689 listeners have been called.
3691 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3693 * test/event-listener-test.c:
3694 Added command-line options to disable mouse events (m) and
3697 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3699 * configure.in: Update required versions of ATK, GTK+ and GAIL
3701 * cspi-1.0.pc.in: Add dependency for X include files
3704 * cspi/bonobo/Makefile.am:
3705 Add $(X_CFLAGS) so that X include files
3706 are picked up even if not in standard place (bug #71686)
3708 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3710 * registryd/deviceeventcontroller.c: fix for 84261
3711 (spi_dec_mouse_moved):
3712 Added test of mouse button mask, so that we can detect mouse
3713 button release. Unfortunately we can't otherwise detect mouse
3714 button release events without consuming the mouse press event,
3715 because of the way XGrabButton works. This means that our mouse
3716 release events have a latency dependent on the polling period
3717 while the mouse button is down. At least in this case we only
3718 have to poll while the button is down, and not at other times.
3719 If the button masks don't match with what the last press event
3720 reported, we report the appropriate button release event.
3721 (spi_dec_ungrab_mouse):
3722 New method (not yet called).
3723 (spi_device_event_controller_forward_mouse_event):
3724 New method, sends mouse press event from GdkFilter.
3725 (spi_dec_init_mouse_listener):
3726 Added code to call XGrabButton, redirecting mouse button events to
3727 the root window and our Gdk event loop.
3729 Added code to filter mouse button events, and reordered.
3731 * test/event-listener-test.c:
3733 Added registration for mouse events of type "mouse:button".
3735 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3737 * registryd/deviceeventcontroller.c: partial fix for 84261
3738 (spi_dec_poll_mouse_idle):
3739 New method, a timeout which checks to see if the mouse
3741 (spi_dec_poll_mouse_moving):
3742 A timeout to be called when mouse motion is underway.
3743 (spi_dec_poll_mouse_moved):
3744 A method which fires an event if the mouse has moved, and reports
3745 whether or not it did so.
3746 (spi_dec_init_mouse_listener):
3747 A method which sets up the timeouts above.
3748 (spi_device_event_controller_new):
3749 Now calls spi_dec_init_mouse_listener.
3751 * registryd/registry.c:
3752 (spi_registry_init):
3753 Now we initialize the device event controller when the registry is
3754 initialized, instead of waiting until a client has requested a key
3755 event notification; this is because we need the event controller
3756 for mouse events, but the mouse event registration API is a
3757 "registry" call and doesn't explicitly call the
3758 deviceeventcontroller.
3759 We now report mouse motion events with a 100 ms idle latency and
3760 a 20 ms granularity when motion is in progress.
3762 * test/event-listener-test.c:
3764 We now register the "detail listener" for events of type
3765 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3766 delivered only for the first mouse event received, and thereafter
3767 "mouse:abs" events are delivered.)
3769 * cspi/spi_registry.c:
3770 DOCS: Documented the above mouse event typestrings.
3772 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3774 Happy Summer Solstice...
3776 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3777 (spi_controller_notify_keylisteners):
3778 Changes to remove a listener from the listener list, freeing its
3779 open keygrabs, if a notification to that listener fails. This
3780 means that although a dead listener can continue to hold a passive
3781 keygrab, a maximum of one dispatch to such a listener can fail
3782 before the listener is removed from the list, thus the keygrab
3783 will be released on the next occurrence.
3784 As part of this fix:
3785 (spi_notify_keylisteners):
3786 Renamed to spi_controller_notify_keylisteners, as the controller
3787 instance must now be passed as an argument.
3788 The copied 'notify' GList is now a list of DEControllerKeyListener
3789 objects, since we need more than just the CORBA reference if a
3790 notify fails and we need to deregister the listener.
3791 (impl_notify_listeners_sync):
3792 (impl_notify_listeners_async):
3793 (spi_device_event_controller_forward_key_event):
3794 Modify use of notify_keylisteners in accordance with above
3796 (spi_deregister_controller_key_listener):
3797 New method introduced by refactoring, from
3798 impl_deregister_keystroke_listener.
3799 (impl_deregister_keystroke_listener):
3800 Call spi_deregister_controller_key_listener.
3801 (spi_key_listener_clone):
3802 New method to copy a key listner without doing a 'ref' on the
3803 remote object instance; used to create a notifier list.
3804 (spi_key_listener_data_free):
3805 New method, frees data without unreffing the source.
3807 (spi_key_listener_clone_free): new method.
3808 (spi_key_listener_free):
3809 refactored to call spi_key_listener_data_free.
3811 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3813 * registryd/registry.c: [fix for bug 86048]
3814 (notify_listeners_cb):
3815 Clear CORBA system exceptions which occur when notifying
3816 listeners, before returning to the source of the original event,
3817 since the event source doesn't care if the relayed notify failed.
3818 In other words, don't complain to the atk-bridge if the registry
3819 could not notify all its listeners, that's no fault of the
3820 application and thus should not appear to be an error from the
3821 application's perspective.
3823 * cspi/spi_main.c: [fix for bug 85980]
3825 Replaced use of bonobo_object_dup_ref with call to the wrapper
3826 method, csou_dup_ref (); this silences a compiler warning and
3827 provided more portability.
3829 Ping the registry before return, and restart if necessary.
3831 * cspi/bonobo/cspi-bonobo.c:
3833 New internal method.
3835 Fixed this method to return an object reference, as it should have
3838 * cspi/cspi-lowlevel.h:
3839 Added internal definition for cspi_ping() and fixed
3840 return type of cspi_dup_ref().
3843 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3845 * atk-bridge/bridge.c: [fix for bug 85305]
3846 (spi_atk_bridge_register_application):
3847 New method where the initial application registry calls have been
3848 moved; it allows an application to re-register in response to
3849 certain error conditions (such as a registry restart, see below).
3851 Moved some initialization code to the method
3852 spi_atk_bridge_get_registry, below.
3853 (spi_atk_bridge_get_registry):
3854 New, private accessor function for the Accessibility_Registry
3855 instance. If the registry has not been started before, or has
3856 died (as detected by failure of a CORBA exception), it is
3857 restarted before return, and spi_atk_bridge_register_application
3858 is called again to register with the new bridge instance.
3859 (spi_atk_emit_eventv):
3860 Set registry_died on error; use spi_atk_bridge_get_registry () to
3861 access the registry.
3863 * registryd/registry.c:
3864 (impl_accessibility_registry_register_global_event_listener):
3865 Set listener's event_type_quark to etype.minor instead of
3866 etype.major (fix for bug 84856).
3868 * test/event-listener-test.c:
3869 (report_detail_event):
3870 Change the output string so that user/tester can tell that the
3871 'detail listener' was called instead of the 'generic listener'.
3873 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3875 Fixes for bugs 84900, 84908, 84897, 84898.
3880 Revved version to 1.1.0
3881 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3882 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3884 * idl/Accessibility_Registry.idl:
3885 (EventListener::notifyEvent):
3886 Removed 'oneway' directive after extensive consulation with
3887 ORBit2 team and others. This means also that unref() of the event
3888 source can and should be done synchronously after emission, rather
3889 than remotely in the client, after servicing the notify call on
3892 NOTE: This change speeds up listener performance considerably, but
3893 introduces new latency on the application side. We may want to
3894 add an event queue to the atk-bridge.
3896 * atk-bridge/bridge.c:
3897 (spi_atk_bridge_focus_tracker):
3898 Do a local unref() on the event source after emission.
3900 * registryd/registry.c:
3901 (desktop_remove_application):
3902 Do an unref() on the event source after emission.
3903 (desktop_add_application):
3904 Do an unref() on the event source after emission.
3905 (notify_listeners_cb):
3906 When relaying an event, don't automatically add the event source
3907 to the local object cache, just CORBA_dup it instead. Likewise,
3908 if this method reenters, release the ref rather than calling
3910 (impl_registry_notify_event):
3911 No longer call remote unref() on the event source after dispatch.
3913 * libspi/eventlistener.c:
3914 (impl_accessible_event_notify_event):
3915 Removed remote unref ()
3917 * cspi/bonobo/cspi-bonobo-listener.c:
3919 We now call cspi_object_new() instead of cspi_object_add() on
3920 receipt of an event; thus we only have an implicit object ref
3921 while the cspi_event method is being executed. If we need to keep
3922 a reference to the object, the listener must call ref() on the
3923 object. Thus also we don't need to call cspi_object_unref() after
3924 invoking the listener callbacks in this method.
3928 New internal API for creating a new cspi object, without adding it
3929 to the object cache.
3931 Now uses cspi_object_new() to create the cspi object instance.
3933 Now checks to see if the object is in the internal object cache,
3934 and adds it if necessary before incrementing its refcount (note
3935 that new objects are added with a refcount of 1).
3936 (report_leaked_ref):
3937 New method which gives some information on leaked object instances
3938 if leak detection is turned on.
3940 * test/event-listener-test.c:
3941 (timing_test_event):
3942 New method, used for testing event delivery timing for special
3943 events of type "object:test". It reports elapsed time and
3944 events/sec every 500 events.
3946 Added a new listener, 'test listener', to check timing of event
3947 receipt as noted above.
3949 Added some timing output here also, reports elapsed time every 100
3952 * test/stress-test.c:
3953 Emit events of type "object:test", for use with "event-listener-test".
3955 * test/test-simple.c:
3956 (global_listener_cb):
3957 Call Accessible_ref() on the event source before calling
3958 validate_accessible, since the validation process does pointer
3959 comparisons on the event source, meaning that the event source
3960 needs to be added to the local object cache first. Any use of
3961 such pointer comparisons between Accessible objects requires that
3962 the caller hold an explicit reference to those objects.
3963 We also must therefore call Accessible_unref() when leaving this method.
3965 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3967 * registryd/deviceeventcontroller.c:
3968 (spi_controller_update_key_grabs):
3969 Fix for #84735, subsequent keygrab listeners not informed of
3970 registration failure.
3973 (spi_base_construct):
3974 Add an assertion on construct, to make sure the GObject passed in
3975 is really a GObject.
3977 Explicitly initialize object->gobj pointer to NULL;
3979 * cspi/bonobo/cspi-bonobo-listener.c:
3980 (cspi_object_add_ref):
3981 New method, can specify whether to dup-ref a bonobo object passed
3982 in if it's newly added to the object cache.
3984 Now calls cspi_object_add_ref with second param of "FALSE". This
3985 prevents us from doing a pointless dup-ref followed by
3986 release-unref for all those cases where the object is already in
3987 our object cache (fix for #85205).
3989 * atk-bridge/bridge.c:
3990 (spi_atk_bridge_idle_init):
3991 Removed this method, we don't need to initialize in an idle
3994 Changed to call spi_atk_register_event_listeners directly, not via an
3995 idle handler. (fix for #81139)
3996 (gnome_accessibility_module_shutdown):
3997 Removed conditional around deregistration of listeners, since we
3998 don't use the idle handler and thus have always registered when
4000 (spi_init_keystroke_from_atk_key_event):
4001 Changed references to Accessibility_KEY_PRESSED to
4002 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4004 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4006 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4011 * test/stress-test.c:
4014 (may have been an incomplete commit yesterday?)
4016 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4019 Added target for new stress-test.
4021 * test/stress-test.c:
4022 New test, sends 1000 focus notifies in quick succession.
4024 * test/key-listener-test.c:
4025 Now we report whether a keylistener registration
4026 request succeeded or failed.
4028 * test/event-listener-test.c:
4029 Uncommented some listeners which are now implemented.
4032 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4034 * registryd/deviceeventcontroller.c:
4035 (spi_controller_update_key_grabs):
4036 Fix for #82509, lack of failure notification when
4037 ALL_WINDOWS keygrabs fail due to XGrabKey
4038 failure: we synchronize the server when
4039 registering a passive grab, to make sure we get the
4040 error message before the call returns.
4042 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4044 * test/test-simple.c:
4046 Removed #ifdef KEY_IMPL_WORKS guards.
4047 (test_keylisteners):
4048 Removed #ifdef KEY_IMPL_WORKS guards.
4049 Fixed bug which was causing a hang waiting for a
4050 "press" event (which was already overwritten by a "release"
4051 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4053 Added code to set globals 'key_press_received' and
4054 'key_release_received'.
4057 Added section "1.1 API Proposed Additions" which
4058 lists API additions desired for at-spi-1.1 (only one so far).
4059 Updated TODO list a little.
4061 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4063 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4066 * configure.in: Revved to 1.0.0.
4068 * idl/Accessibility_Registry.idl:
4069 (registerKeystrokeListener):
4070 Added boolean return value.
4072 * registryd/registry.c:
4073 (notify_listeners_cb): Minor fix to debug output.
4075 * registryd/Accessibility_Registry.server.in.in:
4076 Revved version number in OAFIID to 1.0.
4078 * registryd/registryd.c:
4080 Use new OAFIID version.
4082 * cspi/bonobo/cspi-bonobo.c:
4084 Use new OAFIID version.
4090 * atk-bridge/bridge.c:
4092 Use new OAFIID version.
4094 * registryd/deviceeventcontroller.c:
4095 (impl_register_keystroke_listener):
4096 Added CORBA_boolean return value.
4097 (spi_controller_register_device_listener):
4098 Added gboolean return value.
4099 (spi_controller_register_global_keygrabs):
4100 Added gboolean return value.
4101 (spi_key_set_contains_key):
4102 Added implementation for many more control keys,
4103 for instance F1-F12, arrow keys, End, Home, Page_Up,
4105 [TODO: some still not implemented].
4107 * text/screen-review-test.c:
4108 (text_chunk_pad_string):
4109 New function: it provides mapping between coordinate
4110 positions of text chunks and character positions in the
4111 screen-review-line output string.
4112 (text_chunk_to_string):
4113 New function, calls text_chunk_pad_string with various
4114 pad/delimiter characters. Pushbuttons are delimited with
4115 square brackets, Frames with vertical 'pipe' lines, and
4116 other text with double quotes.
4117 (text_chunk_list_to_string):
4118 Calls new function text_chunk_to_string.
4119 (toplevel_composite):
4120 New function to composite layers CANVAS through
4121 POPUP in each toplevel (other layers are composited
4122 across toplevels, i.e. BACKGROUND and OVERLAY).
4123 (review_buffer_composite):
4124 Revise to use new methods.
4130 2002-05-31 Laszlo Peter <laca@sun.com>
4132 * configure.in: add the Xtst libdir to the runpath on Solaris,
4133 since it's not in the default library search path.
4135 2002-05-29 jacob berkman <jacob@ximian.com>
4137 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4139 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4141 * test/screen-review-test.c:
4142 (text_chunk_pad_string):
4143 Added method, which pads the string according to the
4144 text bounds of the chunk. It also takes a 3-character
4145 string as a param which indicates the characters to be
4146 used for start, padding, and end delimitation of the chunk.
4147 (text_chunk_to_string):
4148 Changed to use text_chunk_pad_string.
4150 * configure.in: Fixed bug in AC_OUTPUT that was
4151 causing path substitution in Accessibility_Registry.server
4154 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4156 * text/screen-review-test.c:
4157 (guess_string_clip):
4158 New method which attempts a best-guess at clipping
4159 text from components (like Java labels) which don't
4160 actually implement AccessibleText. This inaccurate
4161 clip is based on the assumption that the label is
4162 justified left-and-right, and monospaced.
4163 (text_chunk_get_clipped_string):
4164 We now call guess_string_clip() for text-containing
4165 components that don't implement AccessibleText.
4167 * test/screen-review-test.c:
4168 (review_buffer_get_text_chunk):
4169 We now pull "name" from labels if they do not implement
4170 AccessibleText (i.e. for Java labels).
4171 (get_screen_review_line_at):
4172 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4175 Replaceded AC_OUTPUT target
4176 registryd/Accessibility_Registry.server with
4177 registryd/Accessibility_Registry.server.in.
4179 * registryd/Accessibility_Registry.server.in:
4180 Removed (this is now a Makefile target).
4182 * registryd/Accessibility_Registry.server.in.in:
4183 Added (source for target above). We now use $(libexecdir) as
4184 prefix for the executable at-spi-registryd.
4186 * registry/Makefile.am:
4187 Now install at-spi-registryd into $(libexecdir), and build .server
4188 file with path (see above).
4190 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4192 * test/screen-review-test.c:
4193 (text_chunk_get_clipped_string):
4194 We now check to see if words fall within clip bounds
4195 before resorting to character-by-character clip bounds testing.
4197 * TODO: Added a section for "2.2 Proposed API Additions".
4199 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4201 * test/screen-review-test.c:
4203 Added a screen review benchmarking and test program to test
4206 * cspi/spi_accessible.c:
4208 Made some of the debug strings passed to cspi_check_ev a
4209 little more specific.
4211 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4213 * test/screen-review-test.c: Fix crashes in debug statements
4215 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4217 * test/screen-review-test.c: Added this file.
4219 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4221 * atk-bridge/bridge.c: changed "object:state-change" to
4222 "object:state-changed" to match docs.
4224 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4226 * atk-bridge/bridge.c: Hooked up state-change event details.
4228 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4230 * registryd/registry.c:
4231 Fixed quarking bug in event string parsing; now events with
4232 detail parameters get matched correctly to listeners.
4235 * util/idl/Magnifier.idl: remove.
4237 * util/*.[ch]: Remove.
4238 Magnification utilities and IDL are now in module gnome-mag.
4240 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4242 * registryd/deviceeventcontroller.c:
4243 Fixed bug in grab key conversion which was causing keycode grabs
4244 to be converted to AnyKey grabs.
4247 updated NEWS file to reflect recent spin-off of gnome-mag.
4249 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4251 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4252 busted AccessibleStateSet_compare. Removed redundant casts.
4254 * cspi/spi-action.c: Removed redundant casts.
4256 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4258 * cspi/spi_component.c: Fixed typos and casting error.
4260 * cspi/spi_editabletext.c: Removed redundant casts.
4262 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4264 * cspi/spi_hypertext.c: Eliminated redundant casts.
4266 * cspi/spi_image.c: Eliminated redundant casts.
4268 * cspi/spi_registry.c: Eliminated redundant casts.
4269 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4270 * cspi/spi_selection.c: Removed redundant casts.
4271 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4272 handling. Screen geometry and text offsets were being returned as 0
4273 on error which is technically valid-- changed these to return -1.
4274 Added marshaller for text boundary types to fix bug with boundary
4275 types being passed incorrectly to atk.
4277 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4280 * cspi/spi_registry.c:
4281 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4282 which was uncovered by the recent key changes.
4284 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4286 * test/event-listener-test.c:
4288 Added new test, "event-listener-test";
4289 this code does two things; it benchmarks traversal time
4290 for the accessible hierarchy for the first running accessible
4291 app, and it connects listeners for all supported event types.
4292 It is thus useful as an example event listener and for
4293 diagnostics/debugging of event generation.
4295 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4298 Removed unnecessary dependency on libutil.
4301 Revved micro version: 0.13.1
4303 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4306 Removed util/Makefile from targets.
4309 Removed util subdir from SUBDIRS (temporarily,
4310 pending removal of magnifier-only code
4314 #ifdef-ed out magnifier dependencies, since
4315 magnifier IDL, headers, and binary now live in
4316 module gnome-mag and we don't want at-spi to depend
4317 on gnome-mag. A magnifier demo which can run alongside
4318 simple-at is forthcoming in the gnome-mag module.
4320 NOTE: Split magnifier binary, IDL, and magnification
4321 activation code from at-spi into module gnome-mag.
4323 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4325 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4326 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4328 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4331 Revved to version 0.13.0
4333 * idl/Accessibility_Registry.idl:
4334 Changed definition of KeySet from sequence of longs to sequence of
4335 KeyDefinitions, and added KeyDefinition struct.
4336 Required for fix to bug 80616.
4338 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4339 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4340 to use new definition (see above).
4342 * registryd/deviceeventcontroller.c: handle_keygrab(),
4343 spi_keyset_contains_key():
4344 Changed to make use of new struct; this allows matching based on
4345 string key-name, for instance "Tab". This also allows matching of
4346 composed characters, non-alphanumeric characters in a way that
4347 doesn't involve dependencies on X keysym codes directly, etc.
4349 * test/key-listener-test.c:
4350 Added test for Alt-Tab key using "string" specification of keyset,
4351 and modified one of the tests to use a keycode-based keyset.
4352 Thus this test both tests and demonstrates the creation and use of
4353 keysets of three forms: specified via keycode array,
4354 keysym array, and string array. (The string case only contains a
4355 single string, i.e. a string array of length 1).
4358 Turned on PRINT_TREE option by default. Also fixed a
4359 string-freeing bug in the PRINT_TREE code.
4360 Added a listener to window:minimize events.
4362 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4364 * atk-bridge/bridge.c:
4365 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4366 for window:activate and window:deactiveate
4367 (atk_bridge_property_event_listener atk_bridge_signal_listener
4368 atk_bridge_window_event_listener) Tidy debug code
4370 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4372 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4373 Fixed handling for NULL return value from ATK.
4375 * libspi/action.c libspi/component.c libspi/editabletext.
4376 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4377 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4378 Removed redundant casts.
4380 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4381 Fixed off by one bug.
4383 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4384 function not present in idl)
4386 2002-05-02 jacob berkman <jacob@ximian.com>
4388 * atk-bridge/Makefile.am: make atk-bridge a real module
4390 2002-04-26 Radek Doulik <rodo@ximian.com>
4392 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4393 atk_state_types table
4395 2002-04-22 jacob berkman <jacob@ximian.com>
4398 * libspi/Makefile.am: add deps on the built files to help
4399 automake, and don't version the ORBit typelib
4401 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4403 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4404 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4405 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4406 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4407 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4408 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4409 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4410 libspi/accessible.h libspi/accessible.h libspi/base.h
4411 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4412 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4413 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4414 libspi/spi-private.h libspi/statetset.h libspi/table.h
4415 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4416 util/mag_client.h util/mag_control.c util/mag_image.c
4417 util/mag_image.h util/magnifier.c util/magnifier.h:
4418 Add missing file headers; standardize existing ones
4420 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4422 * atk-bridge/bridge.c: Added window event support.
4424 2002-04-18 Michael Meeks <michael@ximian.com>
4426 * libspi/relation.c (impl_getNTargets): impl.
4427 (impl_getTarget): impl.
4429 * libspi/Makefile.am: fix stateset install.
4431 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4434 Started putting useful info in this file.
4436 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4438 * atk-bridge/bridge.c:
4439 Propagate state-changed notifications to ATs
4441 * cspi/spi_registry.c: update docs to reflect actual behavior of
4442 state-change events.
4444 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4447 Incremented version to 0.12.1
4449 * util/mag_client.h:
4450 Add missing declaration for magnifier_exit,
4451 used by mag_control.c - Forte compiler didn't like
4452 the implicit redeclaration of the function :-(
4455 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4458 Revved version to 0.12 due to API change (see below).
4460 * cspi/spi-roletypes.h:
4461 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4462 definition from the inline docs, and added docs
4463 for SPI_ROLE_LAST_DEFINED.
4466 * cspi/spi_streamablecontent.c:
4467 Added missing seek_type parameter to
4468 (so far unused) method,
4469 AccessibleStreamableContent_seek().
4470 [ RT approval JodyG. ]
4473 Fixed docs for SPI_createAccessibleKeystrokeListener.
4475 * cspi/spi_registry.c:
4476 Fixed docs for SPI_KEYSET_ALL_KEYS.
4478 * docs/reference/cspi/at-spi-cspi-sections.txt:
4479 Added a number of missing APIs to SECTIONS.
4481 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4483 * registryd/Makefile.am:
4485 * cspi/bonobo/Makefile.am:
4486 Add $(X_LIBS) to makefiles.
4488 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4491 Revved version to 0.11.
4493 * libspi/component.c:
4494 Added implementation for grabFocus.
4496 * idl/Accessibility_Component.idl
4497 (Accessibility_Component_grabFocus):
4498 Made this method return boolean to indicate success or failure, to
4499 be consistent with cspi and the corresponding ATK method.
4501 * idl/Accessibility_Selection.idl
4502 (Accessibility_Selection_selectAll) :
4503 Made these methods return boolean to indicate success or
4504 failure, to be consistent with cspi and the corresponding ATK methods.
4506 * idl/Accessibility_EditableText.idl
4507 (Accessibility_EditableText_setTextContents,
4508 Accessibility_EditableText_insertText,
4509 Accessibility_EditableText_cutText,
4510 Accessibility_EditableText_deleteText,
4511 Accessibility_EditableText_pasteText):
4512 Made these methods return boolean to indicate
4515 * cspi/spi_editabletext.c:
4516 Made these methods return booleans.
4518 * libspi/selection.c:
4519 * libspi/component.c:
4520 * libspi/editabletext.c:
4521 Connected the boolean returns from ATK
4522 to the server-side code referenced above.
4524 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4526 * idl/Accessibility_Table.idl: Added missing methods,
4527 Accessibility_Table_addRowSelection,
4528 Accessibility_Table_addColumnSelection,
4529 Accessibility_Table_removeRowSelection,
4530 Accessibility_Table_removeColumnSelection.
4533 Added C wrappers for above IDL:
4534 AccessibleTable_addRowSelection,
4535 AccessibleTable_addColumnSelection,
4536 AccessibleTable_removeRowSelection,
4537 AccessibleTable_removeColumnSelection.
4540 Added server-side implementation code for IDL above, connecting
4541 to pre-existing ATK api.
4543 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4545 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4547 * libspi/accessible.c: Added implementation fo
4548 Accessibility_Accessible_get_state.
4550 * libspi/libspi.h: Added stateset.h to the list of includes.
4552 * libspi/stateset.c: Fixed broken implementation.
4554 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4557 Added implementation code for Accessibility_Magnifier_exit ().
4559 * util/mag_control.c:
4560 Added test code for above method; you can
4561 now kill an existing magnifier via
4562 ./mag_control q, from the util directory.
4564 * test/key-listener-test.c:
4566 Added a new test, for our key listener API.
4568 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4570 * test/app.c, test/keysynth-demo.c:
4572 Replace use of snprintf with g_snprintf.
4573 (fix for bugzilla 78249)
4575 2002-03-27 Michael Meeks <michael@ximian.com>
4579 * util/Makefile.am (INCLUDES): fix.
4580 (DONT_DIST_SOURCE): don't distribute the
4583 * libspi/Makefile.am (dist-hook): ditto.
4585 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4587 * libspi/hypertext.c:
4588 Fix warnings when yelp is used with atk-bridge
4590 2002-03-21 Michael Meeks <michael@ximian.com>
4592 * libspi/application.c (spi_application_new):
4593 use spi_accessible_construct so we use the AtkObject
4596 2002-03-19 Michael Meeks <michael@ximian.com>
4598 * registryd/registry.c (desktop_remove_application),
4599 (desktop_add_application): clean coding style.
4601 * registryd/desktop.c (spi_desktop_remove_application),
4602 (spi_desktop_add_application): kill re-enterency hazards.
4603 (spi_desktop_dispose): remove bogus redundant cast
4604 obscuring bug; fix bug too.
4605 (spi_desktop_init): make the desktop object immortal.
4607 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4610 Added a #define-guarded tree-traversal step
4611 when enumerating the apps (diagnostic tool).
4613 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4615 * idl/Accessibility_Role.idl:
4616 Added ROLE_DRAWING_AREA which seemed to be missing from the
4619 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4621 * cspi/spi-roletypes.h cspi/spi_accessible.c
4622 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4625 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4626 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4627 AT when applications are added and removed from the desktop. This
4628 reverts the previous broken implementation using the backing
4629 AtkObject for the SpiDesktop.
4631 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4633 * registryd/desktop.c: emit the "children-changed::add" and
4634 "children-changed::remove" signals on the backing ATK object for
4635 the desktop so AT can tell when applications are started and shut
4638 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4640 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4642 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4644 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4646 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4648 * cspi/state-types.h: synched with IDL and ATK
4650 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4652 * libspi/accessible.c
4653 (impl_accessibility_accessible_get_child_at_index):
4654 Change return value for g_return_if_fail ()
4655 to CORBA_OBJECT_NIL instead of "0" (!)
4657 * registryd/Makefile.am:
4658 * registryd/Accessibility_Register.server.in:
4659 Changed name of executable, "registryd",
4660 to something more informative:
4663 2002-03-13 Michael Meeks <michael@ximian.com>
4665 * atk-bridge/bridge.c (atk_bridge_init): don't register
4666 if we're in a bonobo-component, rather than a bonobo app.
4668 2002-03-13 Michael Meeks <michael@ximian.com>
4670 * atk-bridge/bridge.c (gtk_module_init): split
4671 out body to (atk_bridge_init): here, since otherwise
4672 we get symbol conflicts and oddness when invoked
4673 from (gnome_accessibility_module_init): here (upd.)
4675 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4678 New file. Explicitly allow "build sheriff" putbacks provided
4679 they are tested on Solaris.
4681 * docs/reference/cspi/Makefile.am:
4682 Added '-' to the "cp" command for index.sgml.
4683 ("patch by thomasvs, soon coming to a GUADEC near you")
4686 Incremented version number (0.9.0) for new release.
4687 Changed macro that checks for popt, to better detect
4688 obsolete versions of popt.
4691 Added X_LIBS to AC_SUBST, for applications
4692 that call Xlib API directly.
4695 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4698 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4701 Fix regression caused by hard-coding major
4702 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4705 * test/test-simple.c (test_editable_text),
4706 (test_test): revert previous change (error was
4707 a regression in gail which is now fixed).
4709 2002-03-04 Michael Meeks <michael@ximian.com>
4711 * test/test-simple.c (test_editable_text),
4712 (test_text): pass G_MAXINT instead of '-1' for
4713 whole string - is this a good thing !?
4715 * cspi/spi_accessible.c
4716 (Accessible_getRelationSet): fix crasher bug
4717 overwriting the end of the array.
4719 * test/test-simple.c (validate_accessible): free,
4720 not g_free returned relation set.
4722 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4724 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4725 implemented stateset support
4727 * idl/Accessibility_State.idl: Made necessary changes to
4728 the IDL to support state sets.
4730 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4732 * registryd/deviceeventcontroller.c:
4733 Added implementation for generateMouseEvent.
4735 * cspi/spi_registry.c:
4736 Connected new implementation for generateMouseEvent
4739 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4742 Incremented revision (but no change in public API
4743 outside of 'utils', which are not installed public yet.)
4745 * libspi/component.c:
4746 Changed to use atk_component API for layers and
4747 mdi_zorder, instead of deprecated atk_object API.
4749 Magnification Utility Enhancements:
4752 Added implementation of createZoomRegion, clearAllZoomRegions,
4753 resizeZoomRegion. Added new commandline argument
4754 "--no-initial-region". Note that clearAllZoomRegions doesn't
4755 unmap the old '0' region as it should (yet), and the other
4756 methods only work when creating/resizing a single region,
4757 which is "region 0".
4758 (Code for multiple region support will be added later.)
4761 Now we raise the magnifier window each time it's refreshed;
4762 this will help keep it on top.
4764 * util/mag_client.h:
4765 Added simple wrappers for above, used by mag_control.
4766 For general use, it's recommended to use the bonobo magnifier
4767 control API directly instead of using these wrappers.
4770 Moved ZoomRegionData from magnifier.c to this file.
4772 * util/mag_control.c:
4773 Added some code to exercise new IDL implementations.
4775 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4777 * libspi/text.c: Provide implementation for getAttributes.
4779 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4782 Incremented revision.
4784 * test/test-simple.c:
4785 Replaced use of deprecated g_main_iteration with
4786 g_main_context_iteration.
4788 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4791 Incremented revision for desktop alpha 2.
4793 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4795 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4798 * test/simple-at.c: include netinet/in.h.
4800 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4802 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4803 use NULL, not CORBA_OBJECT_NIL.
4805 * libspi/accessible.c:
4806 (impl_accessibility_accessible_get_relation_set):
4807 allocate the sequence correctly.
4809 * libspi/remoteobject.h: kill spi_remote_object_new.
4811 * test/test-simple.c: (validate_accessible): add code
4812 to test relation sets, now all we need is to figure
4813 out how to excercise this code path :/
4815 2002-01-18 Michael Meeks <michael@ximian.com>
4817 * test/test-simple.c
4818 (key_listener_cb): consume the key.
4819 (test_keylisteners): update.
4820 (main): wait for any pending unrefs on events.
4822 * registryd/deviceeventcontroller.c
4823 (spi_controller_update_key_grabs): only re-issue the
4824 grab on a key release.
4825 (spi_device_event_controller_forward_key_event):
4826 refresh the keygrabs before we notify the listeners,
4827 to reduce the X ungrab / re-grab race.
4828 (spi_controller_register_with_devices): remove
4829 XSelectInput - we do that with the gdk_window_ call.
4830 (_spi_controller_device_error_handler): return a value.
4831 s/GDK_DISPLAY/spi_get_display/
4833 2002-01-17 Michael Meeks <michael@ximian.com>
4835 * registryd/deviceeventcontroller.c
4836 (_deregister_keygrab): don't blow out the later
4839 * test/test-simple.c (test_keylisteners): do a
4840 more intelligent validation.
4842 2002-01-14 Michael Meeks <michael@ximian.com>
4844 * atk-bridge/bridge.c
4845 (gnome_accessibility_module_init),
4846 (gnome_accessibility_module_shutdown): impl.
4847 (gtk_module_init): protect vs. double inits.
4848 (add_signal_listener): impl.
4849 (spi_atk_bridge_state_event_listener): kill
4850 (deregister_application): split out of
4851 (spi_atk_bridge_exit_func): here.
4853 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4856 Added caret tracking when using magnifier, and
4857 now use text bounds for focus tracking of text elements, rather than
4858 the component bounds - this is helpful for short text fields in long
4859 table cells, at high magnification.
4861 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4863 * registryd/deviceeventcontroller.c:
4864 Regression fix for keylistener de-registration; global keygrabs
4865 were not being released when deregisterKeystrokeListener was
4866 called in cspi, since
4867 Accessibility_DeviceEventController_deregisterKeystrokeListener
4868 was called with a zero-length keyset. That is because the cspi
4869 method, SPI_deregisterKeystrokeListener, does not take a keyset
4870 parameter but instead should remove all the key grabs held be a
4872 The code in impl_deregister_keystroke_listener was changed to copy
4873 the keylist from the listener instance previously registered with
4874 the DeviceEventController before releasing the grabs.
4876 * registryd/registry.c:
4877 * registryd/deviceeventcontroller.c:
4878 * libspi/spi-private.h:
4880 Changed spelling of "re-enterant" to "re-entrant" globally.
4882 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4884 * test/test-simple.c:
4885 Changed key listeners test - the test was slightly mis-using the
4886 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4887 It now uses '=' as the key event listened to and generated,
4888 relying on a keysym match rather than assuming that keycode 33
4889 is always equal to keysym '!'.
4891 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4894 Changed simple-at to use a specific keyset, rather than
4895 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4896 manager, desktop, etc.
4898 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4900 * registryd/deviceeventcontroller.c:
4901 Replaced standard X error handler with a special handler that
4902 is non-fatal for failed keygrabs. This works around
4903 problems with keygrab clashes sometimes observed on
4905 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4906 mouse handling code as yet).
4908 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4911 Incremented revision for desktop alpha release.
4914 Fixed a couple of the more glaring errors (still not
4917 2002-01-11 Michael Meeks <michael@ximian.com>
4919 * registryd/deviceeventcontroller.c
4920 (spi_device_event_controller_forward_key_event): kill
4921 XUngrabKey / XKeyGrab race.
4922 (spi_controller_grab_keyboard): rename to
4923 (spi_controller_update_key_grabs): this, and deal
4924 with incremental adding / removing grabs more
4926 (_register_keygrab): ensure we're not pending a remove.
4927 (spi_grab_mask_free): impl.
4928 (spi_controller_register_global_keygrabs): split out
4930 (handle_keygrab): impl.
4931 (_deregister_keygrab): impl.
4932 (spi_controller_deregister_global_keygrabs): impl.
4933 (spi_controller_update_key_grabs): re-issue the grab if
4934 we just recieved a notification.
4936 * test/test-simple.c (key_listener_cb): remove debug.
4938 * registryd/deviceeventcontroller.c
4939 (spi_controller_register_device_listener): after
4940 registering a global keygrab, actualy register it !
4941 don't wait for a timeout; doh !
4943 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4944 to make it more readable / manipulable.
4945 s/grabmask/grab_mask/ s/refcount/ref_count/
4946 s/keyval/key_val/ s/modmask/mod_mask
4948 2002-01-08 Michael Meeks <michael@ximian.com>
4950 * registryd/deviceeventcontroller.c
4951 (spi_controller_register_with_devices): use gdk calls to
4953 (global_filter_fn): implement the filter.
4954 (spi_device_event_controller_check_key_event): rename to
4955 (spi_device_event_controller_forward_key_event): this & upd.
4956 (spi_get_display): replace with GDK_DISPLAY.
4958 * registryd/deviceeventcontroller.c
4959 (spi_controller_deregister_device_listener): unroll into
4960 (impl_deregister_keystroke_listener): here to simplify.
4961 (spi_controller_register_global_keygrabs): split cut and
4962 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4963 (spi_controller_deregister_device_listener): remove.
4964 (impl_register_mouse_listener): remove, no mouse listener
4965 support in at-spi-1.0
4967 * registryd/registry.c
4968 (_device_event_controller_hook): kill.
4969 (spi_registry_init): upd.
4971 * registryd/deviceeventcontroller.c
4972 (spi_device_event_controller_class_init): upd.
4973 (spi_check_key_event): merge into.
4974 (spi_device_event_controller_check_key_event):
4975 here and kill strange static ev init, don't leak
4976 the x_event - nor dynamicaly allocate it.
4978 * registryd/registry-main.c (main): re-direct
4979 timeout to remove strange vtable mess.
4981 * registryd/deviceeventcontroller.c
4982 (remove_listener_cb): impl.
4983 (spi_controller_deregister_device_listener):
4984 fix re-enterancy hazard.
4986 2002-01-07 Michael Meeks <michael@ximian.com>
4988 * registryd/deviceeventcontroller.c
4989 (spi_device_event_controller_new): upd.
4990 (impl_notify_listeners_sync): upd. debug.
4991 (spi_notify_keylisteners): fix re-enterancy hazards,
4992 prettify, remove O(n*n) iteration.
4993 (spi_controller_grab_keyboard): fix iteration.
4994 (spi_check_key_event): re-format to suit coding style.
4995 Clean all the warnings - we're warning free.
4997 * registryd/deviceeventcontroller.h:
4998 * registryd/registry.h: make mutualy referential with
4999 typesafe forward references instead of (!) void pointer
5002 2002-01-11 Michael Meeks <michael@ximian.com>
5004 * cspi/spi_accessible.c (role_names): add a role name
5005 to sync this array with the enum; and make the regression
5008 2002-01-10 Michael Meeks <michael@ximian.com>
5010 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5011 allow expansion of enumeration & kill warning.
5013 * test/test-simple.c (key_listener_cb): impl.
5014 (test_keylisteners): impl.
5016 * cspi/spi-listener.h: make listener signatures const
5017 on the provided (const) events.
5019 * test/keysynth-demo.c: upd. to const events.
5021 * test/simple-at.c: ditto.
5023 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5026 Rev the version to 0.5 (the previous tarball was named 0.4,
5027 even though the micro number was 3), so we need to rev upwards
5028 again for beta2/"desktop-alpha"
5031 Checked in a demo script, which requires editing before use!
5032 Proceed with caution.
5035 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5037 * cspi/spi_accessible.c:
5038 Add a couple of missing enum initializations, and fix some enum
5041 * cspi/spi_registry.c:
5042 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5044 * docs/reference/cspi/at-spi-cspi-sections.txt:
5045 Remove/fix a couple of broken document references.
5048 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5049 as Alt-Control to listen for commands, since on some systems
5050 Control-Alt may already be grabbed.
5052 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5055 Update version number to 0.4 for Beta2.
5057 * libspi/accessible.c, libspi/accessible.h:
5058 Expose spi_accessible_construct, to enable libgail-gnome
5059 construction from spi_accessible subtype.
5061 * utils/magnifier.c:
5062 Workaround for bug in some non-gnome-compliant window managers
5063 which made magnifier resize improperly.
5065 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5067 * libspi/accessible.c: (spi_accessible_new) :
5068 Move the test for SPI_IS_REMOTE_OBJECT to
5069 spi_accessible_new_return, fixing a bug and compile time warning.
5071 2002-01-08 Michael Meeks <michael@ximian.com>
5073 * registryd/registry.c (parse_event_type): remove strndup.
5075 * libspi/Makefile.am (libspi_la_SOURCES): remove
5076 sources already included in the headers section.
5078 * libspi/util.c: add.
5080 * libspi/spi-private.h: add.
5082 * registryd/registry.c: update to moved list iterators.
5084 2002-01-05 Michael Meeks <michael@ximian.com>
5086 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5088 * test/test-simple.c (main): ditto.
5090 2002-01-04 Michael Meeks <michael@ximian.com>
5092 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5093 redundant construct.
5095 * registryd/registry.c
5096 (get_listener_list): impl.
5097 (impl_accessibility_registry_register_global_event_listener):
5098 re-impl. to simplify using ~, remove dodgy const cast off.
5099 (parse_event_type): constify.
5100 (impl_accessibility_registry_deregister_global_event_listener_all):
5101 re-write, more efficiency and simplicity, kill re-enterancy
5103 (compare_listener_corbaref, compare_corba_objects),
5104 (compare_listener_quarks): define out.
5105 (impl_accessibility_registry_deregister_global_event_listener):
5106 re-write for effiency, and nail re-enterancy hazard.
5107 (impl_accessibility_registry_get_desktop_list): impl.
5108 (re_enterant_list_delete_link): impl.
5109 (re_enterant_list_foreach): impl.
5110 (remove_listener_cb): impl.
5111 (_registry_notify_listeners): kill.
5112 (notify_listeners_cb): impl.
5114 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5115 (SPI_getDesktopList): impl.
5117 * test/test-simple.c (test_desktop): test the methods.
5119 2002-01-03 Michael Meeks <michael@ximian.com>
5121 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5122 keystrings since we free them
5123 (SPI_freeAccessibleKeySet): in here.
5125 * libspi/accessible.c (spi_accessible_new): kill warning,
5126 wonder what is going on with the constructor here.
5128 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5130 * libspi/accessible.c (spi_accessible_new ()) :
5131 Added check to see if AtkObject is an SpiRemoteObject before
5132 creating an SpiAccessible.
5134 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5136 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5137 Enable keygrabs using the Control modifier, now that they are
5138 working properly (they were previously disabled).
5141 Change the command keygrab for this demo to "Control+Alt", so as
5142 to conflict with fewer other key commands on the system; this
5143 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5145 Removed a pointlessly-chatty keylistener for unshifted keys
5146 (shifted keys are still reported).
5148 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5150 * libspi/remoteobject.h:
5151 * libspi/remoteobject.c:
5152 Added definitions for special AtkObject subtype, required for
5153 support of remote components (specifically, used by BonoboControl
5154 accessibility implementation).
5156 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5158 * cspi/spi.h: synched relation types with ATK
5160 * cspi/spi_accessible.c: Added implementations of
5161 AcccessibleRelation_* methods
5163 * idl/Accessibility_Relation.idl: added getRelationTypeName
5164 method. Synched known relation types with ATK. Allowed for
5165 relation type extension with the RELATION_EXTENDED type.
5167 * libspi/relation.c: Provided implementations for
5168 AccessibleRelation methods.
5170 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5172 API tweaks for today's API 'freeze'.
5175 Added placeholder functions to allow future compatible expansion
5176 of the IDL interfaces.
5178 * idl/Accessibility_Registry.idl:
5179 Changed generateKeyEvent to generateKeyboardEvent. Changed
5180 signature of this method to accept an optional keystring in
5181 parameter (for complex text input synthesis) and changed use of
5182 simple 'boolean' parameter in registerKeystrokeListener to a
5183 struct, EventListenerMode.
5185 * cspi/spi_accessible.c:
5187 * cspi/spi_streamablecontent.c:
5188 Added references to AccessibleStreamableContent interface, and
5189 definition and implementation of AccessibleStreamableContent
5192 * cspi/spi_registry.c:
5194 Changed generateKeyEvent API to generateKeyboardEvent,
5195 taking a new (optional) keystring parameter to support complex
5200 Renamed directory (to better reflect its actual purpose, bridging
5201 from at-spi to ATK). The .so module is also now named
5204 * idl/Accessibility_Hypertext.idl:
5205 * libspi/accessible.c:
5206 * libspi/hypertext.h:
5207 * libspi/hypertext.c:
5208 Changed Accessibility_Hypertext to *not* derive from
5211 * cspi/spi_registry.c:
5212 Added list of legal event type names for 'window' events, which
5213 completes the registry event API.
5215 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5217 * at-bridge/bridge.c: Added registration for separate
5218 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5219 signals. If either of the first two parameters to the generic
5220 bridge signal handler are ints, they are passed on as event
5221 details. This allows an AT to determine what text was inserted.
5223 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5225 * registryd/deviceeventcontroller.c:
5226 Fixed regressions in generateKeyEvent caused by the removal of
5227 gdk_init from registryd; we now use pure X calls to connect to the
5228 display, which makes sense because deviceeventcontroller already
5229 uses a fair bit of X API (should eventually be migrated to a
5230 'portability layer').
5232 * registryd/desktop.c:
5233 Fixed minor regression in spi_desktop_init, changed the way the
5234 desktop name is being set to work with new spi_base API
5235 (gobject-based, rather than AtkObject-based).
5237 * registryd/Makefile.am:
5238 Minor revision of makefile to use XTST_LIBS variable rather than
5239 hard-wiring the Xtst LD_ADD element.
5241 * test/keysynth-demo.c:
5242 Tweaked an output message; added initialization of the
5243 'keystrings' member of the "switch listener" key_set.
5245 * libspi/relation.c:
5246 Squashed compile-time warning.
5248 * libspi/accessible.c:
5249 Cosmetic and formatting fixes, renamed a static method.
5251 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5253 * libspi/accessible.c
5255 * libspi/application.c
5258 * libspi/component.c
5259 * libspi/editabletext.c
5260 * libspi/hyperlink.c
5261 * libspi/hypertext.c
5263 * libspi/selection.c
5267 * registryd/desktop.c:
5268 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5270 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5272 * idl/Accessibility_Registry.idl:
5273 Added boolean member 'is_text' to DeviceEvent. This is for the
5274 use of key events, and helps prevent ambiguity between composed
5275 key strings and keysym names, since both may potentially be
5276 returned in the 'event_string' member.
5278 * at-bridge/bridge.c:
5279 * registryd/deviceeventcontroller.c:
5280 Use the 'is_text' member when notifying device event listeners.
5281 Knon issue: composed characters are not dealt with correctly by
5282 the global key listener implementation yet.
5284 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5286 * at-bridge/bridge.c:
5287 Namespaced local static methods to spi_atk_bridge_* where
5288 previously named bridge_*, and spi_* elsewhere.
5290 * at-bridge/bridge.c:
5291 * cspi/bonobo/cspi-bonobo-listener.c:
5292 Added demarshalling/conversion for string member of
5293 Accessibility_DeviceEvent to AccessibleKeystroke.
5295 * registryd/deviceeventcontroller.c:
5296 Added code to fill the Accessibility_DeviceEvent key string value
5297 member for global key events (i.e. from XGrabKey), to match
5298 behavior of Accessibility_DeviceEvent from the toolkit key events
5299 from the bridge. Fixed timestamp in global key event notifications.
5302 Added printout of key event's string value to
5303 report_ordinary_key_event, for demo/debugging purposes.
5305 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5307 * idl/Accessibility_Registry.idl:
5308 Removed Accessibility_KeyStroke structure in favor of generic
5309 Accessibility_DeviceEvent structure.
5310 Changed Accessibility_ControllerEventMask from a struct to an
5313 * at-bridge/bridge.c:
5314 Changed APIs to use DeviceEvent structure as above, and removed
5315 bogus casting between these event structures.
5317 * cspi/spi-listener.h:
5318 Added keystring member of AccessibleKeystroke structure, to enable
5319 matching on event "names" rather than only hardware codes and
5323 Added keystrings member of AccessibleKeySet struct, to allow
5324 matching on event names (as above).
5325 Added declarations for SPI_createAccessibleKeySet and
5326 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5327 event modmasks directly as unsigned ints rather than structs with
5328 refcounts, in the DeviceEventController methods.
5330 * cspi/spi_registry.c:
5331 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5333 * cspi/spi-roletypes.h:
5334 Added documentation of newly added SPI Roles.
5336 * cspi/bonobo/cspi-bonobo-listener.c:
5337 Changes in support of API changes above.
5339 * libspi/accessible.c:
5340 Converted APIs to use DeviceEvent structure (see IDL changes
5343 * registryd/deviceeventcontroller.c:
5344 Added DEControllerGrabMask structure to track keygrabs not only by
5345 modmask but by keyset as well; this allows us to do "global"
5346 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5347 grabbing on AnyKey and then filtering after-the-fact.
5348 Bugfixes for event filtration mean that we don't get false matches
5349 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5351 * registryd/deviceeventcontroller.c:
5352 Namespaced a number of static methods to use spi_ prefix. Major
5353 revision to internals of global (i.e. X) key grabs.
5355 * registryd/deviceeventcontroller.h:
5356 Removed keymask_list and added keygrabs_list to
5357 SpiDeviceEventController struct.
5360 Added use of SPI_createAccessibleKeySet API when creating a
5361 listener for only one key. Attach a listener to "shift spacebar
5362 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5363 X key event names to SPI key event names, so that listeners are
5364 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5366 * test/keysynth-demo.c:
5367 Changed (incorrect) use of X key event names (KeyPressed,
5368 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5371 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5373 * libspi/accessible.c:
5374 Convert all AtkRole enumerations to Accessibility_Role enums when
5375 getting a role from an AtkObject.
5377 * cspi/spi_accessible.c:
5378 Complete the conversion of Accessibility_Role enums at runtime to
5379 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5380 role enums correctly match those given in spi-roletypes.h.
5381 Re-synchronize the local names list for AccessibleRole_getName ().
5382 AccessibleRole_getName is now deprecated, since it duplicates the
5383 more reliable Accessible_getRoleName.
5384 Added some role types from Accessibility_Role.idl.
5386 * idl/Accessibility_Role.idl:
5387 Added some role types used by AtkRole.
5389 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5392 * cspi/spi_registry.c:
5394 * cspi/cspi-bonobo-listener.c:
5395 Namespaced all methods that did not begin with an "SPI_" or
5396 "Accessible" prefix to "SPI_".
5399 Homogenized internal function namespace to "cspi_" for statics.
5402 Patched tests to use the new CSPI API.
5404 * docs/reference/cspi/at-spi-cspi-sections.txt:
5405 Updated docs to reflect namespace changes, and added a number of
5406 methods to the documentation.
5408 * registryd/registry.c:
5409 Changed use of strings and string hashes in listener event
5410 matching and parse_event_string to use GQuark, which is guaranteed
5413 * registryd/registry.h:
5414 Squashed annoying warning.
5416 * idl/Accessibility_Role.idl:
5417 Extended range of available Accessibility_Role values.
5419 * cspi/spi_accessible.c:
5420 Re-ordered role names.
5422 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5424 * idl/Accessibility_Value.idl:
5425 Revert use of union back to CORBA_double, since the double type is
5426 more efficient and can contain the other types without loss of
5429 * idl/Accessibility_Accessible.idl:
5430 Added method Accessibility:Accessible:getRoleName, to complement
5431 Accessibility:Accessible:getRole.
5433 * cspi/spi_accessible.c:
5435 Added C binding for above, Accessible_getRoleName (), and changed
5436 signature of Accessible_getRole () to return an AccessibleRole.
5438 * cspi/spi-roletypes.h:
5439 Changed AccessibleRole_getName to return a char * instead of a
5440 const char *. This method is now at least temporarily deprecated
5441 in favor of asking Accessibles for their RoleNames directly.
5444 Revert to match Accessibility_Value.idl;
5448 Change signature of AccessibleValue methods to use double rather
5452 * cspi/spi_accessible.c:
5453 Changed Accessible_getRole to return an AccessibleRole enum rather
5454 than a UTF-8 string. The UTF-8 string can still be obtained via
5455 AccessibleRole_getName ().
5457 * test/test-simple.c:
5458 Add test_action. Small fixup to match API change to Accessible_getRole.
5461 Bugfix for get_action_from_servant ().
5463 2001-12-11 Michael Meeks <michael@ximian.com>
5465 * libspi/libspi.h: remove registry.h and
5466 desktop.h, deviceeventcontroller.h
5468 * libspi/Makefile.am: remove registry.[ch],
5469 desktop.[ch], deviceeventcontroller.[ch]
5471 * registryd/Makefile.am: add registry.[ch],
5472 desktop.[ch], rename registryd.c to registry-main.c.
5473 add deviceeventcontroller.[ch]
5475 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5478 Replace setenv() call with putenv ().
5480 * libspi/component.c:
5481 Bugfix in AccessibleComponent_getExtents (),
5484 2001-12-11 Michael Meeks <michael@ximian.com>
5486 * libspi/image.c (impl_getImageExtents): impl.
5487 (spi_image_class_init): upd.
5490 (AccessibleImage_getImageDescription): fix daft bug
5493 * test/test-simple.c (global_listener_cb): update
5494 to only quit if not --poke
5495 (main): catch --poke.
5496 (validate_accessible): upd. dumping, call test_image
5499 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5502 * idl/Accessibility.idl: update all IDL includes.
5504 * idl/*.idl - rename to namespace - this sucks, blame
5505 mjs' bad decision for oafd.
5507 * test/test-simple.c (create_test_window): add more tests.
5508 (create_tree): split this out.
5509 (validate_accessible): bugfix.
5511 2001-12-11 Michael Meeks <michael@ximian.com>
5513 * cspi/bonobo/cspi-bonobo-listener.c:
5514 (cspi_kestroke_listener_unref),
5515 (cspi_event_listener_unref): impl. undoing previous
5516 homenous environment - for Bill.
5518 * cspi/spi_table.c (long_seq_to_array): use
5521 * cspi/spi_main.c: split out all bonoboish bits into
5524 * cspi/spi-impl.h: upd. typedefs.
5526 * cspi/spi_registry.c: update to lowlevel API,
5527 return booleans to indicate success in some places.
5529 * cspi/spi_event.c: update to lowlevel API.
5531 * cspi/bonobo/Makefile.am: add.
5533 * cspi/bonobo/cspi-lowlevel.h: add
5535 * cspi/bonobo/cspi-bonobo.c: add
5537 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5539 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5540 (SUBDIRS): add bonobo, link in the libs.
5542 * cspi/spi-util.c: kill this file.
5544 * TODO: merge in my bits.
5546 2001-12-11 Michael Meeks <michael@ximian.com>
5548 * test/test-simple.c (test_value, test_table, main):
5549 remove unused variables causing warnings.
5551 * configure.in: cleanup checks - require gail.
5553 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5556 Changed Value interface to use SValue (scalars) rather than
5557 assuming all values are floats. This allows floats, doubles,
5558 longs, shorts, and unsigned values to be manipulated.
5559 Introduced Accessibility:SValue union.
5562 Updated to use new API above, and to work correctly with GValues
5563 of different types in AtkValue.
5566 Updated to use new API above. cspi's API is as yet unchanged.
5569 Updated the Value revision action item.
5571 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5573 * test/test-simple.c:
5574 Added test_table (GtkTreeView widget in test window to follow).
5575 Un-commented test_value, added GtkRange widget.
5576 Added GtkTreeView widget with GtkListStore. It passes regression
5577 test but leaks one SPI object for some reason.
5580 Fixed bug in impl__set_currentValue.
5582 2001-12-10 Michael Meeks <michael@ximian.com>
5584 * cspi/spi_text.c: audit for exception handling,
5585 tolerating NULL object references safely etc.
5587 * cspi/spi_value.c: ditto.
5589 * cspi/spi_table.c (AccessibleTable_getSummary),
5590 (AccessibleTable_getAccessibleAt),
5591 (AccessibleTable_getRowHeader),
5592 (AccessibleTable_getColumnHeader),
5593 (AccessibleTable_getCaption): fix bugs hidden by
5595 (long_seq_to_array): impl.
5596 (AccessibleTable_getSelectedRows),
5597 (AccessibleTable_getSelectedColumns): use it.
5599 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5602 Added a TODO list (rough and short for now).
5604 * cspi/spi_hyperlink.c:
5605 * cspi/spi_hypertext.c:
5606 Fixed macro name typos, and remove use of obsolete macro in
5607 AccessibleHyperlink_getLink.
5609 * cspi/spi_action.c:
5610 * cspi/spi_accessible.c:
5611 * cspi/spi_application.c:
5612 * cspi/spi_component.c:
5613 * cspi/spi_selection.c:
5616 Documentation fixes (removed return values from ref/unref methods).
5618 2001-12-10 Michael Meeks <michael@ximian.com>
5620 * cspi/spi_action.c: audit for exception handling,
5621 tolerating NULL object references safely etc.
5623 * cspi/spi_accessible.c: ditto.
5625 * cspi/spi_component.c: ditto.
5627 * cspi/spi_editabletext.c: ditto.
5629 * cspi/spi_hyperlink.c: ditto.
5631 * cspi/spi_hypertext.c: ditto.
5633 * cspi/spi_image.c: ditto.
5635 * cspi/spi_selection.c: ditto.
5637 2001-12-10 Michael Meeks <michael@ximian.com>
5639 * configure.in: use cspi/libspi.pc.in instead.
5641 * Makefile.am (pkgconfig_DATA): upd. to match.
5643 * test/simple-at.c (report_focus_event): kill hacks around
5644 bad return values, use putenv not setenv
5646 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5647 fire ChildGone - I killed it.
5649 * libspi/component.c
5650 (impl_accessibility_component_get_extents): remove
5653 * idl/Accessible.idl: kill ChildGone exception.
5655 * cspi/*.[ch]: kill int return from ref / unref.
5657 * cspi/spi_main.c (cspi_object_add_check): fold into
5658 (cspi_object_add): here.
5660 * cspi/spi_component.c (AccessibleComponent_getExtents):
5661 handle exceptions elegantly.
5663 * cspi/spi-private.h (cspi_check_ev_return),
5664 (cspi_return_if_fail): impl.
5666 * cspi/spi_accessible.c: use extensively.
5667 (AccessibleStateSet_equals): add direct compare check.
5669 * cspi/spi_selection.c: tolerate NULL objs, and check
5670 exceptions before return.
5672 * cspi/spi-util.c (cspi_warn_ev): rename to
5673 (cspi_check_ev): this & don't pass ev in; no point.
5675 2001-12-10 Michael Meeks <michael@ximian.com>
5677 * test/test-simple.c: use putenv not setenv
5678 (get_environment_vars): more chatty if you're not using
5681 * test/simple-at.c: do the setenv so more people see the
5684 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5686 * libspi/registry.c:
5687 Changed check of CORBA_environment on notification to be a warning
5688 instead of an error for the moment, since we can recover from this
5689 error when caused by a queued notification from a dead app.
5692 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5693 used by all current implementors of AtkValue), and coerce to
5694 CORBA_float. (Proper general case fix may require change to Value.idl).
5696 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5700 * cspi/spi_accessible.c:
5701 Documentation fixes: added user_data params to documentation for
5702 listeners and callbacks.
5704 * cspi/spi_accessible.c:
5705 Changed AccessibleStateSet_compare to return a
5706 StateSet rather than return the difference set into a third parameter.
5709 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5712 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5713 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5717 Remove subdirectory po from SUBDIRS for now.
5719 * at-bridge/bridge.c:
5720 Beefed up a couple of debug printouts.
5721 One-line fix for signal notification name formatting.
5723 * libspi/accessible.c:
5724 Added assertion to spi_accessible_new ().
5726 * libspi/application.c:
5727 Put #ifdef qualifiers around a printf.
5730 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5732 * registryd/Makefile.am:
5734 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5735 INTLTOOL_SERVER_RULE macro.
5738 Added an event listener for several ATK signals, for
5739 testing and debugging. Removed a few g_warnings.
5740 Added test output if focussed item implements the Value interface.
5742 * test/test-simple.c:
5743 Added test_value () function (known not to pass at the moment, so
5744 not actually called yet.
5746 2001-12-08 Michael Meeks <michael@ximian.com>
5748 * at-bridge/bridge.c (bridge_focus_tracker),
5749 (emit_eventv): fix the same ref. leak.
5750 (register_atk_event_listeners): don't leak.
5752 * cspi/spi-listener-impl.c (cspi_event): more
5753 protection from client code.
5755 * test/test-simple.c (test_desktop): unref the app.
5757 * test/Makefile.am: upd. TESTS.
5759 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5761 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5763 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5765 * cspi/spi_registry.c: constify in strings.
5766 (deregisterGlobalEventListenerAll): don't release the ref.
5768 * cspi/spi.h: start removing redundant / conflicting
5769 gtkdoc comments, making the API readable at a glance :-)
5771 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5773 * test/keysynth-demo.c (keysynth_exit, main): upd.
5775 * test/simple-at.c (main, simple_at_exit): upd.
5777 * test/test-simple.c (unutterable_horror): kill.
5778 (utterable_normal_derefs): kill.
5779 (main): upd & do a setenv before gtk_init, so that we
5780 can use memprof - and to save the pain of remembering
5781 this, if we're running under memprof - don't exit.
5783 * cspi/spi_main.c (SPI_exit): return exit status
5785 (SPI_event_quit): impl.
5786 (SPI_event_main): simplify.
5787 (cspi_is_gnome_app): kill.
5788 (SPI_init): kill isGNOMEapp arg.
5790 * at-bridge/bridge.c (register_atk_event_listeners):
5791 re-instate the unref.
5792 (bridge_exit_func): don't re-activate the registry,
5793 protect vs. theoretical re-entry, use the
5794 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5795 assert a clean shutdown - for regression tests.
5797 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5799 * configure.in: Comment out dummy i18n support for now,
5800 otherwise it fails to build.
5801 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5802 EXTRA_DIST. They are missing in tarball.
5804 2001-12-07 Michael Meeks <michael@ximian.com>
5806 * util/magnifier.c: kill bonobo activation reg. race.
5808 * libspi/component.c
5809 (impl_accessibility_component_get_extents): make it match
5812 * libspi/registry.c (_registry_notify_listeners):
5813 re-remove X headers & reconcile conflicts.
5814 (spi_listener_struct_free): bad conflict resolve.
5815 (impl_accessibility_registry_register_application):
5816 more bad merging fixed.
5817 (impl_accessibility_registry_deregister_application): ditto.
5818 (spi_registry_new): ditto.
5819 (spi_registry_init): don't have an applications field.
5821 [ merge fixups2 branch to here ]
5822 2001-12-07 Michael Meeks <michael@ximian.com>
5824 * test/simple-at.c (report_focus_event),
5825 (report_focussed_accessible): remove g_warning debug.
5827 2001-12-07 Michael Meeks <michael@ximian.com>
5829 * test/test-simple.c (validate_tree): comment out some checks.
5830 (test_desktop): app now not registered idly - horay.
5832 2001-12-07 Michael Meeks <michael@ximian.com>
5834 * cspi/spi_registry.c
5835 (registerAccessibleKeystrokeListener): clean, stop it leaking
5836 great swathes of memory, and device event controller references.
5837 ensure we always pass valid sequences.
5838 (deregisterAccessibleKeystrokeListener): ditto.
5839 (generateKeyEvent): upd.
5841 * at-bridge/bridge.c (bridge_key_listener): handle
5842 registry dead exception gracefully.
5843 (bridge_focus_tracker, emit_eventv): free ev.
5845 * test/simple-at.c (report_focus_event): fix polarity.
5847 * libspi/application.c (notify_listeners): kill the ev
5848 argument, and make sure we init the ev we use.
5849 (spi_application_object_event_listener): split out a chunk
5850 (get_atk_object_ref): here & fixup.
5851 (reverse_lookup_name_for_toolkit_event): make const.
5852 (spi_application_toolkit_event_listener): fixup, kill leaks
5855 * at-bridge/bridge.c (register_atk_event_listeners):
5856 don't unref the noop object - causes grief.
5858 * libspi/registry.c: remove the X headers.
5859 turn off the debug churn.
5861 * libspi/accessible.c (spi_accessible_new_return): only
5862 release the ref if we are supposed to [doh]
5864 * test/simple-at.c (report_button_press, report_focus_event):
5865 guard vs. unexpected exit.
5867 * at-bridge/bridge.c (gtk_module_init): prune printf.
5868 (bridge_exit_func): fix app unref.
5870 * libspi/Makefile.am: don't install registry or desktop.h
5872 * libspi/*.h: update includes.
5874 * libspi/application.h: don't include ourself, or
5875 other redundant headers.
5877 2001-12-06 Michael Meeks <michael@ximian.com>
5879 * libspi/accessible.c
5880 (get_accessible_from_servant): impl.
5881 Upd. all CORBA impl.s to use it killing cut and paste.
5883 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5885 (SPI_init): register atexit cleanup handler here.
5887 2001-12-06 Michael Meeks <michael@ximian.com>
5889 * at-bridge/bridge.c (gtk_module_init): g_error on
5890 activation exception
5892 2001-12-06 Michael Meeks <michael@ximian.com>
5894 * at-bridge/bridge.c (gtk_module_init): some sort of
5895 confusing merge clash - reverted.
5896 (bridge_idle_init): ditto.
5898 * test/test-simple.c (main, utterable_normal_derefs):
5899 merge from Bill - somehow not committed.
5901 2001-12-06 Michael Meeks <michael@ximian.com>
5903 * libspi/value.c (spi_value_class_init): upd.
5904 (spi_value_finalize): kill.
5906 * libspi/table.c (spi_table_finalize): kill.
5907 (spi_table_interface_new): upd.
5908 (spi_table_class_init): upd.
5909 (get_table_from_servant): impl.
5910 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5912 * libspi/selection.c (spi_selection_finalize): kill.
5913 (spi_selection_interface_new): upd.
5914 (spi_selection_class_init): upd.
5915 (get_selection_from_servant): impl.
5916 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5918 * libspi/relation.c (spi_relation_finalize): kill.
5919 (spi_relation_class_init, spi_relation_new): upd
5921 * libspi/image.c (spi_image_finalize): kill.
5922 (spi_image_class_init): upd.
5923 (spi_image_interface_new): upd.
5924 (get_image_from_servant): impl.
5925 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5927 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5928 (spi_hyperlink_finalize): kill.
5929 (spi_hyperlink_new): upd.
5930 (get_hyperlink_from_servant): impl.
5931 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5933 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5934 (spi_hypertext_finalize): kill.
5935 (spi_hypertext_class_init): upd.
5936 (get_hypertext_from_servant): impl.
5937 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5939 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5940 (spi_editable_text_interface_new): upd.
5941 (get_editable_text_from_servant): impl.
5942 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5944 * libspi/text.c (get_text_from_servant): impl.
5945 All impls - update to use it killing more cut and paste,
5946 also fix bad string returns on duff args ( a somewhat
5947 impossible case to handle - but hey ).
5948 (spi_text_construct): impl.
5949 (spi_text_interface_new): upd.
5950 (spi_text_object_finalize): kill.
5952 * libspi/component.c
5953 (accessibility_component_object_finalize): kill.
5954 (spi_component_class_init): upd.
5955 (get_component_from_servant): impl. helper to kill cut & paste.
5956 (impl_accessibility_component_contains):
5957 (impl_accessibility_component_get_accessible_at_point):
5958 (impl_accessibility_component_get_position):
5959 (impl_accessibility_component_get_extents):
5960 (impl_accessibility_component_get_mdi_z_order):
5961 (impl_accessibility_component_get_layer):
5962 (spi_component_interface_new): upd.
5964 * libspi/action.c (spi_action_finalize): kill.
5965 (spi_action_class_init): upd. inherit from SpiObject.
5966 (spi_action_interface_new): upd.
5967 (get_action_from_servant): impl. helper to reduce cut & paste.
5968 (impl_getKeyBinding, impl_getName, impl_doAction),
5969 (impl_getDescription): Use it everywhere.
5971 * cspi/spi_main.c (get_live_refs): a pointer hash.
5972 (spi_object_hash, spi_object_equal): comment out.
5973 There are issues with CORBA object hashing that need
5976 * libspi/application.c (spi_application_init),
5977 (spi_application_new): upd.
5979 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5980 (spi_accessible_class_init): upd.
5981 s/accessible/object/ in epv methods.
5983 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5985 * at-bridge/bridge.c:
5986 Reorder the bridge initialization into the bridge gtk_module_init,
5987 an immediate call to bridge_register_app, and an idle_add for
5988 register_atk_event_listeners (the only code that *must* wait until
5989 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5990 the activation, creates the application's Accessible object, and
5991 queues the bridge_idle_init function. Restored call to
5992 Accessibility_Registry_deregisterApplication().
5993 Prior to making this call we obtain a new reference to the
5994 registry, which is a temporary hack that helps us handle apps that
5995 shut down the bonobo mainloop before we get there.
5997 * libspi/registry.c:
5998 Fix string leakage in debug block, and don't segv if a an app
5999 dies before its event notifications have been propagated.
6002 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6003 as stopgap measure until we get proper exception handling when
6004 objects die during or before interrogation.
6008 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6009 Also changed default value of is_gnome_app to TRUE.
6012 * test/keysynth-demo.c:
6013 Changed use of SPI_init and SPI_event_main to reflect API change above.
6016 Made report_focus_event check the warning value from getName
6017 before reporting on focussed accessible; simplifies handling of
6018 notifications from dead objects.
6020 * test/test-simple.c: (Changes not in this patch since source is
6023 2001-12-05 Michael Meeks <michael@ximian.com>
6025 * registryd/registryd.c (main): protect against
6026 bonobo-activation startup race condition.
6028 * cspi/spi_main.c (cspi_object_add_check): cope
6029 with the exception elegantly.
6031 * idl/Accessible.idl: decl. ChildGone
6033 * libspi/desktop.c (spi_desktop_dispose): impl.
6034 (spi_desktop_class_init): upd.
6035 (spi_desktop_add_application),
6036 (spi_desktop_remove_application),
6037 (abnormal_application_termination): impl.
6038 (impl_desktop_get_child_at_index): re-impl.
6041 (impl_accessibility_registry_deregister_application),
6042 (impl_accessibility_registry_register_application):
6043 kill excessive debug clutter.
6045 * test/test-simple.c (test_misc): test some NULL
6046 tolerance. (main): upd.
6048 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6049 implements no interfaces - so let's not crash.
6051 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6053 * libspi/accessible.c (spi_accessible_new_return): impl.
6054 helper to calm the cut and paste, to cope with
6055 NULL AtkObjects effectively and efficiently, and to kill
6056 the referencing bugs.
6058 * libspi/table.c (impl_getAccessibleAt),
6059 (impl_getRowHeader, impl_getColumnHeader): upd.
6061 * libspi/hyperlink.c (impl_getObject): upd.
6063 * libspi/accessible.c
6064 (impl_accessibility_accessible_get_child_at_index): upd.
6066 * libspi/component.c
6067 (impl_accessibility_component_get_accessible_at_point): upd.
6069 * test/test-simple.c (test_editable_text, test_text): impl.
6072 * cspi/spi_editabletext.c
6073 (AccessibleEditableText_insertText): constify.
6075 * test/test-simple.c (focus_me): make more robust.
6077 * libspi/accessible.c: remove some printfs in methods that
6078 we test and work fine, so we can get a clean tree dump.
6080 * test/test-simple.c (validate_accessible),
6081 (validate_tree): make tree dumping pretty too.
6083 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6084 it builds without debug on.
6086 * test/test-simple.c (validate_accessible): fix the most
6089 * cspi/spi_main.c (spi_object_release): leave the nicely
6090 blanked memory around if in debug mode.
6092 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6094 [committed to fixups2]
6095 2001-12-05 Michael Meeks <michael@ximian.com>
6097 * libspi/editabletext.c
6098 (spi_editable_text_class_init): g_type_class_peek_parent,
6099 not interface peek - so we finalize cleanly.
6101 * libspi/accessible.c (spi_accessible_new): kill debug.
6103 * test/test-simple.c (validate_accessible): fix ref.
6104 leak, print strings before freeing them; sigh, comment a
6105 chunk out due to strangeness.
6106 (validate_tree): unref the child after use.
6108 * cspi/spi_component.c (AccessibleComponent_getLayer):
6109 add missing break statement, switch on zlayer not the
6110 uninitialized retval.
6112 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6113 before (possibly re-entering) remote unref.
6115 * test/simple-at.c (main): unref the desktop.
6117 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6120 * cspi/spi_main.c (cspi_accessible_is_a): here to
6121 isolate bonobo API usage more.
6123 * libspi/registry.c (impl_accessibility_registry_register_application):
6124 prune bogus comment.
6126 2001-12-04 Michael Meeks <michael@ximian.com>
6128 * test/test-simple.c (validate_tree): upd.
6129 IndexInParent check to make it more lucid.
6130 (validate_accessible): dump the tree.
6132 * libspi/accessible.c (de_register_public_ref),
6133 (get_public_refs): impl.
6134 (spi_accessible_new): make more efficient & intuitive.
6135 Now IndexInParent check works.
6137 2001-12-04 Michael Meeks <michael@ximian.com>
6139 * cspi/spi-util.h: remove.
6141 * cspi/spi.h: move SPI_freeString here
6143 * libspi/component.c (impl_accessibility_component_get_layer):
6145 (impl_accessibility_component_get_mdi_z_order): ditto,
6146 return -1 on error - is this ok ?
6148 * test/test-simple.c (test_application): impl.
6150 * cspi/spi_accessible.c (Accessible_getApplication),
6151 (Accessible_isApplication): impl.
6153 * libspi/registry.c (spi_listener_struct_free): release
6154 the CORBA reference too.
6156 * libspi/accessible.c
6157 (impl_accessibility_accessible_get_parent): fix ref leak.
6159 * libspi/registry.c (spi_registry_new): make the registry
6160 immortal - we don't want it to go away ever.
6162 * libspi/application.c
6163 (spi_accessible_application_finalize): impl. cleanup.
6165 * cspi/spi_registry.c
6166 (deregisterGlobalEventListenerAll),
6167 (deregisterGlobalEventListener),
6168 (deregisterAccessibleKeystrokeListener): fix ref leak.
6170 * cspi/spi_main.c (SPI_init): remove redundant ref.
6172 * test/test-simple.c (unutterable_horror): impl. to force a
6177 (impl_accessibility_registry_deregister_application): release
6178 the application when we de-register it.
6180 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6181 until we have the infastructure to get it right.
6183 2001-12-03 Michael Meeks <michael@ximian.com>
6185 * libspi/Makefile.am: only build eventlistener.[ch]
6187 * libspi/accessible.c
6188 (impl_accessibility_accessible_get_child_at_index): don't leak.
6190 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6191 before we hit the idle handler.
6193 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6194 debugging than exit.
6196 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6198 * libspi/listener.c (impl_notify_event): check source
6199 not NIL before unref.
6201 * libspi/registry.c (impl_registry_notify_event): ditto.
6203 * libspi/eventlistener.c
6204 (impl_accessible_event_notify_event): unref the source.
6206 * libspi/accessibleeventlistener.c
6207 (impl_accessible_event_notify_event): unref the source.
6209 * idl/Event.idl: remove 'hash_id' attribute - of no
6212 * libspi/application.c (notify_listeners): upd list
6214 (spi_application_object_event_listener),
6215 (spi_application_toolkit_event_listener): upd to do correct
6219 (_registry_notify_listeners): update.
6220 (parse_event_type): this method also leaks like a sieve.
6221 (impl_accessibility_registry_deregister_global_event_listener):
6222 fix ETYPE_WINDOW case.
6224 * libspi/application.c
6225 (impl_accessibility_application_register_object_event_listener):
6228 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6230 * libspi/hypertext.c (impl_getLink): ditto.
6232 * cspi/spi_main.c (cspi_object_add): remove
6233 bogus CORBA_Object_duplicate.
6235 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6238 * cspi/spi_accessible.c
6239 (Accessible_getRelationSet): fix leak / referencing issue.
6241 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6242 (cspi_object_add, cspi_object_unref): upd.
6243 (spi_object_release, get_live_refs): impl.
6244 (cspi_cleanup): simplify.
6246 * *.[ch]: s/boolean/SpiBoolean/
6248 * cspi/spi_accessible.c (role_names): actualy order so it
6249 corresponds with the enum !
6251 * test/test-simple.c (test_roles): check some role strings
6252 vs. enums to detect offset errors.
6254 2001-12-01 Michael Meeks <michael@ximian.com>
6256 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6258 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6260 (Accessible_getChildAtIndex): use cspi_add_check so we
6261 check the ev before using a (possibly) invalid value.
6263 * libspi/accessible.c
6264 (impl_accessibility_accessible_get_parent): don't segv
6267 * at-bridge/bridge.c (gtk_module_init): upd.
6268 (bridge_property_event_listener): don't leak strings
6270 (bridge_state_event_listener),
6271 (bridge_property_event_listener): don't use a static
6272 buffer in case of recursive event emission &
6273 re-enterancy - split out the swathe of cut and paste
6275 (emit_eventv): and fix 2 ref leaks here & comply to the
6277 (bridge_register_app): rename to
6278 (bridge_idle_init): this and kill arg parsing, split
6279 various inits & bonobo-activation registration to module
6280 init time, kill referencing error.
6281 (bridge_exit_func): fix the same leak.
6282 (bridge_focus_tracker): don't leak event structures
6284 (bridge_signal_listener): more leakage and cut & paste
6286 (bridge_key_listener): return the result - FIXME is
6287 this polarity correct ?
6288 (accessibility_keystroke_from_atk_key_event): rename
6289 (accessibility_init_keystroke_from_atk_key_event): and stop
6291 (gtk_module_init): return a value - not that it is checked by
6293 (bridge_key_listener): register my horror at casting between
6294 IDL defined structs.
6295 (bridge_get_registry): kill - not used.
6297 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6299 * test/test-simple.c (test_roles): impl.
6300 (test_desktop, validate_accessible, validate_tree): impl.
6302 * cspi/spi_accessible.c (role_names): fixup bogus
6303 MAX_ROLES setup, make constants const for efficient linkage
6304 (AccessibleRole_getName): conform to coding style, make
6307 2001-11-30 Michael Meeks <michael@ximian.com>
6309 * cspi/spi.h: add missing prototype.
6311 * libspi/registry.c (spi_listener_struct_new): fix sig.
6313 * test/Makefile.am: add test-simple
6315 * test/test-simple.c: add
6317 * test/test.sh: add.
6319 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6321 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6322 do it straight - since otherwise we often get an activation race.
6324 [ work before Bill duplicated a chunk of it ... ]
6325 2001-11-30 Michael Meeks <michael@ximian.com>
6327 * libspi/keystrokelistener.c
6328 (spi_keystroke_listener_class_init): fixup arg
6331 * libspi/eventlistener.c
6332 (spi_event_listener_class_init): ditto.
6334 * tests/test.sh: add.
6336 * cspi/spi-listener-impl.h: update macros.
6338 * cspi/spi-listener-impl.c
6339 (cspi_event_listener_remove_callback): add
6340 correct pre-conditions.
6342 * cspi/spi_main.c (SPI_exit): guard vs. double
6343 exits, exit the mainloop nicely.
6344 (SPI_event_main): make more sense.
6345 (SPI_init): move the atexit evilness here so we
6346 always do it (yuck).
6347 (SPI_event_main): upd.
6349 * test/simple-at.c: update for listener changes.
6351 * registryd/registryd.c (main): prune kruft.
6353 * libspi/libspi.h: upd.
6355 * libspi/eventlistener.[ch]: rename broken macros.
6357 * libspi/accessibleeventlistener.[ch]: remove.
6359 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6361 * test/test-simple.c: Add - automated tests.
6363 * cspi/spi-listener-impl.c (cspi_event),
6364 (cspi_key_event): add user_data to invoke.
6365 (cspi_keystroke_listener_finalize): impl.
6366 (cspi_keystroke_listener_class_init): upd.
6369 (createAccessibleEventListener),
6370 (AccessibleEventListener_addCallback),
6371 (createAccessibleKeystrokeListener),
6372 (AccessibleKeystrokeListener_addCallback): upd.
6374 * libspi/deviceeventcontroller.c
6375 (spi_device_event_controller_check_key_event): add public proto.
6378 (impl_accessibility_registry_deregister_global_event_listener):
6379 always init listeners.
6380 (_registry_notify_listeners): yes it is.
6382 * cspi/spi-listener-impl.c (cspi_key_event):
6384 (cspi_event_listener_finalize): impl.
6385 (cspi_event_listener_class_init): hook up.
6386 (event_handler_new, event_handler_free),
6387 (event_list_remove_by_callback): impl.
6388 (cspi_event_listener_remove_callback),
6389 (cspi_keystroke_listener_remove_callback),
6390 (cspi_keystroke_listener_add_callback),
6391 (cspi_event_listener_add_callback): upd.
6393 * libspi/keystrokelistener.c
6394 (keystroke_listener_object_finalize): kill
6395 (spi_keystroke_listener_class_init): upd.
6396 (spi_keystroke_listener_add_callback),
6397 (spi_keystroke_listener_remove_callback): kill,
6399 (impl_key_event): prune drasticaly.
6401 * libspi/eventlistener.c
6402 (spi_event_listener_add_callback),
6403 (spi_event_listener_remove_callback): kill, use
6405 (impl_accessible_event_notify_event): upd.
6406 (spi_event_listener_object_finalize): remove.
6408 * libspi/Makefile.am: use eventlistener.[ch]
6410 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6412 * libspi/registry.c (_registry_notify_listeners):
6413 Changed listener loop iteration to use preferred convention.
6414 Got rid of string memory leaks caused be calling g_strconcat
6415 inside function calls.
6417 * libspi/registry.c (parse_event_type):
6418 Stopped g_strconcat memory leaks, free the g_strsplit return,
6419 g_strdup the split pieces when used, etc.
6421 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6424 Change method 'compare' to return a 'difference set' rather than
6425 taking a StateSet as an out parameter (more Java-friendly).
6427 * idl/Accessible.idl:
6428 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6430 * idl/Component.idl:
6432 Changed methods 'getExtents' and 'getImageExtents' in these
6433 interfaces to return a BoundingBox structure.
6434 (getPosition and getSize are redundant and possibly should be
6435 removed, rather than creating a corresponding Point struct.)
6437 * cspi/spi_component.c:
6438 Modify implementation of getExtents to reflect the above IDL
6443 Add (missing) AccessibleImage_getExtents () API.
6445 * docs/reference/cspi/at-spi-cspi-sections.txt:
6446 Added AccessibleImage_getImageExtents () to docs.
6448 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6450 * idl/Component.idl:
6451 Added two methods, getLayer () and getMDIZOrder (), to reflect
6452 the new ATK methods atk_object_get_layer and
6453 atk_object_get_mdi_z_order. (Which arguably should be part of the
6454 AtkComponent API and AtkObject). Also added an enum,
6455 ComponentLayer, for the first method's return value.
6457 * libspi/component.c:
6458 Added implementations for these methods.
6460 * cspi/spi_component.c:
6462 Added cspi binding methods for above,
6463 AccessibleComponent_getLayer() and
6464 AccessibleComponent_getMDIZOrder().
6465 Added cspi enum 'AccessibleComponentLayer'.
6467 * docs/reference/cspi/at-spi-cspi-sections.txt:
6468 Added above methods to docs.
6472 Changed typedef for 'boolean' type (and all references to it) to
6473 SPIBoolean, to avoid keyword clashes with C++.
6476 Changed usages of 'boolean' to SPIBoolean.
6478 * test/keysynth-demo.c:
6479 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6480 app), except where SPIBoolean is required by the callbacks API.
6482 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6484 * cspi/spi_registry.c:
6485 Removed obsolete X event loop for passive keygrabs (which now
6488 * registryd/registryd.c:
6489 Removed unnecessary call to gdk_init() [cruft]. This also allows
6490 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6493 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6495 * docs/reference/cspi:
6496 Included docs for SPI_freeString in generated documentation.
6499 Renamed spi_freeString to SPI_freeString, for consistency. Added
6500 documentation for this function.
6503 Renamed spi_freeString to SPI_freeString, for consistency.
6504 Removed obsolete method declaration string_from_corba_string.
6506 * test/keysynth-demo.c:
6507 Small tweak to comments.
6510 Stopped leaking the strings returned from CSPI.
6512 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6514 Merged Michael's branch (see his ChangeLog entries below).
6516 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6517 bridge is alive, release on exit.
6519 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6520 Fix type check macro.
6523 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6526 Added is_gnome_app static, and method cspi_is_gnome_app(),
6527 so we can call the appropriate shutdown routine at exit in SPI_exit.
6529 * cspi/spi_main.c (cspi_object_ref):
6530 Duplicate the corba object passed in, since we're keeping it around.
6532 * cspi/SPI_exit.c, cspi_cleanup:
6533 Moved the releasing of the live refs to its own function, so we
6534 can put it in g_atexit (). Call the appropriate shutdown API
6535 depending on whethe calling client is a gnome app or not
6536 (bonobo_main_quit or CORBA_ORB_shutdown).
6538 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6539 Unref the listener when this method is called, after
6540 deregistration. Updated the API docs to note this behavior.
6542 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6543 Bugfixes: Ref the bonobo object when returning a parent or child
6544 reference, or an AccessibleRelation. Generally made sure
6545 BonoboObject refcount is incremented whenever we return an
6548 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6549 Fixed typo/bug in signal declaration.
6551 * libspi/accessibleeventlistener.h:
6554 * libspi/application.c (spi_application_new):
6555 Fixed leak in initialization.
6558 Remembered to increment bonobo-object refcount when returning
6559 children (applications) from desktop object.
6560 Added (empty) finalize method.
6562 * libspi/deviceeventcontroller.c:
6563 Hold a ref to listeners inside DEControllerKeyListeners.
6564 Added dec_key_listener_free() method. Use prepend instead of
6565 append in key_listener list. Fixed some refcount madness and
6566 leaks in the listener registration/deregistration - deregistration
6567 now calls dec_key_listener_free() on listeners, and on the
6568 temporarily constructed dec_key_listener() used to perform the search/match.
6570 * libspi/hypertext.c (spi_hypertest_finalize):
6571 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6572 class. Also fixed spi_hypertext_interface_new() and
6573 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6575 * libspi/hypertext.h:
6576 Removed pointless and duplicate AtkObject pointer from
6579 * libspi/keystrokelistener.c:
6580 Fixed incorrect type of keystroke_listener_parent_class,
6581 renamed keystroke_listener_object_finalize to
6582 spi_keystroke_listener_object_finalize.
6583 Fixed typo in signal declaration
6584 (spi_keystroke_listener_class_init).
6586 * libspi/registry.c:
6587 Added funcsions spi_listener_struct_new() and
6588 spi_listener_struct_free() to help with memory management issues.
6589 We also now use these methods instead of gnew + poking stuff into
6590 the struct, and to decrement listener counts/free the listeners
6591 when deregistering them.
6592 Fix more refcount bugs in getDesktop() and
6593 getDeviceEventController().
6596 De-ref the desktop after enumerating the applications. Explicitly
6597 decrement the refcounts on the created listeners on exit (using
6598 _unref for keystroke listeners, and via the
6599 deregisterGlobalEventListenerAll command for other event
6602 2001-11-27 Michael Meeks <michael@ximian.com>
6604 * cspi/spi-listener.h: fixup enum.
6606 2001-11-27 Michael Meeks <michael@ximian.com>
6608 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6609 (cspi_keystroke_listener_new): Use the cspi variants.
6611 2001-11-26 Michael Meeks <michael@ximian.com>
6613 * test/keysynth-demo.c: fix 2 compile warnings, missing
6616 * test/simple-at.c (report_focussed_accessible),
6617 (report_focus_event, report_button_press),
6618 (check_property_change, is_command_key),
6619 (report_ordinary_key_event, report_command_key_event): upd.
6621 * util/mag_client.h: include pre-requisites.
6623 * libspi/accessibleeventlistener.c
6624 (spi_event_listener_object_finalize): free any lingering
6627 * libspi/keystrokelistener.c
6628 (keystroke_listener_object_finalize): ditto.
6630 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6631 callbacks, with cspi types.
6633 * cspi/spi_event.c (createAccessibleEventListener): chain to
6634 (AccessibleEventListener_addCallback): here.
6635 (createAccessibleKeystrokeListener): chain to
6636 (AccessibleKeystrokeListener_addCallback): here.
6638 * libspi/keystrokelistener.c
6639 (spi_keystroke_listener_class_init): add signal.
6640 (impl_key_event): emit the event.
6641 (boolean_handled_accumulator): impl.
6642 (marshal_BOOLEAN__POINTER): add, gack.
6644 * libspi/accessibleeventlistener.c
6645 (spi_event_listener_class_init): add signal.
6646 (impl_accessible_event_notify_event): emit the signal &
6647 make the loop efficient.
6648 (spi_event_listener_add_callback): prepend the callback.
6650 * libspi/accessibleeventlistener.h: add an 'event' signal,
6651 decl type on callback.
6653 * libspi/keystrokelistener.h: ditto.
6655 * cspi/spi-listener.h: make methods typesafe and
6656 make them use the new event typedefs.
6658 * test/simple-at.c (report_focussed_accessible):
6659 include mag_client.h
6660 Use *(void *)text_interface not the other thing.
6662 * configure.in: add gtk to registryd bits - since we use
6665 * util/magnifier.c: include libbonobo.h
6667 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6669 * test/keysynth-demo.c:
6670 Turned this into a simple scanning keyboard, to demonstrate the
6671 use of g_timeout_add () as a means of creating timers for
6672 scanning, and the use of GtkStyle for visually indicating when
6673 virtual keyboard elements are selected.
6675 keysynth-demo now listens to any keyboard keys with zero-valued
6676 keycodes (i.e. 'unused' keys) and interprets them as
6679 Reworked the shiftlatch code so that shift-down state isn't held
6680 for long periods (it's only synthesized immediately prior to
6681 the keysynth event it's modifying). Note that shiftlatch in this
6682 demo is a convenience, not intended to take the place of AccessX
6683 which is the better choice for getting 'sticky' modifier keys.
6685 * libspi/deviceeventcontroller.c:
6686 * at-bridge/bridge.c:
6687 * cspi/spi_registry.c:
6688 Removed some debug print stuff, and put other verbosity in #ifdef
6693 Implemented some more of the magnifier IDL for the simple
6694 magnifier: namely, getZoomRegionParams.
6695 Added mag_x and mag_y members to MagnifierData struct, aid of this
6697 Added GtkWindow::realize signal handler to magnifier, to keep it
6698 from receiving keyboard focus from the WM.
6700 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6702 * cspi/spi-private.h: my guess at what michael forgot
6703 before he ran off to NZ :-)
6705 2001-11-23 Michael Meeks <michael@ximian.com>
6707 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6708 comment out non existant method invoke so we link.
6710 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6711 use bonobo_exception_get_text for more friendly warnings.
6713 * cspi/spi.c (Obj_Add): move into spi_main & rename
6714 spi_object_add; kill spi.c
6716 * cspi/spi_registry.c
6717 (deregisterGlobalEventListener),
6718 (deregisterGlobalEventListenerAll),
6719 (registerGlobalEventListener): fix exception leaks.
6721 * cspi/spi_main.c (spi_exception): impl. helper, so we
6722 don't leak exceptions.
6724 * cspi/spi_selection.c
6725 (AccessibleSelection_deselectSelectedChild): return the
6728 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6729 (spi_registry): ditto.
6730 (SPI_init): guard against double inits.
6732 * cspi/*.c: use spi_ev (), and spi_registry () where
6733 appropriate - a temporary hack until we have something
6734 better. Use spi_object_add
6736 2001-11-22 Michael Meeks <michael@ximian.com>
6738 * cspi/Makefile.am: re organise, install the headers.
6740 * cspi/*.h: add G_BEGIN/END_DECLS
6742 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6745 Added non-preemptive keylistener for key events with no modifiers
6746 and shift-only modifier.
6748 * libspi/keystrokelistener.c:
6749 Removed some verbose diagnostics printout.
6751 * cspi/spi_registry.c:
6752 Fixed a bug that caused all key listeners to be registered as
6755 * libspi/deviceeventcontroller.c:
6756 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6757 for non-preemptive key masks.
6760 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6762 * docs/reference/idl/at-spi-idl-docs.sgml:
6763 * docs/reference/idl/at-spi-idl-sections.txt:
6764 * docs/reference/idl/at-spi-idl-overrides.txt:
6765 Added missing files.
6767 * docs/reference/Makefile.am:
6768 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6769 to scan the IDL files :-(
6774 Added .cvsignore files.
6776 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6778 * libspi/deviceeventcontroller.c:
6779 * libspi/keystrokelistener.c:
6781 * cspi/spi_registry.c:
6782 Added filters for KeySets, KeyEventSeq, and event types to key
6783 event dispatching, so listeners should only receive those events
6784 that they requested :-)
6786 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6791 * docs/reference:Makefile.am:
6792 * docs/reference/cspi:
6793 * docs/reference/cspi:Makefile.am:
6794 * docs/reference/cspi:tmpl:
6795 * docs/reference/cspi:tmpl:*.sgml:
6796 * docs/reference/idl:
6797 * docs/reference/idl:Makefile.am:
6798 * docs/reference/idl:at-spi-idl-sections.txt:
6799 * docs/reference/idl:at-spi-idl-docs.sgml:
6800 * docs/reference/idl:tmpl:
6801 * docs/reference/idl:tmpl:*.sgml:
6803 Restructured docs directory to allow separate 'reference' docs
6804 section, and forked idl and cspi docs. Added the sgml template
6805 files to CVS. Added the first sections/structural sgml for the
6808 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6810 * configure.in, libspi/Makefile.am: find libXtst.
6812 2001-11-21 Michael Meeks <michael@ximian.com>
6814 * test/accessx-gui.c: s/spi_value/value/ - doh.
6816 * libspi/base.[ch]: add.
6818 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6820 * idl/Accessible.idl:
6821 * idl/Application.idl:
6824 Started gtk-doc cleanup on IDL.
6826 * libspi/deviceeventcontroller.c:
6827 Added and connected non-preemptive key notification from the
6828 toolkits (in addition to the pre-emptive support from XServer
6829 which we had before, but which causes 'focus flashing'). Filters
6830 are presently limited to key modifiers and global/non-global,
6831 KeySets are presently ignored, as are KeyEvent masks.
6833 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6834 structs into the persistant structure rather than just storing
6835 pointers to things that might not persist across servant
6838 The XGrabKey call now does async keygrabs, because synchronous
6839 ones were deadlocking with GDK_event code in a very nasty way.
6841 Added boolean to internal method notify_keylisteners, to indicate
6842 whether the event came from the 'toolkit source' or the 'global
6843 (XServer) source' - this is used in the notification process to
6844 determine which listeners to send the event to.
6846 deviceeventcontroller.c is now warning-free.
6848 * libspi/registry.c:
6849 Fixed regression in application de-registration.
6850 Also fixed some really brain-dead weirdness having to do with
6851 event dispatching - event structs are now duplicated before being
6852 re-marshalled in the dispatch to listeners. This also fixes a
6853 Solaris build problem.
6856 2001-11-20 Michael Meeks <michael@ximian.com>
6859 (impl_accessibility_registry_deregister_global_event_listener):
6862 * libspi/deviceeventcontroller.c
6863 (spi_device_event_controller_check_key_event): return
6864 FALSE on no virtual method.
6866 * libspi/*..h: make includes work on a correctly pathed install.
6868 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6870 * libspi/application.h: kill unused ( and whacked out )
6871 gboolean *spi_application_set_id (AtkObject *app, long id);
6873 2001-11-20 Michael Meeks <michael@ximian.com>
6875 * libspi/*.[ch]: further convert to bonobo's type func
6876 macros, remove redundnant casts etc.
6878 * libspi/text.c s/accessibility_text/spi_text/g,
6879 re-order to de-cruft.
6881 * libspi/hypertext.c: re-order to kill a huge slew
6882 of redundant forward decls.
6884 * libspi/relation.c: ditto.
6886 * libspi/image.c: ditto.
6888 * */.cvsignore: update
6890 2001-11-20 Michael Meeks <michael@ximian.com>
6892 * libspi/deviceeventcontroller.c
6893 (_controller_register_with_devices): use g_getenv,
6894 kill stdlib.h include.
6896 * libspi/keystrokelistener.c
6897 (spi_keystroke_listener_get_type): kill
6898 (spi_keystroke_listener_class_init),
6899 (spi_keystroke_listener_init): rename to this.
6901 * libspi/text.c (impl_getAttributes): fix warning / bug.
6903 * libspi/*.[ch]: more headers, includes and over commenting.
6905 2001-11-20 Michael Meeks <michael@ximian.com>
6907 * libspi/*.[ch]: fixup headers, includes and over commenting.
6909 * libspi/image.c (impl__get_imageDescription): const
6910 correctness warning fix. remove redundant casting.
6912 * libspi/table.c (impl_getRowDescription): ditto.
6913 (impl_getColumnDescription): ditto.
6915 * libspi/libspi.h: add.
6917 2001-11-19 Michael Meeks <michael@ximian.com>
6919 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6921 * libspi/component.c (accessibility_component_get_type):
6922 rename to (spi_component_get_type): and macroify.
6923 (accessibility_component_init): rename to
6924 (spi_component_init): this
6925 (accessibility_component_class_init): rename to
6926 (spi_component_class_init): this
6928 * libspi/action.c (spi_action_get_type): kill, use the macro.
6930 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6933 * libspi/application.c (spi_application_object_event_listener),
6934 (impl_accessibility_application_register_object_event_listener):
6935 warning fixes / const understanding updates.
6937 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6940 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6942 * libspi/spi_accessible.c: Added docs and C bindings for
6943 AccessibleStateSet. (No implementations yet). Documentation
6944 coverage for C bindings now 100%. Made docs for event listeners
6949 boolean notifyListenersSync (in DeviceEventListener listener,
6950 in DeviceEvent event);
6952 oneway void notifyListenersAsync (in DeviceEventListener listener,
6953 in DeviceEvent event);
6955 Added DeviceEventListener and DeviceEvent structs (may deprecate
6956 KeyStroke and KeystrokeListener in favor of this generic
6957 event/listener framework for devices).
6959 * libspi/deviceeventcontroller.c:
6961 Changed some key listener code to take masks, etc., and paved the
6962 way for integration of toolkit/non-preemptive key events. Changed
6963 signatures of some internal methods.
6965 * at-bridge/bridge.c:
6966 Fixed regression connecting to interface signals, apparently
6967 caused by GTK+ changes.
6969 Added an internal bridge_state_listener to deal with
6970 property-change:accessible-state signals.
6972 Changed the key_listeners GList to store structs (including masks,
6973 etc.) instead of just CORBA_Objects (required for full
6974 implementation of key listener API).
6976 Connected the bridge to all currently supported Atk signals.
6977 Events now supported:
6978 object:property-change
6979 object:property-change:accessible-name
6980 object:property-change:accessible-state
6981 object:property-change:accessible-description
6982 object:property-change:accessible-parent
6983 object:property-change:accessible-value
6984 object:property-change:accessible-role
6985 object:property-change:accessible-table-caption
6986 object:property-change:accessible-table-column-description
6987 object:property-change:accessible-table-column-header
6988 object:property-change:accessible-table-row-description
6989 object:property-change:accessible-table-row-header
6990 object:property-change:accessible-table-summary
6991 object:children-changed
6992 object:visible-data-changed
6993 object:selection-changed
6994 object:text-selection-changed
6996 object:text-caret-moved
6998 object:row-reordered
7000 object:column-inserted
7001 object:column-reordered
7002 object:column-deleted
7003 object:model-changed
7005 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7007 * libspi/hyperlink.c,h:
7008 Fixed some broken stuff in hyperlink.
7010 * libspi/relation.h:
7011 * libspi/relation.c:
7012 * cspi/spi_accessible.c:
7013 Initial implementations of AccessibleRelation methods, and docs.
7015 * libspi/accessible.c:
7016 Fixed a bug that caused SEGV if an accessible
7017 object's description is NULL, and a client
7018 requests it. An empty string is now returned.
7020 * cspi/spi_editabletext.c:
7021 * cspi/spi_hypertext.c:
7023 * cspi/spi_hyperlink.c:
7027 Doc coverage now 95%.
7029 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7031 One last namespacing revision:
7032 * libspi/accessibleeventlistener.[ch]:
7033 Renamed SpiAccessibleEventListener to SpiEventListener,
7034 (no need for two namespaces ;-)
7036 And lots of documentation fixes:
7038 * docs/at-spi-docs.sgml:
7039 Fixed 'underscore vs. hyphen' bug that was preventing
7040 the gtk-doc API docs from being automatically generated.
7043 * cspi/spi-listener.h
7045 * cspi/spi_accessible.c
7047 * cspi/spi_application.c
7048 * cspi/spi_component.c
7049 * cspi/spi_editabletext.c
7051 * cspi/spi_hypertext.c
7053 * cspi/spi_registry.c
7054 * cspi/spi_selection.c
7058 * docs/at-spi-docs.sgml
7059 * docs/at-spi-sections.txt
7061 Added and fixed up gtk-doc documentation in cspi.
7063 Interfaces now (fully) documented (subject to revision and enhancement):
7065 Event Listener Support
7067 AccessibleApplication
7071 AccessibleEditableText
7078 AccessibleRelationSet
7083 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7085 * at-bridge/bridge.c:
7086 Initial work for toolkit-level key snooper connection by bridge.
7091 New typedefs and fixes to support new namespacing, and cleaner
7092 separation of cspi bindings from libspi bonobo implementation.
7093 Removed inconsistent and extraneous Spi* namespace prefix that
7094 had crept into cspi headers.
7095 Lots of comment fixes that sed had missed.
7097 * cspi/spi-roletypes.h:
7098 * cspi/spi-statetypes.h:
7099 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7100 to AccessibleRoleType.
7102 * libspi/accessibleeventlistener.h:
7103 Fixed minor namespacing weirdness.
7105 * libspi/deviceeventcontroller.c:
7106 Reordered some internal API for device listeners.
7107 Changed the key registry final boolean to 'is_system_global'
7108 rather than 'is_synchronous', which is more descriptive of its
7110 Added spi_device_event_controller_new().
7111 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7113 * libspi/keystrokelistener.[ch]:
7114 Namespaced KeystrokeListener to SpiKeystrokeListener.
7115 Changed uses of keymasks to use SPI_ prefix, and did other
7118 * libspi/keymasks.h:
7119 Namespaced keymask constants with SPI_ prefix.
7121 * libspi/registry.c:
7122 Some warning fixes, and knock-on fixes from namespace changes.
7125 Added rules for accessx-gui test program.
7127 * test/accessx-gui.c:
7128 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7129 utility. It doesn't actually use at-spi, but it's still cool and
7132 * test/keysynth-demo.c:
7136 Fixes so that these test clients work properly with the namespaced
7137 libraries. (Incompletely tested for technical reasons, fixes may follow)
7140 2001-11-13 Michael Meeks <michael@ximian.com>
7142 * libspi/application.c
7143 (impl_accessibility_application_get_version),
7144 (impl_accessibility_application_get_toolkit_name):
7146 (impl_accessibility_application_set_id),
7147 (impl_accessibility_application_get_id): remove
7148 redundant casting code.
7150 * libspi/action.c (impl_getDescription): fix warnings.
7152 * libspi/accessible.c
7153 (impl_accessibility_accessible_get_parent),
7154 (impl_accessibility_accessible_get_child_at_index),
7155 (impl_accessibility_accessible_get_state),
7156 (impl_accessibility_accessible_get_relation_set):
7157 warning fixes & include action.h
7159 2001-11-13 Michael Meeks <michael@ximian.com>
7161 * *.[ch] fix bits I screwed up:
7163 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7164 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7166 2001-11-13 Michael Meeks <michael@ximian.com>
7168 * *.[ch] Namespace libspi into spi_ and Spi.
7170 2001-13-11 Michael Meeks <michael@ximian.com>
7172 * Makefile.am: dist & install at-spi-1.0.pc
7174 * libspi/Makefile.am: install into at-spi-1.0
7176 * idl/Makefile.am (idldir): install into at-spi-1.0
7178 * at-spi-1.0.pc.in: add.
7180 * configure.in: build it.
7182 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7184 * test/keysynth-demo.c:
7185 Use a 'realize' signal-handler to set the WM properties for
7186 the virtual keyboard, rather than making it a "POPUP" type
7187 override-redirect window (thanks to anders carlsson for that
7190 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7193 * test/keysynth-demo.c:
7194 Added new test of key synthesis, which creates a simple
7195 (mouse-operated) onscreen keyboard. It inserts key events into
7196 the currently-focused window, thus it does not grab keyboard focus
7199 * cspi/spi_registry.c:
7200 Added C binding for AT-SPI generateKeyEvent.
7202 * libspi/deviceeventcontroller.c:
7203 Added call to XFilterEvent so that key listener works with XIM (we
7204 hope). Added event_synth_type to generateKeyEvent, so that we can
7205 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7206 synthesize a press/release pair for KeySyms.
7208 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7210 * libspi/Makefile.am:
7211 * registryd/Makefile.am:
7212 (temporary) hack to include libXtst in libspi and registryd.
7213 (Needed for keystroke synthesis, see below).
7216 Improved API for registerKeystrokeListener, in accordance with
7217 discussions with Gnopernicus team and X server research.
7219 * libspi/registry.c:
7220 * libspi/deviceeventcontroller.c:
7221 * libspi/accessible.c:
7222 * libspi/keystrokelistener.c:
7223 Changes and fixes to support keylisteners for potentially
7224 consumed key events (that is, 'passive grabs').
7225 Added implementation for generateKeyEvent() [untested].
7228 Changes to registerKeystrokeListener() API, as above.
7229 Added deregisterGlobalEventListenerAll(), and
7230 deregisterKeystrokeListener(), which are needed for clean exit of
7232 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7233 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7235 * cspi/spi_registry.c:
7236 Added implementations of function prototypes mentioned above.
7238 * registryd/registryd.c:
7239 Added the key listener event source as a g_timeout(), to allow
7240 receipt of key events that are not caught by GDK (since GDK
7241 doesn't support passive keygrabs, this was necessary).
7244 Changed to attach a keylistener to 'Alt' keys, and
7245 respond to the following keycommands: Alt-M (toggle magnifier);
7246 Alt-F (toggle speech); Alt-Q (quit).
7247 Added an exit routine to deregister the listeners, and a key
7248 listener that prints some key info to the console when a key
7249 matches the listener mask (and is thus received by the listener).
7251 * util/idl/Magnifier.idl:
7252 Changes to magnifier API to support multiple zoom regions,
7253 non-uniform scaling in x and y, markDirty, and a host of other
7254 features that would be useful to magnification.
7257 * util/mag_client.c:
7258 * util/mag_client.h:
7259 * util/mag_control.c:
7261 Source code changes to support the above IDL changes.
7264 As above, and also changes to use a (slower) generic conversion
7265 path for colormap conversions, since the fast RGB conversions have been
7266 reported to fail for 16-bit displays.
7268 2001-10-26 Michael Meeks <michael@ximian.com>
7270 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7272 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7274 * at-bridge/Makefile.am: fix LDFLAGS.
7276 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7278 * at-bridge/bridge.c:
7279 Re-worked listeners for toolkit events, now we have signal
7280 and property listeners. Added a private method
7281 register_atk_event_listeners(), which registers with the
7282 various atk and gtk signals we need to monitor in order to emit
7284 Added emission hook for AtkObject:property-change events, to
7285 support the 'property listeners'.
7286 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7289 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7290 which emit warnings and exit, respectively, if CORBA errors occur
7291 during remote calls, and we now use these methods to check most of
7292 our CORBA calls in the C bindings.
7294 * cspi/spi_accessible.c:
7295 Changed AccessibleSelection_refSelectedChild() to
7296 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7297 now increment refcounts.
7299 * cspi/spi_component.c:
7300 Fixed some long pointer casts (dangerous!) to pass pointers to
7301 CORBA_longs of the proper type to the CORBA stubs, and copy the
7302 data into the longs that were passed into the C bindings code.
7304 * at-bridge/bridge.c:
7306 * libspi/accessible.c:
7307 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7308 hyperlinks, AtkHyperlink is an object type.
7310 * libspi/application.c:
7311 Added various conversions to and from "generic" event types and
7312 atk-specific types; this is really part of the 'bridge'
7313 implementation but is valid for all AtkObject-based accessibility
7316 * libspi/editabletext.c:
7317 Fixed nasty bug wherein editable text's finalize method was
7318 unref'ing tha AtkObject reference that the text parent class was
7319 about to unref _again_. There was also a nasty inheritance bug
7320 that meant that the AccessibleEditableText class was corrupt.
7322 * libspi/selection.c:
7323 Provided implementations for some selection API that was broken.
7325 * idl/Application.idl:
7326 Added registerObjectEventListener () method.
7329 Fixed a number of return values that were Bonobo_Unknowns from
7330 bonobo_object_corba_objref(), which I
7331 forgot to dup before returning. Changed instances of
7332 bonobo_object_corba_objref (bonobo_object(o)) to
7333 BONOBO_OBJREF(o), for concision and clarity.
7335 2001-10-13 Louise Miller <louise.miller@sun.com>
7337 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7338 idl/Event.idl, idl/Registry.idl
7339 Changed these files to include Bonobo_Unknown.idl instead
7342 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7344 * libspi/component.c libspi/component.h:
7345 Fixed typo. Added assertions for object checks in
7346 AccessibleComponent code.
7348 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7350 * idl/Accessible.idl:
7351 Added 'isEqual (Accessible *object)'
7352 method for Accessible. (Not Yet Implemented).
7355 Changed signature of registerKeystrokeListener() to
7356 take a KeySet and KeyEventSeq so that specific keys and event
7357 types could be requested for monitoring, and added a flag
7358 is_synchronous so that either synchronous or asynchronous
7359 notification could be requested. (However this is not all
7360 implemented yet). This also meant adding two new typedefs,
7361 KeyEventSeq and KeySet.
7364 Added two new relations, RELATION_TOOLTIP_FOR and
7365 RELATION_LEAFNODE_OF.
7368 Added new state, STATE_HAS_TOOLTIP.
7370 * libspi/text.c, editabletext.c:
7371 Added new assertions to all casts of bonobo-objects from
7372 CORBA servants, to prevent Text API calls on non-text objects.
7373 Changed suspect casts of int-pointer types, so that we
7374 always send a valid CORBA_long pointer to the CORBA APIs that use
7375 in/out long parameters. We then have to copy from the CORBA_long
7376 into the regular long or int for return to the C bindings, or
7377 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7380 * libspi/deviceeventcontroller.c:
7381 Cleaned these sources up.
7383 Changed return type for getCharacterAtOffset to
7384 CORBA_unsigned_long, to allow for 32-bit characters.
7387 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7391 Fixed 'make dist' so that distro compiles...
7392 * libspi/keymasks.h:
7394 * cspi/spi-listener.c:
7395 KeystrokeListenerCB now returns a boolean.
7397 Added KeyEventType struct, and KeyStroke.
7398 Also added createKeystrokeListener(),
7399 KeystrokeListener_addCallback(),
7400 KeystrokeListener_removeCallback(), and added a keymask to
7401 registerKeystrokeListener().
7402 * cspi/spi_accessible.c:
7403 Changed numerous return types for interfaces from
7404 AccessibleComponent to Accessible<InterfaceName>; this was
7405 probably a cut-and-paste error.
7407 Implementations of new KeystrokeListener api (from spi.h,
7410 Changes to key modifier mapping.
7411 Created ControllerEventMask struct.
7412 Made DeviceEventController derive from Bonobo::Unknown.
7414 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7415 * libspi/deviceeventcontroller.c:
7416 Added a number of new internal (private) methods.
7417 * libspi/editabletext.c:
7418 * libspi/editabletext.h:
7419 Fixed a number of bugs related to the fact that
7420 editabletext inherits from text. Fixed the EditableText struct,
7421 the init() call, and use correct casts when calling Text methods
7422 from an EditableText object. Removed (duplicate) atko from the
7423 EditableText structure, we use the one in the parent Text
7424 structure via the casts mentioned above.
7425 * libspi/keystrokelistener.[ch]:
7426 * libspi/registry.c:
7427 Changes in support of keyboard handling (above).
7429 Keyboard handling, though partly functional, is still not
7430 recommended for at-spi client use as there is considerable
7431 work yet to be done.
7434 Changed some places where pointers to various int types
7435 are cast to be pointers to CORBA_long types and vice-versa:
7436 pointer casting is not safe so we pass pointers of the correct
7437 types and then cast the result before putting it into the target
7440 * libspi/text.h: minor typos corrected.
7442 We now speak not only the name of a Text element, but the
7443 first sentence of its content, when it receives focus.
7444 I also changed the text compression to 75% from 50%.
7445 * util/Accessibility_Util.server.in:
7446 Changed the default magnifier type to be a 3x vertical
7447 splitscreen magnifier (was previously a 2x horizontal one).
7449 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7451 * libspi/keystrokelistener.h:
7452 * libspi/keystrokelistener.c:
7453 Initial functional implementations of KeystrokeListener.
7456 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7458 Fixed string handling for NULL strings in libspi.
7459 Added spi_freeString to free strings returned by C bindings.
7461 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7463 * libspi/keystrokelistener.h:
7464 * libspi/keystrokelistener.c:
7465 Began (no-op) implementations of KeystrokeListener
7467 * libspi/deviceeventcontroller.c:
7468 * libspi/deviceeventcontroller.h:
7469 Began creating implementations of DeviceEventController,
7470 to handle keystroke and mouse event listening and
7472 * libspi/accessible.c:
7473 Stubbed-in the implementations for
7474 Accessibility_Accessible_getState and
7475 Accessibility_Accessible_getRelationSet.
7476 * libspi/registry.c:
7477 Improved de-registration process and fixed some bugs,
7478 deregistration now works correctly.
7480 Added initialization of applications list (to NULL).
7482 Reduced speech compression from 0.5 to 0.7, for demo.
7483 Changed call to gdk_window_set_decorations()
7484 to gtk_window_set_decorated().
7485 * at-bridge/bridge.c:
7486 Bridge now deregisters when app exits, via
7487 registration of a cleanup function
7488 with the g_atexit() call.
7489 Required making 'app' static, renamed 'this_app'.
7490 Fixed broken use of bonobo_init, passing argv wrongly.
7492 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7496 Created a new directory for
7497 accessibility-related utilities, primarily for
7498 testing and demo purposes, but with possible
7505 Onscreen magnifier utility that
7506 is implemented as a bonobo service.
7508 * util/mag_client.c:
7509 * util/mag_client.h:
7510 Client-side support (simple C bindings)
7511 for Magnification service
7513 * util/mag_control.c:
7514 Client program example for
7515 Magnification service
7517 * util/Accessibility_Magnifier.server.in:
7518 Bonobo-activation file for the
7519 Magnification service.
7522 * util/idl/Magnifier.idl:
7523 IDL defining the bonobo Magnification
7527 Modifications to use the bonobo-activated magnifier
7528 above, in place of trying to connect to an existing
7529 magnifier that uses socket-listening IPC.
7531 If env variable MAGNIFIER is set, a magnifier service
7532 will be started if one does not exist.
7534 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7536 * at-bridge/bridge.c:
7537 applied patch from Marc to build and run
7538 against new glib and gtk+ (seemed like a change
7539 to bonobo_init signature was made ?)
7541 made festival-server support turned off by default.
7542 Added support for a simple magnifier (off by default)
7543 which will be added to a 'util' directory later.
7544 * at-bridge/Makefile.am:
7545 Changed "application.h" header from a 'source'
7546 to a 'dependency' of libat-bridge.
7548 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7557 Added interface implementation c files to list of
7558 includes so they are included in libcspi.
7561 Changed prototype of AccessibleAction_doAction to return a
7563 Changed prototype of AccessibleTable_getCaption to
7564 return an Accessible.
7565 Changed prototype of AccessibleTable_getSelectedRows
7566 and AccessibleTable_getSelectedColumns to
7567 return a long (returns the number of selected rows
7568 or columns respectively).
7569 Changed name of AccessibleText_refRunAttributes to
7570 AccessibleText_getAttributes.
7571 Changed prototype of AccessibleText_getCharacterExtents to
7572 return a void rather than a boolean.
7573 Added support for a AccessibleCoordType parameter
7574 specifying what type of coordinates are desired.
7575 Added an AccessibleCordType parameter to
7576 AccessibleText_getPointAtOffset.
7578 * cspi/spi_accessible.c:
7579 Added code to return the outstanding interfaces from
7580 Accessible_queryInterface.
7582 * cspi/spi_action.c:
7584 Corrected call to getNActions to call the c binding
7587 * cspi/spi_editabletext.c:
7589 Changed name from setRunAttributes to setAttributes.
7591 * cspi/spi_hyperlink.c:
7593 Changed call to getNAnchors to correctly call the c
7594 binding for an attribute.
7596 * cspi/spi_hypertext.c:
7598 Changed getImageDescription to correctly call the
7599 binding for an attribute.
7601 * cspi/spi_selection.c:
7602 Changed getNSelectedChildren to correctly call the c
7603 binding for the attribute.
7604 Changed refSelectedChild to getSelectedChild.
7608 Changed getCaption to return an Accessible.
7609 Fixed calls which retrieve attributes.
7610 Changed refAt to getAccessibleAt.
7611 Changed getNSelectedRows and getNSelectedColumns to
7615 Changed getCharacterExtents and getPointAtOffset to accept an
7616 AccessibleCoordType.
7618 Changed calls which retrieve attributes.
7619 Changed refRunAttributes to getAttributes.
7624 * idl/Hyperlink.idl:
7625 Changed n_anchors attribute to nAnchors to keep naming
7626 convention consistent.
7629 Made Table inherit from Bonobo::Unknown.
7630 Added nSelectedColumns and nSelectedRows attributes.
7633 Made Value inherit from Bonobo::Unknown.
7635 * libspi/hyperlink.c:
7636 Change for nAnchors attributte name change.
7638 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7646 Added interface implementation c files to list of
7647 includes so they are included in libcspi.
7650 Changed prototype of AccessibleAction_doAction to return a
7652 Changed prototype of AccessibleTable_getCaption to
7653 return an Accessible.
7654 Changed prototype of AccessibleTable_getSelectedRows
7655 and AccessibleTable_getSelectedColumns to
7656 return a long (returns the number of selected rows
7657 or columns respectively).
7658 Changed name of AccessibleText_refRunAttributes to
7659 AccessibleText_getAttributes.
7660 Changed prototype of AccessibleText_getCharacterExtents to
7661 return a void rather than a boolean.
7662 Added support for a AccessibleCoordType parameter
7663 specifying what type of coordinates are desired.
7664 Added an AccessibleCordType parameter to
7665 AccessibleText_getPointAtOffset.
7667 * cspi/spi_accessible.c:
7668 Added code to return the outstanding interfaces from
7669 Accessible_queryInterface.
7671 * cspi/spi_action.c:
7673 Corrected call to getNActions to call the c binding
7676 * cspi/spi_editabletext.c:
7678 Changed name from setRunAttributes to setAttributes.
7680 * cspi/spi_hyperlink.c:
7682 Changed call to getNAnchors to correctly call the c
7683 binding for an attribute.
7685 * cspi/spi_hypertext.c:
7687 Changed getImageDescription to correctly call the
7688 binding for an attribute.
7690 * cspi/spi_selection.c:
7691 Changed getNSelectedChildren to correctly call the c
7692 binding for the attribute.
7693 Changed refSelectedChild to getSelectedChild.
7697 Changed getCaption to return an Accessible.
7698 Fixed calls which retrieve attributes.
7699 Changed refAt to getAccessibleAt.
7700 Changed getNSelectedRows and getNSelectedColumns to
7704 Changed getCharacterExtents and getPointAtOffset to accept an
7705 AccessibleCoordType.
7707 Changed calls which retrieve attributes.
7708 Changed refRunAttributes to getAttributes.
7713 * idl/Hyperlink.idl:
7714 Changed n_anchors attribute to nAnchors to keep naming
7715 convention consistent.
7718 Made Table inherit from Bonobo::Unknown.
7719 Added nSelectedColumns and nSelectedRows attributes.
7722 Made Value inherit from Bonobo::Unknown.
7724 * libspi/hyperlink.c:
7725 Change for nAnchors attributte name change.
7728 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7730 implementations-- made server implementations own AtkObject pointers
7731 rather than their respective AtkInterrface pointers to fix
7732 refcounting. AtkHyperlink is still broken.
7734 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7735 * cspi/spi_accessible.c:
7736 Added method Accessible_Role_getName(),
7737 and requisite string array (role_names).
7738 Added conversion string_from_corba_strin() call
7739 to Accessible_getName and _getDescription.
7740 * libspi/accessible.c:
7741 Added implementation for Accessible_getRole()
7743 Added festival support, used if environment variable
7746 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7748 * at-bridge/bridge.c:
7749 Now allocate Accessibility_Event using
7750 Accessibility_Event__alloc() instead of g_new0().
7751 * libspi/accessibleeventlistener.c:
7752 Initialize AccessibleEventListener->callbacks to NULL.
7753 Fixed accessible__event_listener_init() param, changed to
7754 "AccessibleEventListener *" type.
7755 Changed a bonobo_object_release_unref() call to
7756 Accessibility_Accessible_unref().
7757 * libspi/listener.c:
7758 Changed Bonobo_Unknown_unref to (equivalent)
7759 Accessibility_Accessible_unref.
7760 * libspi/registry.c:
7761 Changed bonobo_object_release_unref to
7762 Accessibility_Accessible_unref.
7764 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7767 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7768 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7769 spi-util.c spi-util.h
7770 Implementations for C bindings to remaining accessibility
7773 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7776 changed return value of Action from void to boolean to
7777 bring in line with ATK.
7780 Changed getText funcions to return "out" start and end offsets.
7781 Changed getAttributes to take and offset and return the start
7782 and end offset of the attribute run.
7783 Changed getOffsetAtPoint and getCharacterExtents to take an
7784 enum describing whether coordinates are window or screen.
7787 libspi/action.c libspi/action.h libspi/editabletext.c
7788 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7789 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7790 libspi/image.h libspi/selection.c libspi/selection.h
7791 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7792 libspi/value.c libspi/value.h
7793 Added server implementations for outstanding ATK interfaces
7794 not yet implemented.
7796 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7799 Added (missing) getName() method.
7800 Made nActions an attribute.
7801 * idl/EditableText.idl:
7802 Changed order of params in setAttributes.
7803 * idl/Hyperlink.idl:
7804 Removed getAnchor, added getURI.
7806 Changed attributes to methods, for efficiency
7807 (so that getting extents can be done in one call)
7808 * idl/Selection.idl:
7809 Changed nSelectedChildren to attribute, and re-indented.
7810 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7812 * idl/Text.idl: reformatted to match our coding style.
7813 (temporarily?) removed getRowColumnAtOffset().
7814 Changed text selection API to support multi-select and
7815 non-contiguous selections, as in ATK.
7816 * idl/Value.idl: changed some methods to attributes.
7818 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7820 * libspi/listener.c(impl_notify_event):
7821 BonoboUnkown_unref the source instead
7822 of bonobo_object_release_unref - the ORB
7823 handles the releasing.
7825 * configure.in: require ORBit-2.3.94 for
7828 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7830 Tagged CVS repository 'EA_1_0'.
7831 * README.EARLY_ACCESS:
7832 Alphabetized acknowledgements list, and
7834 Listed some known dependencies of at-spi.
7836 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7838 * docs/at-spi-docs.sgml:
7839 * docs/at-spi-sections.txt:
7840 * docs/at-spi-overrides.txt: (Added zero-length file)
7841 Documentation improvements - gtk-doc should build
7842 docs for all implemented C bindings now.
7845 * cspi/spi.c: (New file)
7846 * cspi/spi_event.c: (New file)
7847 * cspi/spi_registry.c: (New file)
7848 * cspi/spi_accessible.c: (New file)
7849 * cspi/spi_application.c: (New file)
7850 * cspi/spi_component.c: (New file)
7851 Split spi_main.c into six parts, and included them from
7852 "spi.c". This is a bit of a hack, probably temporary,
7853 but required by gtk-doc, apparently.
7855 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7858 * docs/at-spi-docs.sgml:
7859 * docs/at-spi-sections.txt:
7861 Initial checkins/modifications for gtk-doc generation.
7864 Added (missing) interface query methods to Accessible's C binding.
7866 Added GenericInterface type definition.
7868 Added query for AccessibleComponent interface to focus event handler.
7869 Added printout of bounding box for focussed component.
7870 * libspi/component.c:
7871 Added partial implementation for AccessibleComponent to C binding.
7872 * idl/Application.idl:
7873 * libspi/registry.c:
7874 * libspi/listener.c:
7875 * libspi/application.c:
7876 * libspi/application.h:
7877 Changed "ID" attribute type from string to long.
7879 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7883 Made method naming consistent: methods taking object args
7884 start with uppercase, other methods (except those using
7885 acronyms) start with lowercase. Underscores delimit between
7886 object names and method names:
7887 SPI_init() - uppercase since it starts with an acronym.
7888 getDesktopCount () - lowercase start since no object param0.
7889 Accessible_getName() - uppercase object type name, studlyCaps method
7893 Added gtk-doc documentation for all currently implemented
7894 methods in the C bindings API.
7896 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7898 * Makefile.am : changed build order to build test last.
7901 Changed "createEventListener" to "CreateEventListener".
7902 * libspi/accessibleeventlistener.c :
7903 Bugfix for addition of callbacks.
7904 * test/Makefile.am :
7905 * test/simple-at.c :
7906 Added new test that uses the C bindings API.
7908 * libspi/listener.c :
7909 * libspi/registry.c :
7910 * libspi/accessibleeventlistener.c :
7911 * at-bridge/bridge.c :
7912 Renamed member "target" of Accessibility_Event to "source",
7913 which is more descriptive.
7916 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7920 * cspi/Makefile.am :
7921 Added makefile support for at-spi/cspi directory.
7924 * cspi/spi-listener.h : (NEW FILE)
7925 Added support for/use of spi-listener.h.
7927 C bindings now build successfully, with no warnings.
7928 * libspi/accessibleeventlistener.h : (NEW FILE)
7929 * libspi/accessibleeventlistener.c : (NEW FILE)
7930 * libspi/Makefile.am :
7931 Added new object type "AccessibleEventListener"
7932 which inherits from Listener, and allows attachment
7933 of in-process callbacks (so that a client with a listening
7934 object instance can add functionality to the local
7935 implementation, dynamically).
7937 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7939 * libspi/accessible.c:
7940 Add implementation for get_index_in_parent().
7942 Added #include of "spi-roletypes.h", and
7943 added enumerated type AccessibleCoordType.
7944 Added definition for KeystrokeListener (function type).
7947 * cspi/spi-statetypes.h :
7948 * cspi/spi-roletypes.h :
7950 Added these headers, used by spi.h.
7952 Added code (NOTE: not yet built by make).
7954 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7956 * libspi/Makefile.am: generate imodule
7957 at the same time as other idl compiler
7960 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7961 * libspi/registry.c :
7962 * libspi/application.c :
7963 * idl/Application.idl :
7964 Made registration with toolkit an application method,
7965 which is required since each app has its own toolkit static
7966 environment. Thus the bridge must register for
7967 notification of toolkit events from each application in turn.
7968 Toolkit notifications are now successfully registered for, and
7969 sent to the listening at client.
7971 Changed toolkit event string to use hyphens rather than underscores.
7972 * libspi/listener.c :
7973 listner now gives more info in debug mode - it reports the
7974 name of the event received, as well as the name of the source.
7977 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7979 * libspi/registry.c :
7980 added more implementation for toolkit events.
7981 Fixed bug such that toolkit event registrations
7982 (via atk) use the whole event name string, not
7984 Removed a useless call to an ORBit_ method.
7985 * at-bridge/bridge.c :
7986 Removed unused local sbuf[] variable.
7988 We now register for Gtk:GtkWidget:button_press_event
7989 events as well as "focus:" events.
7991 Add some more API from Registry.idl that was missing,
7992 for keystroke listening, keystroke and mouse event
7993 synthesis, and enumeration of accessible desktops.
7995 2001-08-16 Michael Meeks <michael@ximian.com>
7997 * configure.in: use AM_GLIB_GNU_GETTEXT.
7999 * Makefile.am (SUBDIRS): kill intl.
8001 2001-08-15 Michael Meeks <michael@ximian.com>
8003 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8005 * configure.in: upd.
8007 * configure.in: depend on a recent bonobo-activation that
8008 will find our server files ...
8010 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8012 * libspi/accessible.c : accessible_new() :
8013 Now we add the Component interface via bonobo_object_add_interface,
8014 if the contained AtkObject implements AtkComponent.
8015 * libspi/accessible.h : now include "component.h"
8016 * libspi/component.h :
8017 * libspi/component.c : added files - implementation of
8018 bonobo wrapper object for Accessibility/Component
8019 * libspi/listener.c :
8020 Added test code to check for Accessibility/Component:1.0
8021 interface and report whether it is implemented by the
8023 * libspi/registry.c :
8024 Now we check for not only the hash of the whole event
8025 string before relaying the event, we also check the
8026 "minor" event string (without the detail string).
8027 This allows event listeners to be registered against
8028 all events of a certain major+minor type, or just
8029 against a specific major+minor+detail type.
8030 * libspi/accessible.c :
8031 Added implementations for Accessible:get_parent(),
8032 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8033 * libspi/registry.c :
8034 * libspi/listener.c :
8035 Replaced calls to Accessibility_Accessible_ref() and
8036 Accessibility_Accessible_unref() with
8037 calls to bonobo_object_dup_ref() and
8038 bonobo_object_release_unref(), so that the CORBA object
8039 is dup-ed and released when relayed, as well as the bonobo object.
8041 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8043 * libspi/Makefile.am,
8044 registryd/Makefile.am,
8045 at-bridge/Makefile.am.
8046 test/Makefile.am, configure.in:
8047 reverse previous changes.
8049 * /idl/Image.idl: fix typo.
8051 * test/Makefile.am: put DEBUG_FLAGS
8054 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8056 * test/app.c: use argv[0] instead of
8059 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8061 * libspi/Makefile.am,
8062 registryd/Makefile.am,
8063 at-bridge/Makefile.am.
8064 test/Makefile.am, configure.in:
8065 cleanup, replace individual LIBS/CFLAGS with
8066 AT_COMMON_{LIBS|CFLAGS}.
8070 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8072 * configure.in, libspi/Makefile.am:
8073 Change IDL path checking for bonobo-activation
8076 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8078 * registryd/registry.c : separated event listeners to use
8079 3 separate lists (focus, window, toolkit). Began testing
8080 event names against hashes before relaying events.
8081 * test/at.c : now register for events of type "focus:"
8082 * test/app.c : now generate events of type "focus:"
8083 * at-bridge/bridge.c : register with ATK for focus events,
8084 and we now relay those focus events to any "focus:" listeners.
8085 This now works with the bridge as a GTK_MODULE when running test/at.
8086 * libspi/registry.c :
8087 * libspi/listener.c :
8088 now we ref event sources before propagating, and unref on receipt.
8089 * libspi/registry.c :
8090 some changes to internal structs, to support event typestring hashes.
8091 * text/app.c : changed the way the appname is generated.
8092 * cspi : added directory that will hold the C bindings library for
8093 non-CORBA/bonobo-savvy clients.
8094 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8095 * idl/Component.idl : added in parameter to indicate coord system for
8096 geometry-related calls.
8097 * idl/Hyperlink.idl : added readonly n_links attribute
8098 * idl/Image.idl : changed methods to attributes.
8100 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8102 * at-bridge/Makefile.am: link against
8103 ../libspi/libspi.la instead of -lspi.
8105 * at-spi/test/app.c: include
8106 bonobo-activation.h. Use a default appname
8107 if one is not provided.
8109 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8111 * idl/Registry.idl : temporarily changed register_Application
8112 to oneway, to work around issue with initial registration
8114 * idl/Application.idl : changed attribute "id" from readonly
8115 to read-write, since it needs to be assigned by Registry.
8116 * registryd/registryd.c : added call to set application id
8118 * registryd/registry.c : changed de-registration procedure to
8119 use CORBA_Object_hash() to find matching object ref in application
8120 lists and listener lists.
8121 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8122 began distinguishing between event types (work in progress).
8124 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8127 * libspi/application.c:
8128 Added implementations for get/set id, get_toolkitName,
8130 * registryd/registryd.c :
8134 Converted from use of OAF to bonobo-activation.
8135 * libspi/desktop.h :
8136 * libspi/desktop.c :
8138 Removed references to atksimpleobject, since base atkobject
8139 implementation now provides functionality we need.
8140 * libspi/atksimpleobject.c :
8141 * libspi/atksimpleobject.h :
8146 * at-bridge/Makefile.am
8147 * at-bridge/bridge.c
8150 Added directory "bridge" and contents, and added dependencies
8151 in Makefile.am/configure.in.
8152 Initial checkin of "at-bridge".
8153 This code is a GTK_MODULE which automatically registers
8154 GTK+ apps with the accessibility registry, using an object
8155 reference to the root ATK object.
8157 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8159 * po/Makefile.in.in: Remove. Again. If this
8160 doesn't get autogenerated - you need to update
8163 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8165 * po/Makefile.in.in: Add. Again.
8167 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8169 * libspi/accessible.c : added support for 'description' property.
8170 * libspi/accessible.c
8172 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8173 (since the two are now equivalent in libbonobo)
8181 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8182 Bonobo::Unknown as does Accessibility::Accessible.
8183 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8184 interface with Bonobo::Stream, since it was redundant with it.
8185 (The Stream returned by a StreamableContext object is expected to
8186 implement only a subset of Bonobo::Stream)
8188 2001-07-28 Anders Carlsson <andersca@gnome.org>
8190 * libspi/accessible.c (accessible_object_finalize): Change
8191 g_free to g_object_unref since the AtkObject is a GObject.
8193 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8195 * idl/Accessibility.idl: add new IDL files
8198 * idl/Action.idl: Definitions of actionable UI object
8199 * idl/Component.idl: Definitions of UI component geometry, etc.
8200 * idl/Hyperlink.idl: Defs of hyperlink behavior
8201 * idl/Image.idl: Def of accessible image
8202 * idl/Selection.idl: Definition of UI object with selectable children
8203 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8204 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8205 * idl/Text.idl: Interface defs for UI elements with complex textual content
8206 * idl/Value.idl: Definition of UI element that is a value controller or display
8208 2001-07-27 Michael Meeks <michael@ximian.com>
8210 * po/Makefile.in.in: remove autogenerated file from CVS.
8212 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8215 * idl/Registry.idl: include guard.
8217 * idl/Accessibility.idl: Add, and include all the other IDL
8220 * idl/*.idl: remove mass of pragmas etc.
8222 2001-07-26 Michael Meeks <michael@ximian.com>
8224 * registryd/Makefile.am (registryd_SOURCES): remove
8227 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8229 * libspi/.cvsignore, registryd/.cvsignore,
8230 test/.cvsignore: updated.
8232 * po/Makefile.in.in: gettext update.
8234 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8236 * initial CVS checkin
8238 2001-06-29 Michael Meeks <michael@ximian.com>
8240 * configure.in: add AM_CONFIG_HEADER to gen config.h