Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-02-10 | net/SocketAddress: light wrapper for struct sockaddr | Max Kellermann | 1 | -2/+2 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-06-11 | ClientList: use class boost::intrusive::list | Max Kellermann | 1 | -1/+11 | |
Eliminate extra allocations for the std::list node instances. | |||||
2014-02-07 | Mapper: move map_song_detach() to db/DatabaseSong.cxx | Max Kellermann | 1 | -0/+5 | |
Use Storage::MapUTF8() internally, don't use global variables. | |||||
2014-02-04 | Instance: add Database attribute | Max Kellermann | 1 | -0/+6 | |
Move from db/DatabaseGlue.cxx, eliminating global variable. | |||||
2014-02-02 | ClientFile: move client_allow_file() into the Client class | Max Kellermann | 1 | -0/+13 | |
2014-01-24 | Client*: move to client/ | Max Kellermann | 1 | -0/+0 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-06 | event/SocketMonitor: don't close the socket automatically | Max Kellermann | 1 | -0/+5 | |
Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often. | |||||
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -1/+1 | |
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 1 | -1/+1 | |
2013-10-28 | player_control: rename to PlayerControl | Max Kellermann | 1 | -1/+1 | |
2013-10-20 | *Commands: move to src/command/ | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | Client: move message functions into the class | Max Kellermann | 1 | -5/+24 | |
2013-10-19 | Client: move trivial functions into the Client class | Max Kellermann | 1 | -25/+24 | |
2013-10-19 | ClientInternal: move class Client to Client.hxx | Max Kellermann | 1 | -1/+89 | |
Publish the Client API, preparing to move more code into the Client class. | |||||
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -7/+9 | |
2013-10-15 | gcc.h: rename to Compiler.h | Max Kellermann | 1 | -1/+1 | |
2013-10-15 | gcc.h: major update | Max Kellermann | 1 | -1/+1 | |
Copy the according file from another project (i.e. XCSoar). This will allow copying more code more easily. | |||||
2013-01-16 | ClientList: convert to a class | Max Kellermann | 1 | -1/+0 | |
2013-01-15 | Client: rebase on the new BufferedSocket class | Max Kellermann | 1 | -2/+2 | |
2013-01-15 | Client: move connection functions into the class | Max Kellermann | 1 | -3/+0 | |
2013-01-07 | Client: add Partition reference attribute | Max Kellermann | 1 | -3/+2 | |
playlist and player_control are deprecated. | |||||
2013-01-04 | Client: add "playlist" attribute | Max Kellermann | 1 | -2/+4 | |
Reduce access to the global variable "g_playlist". | |||||
2013-01-03 | Client: rename the struct client to class Client | Max Kellermann | 1 | -9/+9 | |
2013-01-03 | client: convert to C++ | Max Kellermann | 1 | -0/+0 | |
2012-08-02 | gcc.h: re-add gcc_const and gcc_pure | Max Kellermann | 1 | -6/+9 | |
Remove GLib dependency from some headers. | |||||
2012-02-13 | client: add function client_is_local() | Max Kellermann | 1 | -0/+11 | |
2012-02-13 | client: add "pure" attributes | Max Kellermann | 1 | -0/+3 | |
2011-01-29 | client_idle: add header client_idle.h | Max Kellermann | 1 | -13/+0 | |
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/+3 | |
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. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-03-30 | client: client_write() does not necessary for export. | Avuton Olrich | 1 | -5/+0 | |
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 | -1/+1 | |
Removed the sockaddr_to_tmp_string() hack, use the new function sockaddr_to_string() instead. | |||||
2008-12-31 | client: run client_manager_expire() in an idle event | Max Kellermann | 1 | -1/+0 | |
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-30 | main: use the GLib main loop | Max Kellermann | 1 | -1/+0 | |
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. | |||||
2008-12-29 | client: include winsock headers on WIN32 | Max Kellermann | 1 | -1/+1 | |
On Windows, socket declarations reside in winsock.h and ws2tcpip.h. The POSIX headers sys/socket.h etc. are not available. | |||||
2008-12-02 | replaced mpd_printf etc by G_GNUC_PRINTF | Thomas Jansen | 1 | -3/+2 | |
We want to remove gcc.h eventually. This takes care of all the G_GNUC_PRINTF macros. | |||||
2008-11-22 | command: allow clients to subscribe to specific idle events | Marc Pavot | 1 | -1/+1 | |
The client may provide the names of idle events as arguments to the "idle" command to inform MPD that it is only interested in these events. | |||||
2008-10-31 | client: use bool | Max Kellermann | 1 | -1/+1 | |
Return bool instead of int. | |||||
2008-10-31 | added prefix to header macros | Max Kellermann | 1 | -2/+2 | |
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD. | |||||
2008-10-17 | client: converted permissions to unsigned | Max Kellermann | 1 | -2/+2 | |
client->permission is a bit set, and should be unsigned. | |||||
2008-10-15 | listen, client: enable SO_PASSCRED, get client's uid | Max Kellermann | 1 | -1/+7 | |
Enable authentication over unix sockets. Store the client's uid in the client struct. | |||||
2008-10-14 | command: added command "idle" | Max Kellermann | 1 | -0/+14 | |
"idle" waits until something noteworthy happens on the server, e.g. song change, playlist modified, database updated. This allows clients to keep up to date without polling. | |||||
2008-10-08 | don't include os_compat.h | Max Kellermann | 1 | -1/+4 | |
When there are standardized headers, use these instead of the bloated os_compat.h. | |||||
2008-09-07 | client: added client_[gs]et_permission() | Max Kellermann | 1 | -0/+4 | |
The code in command.c shouldn't mess with a pointer to client->permission. Provide an API for accessing this value. | |||||
2008-09-07 | removed fdprintf() and client_print() | Max Kellermann | 1 | -2/+0 | |
All callers of fdprintf() have been converted to client_printf() or fprintf(); it is time to remove this clumsy hack now. We can also remove client_print() which took a file descriptor as parameter. | |||||
2008-09-07 | client: removed client_get_fd() | Max Kellermann | 1 | -7/+0 | |
Now that we have removed all invocations of client_get_fd(), we can safely remove this transitional function. All access to the file descriptor is now hidden behind the interface declared in client.h. |