aboutsummaryrefslogtreecommitdiffstats
path: root/src/CommandLine.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-28decoder_api: convert to C++Max Kellermann1-1/+1
2013-04-17encoder_list: convert to C++Max Kellermann1-1/+1
2013-04-17output: convert to C++Max Kellermann1-1/+1
2013-01-30decoder_list: convert to C++Max Kellermann1-1/+1
2013-01-29ConfigFile, CommandLine: use the Path classMax Kellermann1-46/+42
2013-01-27playlist/*: convert to C++Max Kellermann1-1/+1
2013-01-26playlist/*: convert to C++Max Kellermann1-1/+1
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann1-1/+1
2013-01-24archive/*: convert to C++Max Kellermann1-2/+2
2013-01-17path: convert to C++Max Kellermann1-1/+0
2013-01-10input_stream: convert to C++ (internally)Max Kellermann1-1/+1
2013-01-09sig_handlers, log: convert to C++Max Kellermann1-5/+1
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-1/+1
2013-01-04output_*: convert to C++Max Kellermann1-1/+1
2013-01-03ls.h: rename to ls.hxxMax Kellermann1-1/+1
2013-01-03cmdline: convert to C++Max Kellermann1-4/+8
2012-06-12cmdline: consistent plugin listingsMax Kellermann1-28/+34
2012-06-12cmdline: dump list of input pluginsMax Kellermann1-0/+7
2012-06-12cmdline: dump list of playlist pluginsMax Kellermann1-0/+7
2012-06-12cmdline: change --version formattingMax Kellermann1-5/+5
2012-06-12decoder_list: add _for_each() macrosMax Kellermann1-2/+1
2012-06-12cmdline: don't initalise archive plugins for --versionMax Kellermann1-1/+0
Dump all archive plugins, even those that fail to initialise.
2012-06-12cmdline: update copyright yearMax Kellermann1-1/+1
2012-06-12Work around incorrect g_file_test() behavior on Win32Denis Krjuchkov1-0/+1
g_file_test is redefined to be g_file_test_utf8 and thus can't handle non-ASCII characters. This fix adds simple wrapper (taken from glib) that fixes encoding and calls g_file_test_utf8. All required inclusions of glib_compat.h are added as well.
2011-12-12cmdline: Remove duplicate g_free()sAvuton Olrich1-2/+0
2011-01-29copyright year 2011Max Kellermann1-2/+2
2010-09-25eliminate g_error() usageThomas Jansen1-4/+3
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.
2010-05-20cmdline: Add default config paths for win32.Avuton Olrich1-1/+38
2009-12-31Update copyright notices.Avuton Olrich1-2/+2
2009-11-17cmdline: print out list of encoders in --version infoViliam Mateicka1-0/+11
2009-11-12include config.h in all sourcesMax Kellermann1-1/+1
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.
2009-11-07decoder_list: moved print_all_decoders() to cmdline.cMax Kellermann1-2/+21
Export the decoder_plugins array. The function decoder_plugin_print_all_decoders() it is UI specific and should not live in this backend library.
2009-10-13configure.ac: require GLib 2.16Max Kellermann1-4/+0
Accidently, MPD has been using several GLib 2.16 functions for a while, and nobody noticed yet. To simplify the code base, let's bump the minimum GLib version for MPD to 2.16. That version is old enough, and it's reasonable to expect users to have it.
2009-09-24conf: handle fatal errors with GErrorMax Kellermann1-7/+6
Don't call g_error(), which will abort the process and dump core. This patch does not affect all the config_get_X() functions. These need some more refactoring.
2009-09-24cmdline: handle fatal errors with GErrorMax Kellermann1-3/+19
Don't call g_error(), which will abort the process and dump core.
2009-09-20cmdline: removed options --create-db and --no-create-dbMax Kellermann1-14/+1
Both options are deprecated, and should not be used anymore. Many users get confused by their presence.
2009-07-28cmdline: obey $(sysconfdir) for default mpd.conf locationMax Kellermann1-1/+0
Instead of hard-coding the path "/etc/mpd.conf", use the configured $(sysconfdir) path. This can be set with: ./configure --sysconfdir=/etc Note that this changes the default path to "/usr/local/etc/mpd.conf", given the default prefix "/usr/local". This is actually more correct than the old default.
2009-07-22cmdline: renamed options.stderr to options.log_stderrEugeny N Dzhurinsky1-3/+3
On FreeBSD, "stderr" is a macro, and using this name for a struct member breaks the build. [mk: renamed _stderr to log_stderr]
2009-07-15cmdline: renamed option "--stdout" to "--stderr"Max Kellermann1-0/+2
Since version 0.14, MPD has been logging to standard error instead of standard output. The option name should reflect that. The old option continues to work, we will remove it in a future MPD release.
2009-07-15cmdline: no CamelCaseMax Kellermann1-6/+6
Renamed type, variables and functions.
2009-03-21move printAllOutputPluginTypes to output_list.cViliam Mateicka1-2/+2
2009-03-13all: Update copyright header.Avuton Olrich1-4/+5
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-03cmdline: Print available protocols when --version is run.Avuton Olrich1-0/+5
2009-03-01use GLIB_CHECK_VERSION()Max Kellermann1-2/+2
Use GLIB_CHECK_VERSION() instead of manually checking GLIB_MAJOR_VERSION, ...
2009-02-28decoder_list: print decoder list with suffixesMax Kellermann1-5/+1
Print the list of suffixes supported by each decoder, instead of prining a list of all suffixes of all decoders with duplicates.
2009-02-25cmdline: Alphabetical help order like other GNU projects.Avuton Olrich1-6/+6
2009-02-25cmdline: Add --no-config to explicitly set daemon default options.Avuton Olrich1-2/+7
2009-02-19log: added log_early_init() for early debug messagesMax Kellermann1-0/+5
2009-01-17conf: no CamelCase, part IMax Kellermann1-4/+4
Renamed functions, types, variables.
2009-01-14allow ~/.mpd/mpd.conf as alternate config fileJérôme Quelin1-8/+15
mpd uses some additional files to work, such as pid_file, state_file, db_file, etc. when running mpd as non-root user, it is often that those files end in ~/.mpd in that case, we end up with 2 entries in a user's home, .mpdconf and .mpd - which clutters homedirs. this patch allows ~/.mpd/mpd.conf as an alternative to ~/.mpdconf, allowing for a cleaner homedir