- 10 Nov, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2016 1 commit
-
-
Max Kellermann authored
Replaces the old BoundMethod template.
-
- 05 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 26 Apr, 2014 1 commit
-
-
Max Kellermann authored
Turns out the lock-free code using atomics was not thread-safe. The given callback could be invoked by GLib before the source_id attribute was assigned. This commit changes the DeferredMonitor class to use a Mutex to block the event loop until source_id is assigned. This bug does not exist in the 0.19 branch because it does not use the GLib main loop anymore.
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 04 Jan, 2014 2 commits
-
-
Max Kellermann authored
Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation.
-
Max Kellermann authored
Instead of creating a new eventfd for each DeferredMonitor instance, reuse EventLoop's eventfd, and add a std::list to EventLoop that manages the list of pending DeferredMonitors. This std::list is protected by the same mutex as the "calls" list. The bottom line is: reduced overhead because the per-instance eventfd was eliminated, slightly added overhead due to Mutex usage (but negligible), and we're thread-safe now. This subsystem is now good enough to replace EventLoop::AddCall().
-
- 27 Nov, 2013 1 commit
-
-
Denis Krjuchkov authored
This change adds two configuration options: --with-eventloop=[glib|internal|auto] --with-pollmethod=[epoll|auto] First allows switching between GLib event loop and internal one. Second chooses backend to use for internal event loop. Conditional compilation symbols are changed accordingly. Additional helper macro MPD_OPTIONAL_FUNC_NODEF is added as well.
-
- 10 Aug, 2013 1 commit
-
-
Max Kellermann authored
Implement an event loop without GLib.
-
- 07 Aug, 2013 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Apr, 2013 1 commit
-
-
Max Kellermann authored
No caller needs this. Fixes use-after-free after returning from Client::OnTimeout().
-
- 14 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 14 Feb, 2012 1 commit
-
-
Max Kellermann authored
-
- 12 Feb, 2012 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Parses CUE data from the "CUESHEET" tag. Needs further integration in the update thread.
-
- 11 Feb, 2012 2 commits
-
-
Max Kellermann authored
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 18 Nov, 2010 1 commit
-
-
Max Kellermann authored
Based on the APE reader.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 24 Sep, 2009 1 commit
-
-
Max Kellermann authored
Don't call g_error(), which will abort the process and dump core.
-
- 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.
-
- 24 Feb, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions.
-
- 30 Dec, 2008 2 commits
-
-
Max Kellermann authored
This is a rather huge patch, which unfortunately cannot be splitted. Instead of using our custom ioops.h library, convert everything to use the GLib main loop.
-
Max Kellermann authored
Merged freeAllListenSockets() into closeAllListenSockets(), because this is its only caller.
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
"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.
-
- 08 Oct, 2008 1 commit
-
-
Max Kellermann authored
When there are standardized headers, use these instead of the bloated os_compat.h.
-
- 12 Apr, 2008 1 commit
-
-
Max Kellermann authored
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
-
- 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
-
- 01 Jun, 2007 1 commit
-
-
J. Alexander Treuman authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@6445 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
-
- 11 Jan, 2007 1 commit
-
-
Jim Ramsay authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@5238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 20 Aug, 2006 1 commit
-
-
Avuton Olrich authored
Add -Wmissing-prototypes if compiling with gcc Static where possible git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-