aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientNew.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-17Thread/Thread: replacement library for GThreadMax Kellermann1-0/+2
2013-10-02Log: new logging library APIMax Kellermann1-10/+7
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-2/+4
Replaces GLib's GError.
2013-09-04system/resolver: convert to C++Max Kellermann1-3/+1
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-2/+2
2013-04-17Main: move global variables to struct InstanceMax Kellermann1-4/+5
More preparations for multi-player support.
2013-01-30output/httpd: use the BufferedSocket class for HttpdClientMax Kellermann1-1/+0
2013-01-30event/BufferedSocket: move output buffer to FullyBufferedSocketMax Kellermann1-1/+1
BufferedSocket has just an input buffer, and FullyBufferedSocket adds the output buffer.
2013-01-16ClientList: convert to a classMax Kellermann1-3/+4
2013-01-16Client: use TimeoutMonitor to track connection timeoutMax Kellermann1-6/+2
Don't use a global loop over the whole client list.
2013-01-15Client: rebase on the new BufferedSocket classMax Kellermann1-25/+6
2013-01-15Client: move output buffer code to new class PeakBufferMax Kellermann1-12/+1
2013-01-15Client: move connection functions into the classMax Kellermann1-6/+5
2013-01-15fifo_buffer: move to util/Max Kellermann1-1/+1
2013-01-15fifo_buffer: add extern "C"Max Kellermann1-1/+1
2013-01-09ClientList: add header ClientList.hxxMax Kellermann1-0/+1
2013-01-07Client: add Partition reference attributeMax Kellermann1-6/+6
playlist and player_control are deprecated.
2013-01-04Client: add "playlist" attributeMax Kellermann1-4/+5
Reduce access to the global variable "g_playlist".
2013-01-04Client: initialize num_subscriptionsMax Kellermann1-1/+2
2013-01-04Client: move code to class CommandListBuilderMax Kellermann1-4/+0
2013-01-03ClientNew: initialise the "idle" attributesMax Kellermann1-1/+2
Make valgrind happy.
2013-01-03Client: add constructor and destructorMax Kellermann1-52/+51
Move code from client_new() and client_close().
2013-01-03Client: use std::deque for messagesMax Kellermann1-3/+0
2013-01-03ClientInternal: use std::set for subscriptionsMax Kellermann1-1/+0
2013-01-03ClientNew: allocate/dispose client objects with new/deleteMax Kellermann1-3/+2
Prepare for adding non-trivial attributes.
2013-01-03Client: rename the struct client to class ClientMax Kellermann1-3/+3
2013-01-03client: convert to C++Max Kellermann1-3/+1
2013-01-03permission: convert to C++Max Kellermann1-1/+1
2013-01-03client_new: convert to C++Max Kellermann1-3/+7
2011-09-20socket_util: move sockaddr_to_string() to resolver.cMax Kellermann1-1/+1
2011-09-20fd_util: add function close_socket()Max Kellermann1-2/+3
Wrap close(), use closesocket() on WIN32/WinSock.
2011-09-20glib_socket.h: wrap g_io_channel_*_new() calls portablyMax Kellermann1-5/+2
The server_socket library (used by the httpd output plugin) didn't check for WIN32, that's fixed now.
2011-01-29protocol: support client-to-client communicationMax Kellermann1-0/+4
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-10player_control: removed the global variable "pc"Max Kellermann1-1/+5
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-05-08client_new: Send greeting using send() rather than write().Avuton Olrich1-1/+7
This is portable for win32 and fixes client logins there.
2010-01-20client: optionally use libwrapDavide Camurri1-0/+30
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-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-07-28client: splitted client.c into several piecesMax Kellermann1-0/+123
The soure file client.c has nearly 1000 lines, time for splitting it into smaller pieces to improve readability.