Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-10 | Stats: lazy initialization | Max Kellermann | 1 | -7/+34 | |
Ask the DatabasePlugin for stats when the first client requests them, not at startup. | |||||
2013-11-24 | Stats: use monotonic clock instead of GTimer | Max Kellermann | 1 | -12/+7 | |
Reduce GLib usage. | |||||
2013-11-24 | Stats: use GetProcessTimes() on WIN32 to determine MPD uptime | Max Kellermann | 1 | -2/+14 | |
Don't use GTimer if the operating system is able to tell us the uptime. | |||||
2013-11-22 | DatabasePlugin: add method GetUpdateStamp() | Max Kellermann | 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. | |||||
2013-11-22 | Stats: print db statistics only if db is available | Max Kellermann | 1 | -6/+19 | |
Fixes crash on "stats" in certain configurations. | |||||
2013-11-22 | Stats: print more unsigned integers | Max Kellermann | 1 | -6/+6 | |
2013-11-22 | Stats: auto-reload statistics with proxy plugin | Max Kellermann | 1 | -0/+7 | |
2013-11-22 | Stats: use struct DatabaseStats | Max Kellermann | 1 | -10/+4 | |
Eliminate redundant declaration. | |||||
2013-11-22 | Stats: move the GTimer variable out of struct stats | Max Kellermann | 1 | -3/+4 | |
2013-11-22 | Stats: don't export the global variable "stats" | Max Kellermann | 1 | -1/+1 | |
Unused outside of Stats.cxx. | |||||
2013-11-22 | Stats: print db_update as unsigned integer | Max Kellermann | 1 | -2/+2 | |
2013-10-19 | ClientInternal: move class Client to Client.hxx | Max Kellermann | 1 | -1/+1 | |
Publish the Client API, preparing to move more code into the Client class. | |||||
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -2/+2 | |
2013-10-02 | Stats: don't include glib.h in header | Max Kellermann | 1 | -0/+2 | |
Use forward declaration instead. | |||||
2013-10-02 | Stats: rename stats.h to Stats.hxx | Max Kellermann | 1 | -5/+1 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -1/+2 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -4/+4 | |
Replaces GLib's GError. | |||||
2013-01-20 | PlayerControl: move functions into the class | Max Kellermann | 1 | -1/+1 | |
2013-01-04 | player_control.h: convert header to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | Client: rename the struct client to class Client | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | client: convert to C++ | Max Kellermann | 1 | -3/+2 | |
2013-01-03 | database.h: rename to DatabaseSimple.hxx | Max Kellermann | 1 | -1/+1 | |
2012-08-29 | Stats: stats_print() returns void | Max Kellermann | 1 | -3/+2 | |
2012-08-15 | DatabasePlugin: add method GetStats() | Max Kellermann | 1 | -63/+18 | |
Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs. | |||||
2012-08-08 | DatabaseGlue: add function db_is_simple() | Max Kellermann | 1 | -4/+8 | |
Preparing for non-"simple" database plugins. | |||||
2012-08-07 | db_selection: rename to DatabaseSelection | Max Kellermann | 1 | -3/+2 | |
2012-08-07 | Database{Plugin,Visitor}: pass references | Max Kellermann | 1 | -4/+4 | |
2012-08-02 | stats: convert to C++ | Max Kellermann | 1 | -26/+31 | |
2011-11-27 | stats: explicitly cast "time_t" to "long" | Max Kellermann | 1 | -1/+1 | |
Fixes warning on mingw32. | |||||
2011-09-13 | database: don't allow uri==NULL | Max Kellermann | 1 | -1/+1 | |
Add nonnull attributes and fix all callers. | |||||
2011-09-13 | database: add struct db_visitor | Max Kellermann | 1 | -4/+10 | |
Use this struct for db_walk(). | |||||
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/+2 | |
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-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-10-13 | tag: removed the "_ITEM_" suffix from the enum names | Max Kellermann | 1 | -2/+2 | |
2009-10-08 | player_control: no CamelCase | Max Kellermann | 1 | -1/+1 | |
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -7/+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-27 | tag: no CamelCase | Max Kellermann | 1 | -1/+1 | |
Renamed numOfItems to num_items. | |||||
2009-01-18 | stats: use GTimer instead of time(NULL) | Max Kellermann | 1 | -2/+7 | |
time(NULL) shows the wrong results when the machine's clock is changed. | |||||
2009-01-18 | stats: use one db_walk() to obtain stats | Max Kellermann | 1 | -30/+44 | |
Don't use dbUtils.h functions. This reduces 4 full database walks to just one. | |||||
2009-01-18 | stats: added num_artists, num_albums | Max Kellermann | 1 | -8/+10 | |
Don't recalculate the number of artists and albums each time a client requests statistics. Calculate that once in stats_update(). | |||||
2009-01-18 | stats: no CamelCase | Max Kellermann | 1 | -11/+11 | |
Renamed functions and types. | |||||
2009-01-04 | stats: added stats_update() | Max Kellermann | 1 | -0/+7 | |
2008-12-29 | removed os_compat.h | Max Kellermann | 1 | -2/+0 | |
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable. | |||||
2008-10-08 | database: renamed functions, "db_" prefix and no CamelCase | Max Kellermann | 1 | -2/+2 | |
Yet another CamelCase removal patch. | |||||
2008-10-08 | directory: moved code to database.c | Max Kellermann | 1 | -1/+1 | |
Taming the directory.c monster, part II: move the database management stuff to database. directory.c should only contain code which works on directory objects. | |||||
2008-10-08 | song: converted typedef Song to struct song | Max Kellermann | 1 | -1/+3 | |
Again, a data type which can be forward-declared. | |||||
2008-09-08 | use strset.h instead of tagTracker.h | Max Kellermann | 1 | -3/+41 | |
With a large music database, the linear string collection in tagTracker.c becomes very slow. We implemented that in a quick'n'dirty fashion when we removed tree.c, and now we rewrite it using the fast hashed string set. |