- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Oct, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 02 Oct, 2013 1 commit
-
-
Max Kellermann authored
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
-
- 15 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 28 Jul, 2009 2 commits
-
-
Max Kellermann authored
The soure file client.c has nearly 1000 lines, time for splitting it into smaller pieces to improve readability.
-
Max Kellermann authored
Prepare splitting client.c into several sources.
-
- 23 Jul, 2009 2 commits
-
-
Max Kellermann authored
Make the client list management a separate sub-library.
-
Max Kellermann authored
The client code uses portable GLib I/O functions and doesn't need the OS specific socket headers.
-
- 19 Jul, 2009 1 commit
-
-
Max Kellermann authored
Several functions work with the wrong return type, this patch fixes them.
-
- 04 Jun, 2009 2 commits
-
-
Max Kellermann authored
When client_defer_output() aborts the connection to the client, client_write_output() called client_write_deferred() anyway. This caused an assertion failure. Fix it by checking for the "expired" flag again after client_defer_output() returns.
-
Max Kellermann authored
I'm hunting down a bug where client->channel==NULL during I/O operations. These new assertions help avoid this kind of bug in the future.
-
- 25 Apr, 2009 1 commit
-
-
Max Kellermann authored
-
- 17 Apr, 2009 1 commit
-
-
Max Kellermann authored
This patch fixes a memory leak: the fifo_buffer object was not freed when the client connection was closed.
-
- 01 Apr, 2009 1 commit
-
-
Max Kellermann authored
On both locations, the result of write() can be ignored safely. In event_pipe_emit_fast(), that can only be "EAGAIN", which means that the pipe buffer is full - no further notification required. In client_init(), that would be a fatal connection error, which would be caught by the next event. This patch fixes gcc warnings.
-
- 30 Mar, 2009 2 commits
-
-
Avuton Olrich authored
-
Avuton Olrich authored
-
- 14 Mar, 2009 1 commit
-
-
Max Kellermann authored
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
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.
-
- 28 Feb, 2009 1 commit
-
-
Max Kellermann authored
Removed the sockaddr_to_tmp_string() hack, use the new function sockaddr_to_string() instead.
-
- 27 Feb, 2009 1 commit
-
-
Max Kellermann authored
Since we introduced a GLib logging domain, the "client" string appears twice in the log lines: client: client 0: command returned 0 Removed the second one, now it looks like this: client: [0] command returned 0 Still not quite good, but better than before.
-
- 30 Jan, 2009 1 commit
-
-
Max Kellermann authored
When we do not explicitly catch G_IO_ERR and G_IO_HUP, GLib can go into an infinite loop, because it won't deliver the socket error to MPD.
-
- 25 Jan, 2009 3 commits
-
-
Max Kellermann authored
GIOChannel is more portable than raw read()/write() calls. We're using GIOChannel anyway, because we need it for plugging the client into the GLib main loop. Configure the GIOChannel to the bare minimum: no character set, no buffering.
-
Max Kellermann authored
Use g_io_channel_win32_new_socket() instead of g_io_channel_unix_new() on WIN32.
-
Max Kellermann authored
On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete.
-
- 21 Jan, 2009 1 commit
-
-
Max Kellermann authored
Simplify some code by using config_get_positive(), instead of doing manual parsing and validation each time.
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions, types, variables.
-
- 10 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 08 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 07 Jan, 2009 1 commit
-
-
Max Kellermann authored
Get rid of the non-portable Linux list library, part I.
-
- 03 Jan, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
The length of GREETING is known at compile time, don't use strlen().
-
- 01 Jan, 2009 1 commit
-
-
Max Kellermann authored
We are going to migrate away from the concept of notifying the main thread. There should be events sent to it instead. This patch starts a series to implement that.
-
- 31 Dec, 2008 1 commit
-
-
Max Kellermann authored
With the GLib main loop, the client manager can install its own event in case a client is expired. No need for main.c to call client_manager_expire() manually.
-
- 30 Dec, 2008 1 commit
-
-
Max Kellermann authored
Remove the event source from the GMainLoop object in client_set_expired().
-