1 2007-03-29 Ariel Rios <ariel@gnu.org>
3 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
5 2007-03-22 Li Yuan <li.yuan@sun.com>
7 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
8 main context. Fix for #329454.
10 2007-03-12 Li Yuan <li.yuan@sun.com>
12 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
14 2007-03-02 Li Yuan <li.yuan@sun.com>
17 (spi_atk_bridge_register_application),
18 (deregister_application), (spi_atk_bridge_focus_tracker),
19 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
20 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
21 to prevent calling threads_enter/leave during the init and shutdown.
23 2007-02-27 Li Yuan <li.yuan@sun.com>
26 (spi_re_entrant_list_delete_link):
27 Bug #412286. Reverse previous patch.
28 * configure.in, NEWS: Uprev/release 1.17.2.
30 2007-02-26 Li Yuan <li.yuan@sun.com>
32 * libspi/accessible.c:
33 (impl_accessibility_accessible_get_attributes),
34 (impl_accessibility_accessible_get_relation_set):
35 Bug #404584 and #401299. Return an empty object instead of return NULL.
36 * configure.in, NEWS: Uprev/release 1.17.1.
38 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
40 * Makefile.am: Dist MAINTAINERS.
42 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
44 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
45 (atk_bridge_init), (spi_atk_bridge_get_registry),
46 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
47 Fix some compiler warnings and plug a leak. Closes part of
50 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
52 * cspi/bonobo/cspi-bonobo-listener.h:
53 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
54 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
55 * cspi/spi_main.c: (SPI_eventIsReady):
56 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
57 * libspi/streamablecontent.c:
58 * libspi/util.c: (spi_re_entrant_list_delete_link):
59 * login-helper/login-helper.c:
60 * registryd/deviceeventcontroller.c:
61 (spi_controller_update_key_grabs), (isEvent):
62 * registryd/registry.c:
63 * test/key-listener-test.c: (simple_at_exit):
64 * test/login-helper-server-test.c: (test_set_wm_dock),
66 Fix a bunch of warnings from sparse:
67 - ANSIfication of function declarations
70 - make some stuff static
72 2007-02-14 Li Yuan <li.yuan@sun.com>
74 * libspi/accessible.c:
75 (impl_accessibility_accessible_get_attributes):
76 Bug #404584. If there is no attributes, just return NULL.
78 2007-02-12 Li Yuan <li.yuan@sun.com>
80 * configure.in, NEWS: Uprev/release 1.17.0.
82 2007-02-12 Li Yuan <li.yuan@sun.com>
84 * atk-bridge/bridge.c:
85 (atk_bridge_init): bug #400709. we must emit events even if we are not
86 registered as a full-fledged app.
87 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
88 application like openoffice shutdown. They need to unload gtk before
89 the is spi_atk_bridge_exit_func called.
91 2007-01-22 Li Yuan <li.yuan@sun.com>
93 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
95 2007-01-22 Li Yuan <li.yuan@sun.com>
97 * cspi/bonobo/cspi-bonobo.c:
98 (cspi_get_registry_ior), (cspi_init):
99 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
101 2007-01-19 Li Yuan <li.yuan@sun.com>
103 * atk-bridge/bridge.c:
104 (atk_bridge_init), (spi_atk_bridge_register_application),
105 (deregister_application), (spi_atk_bridge_focus_tracker),
106 (spi_atk_emit_eventv):
107 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
110 2007-01-08 Li Yuan <li.yuan@sun.com>
112 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
114 2007-01-08 Li Yuan <li.yuan@sun.com>
116 * registryd/registry-main.c:
117 (main): set registry ior only when register server successfully.
118 * atk-bridge/bridge.c:
119 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
120 Bug #372988, #381670. Fix memory leak.
122 2007-01-02 Bill Haneman <billh@gnome.org>
125 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
126 appending default attributes to a text attribute set.
129 2006-12-28 Li Yuan <li.yuan@sun.com>
131 * atk-bridge/bridge.c:
132 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
133 the second time, because spi_atk_emit_eventv will free any. Bug
136 2006-12-15 Li Yuan <li.yuan@sun.com>
138 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
140 2006-12-14 Li Yuan <li.yuan@sun.com>
143 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
144 (spi_atk_bridge_property_event_listener),
145 (spi_atk_bridge_signal_listener):
146 Free some CORBA objects to fix memory leak and crash.
148 2006-12-13 Li Yuan <li.yuan@sun.com>
150 Patch from Ariel Rios to fix #163132 and #377079.
151 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
152 (spi_atk_bridge_get_registry_ior):
153 Use g_warning instead of g_error and g_critical to avoid crash.
155 2006-12-11 Bill Haneman <bill.haneman@sun.com>
158 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
159 if there are no non-default attributes defined at the current offset.
162 2006-12-04 Bill Haneman <bill.haneman@sun.com>
164 * idl/Accessibility_Role.idl: Fixed the documentation for
165 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
167 2006-12-04 Bill Haneman <bill.haneman@sun.com>
169 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
171 2006-11-07 Bill Haneman <bill.haneman@sun.com>
173 Patches from Padraig O'Briain for bugs #361386 and #369377.
175 * registryd/registry.c:
176 (struct NotifyContext): Change the e_out
177 member from an Accessibility_Event struct to a pointer to
179 (notify_listeners_cb): Modify to use the new struct definition above.
180 Allows use of ORBit_copy_value instead of CORBA_any__copy.
182 * registryd/deviceeventcontroller.c:
183 (spi_dec_button_update_and_emit): Free the event's any_data
185 (spi_dec_mouse_check):Free the event details any struct
187 (spi_device_event_controller_forward_mouse_event): Free any.
188 (spi_device_event_controller_forward_key_event): Ditto.
190 2006-11-07 Bill Haneman <bill.haneman@sun.com>
192 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
193 Don't require gtk+ and gail for building most of at-spi
196 * registryd/registry-main.c (main): We now get te value of display
197 using the env var DISPLAY rather than using the gdk_display_get_default
198 to avoid dependancy of gdk. Also, once the registry is started, we set
199 the ior of the registry as an X property.
200 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
202 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
203 the registration was successfull.
204 (spi_atk_bridge_do_registration): This function now returns success
205 or not on activating the registry.
206 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
207 has been set in the X root window and return it if available.
208 (spi_atk_bridge_get_registry): We now get the registry using the IOR
209 saved as a X property rather than using the OAFID.
211 2006-10-01 Bill Haneman <bill.haneman@sun.com>
213 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
215 2006-09-25 Bill Haneman <bill.haneman@sun.com>
217 * registryd/registry.c:
218 (desktop_remove_application): Don't pass a ref to the
219 dead application with the event, since it's probably
220 defunct and will cause SEGV if we try to unref,
221 extract app name, etc.
224 2006-09-20 Bill Haneman <bill.haneman@sun.com>
226 Patch from Neo Liu <nian.liu@sun.com>,
229 * atk-bridge/bridge.c:
230 (spi_atk_bridge_document_event_listener): New, for
233 2006-08-30 Bill Haneman <bill.haneman@sun.com>
236 Changed some parameter names so as not to
237 collide with class names - allows IDL to be compiled with
238 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
240 2006-08-22 Bill Haneman <bill.haneman@sun.com>
242 * atk-bridge/bridge.c:
243 (spi_atk_bridge_signal_listener):
244 Patch from Ginn Chen, assign detail1 in children-changed
245 so that the child object can be assigned to the Any when the
246 at-spi event is emitted. Bug #350552.
248 * libspi/application.c:
249 (spi_application_finalize): Remove g_print debug output.
252 2006-08-21 Bill Haneman <bill.haneman@sun.com>
254 * configure.in: Revved to AT-SPI 1.7.11.
256 * libspi/accessible.c:
257 (spi_accessible_new): Aggregate Hyperlink interface
258 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
260 * libspi/hyperlink.c:
261 (spi_hyperlink_new): Don't aggregate Action a second time if this
262 interface is created for an AtkHyperlinkImpl object (i.e. for a
263 child Accessible, as opposed to the Hyperlink instance from
265 (get_hyperlink_from_servant): Obtain the hyperlink from
266 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
268 Patch section from Ginn Chen...
270 * cspi/spi_accessible.c:
271 (_cspi_accessible_set_from_sequence):
272 Changed g_newa to g_new0 on Ginn Chen's suggestion.
274 * libspi/accessible.c:
275 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
276 (spi_accessible_new): Add the Document interface if present.
279 (impl_getAttributes): Fixed to use AtkAttribute properly.
282 (impl_getAttributes, impl_getDefaultAttributes):
283 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
285 2006-08-17 Bill Haneman <bill.haneman@sun.com>
287 * cspi/spi-private.h, cspi/spi_accessible.c:
288 (_cspi_attribute_set_from_sequence): Renamed from
289 cspi_attribute_set_from_sequence, to suppress export.
292 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
293 inline docs, which was keeping the doc from appearing.
294 (SPIExceptionHandler): Doc this.
296 * cspi/spi_document.c:
297 Added inline gtk-docs cut-n-pasted from the doxygen
298 docs in the corresponding IDL files.
299 (AccessibleDocument_getAttributes): Fix the retval here.
301 * cspi/spi_streamablecontent.c:
302 Fixed some 'Since' tags that were accidentally doxygen-style.
305 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
306 docs from the IDL file.
308 * docs/reference/cspi/at-spi-cspi-docs.sgml:
309 Added entities for Document and StreamableContent interfaces.
311 * docs/reference/cspi/at-spi-cspi-sections.txt:
312 Added some docs that were present inline but not getting
315 2006-07-31 Bill Haneman <bill.haneman@sun.com>
318 (impl_getRangeExtents): Use the atk_text_get_range_extents
319 API instead of looping over character bounds, now that
321 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
322 (_spi_text_bounds_contain): Remove, not needed anymore.
323 (_spi_text_rect_union): Remove, not needed anymore.
325 2006-07-31 Bill Haneman <bill.haneman@sun.com>
327 * atk-bridge/bridge.c:
328 (spi_atk_emit_eventv): Fix the CORBA_free call which was
329 causing 64-bit troubles and memory leaks.
330 Special thanks to Alexander Larsson who finally seems to
331 have tracked down the problem, not just here but in
335 (spi_init_any_object): Make sure we copy the CORBA value
336 when initializing an object for passing as a CORBA_Any.
339 2006-07-21 Bill Haneman <billh@gnome.org>
341 * idl/Accessibility.idl:
342 Reverted pragma changes, this broke the build in some envs
343 including the Debian team's build and some tinderbox builds.
345 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
348 Revved to 1.7.10, and edited the Xevie check (bug #319994).
350 * idl/Accessibility.idl:
351 Reworked inclusion of Bonobo_Unknown.idl, to
352 avoid double-linking libs in the Bonobo environment.
353 Thanks to Michael Meeks for the workaround, see bug #313122.
355 * registryd/deviceeventcontroller.c:
356 (spi_controller_notify_keylisteners):
357 Set the SPI_NUMLOCK_MASK bit if the modifier
358 corresponding to the conceptual numlock state is set.
361 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
363 * idl/Accessibility_Selection.idl:
364 (deselectChild): New method.
366 * libspi/selection.c:
367 (impl_deselectChild): Implement the new IDL method.
370 (AccessibleSelection_deselectChild): Added new method.
372 * cspi/spi_selection.c:
373 (AccessibleSelection_deselectChild): New method implemented.
375 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
377 * cspi/bonobo/cspi-bonobo.c:
378 (cspi_init): Replace g_error with g_warning, prevent
379 SEGV if the registry cannot be activated. Bug #346393.
381 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
383 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
385 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
386 2006-07-12 Ariel Rios <arios@us.ibm.com>
390 * idl/Accessibility_Table.idl:
391 (getRowColumnExtentsAtIndex): New method for getting
392 selection status and extents in one API call.
395 (impl_getRowColumnExtentsAtIndex): Implementation of
397 (spi_table_class_init): Add above to epv.
401 (AccessibleTable_getRowColumnExtentsAtIndex): New
402 method, retrieves selection status and row/col extents
403 for a table cell in a single API call.
405 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
406 2006-07-12 Ariel Rios <arios@us.ibm.com>
408 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
411 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
412 New bindings for new methods defined in idl and libspi.
415 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
416 Added prototype functions.
419 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
421 (spi_text_class_init): Added previous methods.
424 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
425 * libspi/spi-private.h: Corrections.
427 2006-06-29 Bill Haneman <bill.haneman@sun.com>
429 Added Document interface (see bug #326520),
430 with work from Ariel Rios <arios@us.ibm.com>.
432 * configure.in: Bump to 1.7.8.
434 * libspi/Makefile.am: Added document.[ch] to sources
437 (SpiDocument, SpiDocumentClass):
438 New interface implementation.
439 (spi_document_get_type, spi_document_construct)
440 (spi_document_interface_new): New methods added.
441 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
442 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
443 Added macros for SpiDocument
447 (spi_document_interface_new): Get a
448 new document interface. New.
449 (get_document_from_servant): Get an AtkDocument from servant New.
450 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
451 Implementation of methods defined on idl.
452 (spi_document_class_init, spi_document_init)
453 Init methods for SpiDocument. new
455 * idl/Accessibility.idl: Added Accessibility_Document.idl.
457 * cspi/Makefile.am: Added spi_document.c to sources.
459 * cspi/spi_document.c:
460 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
461 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
462 (AccessibleDocument_getAttributes): Bindings for methods defined
465 * cspi/spi_accessible.c:
466 (Accessible_isDocument, Accessible_getDocument) New.
468 (Accessible_isDocument, Accessible_getDocument)
469 (AccessibleDocument_ref, AccessibleDocument_unref)
470 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
471 (AccessibleDocument_getAttributes): Bindings added.
473 * idl/Makefile.am: Added Accessibility_Document.idl to
476 2006-06-29 Bill Haneman <bill.haneman@sun.com>
478 * idl/Accessibility_Document.idl: New interface
479 for complex documents. First stage of fix for RFE
482 2006-06-27 Bill Haneman <bill.haneman@sun.com>
484 * libspi/streamablecontent.c:
485 (impl_content_stream_close):
486 Unref the GIOChannel on close.
488 2006-06-23 Bill Haneman <bill.haneman@sun.com>
490 * idl/Accessibility_Role.idl:
491 * libspi/accessiblerole.c:
492 * cspi/spi_accessible.c: Added ROLE_LINK,
493 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
494 Bug #345758 and bug #140635.
497 2006-06-22 Bill Haneman <bill.haneman@sun.com>
501 * idl/Accessibility_StreamableContent.idl:
502 Fix derivation of StreamableContent and ContentStream.
504 * cspi/spi_streamablecontent.c:
505 (accessible_content_stream_client_read):
506 Fix the datatype of the content stream used.
507 Interpret short reads as EOF, and stop trying to
508 read when we've fulfilled the request.
509 (AccessibleStreamableContent_getContentTypes):
510 Use g_strdup, not CORBA_string_dup, for the strings.
511 (AccessibleStreamableContent_open):
512 Correctly use the new getStream method for opening,
513 not the deprecated getContent method.
514 Use the object reference as the stream hash key.
515 Make note of the 'one stream per client per streamable'
516 limitation in the docs.
519 Add streamablecontent.h to the list of #includes.
521 * libspi/streamablecontent.c:
522 (impl_content_stream_read): Initialize the GError.
523 Allocate the incoming buffer if reading a fixed length of
524 data. Use g_memmove instead of memcpy.
525 (impl_accessibility_streamable_get_content_types):
526 Init typelist->_maximum. Only allocate the buffer if
527 there is a non-zero number of content types available.
528 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
530 * libspi/streamablecontent.h:
531 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
534 (SPI_IS_VALUE): Fix a typo in this macro too.
536 2006-06-16 Bill Haneman <bill.haneman@sun.com>
540 * idl/Accessibility_StreambleContent.idl:
541 Deprecate the Bonobo_Stream-based methods in favor of
542 a self-contained "ContentStream" interface. This should
543 allow us to remove BonoboStream dependencies entirely, since
544 there were no non-NIL implementations of the old methods anyway.
545 (ContentStream): New interface.
546 (ContentStream::SeekType): Enum.
547 (ContentStream::seek): New.
548 (ContentStream::read): New.
549 (ContentStream::close): New.
550 (getContent): Deprecate.
551 (getURI): New method, returns a URI pointing to the content, if available.
553 * libspi/streamablecontent.c:
554 (SpiContentStream): Internal object type definition used to
555 implement Accessibility::StreamableContent::ContentStream via
556 AtkStreamableContent's GIOChannel back-end.
557 (spi_content_stream_new, spi_content_stream_dispose): See above;
559 (impl_content_stream_seek, impl_content_stream_read):
560 (impl_content_stream_close): New, implementations of
562 (impl_accessibility_streamable_get_stream): Implement the
563 public method Accessibility::StreamableContent::getStream.
564 (impl_accessibility_streamable_get_uri): Implement the
565 public method Accessibility::StreamableContent::getURI.
567 * cspi/spi_streamablecontent.c:
568 (accessible_bonobo_stream_client_seek): Replaced by
569 (accessible_content_stream_client_seek).
570 (accessible_bonobo_stream_client_read): Replaced by
571 (accessible_content_stream_client_read).
572 (AccessibleStreamableContent_open):
573 (AccessibleStreamableContent_seek):
574 (AccessibleStreamableContent_read):
575 (AccessibleStreamableContent_close): Use the new 'getStream'
576 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
578 2006-06-15 Bill Haneman <bill.haneman@sun.com>
580 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
581 remove from other .idl files (except LoginHelper).
584 2006-06-14 Bill Haneman <bill.haneman@sun.com>
586 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
589 * configure.in, */Makefile.am: mingw patch, modified from
590 original patch by yselkowitz. Bug #314216.
592 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
593 for completeness. Bug #163111.
595 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
596 * libspi/util.c, registryd/registry-main.c:
597 Fix guint/char* casts.
598 Patch from chpe, bug #333883.
600 2006-06-12 Bill Haneman <bill.haneman@sun.com>
602 * configure.in: Require atk-1.12.0, to pick up
603 new API. (bug #344412).
605 * libspi-1.0-uninstalled.pc.in:
607 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
608 Fix for #341488 from Samual Thibault.
610 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
611 Thanks to Brian Pepple.
613 2006-06-09 Bill Haneman <bill.haneman@sun.com>
616 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
617 New, missing implementations of attribute reading methods
620 * cspi/spi.h, spi_value.c:
621 (AccessibleValue_getMinimumIncrement): New methods wrapping
622 the (formerly unimplemented) property from Value.idl.
625 (impl_get_minimumIncrement): Implementation for retrieving
626 the minimum valuator increment, (formerly unimplemented).
629 2006-06-09 Bill Haneman <bill.haneman@sun.com>
631 * idl/Accessibility_State.idl:
632 Added STATE_VISITED (bug #338369).
634 * cspi/spi_accessible.c:
635 (spi_state_to_corba) Fixed marshalling of new statetypes.
638 (spi_init_state_tables, impl_getStates):
639 Fixed conversion of new statetypes to/from ATK.
641 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
643 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
644 definitions/conversions for new roles from ATK.
646 * idl/Accessibility_Relation.idl:
648 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
649 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
650 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
652 * libspi/accessible.c: Fixed marshalling of new role types from
655 2006-04-17 Matthias Clasen <mclasen@redhat.com>
657 * revert my previous change
659 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
661 * configure.in: Remove obssolete no_NO locale
662 * po/no.po: And the translation.
664 2006-04-05 Matthias Clasen <mclasen@redhat.com>
666 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
667 memory-management error that caused crashes on x86_64.
670 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
672 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
674 2006-03-27 Bill Haneman <bill.haneman@sun.com>
676 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
677 to strip "cspi_*" from the symbol table.
679 * cspi/spi_streamablecontent.c:
680 (get_streams): Make this method static.
683 (_cspi_exception_throw): rename to cspi_exception_throw,
684 so we can strip it with the rest...
687 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
689 2006-03-27 Bill Haneman <bill.haneman@sun.com>
691 Add doxygen-generated IDL docs to tarball, and enable
692 doxygen during build/install when available. Bug #301345.
694 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
696 * docs/reference/Makefile.am: Add idl to SUBDIRS.
698 * docs/reference/idl/Makefile.am: Optionally use
699 doxygen to create docs.
701 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
703 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
705 2006-03-20 Bill Haneman <bill.haneman@sun.com>
708 (impl_get_selected_rows): Don't free the selection if it's
709 empty or has not been assigned; init it to NULL so you can tell.
710 Also, allow for zero selected rows.
711 (impl_getSelectedColumns): Ditto. Bug #319088.
713 2006-03-11 Vincent Untz <vuntz@gnome.org>
715 Leak fix for bug #334217.
717 * libspi/application.c: spi_application_toolkit_event_listener():
718 don't duplicate the string we pass as an argument to
719 spi_init_any_nil() since spi_init_any_nil() already does it
720 * registryd/deviceeventcontroller.c:
721 (spi_dec_button_update_and_emit): ditto
722 (spi_dec_mouse_check): ditto
723 (spi_dec_emit_modifier_event): ditto
724 (spi_device_event_controller_forward_mouse): ditto
725 * registryd/registry.c:
726 (desktop_add_application): ditto
727 (desktop_remove_application): ditto
729 2006-02-20 Bill Haneman <billh@gnome.org>
731 * configure.in: Rev to 1.7.6.
733 Leak fixes for bug #331924.
735 * atk-bridge/bridge.c:
736 (spi_atk_bridge_init_base): Don't dup the string, it's already
737 been dup-ed. Fixes a leak.
738 (spi_atk_emit_eventv): Move the CORBA_free call here,
739 instead of spi_atk_state_event_listener; fixes another leak.
740 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
741 notifying the registry; fixes another leak.
743 * registryd/registry.c:
744 (registry_flush_event_queue): Free the CORBA_any when
745 flushing the event, not just the string. Fixes another leak.
746 (registry_queue_event): Free the CORBA_any when dropping
747 events on the floor; fixes another leak.
750 (spi_init_any_object, spi_init_any_nil):
751 Always set _release to TRUE. Fixes another leak.
753 2006-02-20 Bill Haneman <billh@gnome.org>
755 * configure.in: Rev to 1.7.5.
756 Reinstate localization of this module. Thanks for Rodney
757 Dawes for fixing my patch.
759 * registryd/Makefile.am: Remove Accessibility_Registry.server
760 from dist, since it needs to be re-created at configure time.
763 2006-01-31 Bill Haneman <billh@gnome.org>
765 * configure.in: Rev to 1.7.4 (to include build fix below).
767 * idl/Makefile.am: Include Selector.idl in dist.
771 (cspi_internal_event_get_object): Handle case where
772 "object" isn't present, i.e. CORBA_TC_Object doesn't match
773 the EventDetails data.
774 (cspi_internal_event_get_text): Handle NULL string.
775 (cspi_internal_event_get_rect): Handle missing/empty rect
776 data, Accessibility_TC_RectBounds doesn't match any_data.
778 2006-01-30 Bill Haneman <billh@gnome.org>
782 * atk-bridge/bridge.c:
783 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
784 interface and use that when instantiating a new source
785 accessible. Better fix for bug #321814.
787 2006-01-27 Bill Haneman <billh@gnome.org>
789 * idl/Accessibility_Selector.idl: Added to the cvs repository.
791 * configure.in: Revved to 1.7.3.
793 2006-01-17 Bill Haneman <billh@gnome.org>
795 * configure.in: Revved to 1.7.2, re-dist to include docs.
797 2006-01-09 Bill Haneman <billh@gnome.org>
799 * configure.in: Removed po/Makefile.in inclusion, we do not need
802 * idl/Accessibility.idl: Improved documentation here, and for all
803 IDL in the 'GNOME::Accessibility' namespace.
805 * idl/Accessibility_Accessible.idl:
806 (LOCALE_TYPE): Added enum.
807 (AttributeSet): New, for returning multiple name/value attribute pairs.
808 (RoleSet): New, sequence of Roles, to be used in upcoming
810 (getAttributes): New API, allows retrieval of name/value pair
811 annotations for all kinds of Accessible objects. C.f.
812 Text:getAttributes, which is only for typographic/textual/semantic tags in
814 (getApplication): New, retrieves the host/containing Application
815 instance for an object (without having to walk up the whole tree).
817 * idl/Accessibility_Component.idl:
818 (getAlpha): New method, returns the alpha blending (aka 'opacity')
819 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
822 * idl/Accessibility_Event.idl:
823 (EventDetails): New struct definition, for encapsulating
824 commonly-queried information about emitted events. The use of
825 this structure in emitted events (in the 'any' member of
826 Accessibility_Event) should greatly reduce the number of
827 client-server roundtrips necessary.
829 * idl/Accessibility_Image.idl:
830 (imageLocale): New, a readonly attribute indicating the POSIX
831 LC_MESSAGES locale of the image and associated Alt/descriptive
834 * idl/Accessibility_Relation.idl:
835 (RELATION_PARENT_WINDOW_OF): Include, as complement to
838 * idl/Accessibility_Role.idl:
839 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
840 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
841 complex document and form support.
843 * idl/Accessibility_State.idl:
844 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
845 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
846 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
847 for support of complex documents and forms.
849 * idl/Accessibility_StreamableContent.idl:
850 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
851 allow old bonobo-stream interfaces to be deprecated in the next
854 * idl/Accessibility_Text.idl:
855 (getAttributeValue): New method, allows query-by-name of single
858 * libspi/accessible.c:
859 Added support for new roles. Implemented new methods
860 (impl_accessibility_accessible_get_application): New
861 (impl_accessibility_accessible_get_attributes): New
863 * libspi/component.c:
864 (impl_accessibility_component_get_alpha): New.
867 (impl_accessibility_image_get_locale): New.
869 * libspi/relation.c: Added support for new relation type.
871 * libspi/stateset.c: Added support for new state types.
874 (impl_getAttributeValue): New.
877 New prototypes for private methods
879 spi_init_any_object, spi_init_any_string,
882 * libspi/spi_event.c:
883 Use EventDetails in the event emission methods.
885 * cspi/spi-private.h:
886 (cspi_role_from_spi_role): Expose this adapter method, since
887 we need it in the bridge (see below).
890 (AccessibleEvent_getSourceName):
891 (AccessibleEvent_getSourceRole):
892 (AccessibleEvent_getSourceApplication):
893 (AccessibleEvent_getSourceDetails):
894 New methods for interrogating/demarshalling
895 event details (i.e. source's accessible name, role,
898 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
899 Make use of the new EventDetails struct in events, if present.
900 (AccessibleEvent_getSourceName)
901 (AccessibleEvent_getSourceRole)
902 (AccessibleEvent_getSourceApplication)
903 (AccessibleEvent_getSourceDetails): Implement the newly exposed
905 (Accessible_getAttributes): New, wraps
906 Accessibility_Accessible_getAttributes.
907 (Accessible_getHostApplication): New, wraps
908 Accessibility_Accessible_getApplication.
911 (AccessibleImage_getImageLocale): New wrapper for
912 Accessibility_Image_get_imageLocale.
914 * cspi/spi_component.c:
915 (AccessibleComponent_getAlpha): New wrapper for
916 Accessibility_Component_getAlpha.
918 * atk-bridge/bridge.c:
919 Use new prototyped for init_any methods.
920 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
921 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
922 (spi_atk_bridge_init_base): Wrappers
923 for spi_init_any_* methods, due to refactor; include extended
924 information in the Accessibility_EventDetails struct, for instance
925 accessible-name, Role, and containing Application.
927 * registryd/registry.c:
928 Use new event emission (with EventDetails).
930 * registryd/deviceeventcontroller.c:
931 Use new event emission (with EventDetails).
933 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
935 * configure.in: Generate po/Makefile.in
936 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
937 * cspi/spi_streamablecontent.c:
938 (accessible_bonobo_stream_client_seek),
939 (AccessibleStreamableContent_seek): Remove unused vars.
940 * libspi/application.c: Missing header.
941 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
942 * login-helper/login-helper.c: (login_helper_finalize),
943 (login_helper_init): Remove unused stuff
944 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
945 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
946 and surround some with #ifdef GRAB_BUTTON.
947 * test/event-listener-test.c: (main), (report_event),
948 (report_caret_event), (report_detail_event),
949 (report_detail1_event), (report_bounds_event), (report_text_event),
950 (report_text_selection_event),
951 (report_active_descendant_changed_event),
952 (report_children_changed_event), (report_name_changed_event),
953 (report_description_changed_event), (report_parent_changed_event),
954 (report_window_event), (report_table_summary_event),
955 (report_table_header_event), (report_table_caption_event),
956 (report_table_row_description_event),
957 (report_table_column_description_event), (timing_test_event):
958 Remove a bunch of unused variables and fix a slew of format specifiers
959 * test/key-listener-test.c: (report_all_key_event): Format specifier
960 * test/keypad-test.c: (print_key_event): Same
961 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
963 * test/screen-review-test.c: (main), (print_chunk_debug),
964 (review_buffer_get_text_chunk), (debug_chunk_list),
965 (string_guess_clip), (text_chunk_get_clipped_string),
966 (text_chunk_list_to_string), (get_screen_review_line_at):
967 Remove unused variables and fix format specifiers.
968 * test/simple-at.c: (report_text_event): Format specifier fix.
969 * test/stress-test.c: (main): Remove unused var.
971 2005-12-29 Abel Cheung <maddog@linuxhall.org>
973 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
974 (yes I know that's useless)
976 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
978 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
980 2005-11-17 Michael Meeks <michael.meeks@novell.com>
982 * atk-bridge/bridge.c (spi_atk_emit_eventv):
983 urgh-fix embarassing typo.
985 2005-11-16 Michael Meeks <michael.meeks@novell.com>
987 * atk-bridge/bridge.c (spi_atk_emit_eventv):
988 do a faster, less problematic _unref call on this local
989 object, rather than a slower (potentially cross-thread
990 complicated) CORBA call.
992 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
994 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
995 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
996 * registryd/deviceeventcontroller.c:
997 (spi_controller_notify_mouselisteners),
998 (impl_generate_keyboard_event):
999 * test/screen-review-test.c: (chunk_bounds_within):
1000 * test/test-simple.c: (test_desktop): Remove some unused code
1001 and fix compiler warnings. Closes bug #320049.
1003 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1005 * registryd/deviceeventcontroller.c:
1006 (spi_controller_notify_keylisteners): Check
1007 to make sure the event listener has requested 'preemptive'
1008 status before pre-empting an event.
1010 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1012 * configure.in, README, NEWS: Release 1.6.5.
1014 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1016 * test/window-listener-test.c: Fix a printf
1017 format error. (#169453)
1019 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1021 * tests/test-simple.c:
1022 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1023 relying on the old string from the key event hanging around after
1024 the event handler returns. Fixes broken 'make check'.
1026 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1028 * Added Marathi (mr_IN) translations.
1030 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1032 * cspi/bonobo/cspi-bonobo-listener.c:
1033 (cspi_event_list_remove_by_cb): Fix the build.
1035 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1037 * cspi/bonobo/cspi-bonobo-listener.c
1038 (cspi_event_list_remove_by_cb): actually filter by callback.
1040 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1042 * registryd/registry.c (remove_listener_cb):
1043 Make deregistration filter rules match the event emission rules.
1045 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1047 * registryd/registry.c (remove_listener_cb),
1048 (impl_accessibility_registry_deregister_global_event_listener),
1049 (impl_accessibility_registry_deregister_global_event_listener_all):
1050 pass a closure to the remove callback to filter listeners more
1051 accurately on remove.
1053 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1055 * configure.in: Revved to 1.6.4.
1056 Remember to put quotes around XEVIE_LIBS assignment.
1057 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1060 * tests/event-listener-test.c: Tweaked the tests - more detail
1061 from caret events, and some interrogation of AccessibleText APIs.
1062 Commented-out the bounds-changed events by default, since they can
1065 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1067 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1068 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1069 Same here. Closes bug #167806
1071 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1073 * atk-bridge/bridge.c:
1074 (spi_atk_bridge_signal_listener):
1075 Free the any._value if any._release is TRUE,
1076 since the ORB won't do it for us in this case
1077 [because this method is not a skel].
1078 Fix for bug #168679.
1080 2005-03-30 Steve Murphy <murf@e-tools.com>
1082 * configure.in: Added "rw" to ALL_LINGUAS.
1084 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1086 * configure.in: Improved check for HAVE_XEVIE, to detect
1087 presence on XOrg, where -lXevie is a separate library.
1089 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1091 * configure.in, NEWS, README: Revved to 1.6.3.
1093 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1095 * configure.in: Added "xh" to ALL_LINGUAS.
1097 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1099 * atk-bridge/bridge.c:
1100 (atk_bridge_init): Added missing NULL in g_strconcat(),
1101 also check for symlink before logging to
1102 insecure directory. Thanks to meissner@suse.de.
1104 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1106 * tests/login-helper-server-test.c: Add return call to main
1107 function. Patch from Chris Lahey. Fixes bug #165129.
1109 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1111 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1113 2004-12-09 Bill Haneman <billh@gnome.org>
1115 * registryd/registry-main.c:
1116 Added #define <string.h> for strrchr. (bug 160862).
1117 Thanks to Vincent Berger for catching.
1119 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1121 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1122 restart registry process if the registry process is found to have died
1123 and the current process is exiting.
1124 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1125 application if the registry process has died.
1126 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1127 does not return a registry object.
1128 (spi_atk_tidy_windows): Give up if the registry process has died.
1130 This fixes problems with hangs and crashes when logging out.
1132 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1134 * registryd/desktop.c: Add checking that we are not exiting before
1135 calling spi_desktop_remove_application in
1136 abnormal_application_termination. Fix for bug #152147.
1138 2004-12-02 Bill Haneman <billh@gnome.org>
1140 * configure.in, NEWS, README: Revved to 1.6.1.
1142 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1143 * atk-bridge/bridge.c:
1144 (atk_bridge_init): Save the pid when we start, to detect forks.
1145 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1146 if we're in a forked pid.
1148 2004-10-09 Bill Haneman <billh@gnome.org>
1150 * idl/Accessibility_LoginHelper.idl:
1151 Improved inline documentation.
1153 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1155 * configure.in: Added gl (Galician) to ALL_LINGUAS
1157 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1159 * libspi/accessible.c:
1160 (impl_accessibility_accessible_get_role_name),
1161 (impl_accessibility_accessible_get_local_role_name):
1162 NULL vs. 0 cleanups.
1163 * libspi/component.c:
1164 (impl_accessibility_component_get_accessible_at_point):
1166 * libspi/eventlistener.c: (spi_event_listener_new):
1168 * libspi/stateset.c: (impl_compare): More of the same
1169 * libspi/table.c: (impl_getRowDescription): Again.
1170 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1171 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1172 (impl_generate_keyboard_event): Same.
1173 * registryd/registry-main.c: (main): Same
1174 * test/event-listener-test.c: (test_exit): Same
1175 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1176 * test/keysynth-test.c: (test_key_synthesis): Same
1177 * test/login-helper-server-test.c: (main): Fix warning.
1178 * test/screen-review-test.c: (test_exit): Fix include.
1179 * test/simple-at.c: (simple_at_exit), (_festival_init):
1182 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1184 * configure.in, NEWS, README: Revved to 1.6.0.
1186 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1188 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1189 was missing the HTML docs.
1191 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1193 * configure.in: only cleanups:
1194 - better looking PKG_CHECK_MODULES() output,
1196 - declare in one common place required versions of other tools using
1199 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1201 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1202 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1203 required ATK version accordingly.
1205 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1207 * cspi/bonobo/cspi-bonobo.c:
1208 (cspi_display_name): Fix C99ism.
1209 * atk-bridge/bridge.c:
1210 (spi_display_name): Fix C99ism.
1211 Patch from Jens Granseuer, jensgr@gmx.net.
1213 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1215 * configure.in: Added "or" to ALL_LINGUAS.
1217 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1219 * configure.in, NEWS, README: Revved to 1.5.4.
1221 * registryd/registry-main.c:
1222 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1225 * cspi/bonobo/cspi-bonobo.c:
1226 (cspi_display_name): New convenience method, gets DISPLAY with
1227 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1228 (cspi_init): Set the activation env value above before getting
1231 * atk-bridge/bridge.c:
1232 (spi_display_name): Create the AT_SPI_DISPLAY activation
1233 environment for an app, based on the DISPLAY environment with the
1234 screen number stripped off.
1235 (atk_bridge_init): Allow redirection of error messages to a log.
1236 (spi_atk_bridge_get_registry): Call
1237 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1239 Fixes for bugs #149962, #136986, #144086.
1241 2004-08-16 Christian Rose <menthos@menthos.com>
1243 * configure.in: Added "bs" to ALL_LINGUAS.
1245 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1247 * configure.in: Added nb to ALL_LINGUAS.
1249 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1252 (SPI_init): Return error code '2' if the activated
1253 registry cannot be pinged. Fixes bug #147648.
1255 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1257 * registryd/deviceeventcontroller.c:
1258 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1259 rely on timer-poll instead, to avoid conflict with
1262 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1264 * configure.in: Revved to 1.5.3.
1266 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1268 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1270 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1272 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1274 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1276 * atk-bridge/bridge.c:
1277 (spi_atk_bridge_do_registration):
1278 Register with ATK for AtkComponent:bounds-changed events.
1279 (api_atk_bridge_signal_listener):
1280 Marshal the AtkRectangle info into the event notification
1281 for object:bounds-changed events.
1284 (spi_init_any_rect): New method, inits a corba struct of
1285 type Accessibility_BoundingBox from an AtkRectangle.
1287 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1290 (SPIRect): New struct definition.
1291 (SPI_freeRect): New declaration.
1292 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1295 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1296 implemented. Gets the bounding box data from the CORBA_any
1297 associated with a bounds-changed event notification.
1298 (cspi_internal_event_get_rect): New, used internally by above method.
1301 (SPI_freeRect): Implemented this new method, for freeing
1304 * test/event-listener-test.c:
1305 (main, report_bounds_event):
1306 Added a test for object:bounds-changed events.
1308 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1310 * test/login-helper-server-test.c:
1311 (main): Fix C99-ism. Thanks to Jens Granseuer.
1313 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1315 * libloginhelper-1.0.pc.in:
1316 * idl/Accessibility_LoginHelper.idl:
1317 * login-helper/Makefile.am:
1318 * login-helper/login-helper.[ch]:
1319 * test/login-helper-client-test.c:
1320 * test/login-helper-server-test.c: Added files missing from CVS.
1321 Files obtained from at-spi-1.5.2 tarball.
1323 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1325 * configure.in: Create login-helper/Makefile.
1326 Incremented micro version.
1328 * Makefile.am: Add login-helper subdir and pkgconfig data.
1330 * login-helper: New subdir.
1332 * libloginhelper-1.0.pc.in: New.
1334 * idl/Accessibility_LoginHelper.idl: New file, defines
1335 interface whereby authentication clients can identify agents which
1336 need access to services during the login process, e.g. screen lock
1339 * login-helper/Makefile.am : New.
1341 * login-helper/login-helper.[ch] : New, implementation of
1342 a LoginHelper base class. Services needing LoginHelper can subclass.
1344 * test/Makefile.am : Added test for login-helper, client and
1347 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1348 Use proper prefix in #include files.
1350 * test/login-helper-client-test.c: New.
1352 * test/login-helper-server-test.c: New.
1354 2004-05-27 Alexander Shopov <ash@contact.bg>
1356 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1358 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1360 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1361 is positive. This should make it easier to detect inapprorpiate unref
1364 2004-05-11 James Henstridge <james@daa.com.au>
1366 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1367 no-op and deprecated.
1369 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1371 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1373 2004-04-28 Bill Haneman <billh@gnome.org>
1375 * Makefile.am: Added --enable-gtk-doc to
1376 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1378 2004-04-19 Bill Haneman <billh@gnome.org>
1380 * configure.in: Revved to 1.5.1.
1382 * registryd/deviceeventcontroller.c:
1384 (DEControllerPrivateData): Added fields for
1385 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1386 (spi_dec_replace_map_keysym): New internal utility for
1387 replacing a keysym in the keymap - used to allow
1388 synthesis of individual characters which aren't in the
1390 (spi_dec_reset_reserved): New; resets the changed keysym value
1392 (keycode_for_keysym): We now try to deal with failed
1393 XKeysymToKeycode requests by changing a keymap value
1394 and returning a reserved keycode. We now take
1395 a DEController pointer as first arg.
1396 (spi_controller_register_with_devices): Call XkbGetMap with
1397 the XkbKeySymsMask. Find the highest keycode in the current
1398 keymap which doesn't have any grabs, and mark that one for
1399 temporary re-mapping when out-of-range KeySyms are synthesized.
1400 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1403 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1405 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1407 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1409 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1411 2004-03-24 Bill Haneman <billh@gnome.org>
1414 (AccessibleTable_addRowSelection),
1415 (AccessibleTable_addColumnSelection),
1416 (AccessibleTable_removeRowSelection),
1417 (AccessibleTable_removeColumnSelection):
1418 Add declarations for spi wrappers which were
1419 inadvertantly omitted. Fixes bug #133413.
1422 Revved to 1.5.0 (unstable series for GNOME 2.7).
1424 2004-03-24 Bill Haneman <billh@gnome.org>
1426 * atk-bridge/bridge.c:
1427 Bracketed some debug output in
1428 conditionals, to avoid printing it in normal use.
1431 * libspi/hyperlink.c:
1432 Don't cast 'object' to ATK_OBJECT when constructing
1433 an AtkAction interface for a hyperlink.
1434 See discussion in bug #120659.
1436 * test/key-listener-test.c:
1437 (report_all_key_event): Send output to stderr,
1438 not stdout, for consistency with the rest of the test callbacks.
1441 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1442 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1443 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1444 try incrementing the revision AFTER doing a dist, at least
1447 2004-03-22 Bill Haneman <billh@gnome.org>
1449 * configure.in: Revved to 1.4.0, libtool 9.14.9
1451 2004-03-17 Laszlo Peter <laca@sun.com>
1453 * libspi-1.0-uninstalled.pc.in: add idldir
1455 * cspi-1.0-uninstalled.pc.in: add idldir
1457 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1459 * configure.in: Added "en_GB" to ALL_LINGUAS
1461 2004-03-15 Bill Haneman <billh@gnome.org>
1463 * configure.in: Revved to 1.3.16,
1466 2004-03-15 Laszlo Peter <laca@sun.com>
1468 * libspi-1.0-uninstalled.pc.in: new file
1470 * cspi-1.0-uninstalled.pc.in: new file
1472 * configure.in: add the new pc files to AC_OUTPUT
1474 * Makefile.am: add the new pc files to EXTRA_DIST
1476 2004-03-12 Bill Haneman <billh@gnome.org>
1478 * atk-bridge/bridge.c:
1479 (spi_atk_bridge_key_listener):
1480 Make sure to return consumed=FALSE if snoop
1481 event is not dispatched to listener.
1484 2004-03-01 Bill Haneman <billh@gnome.org>
1486 * configure.in: Revved to 1.3.15,
1489 2004-03-07 Danilo Segan <dsegan@gmx.net>
1491 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1493 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1495 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1497 2004-03-01 Bill Haneman <billh@gnome.org>
1499 * configure.in: Revved to 1.3.14.
1502 (SPI_exit): Removed "bye-bye" exit message.
1503 Moved "leak" report to happen before the
1504 iteration over the leaked refs list.
1505 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1507 2004-02-24 Bill Haneman <billh@gnome.org>
1509 * configure.in: Revved to 1.3.13.
1511 * docs/reference/cspi/Makefile.am:
1512 Correct typo that was breaking the docs build.
1514 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1516 * autogen.sh: Require version 1.7 of automake.
1518 * configure.in: call GTK_DOC_CHECK([1.0])
1520 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1522 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1524 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1526 * test/Makefile.am: Remove use of CFLAGS.
1528 This fixes bug #132987.
1530 2004-02-11 Bill Haneman <billh@gnome.org>
1532 * reverted most of Tomasz' patch below, since it was breaking
1533 builds (see bug #134058).
1535 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1537 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1538 correct pass "make dist" (empty .. because seems no sach types in
1539 header files with gtk-doc markups).
1540 * docs/reference/cspi/Makefile.am, configure.in:
1541 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1542 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1543 * Makefile.am: added:
1544 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1545 for force correct pass generate documentation on "make distcheck".
1546 * libspi/Makefile.am: fixes for automake >= 1.6.
1547 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1548 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1551 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1553 * docs/reference/cspi/Makefile.am (install-data-local): Install
1554 index.sgml since the doc autobuilder on widget.gnome.org looks for
1557 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1559 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1562 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1564 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1566 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1568 * test/simple-at.c: Fixed null string problems that cause core
1569 dumping problems on Solaris.
1571 2004-01-12 Bill Haneman <billh@gnome.org>
1573 * configure.in: Incremented version to 1.3.11.
1575 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1577 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1578 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1581 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1583 * configure.in: Added "fa" to ALL_LINGUAS.
1585 2003-12-20 Arafat Medini <lumina@silverpen.de>
1587 * configure.in: Added "ar" to ALL_LINGUAS
1589 2003-12-16 Bill Haneman <billh@gnome.org>
1591 * registryd/registry-main.c:
1593 Set the reg_env DISPLAY variable before registering the
1594 activated registry service. Fixes bug #129479.
1596 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1598 * configure.in: Added "id" in ALL_LINGUAS
1599 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1601 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1603 * registryd/deviceeventcontroller.c (global_filter_fn):
1604 When an event is consumed discard any XEvents were added to
1605 the queue while dealing with the the event. This can happen if
1606 processing of the event takes a long time. Call XUngrabKeyboard
1607 if an event was discarded. This fixes bug $124837.
1608 Only call wait_for_release_event for a KeyPress.
1609 Use local variable display instead of spi_get_display().
1610 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1613 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1615 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1616 Allow for mask to contain values other than NumLock mask.
1619 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1621 * registryd/devieceventcontroller.c:
1622 (wait_for_release_event): Change first parameter from GdkEvent to
1624 (global_filter_fn); Correct call to wait_for_release_event.
1628 2003-12-08 Bill Haneman <billh@gnome.org>
1632 * registryd/ucs2keysym.c: New file.
1634 * registryd/deviceeventcontroller.c:
1635 (dec_keysym_for_unichar): Remove old partial implementation and
1636 replace with call to ucs2keysym(), which is much more complete.
1637 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1642 2003-12-05 Bill Haneman <billh@gnome.org>
1644 * configure.in: Version 1.3.9.
1646 * docs/reference/cspi/tmpl/spi_registry.sgml:
1647 Added reference to libspi/keymasks.h to the
1648 description of Registry queries: AccessibleKeyMaskType.
1651 2003-12-04 Bill Haneman <billh@gnome.org>
1653 Fix for bug #121974.
1655 * idl/Accessibility_Application.idl:
1656 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1657 setlocale's LC_TYPEs.
1658 (Accessibility::Application::getLocale): New method.
1659 Allows clients to query the locale, by type, of an app.
1662 * cspi/spi_application.c:
1663 (AccessibleApplication_getLocale): New method, wraps IDL above.
1665 * libspi/application.c:
1666 (spi_application_class_init): Init epv entry for getLocale.
1667 (impl_accessibility_application_get_locale): Impl for above.
1669 * test/test-simple.c:
1670 (test_application): Added assertion for getLocale, i.e.
1671 that the string from AccessibleApplication_getLocale (app, type)
1672 is the same as that from setlocale (type, NULL);
1674 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1676 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1677 the keyboard on a timeout intil the key state goes from pressed to
1678 released. Fixes bug #111429.
1680 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1682 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1683 root object so that it is present when a context menu in an
1684 out-of-process applet is popped up.
1685 (spi_atk_bridge_do_registration): Create acceessible application root
1686 object only if it does not exist.
1688 This fixes bug #125834.
1690 2003-12-01 Bill Haneman <billh@gnome.org>
1692 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1695 Added enum for AccessibleStreamableContentSeekType.
1696 (AccessibleStreamableContent_freeContentTypeList): New.
1698 * cspi/spi_streamablecontent.c:
1699 (accessible_bonobo_stream_client_seek): New private method.
1700 (AccessibleStreamableContent_seek): Implemented this method,
1701 using Bonobo_Stream_seek.
1702 (AccessibleStreamableContent_freeContentTypeList): New method
1703 for freeing the return value from
1704 AccessibleStreamableContent_getContentTypes.
1705 (stream_cache_item_free): Replaces stream_release; stop leaks.
1706 (stream_release): removed.
1707 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1708 free the memory properly.
1710 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1712 Fix for bug #116009.
1714 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1716 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1718 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1720 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1722 2003-12-01 Bill Haneman <billh@gnome.org>
1724 Fix for bug/rfe #127463.
1726 * idl/Accessibility_Accessible.idl:
1727 (getLocalizedRoleName): New.
1728 (unimplemented4): Removed (replaced by above).
1730 * libspi/accessible.c:
1731 (impl_accessibility_accessible_get_local_role_name): New.
1732 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1736 (Accessible_getLocalizedRoleName): New.
1738 * cspi/spi_accessible.c:
1739 (Accessible_getLocalizedRoleName): New.
1741 2003-12-01 Bill Haneman <billh@gnome.org>
1743 Fix for bug #118581.
1744 * idl/Accessibility_Text.idl:
1745 (getDefaultAttributes): New.
1746 (unimplemented4): Removed (replaced by above method).
1749 (impl_getDefaultAttributes): New method.
1750 (spi_text_class_init):
1751 initialize the get_default_attributes slot in the epv.
1754 (AccessibleText_getDefaultAttributes): New prototype.
1757 (AccessibleText_getDefaultAttributes): New method.
1759 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1761 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1762 write beyond the end of the table. Fixes bug #120473.
1764 2003-09-30 Christian Rose <menthos@menthos.com>
1766 * configure.in: Added "eu" to ALL_LINGUAS.
1768 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1770 * configure.in: ALL_LINGUAS: Added no.
1772 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1774 * configure.in: Added lt to ALL_LINGUAS.
1776 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1778 * atk-bridge/bridge.c:
1779 (atk_bridge_init): Register event listeners always even for
1780 out-of-process applet.
1781 (spi_atk_bridge_toplevel_added): Remove call to
1782 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1783 (spi_atk_bridge_toplevelk_removed): Remove call to
1784 spi_atk_deregister_event_listenersa as the listeners are now always
1786 (spi_atk_bridge_register_application): Remove call to
1787 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1789 This fixes bug #120991.
1791 * libspi/table.c (impl_getColumnDescription): Correct typo,
1792 pointed out by Bolian.Yin@sun.com.
1794 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1796 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1798 2003-09-08 Bill Haneman <billh@gnome.org>
1800 * configure.in: Revved to 1.3.7.
1802 This is the GNOME 2.4.0 release of at-spi.
1804 * docs/reference/cspi/Makefile.am:
1805 Removed spurious inclusion of 'index.sgml' in the
1806 html directory; this was breaking make distcheck and
1807 also some other build environments.
1809 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1811 * registryd/registry.[ch}:
1812 Add queue_handler_id and focus_object to SpiRegistry data structure.
1813 (registry_flush_event_queue): If event being discarded is
1814 "state-change:focused" store object as focus_object.
1815 (registry_start_queue): Remove queue handler and focus object
1817 (registry_discard_event): New function which discards a focus event
1818 if we had stored focus object in the registry.
1819 (registry_queue_event): Add new check that is_queueing is set as this
1820 function is reentrant.
1821 (registry_filer_event): Add call to registry_discard_event.
1823 This resolves issues raised in bug #108664.
1825 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1827 * configure.in: Added "bn" to ALL_LINGUAS.
1829 2003-09-04 Bill Haneman <billh@gnome.org>
1831 * cspi/spi_event.c: Documentation improvements for
1832 (SPI_registerAccessibleKeylistener).
1834 * docs/reference/tmpl/spi_registry.sgml:
1835 Documentation improvements for SpiAccessibleKeylistenerCB.
1837 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1839 * configure.in: Added "ro" to ALL_LINGUAS.
1842 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1844 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1845 not decremented to zero. Fixes bug #120725.
1847 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1849 * configure.in: Added "ja" to ALL_LINGUAS.
1851 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1853 * configure.in: Added "is" to ALL_LINGUAS.
1855 2003-08-22 Christian Rose <menthos@menthos.com>
1857 * configure.in: Added "nl" to ALL_LINGUAS.
1859 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1861 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1862 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1864 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1866 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1867 type for unspecified exception.
1868 * cspi_streamablecontect): Add include of string.h for memcpy.
1869 (stream_release): Correct call to bonobo_object_release_unref
1870 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1871 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1872 argument of _cspi_expection_throw.
1873 * libspi/hyperlink.c: Add include of libspi/action.h:
1874 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1875 * libspi/streamablecontent.c: add include of libspi/component.h.
1876 * regisrtyd/deviceeventcontroller.c:
1877 (spi_dec_translate_mask): Removed unused variable priv.
1878 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1879 * registryd/registry.c:
1880 (registry_filter_event): Remove unused variable queue_is-empty.
1881 (impl_registry_notify_event): Use correct modifier in fprintf call.
1883 This fixes compiler warnings reported in bug #120220.
1885 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1887 * registryd/registryd.c: Remove this file.
1889 2003-08-17 Sanlig Badral <badral@openmn.org>
1891 * configure.in: Added mn to ALL_LINGUAS.
1893 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1895 * configure.in: Added et to ALL_LINGUAS.
1897 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1899 * test/event-listener-test.c: Change active-descendant to
1900 active-descendant-changed.
1902 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1904 * configure.in: Added "fi" in ALL_LINGUAS.
1906 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1908 * configure.in: Added "hi" in ALL_LINGUAS.
1910 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1912 * configure.in: Revved to 1.3.6.
1916 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1918 * registryd/deviceeventcontroller.c
1919 (spi_device_event_controller_object_finalize): Fix typo in previous
1922 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1924 * registryd/deviceeventcontroller.c
1925 (spi_device_event_controller_object_finalize): Fix build on
1926 systems without XEvIE.
1928 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1930 * acconfig.h, configure.in, registryd/Makefile.am,
1931 registryd/devicecontoller.[ch]: Add XEViE support.
1933 2003-08-06 Wang Jian <lark@linux.net.cn>
1935 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1937 2003-08-06 Metin Amiroff<metin@karegen.com>
1939 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1941 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1943 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1944 MODIFIER_ALT in correct place.
1946 This fixes part of bug #118114.
1948 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1950 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1952 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1954 * configure.in: Added "ko" to ALL_LINGUAS.
1956 2003-07-28 Ole Laursen <olau@hardworking.dk>
1958 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1960 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1962 * configure.in: Added "sq" to ALL_LINGUAS.
1964 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1966 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1968 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1970 * configure.in: updated ALL_LINGUAS list
1972 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1974 * configure.in: Added Belarusian to ALL_LINGUAS.
1976 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1978 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1980 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1981 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1983 This fixes bug #116949.
1985 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1987 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1988 Correct CSPI to SPI in function documentation.
1990 This fixes bug #118054.
1992 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1994 * configure.in: Added Russian to ALL_LINGUAS.
1996 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1998 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2000 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2002 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2004 2003-07-10 Joel Brich <joel.brich@laposte.net>
2006 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2008 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2010 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2012 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2014 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2015 resources allocated for AccessibleEvent. See cspi_event().
2017 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2018 static variable streams to NULL.
2020 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2021 Update so that AcessibleEvent_ref will work.
2023 This fixes bug #116624.
2025 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2027 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2029 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2031 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2033 2003-07-02 Christian Neumair <chris@gnome-de.org>
2035 * configure.in: Added "de" (German) to ALL_LINGUAS.
2037 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2039 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2041 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2043 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2045 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2047 * configure.in: Added "pl" to ALL_LINGUAS.
2049 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2051 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2053 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2056 (get_action_from_servant):
2057 Removed assertion that action is implemented on an AtkObject.
2059 * libspi/hyperlink.c:
2060 (spi_hyperlink_new):
2061 Aggregate AccessibleAction interface on the hyperlink object if
2062 the object implements AtkAction. (This convention is used in
2065 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2067 * configure.in: Revved to 1.3.5.
2069 * registryd/Accessibility_Registry.server.in.in:
2070 Marked up appropriate strings for translation.
2072 * atk-bridge/bridge.c: Marked a couple of
2073 user-visible warnings for translation. Questionable
2074 whether they are really useful, but possibly so.
2077 2003-06-28 Christian Rose <menthos@menthos.com>
2079 * configure.in: Added "sv" to ALL_LINGUAS.
2081 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2083 * registryd/registry.c:
2084 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2085 (registry_defer_on_event): Defer focus: events, this is an
2086 improvement to the patch for bug #108664.
2088 * TODO: Update with 2.4/"Dev Complete" items.
2090 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2092 * atk-bridge/bridge.c:
2093 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2094 looks up signals once.
2095 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2096 if doing registration.
2097 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2098 when doing registration.
2100 This fixes bug #115014.
2102 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2104 * atk-bridge/bridge.c:
2105 (atk_bridge_init): Add signal handler for children-changed:remove on
2106 root when in a BonoboComponent.
2107 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2108 for first toplevel only other incrememt variable toplevels.
2109 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2110 application and remove listeners.
2111 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2113 (spi_atk_deregister_event_listeners): New function which removes
2115 (reinit_register_vars): New fuction which reinitializes variables.
2117 This fixes bug #111578.
2119 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2121 * configure.in: version 1.3.4.
2123 * cspi/spi_accessible.c:
2124 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2127 2003-06-13 Michael Meeks <michael@ximian.com>
2129 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2131 * cspi/spi_main.c (cspi_peek_ev): impl.
2133 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2135 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2137 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2139 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2140 SPI_ROLE_AUTOCOMPLETE
2142 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2144 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2145 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2147 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2149 * libspi/streamablecontent.h:
2150 * libspi/streamablecontent.c:
2151 New files, provide implementation/wrappers for
2152 Accessibility_StreamableContent.
2154 * cspi/spi_streamablecontent.c:
2155 Connected the C wrappers to the libspi C bindings.
2156 (AccessibleStreamableContent_close): New method.
2159 (AccessibleStreamableContent_close): New method, needed
2160 since we have an "open, [seek], read, close" model in cspi.
2162 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2164 Fix for #108664; Padraig's revision of my original patch.
2166 * registryd/registry.h:
2167 Added event queue list, is_queuing, and exit_notify_timeout
2168 to the registry struct.
2170 * registryd/registry.c:
2171 (registry_init): Initialize new struct from registry.h.
2172 (impl_registry_notify_event):
2173 Filter events before notifying, in case some need to be
2175 (registry_filter_event): New,
2176 we defer certain incoming events (for instance
2177 window:deactivate) because we may wish to hide
2178 or reject them based on pending events. This is
2179 mostly a workaround for bug #108664.
2180 (registry_queue_event, registry_start_queue): New.
2181 (registry_defer_on_event): Test event to see if it
2183 (registry_reset_on_event): Returns TRUE if the
2184 event should cause a queue reset.
2185 (registry_discard_on_event): Returns TRUE if the event
2186 should cause the previous queue contents to be discarded.
2187 (registry_timeout_flush_queue): Flushes the pending event
2188 queue if no reset/discard-triggering events have come in
2189 within the timeout period.
2190 (registry_emit_event): New.
2191 (registry_clone_notify_context): New, used when queueing the
2192 event notify contexts.
2194 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2196 * configure.in: Version revved to 1.3.2, lt 0.9.2
2197 Incremented ATK required version to 1.3.4.
2199 * cspi/spi_registry.c:
2200 (SPI_generateKeyEvent):
2201 We now pass the keystring along if it's non-null.
2203 * registryd/deviceeventcontroller.c:
2204 (keysym_mod_mask): New method, returns modifier mask
2205 required to generate a keysym from a given keycode.
2206 (dec_synth_keysym): New method.
2207 (dec_synth_keystring): New method.
2208 (dec_get_modifier_state): New method.
2209 (dec_lock_modifiers): New
2210 (dec_unlock_modifiers): New.
2211 (dec_keysym_for_unichar): New, rather brute-force
2212 conversion from UCS-4 to X KeySyms. Only works for
2213 Latin at the moment, with partial implementations for
2214 Greek, Hebrew, and (incomplete) Katakana.
2215 (impl_generate_keyboard_event): Now implement
2216 "KEYSTRING" synthesis and implement "KEYSYM"
2218 (keycode_from_keysym): Improved, passes a returned
2219 modmask value now if the corresponding param is non-NULL.
2221 Fixes bugs #92143 and #109776.
2224 * test/keysynth-test.c:
2225 New test program for key synthesis, to confirm fixes for
2229 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2231 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2233 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2234 Add line for RELATION_POPUP_FOR
2236 * docs/reference/cspi/tmpl/spi_relation.sgml:
2237 Add relation SPI_RELATION_POPUP_FOR
2239 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2240 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2242 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2244 * libspi/relation.c (spi_init_relation_type_table):
2245 Add line for RELATION_POPUP_FOR
2247 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2249 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2250 there are still windows which have not been deleted and emit
2251 window:deactivate, if necessary and window:destroy events.
2252 This fixes bug #114370. The change on June 5th was not correct.
2254 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2256 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2259 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2261 New methods for client exception handling and interception.
2262 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2263 (SPI_exceptionHandlerPop): You guessed it...
2264 (SPI_getSourceType): Return the type of object which offended.
2265 (SPI_getExceptionCode): Return an enum code telling, possibly,
2266 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2267 (SPIAccessibleException_getSource): get the source object for
2268 exceptions that come from Accessibles, if SPIExceptionSourceType is
2269 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2270 (SPIException_getDescription): New, returns a string description of
2271 the problem. [Not yet a stable ABI, strings are not frozen]
2273 * cspi/spi-private.h:
2274 Added implementation details of opaque SPIException
2278 Implementations of above. Also
2279 (_cspi_exception_throw): new private method that
2280 dispatches exceptions to handlers, called from cspi-bonobo.c
2282 * cspi/bonobo/cspi-bonobo.c:
2283 (cspi_check_ev): call _cspi_exception_throw.
2284 Don't print a warning message if the exception has been
2285 handled by _cspi_exception_throw.
2287 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2289 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2290 there are still windows which have not been deleted and emit
2291 window:deactivate, if necessary and window:destroy events.
2292 This fixes bug #114370.
2294 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2297 (cspi_accessible_is_a): Make non-fatal
2298 if the object reference is dead.
2300 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2302 * cspi/spi_main.c: #include <stdio.h>
2303 * test/simple-at.c: ditto
2304 * test/event-listener-test.c: ditto
2305 * test/screen-review-test.c: ditto
2307 2003-05-30 Michael Meeks <michael@ximian.com>
2309 * test/test-simple.c (main): use CORBA_ORB_perform_work
2310 instead of an unnecessary linc_ call.
2312 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2314 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2315 Add SPI_STATE_INDETERMINATE.
2317 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2320 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2322 * libspi/stateset.c (init_state_type_tables): Add support for
2325 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2327 * configure: Update versions of atk and gail required.
2328 This fixes bug #113268.
2330 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2332 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2334 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2336 * libspi/Makefile.am:
2337 Ensure headers are generated before being used by c sources.
2339 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2342 Simplified lt versioning rules.
2343 Incremented version to 1.3.0, to indicate that we're on the
2344 unstable branch now.
2346 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2348 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2349 Add MKDB_OPTIONS=--outtput-format=xml
2351 * docs/reference/cspi/at-spi-cspi-docs.sgml
2352 docs/reference/idl/at-spi-idl-docs.sgml:
2353 Convert to Docbook XML.
2355 This fixes bug #111793.
2357 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2359 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2360 AcccessibleKeyEventType, AccessibleKeyMaskType.
2362 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2364 * cspi/state-types.h: Add documentation for AccessibleState.
2366 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2367 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2368 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2369 AccessibleComponentLayer.
2371 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2374 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2376 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2377 Accessible. Add description of AccessibleEvent,
2378 AccessibleEventListenerCB.
2380 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2383 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2384 documentation. Add description of AccessibleKeystrokeListenerCB,
2385 AccessibleKeyEventMask, AccessibleModifierMaskType,
2386 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2387 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2389 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2392 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2395 This fixes bug #104730.
2397 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2399 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2400 Set is_text field of Accessibility_DeviceEvent data structure.
2402 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2403 is-text field of AccessibleDeviceEvent data structure.
2405 This addresses part of bug #108666.
2407 * registryd/devcieeventcontroller.c: Unset debug option.
2409 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2411 * cspi/accessible.c:
2412 (cpi_initial_relation_type_table): New function which initializes
2413 mapping between Accessibility_RelationType and AccessibleRelationType.
2414 (cspi_relation_type_from_spi_relation_type): New function which
2415 translates an Accessibility_RelationType into an AccessibleRelationType.
2416 (AccessibleRelation_getRelationType): Use
2417 cpi_relation_type_get_spi_relation_type to return correct value.
2418 (spi_state_to_corba): Return correct type for default case.
2420 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2421 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2423 * cspi/cspi-bonobo-listener.c:
2424 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2427 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2428 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2429 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2430 libspi/image.c, libspi/listener.c, libspi/selection.c,
2431 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2432 registryd/desktop.c, registryd/registry.c:
2433 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2435 * libspi/eventlistener.c
2436 Remove semicolon after BONOBO_TYPE_FUNC.
2438 * libspi/relation.c:
2439 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2440 (spi_init_relation_type_table): Initialize using correct type.
2442 * registryd/desktop.c:
2443 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2444 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2445 of Accessibility_KeyEventType.
2447 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2450 * tests/simple-at.c, tests/screen-review-test.c:
2451 Add include for <strings.h>.
2453 * tests.stress-test.c:
2454 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2456 These changes fix compiler warnings when using FORTE compiler on
2457 Solaris; fixes bug #107479.
2460 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2463 * configure.in: revved to 1.1.10
2465 * libspi/keymasks.h:
2466 (SPI_KEYMASK_NUMLOCK): Added.
2468 * registryd/deviceeventcontroller.c:
2469 (spi_key_event_matches_listener): AND with a smaller
2470 bitmask (as we should).
2471 (spi_dec_translate_mask):
2472 New method, sets the virtual NumLock modifier bit
2473 if numlock is on. Eventually it can handle other virtual
2474 modifier bits if needed, or other marshalling from
2475 at-spi modifier masks to platform (X) masks.
2476 (spi_dec_key_listener_new):
2477 Call spi_dec_translate_mask to set up virtual mod bits
2478 in the 'mask' field when creating a new listener struct.
2479 (spi_dec_emit_modifier_event):
2480 Set the virtual (i.e. NumLock) bits before emitting event.
2481 (spi_controller_register_with_devices):
2482 Query for the NumLock modifier 'physical' bit if Xkb is
2483 present, for use in above methods.
2487 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2489 * registryd/deviceeventcontroller.c:
2490 (spi_keystroke_from_x_key_event):
2491 Instead of checking to see if the keysym is
2492 printable, check the string from XLookupString
2493 if available, get the first unicode character from it,
2494 and call g_unichar_isprint to determine whether the
2495 is_text flag should be TRUE or FALSE.
2499 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2501 * atk-bridge/bridge.c: Add support for extended events
2502 * cspi/spi_event.c: Add documentation and implementation for
2504 * tests/event-listener-test.c: Add tests for extended events.
2506 This fixes bugs #100424 and #100426.
2508 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2510 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2511 of LT_CURRENT. This fixes bug #89350.
2513 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2515 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2516 number of signal parameter values before accessing them. This fixes
2519 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2521 * configure.in: Fixed duplicate inclusion of -lspi.
2522 * branched for gnome-2-2/HEAD.
2523 [created tag "gnome-2-2"]
2525 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2527 * configure.in: 1.1.9 release.
2530 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2532 [needed by GOK, to fix bugs 107985 and 107988]
2533 * registryd/deviceeventcontroller.c:
2534 (spi_dec_clear_unlatch_pending):
2535 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2536 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2537 (spi_dec_init_mouse_listener):Emit warning if mouse button
2539 (spi_device_event_controller_forward_mouse_event):
2540 Removed unnecessary parens from a conditional.
2541 (global_filter_fn):Added TODO comment.
2542 (impl_generate_keyboard_event):
2543 Cancel a pending relatch if a 'delatching' key was
2546 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2548 * atk-bridge/bridge.c:
2549 Change atk_signal_child_changed to atk_signal_children_changed.
2550 Reorganize code in spi_atk_bridge_signal_listener().
2552 * test/event-listener-test.c:
2553 Add children_changed_listener and report_children_changed_event()
2554 to test AccessibleChildEvent_getChildAccessible.
2556 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2558 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2559 g_strdup to CORBA_String_dup (bug #105291)
2561 * test/event-listener-test.c (report_text_event): Add call to
2564 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2566 * registryd/deviceeventcontroller.c:
2567 (spi_keystroke_from_x_key_event):
2568 Fix string and keysym return codes to match modifier state.
2571 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2573 * registryd/deviceeventcontroller.c:
2574 (spi_keystroke_from_x_key_event):
2575 Fix segv due to improper use of isprint(c). [bug #107254]
2577 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2580 (get_accessible_text_boundary_type):
2581 Move default return value to (new) default case in switch.
2582 (get_accessible_text_clip_type):
2583 Move default return value to (new) default case in switch.
2585 * libspi/application.c:
2586 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2587 Remove unused methods.
2588 (impl_accessibility_application_register_object_event_listener):
2589 Remove unused methods.
2592 Added #include of <math.h>.
2594 * registryd/deviceeventcontroller.c:
2595 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2596 we don't currently use this method.
2597 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2599 (impl_generate_key_event):
2600 Remove unused variables.
2601 (impl_generate_mouse_event):
2602 Initialize button to zero, just in case we get an invalid
2603 input. Added support for mouse buttons 4 and 5.
2604 (spi_device_event_controller_new):
2605 Removed unused variable declaration for 'private'.
2607 Added #include of <gdk/gdk.h>
2609 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2611 * configure.in: Update to work when X is not installed in expected
2612 location. Fixes bug #105836.
2614 * atk-bridge/bridge.c
2615 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2617 (spi_atk_register_event_listener): Add signal listener for
2619 (spi_atk_bridge_signal_listener): Event event when link-selected
2620 signal is emitted. (bug #104622)
2622 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2623 on returned string. (bug #105291)
2625 * test/event-listener-test.c: Add test for link-selected.
2627 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2629 * atk-bridge/Makefile.am: Correct typo in previous commit.
2631 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2633 * atk-bridge/Makefile.am: Allow for build directory to be different
2634 from source directory
2636 * registryd/Makefile.am: Allow for build directory to be different
2637 from source directory
2641 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2644 Fixed dependencies for libcspi so that libspi gets pulled in
2645 properly. Fixes 104741.
2649 Clean up inline docs a little.
2651 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2653 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2654 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2655 the AtkObject within an SpiDesktop.
2656 This addresses bug #101524.
2658 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2659 Remove call to gdk_init().
2661 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2662 so that Display is set when SpiDesktop is created.
2664 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2666 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2667 This fixes bug #102830.
2669 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2671 * test/test-simple.c: Update to take account of fact that GailButton
2672 now implements AtkText.
2673 (create_text_window): Set name on AtkObject for GtkEntry.
2674 (validate_accessible): Check accessible name before calling test_text().
2676 * libspi/Makefile.am: Fix problem with building outside of source
2677 directory. Bug #98120.
2679 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2680 typo in documentation comments. Bug #94275.
2682 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2684 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2686 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2689 Add includes to avoid compiler warnings on Solaris.
2690 (impl_getRangeExtents): Bug fix.
2692 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2694 Fix for 100944, [API addition approved by Gman and murrayc].
2701 * idl/Accessibility_Text.idl:
2702 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2703 (Text::getRangeExtents): New method for efficient
2704 bounds query of a text range.
2705 (Text::getBoundedRanges): New method for efficient
2706 clipping of text to bounding boxes.
2707 (unImplemented7, unImplemented8):
2708 Removed these padding methods to preserve bincompat.
2711 (impl_getRangeExtents): implementation of new IDL.
2712 (impl_getBoundedRanges): implementation of new IDL.
2713 (SpiTextRect): Internal use struct.
2714 (_spi_text_rect_union): internal method, calculates union of two
2715 SpiTextRect bounding rects.
2716 (_spi_text_range_seq_from_gslist): internal method, allows us
2717 to build our sequence efficiently as a gslist then convert it
2719 (_spi_bounds_contain): internal method, determines whether
2720 a text character is "in" or "out" of a clip rect according to
2721 values of TEXT_CLIP_TYPE.
2722 (spi_text_class_init): Initialize the new methods in the epv.
2725 (AccessibleTextClipType): New enum used by screen review api.
2726 (AccessibleTextRange): New struct used by screen review api.
2727 (AccessibleText_getRangeExtents):
2728 cspi binding for Accessibility_Text_getRangeExtents.
2729 (AccessibleText_getBoundedRanges):
2730 cspi binding for Accessibility_Text_getBoundedRanges.
2731 (AccessibleTextRange_freeRanges): convenience method.
2734 (AccessibleText_getRangeExtents):
2735 cspi binding for Accessibility_Text_getRangeExtents.
2736 (AccessibleText_getBoundedRanges):
2737 cspi binding for Accessibility_Text_getBoundedRanges.
2738 (AccessibleTextRange_freeRanges): convenience method.
2739 (get_accessible_text_clip_type): internal conversion method.
2740 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2742 * registryd/deviceeventcontroller.c:
2743 (spi_dec_mouse_check):
2744 Improved behavior for mouse:abs events
2745 [same granularity as mouse:rel events, and no
2746 events when mouse is idle].
2748 2002-12-16 Michael Meeks <michael@ximian.com>
2750 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2752 * libspi/stateset.c (state_spi_to_atk): split out
2753 ( fix several remote array bounds nasties )
2754 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2755 (impl_remove): make safe from array bounds issues.
2756 (spi_atk_state_from_spi_state): impl.
2758 * libspi/stateset.h (spi_state_set_cache_is_empty):
2759 add a set of wrapper defines to get layering right.
2761 * cspi/spi_accessible.c: update state set stuff to
2764 2002-12-14 Michael Meeks <michael@ximian.com>
2766 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2767 to avoid 2 roundtrips to the registry per key event
2768 (spi_atk_bridge_key_listener): upd.
2769 (deregister_application): release the dec.
2771 * registryd/registry.c (notify_listeners_cb):
2772 bin lots of re-enterant complexity - we no longer
2773 do a round-trip bonobo ref here, ensure that a single
2774 listener's exception failure won't poison all other
2776 (impl_registry_notify_event): bin obvious memory leak.
2778 2002-12-13 Michael Meeks <michael@ximian.com>
2780 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2781 init the ev so the error is meaningful.
2782 (spi_atk_bridge_key_listener): ditto.
2784 * cspi/spi_main.c (cspi_ev): init the ev so we start
2785 with a clean slate, otherwise the first exception
2786 kills us completely.
2788 * cspi/spi_text.c (get_accessible_text_boundary_type):
2789 add a fallthrough for no warnings.
2791 * cspi/spi_registry.c: prune unused warnings.
2793 * cspi/spi_main.c (cspi_object_take): fix
2794 mind-blowing brokenness ( by watching the compile
2797 * cspi/spi_accessible.c (Accessible_getStateSet):
2798 re-impl. to use an AtkStateSet.
2799 (spi_state_type_from_accessible_state),
2800 (init_state_table): bin these.
2802 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2804 (atk_state_set_from_accessibility_state_set): here.
2806 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2807 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2808 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2809 (AccessibleStateSet_add, AccessibleStateSet_remove),
2810 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2811 (AccessibleStateSet_isEmpty): re-write to use a local
2814 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2816 * configure.in: Revved to 1.1.7 (new keymask vals).
2818 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2820 * libspi/keymasks.h:
2821 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2823 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2826 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2827 to compare two CORBA_TypeCodes.
2828 (cspi_internal_event_add): Silence warning from FORTE compiler.
2830 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2831 avoid implicit declaration of functions.
2833 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2835 * atk-bridge/bridge.c:
2836 (spi_atk_bridge_init_event_type_consts): Store signal id for
2837 active-descendant-changed signal.
2838 (spi_atk_register_event_listeners): Add signal listener for
2839 active-descendant-changed signal,
2840 (spi_atk_bridge_signal_listener): Move code in function
2841 spi_atk-signal_emit_event() into this function.
2842 Add support for active-descendant-changed
2843 Update support for child-changed signal.
2844 (spi_bridge_window_event_listener): Silence warning.
2846 * libspi/spi_private.[ch]:
2847 (spi_init_any_object): Change second parameter from CORBA_Object to
2849 Omit call to CORBA_Object_duplicate().
2850 Set CORBA_any's _value to CORBA_Object*.
2852 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2858 (AccessibleEvent_ref, AccessibleEvent_unref):
2859 New methods, for persisting an event outside the emission context.
2860 Must be used if the new accessor methods are to be called
2861 outside of the event listener's callback.
2863 * cspi/bonobo/cspi-bonobo.c:
2864 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2865 as second parameter instead of NULL, so we can call
2866 cspi_check_ev afterwards.
2869 (cspi_object_take): New internal method,
2870 converts a CORBA_Object reference to a hard ref on
2871 an Accessible if possible, returning NULL if the object
2872 reference is invalid or an Accessible * otherwise.
2875 (AccessibleEvent_ref):
2876 Increment the event's internal private refcount, and
2877 add the event's internal struct to an internal cache
2878 if it's not already there.
2879 (AccessibleEvent_unref):
2880 Decrement the event's refcount and remove it from
2881 the cspi event cache if refcount==0.
2882 (cspi_event_compare): New private method.
2883 Compares two event structs via their ids. Used
2885 (cspi_internal_event_lookup): New private method.
2886 (cspi_internal_event_check): New private method,
2887 a 0-order sanity check for events to make sure their
2888 private data is intact.
2889 (cspi_internal_event_add, cspi_internal_event_remove):
2890 New private methods for managiing the event cache.
2892 * cspi/bonobo/cspi-bonobo-listener.c:
2894 Initialize the new private data elements (id, magic, ref_count).
2896 * atk-bridge/bridge.c:
2897 (spi_atk_bridge_signal_listener):
2898 Fixed bug #100530, passing wrong params to emission func.
2900 * registryd/deviceeventcontroller.c:
2901 (spi_dec_button_update_and_emit):
2902 Fixed type in mask bit operations; fix for #99799.
2904 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2906 Removed some of the more dangerous workarounds from
2907 previous commit; they are only needed by GOK, which
2908 in reality should be using another method to accomplish
2909 the goals. So on reconsideration some of the workarounds
2910 need to be reverted:
2912 * registryd/deviceeventcontroller.c:
2913 (spi_keycodes_contain, spi_dec_init_keycode_list):
2914 Removed these methods, used only by a nasty hack to try
2915 and detect whether a key synthesis should be allowed
2916 to reset the XKB latch state or not. This code was only
2917 required to work around an interaction between GOK,
2918 button events, and XKB.
2919 (impl_generate_key_event):
2920 Removed hack at end of key generation that tried to
2921 "do the right thing" if XKB latch keys were generated
2922 in the midst of button press/release pairs.
2925 Added a check for HAVE_XINPUT. Not normally used yet.
2927 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2929 Workarounds and fixes for mouse event/XKB interaction.
2931 * registryd/deviceeventcontroller.c:
2932 (spi_keycodes_contain, spi_dec_init_keycode_list):
2933 New internal methods.
2934 (spi_dec_set_unlatch_pending):
2935 Split the method that tells XKB to expect an
2936 unlatch (and revert it) out of the rest of the
2937 event handling code. This method is called by the
2938 two mouse event handlers (the poll and the filter).
2939 (spi_dec_update_and_emit, spi_dec_mouse_check):
2940 New methods split from spi_dec_poll_mouse_moved.
2941 The second one is now called from inside the filterFn
2942 when an XKB delatch event is received, to determine
2943 whether to revert the delatch or not.
2944 (spi_poll_mouse_moved): Refactor; also we can now
2945 properly handle the case where multiple button states
2946 have changed between polling cycles and we didn't get
2947 notified due to another client's grab.
2949 Synchronize the server while handling an XKB notification.
2950 Ugly, but apparently necessary to avoid nasty races.
2951 Check the mouse state on receipt of an XKB latch change,
2952 to decide whether to revert the latch or not. (Latches are
2953 reverted if there is an immediately preceding mouse button
2954 event that a client has consumed, in which case we don't want
2955 the user to see the side-effect of the event).
2956 (spi_device_event_controller_forward_mouse_event):
2957 Check for modifier events and fire before resetting mouse_mask_state,
2958 prevents losing modifier events.
2960 (impl_generate_keyboard_event):
2961 If we've just generated a keyboard event for a non-shift key,
2962 we don't want to revert the pending XKB latch.
2963 Otherwise, check the modifier state (via a call to
2964 spi_dev_mouse_check) and set the relatch mask to
2965 that state before returning.
2967 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2970 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2973 * atk-bridge/bridge.c:
2974 (spi_atk_register_event_listeners):
2975 Don't re-register for ATK events if the registry has died
2976 and the app needs to re-register; the ATK listeners are in
2977 process and doing so will cause duplicate emission.
2979 * registryd/deviceeventcontroller.c:
2980 (spi_poll_mouse_moved):
2981 Reformat the source, detect and emit multiple button-change
2982 events (i.e. if multiple buttons have changed between poll
2984 Add code to detect mouse-down events even when the pointer
2985 is grabbed; workaround for GOK bug 98420.
2986 (spi_controller_register_with_devices):
2987 Call XTestGrabControl with 'impervious' flag set to True,
2988 allows us to synthesize events and query the pointer even during
2989 an active grab by another client.
2990 (spi_device_event_controller_forward_mouse_event):
2991 Set the mouse_mask_state to the mouse_button_state from
2992 the intercepted event, to synchronize the grab listener with
2995 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2997 * cspi/spi_accessible.c:
2998 (AccessibleRole_getName):
2999 Added necessary strings for making this (deprecated)
3000 method work with the new role types.
3001 (init_role_table, role_table):
3002 Added definition of SPI_ROLE_APPLICATION.
3004 * libspi/spi-roletypes.h:
3005 Added SPI_ROLE_APPLICATION.
3007 * idl/Accessibility_Role.idl:
3008 Added ROLE_APPLICATION.
3010 * docs/reference/cspi/at-spi-cspi-decl.txt:
3011 Added SPI_ROLE_APPLICATION to docs.
3013 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3015 * cspi/spi_accessible.c
3016 (cspi_init_role_table): Do not write beyond end of role_table.
3017 (Accessible_getRole): Use correct type for value returned by
3018 Accessibility_Accessible_getRole().
3020 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3021 beyond end of role_table. (This fixes bug #98269)
3023 * libspi/application.c: Add include file spi-private.h for
3024 definition of spi_init_any_nil.
3026 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3030 * libspi/spi-private.h:
3031 Added DGB() macro, and extern int _dbg declaration.
3033 * registryd/registry.c:
3034 (definitions) storage for _dbg.
3035 (spi_registry_init):
3036 Get environment variable "AT_SPI_DEBUG".
3037 (spi_registry_set_debug):
3038 New method, to initialize _dbg value.
3039 (spi_listener_struct_new, spi_registry_object_finalize):
3040 (notify_listeners_cb):
3041 Changed fprintfs to use DBG and g_warning().
3043 * registryd/deviceeventcontroller.c:
3044 (_deregister_keygrab, spi_controller_register_device_listener):
3045 Changed debug/warning messages to use DBG macro.
3047 * libspi/listener.c:
3048 (impl_notify_event):
3049 Changed warning messages to use DBG macro and g_warning().
3051 * atk-bridge/bridge.c:
3052 (atk_bridge_init, spi_atk_bridge_get_registry):
3053 (spi_atk_bridge_exit_func):
3054 (spi_atk_bridge_property_event_listener):
3055 Changed status, warning, and error messages to use
3056 g_warning, g_message, and DBG macros.
3059 Read the state of the AT_SPI_DEBUG environment variable
3060 and set a local '_dbg' accordingly.
3062 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3064 FIXES for 98836, 98842, other bugs.
3067 Revved to 1.1.4, interface-age=4, binary-age=4.
3069 * registryd/deviceeventcontroller.c:
3071 Fixed crasher bug in last_mouse_pos initialization.
3073 * registryd/registry.c:
3074 (desktop_add_application, desktop_remove_application):
3075 Added (and then commented out) some support for
3076 object context marshalling. [TODO]
3078 * atk-bridge/bridge.c:
3079 (spi_atk_bridge_event_context_create):
3080 Commented out object context creation until it can
3081 be properly tested and debugged.
3083 * registryd/registry.c:
3084 (impl_registry_notify_event):
3085 Fixed crasher bug, we were calling
3086 spi_re_entrant_list_foreach () with an empty list.
3088 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3090 * idl/Accessibility_Action.idl:
3091 * idl/Accessibility_Component.idl:
3092 * idl/Accessibility_Desktop.idl:
3093 * idl/Accessibility_Event.idl:
3094 * idl/Accessibility_Hyperlink.idl:
3095 * idl/Accessibility_Image.idl:
3096 * idl/Accessibility_Relation.idl:
3097 * idl/Accessibility_Selection.idl:
3098 * idl/Accessibility_State.idl:
3099 * idl/Accessibility_Value.idl:
3100 Updated unimplemented slot count to minimum of
3101 four for all interfaces, for ABI freeze.
3103 * idl/Accessibility_EditableText.idl:
3104 * idl/Accessibility_Text.idl:
3105 Updated unimplemented slot count to six
3108 * idl/Accessibility_Registry.idl:
3109 Updated unimplemented slot count to six
3110 (also for DeviceEventController),
3113 * idl/Accessibility_Table.idl:
3114 Updated unimplemented slot count to eight,
3117 * idl/Accessibility_Event.idl:
3118 Added CORBA_any "any_data" member to Event struct.
3120 * idl/Accessibility_Event.idl:
3121 Added CORBA_any "any_data" member to Event struct.
3123 * atk-bridge/bridge.c:
3125 atk_signal_text_changed, atk_signal_child_changed,
3126 signal ids queried from gtype system.
3127 (AtkBridgeEventContextType): New enum.
3128 (AtkBridgeEventContextData): New struct.
3129 (AtkBridgeEventContext): New struct.
3130 (atk_bridge_init_event_type_consts):
3131 New method, initializes type contants for comparison
3132 prior to emit_eventv.
3133 (atk_bridge_event_context_init): New method,
3134 initializes a CORBA_any from an AtkBridgeEventContext.
3135 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3136 initialize the event.any_data struct.
3137 (spi_atk_bridge_event_context_create): New method,
3138 creates an AtkBridgeEventContext from signal/event info.
3139 (spi_atk_bridge_event_context_free): New method.
3140 (spi_atk_emit_eventv): Changed to take an
3141 AtkBridgeEventContext parameter. We now initialize
3142 the event.any_data member prior to notifying the
3143 Registry, via the AtkBridgeEventContext.
3144 (spi_atk_bridge_property_event_listener):
3145 (spi_atk_bridge_state_event_listener):
3146 Match emit_eventv signature.
3147 (spi_atk_bridge_object_event_listener):
3148 Match emit_eventv signature, and create an
3149 event context from the event details.
3150 Free the event context afterwards.
3151 (spi_atk_bridge_window_event_listener):
3152 Create an event context, pass it to the
3156 (AccessibleEvent_getContextString):
3157 (AccessibleEvent_getContextObject):
3158 New methods, allow query of AccessibleEvent objects
3159 for more context details (via the "any_data" member
3160 of the Event struct, above).
3163 Definitions for AccessibleEvent_getContextString
3164 and AccessibleEvent_getContextObject.
3166 * cspi/spi_listener.h:
3167 (InternalEvent): New struct.
3170 (AccessibleEvent_getContextString):
3171 (AccessibleEvent_getContextObject):
3172 Implementations of new methods, for obtaining
3173 additional context information from some event types.
3175 * cspi/spi_registry.c:
3176 (SPI_registerGlobalEventListener):
3177 Added mention of active-descendant-changed event in docs.
3179 * cspi/cspi-bonobo-listener.c:
3181 Marshal the any into the AccessibleEvent via
3184 * libspi/spi-private.h:
3185 #include <orbit/orbit.h>
3187 (spi_init_any_string):
3188 (spi_init_any_object):
3189 New convenience function declarations.
3193 (spi_init_any_string):
3194 (spi_init_any_object):
3195 New convenience function implementations.
3197 * registryd/deviceeventcontroller.c:
3198 (spi_poll_dec_mouse_moved):
3199 (spi_device_event_controller_forward_mous_event):
3200 Initialize any_data member of event.
3201 (spi_deregister_controller_device_listener):
3202 Fix incorrect param pass which was preventing deregistration.
3204 * registryd/registry.c:
3205 (desktop_add_application):
3206 (desktop_remove_application):
3207 Add object data to event's any_data before dispatch.
3209 Fix for error messages from GAIL.
3211 * test/event-listener-test.c:
3212 Test new ContextString and "any_data" API:
3213 (report_text_event): New method query and output context string.
3214 (main): register a new text listener with report_text_event
3217 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3219 Fixes for bugs 98127 and 97914.
3220 * cspi/spi-roletypes.h:
3221 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3223 * cspi/spi-statetypes.h:
3224 Added SPI_STATE_MANAGES_DESCENDANTS
3226 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3227 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3228 * cspi/spi_accessible.c:
3229 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3230 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3231 Accessibility_STATE_MANAGES_DESCENDANTS
3232 * libspi/accessible.c:
3233 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3234 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3235 As requested by Bill, I also cleaned up the alignment.
3236 * libspi/relation.c:
3237 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3238 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3239 * libspi/stateset.c:
3240 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3241 Accessibility_STATE_MANAGES_DESCENDANTS
3242 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3243 Document changes reflecting modifications to roles.
3244 * docs/reference/cspi/tmpl/spi_relation.sgml:
3245 Document changes reflecting modifications to relations.
3246 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3247 Document changes reflecting modifications to states.
3249 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3252 Revved to 1.1.3, interface-age=3, binary-age=3.
3253 Added REBUILD macro.
3256 Removed accessx-gui from the tests, since we have a nice
3257 keyboard accessibility capplet now :-)
3259 * test/keysynth-demo.c:
3260 (increment_scan): removed do-nothing default: case,
3263 * test/visual-bell.c:
3264 (main) : removed do-nothing default: case,
3267 * cspi/spi_action.c:
3268 (AccessibleAction_getKeyBinding_):
3269 Documented keybinding string format.
3273 (AccessibleText_getAttributes):
3274 Documented the text attribute string format.
3275 It's changed to use semicolon delimiters also,
3276 to prevent clashes with CSS attributes, but the old
3277 trick of looking for ", " strings will still work
3278 (as unreliably as ever). Fix for bug related to 97916.
3281 Include <cspi/bonobo/cspi-bonobo-listener.h>
3282 Fixes build warning.
3283 (SPI_freeAccessibleKeySet):
3284 (AccessibleKeystrokeListener_addCallback):
3285 (AccessibleKeystrokeListener_removeCallback):
3286 Modify to use AccessibleDeviceListener API internally,
3287 instead of AccessibleKeystrokeListener.
3289 * idl/Accessibility_Event.idl:
3290 Added two more empty slots to EventListener (for a total of four).
3292 * idl/Accessibility_Accessible.idl:
3293 Added four empty slots to Accessible interface.
3295 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3297 * idl/Accessibility_Registry.idl:
3298 (KeyEventType, EventType):
3299 Marked KeyEventType as deprecated; it duplicates
3300 functionality of EventType, which has been extended to
3301 include Mouse-button events.
3302 (KeyEventTypeSeq): defined in terms of EventType.
3303 (registerDeviceEventListener, deregisterDeviceEventListener):
3304 New methods, for managing listeners to device events,
3305 which potentially may consume them.
3308 Added definition for AccessibleDeviceListener.
3310 * cspi/spi-listener.h:
3311 (enum AccessibleDeviceEventType):
3312 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3313 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3314 for backwards compat.
3315 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3316 and typedef'd AccessibleKeystroke to it for back-compat.
3317 (AccessibleDeviceListenerCB):
3318 New function prototype typedef.
3321 (AccessibleDeviceEventMask): New typedef.
3322 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3323 (AccessibleKeyMaskType):
3324 Set equivalent to AccessibleModifierMaskType for back-compat.
3325 (SPI_createAccessibleKeystrokeListener):
3326 (AccessibleKeystrokeListener_unref):
3327 Deprecated in favor of equivalent (better-named) new API below..
3328 keystroke listeners are like all device listeners.
3329 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3330 New API names for old features :-).
3331 (AccessibleDeviceListener_addCallback):
3332 (AccessibleDeviceListener_removeCallback):
3333 (SPI_registerDeviceEventListener):
3334 (SPI_deregisterDeviceEventListener):
3338 (SPI_createAccessibleKeystrokeListener):
3339 Use new preferred API, cspi_device_listener_new() and
3340 cspi_device_listener_add_cb().
3341 (AccessibleKeystrokeListener_removeCallback):
3342 Use new preferred API, cspi_device_listener_remove_cb().
3343 (AccessibleKeystrokeListener_unref):
3344 Use new preferred API, cspi_device_listener_unref().
3345 (SPI_createAccessibleDeviceListener):
3346 (AccessibleDeviceListener_addCallback):
3347 (AccessibleDeviceListener_removeCallback):
3348 Implementation of new API.
3350 * cspi/spi_registry.c:
3351 (SPI_registerDeviceEventListener):
3352 (SPI_deregisterDeviceEventListener):
3353 Implementation of new API. Fixed memory leak and removed need to
3354 allocate EventTypeSeq (thanks Michael for catching this).
3355 Squashed a wayward CORBA_exception_free that shouldn't get called.
3357 * cspi/bonobo/cspi-bonobo-listener.c:
3359 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3360 (cspi_key_event): renamed to cspi_device_event().
3361 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3362 Extended to handle mouse button events as well as key events.
3363 (CSpiKeystrokeListener):
3364 Class superceded by CSpiDeviceListener.
3365 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3366 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3368 * cspi/bonobo/cspi-bonobo-listener.h:
3369 (CSpiKeystrokeListener):
3370 Class superceded by CSpiDeviceListener.
3371 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3372 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3374 * libspi/Makefile.am:
3375 Replaced keystrokelistener.h and keystrokelistener.c
3376 with devicelistener.h and devicelistener.c; keystrokelisener.h
3377 stub retained for back-compat.
3379 * libspi/keystrokelistener.c:
3383 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3385 * registryd/deviceeventcontroller.c:
3386 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3387 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3388 (DEControllerPrivateData): Added xkb settings data.
3389 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3390 button release events (which can't be captured via XGrabButton).
3391 Don't dispatch via the 'normal' event mechanism if the device event was
3393 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3394 Handle the typeseq data in its new location (see above).
3395 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3396 New methods, for "generic" device listeners.
3397 (spi_controller_register_device_listener):
3398 Now handle mouse event listeners as well as key listeners.
3399 (spi_controller_notify_mouselisteners):
3400 New internal method.
3401 (spi_device_event_controller_forward_mouse_event):
3402 Now we notify mouse device listeners as well as generating the
3403 non-consumable "mouse:" events.
3405 We must check and restore the XKB
3406 modifier map if we consume the event, since the act of triggering
3407 a mouse event will normally reset the XKB latch. This is required for
3409 (spi_controller_register_with_devices):
3410 Load the XKB settings when registering, and register for XKB
3411 state notify events.
3412 (spi_key_eventtype_seq_contains_event):
3413 Renamed spi_eventtype_seq_contains_event, since it's used
3414 internally for all device event types now.
3415 (spi_key_event_matches_listener):
3416 Uses spi_eventtype_seq_contains_event now.
3417 (spi_device_event_controller_object_finalize):
3418 Free the private data and the XkbKeyboard struct.
3419 (impl_register_device_listener, impl_deregister_device_listener):
3420 Implementation of new IDL.
3421 (spi_deregister_controller_device_listener):
3422 New internal method.
3423 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3424 More efficient implementation, we don't have to create a new
3425 XkbControls structure every time we query.
3426 (spi_device_event_controller_class_init):
3427 Initialize the epv entries for the new IDL. Assign the
3428 "spi-dec-private" quark.
3429 (spi_device_event_controller_init):
3430 Initialize the private data.
3431 (spi_device_event_controller_forward_key_event):
3432 Removed a bogus CORBA_exception_free() call.
3434 * registryd/deviceeventcontroller.h:
3435 Replaced inclusion of keystrokelistener.h with
3438 * test/event-listener-test.c:
3439 (report_mouse_event):
3442 Added mouse-event device listener.
3444 * test/test-simple.c:
3445 (create_test_window):
3446 Fixed regression (we were instantiating a GtkRange,
3447 which is now an abstract class). Also fixed to match
3448 existing AtkRole names, this seems to have changed in ATK
3449 awhile ago; too late now I think, and the new
3450 mechanism is at least elegant and consistent with the
3451 glib enum "nick" APIs.
3453 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3455 * idl/Accessibility_Relation.idl:
3456 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3457 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3458 * idl/Accessibility_Role.idl:
3459 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3460 * idl/Accessibility_State.idl:
3461 add STATE_MANAGES_DESCENDANTS
3462 * test/event-listener-test.c:
3463 Added a listener for active-descendant events.
3465 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3467 * atk-bridge/bridge.c
3468 (atk_bridge_init): If application is Bonobo component wait until top
3469 level is added before registering
3470 (spi_atk_bridge_do_registration): New function which contains code,
3471 formerly in atk_bridge_init, to do application registration.
3472 (spi_atk_bridge_toplevel_added): Signal called when top level
3473 added to Bonobo component
3475 This fixes bug #83134.
3477 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3479 * registryd/deviceeventcontroller.c
3480 Fixed compilation error caused by calling gettimeofday()
3483 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3488 Added template for HAVE_XKB.
3491 Changes to check for XKB, and to set the HAVE_XKB #define if it
3494 * libspi/listener.c:
3495 ()impl_notify_event): Make failure to get event source name
3498 * registryd/deviceeventcontroller.c:
3499 (#include): include X11/XKBlib.h.
3500 (DEControllerPrivateData) : New struct.
3501 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3503 (dec_synth_keycode_press) (dec_synth_keycode_release):
3504 New methods; split the key synthesis code into these methods.
3505 They check XKB settings before determining the "time" values to
3506 pass to Xtest; this fixes bug #95828.
3507 (impl_generate_keyboard_event): Changed to use methods above,
3508 instead of callng Xtest directly.
3509 (spi_device_event_controller_init): Initialize new privae struct s
3511 (spi_device_event_controllr_object_finalize):
3512 Free the (new) private data.
3514 * registryd/deviceeventcontroller.h:
3515 Add new gpointer to end of struct data.
3517 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3520 Incremented revision to 1.1.2, SONAME is still '.so', library
3521 extensions are ".so.0.0.2".
3523 * registryd/deviceeventcontroller.c:
3524 FIXES FOR #93592 and #95940.
3525 (statics): renamed mouse_button_state to mouse_mask_state,
3526 added key_modifier_mask.
3527 (spi_dec_poll_mouse_moved):
3528 Added key modifier checks, and emit "keyboard:modifiers"
3529 events when the key modifiers currently in use change.
3530 Also generate "mouse:abs" events periodically, even if the mouse
3531 is stationary (should we?).
3532 Alternatively we could generate "mouse:abs" events for either all
3533 mouse movements, or every 'nth' mouse movement, or at the
3534 beginning and end of every "active" mouse period.
3536 * test/event-listener-test.c:
3537 (main): Added listener for "keyboard:modifiers" events.
3539 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3541 * libspi/keymasks.h:
3542 Added key mask #defines for mouse buttons; e.g.
3543 SPI_KEYMASK_BUTTON1, etc.
3546 Incremented dependency on ATK to version 1.1.0. (This dependency
3547 is probably premature but will soon be real enough).
3549 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3551 * libspi/hyperlink.[ch]
3552 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3553 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3556 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3561 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3563 * registryd/deviceeventcontroller.c
3564 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3565 events to be ignored.
3566 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3567 keyboard_mode so that XAllowEvents() can be called.
3571 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3573 * cspi/spi-accessible.c: Correct names of roles returned by
3574 AccessibleRole_getName(). Fixes bug #95055.
3576 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3578 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3581 * registryd/registry.c
3582 (desktop_remove_application: Write diagnostic message to stderr for
3585 (impl_accessibility_registry_deregister_global_event_listener):
3586 Correct size of lists array. This addresses bug #94555).
3588 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3590 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3593 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3595 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3598 * registryd/registry.c (impl_registry_notify_event): Remove
3599 unnecessary call to parser_event_type().
3601 * docs/reference/cspi/tmpl/spi_component.sgml:
3602 Add reference to SPI_LAYER_WINDOW.
3604 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3606 * registryd/registry.c
3607 (desktop_add_application): Remove leak.
3608 (desktop_remove_application): Remove leak.
3609 (parser_event_type): Remove leak.
3611 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3613 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3614 bogus call to CORBA_string_dup(). Also removed unnecessary
3615 g_string_dup/g_free calls.
3617 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3619 * registryd/deviceeventcontroller.c:
3620 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3622 * test/event-listener-test.c:
3623 main: commented out three redundant listeners, to reduce output
3624 noise. (They still are potentially useful for testing).
3627 2002-09-13 Michael Meeks <michael@ximian.com>
3629 * Update all the copyrights to include Ximian.
3631 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3633 * cspi/spi.h: add SPI_LAYER_WINDOW.
3635 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3636 add Accessibility_LAYER_WINDOW case.
3638 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3640 * libspi/component.c: (impl_accessibility_component_get_layer):
3641 add ATK_LAYER_WINDOW case.
3643 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3645 * configure.in: incremented micro version.
3647 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3649 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3652 Clarified and reworded our commit policy.
3655 Started an API "todo" addition list for 2.2.
3658 (impl_getSelection):
3659 Free char pointer from atk_text_get_selection, which was being leaked.
3661 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3664 Small revision to author acknowledgement.
3666 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3668 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3669 If signal has detail add it to the type of the event.
3672 2002-08-12 Michael Meeks <michael@ximian.com>
3674 * test/test-simple.c (global_listener_cb): bin bogosity.
3675 (test_keylisteners): disable, still doesn't work reliably,
3676 certainly not on my system anyway.
3678 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3679 don't leak a reference on the DEC. This round-trip
3680 fetching of the DEC per keystroke sucks, it should be
3683 * cspi/spi-private.h,
3684 * cspi/cspi-lowlevel.h,
3685 * cspi/bonobo/cspi-bonobo-listener.[ch],
3686 * cspi/bonobo/cspi-bonobo.c: get the copyright
3687 notices better - there is still a large amount of
3688 work in at-spi falsely attributed solely to Sun.
3690 * cspi/spi_main.c (cspi_object_ref): kill bogus
3691 hash lookup, just increment the ref.
3692 (SPI_freeString): make explicit the fact that we
3693 handle NULL strings just fine.
3694 (report_leaked_ref): obey coding standards.
3695 (cspi_object_hash, cspi_object_equal): kill retval.
3696 (cspi_object_release): only release if not on loan.
3697 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3698 (cspi_object_borrow, cspi_object_return): impl.
3700 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3701 use cspi_object_borrow / return.
3703 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3705 * cspi/bonobo/cspi-bonobo-listener.c:
3707 Don't call cspi_oject_new() because this is creating a new Accessible
3708 every single time that an event is fired. This causes ATs like at-poke
3709 to nolonger recognise the source of the event and thus ignore it.
3710 Re-use the object from the cache, ref it and then unref it after the
3711 listeners have been called.
3713 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3715 * test/event-listener-test.c:
3716 Added command-line options to disable mouse events (m) and
3719 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3721 * configure.in: Update required versions of ATK, GTK+ and GAIL
3723 * cspi-1.0.pc.in: Add dependency for X include files
3726 * cspi/bonobo/Makefile.am:
3727 Add $(X_CFLAGS) so that X include files
3728 are picked up even if not in standard place (bug #71686)
3730 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3732 * registryd/deviceeventcontroller.c: fix for 84261
3733 (spi_dec_mouse_moved):
3734 Added test of mouse button mask, so that we can detect mouse
3735 button release. Unfortunately we can't otherwise detect mouse
3736 button release events without consuming the mouse press event,
3737 because of the way XGrabButton works. This means that our mouse
3738 release events have a latency dependent on the polling period
3739 while the mouse button is down. At least in this case we only
3740 have to poll while the button is down, and not at other times.
3741 If the button masks don't match with what the last press event
3742 reported, we report the appropriate button release event.
3743 (spi_dec_ungrab_mouse):
3744 New method (not yet called).
3745 (spi_device_event_controller_forward_mouse_event):
3746 New method, sends mouse press event from GdkFilter.
3747 (spi_dec_init_mouse_listener):
3748 Added code to call XGrabButton, redirecting mouse button events to
3749 the root window and our Gdk event loop.
3751 Added code to filter mouse button events, and reordered.
3753 * test/event-listener-test.c:
3755 Added registration for mouse events of type "mouse:button".
3757 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3759 * registryd/deviceeventcontroller.c: partial fix for 84261
3760 (spi_dec_poll_mouse_idle):
3761 New method, a timeout which checks to see if the mouse
3763 (spi_dec_poll_mouse_moving):
3764 A timeout to be called when mouse motion is underway.
3765 (spi_dec_poll_mouse_moved):
3766 A method which fires an event if the mouse has moved, and reports
3767 whether or not it did so.
3768 (spi_dec_init_mouse_listener):
3769 A method which sets up the timeouts above.
3770 (spi_device_event_controller_new):
3771 Now calls spi_dec_init_mouse_listener.
3773 * registryd/registry.c:
3774 (spi_registry_init):
3775 Now we initialize the device event controller when the registry is
3776 initialized, instead of waiting until a client has requested a key
3777 event notification; this is because we need the event controller
3778 for mouse events, but the mouse event registration API is a
3779 "registry" call and doesn't explicitly call the
3780 deviceeventcontroller.
3781 We now report mouse motion events with a 100 ms idle latency and
3782 a 20 ms granularity when motion is in progress.
3784 * test/event-listener-test.c:
3786 We now register the "detail listener" for events of type
3787 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3788 delivered only for the first mouse event received, and thereafter
3789 "mouse:abs" events are delivered.)
3791 * cspi/spi_registry.c:
3792 DOCS: Documented the above mouse event typestrings.
3794 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3796 Happy Summer Solstice...
3798 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3799 (spi_controller_notify_keylisteners):
3800 Changes to remove a listener from the listener list, freeing its
3801 open keygrabs, if a notification to that listener fails. This
3802 means that although a dead listener can continue to hold a passive
3803 keygrab, a maximum of one dispatch to such a listener can fail
3804 before the listener is removed from the list, thus the keygrab
3805 will be released on the next occurrence.
3806 As part of this fix:
3807 (spi_notify_keylisteners):
3808 Renamed to spi_controller_notify_keylisteners, as the controller
3809 instance must now be passed as an argument.
3810 The copied 'notify' GList is now a list of DEControllerKeyListener
3811 objects, since we need more than just the CORBA reference if a
3812 notify fails and we need to deregister the listener.
3813 (impl_notify_listeners_sync):
3814 (impl_notify_listeners_async):
3815 (spi_device_event_controller_forward_key_event):
3816 Modify use of notify_keylisteners in accordance with above
3818 (spi_deregister_controller_key_listener):
3819 New method introduced by refactoring, from
3820 impl_deregister_keystroke_listener.
3821 (impl_deregister_keystroke_listener):
3822 Call spi_deregister_controller_key_listener.
3823 (spi_key_listener_clone):
3824 New method to copy a key listner without doing a 'ref' on the
3825 remote object instance; used to create a notifier list.
3826 (spi_key_listener_data_free):
3827 New method, frees data without unreffing the source.
3829 (spi_key_listener_clone_free): new method.
3830 (spi_key_listener_free):
3831 refactored to call spi_key_listener_data_free.
3833 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3835 * registryd/registry.c: [fix for bug 86048]
3836 (notify_listeners_cb):
3837 Clear CORBA system exceptions which occur when notifying
3838 listeners, before returning to the source of the original event,
3839 since the event source doesn't care if the relayed notify failed.
3840 In other words, don't complain to the atk-bridge if the registry
3841 could not notify all its listeners, that's no fault of the
3842 application and thus should not appear to be an error from the
3843 application's perspective.
3845 * cspi/spi_main.c: [fix for bug 85980]
3847 Replaced use of bonobo_object_dup_ref with call to the wrapper
3848 method, csou_dup_ref (); this silences a compiler warning and
3849 provided more portability.
3851 Ping the registry before return, and restart if necessary.
3853 * cspi/bonobo/cspi-bonobo.c:
3855 New internal method.
3857 Fixed this method to return an object reference, as it should have
3860 * cspi/cspi-lowlevel.h:
3861 Added internal definition for cspi_ping() and fixed
3862 return type of cspi_dup_ref().
3865 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3867 * atk-bridge/bridge.c: [fix for bug 85305]
3868 (spi_atk_bridge_register_application):
3869 New method where the initial application registry calls have been
3870 moved; it allows an application to re-register in response to
3871 certain error conditions (such as a registry restart, see below).
3873 Moved some initialization code to the method
3874 spi_atk_bridge_get_registry, below.
3875 (spi_atk_bridge_get_registry):
3876 New, private accessor function for the Accessibility_Registry
3877 instance. If the registry has not been started before, or has
3878 died (as detected by failure of a CORBA exception), it is
3879 restarted before return, and spi_atk_bridge_register_application
3880 is called again to register with the new bridge instance.
3881 (spi_atk_emit_eventv):
3882 Set registry_died on error; use spi_atk_bridge_get_registry () to
3883 access the registry.
3885 * registryd/registry.c:
3886 (impl_accessibility_registry_register_global_event_listener):
3887 Set listener's event_type_quark to etype.minor instead of
3888 etype.major (fix for bug 84856).
3890 * test/event-listener-test.c:
3891 (report_detail_event):
3892 Change the output string so that user/tester can tell that the
3893 'detail listener' was called instead of the 'generic listener'.
3895 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3897 Fixes for bugs 84900, 84908, 84897, 84898.
3902 Revved version to 1.1.0
3903 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3904 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3906 * idl/Accessibility_Registry.idl:
3907 (EventListener::notifyEvent):
3908 Removed 'oneway' directive after extensive consulation with
3909 ORBit2 team and others. This means also that unref() of the event
3910 source can and should be done synchronously after emission, rather
3911 than remotely in the client, after servicing the notify call on
3914 NOTE: This change speeds up listener performance considerably, but
3915 introduces new latency on the application side. We may want to
3916 add an event queue to the atk-bridge.
3918 * atk-bridge/bridge.c:
3919 (spi_atk_bridge_focus_tracker):
3920 Do a local unref() on the event source after emission.
3922 * registryd/registry.c:
3923 (desktop_remove_application):
3924 Do an unref() on the event source after emission.
3925 (desktop_add_application):
3926 Do an unref() on the event source after emission.
3927 (notify_listeners_cb):
3928 When relaying an event, don't automatically add the event source
3929 to the local object cache, just CORBA_dup it instead. Likewise,
3930 if this method reenters, release the ref rather than calling
3932 (impl_registry_notify_event):
3933 No longer call remote unref() on the event source after dispatch.
3935 * libspi/eventlistener.c:
3936 (impl_accessible_event_notify_event):
3937 Removed remote unref ()
3939 * cspi/bonobo/cspi-bonobo-listener.c:
3941 We now call cspi_object_new() instead of cspi_object_add() on
3942 receipt of an event; thus we only have an implicit object ref
3943 while the cspi_event method is being executed. If we need to keep
3944 a reference to the object, the listener must call ref() on the
3945 object. Thus also we don't need to call cspi_object_unref() after
3946 invoking the listener callbacks in this method.
3950 New internal API for creating a new cspi object, without adding it
3951 to the object cache.
3953 Now uses cspi_object_new() to create the cspi object instance.
3955 Now checks to see if the object is in the internal object cache,
3956 and adds it if necessary before incrementing its refcount (note
3957 that new objects are added with a refcount of 1).
3958 (report_leaked_ref):
3959 New method which gives some information on leaked object instances
3960 if leak detection is turned on.
3962 * test/event-listener-test.c:
3963 (timing_test_event):
3964 New method, used for testing event delivery timing for special
3965 events of type "object:test". It reports elapsed time and
3966 events/sec every 500 events.
3968 Added a new listener, 'test listener', to check timing of event
3969 receipt as noted above.
3971 Added some timing output here also, reports elapsed time every 100
3974 * test/stress-test.c:
3975 Emit events of type "object:test", for use with "event-listener-test".
3977 * test/test-simple.c:
3978 (global_listener_cb):
3979 Call Accessible_ref() on the event source before calling
3980 validate_accessible, since the validation process does pointer
3981 comparisons on the event source, meaning that the event source
3982 needs to be added to the local object cache first. Any use of
3983 such pointer comparisons between Accessible objects requires that
3984 the caller hold an explicit reference to those objects.
3985 We also must therefore call Accessible_unref() when leaving this method.
3987 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3989 * registryd/deviceeventcontroller.c:
3990 (spi_controller_update_key_grabs):
3991 Fix for #84735, subsequent keygrab listeners not informed of
3992 registration failure.
3995 (spi_base_construct):
3996 Add an assertion on construct, to make sure the GObject passed in
3997 is really a GObject.
3999 Explicitly initialize object->gobj pointer to NULL;
4001 * cspi/bonobo/cspi-bonobo-listener.c:
4002 (cspi_object_add_ref):
4003 New method, can specify whether to dup-ref a bonobo object passed
4004 in if it's newly added to the object cache.
4006 Now calls cspi_object_add_ref with second param of "FALSE". This
4007 prevents us from doing a pointless dup-ref followed by
4008 release-unref for all those cases where the object is already in
4009 our object cache (fix for #85205).
4011 * atk-bridge/bridge.c:
4012 (spi_atk_bridge_idle_init):
4013 Removed this method, we don't need to initialize in an idle
4016 Changed to call spi_atk_register_event_listeners directly, not via an
4017 idle handler. (fix for #81139)
4018 (gnome_accessibility_module_shutdown):
4019 Removed conditional around deregistration of listeners, since we
4020 don't use the idle handler and thus have always registered when
4022 (spi_init_keystroke_from_atk_key_event):
4023 Changed references to Accessibility_KEY_PRESSED to
4024 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4026 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4028 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4033 * test/stress-test.c:
4036 (may have been an incomplete commit yesterday?)
4038 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4041 Added target for new stress-test.
4043 * test/stress-test.c:
4044 New test, sends 1000 focus notifies in quick succession.
4046 * test/key-listener-test.c:
4047 Now we report whether a keylistener registration
4048 request succeeded or failed.
4050 * test/event-listener-test.c:
4051 Uncommented some listeners which are now implemented.
4054 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4056 * registryd/deviceeventcontroller.c:
4057 (spi_controller_update_key_grabs):
4058 Fix for #82509, lack of failure notification when
4059 ALL_WINDOWS keygrabs fail due to XGrabKey
4060 failure: we synchronize the server when
4061 registering a passive grab, to make sure we get the
4062 error message before the call returns.
4064 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4066 * test/test-simple.c:
4068 Removed #ifdef KEY_IMPL_WORKS guards.
4069 (test_keylisteners):
4070 Removed #ifdef KEY_IMPL_WORKS guards.
4071 Fixed bug which was causing a hang waiting for a
4072 "press" event (which was already overwritten by a "release"
4073 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4075 Added code to set globals 'key_press_received' and
4076 'key_release_received'.
4079 Added section "1.1 API Proposed Additions" which
4080 lists API additions desired for at-spi-1.1 (only one so far).
4081 Updated TODO list a little.
4083 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4085 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4088 * configure.in: Revved to 1.0.0.
4090 * idl/Accessibility_Registry.idl:
4091 (registerKeystrokeListener):
4092 Added boolean return value.
4094 * registryd/registry.c:
4095 (notify_listeners_cb): Minor fix to debug output.
4097 * registryd/Accessibility_Registry.server.in.in:
4098 Revved version number in OAFIID to 1.0.
4100 * registryd/registryd.c:
4102 Use new OAFIID version.
4104 * cspi/bonobo/cspi-bonobo.c:
4106 Use new OAFIID version.
4112 * atk-bridge/bridge.c:
4114 Use new OAFIID version.
4116 * registryd/deviceeventcontroller.c:
4117 (impl_register_keystroke_listener):
4118 Added CORBA_boolean return value.
4119 (spi_controller_register_device_listener):
4120 Added gboolean return value.
4121 (spi_controller_register_global_keygrabs):
4122 Added gboolean return value.
4123 (spi_key_set_contains_key):
4124 Added implementation for many more control keys,
4125 for instance F1-F12, arrow keys, End, Home, Page_Up,
4127 [TODO: some still not implemented].
4129 * text/screen-review-test.c:
4130 (text_chunk_pad_string):
4131 New function: it provides mapping between coordinate
4132 positions of text chunks and character positions in the
4133 screen-review-line output string.
4134 (text_chunk_to_string):
4135 New function, calls text_chunk_pad_string with various
4136 pad/delimiter characters. Pushbuttons are delimited with
4137 square brackets, Frames with vertical 'pipe' lines, and
4138 other text with double quotes.
4139 (text_chunk_list_to_string):
4140 Calls new function text_chunk_to_string.
4141 (toplevel_composite):
4142 New function to composite layers CANVAS through
4143 POPUP in each toplevel (other layers are composited
4144 across toplevels, i.e. BACKGROUND and OVERLAY).
4145 (review_buffer_composite):
4146 Revise to use new methods.
4152 2002-05-31 Laszlo Peter <laca@sun.com>
4154 * configure.in: add the Xtst libdir to the runpath on Solaris,
4155 since it's not in the default library search path.
4157 2002-05-29 jacob berkman <jacob@ximian.com>
4159 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4161 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4163 * test/screen-review-test.c:
4164 (text_chunk_pad_string):
4165 Added method, which pads the string according to the
4166 text bounds of the chunk. It also takes a 3-character
4167 string as a param which indicates the characters to be
4168 used for start, padding, and end delimitation of the chunk.
4169 (text_chunk_to_string):
4170 Changed to use text_chunk_pad_string.
4172 * configure.in: Fixed bug in AC_OUTPUT that was
4173 causing path substitution in Accessibility_Registry.server
4176 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4178 * text/screen-review-test.c:
4179 (guess_string_clip):
4180 New method which attempts a best-guess at clipping
4181 text from components (like Java labels) which don't
4182 actually implement AccessibleText. This inaccurate
4183 clip is based on the assumption that the label is
4184 justified left-and-right, and monospaced.
4185 (text_chunk_get_clipped_string):
4186 We now call guess_string_clip() for text-containing
4187 components that don't implement AccessibleText.
4189 * test/screen-review-test.c:
4190 (review_buffer_get_text_chunk):
4191 We now pull "name" from labels if they do not implement
4192 AccessibleText (i.e. for Java labels).
4193 (get_screen_review_line_at):
4194 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4197 Replaceded AC_OUTPUT target
4198 registryd/Accessibility_Registry.server with
4199 registryd/Accessibility_Registry.server.in.
4201 * registryd/Accessibility_Registry.server.in:
4202 Removed (this is now a Makefile target).
4204 * registryd/Accessibility_Registry.server.in.in:
4205 Added (source for target above). We now use $(libexecdir) as
4206 prefix for the executable at-spi-registryd.
4208 * registry/Makefile.am:
4209 Now install at-spi-registryd into $(libexecdir), and build .server
4210 file with path (see above).
4212 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4214 * test/screen-review-test.c:
4215 (text_chunk_get_clipped_string):
4216 We now check to see if words fall within clip bounds
4217 before resorting to character-by-character clip bounds testing.
4219 * TODO: Added a section for "2.2 Proposed API Additions".
4221 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4223 * test/screen-review-test.c:
4225 Added a screen review benchmarking and test program to test
4228 * cspi/spi_accessible.c:
4230 Made some of the debug strings passed to cspi_check_ev a
4231 little more specific.
4233 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4235 * test/screen-review-test.c: Fix crashes in debug statements
4237 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4239 * test/screen-review-test.c: Added this file.
4241 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4243 * atk-bridge/bridge.c: changed "object:state-change" to
4244 "object:state-changed" to match docs.
4246 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4248 * atk-bridge/bridge.c: Hooked up state-change event details.
4250 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4252 * registryd/registry.c:
4253 Fixed quarking bug in event string parsing; now events with
4254 detail parameters get matched correctly to listeners.
4257 * util/idl/Magnifier.idl: remove.
4259 * util/*.[ch]: Remove.
4260 Magnification utilities and IDL are now in module gnome-mag.
4262 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4264 * registryd/deviceeventcontroller.c:
4265 Fixed bug in grab key conversion which was causing keycode grabs
4266 to be converted to AnyKey grabs.
4269 updated NEWS file to reflect recent spin-off of gnome-mag.
4271 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4273 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4274 busted AccessibleStateSet_compare. Removed redundant casts.
4276 * cspi/spi-action.c: Removed redundant casts.
4278 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4280 * cspi/spi_component.c: Fixed typos and casting error.
4282 * cspi/spi_editabletext.c: Removed redundant casts.
4284 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4286 * cspi/spi_hypertext.c: Eliminated redundant casts.
4288 * cspi/spi_image.c: Eliminated redundant casts.
4290 * cspi/spi_registry.c: Eliminated redundant casts.
4291 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4292 * cspi/spi_selection.c: Removed redundant casts.
4293 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4294 handling. Screen geometry and text offsets were being returned as 0
4295 on error which is technically valid-- changed these to return -1.
4296 Added marshaller for text boundary types to fix bug with boundary
4297 types being passed incorrectly to atk.
4299 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4302 * cspi/spi_registry.c:
4303 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4304 which was uncovered by the recent key changes.
4306 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4308 * test/event-listener-test.c:
4310 Added new test, "event-listener-test";
4311 this code does two things; it benchmarks traversal time
4312 for the accessible hierarchy for the first running accessible
4313 app, and it connects listeners for all supported event types.
4314 It is thus useful as an example event listener and for
4315 diagnostics/debugging of event generation.
4317 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4320 Removed unnecessary dependency on libutil.
4323 Revved micro version: 0.13.1
4325 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4328 Removed util/Makefile from targets.
4331 Removed util subdir from SUBDIRS (temporarily,
4332 pending removal of magnifier-only code
4336 #ifdef-ed out magnifier dependencies, since
4337 magnifier IDL, headers, and binary now live in
4338 module gnome-mag and we don't want at-spi to depend
4339 on gnome-mag. A magnifier demo which can run alongside
4340 simple-at is forthcoming in the gnome-mag module.
4342 NOTE: Split magnifier binary, IDL, and magnification
4343 activation code from at-spi into module gnome-mag.
4345 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4347 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4348 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4350 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4353 Revved to version 0.13.0
4355 * idl/Accessibility_Registry.idl:
4356 Changed definition of KeySet from sequence of longs to sequence of
4357 KeyDefinitions, and added KeyDefinition struct.
4358 Required for fix to bug 80616.
4360 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4361 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4362 to use new definition (see above).
4364 * registryd/deviceeventcontroller.c: handle_keygrab(),
4365 spi_keyset_contains_key():
4366 Changed to make use of new struct; this allows matching based on
4367 string key-name, for instance "Tab". This also allows matching of
4368 composed characters, non-alphanumeric characters in a way that
4369 doesn't involve dependencies on X keysym codes directly, etc.
4371 * test/key-listener-test.c:
4372 Added test for Alt-Tab key using "string" specification of keyset,
4373 and modified one of the tests to use a keycode-based keyset.
4374 Thus this test both tests and demonstrates the creation and use of
4375 keysets of three forms: specified via keycode array,
4376 keysym array, and string array. (The string case only contains a
4377 single string, i.e. a string array of length 1).
4380 Turned on PRINT_TREE option by default. Also fixed a
4381 string-freeing bug in the PRINT_TREE code.
4382 Added a listener to window:minimize events.
4384 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4386 * atk-bridge/bridge.c:
4387 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4388 for window:activate and window:deactiveate
4389 (atk_bridge_property_event_listener atk_bridge_signal_listener
4390 atk_bridge_window_event_listener) Tidy debug code
4392 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4394 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4395 Fixed handling for NULL return value from ATK.
4397 * libspi/action.c libspi/component.c libspi/editabletext.
4398 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4399 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4400 Removed redundant casts.
4402 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4403 Fixed off by one bug.
4405 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4406 function not present in idl)
4408 2002-05-02 jacob berkman <jacob@ximian.com>
4410 * atk-bridge/Makefile.am: make atk-bridge a real module
4412 2002-04-26 Radek Doulik <rodo@ximian.com>
4414 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4415 atk_state_types table
4417 2002-04-22 jacob berkman <jacob@ximian.com>
4420 * libspi/Makefile.am: add deps on the built files to help
4421 automake, and don't version the ORBit typelib
4423 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4425 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4426 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4427 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4428 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4429 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4430 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4431 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4432 libspi/accessible.h libspi/accessible.h libspi/base.h
4433 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4434 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4435 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4436 libspi/spi-private.h libspi/statetset.h libspi/table.h
4437 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4438 util/mag_client.h util/mag_control.c util/mag_image.c
4439 util/mag_image.h util/magnifier.c util/magnifier.h:
4440 Add missing file headers; standardize existing ones
4442 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4444 * atk-bridge/bridge.c: Added window event support.
4446 2002-04-18 Michael Meeks <michael@ximian.com>
4448 * libspi/relation.c (impl_getNTargets): impl.
4449 (impl_getTarget): impl.
4451 * libspi/Makefile.am: fix stateset install.
4453 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4456 Started putting useful info in this file.
4458 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4460 * atk-bridge/bridge.c:
4461 Propagate state-changed notifications to ATs
4463 * cspi/spi_registry.c: update docs to reflect actual behavior of
4464 state-change events.
4466 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4469 Incremented version to 0.12.1
4471 * util/mag_client.h:
4472 Add missing declaration for magnifier_exit,
4473 used by mag_control.c - Forte compiler didn't like
4474 the implicit redeclaration of the function :-(
4477 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4480 Revved version to 0.12 due to API change (see below).
4482 * cspi/spi-roletypes.h:
4483 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4484 definition from the inline docs, and added docs
4485 for SPI_ROLE_LAST_DEFINED.
4488 * cspi/spi_streamablecontent.c:
4489 Added missing seek_type parameter to
4490 (so far unused) method,
4491 AccessibleStreamableContent_seek().
4492 [ RT approval JodyG. ]
4495 Fixed docs for SPI_createAccessibleKeystrokeListener.
4497 * cspi/spi_registry.c:
4498 Fixed docs for SPI_KEYSET_ALL_KEYS.
4500 * docs/reference/cspi/at-spi-cspi-sections.txt:
4501 Added a number of missing APIs to SECTIONS.
4503 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4505 * registryd/Makefile.am:
4507 * cspi/bonobo/Makefile.am:
4508 Add $(X_LIBS) to makefiles.
4510 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4513 Revved version to 0.11.
4515 * libspi/component.c:
4516 Added implementation for grabFocus.
4518 * idl/Accessibility_Component.idl
4519 (Accessibility_Component_grabFocus):
4520 Made this method return boolean to indicate success or failure, to
4521 be consistent with cspi and the corresponding ATK method.
4523 * idl/Accessibility_Selection.idl
4524 (Accessibility_Selection_selectAll) :
4525 Made these methods return boolean to indicate success or
4526 failure, to be consistent with cspi and the corresponding ATK methods.
4528 * idl/Accessibility_EditableText.idl
4529 (Accessibility_EditableText_setTextContents,
4530 Accessibility_EditableText_insertText,
4531 Accessibility_EditableText_cutText,
4532 Accessibility_EditableText_deleteText,
4533 Accessibility_EditableText_pasteText):
4534 Made these methods return boolean to indicate
4537 * cspi/spi_editabletext.c:
4538 Made these methods return booleans.
4540 * libspi/selection.c:
4541 * libspi/component.c:
4542 * libspi/editabletext.c:
4543 Connected the boolean returns from ATK
4544 to the server-side code referenced above.
4546 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4548 * idl/Accessibility_Table.idl: Added missing methods,
4549 Accessibility_Table_addRowSelection,
4550 Accessibility_Table_addColumnSelection,
4551 Accessibility_Table_removeRowSelection,
4552 Accessibility_Table_removeColumnSelection.
4555 Added C wrappers for above IDL:
4556 AccessibleTable_addRowSelection,
4557 AccessibleTable_addColumnSelection,
4558 AccessibleTable_removeRowSelection,
4559 AccessibleTable_removeColumnSelection.
4562 Added server-side implementation code for IDL above, connecting
4563 to pre-existing ATK api.
4565 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4567 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4569 * libspi/accessible.c: Added implementation fo
4570 Accessibility_Accessible_get_state.
4572 * libspi/libspi.h: Added stateset.h to the list of includes.
4574 * libspi/stateset.c: Fixed broken implementation.
4576 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4579 Added implementation code for Accessibility_Magnifier_exit ().
4581 * util/mag_control.c:
4582 Added test code for above method; you can
4583 now kill an existing magnifier via
4584 ./mag_control q, from the util directory.
4586 * test/key-listener-test.c:
4588 Added a new test, for our key listener API.
4590 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4592 * test/app.c, test/keysynth-demo.c:
4594 Replace use of snprintf with g_snprintf.
4595 (fix for bugzilla 78249)
4597 2002-03-27 Michael Meeks <michael@ximian.com>
4601 * util/Makefile.am (INCLUDES): fix.
4602 (DONT_DIST_SOURCE): don't distribute the
4605 * libspi/Makefile.am (dist-hook): ditto.
4607 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4609 * libspi/hypertext.c:
4610 Fix warnings when yelp is used with atk-bridge
4612 2002-03-21 Michael Meeks <michael@ximian.com>
4614 * libspi/application.c (spi_application_new):
4615 use spi_accessible_construct so we use the AtkObject
4618 2002-03-19 Michael Meeks <michael@ximian.com>
4620 * registryd/registry.c (desktop_remove_application),
4621 (desktop_add_application): clean coding style.
4623 * registryd/desktop.c (spi_desktop_remove_application),
4624 (spi_desktop_add_application): kill re-enterency hazards.
4625 (spi_desktop_dispose): remove bogus redundant cast
4626 obscuring bug; fix bug too.
4627 (spi_desktop_init): make the desktop object immortal.
4629 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4632 Added a #define-guarded tree-traversal step
4633 when enumerating the apps (diagnostic tool).
4635 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4637 * idl/Accessibility_Role.idl:
4638 Added ROLE_DRAWING_AREA which seemed to be missing from the
4641 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4643 * cspi/spi-roletypes.h cspi/spi_accessible.c
4644 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4647 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4648 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4649 AT when applications are added and removed from the desktop. This
4650 reverts the previous broken implementation using the backing
4651 AtkObject for the SpiDesktop.
4653 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4655 * registryd/desktop.c: emit the "children-changed::add" and
4656 "children-changed::remove" signals on the backing ATK object for
4657 the desktop so AT can tell when applications are started and shut
4660 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4662 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4664 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4666 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4668 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4670 * cspi/state-types.h: synched with IDL and ATK
4672 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4674 * libspi/accessible.c
4675 (impl_accessibility_accessible_get_child_at_index):
4676 Change return value for g_return_if_fail ()
4677 to CORBA_OBJECT_NIL instead of "0" (!)
4679 * registryd/Makefile.am:
4680 * registryd/Accessibility_Register.server.in:
4681 Changed name of executable, "registryd",
4682 to something more informative:
4685 2002-03-13 Michael Meeks <michael@ximian.com>
4687 * atk-bridge/bridge.c (atk_bridge_init): don't register
4688 if we're in a bonobo-component, rather than a bonobo app.
4690 2002-03-13 Michael Meeks <michael@ximian.com>
4692 * atk-bridge/bridge.c (gtk_module_init): split
4693 out body to (atk_bridge_init): here, since otherwise
4694 we get symbol conflicts and oddness when invoked
4695 from (gnome_accessibility_module_init): here (upd.)
4697 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4700 New file. Explicitly allow "build sheriff" putbacks provided
4701 they are tested on Solaris.
4703 * docs/reference/cspi/Makefile.am:
4704 Added '-' to the "cp" command for index.sgml.
4705 ("patch by thomasvs, soon coming to a GUADEC near you")
4708 Incremented version number (0.9.0) for new release.
4709 Changed macro that checks for popt, to better detect
4710 obsolete versions of popt.
4713 Added X_LIBS to AC_SUBST, for applications
4714 that call Xlib API directly.
4717 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4720 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4723 Fix regression caused by hard-coding major
4724 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4727 * test/test-simple.c (test_editable_text),
4728 (test_test): revert previous change (error was
4729 a regression in gail which is now fixed).
4731 2002-03-04 Michael Meeks <michael@ximian.com>
4733 * test/test-simple.c (test_editable_text),
4734 (test_text): pass G_MAXINT instead of '-1' for
4735 whole string - is this a good thing !?
4737 * cspi/spi_accessible.c
4738 (Accessible_getRelationSet): fix crasher bug
4739 overwriting the end of the array.
4741 * test/test-simple.c (validate_accessible): free,
4742 not g_free returned relation set.
4744 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4746 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4747 implemented stateset support
4749 * idl/Accessibility_State.idl: Made necessary changes to
4750 the IDL to support state sets.
4752 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4754 * registryd/deviceeventcontroller.c:
4755 Added implementation for generateMouseEvent.
4757 * cspi/spi_registry.c:
4758 Connected new implementation for generateMouseEvent
4761 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4764 Incremented revision (but no change in public API
4765 outside of 'utils', which are not installed public yet.)
4767 * libspi/component.c:
4768 Changed to use atk_component API for layers and
4769 mdi_zorder, instead of deprecated atk_object API.
4771 Magnification Utility Enhancements:
4774 Added implementation of createZoomRegion, clearAllZoomRegions,
4775 resizeZoomRegion. Added new commandline argument
4776 "--no-initial-region". Note that clearAllZoomRegions doesn't
4777 unmap the old '0' region as it should (yet), and the other
4778 methods only work when creating/resizing a single region,
4779 which is "region 0".
4780 (Code for multiple region support will be added later.)
4783 Now we raise the magnifier window each time it's refreshed;
4784 this will help keep it on top.
4786 * util/mag_client.h:
4787 Added simple wrappers for above, used by mag_control.
4788 For general use, it's recommended to use the bonobo magnifier
4789 control API directly instead of using these wrappers.
4792 Moved ZoomRegionData from magnifier.c to this file.
4794 * util/mag_control.c:
4795 Added some code to exercise new IDL implementations.
4797 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4799 * libspi/text.c: Provide implementation for getAttributes.
4801 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4804 Incremented revision.
4806 * test/test-simple.c:
4807 Replaced use of deprecated g_main_iteration with
4808 g_main_context_iteration.
4810 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4813 Incremented revision for desktop alpha 2.
4815 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4817 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4820 * test/simple-at.c: include netinet/in.h.
4822 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4824 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4825 use NULL, not CORBA_OBJECT_NIL.
4827 * libspi/accessible.c:
4828 (impl_accessibility_accessible_get_relation_set):
4829 allocate the sequence correctly.
4831 * libspi/remoteobject.h: kill spi_remote_object_new.
4833 * test/test-simple.c: (validate_accessible): add code
4834 to test relation sets, now all we need is to figure
4835 out how to excercise this code path :/
4837 2002-01-18 Michael Meeks <michael@ximian.com>
4839 * test/test-simple.c
4840 (key_listener_cb): consume the key.
4841 (test_keylisteners): update.
4842 (main): wait for any pending unrefs on events.
4844 * registryd/deviceeventcontroller.c
4845 (spi_controller_update_key_grabs): only re-issue the
4846 grab on a key release.
4847 (spi_device_event_controller_forward_key_event):
4848 refresh the keygrabs before we notify the listeners,
4849 to reduce the X ungrab / re-grab race.
4850 (spi_controller_register_with_devices): remove
4851 XSelectInput - we do that with the gdk_window_ call.
4852 (_spi_controller_device_error_handler): return a value.
4853 s/GDK_DISPLAY/spi_get_display/
4855 2002-01-17 Michael Meeks <michael@ximian.com>
4857 * registryd/deviceeventcontroller.c
4858 (_deregister_keygrab): don't blow out the later
4861 * test/test-simple.c (test_keylisteners): do a
4862 more intelligent validation.
4864 2002-01-14 Michael Meeks <michael@ximian.com>
4866 * atk-bridge/bridge.c
4867 (gnome_accessibility_module_init),
4868 (gnome_accessibility_module_shutdown): impl.
4869 (gtk_module_init): protect vs. double inits.
4870 (add_signal_listener): impl.
4871 (spi_atk_bridge_state_event_listener): kill
4872 (deregister_application): split out of
4873 (spi_atk_bridge_exit_func): here.
4875 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4878 Added caret tracking when using magnifier, and
4879 now use text bounds for focus tracking of text elements, rather than
4880 the component bounds - this is helpful for short text fields in long
4881 table cells, at high magnification.
4883 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4885 * registryd/deviceeventcontroller.c:
4886 Regression fix for keylistener de-registration; global keygrabs
4887 were not being released when deregisterKeystrokeListener was
4888 called in cspi, since
4889 Accessibility_DeviceEventController_deregisterKeystrokeListener
4890 was called with a zero-length keyset. That is because the cspi
4891 method, SPI_deregisterKeystrokeListener, does not take a keyset
4892 parameter but instead should remove all the key grabs held be a
4894 The code in impl_deregister_keystroke_listener was changed to copy
4895 the keylist from the listener instance previously registered with
4896 the DeviceEventController before releasing the grabs.
4898 * registryd/registry.c:
4899 * registryd/deviceeventcontroller.c:
4900 * libspi/spi-private.h:
4902 Changed spelling of "re-enterant" to "re-entrant" globally.
4904 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4906 * test/test-simple.c:
4907 Changed key listeners test - the test was slightly mis-using the
4908 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4909 It now uses '=' as the key event listened to and generated,
4910 relying on a keysym match rather than assuming that keycode 33
4911 is always equal to keysym '!'.
4913 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4916 Changed simple-at to use a specific keyset, rather than
4917 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4918 manager, desktop, etc.
4920 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4922 * registryd/deviceeventcontroller.c:
4923 Replaced standard X error handler with a special handler that
4924 is non-fatal for failed keygrabs. This works around
4925 problems with keygrab clashes sometimes observed on
4927 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4928 mouse handling code as yet).
4930 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4933 Incremented revision for desktop alpha release.
4936 Fixed a couple of the more glaring errors (still not
4939 2002-01-11 Michael Meeks <michael@ximian.com>
4941 * registryd/deviceeventcontroller.c
4942 (spi_device_event_controller_forward_key_event): kill
4943 XUngrabKey / XKeyGrab race.
4944 (spi_controller_grab_keyboard): rename to
4945 (spi_controller_update_key_grabs): this, and deal
4946 with incremental adding / removing grabs more
4948 (_register_keygrab): ensure we're not pending a remove.
4949 (spi_grab_mask_free): impl.
4950 (spi_controller_register_global_keygrabs): split out
4952 (handle_keygrab): impl.
4953 (_deregister_keygrab): impl.
4954 (spi_controller_deregister_global_keygrabs): impl.
4955 (spi_controller_update_key_grabs): re-issue the grab if
4956 we just recieved a notification.
4958 * test/test-simple.c (key_listener_cb): remove debug.
4960 * registryd/deviceeventcontroller.c
4961 (spi_controller_register_device_listener): after
4962 registering a global keygrab, actualy register it !
4963 don't wait for a timeout; doh !
4965 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4966 to make it more readable / manipulable.
4967 s/grabmask/grab_mask/ s/refcount/ref_count/
4968 s/keyval/key_val/ s/modmask/mod_mask
4970 2002-01-08 Michael Meeks <michael@ximian.com>
4972 * registryd/deviceeventcontroller.c
4973 (spi_controller_register_with_devices): use gdk calls to
4975 (global_filter_fn): implement the filter.
4976 (spi_device_event_controller_check_key_event): rename to
4977 (spi_device_event_controller_forward_key_event): this & upd.
4978 (spi_get_display): replace with GDK_DISPLAY.
4980 * registryd/deviceeventcontroller.c
4981 (spi_controller_deregister_device_listener): unroll into
4982 (impl_deregister_keystroke_listener): here to simplify.
4983 (spi_controller_register_global_keygrabs): split cut and
4984 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4985 (spi_controller_deregister_device_listener): remove.
4986 (impl_register_mouse_listener): remove, no mouse listener
4987 support in at-spi-1.0
4989 * registryd/registry.c
4990 (_device_event_controller_hook): kill.
4991 (spi_registry_init): upd.
4993 * registryd/deviceeventcontroller.c
4994 (spi_device_event_controller_class_init): upd.
4995 (spi_check_key_event): merge into.
4996 (spi_device_event_controller_check_key_event):
4997 here and kill strange static ev init, don't leak
4998 the x_event - nor dynamicaly allocate it.
5000 * registryd/registry-main.c (main): re-direct
5001 timeout to remove strange vtable mess.
5003 * registryd/deviceeventcontroller.c
5004 (remove_listener_cb): impl.
5005 (spi_controller_deregister_device_listener):
5006 fix re-enterancy hazard.
5008 2002-01-07 Michael Meeks <michael@ximian.com>
5010 * registryd/deviceeventcontroller.c
5011 (spi_device_event_controller_new): upd.
5012 (impl_notify_listeners_sync): upd. debug.
5013 (spi_notify_keylisteners): fix re-enterancy hazards,
5014 prettify, remove O(n*n) iteration.
5015 (spi_controller_grab_keyboard): fix iteration.
5016 (spi_check_key_event): re-format to suit coding style.
5017 Clean all the warnings - we're warning free.
5019 * registryd/deviceeventcontroller.h:
5020 * registryd/registry.h: make mutualy referential with
5021 typesafe forward references instead of (!) void pointer
5024 2002-01-11 Michael Meeks <michael@ximian.com>
5026 * cspi/spi_accessible.c (role_names): add a role name
5027 to sync this array with the enum; and make the regression
5030 2002-01-10 Michael Meeks <michael@ximian.com>
5032 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5033 allow expansion of enumeration & kill warning.
5035 * test/test-simple.c (key_listener_cb): impl.
5036 (test_keylisteners): impl.
5038 * cspi/spi-listener.h: make listener signatures const
5039 on the provided (const) events.
5041 * test/keysynth-demo.c: upd. to const events.
5043 * test/simple-at.c: ditto.
5045 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5048 Rev the version to 0.5 (the previous tarball was named 0.4,
5049 even though the micro number was 3), so we need to rev upwards
5050 again for beta2/"desktop-alpha"
5053 Checked in a demo script, which requires editing before use!
5054 Proceed with caution.
5057 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5059 * cspi/spi_accessible.c:
5060 Add a couple of missing enum initializations, and fix some enum
5063 * cspi/spi_registry.c:
5064 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5066 * docs/reference/cspi/at-spi-cspi-sections.txt:
5067 Remove/fix a couple of broken document references.
5070 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5071 as Alt-Control to listen for commands, since on some systems
5072 Control-Alt may already be grabbed.
5074 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5077 Update version number to 0.4 for Beta2.
5079 * libspi/accessible.c, libspi/accessible.h:
5080 Expose spi_accessible_construct, to enable libgail-gnome
5081 construction from spi_accessible subtype.
5083 * utils/magnifier.c:
5084 Workaround for bug in some non-gnome-compliant window managers
5085 which made magnifier resize improperly.
5087 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5089 * libspi/accessible.c: (spi_accessible_new) :
5090 Move the test for SPI_IS_REMOTE_OBJECT to
5091 spi_accessible_new_return, fixing a bug and compile time warning.
5093 2002-01-08 Michael Meeks <michael@ximian.com>
5095 * registryd/registry.c (parse_event_type): remove strndup.
5097 * libspi/Makefile.am (libspi_la_SOURCES): remove
5098 sources already included in the headers section.
5100 * libspi/util.c: add.
5102 * libspi/spi-private.h: add.
5104 * registryd/registry.c: update to moved list iterators.
5106 2002-01-05 Michael Meeks <michael@ximian.com>
5108 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5110 * test/test-simple.c (main): ditto.
5112 2002-01-04 Michael Meeks <michael@ximian.com>
5114 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5115 redundant construct.
5117 * registryd/registry.c
5118 (get_listener_list): impl.
5119 (impl_accessibility_registry_register_global_event_listener):
5120 re-impl. to simplify using ~, remove dodgy const cast off.
5121 (parse_event_type): constify.
5122 (impl_accessibility_registry_deregister_global_event_listener_all):
5123 re-write, more efficiency and simplicity, kill re-enterancy
5125 (compare_listener_corbaref, compare_corba_objects),
5126 (compare_listener_quarks): define out.
5127 (impl_accessibility_registry_deregister_global_event_listener):
5128 re-write for effiency, and nail re-enterancy hazard.
5129 (impl_accessibility_registry_get_desktop_list): impl.
5130 (re_enterant_list_delete_link): impl.
5131 (re_enterant_list_foreach): impl.
5132 (remove_listener_cb): impl.
5133 (_registry_notify_listeners): kill.
5134 (notify_listeners_cb): impl.
5136 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5137 (SPI_getDesktopList): impl.
5139 * test/test-simple.c (test_desktop): test the methods.
5141 2002-01-03 Michael Meeks <michael@ximian.com>
5143 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5144 keystrings since we free them
5145 (SPI_freeAccessibleKeySet): in here.
5147 * libspi/accessible.c (spi_accessible_new): kill warning,
5148 wonder what is going on with the constructor here.
5150 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5152 * libspi/accessible.c (spi_accessible_new ()) :
5153 Added check to see if AtkObject is an SpiRemoteObject before
5154 creating an SpiAccessible.
5156 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5158 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5159 Enable keygrabs using the Control modifier, now that they are
5160 working properly (they were previously disabled).
5163 Change the command keygrab for this demo to "Control+Alt", so as
5164 to conflict with fewer other key commands on the system; this
5165 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5167 Removed a pointlessly-chatty keylistener for unshifted keys
5168 (shifted keys are still reported).
5170 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5172 * libspi/remoteobject.h:
5173 * libspi/remoteobject.c:
5174 Added definitions for special AtkObject subtype, required for
5175 support of remote components (specifically, used by BonoboControl
5176 accessibility implementation).
5178 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5180 * cspi/spi.h: synched relation types with ATK
5182 * cspi/spi_accessible.c: Added implementations of
5183 AcccessibleRelation_* methods
5185 * idl/Accessibility_Relation.idl: added getRelationTypeName
5186 method. Synched known relation types with ATK. Allowed for
5187 relation type extension with the RELATION_EXTENDED type.
5189 * libspi/relation.c: Provided implementations for
5190 AccessibleRelation methods.
5192 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5194 API tweaks for today's API 'freeze'.
5197 Added placeholder functions to allow future compatible expansion
5198 of the IDL interfaces.
5200 * idl/Accessibility_Registry.idl:
5201 Changed generateKeyEvent to generateKeyboardEvent. Changed
5202 signature of this method to accept an optional keystring in
5203 parameter (for complex text input synthesis) and changed use of
5204 simple 'boolean' parameter in registerKeystrokeListener to a
5205 struct, EventListenerMode.
5207 * cspi/spi_accessible.c:
5209 * cspi/spi_streamablecontent.c:
5210 Added references to AccessibleStreamableContent interface, and
5211 definition and implementation of AccessibleStreamableContent
5214 * cspi/spi_registry.c:
5216 Changed generateKeyEvent API to generateKeyboardEvent,
5217 taking a new (optional) keystring parameter to support complex
5222 Renamed directory (to better reflect its actual purpose, bridging
5223 from at-spi to ATK). The .so module is also now named
5226 * idl/Accessibility_Hypertext.idl:
5227 * libspi/accessible.c:
5228 * libspi/hypertext.h:
5229 * libspi/hypertext.c:
5230 Changed Accessibility_Hypertext to *not* derive from
5233 * cspi/spi_registry.c:
5234 Added list of legal event type names for 'window' events, which
5235 completes the registry event API.
5237 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5239 * at-bridge/bridge.c: Added registration for separate
5240 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5241 signals. If either of the first two parameters to the generic
5242 bridge signal handler are ints, they are passed on as event
5243 details. This allows an AT to determine what text was inserted.
5245 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5247 * registryd/deviceeventcontroller.c:
5248 Fixed regressions in generateKeyEvent caused by the removal of
5249 gdk_init from registryd; we now use pure X calls to connect to the
5250 display, which makes sense because deviceeventcontroller already
5251 uses a fair bit of X API (should eventually be migrated to a
5252 'portability layer').
5254 * registryd/desktop.c:
5255 Fixed minor regression in spi_desktop_init, changed the way the
5256 desktop name is being set to work with new spi_base API
5257 (gobject-based, rather than AtkObject-based).
5259 * registryd/Makefile.am:
5260 Minor revision of makefile to use XTST_LIBS variable rather than
5261 hard-wiring the Xtst LD_ADD element.
5263 * test/keysynth-demo.c:
5264 Tweaked an output message; added initialization of the
5265 'keystrings' member of the "switch listener" key_set.
5267 * libspi/relation.c:
5268 Squashed compile-time warning.
5270 * libspi/accessible.c:
5271 Cosmetic and formatting fixes, renamed a static method.
5273 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5275 * libspi/accessible.c
5277 * libspi/application.c
5280 * libspi/component.c
5281 * libspi/editabletext.c
5282 * libspi/hyperlink.c
5283 * libspi/hypertext.c
5285 * libspi/selection.c
5289 * registryd/desktop.c:
5290 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5292 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5294 * idl/Accessibility_Registry.idl:
5295 Added boolean member 'is_text' to DeviceEvent. This is for the
5296 use of key events, and helps prevent ambiguity between composed
5297 key strings and keysym names, since both may potentially be
5298 returned in the 'event_string' member.
5300 * at-bridge/bridge.c:
5301 * registryd/deviceeventcontroller.c:
5302 Use the 'is_text' member when notifying device event listeners.
5303 Knon issue: composed characters are not dealt with correctly by
5304 the global key listener implementation yet.
5306 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5308 * at-bridge/bridge.c:
5309 Namespaced local static methods to spi_atk_bridge_* where
5310 previously named bridge_*, and spi_* elsewhere.
5312 * at-bridge/bridge.c:
5313 * cspi/bonobo/cspi-bonobo-listener.c:
5314 Added demarshalling/conversion for string member of
5315 Accessibility_DeviceEvent to AccessibleKeystroke.
5317 * registryd/deviceeventcontroller.c:
5318 Added code to fill the Accessibility_DeviceEvent key string value
5319 member for global key events (i.e. from XGrabKey), to match
5320 behavior of Accessibility_DeviceEvent from the toolkit key events
5321 from the bridge. Fixed timestamp in global key event notifications.
5324 Added printout of key event's string value to
5325 report_ordinary_key_event, for demo/debugging purposes.
5327 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5329 * idl/Accessibility_Registry.idl:
5330 Removed Accessibility_KeyStroke structure in favor of generic
5331 Accessibility_DeviceEvent structure.
5332 Changed Accessibility_ControllerEventMask from a struct to an
5335 * at-bridge/bridge.c:
5336 Changed APIs to use DeviceEvent structure as above, and removed
5337 bogus casting between these event structures.
5339 * cspi/spi-listener.h:
5340 Added keystring member of AccessibleKeystroke structure, to enable
5341 matching on event "names" rather than only hardware codes and
5345 Added keystrings member of AccessibleKeySet struct, to allow
5346 matching on event names (as above).
5347 Added declarations for SPI_createAccessibleKeySet and
5348 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5349 event modmasks directly as unsigned ints rather than structs with
5350 refcounts, in the DeviceEventController methods.
5352 * cspi/spi_registry.c:
5353 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5355 * cspi/spi-roletypes.h:
5356 Added documentation of newly added SPI Roles.
5358 * cspi/bonobo/cspi-bonobo-listener.c:
5359 Changes in support of API changes above.
5361 * libspi/accessible.c:
5362 Converted APIs to use DeviceEvent structure (see IDL changes
5365 * registryd/deviceeventcontroller.c:
5366 Added DEControllerGrabMask structure to track keygrabs not only by
5367 modmask but by keyset as well; this allows us to do "global"
5368 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5369 grabbing on AnyKey and then filtering after-the-fact.
5370 Bugfixes for event filtration mean that we don't get false matches
5371 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5373 * registryd/deviceeventcontroller.c:
5374 Namespaced a number of static methods to use spi_ prefix. Major
5375 revision to internals of global (i.e. X) key grabs.
5377 * registryd/deviceeventcontroller.h:
5378 Removed keymask_list and added keygrabs_list to
5379 SpiDeviceEventController struct.
5382 Added use of SPI_createAccessibleKeySet API when creating a
5383 listener for only one key. Attach a listener to "shift spacebar
5384 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5385 X key event names to SPI key event names, so that listeners are
5386 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5388 * test/keysynth-demo.c:
5389 Changed (incorrect) use of X key event names (KeyPressed,
5390 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5393 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5395 * libspi/accessible.c:
5396 Convert all AtkRole enumerations to Accessibility_Role enums when
5397 getting a role from an AtkObject.
5399 * cspi/spi_accessible.c:
5400 Complete the conversion of Accessibility_Role enums at runtime to
5401 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5402 role enums correctly match those given in spi-roletypes.h.
5403 Re-synchronize the local names list for AccessibleRole_getName ().
5404 AccessibleRole_getName is now deprecated, since it duplicates the
5405 more reliable Accessible_getRoleName.
5406 Added some role types from Accessibility_Role.idl.
5408 * idl/Accessibility_Role.idl:
5409 Added some role types used by AtkRole.
5411 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5414 * cspi/spi_registry.c:
5416 * cspi/cspi-bonobo-listener.c:
5417 Namespaced all methods that did not begin with an "SPI_" or
5418 "Accessible" prefix to "SPI_".
5421 Homogenized internal function namespace to "cspi_" for statics.
5424 Patched tests to use the new CSPI API.
5426 * docs/reference/cspi/at-spi-cspi-sections.txt:
5427 Updated docs to reflect namespace changes, and added a number of
5428 methods to the documentation.
5430 * registryd/registry.c:
5431 Changed use of strings and string hashes in listener event
5432 matching and parse_event_string to use GQuark, which is guaranteed
5435 * registryd/registry.h:
5436 Squashed annoying warning.
5438 * idl/Accessibility_Role.idl:
5439 Extended range of available Accessibility_Role values.
5441 * cspi/spi_accessible.c:
5442 Re-ordered role names.
5444 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5446 * idl/Accessibility_Value.idl:
5447 Revert use of union back to CORBA_double, since the double type is
5448 more efficient and can contain the other types without loss of
5451 * idl/Accessibility_Accessible.idl:
5452 Added method Accessibility:Accessible:getRoleName, to complement
5453 Accessibility:Accessible:getRole.
5455 * cspi/spi_accessible.c:
5457 Added C binding for above, Accessible_getRoleName (), and changed
5458 signature of Accessible_getRole () to return an AccessibleRole.
5460 * cspi/spi-roletypes.h:
5461 Changed AccessibleRole_getName to return a char * instead of a
5462 const char *. This method is now at least temporarily deprecated
5463 in favor of asking Accessibles for their RoleNames directly.
5466 Revert to match Accessibility_Value.idl;
5470 Change signature of AccessibleValue methods to use double rather
5474 * cspi/spi_accessible.c:
5475 Changed Accessible_getRole to return an AccessibleRole enum rather
5476 than a UTF-8 string. The UTF-8 string can still be obtained via
5477 AccessibleRole_getName ().
5479 * test/test-simple.c:
5480 Add test_action. Small fixup to match API change to Accessible_getRole.
5483 Bugfix for get_action_from_servant ().
5485 2001-12-11 Michael Meeks <michael@ximian.com>
5487 * libspi/libspi.h: remove registry.h and
5488 desktop.h, deviceeventcontroller.h
5490 * libspi/Makefile.am: remove registry.[ch],
5491 desktop.[ch], deviceeventcontroller.[ch]
5493 * registryd/Makefile.am: add registry.[ch],
5494 desktop.[ch], rename registryd.c to registry-main.c.
5495 add deviceeventcontroller.[ch]
5497 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5500 Replace setenv() call with putenv ().
5502 * libspi/component.c:
5503 Bugfix in AccessibleComponent_getExtents (),
5506 2001-12-11 Michael Meeks <michael@ximian.com>
5508 * libspi/image.c (impl_getImageExtents): impl.
5509 (spi_image_class_init): upd.
5512 (AccessibleImage_getImageDescription): fix daft bug
5515 * test/test-simple.c (global_listener_cb): update
5516 to only quit if not --poke
5517 (main): catch --poke.
5518 (validate_accessible): upd. dumping, call test_image
5521 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5524 * idl/Accessibility.idl: update all IDL includes.
5526 * idl/*.idl - rename to namespace - this sucks, blame
5527 mjs' bad decision for oafd.
5529 * test/test-simple.c (create_test_window): add more tests.
5530 (create_tree): split this out.
5531 (validate_accessible): bugfix.
5533 2001-12-11 Michael Meeks <michael@ximian.com>
5535 * cspi/bonobo/cspi-bonobo-listener.c:
5536 (cspi_kestroke_listener_unref),
5537 (cspi_event_listener_unref): impl. undoing previous
5538 homenous environment - for Bill.
5540 * cspi/spi_table.c (long_seq_to_array): use
5543 * cspi/spi_main.c: split out all bonoboish bits into
5546 * cspi/spi-impl.h: upd. typedefs.
5548 * cspi/spi_registry.c: update to lowlevel API,
5549 return booleans to indicate success in some places.
5551 * cspi/spi_event.c: update to lowlevel API.
5553 * cspi/bonobo/Makefile.am: add.
5555 * cspi/bonobo/cspi-lowlevel.h: add
5557 * cspi/bonobo/cspi-bonobo.c: add
5559 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5561 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5562 (SUBDIRS): add bonobo, link in the libs.
5564 * cspi/spi-util.c: kill this file.
5566 * TODO: merge in my bits.
5568 2001-12-11 Michael Meeks <michael@ximian.com>
5570 * test/test-simple.c (test_value, test_table, main):
5571 remove unused variables causing warnings.
5573 * configure.in: cleanup checks - require gail.
5575 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5578 Changed Value interface to use SValue (scalars) rather than
5579 assuming all values are floats. This allows floats, doubles,
5580 longs, shorts, and unsigned values to be manipulated.
5581 Introduced Accessibility:SValue union.
5584 Updated to use new API above, and to work correctly with GValues
5585 of different types in AtkValue.
5588 Updated to use new API above. cspi's API is as yet unchanged.
5591 Updated the Value revision action item.
5593 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5595 * test/test-simple.c:
5596 Added test_table (GtkTreeView widget in test window to follow).
5597 Un-commented test_value, added GtkRange widget.
5598 Added GtkTreeView widget with GtkListStore. It passes regression
5599 test but leaks one SPI object for some reason.
5602 Fixed bug in impl__set_currentValue.
5604 2001-12-10 Michael Meeks <michael@ximian.com>
5606 * cspi/spi_text.c: audit for exception handling,
5607 tolerating NULL object references safely etc.
5609 * cspi/spi_value.c: ditto.
5611 * cspi/spi_table.c (AccessibleTable_getSummary),
5612 (AccessibleTable_getAccessibleAt),
5613 (AccessibleTable_getRowHeader),
5614 (AccessibleTable_getColumnHeader),
5615 (AccessibleTable_getCaption): fix bugs hidden by
5617 (long_seq_to_array): impl.
5618 (AccessibleTable_getSelectedRows),
5619 (AccessibleTable_getSelectedColumns): use it.
5621 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5624 Added a TODO list (rough and short for now).
5626 * cspi/spi_hyperlink.c:
5627 * cspi/spi_hypertext.c:
5628 Fixed macro name typos, and remove use of obsolete macro in
5629 AccessibleHyperlink_getLink.
5631 * cspi/spi_action.c:
5632 * cspi/spi_accessible.c:
5633 * cspi/spi_application.c:
5634 * cspi/spi_component.c:
5635 * cspi/spi_selection.c:
5638 Documentation fixes (removed return values from ref/unref methods).
5640 2001-12-10 Michael Meeks <michael@ximian.com>
5642 * cspi/spi_action.c: audit for exception handling,
5643 tolerating NULL object references safely etc.
5645 * cspi/spi_accessible.c: ditto.
5647 * cspi/spi_component.c: ditto.
5649 * cspi/spi_editabletext.c: ditto.
5651 * cspi/spi_hyperlink.c: ditto.
5653 * cspi/spi_hypertext.c: ditto.
5655 * cspi/spi_image.c: ditto.
5657 * cspi/spi_selection.c: ditto.
5659 2001-12-10 Michael Meeks <michael@ximian.com>
5661 * configure.in: use cspi/libspi.pc.in instead.
5663 * Makefile.am (pkgconfig_DATA): upd. to match.
5665 * test/simple-at.c (report_focus_event): kill hacks around
5666 bad return values, use putenv not setenv
5668 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5669 fire ChildGone - I killed it.
5671 * libspi/component.c
5672 (impl_accessibility_component_get_extents): remove
5675 * idl/Accessible.idl: kill ChildGone exception.
5677 * cspi/*.[ch]: kill int return from ref / unref.
5679 * cspi/spi_main.c (cspi_object_add_check): fold into
5680 (cspi_object_add): here.
5682 * cspi/spi_component.c (AccessibleComponent_getExtents):
5683 handle exceptions elegantly.
5685 * cspi/spi-private.h (cspi_check_ev_return),
5686 (cspi_return_if_fail): impl.
5688 * cspi/spi_accessible.c: use extensively.
5689 (AccessibleStateSet_equals): add direct compare check.
5691 * cspi/spi_selection.c: tolerate NULL objs, and check
5692 exceptions before return.
5694 * cspi/spi-util.c (cspi_warn_ev): rename to
5695 (cspi_check_ev): this & don't pass ev in; no point.
5697 2001-12-10 Michael Meeks <michael@ximian.com>
5699 * test/test-simple.c: use putenv not setenv
5700 (get_environment_vars): more chatty if you're not using
5703 * test/simple-at.c: do the setenv so more people see the
5706 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5708 * libspi/registry.c:
5709 Changed check of CORBA_environment on notification to be a warning
5710 instead of an error for the moment, since we can recover from this
5711 error when caused by a queued notification from a dead app.
5714 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5715 used by all current implementors of AtkValue), and coerce to
5716 CORBA_float. (Proper general case fix may require change to Value.idl).
5718 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5722 * cspi/spi_accessible.c:
5723 Documentation fixes: added user_data params to documentation for
5724 listeners and callbacks.
5726 * cspi/spi_accessible.c:
5727 Changed AccessibleStateSet_compare to return a
5728 StateSet rather than return the difference set into a third parameter.
5731 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5734 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5735 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5739 Remove subdirectory po from SUBDIRS for now.
5741 * at-bridge/bridge.c:
5742 Beefed up a couple of debug printouts.
5743 One-line fix for signal notification name formatting.
5745 * libspi/accessible.c:
5746 Added assertion to spi_accessible_new ().
5748 * libspi/application.c:
5749 Put #ifdef qualifiers around a printf.
5752 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5754 * registryd/Makefile.am:
5756 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5757 INTLTOOL_SERVER_RULE macro.
5760 Added an event listener for several ATK signals, for
5761 testing and debugging. Removed a few g_warnings.
5762 Added test output if focussed item implements the Value interface.
5764 * test/test-simple.c:
5765 Added test_value () function (known not to pass at the moment, so
5766 not actually called yet.
5768 2001-12-08 Michael Meeks <michael@ximian.com>
5770 * at-bridge/bridge.c (bridge_focus_tracker),
5771 (emit_eventv): fix the same ref. leak.
5772 (register_atk_event_listeners): don't leak.
5774 * cspi/spi-listener-impl.c (cspi_event): more
5775 protection from client code.
5777 * test/test-simple.c (test_desktop): unref the app.
5779 * test/Makefile.am: upd. TESTS.
5781 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5783 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5785 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5787 * cspi/spi_registry.c: constify in strings.
5788 (deregisterGlobalEventListenerAll): don't release the ref.
5790 * cspi/spi.h: start removing redundant / conflicting
5791 gtkdoc comments, making the API readable at a glance :-)
5793 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5795 * test/keysynth-demo.c (keysynth_exit, main): upd.
5797 * test/simple-at.c (main, simple_at_exit): upd.
5799 * test/test-simple.c (unutterable_horror): kill.
5800 (utterable_normal_derefs): kill.
5801 (main): upd & do a setenv before gtk_init, so that we
5802 can use memprof - and to save the pain of remembering
5803 this, if we're running under memprof - don't exit.
5805 * cspi/spi_main.c (SPI_exit): return exit status
5807 (SPI_event_quit): impl.
5808 (SPI_event_main): simplify.
5809 (cspi_is_gnome_app): kill.
5810 (SPI_init): kill isGNOMEapp arg.
5812 * at-bridge/bridge.c (register_atk_event_listeners):
5813 re-instate the unref.
5814 (bridge_exit_func): don't re-activate the registry,
5815 protect vs. theoretical re-entry, use the
5816 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5817 assert a clean shutdown - for regression tests.
5819 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5821 * configure.in: Comment out dummy i18n support for now,
5822 otherwise it fails to build.
5823 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5824 EXTRA_DIST. They are missing in tarball.
5826 2001-12-07 Michael Meeks <michael@ximian.com>
5828 * util/magnifier.c: kill bonobo activation reg. race.
5830 * libspi/component.c
5831 (impl_accessibility_component_get_extents): make it match
5834 * libspi/registry.c (_registry_notify_listeners):
5835 re-remove X headers & reconcile conflicts.
5836 (spi_listener_struct_free): bad conflict resolve.
5837 (impl_accessibility_registry_register_application):
5838 more bad merging fixed.
5839 (impl_accessibility_registry_deregister_application): ditto.
5840 (spi_registry_new): ditto.
5841 (spi_registry_init): don't have an applications field.
5843 [ merge fixups2 branch to here ]
5844 2001-12-07 Michael Meeks <michael@ximian.com>
5846 * test/simple-at.c (report_focus_event),
5847 (report_focussed_accessible): remove g_warning debug.
5849 2001-12-07 Michael Meeks <michael@ximian.com>
5851 * test/test-simple.c (validate_tree): comment out some checks.
5852 (test_desktop): app now not registered idly - horay.
5854 2001-12-07 Michael Meeks <michael@ximian.com>
5856 * cspi/spi_registry.c
5857 (registerAccessibleKeystrokeListener): clean, stop it leaking
5858 great swathes of memory, and device event controller references.
5859 ensure we always pass valid sequences.
5860 (deregisterAccessibleKeystrokeListener): ditto.
5861 (generateKeyEvent): upd.
5863 * at-bridge/bridge.c (bridge_key_listener): handle
5864 registry dead exception gracefully.
5865 (bridge_focus_tracker, emit_eventv): free ev.
5867 * test/simple-at.c (report_focus_event): fix polarity.
5869 * libspi/application.c (notify_listeners): kill the ev
5870 argument, and make sure we init the ev we use.
5871 (spi_application_object_event_listener): split out a chunk
5872 (get_atk_object_ref): here & fixup.
5873 (reverse_lookup_name_for_toolkit_event): make const.
5874 (spi_application_toolkit_event_listener): fixup, kill leaks
5877 * at-bridge/bridge.c (register_atk_event_listeners):
5878 don't unref the noop object - causes grief.
5880 * libspi/registry.c: remove the X headers.
5881 turn off the debug churn.
5883 * libspi/accessible.c (spi_accessible_new_return): only
5884 release the ref if we are supposed to [doh]
5886 * test/simple-at.c (report_button_press, report_focus_event):
5887 guard vs. unexpected exit.
5889 * at-bridge/bridge.c (gtk_module_init): prune printf.
5890 (bridge_exit_func): fix app unref.
5892 * libspi/Makefile.am: don't install registry or desktop.h
5894 * libspi/*.h: update includes.
5896 * libspi/application.h: don't include ourself, or
5897 other redundant headers.
5899 2001-12-06 Michael Meeks <michael@ximian.com>
5901 * libspi/accessible.c
5902 (get_accessible_from_servant): impl.
5903 Upd. all CORBA impl.s to use it killing cut and paste.
5905 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5907 (SPI_init): register atexit cleanup handler here.
5909 2001-12-06 Michael Meeks <michael@ximian.com>
5911 * at-bridge/bridge.c (gtk_module_init): g_error on
5912 activation exception
5914 2001-12-06 Michael Meeks <michael@ximian.com>
5916 * at-bridge/bridge.c (gtk_module_init): some sort of
5917 confusing merge clash - reverted.
5918 (bridge_idle_init): ditto.
5920 * test/test-simple.c (main, utterable_normal_derefs):
5921 merge from Bill - somehow not committed.
5923 2001-12-06 Michael Meeks <michael@ximian.com>
5925 * libspi/value.c (spi_value_class_init): upd.
5926 (spi_value_finalize): kill.
5928 * libspi/table.c (spi_table_finalize): kill.
5929 (spi_table_interface_new): upd.
5930 (spi_table_class_init): upd.
5931 (get_table_from_servant): impl.
5932 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5934 * libspi/selection.c (spi_selection_finalize): kill.
5935 (spi_selection_interface_new): upd.
5936 (spi_selection_class_init): upd.
5937 (get_selection_from_servant): impl.
5938 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5940 * libspi/relation.c (spi_relation_finalize): kill.
5941 (spi_relation_class_init, spi_relation_new): upd
5943 * libspi/image.c (spi_image_finalize): kill.
5944 (spi_image_class_init): upd.
5945 (spi_image_interface_new): upd.
5946 (get_image_from_servant): impl.
5947 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5949 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5950 (spi_hyperlink_finalize): kill.
5951 (spi_hyperlink_new): upd.
5952 (get_hyperlink_from_servant): impl.
5953 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5955 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5956 (spi_hypertext_finalize): kill.
5957 (spi_hypertext_class_init): upd.
5958 (get_hypertext_from_servant): impl.
5959 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5961 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5962 (spi_editable_text_interface_new): upd.
5963 (get_editable_text_from_servant): impl.
5964 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5966 * libspi/text.c (get_text_from_servant): impl.
5967 All impls - update to use it killing more cut and paste,
5968 also fix bad string returns on duff args ( a somewhat
5969 impossible case to handle - but hey ).
5970 (spi_text_construct): impl.
5971 (spi_text_interface_new): upd.
5972 (spi_text_object_finalize): kill.
5974 * libspi/component.c
5975 (accessibility_component_object_finalize): kill.
5976 (spi_component_class_init): upd.
5977 (get_component_from_servant): impl. helper to kill cut & paste.
5978 (impl_accessibility_component_contains):
5979 (impl_accessibility_component_get_accessible_at_point):
5980 (impl_accessibility_component_get_position):
5981 (impl_accessibility_component_get_extents):
5982 (impl_accessibility_component_get_mdi_z_order):
5983 (impl_accessibility_component_get_layer):
5984 (spi_component_interface_new): upd.
5986 * libspi/action.c (spi_action_finalize): kill.
5987 (spi_action_class_init): upd. inherit from SpiObject.
5988 (spi_action_interface_new): upd.
5989 (get_action_from_servant): impl. helper to reduce cut & paste.
5990 (impl_getKeyBinding, impl_getName, impl_doAction),
5991 (impl_getDescription): Use it everywhere.
5993 * cspi/spi_main.c (get_live_refs): a pointer hash.
5994 (spi_object_hash, spi_object_equal): comment out.
5995 There are issues with CORBA object hashing that need
5998 * libspi/application.c (spi_application_init),
5999 (spi_application_new): upd.
6001 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6002 (spi_accessible_class_init): upd.
6003 s/accessible/object/ in epv methods.
6005 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6007 * at-bridge/bridge.c:
6008 Reorder the bridge initialization into the bridge gtk_module_init,
6009 an immediate call to bridge_register_app, and an idle_add for
6010 register_atk_event_listeners (the only code that *must* wait until
6011 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6012 the activation, creates the application's Accessible object, and
6013 queues the bridge_idle_init function. Restored call to
6014 Accessibility_Registry_deregisterApplication().
6015 Prior to making this call we obtain a new reference to the
6016 registry, which is a temporary hack that helps us handle apps that
6017 shut down the bonobo mainloop before we get there.
6019 * libspi/registry.c:
6020 Fix string leakage in debug block, and don't segv if a an app
6021 dies before its event notifications have been propagated.
6024 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6025 as stopgap measure until we get proper exception handling when
6026 objects die during or before interrogation.
6030 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6031 Also changed default value of is_gnome_app to TRUE.
6034 * test/keysynth-demo.c:
6035 Changed use of SPI_init and SPI_event_main to reflect API change above.
6038 Made report_focus_event check the warning value from getName
6039 before reporting on focussed accessible; simplifies handling of
6040 notifications from dead objects.
6042 * test/test-simple.c: (Changes not in this patch since source is
6045 2001-12-05 Michael Meeks <michael@ximian.com>
6047 * registryd/registryd.c (main): protect against
6048 bonobo-activation startup race condition.
6050 * cspi/spi_main.c (cspi_object_add_check): cope
6051 with the exception elegantly.
6053 * idl/Accessible.idl: decl. ChildGone
6055 * libspi/desktop.c (spi_desktop_dispose): impl.
6056 (spi_desktop_class_init): upd.
6057 (spi_desktop_add_application),
6058 (spi_desktop_remove_application),
6059 (abnormal_application_termination): impl.
6060 (impl_desktop_get_child_at_index): re-impl.
6063 (impl_accessibility_registry_deregister_application),
6064 (impl_accessibility_registry_register_application):
6065 kill excessive debug clutter.
6067 * test/test-simple.c (test_misc): test some NULL
6068 tolerance. (main): upd.
6070 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6071 implements no interfaces - so let's not crash.
6073 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6075 * libspi/accessible.c (spi_accessible_new_return): impl.
6076 helper to calm the cut and paste, to cope with
6077 NULL AtkObjects effectively and efficiently, and to kill
6078 the referencing bugs.
6080 * libspi/table.c (impl_getAccessibleAt),
6081 (impl_getRowHeader, impl_getColumnHeader): upd.
6083 * libspi/hyperlink.c (impl_getObject): upd.
6085 * libspi/accessible.c
6086 (impl_accessibility_accessible_get_child_at_index): upd.
6088 * libspi/component.c
6089 (impl_accessibility_component_get_accessible_at_point): upd.
6091 * test/test-simple.c (test_editable_text, test_text): impl.
6094 * cspi/spi_editabletext.c
6095 (AccessibleEditableText_insertText): constify.
6097 * test/test-simple.c (focus_me): make more robust.
6099 * libspi/accessible.c: remove some printfs in methods that
6100 we test and work fine, so we can get a clean tree dump.
6102 * test/test-simple.c (validate_accessible),
6103 (validate_tree): make tree dumping pretty too.
6105 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6106 it builds without debug on.
6108 * test/test-simple.c (validate_accessible): fix the most
6111 * cspi/spi_main.c (spi_object_release): leave the nicely
6112 blanked memory around if in debug mode.
6114 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6116 [committed to fixups2]
6117 2001-12-05 Michael Meeks <michael@ximian.com>
6119 * libspi/editabletext.c
6120 (spi_editable_text_class_init): g_type_class_peek_parent,
6121 not interface peek - so we finalize cleanly.
6123 * libspi/accessible.c (spi_accessible_new): kill debug.
6125 * test/test-simple.c (validate_accessible): fix ref.
6126 leak, print strings before freeing them; sigh, comment a
6127 chunk out due to strangeness.
6128 (validate_tree): unref the child after use.
6130 * cspi/spi_component.c (AccessibleComponent_getLayer):
6131 add missing break statement, switch on zlayer not the
6132 uninitialized retval.
6134 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6135 before (possibly re-entering) remote unref.
6137 * test/simple-at.c (main): unref the desktop.
6139 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6142 * cspi/spi_main.c (cspi_accessible_is_a): here to
6143 isolate bonobo API usage more.
6145 * libspi/registry.c (impl_accessibility_registry_register_application):
6146 prune bogus comment.
6148 2001-12-04 Michael Meeks <michael@ximian.com>
6150 * test/test-simple.c (validate_tree): upd.
6151 IndexInParent check to make it more lucid.
6152 (validate_accessible): dump the tree.
6154 * libspi/accessible.c (de_register_public_ref),
6155 (get_public_refs): impl.
6156 (spi_accessible_new): make more efficient & intuitive.
6157 Now IndexInParent check works.
6159 2001-12-04 Michael Meeks <michael@ximian.com>
6161 * cspi/spi-util.h: remove.
6163 * cspi/spi.h: move SPI_freeString here
6165 * libspi/component.c (impl_accessibility_component_get_layer):
6167 (impl_accessibility_component_get_mdi_z_order): ditto,
6168 return -1 on error - is this ok ?
6170 * test/test-simple.c (test_application): impl.
6172 * cspi/spi_accessible.c (Accessible_getApplication),
6173 (Accessible_isApplication): impl.
6175 * libspi/registry.c (spi_listener_struct_free): release
6176 the CORBA reference too.
6178 * libspi/accessible.c
6179 (impl_accessibility_accessible_get_parent): fix ref leak.
6181 * libspi/registry.c (spi_registry_new): make the registry
6182 immortal - we don't want it to go away ever.
6184 * libspi/application.c
6185 (spi_accessible_application_finalize): impl. cleanup.
6187 * cspi/spi_registry.c
6188 (deregisterGlobalEventListenerAll),
6189 (deregisterGlobalEventListener),
6190 (deregisterAccessibleKeystrokeListener): fix ref leak.
6192 * cspi/spi_main.c (SPI_init): remove redundant ref.
6194 * test/test-simple.c (unutterable_horror): impl. to force a
6199 (impl_accessibility_registry_deregister_application): release
6200 the application when we de-register it.
6202 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6203 until we have the infastructure to get it right.
6205 2001-12-03 Michael Meeks <michael@ximian.com>
6207 * libspi/Makefile.am: only build eventlistener.[ch]
6209 * libspi/accessible.c
6210 (impl_accessibility_accessible_get_child_at_index): don't leak.
6212 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6213 before we hit the idle handler.
6215 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6216 debugging than exit.
6218 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6220 * libspi/listener.c (impl_notify_event): check source
6221 not NIL before unref.
6223 * libspi/registry.c (impl_registry_notify_event): ditto.
6225 * libspi/eventlistener.c
6226 (impl_accessible_event_notify_event): unref the source.
6228 * libspi/accessibleeventlistener.c
6229 (impl_accessible_event_notify_event): unref the source.
6231 * idl/Event.idl: remove 'hash_id' attribute - of no
6234 * libspi/application.c (notify_listeners): upd list
6236 (spi_application_object_event_listener),
6237 (spi_application_toolkit_event_listener): upd to do correct
6241 (_registry_notify_listeners): update.
6242 (parse_event_type): this method also leaks like a sieve.
6243 (impl_accessibility_registry_deregister_global_event_listener):
6244 fix ETYPE_WINDOW case.
6246 * libspi/application.c
6247 (impl_accessibility_application_register_object_event_listener):
6250 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6252 * libspi/hypertext.c (impl_getLink): ditto.
6254 * cspi/spi_main.c (cspi_object_add): remove
6255 bogus CORBA_Object_duplicate.
6257 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6260 * cspi/spi_accessible.c
6261 (Accessible_getRelationSet): fix leak / referencing issue.
6263 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6264 (cspi_object_add, cspi_object_unref): upd.
6265 (spi_object_release, get_live_refs): impl.
6266 (cspi_cleanup): simplify.
6268 * *.[ch]: s/boolean/SpiBoolean/
6270 * cspi/spi_accessible.c (role_names): actualy order so it
6271 corresponds with the enum !
6273 * test/test-simple.c (test_roles): check some role strings
6274 vs. enums to detect offset errors.
6276 2001-12-01 Michael Meeks <michael@ximian.com>
6278 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6280 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6282 (Accessible_getChildAtIndex): use cspi_add_check so we
6283 check the ev before using a (possibly) invalid value.
6285 * libspi/accessible.c
6286 (impl_accessibility_accessible_get_parent): don't segv
6289 * at-bridge/bridge.c (gtk_module_init): upd.
6290 (bridge_property_event_listener): don't leak strings
6292 (bridge_state_event_listener),
6293 (bridge_property_event_listener): don't use a static
6294 buffer in case of recursive event emission &
6295 re-enterancy - split out the swathe of cut and paste
6297 (emit_eventv): and fix 2 ref leaks here & comply to the
6299 (bridge_register_app): rename to
6300 (bridge_idle_init): this and kill arg parsing, split
6301 various inits & bonobo-activation registration to module
6302 init time, kill referencing error.
6303 (bridge_exit_func): fix the same leak.
6304 (bridge_focus_tracker): don't leak event structures
6306 (bridge_signal_listener): more leakage and cut & paste
6308 (bridge_key_listener): return the result - FIXME is
6309 this polarity correct ?
6310 (accessibility_keystroke_from_atk_key_event): rename
6311 (accessibility_init_keystroke_from_atk_key_event): and stop
6313 (gtk_module_init): return a value - not that it is checked by
6315 (bridge_key_listener): register my horror at casting between
6316 IDL defined structs.
6317 (bridge_get_registry): kill - not used.
6319 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6321 * test/test-simple.c (test_roles): impl.
6322 (test_desktop, validate_accessible, validate_tree): impl.
6324 * cspi/spi_accessible.c (role_names): fixup bogus
6325 MAX_ROLES setup, make constants const for efficient linkage
6326 (AccessibleRole_getName): conform to coding style, make
6329 2001-11-30 Michael Meeks <michael@ximian.com>
6331 * cspi/spi.h: add missing prototype.
6333 * libspi/registry.c (spi_listener_struct_new): fix sig.
6335 * test/Makefile.am: add test-simple
6337 * test/test-simple.c: add
6339 * test/test.sh: add.
6341 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6343 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6344 do it straight - since otherwise we often get an activation race.
6346 [ work before Bill duplicated a chunk of it ... ]
6347 2001-11-30 Michael Meeks <michael@ximian.com>
6349 * libspi/keystrokelistener.c
6350 (spi_keystroke_listener_class_init): fixup arg
6353 * libspi/eventlistener.c
6354 (spi_event_listener_class_init): ditto.
6356 * tests/test.sh: add.
6358 * cspi/spi-listener-impl.h: update macros.
6360 * cspi/spi-listener-impl.c
6361 (cspi_event_listener_remove_callback): add
6362 correct pre-conditions.
6364 * cspi/spi_main.c (SPI_exit): guard vs. double
6365 exits, exit the mainloop nicely.
6366 (SPI_event_main): make more sense.
6367 (SPI_init): move the atexit evilness here so we
6368 always do it (yuck).
6369 (SPI_event_main): upd.
6371 * test/simple-at.c: update for listener changes.
6373 * registryd/registryd.c (main): prune kruft.
6375 * libspi/libspi.h: upd.
6377 * libspi/eventlistener.[ch]: rename broken macros.
6379 * libspi/accessibleeventlistener.[ch]: remove.
6381 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6383 * test/test-simple.c: Add - automated tests.
6385 * cspi/spi-listener-impl.c (cspi_event),
6386 (cspi_key_event): add user_data to invoke.
6387 (cspi_keystroke_listener_finalize): impl.
6388 (cspi_keystroke_listener_class_init): upd.
6391 (createAccessibleEventListener),
6392 (AccessibleEventListener_addCallback),
6393 (createAccessibleKeystrokeListener),
6394 (AccessibleKeystrokeListener_addCallback): upd.
6396 * libspi/deviceeventcontroller.c
6397 (spi_device_event_controller_check_key_event): add public proto.
6400 (impl_accessibility_registry_deregister_global_event_listener):
6401 always init listeners.
6402 (_registry_notify_listeners): yes it is.
6404 * cspi/spi-listener-impl.c (cspi_key_event):
6406 (cspi_event_listener_finalize): impl.
6407 (cspi_event_listener_class_init): hook up.
6408 (event_handler_new, event_handler_free),
6409 (event_list_remove_by_callback): impl.
6410 (cspi_event_listener_remove_callback),
6411 (cspi_keystroke_listener_remove_callback),
6412 (cspi_keystroke_listener_add_callback),
6413 (cspi_event_listener_add_callback): upd.
6415 * libspi/keystrokelistener.c
6416 (keystroke_listener_object_finalize): kill
6417 (spi_keystroke_listener_class_init): upd.
6418 (spi_keystroke_listener_add_callback),
6419 (spi_keystroke_listener_remove_callback): kill,
6421 (impl_key_event): prune drasticaly.
6423 * libspi/eventlistener.c
6424 (spi_event_listener_add_callback),
6425 (spi_event_listener_remove_callback): kill, use
6427 (impl_accessible_event_notify_event): upd.
6428 (spi_event_listener_object_finalize): remove.
6430 * libspi/Makefile.am: use eventlistener.[ch]
6432 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6434 * libspi/registry.c (_registry_notify_listeners):
6435 Changed listener loop iteration to use preferred convention.
6436 Got rid of string memory leaks caused be calling g_strconcat
6437 inside function calls.
6439 * libspi/registry.c (parse_event_type):
6440 Stopped g_strconcat memory leaks, free the g_strsplit return,
6441 g_strdup the split pieces when used, etc.
6443 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6446 Change method 'compare' to return a 'difference set' rather than
6447 taking a StateSet as an out parameter (more Java-friendly).
6449 * idl/Accessible.idl:
6450 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6452 * idl/Component.idl:
6454 Changed methods 'getExtents' and 'getImageExtents' in these
6455 interfaces to return a BoundingBox structure.
6456 (getPosition and getSize are redundant and possibly should be
6457 removed, rather than creating a corresponding Point struct.)
6459 * cspi/spi_component.c:
6460 Modify implementation of getExtents to reflect the above IDL
6465 Add (missing) AccessibleImage_getExtents () API.
6467 * docs/reference/cspi/at-spi-cspi-sections.txt:
6468 Added AccessibleImage_getImageExtents () to docs.
6470 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6472 * idl/Component.idl:
6473 Added two methods, getLayer () and getMDIZOrder (), to reflect
6474 the new ATK methods atk_object_get_layer and
6475 atk_object_get_mdi_z_order. (Which arguably should be part of the
6476 AtkComponent API and AtkObject). Also added an enum,
6477 ComponentLayer, for the first method's return value.
6479 * libspi/component.c:
6480 Added implementations for these methods.
6482 * cspi/spi_component.c:
6484 Added cspi binding methods for above,
6485 AccessibleComponent_getLayer() and
6486 AccessibleComponent_getMDIZOrder().
6487 Added cspi enum 'AccessibleComponentLayer'.
6489 * docs/reference/cspi/at-spi-cspi-sections.txt:
6490 Added above methods to docs.
6494 Changed typedef for 'boolean' type (and all references to it) to
6495 SPIBoolean, to avoid keyword clashes with C++.
6498 Changed usages of 'boolean' to SPIBoolean.
6500 * test/keysynth-demo.c:
6501 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6502 app), except where SPIBoolean is required by the callbacks API.
6504 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6506 * cspi/spi_registry.c:
6507 Removed obsolete X event loop for passive keygrabs (which now
6510 * registryd/registryd.c:
6511 Removed unnecessary call to gdk_init() [cruft]. This also allows
6512 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6515 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6517 * docs/reference/cspi:
6518 Included docs for SPI_freeString in generated documentation.
6521 Renamed spi_freeString to SPI_freeString, for consistency. Added
6522 documentation for this function.
6525 Renamed spi_freeString to SPI_freeString, for consistency.
6526 Removed obsolete method declaration string_from_corba_string.
6528 * test/keysynth-demo.c:
6529 Small tweak to comments.
6532 Stopped leaking the strings returned from CSPI.
6534 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6536 Merged Michael's branch (see his ChangeLog entries below).
6538 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6539 bridge is alive, release on exit.
6541 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6542 Fix type check macro.
6545 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6548 Added is_gnome_app static, and method cspi_is_gnome_app(),
6549 so we can call the appropriate shutdown routine at exit in SPI_exit.
6551 * cspi/spi_main.c (cspi_object_ref):
6552 Duplicate the corba object passed in, since we're keeping it around.
6554 * cspi/SPI_exit.c, cspi_cleanup:
6555 Moved the releasing of the live refs to its own function, so we
6556 can put it in g_atexit (). Call the appropriate shutdown API
6557 depending on whethe calling client is a gnome app or not
6558 (bonobo_main_quit or CORBA_ORB_shutdown).
6560 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6561 Unref the listener when this method is called, after
6562 deregistration. Updated the API docs to note this behavior.
6564 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6565 Bugfixes: Ref the bonobo object when returning a parent or child
6566 reference, or an AccessibleRelation. Generally made sure
6567 BonoboObject refcount is incremented whenever we return an
6570 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6571 Fixed typo/bug in signal declaration.
6573 * libspi/accessibleeventlistener.h:
6576 * libspi/application.c (spi_application_new):
6577 Fixed leak in initialization.
6580 Remembered to increment bonobo-object refcount when returning
6581 children (applications) from desktop object.
6582 Added (empty) finalize method.
6584 * libspi/deviceeventcontroller.c:
6585 Hold a ref to listeners inside DEControllerKeyListeners.
6586 Added dec_key_listener_free() method. Use prepend instead of
6587 append in key_listener list. Fixed some refcount madness and
6588 leaks in the listener registration/deregistration - deregistration
6589 now calls dec_key_listener_free() on listeners, and on the
6590 temporarily constructed dec_key_listener() used to perform the search/match.
6592 * libspi/hypertext.c (spi_hypertest_finalize):
6593 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6594 class. Also fixed spi_hypertext_interface_new() and
6595 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6597 * libspi/hypertext.h:
6598 Removed pointless and duplicate AtkObject pointer from
6601 * libspi/keystrokelistener.c:
6602 Fixed incorrect type of keystroke_listener_parent_class,
6603 renamed keystroke_listener_object_finalize to
6604 spi_keystroke_listener_object_finalize.
6605 Fixed typo in signal declaration
6606 (spi_keystroke_listener_class_init).
6608 * libspi/registry.c:
6609 Added funcsions spi_listener_struct_new() and
6610 spi_listener_struct_free() to help with memory management issues.
6611 We also now use these methods instead of gnew + poking stuff into
6612 the struct, and to decrement listener counts/free the listeners
6613 when deregistering them.
6614 Fix more refcount bugs in getDesktop() and
6615 getDeviceEventController().
6618 De-ref the desktop after enumerating the applications. Explicitly
6619 decrement the refcounts on the created listeners on exit (using
6620 _unref for keystroke listeners, and via the
6621 deregisterGlobalEventListenerAll command for other event
6624 2001-11-27 Michael Meeks <michael@ximian.com>
6626 * cspi/spi-listener.h: fixup enum.
6628 2001-11-27 Michael Meeks <michael@ximian.com>
6630 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6631 (cspi_keystroke_listener_new): Use the cspi variants.
6633 2001-11-26 Michael Meeks <michael@ximian.com>
6635 * test/keysynth-demo.c: fix 2 compile warnings, missing
6638 * test/simple-at.c (report_focussed_accessible),
6639 (report_focus_event, report_button_press),
6640 (check_property_change, is_command_key),
6641 (report_ordinary_key_event, report_command_key_event): upd.
6643 * util/mag_client.h: include pre-requisites.
6645 * libspi/accessibleeventlistener.c
6646 (spi_event_listener_object_finalize): free any lingering
6649 * libspi/keystrokelistener.c
6650 (keystroke_listener_object_finalize): ditto.
6652 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6653 callbacks, with cspi types.
6655 * cspi/spi_event.c (createAccessibleEventListener): chain to
6656 (AccessibleEventListener_addCallback): here.
6657 (createAccessibleKeystrokeListener): chain to
6658 (AccessibleKeystrokeListener_addCallback): here.
6660 * libspi/keystrokelistener.c
6661 (spi_keystroke_listener_class_init): add signal.
6662 (impl_key_event): emit the event.
6663 (boolean_handled_accumulator): impl.
6664 (marshal_BOOLEAN__POINTER): add, gack.
6666 * libspi/accessibleeventlistener.c
6667 (spi_event_listener_class_init): add signal.
6668 (impl_accessible_event_notify_event): emit the signal &
6669 make the loop efficient.
6670 (spi_event_listener_add_callback): prepend the callback.
6672 * libspi/accessibleeventlistener.h: add an 'event' signal,
6673 decl type on callback.
6675 * libspi/keystrokelistener.h: ditto.
6677 * cspi/spi-listener.h: make methods typesafe and
6678 make them use the new event typedefs.
6680 * test/simple-at.c (report_focussed_accessible):
6681 include mag_client.h
6682 Use *(void *)text_interface not the other thing.
6684 * configure.in: add gtk to registryd bits - since we use
6687 * util/magnifier.c: include libbonobo.h
6689 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6691 * test/keysynth-demo.c:
6692 Turned this into a simple scanning keyboard, to demonstrate the
6693 use of g_timeout_add () as a means of creating timers for
6694 scanning, and the use of GtkStyle for visually indicating when
6695 virtual keyboard elements are selected.
6697 keysynth-demo now listens to any keyboard keys with zero-valued
6698 keycodes (i.e. 'unused' keys) and interprets them as
6701 Reworked the shiftlatch code so that shift-down state isn't held
6702 for long periods (it's only synthesized immediately prior to
6703 the keysynth event it's modifying). Note that shiftlatch in this
6704 demo is a convenience, not intended to take the place of AccessX
6705 which is the better choice for getting 'sticky' modifier keys.
6707 * libspi/deviceeventcontroller.c:
6708 * at-bridge/bridge.c:
6709 * cspi/spi_registry.c:
6710 Removed some debug print stuff, and put other verbosity in #ifdef
6715 Implemented some more of the magnifier IDL for the simple
6716 magnifier: namely, getZoomRegionParams.
6717 Added mag_x and mag_y members to MagnifierData struct, aid of this
6719 Added GtkWindow::realize signal handler to magnifier, to keep it
6720 from receiving keyboard focus from the WM.
6722 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6724 * cspi/spi-private.h: my guess at what michael forgot
6725 before he ran off to NZ :-)
6727 2001-11-23 Michael Meeks <michael@ximian.com>
6729 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6730 comment out non existant method invoke so we link.
6732 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6733 use bonobo_exception_get_text for more friendly warnings.
6735 * cspi/spi.c (Obj_Add): move into spi_main & rename
6736 spi_object_add; kill spi.c
6738 * cspi/spi_registry.c
6739 (deregisterGlobalEventListener),
6740 (deregisterGlobalEventListenerAll),
6741 (registerGlobalEventListener): fix exception leaks.
6743 * cspi/spi_main.c (spi_exception): impl. helper, so we
6744 don't leak exceptions.
6746 * cspi/spi_selection.c
6747 (AccessibleSelection_deselectSelectedChild): return the
6750 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6751 (spi_registry): ditto.
6752 (SPI_init): guard against double inits.
6754 * cspi/*.c: use spi_ev (), and spi_registry () where
6755 appropriate - a temporary hack until we have something
6756 better. Use spi_object_add
6758 2001-11-22 Michael Meeks <michael@ximian.com>
6760 * cspi/Makefile.am: re organise, install the headers.
6762 * cspi/*.h: add G_BEGIN/END_DECLS
6764 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6767 Added non-preemptive keylistener for key events with no modifiers
6768 and shift-only modifier.
6770 * libspi/keystrokelistener.c:
6771 Removed some verbose diagnostics printout.
6773 * cspi/spi_registry.c:
6774 Fixed a bug that caused all key listeners to be registered as
6777 * libspi/deviceeventcontroller.c:
6778 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6779 for non-preemptive key masks.
6782 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6784 * docs/reference/idl/at-spi-idl-docs.sgml:
6785 * docs/reference/idl/at-spi-idl-sections.txt:
6786 * docs/reference/idl/at-spi-idl-overrides.txt:
6787 Added missing files.
6789 * docs/reference/Makefile.am:
6790 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6791 to scan the IDL files :-(
6796 Added .cvsignore files.
6798 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6800 * libspi/deviceeventcontroller.c:
6801 * libspi/keystrokelistener.c:
6803 * cspi/spi_registry.c:
6804 Added filters for KeySets, KeyEventSeq, and event types to key
6805 event dispatching, so listeners should only receive those events
6806 that they requested :-)
6808 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6813 * docs/reference:Makefile.am:
6814 * docs/reference/cspi:
6815 * docs/reference/cspi:Makefile.am:
6816 * docs/reference/cspi:tmpl:
6817 * docs/reference/cspi:tmpl:*.sgml:
6818 * docs/reference/idl:
6819 * docs/reference/idl:Makefile.am:
6820 * docs/reference/idl:at-spi-idl-sections.txt:
6821 * docs/reference/idl:at-spi-idl-docs.sgml:
6822 * docs/reference/idl:tmpl:
6823 * docs/reference/idl:tmpl:*.sgml:
6825 Restructured docs directory to allow separate 'reference' docs
6826 section, and forked idl and cspi docs. Added the sgml template
6827 files to CVS. Added the first sections/structural sgml for the
6830 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6832 * configure.in, libspi/Makefile.am: find libXtst.
6834 2001-11-21 Michael Meeks <michael@ximian.com>
6836 * test/accessx-gui.c: s/spi_value/value/ - doh.
6838 * libspi/base.[ch]: add.
6840 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6842 * idl/Accessible.idl:
6843 * idl/Application.idl:
6846 Started gtk-doc cleanup on IDL.
6848 * libspi/deviceeventcontroller.c:
6849 Added and connected non-preemptive key notification from the
6850 toolkits (in addition to the pre-emptive support from XServer
6851 which we had before, but which causes 'focus flashing'). Filters
6852 are presently limited to key modifiers and global/non-global,
6853 KeySets are presently ignored, as are KeyEvent masks.
6855 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6856 structs into the persistant structure rather than just storing
6857 pointers to things that might not persist across servant
6860 The XGrabKey call now does async keygrabs, because synchronous
6861 ones were deadlocking with GDK_event code in a very nasty way.
6863 Added boolean to internal method notify_keylisteners, to indicate
6864 whether the event came from the 'toolkit source' or the 'global
6865 (XServer) source' - this is used in the notification process to
6866 determine which listeners to send the event to.
6868 deviceeventcontroller.c is now warning-free.
6870 * libspi/registry.c:
6871 Fixed regression in application de-registration.
6872 Also fixed some really brain-dead weirdness having to do with
6873 event dispatching - event structs are now duplicated before being
6874 re-marshalled in the dispatch to listeners. This also fixes a
6875 Solaris build problem.
6878 2001-11-20 Michael Meeks <michael@ximian.com>
6881 (impl_accessibility_registry_deregister_global_event_listener):
6884 * libspi/deviceeventcontroller.c
6885 (spi_device_event_controller_check_key_event): return
6886 FALSE on no virtual method.
6888 * libspi/*..h: make includes work on a correctly pathed install.
6890 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6892 * libspi/application.h: kill unused ( and whacked out )
6893 gboolean *spi_application_set_id (AtkObject *app, long id);
6895 2001-11-20 Michael Meeks <michael@ximian.com>
6897 * libspi/*.[ch]: further convert to bonobo's type func
6898 macros, remove redundnant casts etc.
6900 * libspi/text.c s/accessibility_text/spi_text/g,
6901 re-order to de-cruft.
6903 * libspi/hypertext.c: re-order to kill a huge slew
6904 of redundant forward decls.
6906 * libspi/relation.c: ditto.
6908 * libspi/image.c: ditto.
6910 * */.cvsignore: update
6912 2001-11-20 Michael Meeks <michael@ximian.com>
6914 * libspi/deviceeventcontroller.c
6915 (_controller_register_with_devices): use g_getenv,
6916 kill stdlib.h include.
6918 * libspi/keystrokelistener.c
6919 (spi_keystroke_listener_get_type): kill
6920 (spi_keystroke_listener_class_init),
6921 (spi_keystroke_listener_init): rename to this.
6923 * libspi/text.c (impl_getAttributes): fix warning / bug.
6925 * libspi/*.[ch]: more headers, includes and over commenting.
6927 2001-11-20 Michael Meeks <michael@ximian.com>
6929 * libspi/*.[ch]: fixup headers, includes and over commenting.
6931 * libspi/image.c (impl__get_imageDescription): const
6932 correctness warning fix. remove redundant casting.
6934 * libspi/table.c (impl_getRowDescription): ditto.
6935 (impl_getColumnDescription): ditto.
6937 * libspi/libspi.h: add.
6939 2001-11-19 Michael Meeks <michael@ximian.com>
6941 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6943 * libspi/component.c (accessibility_component_get_type):
6944 rename to (spi_component_get_type): and macroify.
6945 (accessibility_component_init): rename to
6946 (spi_component_init): this
6947 (accessibility_component_class_init): rename to
6948 (spi_component_class_init): this
6950 * libspi/action.c (spi_action_get_type): kill, use the macro.
6952 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6955 * libspi/application.c (spi_application_object_event_listener),
6956 (impl_accessibility_application_register_object_event_listener):
6957 warning fixes / const understanding updates.
6959 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6962 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6964 * libspi/spi_accessible.c: Added docs and C bindings for
6965 AccessibleStateSet. (No implementations yet). Documentation
6966 coverage for C bindings now 100%. Made docs for event listeners
6971 boolean notifyListenersSync (in DeviceEventListener listener,
6972 in DeviceEvent event);
6974 oneway void notifyListenersAsync (in DeviceEventListener listener,
6975 in DeviceEvent event);
6977 Added DeviceEventListener and DeviceEvent structs (may deprecate
6978 KeyStroke and KeystrokeListener in favor of this generic
6979 event/listener framework for devices).
6981 * libspi/deviceeventcontroller.c:
6983 Changed some key listener code to take masks, etc., and paved the
6984 way for integration of toolkit/non-preemptive key events. Changed
6985 signatures of some internal methods.
6987 * at-bridge/bridge.c:
6988 Fixed regression connecting to interface signals, apparently
6989 caused by GTK+ changes.
6991 Added an internal bridge_state_listener to deal with
6992 property-change:accessible-state signals.
6994 Changed the key_listeners GList to store structs (including masks,
6995 etc.) instead of just CORBA_Objects (required for full
6996 implementation of key listener API).
6998 Connected the bridge to all currently supported Atk signals.
6999 Events now supported:
7000 object:property-change
7001 object:property-change:accessible-name
7002 object:property-change:accessible-state
7003 object:property-change:accessible-description
7004 object:property-change:accessible-parent
7005 object:property-change:accessible-value
7006 object:property-change:accessible-role
7007 object:property-change:accessible-table-caption
7008 object:property-change:accessible-table-column-description
7009 object:property-change:accessible-table-column-header
7010 object:property-change:accessible-table-row-description
7011 object:property-change:accessible-table-row-header
7012 object:property-change:accessible-table-summary
7013 object:children-changed
7014 object:visible-data-changed
7015 object:selection-changed
7016 object:text-selection-changed
7018 object:text-caret-moved
7020 object:row-reordered
7022 object:column-inserted
7023 object:column-reordered
7024 object:column-deleted
7025 object:model-changed
7027 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7029 * libspi/hyperlink.c,h:
7030 Fixed some broken stuff in hyperlink.
7032 * libspi/relation.h:
7033 * libspi/relation.c:
7034 * cspi/spi_accessible.c:
7035 Initial implementations of AccessibleRelation methods, and docs.
7037 * libspi/accessible.c:
7038 Fixed a bug that caused SEGV if an accessible
7039 object's description is NULL, and a client
7040 requests it. An empty string is now returned.
7042 * cspi/spi_editabletext.c:
7043 * cspi/spi_hypertext.c:
7045 * cspi/spi_hyperlink.c:
7049 Doc coverage now 95%.
7051 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7053 One last namespacing revision:
7054 * libspi/accessibleeventlistener.[ch]:
7055 Renamed SpiAccessibleEventListener to SpiEventListener,
7056 (no need for two namespaces ;-)
7058 And lots of documentation fixes:
7060 * docs/at-spi-docs.sgml:
7061 Fixed 'underscore vs. hyphen' bug that was preventing
7062 the gtk-doc API docs from being automatically generated.
7065 * cspi/spi-listener.h
7067 * cspi/spi_accessible.c
7069 * cspi/spi_application.c
7070 * cspi/spi_component.c
7071 * cspi/spi_editabletext.c
7073 * cspi/spi_hypertext.c
7075 * cspi/spi_registry.c
7076 * cspi/spi_selection.c
7080 * docs/at-spi-docs.sgml
7081 * docs/at-spi-sections.txt
7083 Added and fixed up gtk-doc documentation in cspi.
7085 Interfaces now (fully) documented (subject to revision and enhancement):
7087 Event Listener Support
7089 AccessibleApplication
7093 AccessibleEditableText
7100 AccessibleRelationSet
7105 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7107 * at-bridge/bridge.c:
7108 Initial work for toolkit-level key snooper connection by bridge.
7113 New typedefs and fixes to support new namespacing, and cleaner
7114 separation of cspi bindings from libspi bonobo implementation.
7115 Removed inconsistent and extraneous Spi* namespace prefix that
7116 had crept into cspi headers.
7117 Lots of comment fixes that sed had missed.
7119 * cspi/spi-roletypes.h:
7120 * cspi/spi-statetypes.h:
7121 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7122 to AccessibleRoleType.
7124 * libspi/accessibleeventlistener.h:
7125 Fixed minor namespacing weirdness.
7127 * libspi/deviceeventcontroller.c:
7128 Reordered some internal API for device listeners.
7129 Changed the key registry final boolean to 'is_system_global'
7130 rather than 'is_synchronous', which is more descriptive of its
7132 Added spi_device_event_controller_new().
7133 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7135 * libspi/keystrokelistener.[ch]:
7136 Namespaced KeystrokeListener to SpiKeystrokeListener.
7137 Changed uses of keymasks to use SPI_ prefix, and did other
7140 * libspi/keymasks.h:
7141 Namespaced keymask constants with SPI_ prefix.
7143 * libspi/registry.c:
7144 Some warning fixes, and knock-on fixes from namespace changes.
7147 Added rules for accessx-gui test program.
7149 * test/accessx-gui.c:
7150 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7151 utility. It doesn't actually use at-spi, but it's still cool and
7154 * test/keysynth-demo.c:
7158 Fixes so that these test clients work properly with the namespaced
7159 libraries. (Incompletely tested for technical reasons, fixes may follow)
7162 2001-11-13 Michael Meeks <michael@ximian.com>
7164 * libspi/application.c
7165 (impl_accessibility_application_get_version),
7166 (impl_accessibility_application_get_toolkit_name):
7168 (impl_accessibility_application_set_id),
7169 (impl_accessibility_application_get_id): remove
7170 redundant casting code.
7172 * libspi/action.c (impl_getDescription): fix warnings.
7174 * libspi/accessible.c
7175 (impl_accessibility_accessible_get_parent),
7176 (impl_accessibility_accessible_get_child_at_index),
7177 (impl_accessibility_accessible_get_state),
7178 (impl_accessibility_accessible_get_relation_set):
7179 warning fixes & include action.h
7181 2001-11-13 Michael Meeks <michael@ximian.com>
7183 * *.[ch] fix bits I screwed up:
7185 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7186 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7188 2001-11-13 Michael Meeks <michael@ximian.com>
7190 * *.[ch] Namespace libspi into spi_ and Spi.
7192 2001-13-11 Michael Meeks <michael@ximian.com>
7194 * Makefile.am: dist & install at-spi-1.0.pc
7196 * libspi/Makefile.am: install into at-spi-1.0
7198 * idl/Makefile.am (idldir): install into at-spi-1.0
7200 * at-spi-1.0.pc.in: add.
7202 * configure.in: build it.
7204 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7206 * test/keysynth-demo.c:
7207 Use a 'realize' signal-handler to set the WM properties for
7208 the virtual keyboard, rather than making it a "POPUP" type
7209 override-redirect window (thanks to anders carlsson for that
7212 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7215 * test/keysynth-demo.c:
7216 Added new test of key synthesis, which creates a simple
7217 (mouse-operated) onscreen keyboard. It inserts key events into
7218 the currently-focused window, thus it does not grab keyboard focus
7221 * cspi/spi_registry.c:
7222 Added C binding for AT-SPI generateKeyEvent.
7224 * libspi/deviceeventcontroller.c:
7225 Added call to XFilterEvent so that key listener works with XIM (we
7226 hope). Added event_synth_type to generateKeyEvent, so that we can
7227 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7228 synthesize a press/release pair for KeySyms.
7230 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7232 * libspi/Makefile.am:
7233 * registryd/Makefile.am:
7234 (temporary) hack to include libXtst in libspi and registryd.
7235 (Needed for keystroke synthesis, see below).
7238 Improved API for registerKeystrokeListener, in accordance with
7239 discussions with Gnopernicus team and X server research.
7241 * libspi/registry.c:
7242 * libspi/deviceeventcontroller.c:
7243 * libspi/accessible.c:
7244 * libspi/keystrokelistener.c:
7245 Changes and fixes to support keylisteners for potentially
7246 consumed key events (that is, 'passive grabs').
7247 Added implementation for generateKeyEvent() [untested].
7250 Changes to registerKeystrokeListener() API, as above.
7251 Added deregisterGlobalEventListenerAll(), and
7252 deregisterKeystrokeListener(), which are needed for clean exit of
7254 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7255 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7257 * cspi/spi_registry.c:
7258 Added implementations of function prototypes mentioned above.
7260 * registryd/registryd.c:
7261 Added the key listener event source as a g_timeout(), to allow
7262 receipt of key events that are not caught by GDK (since GDK
7263 doesn't support passive keygrabs, this was necessary).
7266 Changed to attach a keylistener to 'Alt' keys, and
7267 respond to the following keycommands: Alt-M (toggle magnifier);
7268 Alt-F (toggle speech); Alt-Q (quit).
7269 Added an exit routine to deregister the listeners, and a key
7270 listener that prints some key info to the console when a key
7271 matches the listener mask (and is thus received by the listener).
7273 * util/idl/Magnifier.idl:
7274 Changes to magnifier API to support multiple zoom regions,
7275 non-uniform scaling in x and y, markDirty, and a host of other
7276 features that would be useful to magnification.
7279 * util/mag_client.c:
7280 * util/mag_client.h:
7281 * util/mag_control.c:
7283 Source code changes to support the above IDL changes.
7286 As above, and also changes to use a (slower) generic conversion
7287 path for colormap conversions, since the fast RGB conversions have been
7288 reported to fail for 16-bit displays.
7290 2001-10-26 Michael Meeks <michael@ximian.com>
7292 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7294 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7296 * at-bridge/Makefile.am: fix LDFLAGS.
7298 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7300 * at-bridge/bridge.c:
7301 Re-worked listeners for toolkit events, now we have signal
7302 and property listeners. Added a private method
7303 register_atk_event_listeners(), which registers with the
7304 various atk and gtk signals we need to monitor in order to emit
7306 Added emission hook for AtkObject:property-change events, to
7307 support the 'property listeners'.
7308 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7311 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7312 which emit warnings and exit, respectively, if CORBA errors occur
7313 during remote calls, and we now use these methods to check most of
7314 our CORBA calls in the C bindings.
7316 * cspi/spi_accessible.c:
7317 Changed AccessibleSelection_refSelectedChild() to
7318 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7319 now increment refcounts.
7321 * cspi/spi_component.c:
7322 Fixed some long pointer casts (dangerous!) to pass pointers to
7323 CORBA_longs of the proper type to the CORBA stubs, and copy the
7324 data into the longs that were passed into the C bindings code.
7326 * at-bridge/bridge.c:
7328 * libspi/accessible.c:
7329 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7330 hyperlinks, AtkHyperlink is an object type.
7332 * libspi/application.c:
7333 Added various conversions to and from "generic" event types and
7334 atk-specific types; this is really part of the 'bridge'
7335 implementation but is valid for all AtkObject-based accessibility
7338 * libspi/editabletext.c:
7339 Fixed nasty bug wherein editable text's finalize method was
7340 unref'ing tha AtkObject reference that the text parent class was
7341 about to unref _again_. There was also a nasty inheritance bug
7342 that meant that the AccessibleEditableText class was corrupt.
7344 * libspi/selection.c:
7345 Provided implementations for some selection API that was broken.
7347 * idl/Application.idl:
7348 Added registerObjectEventListener () method.
7351 Fixed a number of return values that were Bonobo_Unknowns from
7352 bonobo_object_corba_objref(), which I
7353 forgot to dup before returning. Changed instances of
7354 bonobo_object_corba_objref (bonobo_object(o)) to
7355 BONOBO_OBJREF(o), for concision and clarity.
7357 2001-10-13 Louise Miller <louise.miller@sun.com>
7359 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7360 idl/Event.idl, idl/Registry.idl
7361 Changed these files to include Bonobo_Unknown.idl instead
7364 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7366 * libspi/component.c libspi/component.h:
7367 Fixed typo. Added assertions for object checks in
7368 AccessibleComponent code.
7370 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7372 * idl/Accessible.idl:
7373 Added 'isEqual (Accessible *object)'
7374 method for Accessible. (Not Yet Implemented).
7377 Changed signature of registerKeystrokeListener() to
7378 take a KeySet and KeyEventSeq so that specific keys and event
7379 types could be requested for monitoring, and added a flag
7380 is_synchronous so that either synchronous or asynchronous
7381 notification could be requested. (However this is not all
7382 implemented yet). This also meant adding two new typedefs,
7383 KeyEventSeq and KeySet.
7386 Added two new relations, RELATION_TOOLTIP_FOR and
7387 RELATION_LEAFNODE_OF.
7390 Added new state, STATE_HAS_TOOLTIP.
7392 * libspi/text.c, editabletext.c:
7393 Added new assertions to all casts of bonobo-objects from
7394 CORBA servants, to prevent Text API calls on non-text objects.
7395 Changed suspect casts of int-pointer types, so that we
7396 always send a valid CORBA_long pointer to the CORBA APIs that use
7397 in/out long parameters. We then have to copy from the CORBA_long
7398 into the regular long or int for return to the C bindings, or
7399 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7402 * libspi/deviceeventcontroller.c:
7403 Cleaned these sources up.
7405 Changed return type for getCharacterAtOffset to
7406 CORBA_unsigned_long, to allow for 32-bit characters.
7409 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7413 Fixed 'make dist' so that distro compiles...
7414 * libspi/keymasks.h:
7416 * cspi/spi-listener.c:
7417 KeystrokeListenerCB now returns a boolean.
7419 Added KeyEventType struct, and KeyStroke.
7420 Also added createKeystrokeListener(),
7421 KeystrokeListener_addCallback(),
7422 KeystrokeListener_removeCallback(), and added a keymask to
7423 registerKeystrokeListener().
7424 * cspi/spi_accessible.c:
7425 Changed numerous return types for interfaces from
7426 AccessibleComponent to Accessible<InterfaceName>; this was
7427 probably a cut-and-paste error.
7429 Implementations of new KeystrokeListener api (from spi.h,
7432 Changes to key modifier mapping.
7433 Created ControllerEventMask struct.
7434 Made DeviceEventController derive from Bonobo::Unknown.
7436 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7437 * libspi/deviceeventcontroller.c:
7438 Added a number of new internal (private) methods.
7439 * libspi/editabletext.c:
7440 * libspi/editabletext.h:
7441 Fixed a number of bugs related to the fact that
7442 editabletext inherits from text. Fixed the EditableText struct,
7443 the init() call, and use correct casts when calling Text methods
7444 from an EditableText object. Removed (duplicate) atko from the
7445 EditableText structure, we use the one in the parent Text
7446 structure via the casts mentioned above.
7447 * libspi/keystrokelistener.[ch]:
7448 * libspi/registry.c:
7449 Changes in support of keyboard handling (above).
7451 Keyboard handling, though partly functional, is still not
7452 recommended for at-spi client use as there is considerable
7453 work yet to be done.
7456 Changed some places where pointers to various int types
7457 are cast to be pointers to CORBA_long types and vice-versa:
7458 pointer casting is not safe so we pass pointers of the correct
7459 types and then cast the result before putting it into the target
7462 * libspi/text.h: minor typos corrected.
7464 We now speak not only the name of a Text element, but the
7465 first sentence of its content, when it receives focus.
7466 I also changed the text compression to 75% from 50%.
7467 * util/Accessibility_Util.server.in:
7468 Changed the default magnifier type to be a 3x vertical
7469 splitscreen magnifier (was previously a 2x horizontal one).
7471 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7473 * libspi/keystrokelistener.h:
7474 * libspi/keystrokelistener.c:
7475 Initial functional implementations of KeystrokeListener.
7478 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7480 Fixed string handling for NULL strings in libspi.
7481 Added spi_freeString to free strings returned by C bindings.
7483 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7485 * libspi/keystrokelistener.h:
7486 * libspi/keystrokelistener.c:
7487 Began (no-op) implementations of KeystrokeListener
7489 * libspi/deviceeventcontroller.c:
7490 * libspi/deviceeventcontroller.h:
7491 Began creating implementations of DeviceEventController,
7492 to handle keystroke and mouse event listening and
7494 * libspi/accessible.c:
7495 Stubbed-in the implementations for
7496 Accessibility_Accessible_getState and
7497 Accessibility_Accessible_getRelationSet.
7498 * libspi/registry.c:
7499 Improved de-registration process and fixed some bugs,
7500 deregistration now works correctly.
7502 Added initialization of applications list (to NULL).
7504 Reduced speech compression from 0.5 to 0.7, for demo.
7505 Changed call to gdk_window_set_decorations()
7506 to gtk_window_set_decorated().
7507 * at-bridge/bridge.c:
7508 Bridge now deregisters when app exits, via
7509 registration of a cleanup function
7510 with the g_atexit() call.
7511 Required making 'app' static, renamed 'this_app'.
7512 Fixed broken use of bonobo_init, passing argv wrongly.
7514 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7518 Created a new directory for
7519 accessibility-related utilities, primarily for
7520 testing and demo purposes, but with possible
7527 Onscreen magnifier utility that
7528 is implemented as a bonobo service.
7530 * util/mag_client.c:
7531 * util/mag_client.h:
7532 Client-side support (simple C bindings)
7533 for Magnification service
7535 * util/mag_control.c:
7536 Client program example for
7537 Magnification service
7539 * util/Accessibility_Magnifier.server.in:
7540 Bonobo-activation file for the
7541 Magnification service.
7544 * util/idl/Magnifier.idl:
7545 IDL defining the bonobo Magnification
7549 Modifications to use the bonobo-activated magnifier
7550 above, in place of trying to connect to an existing
7551 magnifier that uses socket-listening IPC.
7553 If env variable MAGNIFIER is set, a magnifier service
7554 will be started if one does not exist.
7556 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7558 * at-bridge/bridge.c:
7559 applied patch from Marc to build and run
7560 against new glib and gtk+ (seemed like a change
7561 to bonobo_init signature was made ?)
7563 made festival-server support turned off by default.
7564 Added support for a simple magnifier (off by default)
7565 which will be added to a 'util' directory later.
7566 * at-bridge/Makefile.am:
7567 Changed "application.h" header from a 'source'
7568 to a 'dependency' of libat-bridge.
7570 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7579 Added interface implementation c files to list of
7580 includes so they are included in libcspi.
7583 Changed prototype of AccessibleAction_doAction to return a
7585 Changed prototype of AccessibleTable_getCaption to
7586 return an Accessible.
7587 Changed prototype of AccessibleTable_getSelectedRows
7588 and AccessibleTable_getSelectedColumns to
7589 return a long (returns the number of selected rows
7590 or columns respectively).
7591 Changed name of AccessibleText_refRunAttributes to
7592 AccessibleText_getAttributes.
7593 Changed prototype of AccessibleText_getCharacterExtents to
7594 return a void rather than a boolean.
7595 Added support for a AccessibleCoordType parameter
7596 specifying what type of coordinates are desired.
7597 Added an AccessibleCordType parameter to
7598 AccessibleText_getPointAtOffset.
7600 * cspi/spi_accessible.c:
7601 Added code to return the outstanding interfaces from
7602 Accessible_queryInterface.
7604 * cspi/spi_action.c:
7606 Corrected call to getNActions to call the c binding
7609 * cspi/spi_editabletext.c:
7611 Changed name from setRunAttributes to setAttributes.
7613 * cspi/spi_hyperlink.c:
7615 Changed call to getNAnchors to correctly call the c
7616 binding for an attribute.
7618 * cspi/spi_hypertext.c:
7620 Changed getImageDescription to correctly call the
7621 binding for an attribute.
7623 * cspi/spi_selection.c:
7624 Changed getNSelectedChildren to correctly call the c
7625 binding for the attribute.
7626 Changed refSelectedChild to getSelectedChild.
7630 Changed getCaption to return an Accessible.
7631 Fixed calls which retrieve attributes.
7632 Changed refAt to getAccessibleAt.
7633 Changed getNSelectedRows and getNSelectedColumns to
7637 Changed getCharacterExtents and getPointAtOffset to accept an
7638 AccessibleCoordType.
7640 Changed calls which retrieve attributes.
7641 Changed refRunAttributes to getAttributes.
7646 * idl/Hyperlink.idl:
7647 Changed n_anchors attribute to nAnchors to keep naming
7648 convention consistent.
7651 Made Table inherit from Bonobo::Unknown.
7652 Added nSelectedColumns and nSelectedRows attributes.
7655 Made Value inherit from Bonobo::Unknown.
7657 * libspi/hyperlink.c:
7658 Change for nAnchors attributte name change.
7660 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7668 Added interface implementation c files to list of
7669 includes so they are included in libcspi.
7672 Changed prototype of AccessibleAction_doAction to return a
7674 Changed prototype of AccessibleTable_getCaption to
7675 return an Accessible.
7676 Changed prototype of AccessibleTable_getSelectedRows
7677 and AccessibleTable_getSelectedColumns to
7678 return a long (returns the number of selected rows
7679 or columns respectively).
7680 Changed name of AccessibleText_refRunAttributes to
7681 AccessibleText_getAttributes.
7682 Changed prototype of AccessibleText_getCharacterExtents to
7683 return a void rather than a boolean.
7684 Added support for a AccessibleCoordType parameter
7685 specifying what type of coordinates are desired.
7686 Added an AccessibleCordType parameter to
7687 AccessibleText_getPointAtOffset.
7689 * cspi/spi_accessible.c:
7690 Added code to return the outstanding interfaces from
7691 Accessible_queryInterface.
7693 * cspi/spi_action.c:
7695 Corrected call to getNActions to call the c binding
7698 * cspi/spi_editabletext.c:
7700 Changed name from setRunAttributes to setAttributes.
7702 * cspi/spi_hyperlink.c:
7704 Changed call to getNAnchors to correctly call the c
7705 binding for an attribute.
7707 * cspi/spi_hypertext.c:
7709 Changed getImageDescription to correctly call the
7710 binding for an attribute.
7712 * cspi/spi_selection.c:
7713 Changed getNSelectedChildren to correctly call the c
7714 binding for the attribute.
7715 Changed refSelectedChild to getSelectedChild.
7719 Changed getCaption to return an Accessible.
7720 Fixed calls which retrieve attributes.
7721 Changed refAt to getAccessibleAt.
7722 Changed getNSelectedRows and getNSelectedColumns to
7726 Changed getCharacterExtents and getPointAtOffset to accept an
7727 AccessibleCoordType.
7729 Changed calls which retrieve attributes.
7730 Changed refRunAttributes to getAttributes.
7735 * idl/Hyperlink.idl:
7736 Changed n_anchors attribute to nAnchors to keep naming
7737 convention consistent.
7740 Made Table inherit from Bonobo::Unknown.
7741 Added nSelectedColumns and nSelectedRows attributes.
7744 Made Value inherit from Bonobo::Unknown.
7746 * libspi/hyperlink.c:
7747 Change for nAnchors attributte name change.
7750 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7752 implementations-- made server implementations own AtkObject pointers
7753 rather than their respective AtkInterrface pointers to fix
7754 refcounting. AtkHyperlink is still broken.
7756 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7757 * cspi/spi_accessible.c:
7758 Added method Accessible_Role_getName(),
7759 and requisite string array (role_names).
7760 Added conversion string_from_corba_strin() call
7761 to Accessible_getName and _getDescription.
7762 * libspi/accessible.c:
7763 Added implementation for Accessible_getRole()
7765 Added festival support, used if environment variable
7768 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7770 * at-bridge/bridge.c:
7771 Now allocate Accessibility_Event using
7772 Accessibility_Event__alloc() instead of g_new0().
7773 * libspi/accessibleeventlistener.c:
7774 Initialize AccessibleEventListener->callbacks to NULL.
7775 Fixed accessible__event_listener_init() param, changed to
7776 "AccessibleEventListener *" type.
7777 Changed a bonobo_object_release_unref() call to
7778 Accessibility_Accessible_unref().
7779 * libspi/listener.c:
7780 Changed Bonobo_Unknown_unref to (equivalent)
7781 Accessibility_Accessible_unref.
7782 * libspi/registry.c:
7783 Changed bonobo_object_release_unref to
7784 Accessibility_Accessible_unref.
7786 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7789 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7790 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7791 spi-util.c spi-util.h
7792 Implementations for C bindings to remaining accessibility
7795 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7798 changed return value of Action from void to boolean to
7799 bring in line with ATK.
7802 Changed getText funcions to return "out" start and end offsets.
7803 Changed getAttributes to take and offset and return the start
7804 and end offset of the attribute run.
7805 Changed getOffsetAtPoint and getCharacterExtents to take an
7806 enum describing whether coordinates are window or screen.
7809 libspi/action.c libspi/action.h libspi/editabletext.c
7810 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7811 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7812 libspi/image.h libspi/selection.c libspi/selection.h
7813 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7814 libspi/value.c libspi/value.h
7815 Added server implementations for outstanding ATK interfaces
7816 not yet implemented.
7818 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7821 Added (missing) getName() method.
7822 Made nActions an attribute.
7823 * idl/EditableText.idl:
7824 Changed order of params in setAttributes.
7825 * idl/Hyperlink.idl:
7826 Removed getAnchor, added getURI.
7828 Changed attributes to methods, for efficiency
7829 (so that getting extents can be done in one call)
7830 * idl/Selection.idl:
7831 Changed nSelectedChildren to attribute, and re-indented.
7832 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7834 * idl/Text.idl: reformatted to match our coding style.
7835 (temporarily?) removed getRowColumnAtOffset().
7836 Changed text selection API to support multi-select and
7837 non-contiguous selections, as in ATK.
7838 * idl/Value.idl: changed some methods to attributes.
7840 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7842 * libspi/listener.c(impl_notify_event):
7843 BonoboUnkown_unref the source instead
7844 of bonobo_object_release_unref - the ORB
7845 handles the releasing.
7847 * configure.in: require ORBit-2.3.94 for
7850 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7852 Tagged CVS repository 'EA_1_0'.
7853 * README.EARLY_ACCESS:
7854 Alphabetized acknowledgements list, and
7856 Listed some known dependencies of at-spi.
7858 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7860 * docs/at-spi-docs.sgml:
7861 * docs/at-spi-sections.txt:
7862 * docs/at-spi-overrides.txt: (Added zero-length file)
7863 Documentation improvements - gtk-doc should build
7864 docs for all implemented C bindings now.
7867 * cspi/spi.c: (New file)
7868 * cspi/spi_event.c: (New file)
7869 * cspi/spi_registry.c: (New file)
7870 * cspi/spi_accessible.c: (New file)
7871 * cspi/spi_application.c: (New file)
7872 * cspi/spi_component.c: (New file)
7873 Split spi_main.c into six parts, and included them from
7874 "spi.c". This is a bit of a hack, probably temporary,
7875 but required by gtk-doc, apparently.
7877 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7880 * docs/at-spi-docs.sgml:
7881 * docs/at-spi-sections.txt:
7883 Initial checkins/modifications for gtk-doc generation.
7886 Added (missing) interface query methods to Accessible's C binding.
7888 Added GenericInterface type definition.
7890 Added query for AccessibleComponent interface to focus event handler.
7891 Added printout of bounding box for focussed component.
7892 * libspi/component.c:
7893 Added partial implementation for AccessibleComponent to C binding.
7894 * idl/Application.idl:
7895 * libspi/registry.c:
7896 * libspi/listener.c:
7897 * libspi/application.c:
7898 * libspi/application.h:
7899 Changed "ID" attribute type from string to long.
7901 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7905 Made method naming consistent: methods taking object args
7906 start with uppercase, other methods (except those using
7907 acronyms) start with lowercase. Underscores delimit between
7908 object names and method names:
7909 SPI_init() - uppercase since it starts with an acronym.
7910 getDesktopCount () - lowercase start since no object param0.
7911 Accessible_getName() - uppercase object type name, studlyCaps method
7915 Added gtk-doc documentation for all currently implemented
7916 methods in the C bindings API.
7918 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7920 * Makefile.am : changed build order to build test last.
7923 Changed "createEventListener" to "CreateEventListener".
7924 * libspi/accessibleeventlistener.c :
7925 Bugfix for addition of callbacks.
7926 * test/Makefile.am :
7927 * test/simple-at.c :
7928 Added new test that uses the C bindings API.
7930 * libspi/listener.c :
7931 * libspi/registry.c :
7932 * libspi/accessibleeventlistener.c :
7933 * at-bridge/bridge.c :
7934 Renamed member "target" of Accessibility_Event to "source",
7935 which is more descriptive.
7938 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7942 * cspi/Makefile.am :
7943 Added makefile support for at-spi/cspi directory.
7946 * cspi/spi-listener.h : (NEW FILE)
7947 Added support for/use of spi-listener.h.
7949 C bindings now build successfully, with no warnings.
7950 * libspi/accessibleeventlistener.h : (NEW FILE)
7951 * libspi/accessibleeventlistener.c : (NEW FILE)
7952 * libspi/Makefile.am :
7953 Added new object type "AccessibleEventListener"
7954 which inherits from Listener, and allows attachment
7955 of in-process callbacks (so that a client with a listening
7956 object instance can add functionality to the local
7957 implementation, dynamically).
7959 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7961 * libspi/accessible.c:
7962 Add implementation for get_index_in_parent().
7964 Added #include of "spi-roletypes.h", and
7965 added enumerated type AccessibleCoordType.
7966 Added definition for KeystrokeListener (function type).
7969 * cspi/spi-statetypes.h :
7970 * cspi/spi-roletypes.h :
7972 Added these headers, used by spi.h.
7974 Added code (NOTE: not yet built by make).
7976 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7978 * libspi/Makefile.am: generate imodule
7979 at the same time as other idl compiler
7982 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7983 * libspi/registry.c :
7984 * libspi/application.c :
7985 * idl/Application.idl :
7986 Made registration with toolkit an application method,
7987 which is required since each app has its own toolkit static
7988 environment. Thus the bridge must register for
7989 notification of toolkit events from each application in turn.
7990 Toolkit notifications are now successfully registered for, and
7991 sent to the listening at client.
7993 Changed toolkit event string to use hyphens rather than underscores.
7994 * libspi/listener.c :
7995 listner now gives more info in debug mode - it reports the
7996 name of the event received, as well as the name of the source.
7999 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8001 * libspi/registry.c :
8002 added more implementation for toolkit events.
8003 Fixed bug such that toolkit event registrations
8004 (via atk) use the whole event name string, not
8006 Removed a useless call to an ORBit_ method.
8007 * at-bridge/bridge.c :
8008 Removed unused local sbuf[] variable.
8010 We now register for Gtk:GtkWidget:button_press_event
8011 events as well as "focus:" events.
8013 Add some more API from Registry.idl that was missing,
8014 for keystroke listening, keystroke and mouse event
8015 synthesis, and enumeration of accessible desktops.
8017 2001-08-16 Michael Meeks <michael@ximian.com>
8019 * configure.in: use AM_GLIB_GNU_GETTEXT.
8021 * Makefile.am (SUBDIRS): kill intl.
8023 2001-08-15 Michael Meeks <michael@ximian.com>
8025 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8027 * configure.in: upd.
8029 * configure.in: depend on a recent bonobo-activation that
8030 will find our server files ...
8032 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8034 * libspi/accessible.c : accessible_new() :
8035 Now we add the Component interface via bonobo_object_add_interface,
8036 if the contained AtkObject implements AtkComponent.
8037 * libspi/accessible.h : now include "component.h"
8038 * libspi/component.h :
8039 * libspi/component.c : added files - implementation of
8040 bonobo wrapper object for Accessibility/Component
8041 * libspi/listener.c :
8042 Added test code to check for Accessibility/Component:1.0
8043 interface and report whether it is implemented by the
8045 * libspi/registry.c :
8046 Now we check for not only the hash of the whole event
8047 string before relaying the event, we also check the
8048 "minor" event string (without the detail string).
8049 This allows event listeners to be registered against
8050 all events of a certain major+minor type, or just
8051 against a specific major+minor+detail type.
8052 * libspi/accessible.c :
8053 Added implementations for Accessible:get_parent(),
8054 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8055 * libspi/registry.c :
8056 * libspi/listener.c :
8057 Replaced calls to Accessibility_Accessible_ref() and
8058 Accessibility_Accessible_unref() with
8059 calls to bonobo_object_dup_ref() and
8060 bonobo_object_release_unref(), so that the CORBA object
8061 is dup-ed and released when relayed, as well as the bonobo object.
8063 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8065 * libspi/Makefile.am,
8066 registryd/Makefile.am,
8067 at-bridge/Makefile.am.
8068 test/Makefile.am, configure.in:
8069 reverse previous changes.
8071 * /idl/Image.idl: fix typo.
8073 * test/Makefile.am: put DEBUG_FLAGS
8076 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8078 * test/app.c: use argv[0] instead of
8081 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8083 * libspi/Makefile.am,
8084 registryd/Makefile.am,
8085 at-bridge/Makefile.am.
8086 test/Makefile.am, configure.in:
8087 cleanup, replace individual LIBS/CFLAGS with
8088 AT_COMMON_{LIBS|CFLAGS}.
8092 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8094 * configure.in, libspi/Makefile.am:
8095 Change IDL path checking for bonobo-activation
8098 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8100 * registryd/registry.c : separated event listeners to use
8101 3 separate lists (focus, window, toolkit). Began testing
8102 event names against hashes before relaying events.
8103 * test/at.c : now register for events of type "focus:"
8104 * test/app.c : now generate events of type "focus:"
8105 * at-bridge/bridge.c : register with ATK for focus events,
8106 and we now relay those focus events to any "focus:" listeners.
8107 This now works with the bridge as a GTK_MODULE when running test/at.
8108 * libspi/registry.c :
8109 * libspi/listener.c :
8110 now we ref event sources before propagating, and unref on receipt.
8111 * libspi/registry.c :
8112 some changes to internal structs, to support event typestring hashes.
8113 * text/app.c : changed the way the appname is generated.
8114 * cspi : added directory that will hold the C bindings library for
8115 non-CORBA/bonobo-savvy clients.
8116 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8117 * idl/Component.idl : added in parameter to indicate coord system for
8118 geometry-related calls.
8119 * idl/Hyperlink.idl : added readonly n_links attribute
8120 * idl/Image.idl : changed methods to attributes.
8122 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8124 * at-bridge/Makefile.am: link against
8125 ../libspi/libspi.la instead of -lspi.
8127 * at-spi/test/app.c: include
8128 bonobo-activation.h. Use a default appname
8129 if one is not provided.
8131 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8133 * idl/Registry.idl : temporarily changed register_Application
8134 to oneway, to work around issue with initial registration
8136 * idl/Application.idl : changed attribute "id" from readonly
8137 to read-write, since it needs to be assigned by Registry.
8138 * registryd/registryd.c : added call to set application id
8140 * registryd/registry.c : changed de-registration procedure to
8141 use CORBA_Object_hash() to find matching object ref in application
8142 lists and listener lists.
8143 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8144 began distinguishing between event types (work in progress).
8146 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8149 * libspi/application.c:
8150 Added implementations for get/set id, get_toolkitName,
8152 * registryd/registryd.c :
8156 Converted from use of OAF to bonobo-activation.
8157 * libspi/desktop.h :
8158 * libspi/desktop.c :
8160 Removed references to atksimpleobject, since base atkobject
8161 implementation now provides functionality we need.
8162 * libspi/atksimpleobject.c :
8163 * libspi/atksimpleobject.h :
8168 * at-bridge/Makefile.am
8169 * at-bridge/bridge.c
8172 Added directory "bridge" and contents, and added dependencies
8173 in Makefile.am/configure.in.
8174 Initial checkin of "at-bridge".
8175 This code is a GTK_MODULE which automatically registers
8176 GTK+ apps with the accessibility registry, using an object
8177 reference to the root ATK object.
8179 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8181 * po/Makefile.in.in: Remove. Again. If this
8182 doesn't get autogenerated - you need to update
8185 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8187 * po/Makefile.in.in: Add. Again.
8189 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8191 * libspi/accessible.c : added support for 'description' property.
8192 * libspi/accessible.c
8194 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8195 (since the two are now equivalent in libbonobo)
8203 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8204 Bonobo::Unknown as does Accessibility::Accessible.
8205 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8206 interface with Bonobo::Stream, since it was redundant with it.
8207 (The Stream returned by a StreamableContext object is expected to
8208 implement only a subset of Bonobo::Stream)
8210 2001-07-28 Anders Carlsson <andersca@gnome.org>
8212 * libspi/accessible.c (accessible_object_finalize): Change
8213 g_free to g_object_unref since the AtkObject is a GObject.
8215 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8217 * idl/Accessibility.idl: add new IDL files
8220 * idl/Action.idl: Definitions of actionable UI object
8221 * idl/Component.idl: Definitions of UI component geometry, etc.
8222 * idl/Hyperlink.idl: Defs of hyperlink behavior
8223 * idl/Image.idl: Def of accessible image
8224 * idl/Selection.idl: Definition of UI object with selectable children
8225 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8226 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8227 * idl/Text.idl: Interface defs for UI elements with complex textual content
8228 * idl/Value.idl: Definition of UI element that is a value controller or display
8230 2001-07-27 Michael Meeks <michael@ximian.com>
8232 * po/Makefile.in.in: remove autogenerated file from CVS.
8234 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8237 * idl/Registry.idl: include guard.
8239 * idl/Accessibility.idl: Add, and include all the other IDL
8242 * idl/*.idl: remove mass of pragmas etc.
8244 2001-07-26 Michael Meeks <michael@ximian.com>
8246 * registryd/Makefile.am (registryd_SOURCES): remove
8249 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8251 * libspi/.cvsignore, registryd/.cvsignore,
8252 test/.cvsignore: updated.
8254 * po/Makefile.in.in: gettext update.
8256 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8258 * initial CVS checkin
8260 2001-06-29 Michael Meeks <michael@ximian.com>
8262 * configure.in: add AM_CONFIG_HEADER to gen config.h