aboutsummaryrefslogtreecommitdiffstats
path: root/src/CommandLine.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-26CommandLine: update copyright yearMax Kellermann1-2/+2
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
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.