Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-12-05 | fs/Traits.cxx: don't return drive path without trailing separator | Denis Krjuchkov | 1 | -0/+4 | |
2013-12-05 | fs/Traits: implement GetBase/GetParent/Build using templates | Denis Krjuchkov | 1 | -22/+63 | |
2013-12-05 | fs/Traits.cxx: don't return empty string if parent dir is root | Denis Krjuchkov | 1 | -3/+5 | |
2013-12-05 | fs/Traits: improve compatibility between PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 1 | -4/+4 | |
2013-12-05 | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 1 | -10/+10 | |
2013-12-03 | fs/Traits.hxx: implement BuildFS() method | Denis Krjuchkov | 1 | -0/+25 | |
2013-10-21 | GetBaseUTF8 | Max Kellermann | 1 | -14/+16 | |
2013-10-20 | *Commands: move to src/command/ | Max Kellermann | 1 | -0/+0 | |
2013-01-14 | Client*: include check.h / config.h | Max Kellermann | 1 | -0/+1 | |
2013-01-04 | CommandListBuilder: use std::list instead of GSList | Max Kellermann | 1 | -7/+2 | |
2013-01-04 | CommandListBuilder: rename attributes | Max Kellermann | 1 | -7/+7 | |
2013-01-04 | Client: move code to class CommandListBuilder | Max Kellermann | 1 | -13/+19 | |
2013-01-03 | Client: rename the struct client to class Client | Max Kellermann | 1 | -4/+4 | |
2013-01-03 | client: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -0/+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-07-28 | client: splitted client.c into several pieces | Max Kellermann | 1 | -875/+0 | |
The soure file client.c has nearly 1000 lines, time for splitting it into smaller pieces to improve readability. | |||||
2009-07-28 | client: moved struct client to client_internal.h | Max Kellermann | 1 | -44/+1 | |
Prepare splitting client.c into several sources. | |||||
2009-07-23 | client: moved some code to client_list_X() | Max Kellermann | 1 | -13/+51 | |
Make the client list management a separate sub-library. | |||||
2009-07-23 | client: don't include socket headers | Max Kellermann | 1 | -10/+0 | |
The client code uses portable GLib I/O functions and doesn't need the OS specific socket headers. | |||||
2009-07-19 | client: return "enum command_return" instead of "int" | Max Kellermann | 1 | -16/+24 | |
Several functions work with the wrong return type, this patch fixes them. | |||||
2009-06-04 | client: check "expired" flag again in client_write_output() | Max Kellermann | 1 | -0/+3 | |
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. | |||||
2009-06-04 | client: added assertions on channel!=NULL | Max Kellermann | 1 | -0/+10 | |
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. | |||||
2009-04-25 | client: use GTimer to track timeouts | Max Kellermann | 1 | -7/+14 | |
2009-04-17 | client: free the fifo buffer | Max Kellermann | 1 | -0/+2 | |
This patch fixes a memory leak: the fifo_buffer object was not freed when the client connection was closed. | |||||
2009-04-01 | client, event_pipe: explicitly ignore the write() result | Max Kellermann | 1 | -1/+1 | |
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. | |||||
2009-03-30 | client: group static function declarations together. | Avuton Olrich | 1 | -6/+5 | |
2009-03-30 | client: client_write() does not necessary for export. | Avuton Olrich | 1 | -1/+4 | |
2009-03-14 | client: use the new fifo_buffer library | Max Kellermann | 1 | -48/+41 | |
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-02-28 | client: use sockaddr_to_string() | Max Kellermann | 1 | -45/+7 | |
Removed the sockaddr_to_tmp_string() hack, use the new function sockaddr_to_string() instead. | |||||
2009-02-27 | client: removed duplicate "client" string from log | Max Kellermann | 1 | -14/+14 | |
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. | |||||
2009-01-30 | client: check for G_IO_ERR and G_IO_HUP | Max Kellermann | 1 | -8/+19 | |
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. | |||||
2009-01-25 | client: use the GIOChannel for I/O | Max Kellermann | 1 | -40/+110 | |
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. | |||||
2009-01-25 | client: use GLib's win32 IO channel on WIN32 | Max Kellermann | 1 | -0/+5 | |
Use g_io_channel_win32_new_socket() instead of g_io_channel_unix_new() on WIN32. | |||||
2009-01-25 | use g_free() instead of free() | Max Kellermann | 1 | -3/+3 | |
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. | |||||
2009-01-21 | use config_get_positive() instead of manual parsing | Max Kellermann | 1 | -54/+17 | |
Simplify some code by using config_get_positive(), instead of doing manual parsing and validation each time. | |||||
2009-01-17 | conf: no CamelCase, part I | Max Kellermann | 1 | -5/+5 | |
Renamed functions, types, variables. | |||||
2009-01-10 | client: remove "expire" event on exit | Max Kellermann | 1 | -0/+3 | |
2009-01-08 | added missing explicit config.h includes | Max Kellermann | 1 | -2/+1 | |
2009-01-07 | client: use GList instead of dlist.h | Max Kellermann | 1 | -37/+47 | |
Get rid of the non-portable Linux list library, part I. | |||||
2009-01-03 | client: use GLib instead of utils.h | Max Kellermann | 1 | -7/+8 | |
2009-01-03 | client: convert GREETING to a static string | Max Kellermann | 1 | -2/+2 | |
The length of GREETING is known at compile time, don't use strlen(). | |||||
2009-01-01 | main_notify: renamed source to event_pipe.c | Max Kellermann | 1 | -1/+1 | |
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. | |||||
2008-12-31 | client: run client_manager_expire() in an idle event | Max Kellermann | 1 | -1/+22 | |
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. | |||||
2008-12-31 | client: remember GLib source id | Max Kellermann | 1 | -9/+14 | |
Remove the event source from the GMainLoop object in client_set_expired(). | |||||
2008-12-30 | main: export the main_loop variable | Max Kellermann | 1 | -1/+2 | |
Other libraries may need to access the main_loop reference, to add or remove events, or to call g_main_loop_quit(). | |||||
2008-12-30 | main: use the GLib main loop | Max Kellermann | 1 | -68/+71 | |
This is a rather huge patch, which unfortunately cannot be splitted. Instead of using our custom ioops.h library, convert everything to use the GLib main loop. |