Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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. | |||||
2008-09-07 | stats: don't pass "fd" to printStats() | Max Kellermann | 1 | -10/+17 | |
Pass the client struct instead of the raw file descriptor. | |||||
2008-09-06 | include cleanup | Max Kellermann | 1 | -0/+1 | |
As usual, include only headers which are really needed. | |||||
2008-08-26 | renamed player.c to player_control.c | Max Kellermann | 1 | -1/+1 | |
Give player.c a better name, meaning that the code is used to control the player thread. | |||||
2008-04-12 | clean up CPP includes | Max Kellermann | 1 | -1/+0 | |
Try to only include headers which are really needed. We should particularly check all "headers including other headers". The long-term goal is to have a manageable, small API for plugins (decoders, output) without so many mpd internals cluttering the namespace. git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f |