Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-09-12 | Listen: Allow tilde paths for socket. | Maarten de Vries | 1 | -2/+4 | |
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+3 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -18/+12 | |
Replaces GLib's GError. | |||||
2013-04-17 | Main: move global variables to struct Instance | Max Kellermann | 1 | -1/+2 | |
More preparations for multi-player support. | |||||
2013-01-30 | ServerSocket: replace callback with virtual method | Max Kellermann | 1 | -10/+14 | |
2013-01-30 | ServerSocket: expose the class | Max Kellermann | 1 | -11/+13 | |
Eliminate the C wrappers. | |||||
2013-01-30 | ServerSocket: move to libevent.a | Max Kellermann | 1 | -1/+1 | |
2013-01-15 | ServerSocket: use the SocketMonitor class | Max Kellermann | 1 | -1/+3 | |
2013-01-15 | server_socket: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-01-15 | Client: rebase on the new BufferedSocket class | Max Kellermann | 1 | -1/+1 | |
2013-01-07 | Client: add Partition reference attribute | Max Kellermann | 1 | -2/+1 | |
playlist and player_control are deprecated. | |||||
2013-01-07 | decoder_api.h, ...: add "extern C" | Max Kellermann | 1 | -1/+1 | |
2013-01-05 | Partition: new class, container for Playlist and PlayerControl | Max Kellermann | 1 | -2/+2 | |
This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process. | |||||
2013-01-04 | Client: add "playlist" attribute | Max Kellermann | 1 | -1/+3 | |
Reduce access to the global variable "g_playlist". | |||||
2013-01-03 | client: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | listen: convert to C++ | Max Kellermann | 1 | -3/+6 | |
2012-09-28 | main: use C++ compiler | Max Kellermann | 1 | -1/+1 | |
2012-07-10 | require GLib 2.16 | Max Kellermann | 1 | -1/+0 | |
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it. | |||||
2012-02-13 | listen: implement systemd socket activation | Max Kellermann | 1 | -0/+36 | |
2011-03-23 | listen: suppress "unused variable" warning | Max Kellermann | 1 | -0/+2 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | player_control: removed the global variable "pc" | Max Kellermann | 1 | -1/+2 | |
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support. | |||||
2010-10-05 | listen: move generic code to server_socket.c | Max Kellermann | 1 | -354/+20 | |
2010-09-23 | listen: fix "unused parameter" warning on WIN32 | Max Kellermann | 1 | -0/+2 | |
2010-06-30 | Make get_remote_uid() work on BSD | Andreas Vögele | 1 | -1/+7 | |
I've attached a patch that will make file URIs work on operating systems that provide the getpeereid() function call to check the user ID of the peer connected to a UNIX domain socket. | |||||
2010-06-19 | Make get_remote_uid() work on BSD | Andreas Vögele | 1 | -1/+7 | |
I've attached a patch that will make file URIs work on operating systems that provide the getpeereid() function call to check the user ID of the peer connected to a UNIX domain socket. | |||||
2010-03-21 | Define winnt or greater on mingw32 to take advantage of get*info(). | Avuton Olrich | 1 | -0/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -1/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-11-10 | configure.ac: require GLib 2.12 | Max Kellermann | 1 | -0/+1 | |
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h. | |||||
2009-11-08 | fd_util: added O_NONBLOCK functions | Max Kellermann | 1 | -4/+2 | |
Changed the wrappers for pipe(), socket(), accept(). On WIN32, this does not work for pipe(). | |||||
2009-11-07 | set the close-on-exec flag on all file descriptors | Max Kellermann | 1 | -2/+3 | |
Added the "fd_util" library, which attempts to use the new thread-safe Linux system calls pipe2(), accept4() and the options O_CLOEXEC, SOCK_CLOEXEC. Without these, it falls back to FD_CLOEXEC, which is not thread safe. This is particularly important for the "pipe" output plugin (and others, such as JACK/PulseAudio), because we were heavily leaking file descriptors to child processes. | |||||
2009-09-24 | listen: handle fatal errors with GError | Max Kellermann | 1 | -8/+15 | |
Don't call g_error(), which will abort the process and dump core. | |||||
2009-06-10 | listen: bind() failure on secondary address is non-fatal | Max Kellermann | 1 | -3/+25 | |
Several users had problems with binding MPD to "localhost". The cause was duplicate /etc/hosts entries: the resolver library returns 127.0.0.1 twice, and of course, MPD attempts to bind to "both" of them. This patch makes failures non-fatal, given that at least one address was bound successfully. This is a workaround; users should rather fix their /etc/hosts file. | |||||
2009-06-10 | listen: renamed "error" to "error_r" in listen_add_host() | Max Kellermann | 1 | -4/+4 | |
2009-06-10 | listen: print debug message before bind() | Max Kellermann | 1 | -0/+7 | |
Dump each socket address before binding to it. | |||||
2009-03-27 | Uniform getaddrinfo() on WIN32 or POSIX, because MinGW now supports it | Sean McNamara | 1 | -23/+0 | |
2009-03-14 | socket_util: added socket_bind_listen() | Max Kellermann | 1 | -41/+4 | |
Moved code from listen_add_address() (listen.c) to socket_util.c. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy. | |||||
2009-03-01 | listen: return GError on "unix path too long" | Max Kellermann | 1 | -2/+5 | |
When the unix domain socket path is too long, don't abort with g_error(). | |||||
2009-03-01 | listen: removed unused macro BINDERROR() | Max Kellermann | 1 | -6/+0 | |
2009-03-01 | listen: fix windows specific code | Max Kellermann | 1 | -5/+8 | |
During the listen_add_host() API transition, the windows code wasn't tested, and several removed arguments are still in use there. | |||||
2009-02-28 | listen: allocate sockaddr_storage struct for accept() | Max Kellermann | 1 | -4/+5 | |
The generic sockaddr struct is too small for some addresses. For accept(), we have to allocate a sockaddr_storage struct on the stack, which is large enough for all addresses. | |||||
2009-02-28 | client: use sockaddr_to_string() | Max Kellermann | 1 | -1/+1 | |
Removed the sockaddr_to_tmp_string() hack, use the new function sockaddr_to_string() instead. | |||||
2009-02-24 | listen: fix unused parameter warnings when TCP is disabled | Max Kellermann | 1 | -0/+3 | |
Work around gcc warnings by casting the parameters to void. | |||||
2009-02-24 | listen: removed is_ipv6_enabled() | Max Kellermann | 1 | -19/+14 | |
Don't explicitly check is_ipv6_enabled(), just try calling listen_add_port_ipv6(), but check its error code. | |||||
2009-02-24 | listen: splitted listen_add_port() into IPv4 and IPv6 | Max Kellermann | 1 | -20/+52 | |
Some more code simplification. | |||||
2009-02-24 | listen: don't call listen_add_config_param(NULL) | Max Kellermann | 1 | -10/+25 | |
For default bind_to_address settings, don't call listen_add_config_param(NULL), use listen_add_port() directly. | |||||
2009-02-24 | listen: moved code to listen_add_host() | Max Kellermann | 1 | -58/+78 | |
Split code from the rather large function listen_add_config_param(), part 3. | |||||
2009-02-24 | listen: moved code to listen_add_path() | Max Kellermann | 1 | -25/+38 | |
Split code from the rather large function listen_add_config_param(), part 2. |