summaryrefslogtreecommitdiff
path: root/src/Listen.cxx
AgeCommit message (Collapse)Author
2018-10-31Listen: use fs/XDG.hxxMax Kellermann
This keeps one central place for the XDG switch. Specifically, this disables the XDG listener on Apple, where XDG is not supported.
2018-10-30Listen: listen on $XDG_RUNTIME_DIR/mpd/socket by defaultMax Kellermann
2018-10-30Listen: eliminate listen_add_config_param()Max Kellermann
2018-10-30event/ServerSocket: pass UniqueSocketDescriptor to AddFD()Max Kellermann
2018-08-07Added a function for generic address parsing1848
Changed listen_add_config_param() to use generic address parsing
2018-07-18config/Data: use std::forward_list to manage params and blocksMax Kellermann
2018-07-17Listen: use struct ConfigDataMax Kellermann
2018-07-16config/Config*: rename files, drop "Config" prefixMax Kellermann
2018-07-15Listen: simplify code flow in listen_global_init()Max Kellermann
2018-01-29Listen: move ClientListener pointer to struct PartitionMax Kellermann
2018-01-29Listen: move class ClientListener to src/client/Listener.hxxMax Kellermann
2017-12-19Main, ...: catch any exception, not just std::runtime_errorMax Kellermann
2017-11-10event/ServerSocket: pass UniqueSocketDescriptor by valueMax Kellermann
Passing it by value is actually smaller (32 bit) than the rvalue reference (64 bit pointer), and it ensures that the object is consumed after the call returns, no matter how the methods are implemented.
2017-08-10net/ServerSocket: pass UniqueSocketDescriptor&& to OnAccept()Max Kellermann
2017-08-10event/SocketMonitor: use class SocketDescriptorMax Kellermann
2017-01-03update copyright yearMax Kellermann
2016-10-28event/ServerSocket: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-28config/Param: add method GetPath()Max Kellermann
Move code from config_parse_path().
2016-10-28config/Param: use CamelCaseMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-02-10net/SocketAddress: light wrapper for struct sockaddrMax Kellermann
2015-02-10Listen: add "override"Max Kellermann
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann
2015-01-21ConfigData: move struct config_param to Param.hxxMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-02-20ConfigGlobal: eliminate function config_get_next_param()Max Kellermann
2014-02-19Listen: eliminate local variableMax Kellermann
2014-02-19Listen: reduce overhead for builds without systemdMax Kellermann
2014-02-19Listen: add Partition referenceMax Kellermann
2014-01-29Listen: pass EventLoop to listen_global_init()Max Kellermann
Don't use global variables.
2014-01-24Client*: move to client/Max Kellermann
2014-01-24Config*: move to config/Max Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-10-19*: use nullptr instead of NULLMax Kellermann
2013-10-19event/ServerSocket: pass AllocatedPath to AddPath()Max Kellermann
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
2013-10-15Client, ...: remove unnecessary glib.h includeMax Kellermann
2013-10-15ConfigData: use std::string for config_param::valueMax Kellermann
2013-10-02Log: new logging library APIMax Kellermann
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-10-02Listen, ...: add missing includesMax Kellermann
2013-09-12Listen: Allow tilde paths for socket.Maarten de Vries
2013-09-05conf.h: remove obsolete headerMax Kellermann
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann
Replaces GLib's GError.
2013-04-17Main: move global variables to struct InstanceMax Kellermann
More preparations for multi-player support.
2013-01-30ServerSocket: replace callback with virtual methodMax Kellermann
2013-01-30ServerSocket: expose the classMax Kellermann
Eliminate the C wrappers.
2013-01-30ServerSocket: move to libevent.aMax Kellermann
2013-01-15ServerSocket: use the SocketMonitor classMax Kellermann
2013-01-15server_socket: convert to C++Max Kellermann
2013-01-15Client: rebase on the new BufferedSocket classMax Kellermann