summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)AuthorFilesLines
2007-08-01Hotplug: D-Bus: Dispatch harderDaniel Stone1-2/+6
Dispatch until we've got nothing left to dispatch, since apparently dispatching will only ever fire a single message ...
2007-08-01Hotplug: D-Bus: API version 2Daniel Stone2-18/+53
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.
2007-08-01Hotplug: Separate D-Bus into core and hotplug API componentsDaniel Stone5-480/+719
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.
2007-07-26libconfig shouldn't be an installed library.Adam Jackson1-1/+1
2007-04-19config: Return errors as negative numbers, device ids as positive numbers.Peter Hutterer2-11/+12
Update dbus-api documentation.
2007-04-19Change dbus 'listDevices' call to not require an argument.Peter Hutterer2-13/+24
Update dbus-api documentation, plug memory leak on dbus reply error.
2007-04-11Config: Extend D-BUS APIRemigiusz Marcinkiewicz1-15/+71
Return device ID where available. Add listDevices call, which does what it says on the box.
2007-04-10Config: Fix memory leaksMagnus Vigerlöf1-15/+12
Fix memory leaks that could occur along the error path.
2007-04-10Input: Add DeleteInputDeviceRequestMagnus Vigerlöf1-1/+1
Add DIDR, which asks the DDX to remove a device, analogous to NewInputDeviceRequest. Only implemented for XFree86 at the moment.
2007-04-09Bug #10560: Code-Cleanup: function declarations () -> (void)Stefan Huehner1-2/+2
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560> Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
2007-02-17config: error message cleanupDaniel Stone1-3/+3
Demote failure to connect from ErrorF to DebugF.
2006-12-19Include sys/select.h to get FD_ISSET.Eric Anholt1-0/+1
2006-12-06whitespace policeDaniel Stone1-1/+1
2006-12-06config: bus reconnect supportDaniel Stone1-37/+118
Add support for reconnecting to the bus when it restarts.
2006-12-06config: move to block/wakeup handlerDaniel Stone1-47/+65
2006-11-08config: error messages non-fatal, and before we free themDaniel Stone1-10/+12
Move error messages before we free the error structure, and make them all non-fatal.
2006-11-07A couple more cases of error message before freeing strings.Eric Anholt1-2/+2
2006-11-07Report the error before freeing the error strings.Eric Anholt1-1/+1
2006-10-20config/dbus: always unref the connection, not closeDaniel Stone1-4/+4
2006-10-20config/dbus: properly initialise vtableDaniel Stone1-5/+1
Properly initialise the vtable, so we don't end up with an unregister_function pointing to god knows where.
2006-10-15config: unref connection, don't close itDaniel Stone1-1/+5
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.
2006-10-15config: add replies and dbus api documentationDaniel Stone2-113/+214
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.
2006-10-08config: fix compilationDaniel Stone1-2/+2
Accidentally built with --disable-config, didn't notice that the previous commit to clean up the debugging broke things horribly.
2006-10-08config: remove excessive debuggingDaniel Stone1-32/+18
2006-08-24config: clean up debugging messages, make failure to acquire name fatalDaniel Stone1-12/+16
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.
2006-08-07config client: fix minor race with event queueDaniel Stone1-0/+4
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.
2006-07-21add basic D-BUS configuration mechanismDaniel Stone3-0/+312
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.