Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PlayerThread, ...: move to src/player/ | Max Kellermann | 2015-08-15 | 1 | -1/+1 |
| | |||||
* | client/Response: new Client wrapper class for writing responses | Max Kellermann | 2015-08-12 | 1 | -23/+20 |
| | |||||
* | Copyright year 2015 | Max Kellermann | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | db/Stats: use std::chrono::duration for the total duration | Max Kellermann | 2014-08-29 | 1 | -2/+5 |
| | | | | Use milliseconds precision to reduce rounding errors. | ||||
* | DatabasePlugin: split header | Max Kellermann | 2014-02-19 | 1 | -1/+2 |
| | |||||
* | Instance: add Database attribute | Max Kellermann | 2014-02-04 | 1 | -4/+3 |
| | | | | Move from db/DatabaseGlue.cxx, eliminating global variable. | ||||
* | Stats: pass Database reference around | Max Kellermann | 2014-02-01 | 1 | -9/+8 |
| | | | | Call GetDatabase() only once. | ||||
* | Stats: remove obsolete "simple" plugin special case | Max Kellermann | 2014-02-01 | 1 | -8/+0 |
| | | | | The proxy plugin has now implemented the "idle" event listener. | ||||
* | Stats: return false if update has failed | Max Kellermann | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | db: add compile-time option to disable database | Max Kellermann | 2014-01-30 | 1 | -0/+10 |
| | |||||
* | Database*: move to db/ | Max Kellermann | 2014-01-24 | 1 | -4/+4 |
| | |||||
* | Client*: move to client/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 |
| | |||||
* | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | Stats: lazy initialization | Max Kellermann | 2014-01-10 | 1 | -7/+34 |
| | | | | | Ask the DatabasePlugin for stats when the first client requests them, not at startup. | ||||
* | Stats: use monotonic clock instead of GTimer | Max Kellermann | 2013-11-24 | 1 | -12/+7 |
| | | | | Reduce GLib usage. | ||||
* | Stats: use GetProcessTimes() on WIN32 to determine MPD uptime | Max Kellermann | 2013-11-24 | 1 | -2/+14 |
| | | | | | Don't use GTimer if the operating system is able to tell us the uptime. | ||||
* | DatabasePlugin: add method GetUpdateStamp() | Max Kellermann | 2013-11-22 | 1 | -2/+3 |
| | | | | | | Refactor SimpleDatabase::GetLastModified() to be generic for all plugins. Remove the SimpleDatabase assumption from db_stats_print(), allowing it to be implemented by all database plugins. | ||||
* | Stats: print db statistics only if db is available | Max Kellermann | 2013-11-22 | 1 | -6/+19 |
| | | | | Fixes crash on "stats" in certain configurations. | ||||
* | Stats: print more unsigned integers | Max Kellermann | 2013-11-22 | 1 | -6/+6 |
| | |||||
* | Stats: auto-reload statistics with proxy plugin | Max Kellermann | 2013-11-22 | 1 | -0/+7 |
| | |||||
* | Stats: use struct DatabaseStats | Max Kellermann | 2013-11-22 | 1 | -10/+4 |
| | | | | Eliminate redundant declaration. | ||||
* | Stats: move the GTimer variable out of struct stats | Max Kellermann | 2013-11-22 | 1 | -3/+4 |
| | |||||
* | Stats: don't export the global variable "stats" | Max Kellermann | 2013-11-22 | 1 | -1/+1 |
| | | | | Unused outside of Stats.cxx. | ||||
* | Stats: print db_update as unsigned integer | Max Kellermann | 2013-11-22 | 1 | -2/+2 |
| | |||||
* | ClientInternal: move class Client to Client.hxx | Max Kellermann | 2013-10-19 | 1 | -1/+1 |
| | | | | | Publish the Client API, preparing to move more code into the Client class. | ||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 1 | -2/+2 |
| | |||||
* | Stats: don't include glib.h in header | Max Kellermann | 2013-10-02 | 1 | -0/+2 |
| | | | | Use forward declaration instead. | ||||
* | Stats: rename stats.h to Stats.hxx | Max Kellermann | 2013-10-02 | 1 | -5/+1 |
| | |||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -1/+2 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 1 | -4/+4 |
| | | | | Replaces GLib's GError. | ||||
* | PlayerControl: move functions into the class | Max Kellermann | 2013-01-20 | 1 | -1/+1 |
| | |||||
* | player_control.h: convert header to C++ | Max Kellermann | 2013-01-04 | 1 | -1/+1 |
| | |||||
* | Client: rename the struct client to class Client | Max Kellermann | 2013-01-03 | 1 | -1/+1 |
| | |||||
* | client: convert to C++ | Max Kellermann | 2013-01-03 | 1 | -3/+2 |
| | |||||
* | database.h: rename to DatabaseSimple.hxx | Max Kellermann | 2013-01-03 | 1 | -1/+1 |
| | |||||
* | Stats: stats_print() returns void | Max Kellermann | 2012-08-29 | 1 | -3/+2 |
| | |||||
* | DatabasePlugin: add method GetStats() | Max Kellermann | 2012-08-15 | 1 | -63/+18 |
| | | | | | Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs. | ||||
* | DatabaseGlue: add function db_is_simple() | Max Kellermann | 2012-08-08 | 1 | -4/+8 |
| | | | | Preparing for non-"simple" database plugins. | ||||
* | db_selection: rename to DatabaseSelection | Max Kellermann | 2012-08-07 | 1 | -3/+2 |
| | |||||
* | Database{Plugin,Visitor}: pass references | Max Kellermann | 2012-08-07 | 1 | -4/+4 |
| | |||||
* | stats: convert to C++ | Max Kellermann | 2012-08-02 | 1 | -0/+133 |