- 28 Dec, 2008 4 commits
-
-
Thomas Jansen authored
-
Thomas Jansen authored
-
Thomas Jansen authored
-
Max Kellermann authored
The logging library currently has 3 constructor functions: initLog(), open_log_files(), setup_log_output(), called in this order. Merged the first two.
-
- 27 Dec, 2008 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
When there are no archive plugins, we do not need the archive API at all. Drop all its overhead.
-
- 16 Dec, 2008 1 commit
-
-
Viliam Mateicka authored
-
- 27 Nov, 2008 1 commit
-
-
Max Kellermann authored
Those two functions are called when MPD starts and exits. It allows the update library to perform global initialization and deinitialization. The implementations are currently empty.
-
- 25 Nov, 2008 1 commit
-
-
Max Kellermann authored
Make valgrind happier.
-
- 21 Nov, 2008 1 commit
-
-
Max Kellermann authored
When MPD quits in a non-clean way, the state file isn't written, and on the next start, MPD time warps to the previous clean shutdown. Save the state file every 5 minutes; this will probably be configurable at a later time. Note that we don't set a wakeup timer for that: when there is no MPD traffic, MPD won't wake up to save the state file. This minor bug is tolerated, because usually there is no change in MPD's state when the main thread is idle.
-
- 11 Nov, 2008 2 commits
-
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
No CamelCase file names.
-
- 05 Nov, 2008 6 commits
-
-
Max Kellermann authored
Using the logging library here is inappropriate.
-
Max Kellermann authored
The warning buffer is a complex piece of code for no good reason. Remove it and find a better solution, e.g. open the log file earlier.
-
Max Kellermann authored
Initialize libc's locale functions. Currently, we are only interested in LC_CTYPE (character classification), because this is what is used by GLib's g_get_charset().
-
Max Kellermann authored
Rename variables and functions.
-
Max Kellermann authored
Call g_thread_init() from main() to enable the GLib features which make it thread safe.
-
Max Kellermann authored
Removed closeAllFDs(). The caller is responsible for closing all file handles.
-
- 02 Nov, 2008 2 commits
-
-
Max Kellermann authored
Rename all functions to the new prefix.
-
Max Kellermann authored
No CamelCase in the file name. The output_buffer struct is going to be renamed to music_pipe. There are so many buffer levels in MPD, and calling this one "output buffer" is wrong, because it's not the last buffer before the music reaches the output devices.
-
- 28 Oct, 2008 1 commit
-
-
Max Kellermann authored
Remove duplicated code from MPD.
-
- 26 Oct, 2008 3 commits
-
-
Max Kellermann authored
Renamed all functions and variables.
-
Max Kellermann authored
Renamed inputStream.c and inputStream_file.c.
-
Max Kellermann authored
The hook input_stream_global_finish() deinitializes global structures of all input stream implementations.
-
- 22 Oct, 2008 1 commit
-
-
Max Kellermann authored
Eliminate CamelCase in all public and static functions.
-
- 15 Oct, 2008 1 commit
-
-
Max Kellermann authored
Moved the musicDir variable and its initialization code from path.c to mapper.c.
-
- 14 Oct, 2008 2 commits
-
-
Max Kellermann authored
"idle" waits until something noteworthy happens on the server, e.g. song change, playlist modified, database updated. This allows clients to keep up to date without polling.
-
Max Kellermann authored
This git branch has become a real MPD fork now. Time to change the package name to the code name "mpd-mk". Set the version number to "0.14~git" to mark this as a non-released version.
-
- 09 Oct, 2008 1 commit
-
-
Max Kellermann authored
If the user requests database update during startup, call directory_update_init(). This should be changed to fully asynchronous update later. For this to work, main_notify has to be initialized before db_init().
-
- 08 Oct, 2008 3 commits
-
-
Max Kellermann authored
Yet another CamelCase removal patch.
-
Max Kellermann authored
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.
-
Max Kellermann authored
The source directory.c mixes several libraries: directory object management, database management and database update, resulting in a 1000+ line monster. Move the whole database update code to update.c.
-
- 29 Sep, 2008 1 commit
-
-
Eric Wong authored
MPD has supported more audio formats than just MP3 for over five years...
-
- 24 Sep, 2008 1 commit
-
-
Max Kellermann authored
Destroy the mutex when it is not used anymore.
-
- 23 Sep, 2008 2 commits
-
-
Eric Wong authored
A lot of the preparation was needed (and done in previous months) in making update thread-safe, but here it is. This was the first thing I made work inside a thread when I started mpd-uclinux many years ago, and also the last thing I've done in mainline mpd to work inside a thread, go figure.
-
Eric Wong authored
LOC reduction and less noise makes things easier for tired old folks to follow.
-
- 08 Sep, 2008 1 commit
-
-
Max Kellermann authored
Instead of having to register each output plugin, store them statically in an array. This eliminates the need for the List library here, and saves some small allocations during startup.
-
- 29 Aug, 2008 1 commit
-
-
Max Kellermann authored
-
- 28 Aug, 2008 2 commits
-
-
Max Kellermann authored
Functions which operate on the whole client list are prefixed with "client_manager_", and functions which handle just one client just get "client_".
-
Max Kellermann authored
I don't believe "interface" is a good name for something like "connection by a client to MPD", let's call it "client". This is the first patch in the series which changes the name, beginning with the file name.
-