Age | Commit message (Collapse) | Author | Files | Lines |
|
Dispatch until we've got nothing left to dispatch, since apparently
dispatching will only ever fire a single message ...
|
|
Use uint32s instead of int32s where practical, and add an API version
request. Also, try to return all devices added, not just the first,
and box device arguments.
|
|
Break up D-Bus into two components: a D-Bus core that can be used by any
part of the server (for the moment, just the D-Bus hotplug API, and the
forthcoming HAL hotplug API), and the old D-Bus hotplug API.
|
|
|
|
Update dbus-api documentation.
|
|
Update dbus-api documentation, plug memory leak on dbus reply error.
|
|
Return device ID where available.
Add listDevices call, which does what it says on the box.
|
|
Fix memory leaks that could occur along the error path.
|
|
Add DIDR, which asks the DDX to remove a device, analogous to
NewInputDeviceRequest. Only implemented for XFree86 at the moment.
|
|
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560>
Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
|
|
Demote failure to connect from ErrorF to DebugF.
|
|
|
|
|
|
Add support for reconnecting to the bus when it restarts.
|
|
|
|
Move error messages before we free the error structure, and make them all
non-fatal.
|
|
|
|
|
|
|
|
Properly initialise the vtable, so we don't end up with an unregister_function
pointing to god knows where.
|
|
Just unref the connection instead of explicitly closing it (thanks, Rob
McQueen).
Add a commented-out unregister_object_path call: unfortunately, when we
call it, libdbus segfaults. But if we don't unregister the path, we
can't register it again. So regenerations are broken either way, but a
little less violently like this.
|
|
Add replies, which use standard X error values, to the two currently-supported
input configuration requests.
Document the D-BUS API we use.
Make sure we free everything when we encounter an error.
Add a _source option to all incoming requests, noting that it came from a
client.
Reject all requests to add a device where an option name contains an
underscore.
|
|
Accidentally built with --disable-config, didn't notice that the previous
commit to clean up the debugging broke things horribly.
|
|
|
|
Bomb with FatalError when we can't acquire the bus and name.
Clean up a bunch of debugging ErrorFs to be hidden behind #ifdef DEBUG.
|
|
Fix a small race whereby you could remove a device while events from it
were still in the queue, by calling ProcessInputEvents immediately before
RemoveDevice, to (hopefully) flush the event queue.
|
|
Also move LookupDeviceIntRec into the DIX, and add InputOption type, and
NewInputDeviceRequest prototype (DIX requests DDX to add a device). Does not
link without an implemented NIDR.
|