| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
If this is not done, then the device might be finalized from under us during
a callback, leading to a crash.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
My last commit broke the build where dbus-daemon was set to be used by default.
Added a use_systemd option that can be set to false to disable systemd. This
cannot be used in combination with dbus-broker and results in dbus-broker
support being disabled. If this option is left set to true, then dbus-broker
support will be enabled if dbus-broker-launch is found on the system, although
dbus-daemon will still be used when available unless default_bus is set to
dbus-broker.
Fixes #116
|
|
|
|
|
|
|
| |
!134 broke the fallback to use dbus-daemon when dbus-broker was
configured at build time but is not installed on the system.
Fixes #115
|
| |
|
|
|
|
|
|
|
|
|
| |
Add a stamp to AtspiAccessiblePrivate for use when iterating through a
tree, and don't touch accessibles that have already been touched. This should
further protect against buggy or malicious applications causing infinite
recursion.
Fixes #113
|
|\
| |
| |
| |
| |
| |
| | |
Don't crash on an empty, but non-null cached children array
Closes #114
See merge request GNOME/at-spi2-core!139
|
|/
|
|
|
|
| |
for the cached children array
Fixes #114.
|
|\
| |
| |
| |
| |
| |
| | |
Re-do the activation of the helper test-application for at-spi2-atk's tests
Closes #89
See merge request GNOME/at-spi2-core!138
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
With the changes to use an AtspiEventListener in tests/at-spi2-atk,
at some point atspi-misc.c tries to connect to a socket from one of
the test-application processes that is already dead.
With -Ddisable_p2p=true, the tests work fine.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This should be more robust than just waiting and sleeping.
* test-application now claims a different DBus name for each run, to disambiguate.
* atk_bridge_adaptor_cleanup() - release the dbus name if there was one
|
| |
| |
| |
| | |
Keep it in the TestAppFixture at all times.
|
| |
| |
| |
| |
| |
| |
| | |
test program aborts
This is super sketchy; moreover, we can rely on the test runner to
kill child processes.
|
| | |
|
| |
| |
| |
| | |
All the tests use the TestAppFixture instead.
|
| |
| |
| |
| | |
The one test that used that value can now use fixture->child_pid instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For the at-spi2-atk tests, we'll move to having a test fixture that
consists of a launched test app with its claimed dbus name. The
teardown step will terminate the test app.
In this commit, terminate_app() is renamed to fixture_teardown(). It
does not use its arguments yet, because it only uses global variables
from atk_test_util.c, but it will soon.
|
| |
| |
| |
| |
| |
| |
| |
| | |
We pass argc/argv on to atk_bridge_adaptor_init() so it can pick up
the --atspi-dbus-name option. We will use this from the calling
program to wait reliably for the test app to be ready.
The name org.a11y.Atspi2Atk.TestApplication is just arbitrary.
|
| | |
|
| |
| |
| |
| |
| |
| | |
logs easier to read
... without downloading the artifacts for the error logs.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This can happen if a buggy application returns an accessible with itself as
its parent. This can cause problems later if something recurses through
an object's descendants (atspi_accessible_clear_cache for instance).
Helps #113
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This matches the behavior of atspi_accessible_get_role_name. We already hav
translations from atk, so we can use those.
Also, move the table for role name translations into atspi, since it seems
that atk is increasingly becoming a legacy tool.
Add a note to the xml indicating that it is optional to implement
GetRoleName and GetLocalizedRoleName.
Fixes #110
|
|/
|
|
| |
This will allow the locale directory to be available outside of atk.
|
|\
| |
| |
| |
| | |
Use const attribute name input in atspi_*_get*_attribute_value()
See merge request GNOME/at-spi2-core!135
|
|/
|
|
|
| |
There is no point in having them mutable, and makes the API look more
awkward and harder to use than it actually is.
|
|\
| |
| |
| |
| | |
meson: Avoid requiring libsystemd when configured to use dbus-daemon
See merge request GNOME/at-spi2-core!134
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Checks for dbus-daemon and dbus-broker only when they are chosen
with default_bus. This avoids requiring the systemd libraries if
one wants the built at-spi2-core to use dbus-daemon, but dbus-worker
is somehow available in the $PATH. A typical scenario is cross
compilation, where the build host may have a dbus-broker program
available, but the target system may not have it (or may not have
nor want to use the systemd libraries).
|
|\ \
| |/
|/|
| |
| |
| |
| | |
'michaelweghorn/tablecell_xml_add_get_column_row_headercells_methods' into 'main'
TableCell.xml: Add Get{Column,Row}HeaderCells methods
See merge request GNOME/at-spi2-core!133
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are in active use but were not contained in the XML
description yet.
I ran into this because the Orca screen reader switched to using
these methods in Orca commit ac2c4470ff4401b53b6de48e12ea5a0a6347897c
("Prefer table cell interface for getting row and column headers") [1],
but Qt does not implement them yet for the TableCell interface, since
the commit that added support for the AT-SPI TableCell interface [2] only
implemented the methods documented in the XML description.
[1] https://gitlab.gnome.org/GNOME/orca/-/commit/ac2c4470ff4401b53b6de48e12ea5a0a6347897c
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=5145d3899d338fbb82a2d314c58eb60a4a5205f8
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
GetIndexInParent might return -1 for a top-level object or where an
index is not available. For instance, atk defaults to returning -1 if the
object's class does not provide a get_index_in_parent function. This puts
the xml documentation in line with the atk and libatspi documentation.
|
|\
| |
| |
| |
| | |
meson: some Windows fixes for atk only builds
See merge request GNOME/at-spi2-core!132
|
| |
| |
| |
| |
| |
| | |
atk doesn't need it.
This allows building atk alone on Windows
|
|/
|
|
| |
this made meson fail on Windows
|
| |
|
|\
| |
| |
| |
| | |
Add atk_only option to enable building a stub atk library
See merge request GNOME/at-spi2-core!131
|
|/
|
|
|
| |
When built with atk_only, a stub library will be produced that can be used to
satisfy package dependencies but provides no functionality.
|
|\
| |
| |
| |
| | |
typos--
See merge request GNOME/at-spi2-core!130
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Update INSTALL
See merge request GNOME/at-spi2-core!128
|