| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
DBUS_ERROR_UNKNOWN_OBJECT, etc. have been defined for more than a decade now.
No need to check for them.
|
| |
|
|
|
|
|
|
|
|
|
| |
The iterator for retrieving all properties doesn't handle a getter failing,
which happens if the AtkObject doesn't implement the atk interface
corresponding to the dbus interface. This leads to the application aborting
on account of a malformed DBusMessage.
Helps #20
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/at-spi2-atk/issues/2
|
| |
|
|
|
|
|
| |
The leak fix in commit c45b5870 removed a return in an error path. Let's
put it back.
|
| |
|
|
|
|
|
|
| |
We need to free the pointer array here, along with the path.
https://bugzilla.gnome.org/show_bug.cgi?id=689887
|
|
|
|
|
|
|
|
| |
Frees all allocated memory.
g_ptr_array_free(..., FALSE) was probably being called to avoid a destructor being called on the elements of the array that point to static data. But that method returns an array that must still be g_free()d.
https://bugzilla.gnome.org/show_bug.cgi?id=688363
|
|
|
|
|
|
| |
Unused variables and discarding 'const' qualifier.
https://bugzilla.gnome.org/show_bug.cgi?id=678045
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the past, a gtk button's do_action handler added an idle to invoke
the button and then returned, but now the idle has been removed, and the
do_action call activates the button directly, meaning that, if the
button invokes a dialogue, then atk_action_do_action will not return
until the dialog closes. So, to be safe, we need to send a reply before
invoking atk. This means that atk's return value gets ignored, although
it was somewhat meaningless in gtk's case anyhow. This required that
droute's behavior be changed so that, if a handler does not return a
message, droute will now assume that the handler already sent a reply,
rather than synthesizing a default empty reply. Thus, handlers are now
required to return a value DBusMessage.
Perhaps the API should really be asynchronous, with a callback to be
invoked when the action finishes.
|
|
|
|
|
|
|
| |
If gnome_accessibility_module_shutdown was called and followed by a call
to gnome_accessibility_module_init, then things would go awry because of
various resources not being freed. Fixed several of these issues,
although some issues might remain.
|
|
|
|
|
|
| |
If a new version of libdbus is available, use DBUS_ERROR_UNKNOWN_OBJECT,
DBUS_ERROR_UNKNOWN_PROPERTY, and DBUS_ERROR_PROPERTY_READ_ONLY when
appropriate.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=637398
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the introspection XML in at-spi2-core.
|
| |
|
|
|
|
| |
Add an application reference to the event structure.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This involved:
Separating the 'cache' and registration
of accessible objects. This is because
the leased objects need to be available over
D-Bus but are not cached.
Separating the cache updating from the 'events'.
This is because we should still recieve updates on
leased accessibles, but they are not cached.
|
|
|
|
| |
a shared directory under 'at-spi2'.
|
|
|
|
| |
Previously these were shared libraries in at-spi2-core.
|
|
|
|
|
| |
Re-organize the build configuration to use an external registryd,
dbind and droute libraries from at-spi2-core.
|
|
|
|
|
|
|
|
|
| |
* droute/droute.c
Despite what people may believe all D-Bus
method calls must have a reply, whether the
client side is waiting for one or not.
This fixes droute so that it always sends
a reply to method calls.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* atk-adaptor/accessible-marshaller.c: Return SPI_DBUS_PATH_NULL
for a NULL object.
Fix call to dbus_message_iter_append_basic.
* atk-adaptor/accessible-register.c:
* atk-adaptor/editabletext-adaptor.c: Have copyText return a value.
* atk-adaptor/editabletext-adaptor.c: Fix uninitialized variable in
getAttributeValue.
Fix parameter type in getBoundedRanges, and open the appropriate
container when returning a value.
* value-adaptor.c: Return variants to conform with Properties iface.
* droute/droute.c: Throw exception if get fails.
When setting a property, correctly initialize the iter before reading.
* registry/deviceeventcontroller.c: deviceListener ->
deviceEventListener.
* spi-common/spi-dbus.h: Set SPI_DBUS_PATH_NULL to
/org/freedesktop/atspi/accessible/null.
|
|
|
|
|
|
| |
Fix some warnings when -Wall used.
These included non-void functions with
no return values that caused make distcheck to fail.
|
|
|
|
|
|
|
|
|
|
|
| |
* droute/droute.c
droute/droute.h
Add two new convinience functions for out
of memory and bad arguments D-Bus errors.
* pyatspi/__init__.py
Add a top level module 'Accessibility' to remain
compatible with the CORBA pyatspi.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mega commit that changes droute, adding
an interface for creating a droute context
and registering single, or multiple objects
with the droute context. Modifies atk-adaptor
and registryd to use the new interface.
* droute/
New interface
* atk-adaptor
Use new droute interface
* registryd
Use new droute interface
* pyatspi
Bug fix, methods were using "null" interface.
|
|
|
|
|
|
|
|
|
| |
* dbind/*
droute/*
Complete refactoring droute to add api for
creating single objects and object classes.
Minor refactor of dbind, adding interface
for marshalling signals.
|
|
Re-organize the directories. The main purpose of
this change is to remove CORBA code and references
that are no longer used.
* atk-adaptor/
Code here used to live in libspi and atk-bridge.
* droute/
The droute module has been moved from libspi to
its own directory.
* spi-common
Code and definitions common to registryd and
the atk-adaptor. Mostly moved from libspi/dbus.c
and accessible.h.
* cspi/
Removed for the moment. Will have to be
mostly rewritten for D-Bus.
|