- 15 Sep, 2011 9 commits
-
-
Max Kellermann authored
This adds some overheads for indirect calls to the I/O thread, but reduces the amount of global locks. Next step will be switching to per-request locks.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Move the assignment to _request_done(), right before the GCond is signalled. This might fix spurious wakeups.
-
Max Kellermann authored
-
Max Kellermann authored
This is a trivial function. Merge some duplicate code, e.g. the g_cond_broadcast() call.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 14 Sep, 2011 4 commits
-
-
Max Kellermann authored
Update the struct attributes, important for facades like the "rewind" plugin. To replace buffer().
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This is not necessary since all relevant input plugins have been moved to the I/O thread, and there is no remaining useful buffer() implementation. This also fixes a busy loop when playing radio.
-
- 13 Sep, 2011 14 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Needed for the I/O thread.
-
Max Kellermann authored
Use it in handle_lsinfo(), and eliminate some duplicate code.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Add nonnull attributes and fix all callers.
-
Max Kellermann authored
-
Max Kellermann authored
This is specific to gcc, not to mpd.
-
Max Kellermann authored
New db_get_song() implementation.
-
Max Kellermann authored
-
Max Kellermann authored
Let the caller decide if the current directory should be visited.
-
Max Kellermann authored
-
Max Kellermann authored
.. to recurse. A visitor may not have one, but still be interested in a recursive search.
-
Max Kellermann authored
Use this struct for db_walk().
-
- 11 Sep, 2011 3 commits
-
-
Max Kellermann authored
Improve error reporting and handling. command.c gets the new function print_error(), which sends a GError to the client.
-
Max Kellermann authored
Reduce header dependencies.
-
Max Kellermann authored
Only used there.
-
- 10 Sep, 2011 4 commits
-
-
Max Kellermann authored
First draft, not really pluggable currently - hard-coded to use the "simple" plugin, and calls several of its internal functions. The API is very simple currently, all searches are still performed over the root "directory" object. Future changes to the API will move those search implementations into the plugin, to allow more efficient implementations, or implementations that don't have the whole tree in memory all the time.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
For TAG_NUM_OF_ITEM_TYPES.
-
- 09 Sep, 2011 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
No writers.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Better error messages.
-