Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-03-03 | system/FileDescriptor: new wrapper class for a file descriptor | Max Kellermann | 1 | -22/+0 | |
2015-03-03 | system/fd_util: remove unused functions | Max Kellermann | 1 | -46/+0 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-11-21 | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 1 | -1/+1 | |
Simplify the definition of many build options. | |||||
2014-03-15 | system/fd_util: export fd_set_cloexec() | Max Kellermann | 1 | -0/+3 | |
2014-03-15 | configure.ac: always define _GNU_SOURCE on Linux | Max Kellermann | 1 | -4/+0 | |
Make sure glibc gives us all features. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-11-18 | system/fd_util.h: avoid symbol conflict with statically linked libmpdclient | Denis Krjuchkov | 1 | -0/+5 | |
2013-08-07 | Makefile.am: move sources to libsystem.a | Max Kellermann | 1 | -0/+0 | |
2013-08-06 | configure.ac: add option --enable-eventfd | Max Kellermann | 1 | -1/+1 | |
Remove the runtime check for eventfd(), hard-code the feature once it's been selected at compile time. The class WakeFD is splitted into EventFD and EventPipe, using WakeFD as a macro diversion. | |||||
2013-01-10 | fd_util: support eventfd() | Max Kellermann | 1 | -0/+11 | |
2012-08-22 | fd_util: make C++ safe | Max Kellermann | 1 | -0/+8 | |
2011-09-20 | fd_util: add function close_socket() | Max Kellermann | 1 | -0/+6 | |
Wrap close(), use closesocket() on WIN32/WinSock. | |||||
2011-09-20 | fd_util: check HAVE_INOTIFY_INIT in header | Max Kellermann | 1 | -0/+4 | |
Don't provide the prototype if inotify_init() was not detected. | |||||
2011-09-20 | fd_util: include check.h, verify config.h was included | Max Kellermann | 1 | -0/+2 | |
2011-07-01 | fd_util: add function socketpair_cloexec_nonblock() | Max Kellermann | 1 | -0/+7 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-08-03 | fd_util: add function dup_cloexec() | Max Kellermann | 1 | -0/+7 | |
Unfortunately, there's no "optimized" implementation here. We can't use Linux's proprietary system call dup3(), because it would require us to specify the new descriptor. | |||||
2010-08-03 | fd_util: add function recvmsg_cloexec() | Max Kellermann | 1 | -0/+22 | |
2010-08-03 | fd_util: add function socketpair_cloexec() | Max Kellermann | 1 | -0/+11 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-10 | fd_util: removed creat_cloexec() | Max Kellermann | 1 | -8/+1 | |
Add a "mode" argument to open_cloexec() instead. | |||||
2009-11-10 | fd_util: added function pipe_cloexec() | Max Kellermann | 1 | -0/+7 | |
Same as pipe_cloexec_nonblock(), but doesn't set non-blocking mode. | |||||
2009-11-08 | fd_util: relicense under BSD 2-clause | Max Kellermann | 1 | -11/+20 | |
We'll copy this code to libmpdclient, and that's easier if its license is BSD. | |||||
2009-11-08 | fd_util: added O_NONBLOCK functions | Max Kellermann | 1 | -7/+11 | |
Changed the wrappers for pipe(), socket(), accept(). On WIN32, this does not work for pipe(). | |||||
2009-11-08 | fd_util: fixed typo in API documentation | Max Kellermann | 1 | -6/+6 | |
2009-11-08 | fd_util: added API documentation | Max Kellermann | 1 | -0/+24 | |
2009-11-08 | fd_util: unexport fd_set_cloexec() | Max Kellermann | 1 | -3/+0 | |
This function is used only internally. | |||||
2009-11-07 | inotify: set close-on-exec flag | Max Kellermann | 1 | -0/+3 | |
Added wrapper for inotify_init1() to fd_util.c. | |||||
2009-11-07 | set the close-on-exec flag on all file descriptors | Max Kellermann | 1 | -13/+25 | |
Added the "fd_util" library, which attempts to use the new thread-safe Linux system calls pipe2(), accept4() and the options O_CLOEXEC, SOCK_CLOEXEC. Without these, it falls back to FD_CLOEXEC, which is not thread safe. This is particularly important for the "pipe" output plugin (and others, such as JACK/PulseAudio), because we were heavily leaking file descriptors to child processes. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -3/+4 | |
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-03-02 | tag_id3: parse ID3 tags in RIFF/WAV files | Max Kellermann | 1 | -11/+14 | |
Added a small RIFF parser library. Look for an "id3" chunk, and let libid3tag parse it. | |||||
2009-02-04 | playlist: moved code to playlist_state.c | Max Kellermann | 1 | -6/+13 | |
Moved everything related to saving or loading the playlist from/to the state file to playlist_state.c. | |||||
2009-01-07 | pcm: pass void pointers to PCM functions | Max Kellermann | 1 | -1/+1 | |
In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer. | |||||
2009-01-07 | pcm_utils: moved code to pcm_mix.c | Max Kellermann | 1 | -10/+9 | |
Moved the software mixing code (used by crossfading) to a separate library. | |||||
2009-01-03 | pcm_utils: use the custom PRNG for volume dithering | Max Kellermann | 1 | -11/+9 | |
Don't use libc's rand() function, because it is slow. Our own trivial linear congruential generator is good enough for dithering. | |||||
2008-12-30 | listen: moved redirect_stdin() to daemon.c | Max Kellermann | 1 | -0/+6 | |
redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD. | |||||
2008-12-30 | main: moved daemonize() to daemon.c | Max Kellermann | 1 | -12/+5 | |
2008-12-27 | cmdline: use gboolean instead of int | Max Kellermann | 1 | -4/+6 | |
Prepare for the migration to the GLib option parser, which uses gboolean for flags. | |||||
2008-12-27 | moved command line parser to cmdline.c | Max Kellermann | 1 | -7/+13 | |
2008-10-31 | added prefix to header macros | Max Kellermann | 1 | -2/+2 | |
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD. | |||||
2008-10-08 | don't include os_compat.h | Max Kellermann | 1 | -1/+1 | |
When there are standardized headers, use these instead of the bloated os_compat.h. | |||||
2008-09-09 | output: moved code from audioOutput.c to output_control.c | Max Kellermann | 1 | -19/+0 | |
Similar to decoder_control.c, output_control.c will provide functions for controlling the output thread (which will be implemented later). | |||||
2008-09-09 | output: removed keepAudioOutputAlive() declaration | Max Kellermann | 1 | -1/+0 | |
This function is declared, but is neither used nor implemented. | |||||
2008-09-08 | output: static audio_output_plugin list as array | Max Kellermann | 1 | -17/+0 | |
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. | |||||
2008-09-07 | output: renamed typedef AudioOutput to struct audio_output | Max Kellermann | 1 | -21/+22 | |
Also rename AudioOutputPlugin to struct audio_output_plugin, and use forward declarations to reduce include dependencies. | |||||
2008-09-07 | output: added output_api.h | Max Kellermann | 1 | -64/+3 | |
Just like decoder_api.h, output_api.h provides the audio output API which is used by the plugins. | |||||
2008-09-07 | audio_format: converted typedef AudioFormat to struct audio_format | Max Kellermann | 1 | -4/+4 | |
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies. | |||||
2008-08-29 | tag: renamed MpdTag and MpdTagItem to struct tag, struct mpd_tag_item | Max Kellermann | 1 | -2/+3 | |
Getting rid of CamelCase; not having typedefs also allows us to forward-declare the structures. | |||||
2008-08-29 | pass constant pointers | Max Kellermann | 1 | -2/+2 | |
And again, convert arguments to const. |