- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 15 Dec, 2013 1 commit
-
-
Max Kellermann authored
Prepare for GLib removal.
-
- 28 Nov, 2013 1 commit
-
-
Max Kellermann authored
-
- 04 Nov, 2013 1 commit
-
-
Max Kellermann authored
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
-
- 02 Oct, 2013 1 commit
-
-
Max Kellermann authored
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
-
- 05 Sep, 2013 2 commits
-
-
Max Kellermann authored
Migrate the remaining callers to FatalError().
-
Max Kellermann authored
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
-
- 04 Sep, 2013 1 commit
-
-
Max Kellermann authored
Replaces GLib's GError.
-
- 07 Aug, 2013 3 commits
-
-
Max Kellermann authored
Migrate all callers to use Path directly, instead of doing the conversion in each caller.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Aug, 2013 1 commit
-
-
Max Kellermann authored
-
- 30 Jan, 2013 1 commit
-
-
Max Kellermann authored
Look up top-level config options by enum (= integer), not by name string.
-
- 10 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 09 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 14 Aug, 2012 1 commit
-
-
Max Kellermann authored
Don't free the string right after calling log_init_file(). Add a new function log_deinit() that frees the string on shutdown. This fixes cycling the log file after SIGHUP (Mantis ticket 0003524).
-
- 28 Nov, 2011 1 commit
-
-
Max Kellermann authored
-
- 09 Sep, 2011 3 commits
-
-
Max Kellermann authored
config_get_path() was somewhat flawed, because it pretended to be a function, when it really had a side effect. The second flaw was that it did not return the parser error, instead it aborted the whole process, which is bad style. The new function returns a duplicated (modified) string that must be freed by the caller, and returns a GError on failure.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 25 Sep, 2010 1 commit
-
-
Thomas Jansen authored
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
-
- 08 May, 2010 1 commit
-
-
Avuton Olrich authored
-
- 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
Add a "mode" argument to open_cloexec() instead.
-
- 07 Nov, 2009 2 commits
-
-
Max Kellermann authored
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.
-
Max Kellermann authored
Don't hold a file descriptor on root's tty when syslog is used for logging.
-
- 05 Jul, 2009 1 commit
-
-
Max Kellermann authored
Don't free an internal configuration value in log_init(). Call config_get_path() instead of manually calling parsePath().
-
- 10 Apr, 2009 1 commit
-
-
Max Kellermann authored
-
- 15 Mar, 2009 1 commit
-
-
Max Kellermann authored
Use GLib the logging functions g_debug(), g_error() instead.
-
- 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.
-
- 19 Feb, 2009 2 commits
-
-
Max Kellermann authored
Define the GLib logging domain in the following libraries: conf, daemon, event_pipe, log.
-
Max Kellermann authored
-
- 25 Jan, 2009 1 commit
-
-
Max Kellermann authored
All config_get_block_*() functions should accept constant config_param pointers.
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions, types, variables.
-
- 15 Jan, 2009 1 commit
-
-
Max Kellermann authored
gcc doesn't know that g_error() never returns. Work around the gcc warning.
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 29 Dec, 2008 2 commits
-
-
Max Kellermann authored
Removed GLib logging wrappers which are not used anymore.
-
Max Kellermann authored
If a log message does not include a newline character, append it.
-