- 09 Jul, 2012 1 commit
-
-
Max Kellermann authored
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
-
- 06 Mar, 2012 1 commit
-
-
Max Kellermann authored
Make sure we get a UTF-8 encoded string.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 10 Jan, 2011 1 commit
-
-
Max Kellermann authored
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.
-
- 25 Jul, 2010 2 commits
-
-
Max Kellermann authored
Don't use a large stack buffer.
-
Max Kellermann authored
MPD doesn't have child processes anymore, and thus we're not expecting to receive SIGCHLD very often. Since hard disk access isn't interrupted by signals anyway, we don't need those excessive checks.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 10 Nov, 2009 1 commit
-
-
Max Kellermann authored
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h.
-
- 13 Oct, 2009 1 commit
-
-
Max Kellermann authored
-
- 08 Oct, 2009 1 commit
-
-
Max Kellermann authored
If nothing has changed since the last save, don't save the state file. Saving will spin up the hard drive, which is undesirable on hosts where MPD is idling in background.
-
- 06 Oct, 2009 1 commit
-
-
Max Kellermann authored
-
- 15 Jul, 2009 3 commits
-
-
Max Kellermann authored
Parse the state file line by line, let each subsystem probe a line. Only the playlist_state code gets the FILE pointer to read the following lines.
-
Max Kellermann authored
Return early from the destructor function when there is no configured state file. Don't check the timer, don't call g_free(NULL).
-
Max Kellermann authored
Print "Loading" instead of "Saving" in state_file_read(). Added debug message to state_file_write().
-
- 14 Jul, 2009 2 commits
-
-
Max Kellermann authored
Those were only wrappers for playlist_state_{save,restore}(). Since sf_callbacks has been removed, we can call the latter functions directly.
-
Max Kellermann authored
There are very few callbacks, and they are not meant to be pluggable. Let's eliminate the array and call the load/save functions manually.
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
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.
-
- 10 Feb, 2009 1 commit
-
-
Max Kellermann authored
-
- 18 Jan, 2009 3 commits
-
-
Max Kellermann authored
The state_file library should manage its own regular saves.
-
Max Kellermann authored
The constructor/destructor interface should hide the functions read_state_file() and write_state_file().
-
Max Kellermann authored
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions, types, variables.
-
- 03 Jan, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
If the state file cannot be read, for whatever reason, don't abort MPD. The state file isn't _that_ important.
-
- 29 Dec, 2008 1 commit
-
-
Max Kellermann authored
-
- 02 Dec, 2008 2 commits
-
-
Thomas Jansen authored
We want to remove gcc.h eventually. This takes care of all the G_GNUC_NORETURN macros.
-
Thomas Jansen authored
We want to remove gcc.h eventually. This takes care of all the G_LIKELY/G_UNLIKELY macros.
-
- 08 Oct, 2008 1 commit
-
-
Max Kellermann authored
When there are standardized headers, use these instead of the bloated os_compat.h.
-
- 23 Sep, 2008 1 commit
-
-
Eric Wong authored
open(2) should only interrupt on "slow" devices, afaik... [mk: still using fopen()]
-
- 26 Mar, 2008 1 commit
-
-
Max Kellermann authored
Use unsigned variables for storing the count of items or for iteration variables. Since there can never be a negative number of items, it makes sense to use an unsigned data type here. This change is safe because the unsigned values are only used for adddressing array items. git-svn-id: https://svn.musicpd.org/mpd/trunk@7214 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 03 Jan, 2008 1 commit
-
-
Eric Wong authored
This will make refactoring features easier, especially now that pthreads support and larger refactorings are on the horizon. Hopefully, this will make porting to other platforms (even non-UNIX-like ones for masochists) easier, too. os_compat.h will house all the #includes for system headers considered to be the "core" of MPD. Headers for optional features will be left to individual source files. git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 27 Aug, 2007 1 commit
-
-
Eric Wong authored
This attribute was set in log.c, but not exported to other modules in log.h This allows us to remove some unneccessary variable initializations that were added in r6277. I did audioOutput_shout.c a bit differently, to avoid some jumps. before: $ size src/mpd text data bss dec hex filename 225546 4040 14600 244186 3b9da src/mpd after: $ size src/mpd text data bss dec hex filename 224698 4040 14600 243338 3b68a src/mpd git-svn-id: https://svn.musicpd.org/mpd/trunk@6821 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 26 May, 2007 2 commits
-
-
J. Alexander Treuman authored
uninitialized variables and non-returning functions that return. Let's tell it to stfu. git-svn-id: https://svn.musicpd.org/mpd/trunk@6277 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
J. Alexander Treuman authored
call to FATAL(). git-svn-id: https://svn.musicpd.org/mpd/trunk@6276 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 05 Apr, 2007 1 commit
-
-
Avuton Olrich authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@5834 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 14 Jan, 2007 1 commit
-
-
Eric Wong authored
Some compilers and linkers aren't smart enough to optimize this, as global variables are implictly initialized to zero. As a result, binaries are a bit smaller as more goes in the .bss and less in the text section. git-svn-id: https://svn.musicpd.org/mpd/trunk@5254 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 30 Jul, 2006 2 commits
-
-
Eric Wong authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@4495 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
Eric Wong authored
This way it's easier to manage and extend. git-svn-id: https://svn.musicpd.org/mpd/trunk@4494 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-