- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 23 Sep, 2018 2 commits
-
-
Max Kellermann authored
Keep MPD's footprint small until playback is requested.
-
Max Kellermann authored
-
- 21 Sep, 2018 1 commit
-
-
Max Kellermann authored
-
- 04 Jun, 2017 1 commit
-
-
Max Kellermann authored
-
- 25 Feb, 2017 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 17 Feb, 2017 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
With this commit, multi-player support becomes possible... it's just not wired to the frontend yet. This is based on massive amounts of refactoring work I did over the past 9 years.
-
Max Kellermann authored
-
Max Kellermann authored
The first step to multi-player support. Not much, just a dummy command.
-
- 03 Jan, 2017 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.
-