Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |