aboutsummaryrefslogtreecommitdiffstats
path: root/src/CommandLine.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-20CommandLine: show the current git tag and commit idMax Kellermann1-1/+5
2014-01-13CommandLine: print list of database pluginsMax Kellermann1-0/+8
2014-01-13copyright year 2014Max Kellermann1-2/+2
2013-12-15util/Tokenizer, ...: include cleanupMax Kellermann1-2/+0
2013-12-08CommandLine: refactor config search, use standard directory APIDenis Krjuchkov1-41/+49
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-11-24CommandLine: new command line parserDenis Krjuchkov1-81/+139
This implementation behaves mostly identical to old parser. Few observable differences: - There are no option groups (single group is used for all options) - Option --stdout is hidden (it has been obsolete for a long time) - MPD executable name (mpd) is hardcoded for simplicity
2013-10-31CommandLine: simplified program name lineMax Kellermann1-1/+1
2013-10-30*: update copyright year to 2013Max Kellermann1-1/+1
2013-10-21DecoderList: reimplement _for_each() with function objectMax Kellermann1-8/+8
2013-10-19*: use nullptr instead of NULLMax Kellermann1-12/+12
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-12/+12
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
2013-10-17fs/Path: move definitions to struct PathTraitsMax Kellermann1-1/+2
2013-10-15*: use WIN32 instead of G_OS_WIN32Max Kellermann1-2/+2
2013-10-02Log: new logging library APIMax Kellermann1-1/+3
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-05mpd_error.h: remove obsolete headerMax Kellermann1-2/+2
Migrate the remaining callers to FatalError().
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+1
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann1-20/+16
Replaces GLib's GError.
2013-08-07CommandLine.cxx: look for config file in XDG_CONFIG_HOME tooAlexander Gehrke1-1/+7
Look for "$XDG_CONFIG_HOME/mpd/mpd.conf", similar to where mpd looks for the file under Windows.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-3/+3
2013-07-30encoder_api: convert to C++Max Kellermann1-1/+1
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