| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Properly remove event listeners from the list when they are deregistered.
Fixes a crash that can happen when orca exits. Similar issue to
https://gitlab.gnome.org/GNOME/at-spi2-core/issues/22
|
|
|
|
| |
Fixes #22.
|
|
|
|
|
|
|
|
|
| |
The generated enum type files can be included in source packages meant
for debugging, and thus need to be reproducible. Replace the absolute
include of the header with the basename. This is sufficient because the
target include files are always in the include path anyway.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
At spi bus mutual exclusion fixes
Closes #18
See merge request GNOME/at-spi2-core!24
|
| |
| |
| |
| |
| |
| |
| | |
In case bus name acquisition fails, we should not have started a bus
after all, but worse, we should not have written its address in the
AT_SPI_BUS X root property. We should thus do them only after having
acquired the bus name.
|
| |
| |
| |
| |
| | |
In case where bus name acquisition fails, we shall not drop the
AT_SPI_BUS X property of the existing daemon.
|
| |
| |
| |
| |
| |
| | |
This may happen if dbus-daemon spawns but fails to start. In that case after
terminating it we should forget its pid, to avoid trying to terminate it
again at the end of main().
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
'master'
meson: Only link to libdl when it is necessary
See merge request GNOME/at-spi2-core!23
|
|/
|
|
|
|
|
|
|
|
|
| |
Recent FreeBSD releases add libdl to the system, which just includes a
few stub functions already included in libc. Since it only exists for
GNU/Linux compatibility and does nothing useful, it may be better to
avoid linking to it when dlopen can be found in libc.
This commit modifies the libdl check to mimic the code in the removed
configure.ac file, so libdl is only used when dlopen can't be found
without using -ldl.
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/at-spi2-core/issues/1
|
|
|
|
|
|
|
| |
Clarify that the length parameter expects a count of bytes. This matches
the corresponding atk documentation.
Fixes https://gitlab.gnome.org/GNOME/at-spi2-core/issues/9
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/at-spi2-core/issues/2
|
| |
|
|\
| |
| |
| |
| | |
misc: Do not warn on no reply from pending get_items call
See merge request GNOME/at-spi2-core!22
|
| |
| |
| |
| |
| |
| |
| |
| | |
Like DBUS_ERROR_SERVICE_UNKNOWN, this may happen in normal use.
For instance, during the at-spi2-atk testsuite, in the
atk_test_accessible_set_cache_mask testcase, we may make the application
quit before get_items gets to be replied to.
|
|\ \
| |/
|/|
| |
| | |
Fix warnings while running the "memory" test
See merge request GNOME/at-spi2-core!21
|
| |
| |
| |
| |
| |
| | |
In case atspi_application_dispose was previously called for an
application, the app field of its root will be NULL. In such a case
cleanup should not try to dispose it.
|
|/
|
|
|
|
|
|
| |
The children array may contain NULL entries, when the children have not
all been inspected yet for instance. In such a case
atspi_accessible_dispose's call to g_ptr_array_free would warn out when
freeing array items with g_object_unref. We should thus check for NULL
to avoid such warning.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mutter now has a remote desktop interface with methods to synthesize keyboard
and mouse events. This functionality has not been available through AT-SPI on
wayland since it uses X-specific functions.
Also add atspi_set_reference_window.
Probably a work in progress; doesn't appear to be behaving as intended.
Also requires that introspection be enabled on gnome-shell. Ie,
gsettings set org.gnome.shell introspect true
https://bugzilla.gnome.org/show_bug.cgi?id=709999
https://gitlab.gnome.org/GNOME/at-spi2-core/issues/14
|
|\
| |
| |
| |
| | |
Add missing atspi_application_get_type prototype
See merge request GNOME/at-spi2-core!20
|
|/
|
|
| |
This is needed to be able to use macros such as ATSPI_APPLICATION().
|
|\
| |
| |
| |
| | |
Fix typos
See merge request GNOME/at-spi2-core!19
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
Normally, this is set to the application / root accessible from the
application corresponding to the event source, but screen-reader-generated
events are actually generated by the screen reader. The sender is set based on
the application that sent the signal over dbus, so, in the latter case, this
will be set to the screen reader.
Per discussion at https://gitlab.gnome.org/GNOME/orca/issues/36
|
|
|
|
|
|
|
| |
Remove atspi_text_notify_reading_position, and instead add a region_changed
signal. Also make the dbus API more like the API used for other events.
Per discussion at https://gitlab.gnome.org/GNOME/orca/issues/36
|
| |
|
|\
| |
| |
| |
| | |
Add /usr/lib/dbus-daemon to list of paths to check in
See merge request GNOME/at-spi2-core!17
|
|/
|
|
|
|
| |
This is where Solaris installs it.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
| |
|
|\
| |
| |
| |
| | |
Add ATSPI_ROLE_CONTENT_DELETION and ATSPI_ROLE_CONTENT_INSERTION
See merge request GNOME/at-spi2-core!16
|
|/
|
|
| |
https://gitlab.gnome.org/GNOME/at-spi2-core/issues/4
|
|\
| |
| |
| |
| | |
deviceeventcontroller-x11.c: Also try mod4 and mod5 to generate keysyms
See merge request GNOME/at-spi2-core!15
|
| |
| |
| |
| |
| | |
Notably azerty's altgr modifier is mapped on mod5, so we need to try it too
to get more than half of the non-alphabetic characters.
|
| | |
|
|\ \
| |/
|/|
| |
| | |
Resort to WAYLAND_DISPLAY checks to avoid X11 connections
See merge request GNOME/at-spi2-core!14
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Same reasoning applies (Opening and closing X11 displays may be from
ineffective to harmful there), but the XDG_SESSION_TYPE check breaks
for startx.
Explicitly check that DISPLAY is present but WAYLAND_DISPLAY is not,
in order to avoid this behavior.
Pointed out at
https://gitlab.gnome.org/GNOME/at-spi2-core/merge_requests/12
|
| | |
|
|\ \
| |/
|/|
| |
| | |
atspi_text_notify_reading_position: let caller specify end offset
See merge request GNOME/at-spi2-core!13
|
| |
| |
| |
| | |
since the screen reader may not be speaking until the end of the text.
|
|\ \
| |/
|/|
| |
| | |
Check for X11 session before using X11 paths
See merge request GNOME/at-spi2-core!12
|
| |
| |
| |
| |
| |
| | |
A wayland compositor would be impervious to the actions performed
there, so it only could only partially work with other X11 clients.
That doesn't seem like the intended effect.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change/add checks around the AT_SPI_BUS root window property handling so it
is only done if the session is a real X11 one.
These checks used to work on wayland sessions, as there still is a X server
to poke, it's strange to use as a side channel but that's about it. However
in the future mutter will start Xwayland on demand, the DISPLAY environment
variable will definitely exist so checking for it is definitely not
sufficient, and opening the display will unintendedly spawn Xwayland.
It is debatable that this should happen in Wayland sessions at all, so let
the org.a11y.Bus fallbacks take over.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The already_running() check first gets the AT_SPI_BUS root window property,
then tries to open it to check if it exists. For it to exist though there
must be another at-spi-bus-launcher process around with the org.a11y.Bus
name.
It seems we can just defer the uniqueness check to g_bus_own_name(), as
we will get the "name lost" callback right after failing to acquire the
unique name. Doing it this way works for both x11 and non-x11, and avoids
assumptions on what the current windowing actually is.
|
|
|
|
|
|
|
|
|
| |
Allow a client to receive notifications through AtspiEventListeners. This
involves special casing, since the event is generated by the screen reader,
not the GUI, and is, thus, handled by a different DBus interface, but, from
the client's perspective, it looks like a normal AT-SPI event.
Also renamed atspi_text_notify_read_position to
atspi_text_notify_reading_position and fixed a few warnings.
|