...
 
Commits (541)
*Makefile
ChangeLog
*.pyc
aclocal.m4
autom4te.cache
config.h.in~
config
configure
m4/*.m4
/po/Makefile.in
/po/Makefile.in.in
/po/*.pot
......@@ -2,7 +2,7 @@
Authors of AT-SPI D-Bus implementation
--------------------------------------
Mike Gorse <mgorse@novell.com>
Mike Gorse <mgorse@suse.com>
Mark Doffman <mark.doffman@codethink.co.uk>
......
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
......@@ -16,97 +17,109 @@ freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
......@@ -145,7 +158,7 @@ Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
......@@ -254,8 +267,8 @@ Library will still fall under Section 6.)
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
......@@ -282,23 +295,31 @@ of these things:
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
......@@ -308,7 +329,7 @@ restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
......@@ -347,9 +368,9 @@ Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
......@@ -390,7 +411,7 @@ excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
......@@ -401,7 +422,7 @@ conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
......@@ -435,7 +456,7 @@ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
......@@ -453,19 +474,18 @@ convey the exclusion of warranty; and each file should have at least the
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307 USA.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
......
Install procedure
-----------------
% gzip -cd at-spi-core-2.0.0.tar.gz | tar xvf - # unpack the sources
% cd at-spi-core-2.0.0 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build at-spi-core
tar -xJf at-spi2-core-2.34.0.tar.xz # unpack the sources
% cd at-spi2-core-2.34.0 # change to the toplevel directory
mkdir build # create a build directory
meson .. # configure
ninja # build at-spi2-core
[ Become root if necessary ]
% make install # install at-spi-core
ninja install # install at-spi2-core
Requirements
------------
GNU make
GNU autotools
pkg-config
Packages with local machine architecture:
meson
ninja
pkg-config
gobject-introspection
gtk-doc (for generation of documentation)
Packages with target architecture:
glib
dbus
dbus-glib
X
XEVIE (Reccomended)
libX11, libXtst, libXi (for X11 support)
Mike Gorse <mgorse@novell.com>
Li Yuan <lee.yuan@oracle.com>
Mark Doffman <mark.doffman@codethink.co.uk>
Mike Gorse <mgorse@suse.com>
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
SUBDIRS=po dbind xml atspi bus registryd doc
ACLOCAL_AMFLAGS=-I m4 ${ACLOCAL_FLAGS}
EXTRA_DIST = \
atspi-2-uninstalled.pc.in \
atspi-2.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = atspi-2.pc
DISTCLEANFILES = \
atspi-2-uninstalled.pc \
atspi-2.pc
What's new in at-spi2-core 2.34.0:
* Fix a use after free when freeing an event.
* Clean up handling of the X11 property specifying the bus address (#18).
* Update doap.
What's new in at-spi2-core 2.33.92:
* Now requires meson 0.50.0.
* License is now LGPL-2.1+.
* Meson: only link to libdl when it is necessary.
* Update installation instructions.
* Clarify atspi_editable_text_insert_text documentation.
* Do not warn on no reply from pending get_items call.
* Eliminate some superfluous runtime warnings.
What's new in at-spi2-core 2.33.90:
* Refactor the API for the screen reader to notify listeners of its status.
* Add a sender to the AtspiEvent struct.
* Add missing atspi_application_get_type prototype.
* Support mutter remote desktop interface for synthesizing keyboard/mouse
events (likely still needs work).
What's new in at-spi2-core 2.33.2:
* Check WAYLAND_DISPLAY, rather than XDG_SESSION_TYPE, to avoid X
connections. Fixes breakage if X is started with startx and
XDG_SESSION_TYPE is unset.
* X11: also try mod4 and mod5 to generate keysyms.
* Add ATSPI_ROLE_CONTENT_DELETION and ATSPI_ROLE_CONTENT_INSERTION.
* Check for dbus-daemon in /usr/lib (for Solaris).
What's new in at-spi2-core 2.33.1:
* Fix meson build for meson 0.50.0.
* Add atspi_accessible_get_accessible_id.
* Add atspi_text_notify_reading_position.
* Check for an actual X11 session before calling X. This will be needed
for Mutter in the future because checking $DISPLAY is not sufficient,
and xwyland could be automatically started when it isn't wanted.
What's new in at-spi2-core 2.31.92:
* Fix atspi_table_cell_get_(row_column)_header_cells.
* Update documentation to indicate that extents are only meaningful
when an object has both STATE_VISIBLE and STATE_SHOWING.
* Use a consistent style for the meson options.
* Fix a compiler warning on BSD.
* Add ScrollSubstringTo and ScrollSubstringToPoint text interfaces.
What's new in at-spi2-core 2.31.1:
* Bus launcher: fix an issue where the error wasn't cleared on failure.
* Add support for locking/unlocking modifiers.
* Update error log text for consistency.
* Documentation clean-ups.
What's new in at-spi2-core 2.29.1:
* Add dbus-broker support to bus launcher.
* Add ScrollTo and ScrollToPoint component interfaces.
* Do not use deprecated GSettings API
* Fix various compiler warnings and documentation annotations.
What's new in at-spi2-core 2.27.92:
* Support building a static library (bgo#793652).
\
* Fix build on FreeBSD (bgo#791608).
What's new in at-spi2-core 2.27.1:
* Dropped autotools support.
* documentation: Remove list association from
ATSPI_ROLE_DESCRIPTION_{TERM,VALUE} (bgo#791021).
* Fix a potential buffer overflow in at-spi-bus-launcher (bgo#791124).
* Make the build reproducible (bgo#791167).
What's new in at-spi2-core 2.26.1:
* Remove unused dependency on libxkbcommon.
* Various meson build fixes.
* Updated Dutch and Catalan translations.
What's new in at-spi2-core 2.25.92:
* configure.ac: make xkb optional, as intended.
* Optionally read the bus address from the ATSPI_BUS_ADDRESS environment
variable (bgo#787126).
What's new in at-spi2-core 2.25.91:
* Meson builds should now be usable.
What's new in at-spi2-core 2.25.90:
* Fix a couple of introspection issues (bgo#784481).
* atspi_get_a11_bus: don't leak the DBusConnection.
* Meson fixes.
What's new in at-spi2-core 2.25.4:
* Fix gir generation with autotools (bgo#783994).
What's new in at-spi2-core 2.25.3:
* Fix -Wmisleading-indentation warnings.
* Fix memory leak of at-spi-bus-launcher.
* Add error-message, error-for, details, and details-for relation types.
* Poll direct dbus connections in the main loop--fixes processes
being marked hung and the hung flag never being removed.
* Add Meson build system (thanks to Emmanuele Bassi).
* Various build fixes (thanks to Emmanuele Bassi).
What's new in at-spi2-core 2.25.2:
* attempt to fix an occasional crash when an application disappears
(bgo#767074).
* Add some missing roles to correspond with atk (description list,
description term, description value, and footnote).
What's new in at-spi2-core 2.25.1:
* atspi_table_cell_get_position: don't crash on error.
What's new in at-spi2-core 2.23.92:
* Table cell API fixes (bgo#779835).
What's new in at-spi2-core 2.23.90:
* Fix an occasional crash when an application is closed (bgo#767074).
What's new in at-spi2-core 2.23.4:
* Don't pull in X headers if x11 is disabled (bgo#773710).
* at-spi-bus-launcher: session management fixes (bgo#774441).
* events: add recently added page changed event (bgo#719898).
* roles: EXTENDED roles are deprecated (bgo#W720123).
What's new in at-spi2-core 2.2.0:
* at-spi-bus-launcher: fix uninitialized variable.
* Fix return value error in session_manager_connect (bgo#768881).
* Updated translations.
What's new in at-spi2-core 2.21.4:
* Fixed a crash in atspi_accessible_clear_cache.
* Fixed a crash caused by at-spi2-registryd dying.
* Fixed some session management issues in at-spi-bus-launcher.
What's new in at-spi2-core 2.21.2:
* Allow building without Xtst, Xi with --disable-x11
* ref_accessible_desktop: don't unref reply until we're finished with it
* Updated translations.
What's new in at-spi2-core 2.21.1:
* registryd: avoid crashing with a NULL keystring (bgo#764688).
* Plug a memory leak in AtspiEventListener (bgo#764688).
* Fix parsing of at-spi-bus-launcher command line arguments (bgo#765220).
* Build clean-ups.
What's new in at-spi2-core 2.19.92:
* Support a stateless configuration by default (bgo#763540).
What's new in at-spi2-core 2.19.91:
* Don't display warnings when connecting to an app that no longer exists.
What's new in at-spi2-core 2.19.90:
* Don't display warning if unable to connect when logged in via ssh
(bgo#761600).
* at-spi-bus-launcher: register with session manager (bgo#753931).
What's new in at-spi2-core 2.19.2:
* Disable xevie by default--it probably doesn't do anything anyhow.
* get_index_in_parent: Don't crash if parent is defunct.
* Don't crash when trying to set an invalid state (bgo#757915).
What's new in at-spi2-core 2.19.1:
* Don't crash if we get a children-changed event with a non-existent
child (bgo#755951).
* atspi_hyperlink_get_index_range: don't return random values if the
call fails (bgo#755727).
* Fixed some atspi_text_ functions (bgo#755731).
* Fixed crash during removal of last application in registryd (bgo#756513).
What's new in at-spi2-core 2.17.90:
* Modified the cache API to specify an object's index and child count
rather than its children. This eliminates the need for the application
to enumerate its children, improving performance in some places with
large lists (bgo#650090).
What's new in at-spi2-core 2.17.1:
* Functions shouldn't try to return values (bgo#749330).
* Fix atspi_table_cell_get_position.
What's new in at-spi2-core 2.16.0:
* Fix a couple of gtk-doc warnings (fdo#89678).
What's new in at-spi2-core 2.15.90:
* Deprecate atspi_text_get_text_{before,at,after}_offset() (bgo#697969)
* Add roles for fractions, roots, subscripts, and superscripts (bgo#743403).
What's new in at-spi2-core 2.15.4:
* Add names to every timeout (bgo#710644).
* Remove accessibility.conf from EXTRA_DIST (bgo#742987).
* Add ATSPI_STATE_READONLY (bgo#690004).
What's new in at-spi2-core 2.15.3:
* Replace deprecated "Rename to" gtk-doc tag.
* Fix atspi_table_cell_get_column_span prototype.
What's new in at-spi2-core 2.15.2:
* Make the documentation of ATSPI's STATE_ACTIVE consistent with that of
ATK's (bgo#740274).
* Add ATSPI_ROLE_STATIC and update documentation for ATSPI_ROLE_TEXT
(bgo#740340).
* gi-annotations: get_relation_set returns a array of AtspiRelation
What's new in at-spi2-core 2.15.1:
* Fix some issues with the accessibility bus configuration (bgo#722738).
* Documentation for AtspiTableCell is now built.
What's new in at-spi2-core 2.13.92:
* Fix alignment checks when cross-compiling (bgo#736653).
What's new in at-spi2-core 2.13.90:
* Fix crash when testing interfaces with collections (bgo#734805).
What's new in at-spi2-core 2.13.4:
* Ensure that we register with the session manager only once (bgo#728934).
* Fix ucs2keysym prototype (bgo#730897).
* introspection: add some missing Returns: (nullable) annotations
* Fix various memory leaks.
What's new in at-spi2-core 2.13.1:
* Add GError setter in atspi_accessible_get_process_id function
* registryd: Wait for gnome-session before registering if it is not
running yet (bgo#728934).
What's new in at-spi2-core 2.11.92:
* Fix a crash with MediaElch and Onboard (bgo#726243).
* Various i18n updates.
What's new in at-spi2-core 2.11.91:
* Improve compatibility with at-spi2-registryd <= 3.10.
What's new in at-spi2-core 2.11.90:
* bus-launcher: Do not use g_setenv when initializing the bus (bgo#724070).
* Fix a critical when processing deferred messages (bgo#724292).
* Add AtspitableCell, tracking the new atk interface
What's new in at-spi2-core 2.11.5:
* Add atspi_event_listener_register_full, and cache data requested by it
for the duration of the event callback (BGO#708695).
* Fix a crash when atspi_accessible_get_process_id is called for an
application that is no longer present.
What's new in at-spi2-core 2.11.3:
* Fix atspi_text_get_bounded_ranges
* document: add support to current page and page count (BGO#719508).
What's new in at-spi2-core 2.11.2:
* Add new roles and states to track atk (BGO#710464, BGO#712608, BGO#712609).
What's new in at-spi2-core 2.11.1:
* Fix a gsource leak that adversely impacted performance (BGO#709625).
* Hopefully fix a rare crash when starting at-spi2-registryd (BGO#710689).
* Fix atspi_component_contains (BGO#710730).
* Fix some compiler warnings and build issues.
What's new in at-spi2-core 2.9.92:
* Fix multiple deadlocks with keystroke listeners (BGO#707218).
What's new in at-spi2-core 2.9.91:
* Fix a performance issue when running for a long time without a main
loop, such as with a dogtail script (BGO#701145).
* Remove an unneeded unref that was causing a warning (BGO#706893).
* Skip some functions that were not introspectable (BGO#707010).
What's new in at-spi2-core 2.9.90:
* Separate out X-dependent functionality, allow building without X11 (albeit
with various things not working), and don't query/use X if DISPLAY is not
set (BGO#682199, BGO#701378).
* Add atspi_text_get_string_at_offset, and deprecate
atspi_text_get_text_at_offset.
What's new in at-spi2-core 2.9.5:
* Fix possible memory leak when D-Bus calls time out.
* Fix a memory leak in atspi_accessible_get_role_name that was introduced
earlier in the 2.9 cycle with the enum refactor.
* A couple of functions not intended for introspection are now marked
as skip.
What's new in at-spi2-core 2.9.4:
* Add atspi_set_main_context (mainly for use by at-spi2-atk).
What's new in at-spi2-core 2.9.3:
* Add atspi_is_initialized (BGO#681276).
What's new in at-spi2-core 2.9.2:
* Fix D-Bus introspection for GetActions.
* Use glib-mkenums to generate enum types, and use these generated types
for role and state names, rather than static tables.
* Annotate filter in atspi_register_device_event_listener with allow-none
(BGO#700237).
* Rename various functions to avoid name collisions (BGO#700243). The old
functions are deprecated in favor of the renamed functions and renamed
for introspection.
What's new in at-spi2-core 2.7.91:
* Add atspi_accessible_get_object_locale (BGO#694368).
* Start the bus launcher in the initialization phase (BGO#694984).
What's new in at-spi2-core 2.7.90:
* Removed a debug print that was accidentally included in 2.7.5.
What's new in at-spi2-core 2.7.5:
* Add ATSPI_ROLE_LEVEL_BAR to correspond to the new atk role.
* Fix various compiler warnings.
What's new in at-spi2-core 2.7.4:
* Fix some ref count leaks.
* Some functions that return accessibles now propagate errors.
What's new in at-spi2-core 2.7.3:
* Atspi_accessible_get_index_in_parent no longer returns -1 if the object's
parent is not cached (BGO#688057).
* re-register keystroke listeners if the registry goes away and then returns.
* Fix atspi_device_listener_new_simple.
* Fix some compiler warnings.
* Build: use gobject-introspection's Makefile instead of rolling our own.
* Fix a crash when parsing events without detail when there is a listener for the event that names a specific detail value.
* Fix crash when removing hung processes.
* Fix deregistering of applications.
* A few documentation fixes.
What's new in at-spi2-core 2.7.2:
* Only call an event listener once per event, even if the listener registered
for both the event and a superset of the event.
* Don't distribute dbind-config.h (BGO#688083).
* Fix gtk-doc for Atspi-Registry (BGO#688224).
* Some introspection fixes to make vapigen happy (BGO#688223).
* [registry] Fixed a crash handling DeregisterKeystrokeListener.
What's new in at-spi2-core 2.7.1:
* Update the cache in response to role change notifications (BGO#685469).
* Don't output a warning when a p2p connection isn't available.
What's new in at-spi2-core 2.5.92:
* Fix some annotations.
* Exit, rather than crash, when unable to open an X display (BGO#660407).
* Fix various memory leaks (BGO#684033).
What's new in at-spi2-core 2.5.91:
* Fix build with -fno-common.
* Add glib-2.0 to requires in at-spi2.pc (BGO#682595)
What's new in at-spi2-core 2.5.5:
* Add atspi_action_get_localized_name (BGO#680598).
* Allow building from out of source directory (BGO#680281)
What's new in at-spi2-core 2.5.4:
* Fix a missing return value.
* Fix a crash when unable to remove a match rule.
What's new in at-spi2-core 2.5.3:
* Fix a memory leak (BGO#678738)
What's new in at-spi2-core 2.5.2:
* Fix a crash when a call to fetch a hyperlink times out.
* Fix C++ compilation.
* Remove a warning that was sometimes logged when a method call timed out.
* Fix crash in atspi_deregister_keystroke_listener (FDO#50578)
What's new in at-spi2-core 2.5.1:
* Add atspi_set_timeout.
* By default, disable method call timeouts until an application has been on
the bus for 15 seconds (work-around for applications with potentially long
start-up times). This behavior can be changed with a call to atspi_set_timeout.
* Fix GError sent when receiving a reply of the wrong type
* Fix typo in atspi_document_get_attribute_value
* Fix for bug 675004 - object:state-changed:defunct events are emitted as object:state-change:defunct
What's new in at-spi2-core 2.4.0:
* Fix typo in at-spi-dbus-bus.desktop.in (BGO#605662).
What's new in at-spi2-core 2.3.92:
* Some changes to try to prevent at-spi2-registryd from incorrectly
thinking that an AT is hung and passing keys meant for it to the application.
* Fix crash fetching an error from a reply when retrieving a property.
What's new in at-spi2-core 2.3.91:
* Invalidate states when receiving a focus event (BGO#663992).
* Fix atspi_table_get_row_column_extents_at_index.
* Expect a signed int for GetIndexInParent, per the spec.
* Send key events to listeners assumed to be hung, but don't block.
* Reduce the method call timeout slightly, so that it will be lower than
the keystroke listener timeout.
* Don't cache data for transient objects.
* Enable caching on a call to atspi_accessible_set_cache_mask, even if
atspi-event_main() hasn't been called.
What's new in at-spi2-core 2.3.90:
* At-spi-bus-launcher now emits PropertiesChanged signals from the correct
interface.
* If a keystroke listener does not respond, disable it until it responds.
This prevents the desktop from locking up if an AT hangs or is suspended
and has a keyboard listener registered.
* Fix a warning when a NULL object is returned as the detail of an event.
What's new in at-spi2-core 2.3.5:
* Fix for BGO#668334: Set correct end offset in atspi_text_get_attributes.
* Add some type checking on method replies; this should prevent crashes if
an application-side AT-SPI implementor returns something unexpected.
* Call g_settings_sync after updating toolkit-accessibility.
* Add ScreenReaderEnabled D-Bus property as a proxy for the GSettings key.
* Fix for BGO#669344: Don't use "restrict" as a variable name, since it can
be a keyword.
What's new in at-spi2-core 2.3.4:
* Add some dbus message signature checks.
* Fix a crash if a device listener incorrectly returns a non-bool.
* Fix for BGO#666870: Keystroke listeners do not work unless an event listener
is also registered [also needs updated at-spi2-atk]
* Fix for BGO#667254: Some atspi-selection_* functions were broken.
* When a call times out, ping the connection and avoid making subsequent calls
until the ping is answered.
What's new in at-spi2-core 2.3.3:
* Handle event detail suffixes (such as :system).
What's new in at-spi2-core 2.3.2:
* Some documentation improvements.
What's new in at-spi2-core 2.3.1:
* Fix return type of org.a11y.Bus.IsEnabled property
* Declare void functions as such
What's new in at-spi2-core 2.2.1:
* Fix org.a11y.Bus.Enabled property to set its initial state from the
......@@ -82,7 +708,6 @@ What's new in at-spi2-core 2.1.3:
* Fix failure to update cache in response to children-changed events in some
cases.
What's new in at-spi2-core 2.1.2:
* Fix atspi_table_get_caption|summary.
......
D-Bus AT-SPI
------------
This version of at-spi is a major break from previous versions.
This version of at-spi is a major break from version 1.x.
It has been completely rewritten to use D-Bus rather than
ORBIT / CORBA for its transport protocol.
......@@ -15,9 +15,10 @@ The mailing list used for general questions is:
accessibility-atspi@lists.linux-foundation.org
For bug reports, feature requests, patches or enhancements please use
bugzilla. The freedesktop project name is at-spi2.
the AT-SPI project on bugzilla.gnome.org. Use the at-spi2-core component for
bugs specific to this module.
http://bugs.freedesktop.org
http://bugzilla.gnome.org
A git repository with the latest development code is available at:
......@@ -48,8 +49,8 @@ Contents of this package
This package includes the protocol definitions for the new D-Bus
at-spi.
Also included is the daemon neccessary for forwarding device events
and registering accessible applicaitons.
Also included is the daemon necessary for forwarding device events
and registering accessible applicaitions.
Directory structure
......@@ -60,12 +61,13 @@ The directories within this package are arranged as follows:
xml
This directory contains XML documents describing
the D-Bus protocol in a subset of Telepathy XML.
the D-Bus protocol in the format used for D-Bus introspection.
tools
idl
Miscellaneous tools. Mostly for converting protocol
XML into D-Bus introspection, 'C' types and documentation.
The D-Bus specification in an idl-like format. This is likely not
parseable by any existing tools, is not entirely up-to-date, and may
by removed in a future release.
registryd
......@@ -73,3 +75,42 @@ The directories within this package are arranged as follows:
keeps a register of accessible applications and presents
this to clients (ATs).
It is also responsible for delivering device events.
dbind
Library to ease making D-Bus method calls, contains
marshalling code to convert function arguments
and a provided D-Bus signature into a D-Bus message.
Used by libatspi.
atspi
C library for use by ATs. Wraps the various D-Bus calls, provides
an interface for listening to events, and caches some information about
accessible objects. Also contains some functions used by at-spi2-atk.
bus
A server that sits on the session bus and provides an interface
allowing applications to find the accessibility bus daemon, launching
it as needed. The accessibility bus is separate from the session bus
because it may in fact span user sessions if a user, for instance,
runs an application that escalates to run as root. The accessibility
bus is thus tied to the X session rather than the D-Bus session.
doc
Contains infrastructure for creating libatspi documentation.
test
Contains files that may be useful for testing AT-SPI.
m4
Some macros used for building the module.
po
Infrastructure used for translation.
#######################
# type alignment test #
#######################
AC_DEFUN([DBIND_CHECK_ALIGNOF],
[changequote(<<, >>)dnl
dnl The name to #define.
define(<<AC_TYPE_NAME>>,
translit(dbind_alignof_$1, [a-z *], [A-Z_P]))dnl
dnl The cache variable name.
define(<<AC_CV_NAME>>,
translit(ac_cv_alignof_$1, [ *], [_p]))dnl
changequote([, ])dnl
AC_MSG_CHECKING(alignment of $1)
AC_CACHE_VAL(AC_CV_NAME,
[AC_TRY_RUN(
[ #include <stdio.h>
#include <stdlib.h>
#define DBUS_API_SUBJECT_TO_CHANGE
#include <dbus/dbus.h>
typedef struct {char s1;} dbind_struct;
typedef void *dbind_pointer;
struct test {char s1; $1 s2;};
main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
fprintf(f, "%d\n", &(((struct test*)0)->s2));
exit(0);
} ],
AC_CV_NAME=`cat conftestval`,
AC_CV_NAME=0, AC_CV_NAME=0)
])dnl
AC_MSG_RESULT($AC_CV_NAME)
if test "$AC_CV_NAME" = "0" ; then
AC_MSG_ERROR([Failed to find alignment. Check config.log for details.])
fi
AC_TYPE_NAME=$AC_CV_NAME
AC_SUBST(AC_TYPE_NAME)
undefine([AC_TYPE_NAME])dnl
undefine([AC_CV_NAME])dnl
])
......@@ -5,17 +5,23 @@
xmlns="http://usefulinc.com/ns/doap#">
<name xml:lang="en">at-spi2-core</name>
<shortdesc xml:lang="en">D-Bus accessibility specifications and registration daemon.</shortdesc>
<shortdesc xml:lang="en">D-Bus accessibility specifications, library, and registration daemon</shortdesc>
<description xml:lang="en">The Access Technology Service Provider Interface
(AT-SPI) is a set of interfaces that allow access technologies such as screen
readers to programmatically determine what is being displayed on the screen and
simulate keyboard and mouse events. It can also be used for automated testing.
The at-spi2-core module contains the D-Bus specification, the registry daemon,
and a C library for use by access technologies that provides a convenient
wrapper around the DBus interfaces.</description>
<homepage rdf:resource="http://www.linuxfoundation.org/en/Accessibility/ATK/AT-SPI/AT-SPI_on_D-Bus"/>
<license rdf:resource="http://usefulinc.com/doap/licenses/lgpl" />
<bug-database rdf:resource="https://gitlab.gnome.org/GNOME/at-spi2-core/issues/" />
<download-page rdf:resource="http://download.gnome.org/sources/at-spi2-core/" />
<mailing-list rdf:resource="https://lists.linux-foundation.org/mailman/listinfo/accessibility-atspi"/>
<category rdf:resource="http://api.gnome.org/doap-extensions#core" />
<programming-language>C</programming-language>
<maintainer>
<foaf:Person>
<foaf:name>Mark Doffman</foaf:name>
<foaf:mbox rdf:resource="mailto:mark.doffman@codethink.co.uk" />
<gnome:userid>markdoffman</gnome:userid>
</foaf:Person>
</maintainer>
<maintainer>
<foaf:Person>
<foaf:name>Mike Gorse</foaf:name>
......@@ -23,11 +29,4 @@
<gnome:userid>mgorse</gnome:userid>
</foaf:Person>
</maintainer>
<maintainer>
<foaf:Person>
<foaf:name>Li Yuan</foaf:name>
<foaf:mbox rdf:resource="mailto:lee.yuan@oracle.com" />
<gnome:userid>liyuan</gnome:userid>
</foaf:Person>
</maintainer>
</Project>
Name: atspi
Description: Accessibility Technology software library
Requires: dbus-1
Version: @VERSION@
Libs: ${pc_top_builddir}/${pcfiledir}/atspi/libatspi.la
Cflags: -I${pc_top_builddir}/${pcfiledir}
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: atspi
Description: Accessibility Technology software library
Requires: dbus-1
Version: @VERSION@
Libs: -L${libdir} -latspi
Cflags: -I${includedir}/at-spi-2.0
lib_LTLIBRARIES = libatspi.la
libatspi_la_LDFLAGS = @LDFLAGS@ @LT_VERSION_INFO@ @LIBTOOL_EXPORT_OPTIONS@ -no-undefined
libatspi_la_CFLAGS = $(DBUS_CFLAGS) \
$(DBIND_CFLAGS) \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/registryd \
-I$(top_srcdir)
libatspi_la_LIBADD = $(DBUS_LIBS) \
$(GOBJ_LIBS) \
$(X_LIBS) \
$(top_builddir)/dbind/libdbind.la
libatspiincludedir = $(includedir)/at-spi-2.0/atspi
libatspiinclude_HEADERS = \
atspi.h \
atspi-accessible.h \
atspi-action.h \
atspi-application.h \
atspi-collection.h \
atspi-component.h \
atspi-constants.h \
atspi-device-listener.h \
atspi-device-listener-private.h \
atspi-document.h \
atspi-editabletext.h \
atspi-event-listener.h \
atspi-event-listener-private.h \
atspi-gmain.c \
atspi-gmain.h \
atspi-hyperlink.h \
atspi-hypertext.h \
atspi-image.h \
atspi-matchrule.h \
atspi-misc.h \
atspi-object.h \
atspi-private.h \
atspi-registry.h \
atspi-relation.h \
atspi-selection.h \
atspi-stateset.h \
atspi-table.h \
atspi-text.h \
atspi-types.h \
atspi-value.h
libatspi_la_SOURCES = \
$(libatspiinclude_HEADERS) \
atspi.h \
atspi-accessible.c \
atspi-accessible.h \
atspi-action.c \
atspi-action.h \
atspi-application.c \
atspi-application.h \
atspi-collection.c \
atspi-collection.h \
atspi-component.c \
atspi-component.h \
atspi-constants.h \
atspi-device-listener.c \
atspi-device-listener.h \
atspi-device-listener-private.h \
atspi-document.c \
atspi-document.h \
atspi-editabletext.c \
atspi-editabletext.h \
atspi-event-listener.c \
atspi-event-listener.h \
atspi-event-listener-private.h \
atspi-hyperlink.c \
atspi-hyperlink.h \
atspi-hypertext.c \
atspi-hypertext.h \
atspi-image.c \
atspi-image.h \
atspi-matchrule.c \
atspi-matchrule.h \
atspi-matchrule-private.h \
atspi-misc.c \
atspi-misc.h \
atspi-misc-private.h \
atspi-object.c \
atspi-object.h \
atspi-private.h \
atspi-registry.c \
atspi-registry.h \
atspi-relation.c \
atspi-relation.h \
atspi-selection.c \
atspi-selection.h \
atspi-stateset.c \
atspi-stateset.h \
atspi-table.c \
atspi-table.h \
atspi-text.c \
atspi-text.h \
atspi-types.h \
atspi-value.c \
atspi-value.h
#BUILT_SOURCES = atspi-constants.h
#CLEANFILES = atspi-constants.h
#atspi-constants.h: $(top_srcdir)/xml/spec.xml $(top_srcdir)/tools/c-constants-gen.py
# python $(top_srcdir)/tools/c-constants-gen.py Atspi $(top_srcdir)/xml/spec.xml atspi-constants
if HAVE_INTROSPECTION
INTROSPECTION_FILES = $(libatspi_la_SOURCES)
Atspi-2.0.gir: $(INTROSPECTION_SCANNER) \
libatspi.la \
$(INTROSPECTION_FILES)
$(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \
--namespace Atspi \
--nsversion=2.0 \
-I$(top_builddir) \
-I$(top_srcdir) \
--include=GLib-2.0 \
--include=GObject-2.0 \
--libtool="$(top_builddir)/libtool" \
--library=libatspi.la \
--library=$(top_builddir)/dbind/libdbind.la \
--pkg dbus-1 \
--warn-all \
--output $@ \
$(addprefix $(srcdir)/, $(INTROSPECTION_FILES))
girdir = $(datadir)/gir-1.0
gir_DATA = Atspi-2.0.gir
%.typelib: %.gir $(INTROSPECTION_COMPILER)
$(AM_V_GEN)$(top_builddir)/libtool --mode=execute \
$(INTROSPECTION_COMPILER) \
--includedir=$(srcdir) \
--includedir=. \
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
typelibsdir = $(libdir)/girepository-1.0/
typelibs_DATA = $(gir_DATA:.gir=.typelib)
CLEANFILES = \
$(gir_DATA) \
$(typelibs_DATA)
endif
/*
* AT-SPI - Assistive Technology Service Provider Interface
* (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
*
* Copyright 2002 Ximian, Inc.
* 2002 Sun Microsystems Inc.
* Copyright 2010, 2011 Novell, Inc.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef _ATSPI_ACCESSIBLE_PRIVATE_H_
#define _ATSPI_ACCESSIBLE_PRIVATE_H_
G_BEGIN_DECLS
#include "atspi-accessible.h"
#include "atspimarshal.h"
struct _AtspiAccessiblePrivate
{
GHashTable *cache;
guint cache_ref_count;
};
GHashTable *
_atspi_accessible_ref_cache (AtspiAccessible *accessible);
void
_atspi_accessible_unref_cache (AtspiAccessible *accessible);
G_END_DECLS
#endif /* _ATSPI_ACCESSIBLE_H_ */
This diff is collapsed.
......@@ -8,24 +8,26 @@
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 0211