aboutsummaryrefslogtreecommitdiff
path: root/src/cmdline.c
Commit message (Collapse)AuthorAge
* Merge branch 'v0.16.x'Max Kellermann2012-06-12
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cmdline.c src/decoder/wildmidi_decoder_plugin.c src/gcc.h src/glib_compat.h src/input_stream.c src/output_list.c src/output_thread.c valgrind.suppressions
| * cmdline: consistent plugin listingsMax Kellermann2012-06-12
| |
| * cmdline: dump list of input pluginsMax Kellermann2012-06-12
| |
| * cmdline: dump list of playlist pluginsMax Kellermann2012-06-12
| |
| * cmdline: change --version formattingMax Kellermann2012-06-12
| |
| * decoder_list: add _for_each() macrosMax Kellermann2012-06-12
| |
| * cmdline: don't initalise archive plugins for --versionMax Kellermann2012-06-12
| | | | | | | | Dump all archive plugins, even those that fail to initialise.
| * cmdline: update copyright yearMax Kellermann2012-06-12
| |
| * Work around incorrect g_file_test() behavior on Win32Denis Krjuchkov2012-06-12
| | | | | | | | | | | | | | 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.
* | Merge branch 'v0.16.x'Max Kellermann2011-12-13
|\| | | | | | | | | | | Conflicts: NEWS configure.ac
| * cmdline: Remove duplicate g_free()sAvuton Olrich2011-12-12
| |
* | copyright year 2011Max Kellermann2011-01-29
|/
* eliminate g_error() usageThomas Jansen2010-09-25
| | | | | | | | | | | | | | 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.
* cmdline: Add default config paths for win32.Avuton Olrich2010-05-20
|
* Update copyright notices.Avuton Olrich2009-12-31
|
* cmdline: print out list of encoders in --version infoViliam Mateicka2009-11-17
|
* include config.h in all sourcesMax Kellermann2009-11-12
| | | | | | 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.
* decoder_list: moved print_all_decoders() to cmdline.cMax Kellermann2009-11-07
| | | | | | Export the decoder_plugins array. The function decoder_plugin_print_all_decoders() it is UI specific and should not live in this backend library.
* configure.ac: require GLib 2.16Max Kellermann2009-10-13
| | | | | | | 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.
* conf: handle fatal errors with GErrorMax Kellermann2009-09-24
| | | | | | | 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.
* cmdline: handle fatal errors with GErrorMax Kellermann2009-09-24
| | | | Don't call g_error(), which will abort the process and dump core.
* cmdline: removed options --create-db and --no-create-dbMax Kellermann2009-09-20
| | | | | Both options are deprecated, and should not be used anymore. Many users get confused by their presence.
* cmdline: obey $(sysconfdir) for default mpd.conf locationMax Kellermann2009-07-28
| | | | | | | | | | | 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.
* cmdline: renamed options.stderr to options.log_stderrEugeny N Dzhurinsky2009-07-22
| | | | | | | On FreeBSD, "stderr" is a macro, and using this name for a struct member breaks the build. [mk: renamed _stderr to log_stderr]
* cmdline: renamed option "--stdout" to "--stderr"Max Kellermann2009-07-15
| | | | | | 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.
* cmdline: no CamelCaseMax Kellermann2009-07-15
| | | | Renamed type, variables and functions.
* move printAllOutputPluginTypes to output_list.cViliam Mateicka2009-03-21
|
* all: Update copyright header.Avuton Olrich2009-03-13
| | | | | | | | 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.
* cmdline: Print available protocols when --version is run.Avuton Olrich2009-03-03
|
* use GLIB_CHECK_VERSION()Max Kellermann2009-03-01
| | | | | Use GLIB_CHECK_VERSION() instead of manually checking GLIB_MAJOR_VERSION, ...
* decoder_list: print decoder list with suffixesMax Kellermann2009-02-28
| | | | | Print the list of suffixes supported by each decoder, instead of prining a list of all suffixes of all decoders with duplicates.
* cmdline: Alphabetical help order like other GNU projects.Avuton Olrich2009-02-25
|
* cmdline: Add --no-config to explicitly set daemon default options.Avuton Olrich2009-02-25
|
* log: added log_early_init() for early debug messagesMax Kellermann2009-02-19
|
* conf: no CamelCase, part IMax Kellermann2009-01-17
| | | | Renamed functions, types, variables.
* allow ~/.mpd/mpd.conf as alternate config fileJérôme Quelin2009-01-14
| | | | | | | | | | | | 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
* don't exit after --create-dbMax Kellermann2009-01-04
| | | | | Start the daemon after --create-db. This makes --create-db a flag which discards the old database and starts with a fresh one.
* cmdline: exit after --versionMax Kellermann2009-01-01
| | | | Don't start the daemon when MPD is called with "--version".
* print supported decoders in --versionViliam Mateicka2008-12-30
|
* removed os_compat.hMax Kellermann2008-12-29
| | | | | Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
* log: deprecated "error_file" optionMax Kellermann2008-12-28
| | | | | Removed the "error_file" option. There is only one log file now. If a user wants to see only the errors, he should configure a log_level.
* cmdline: fixed option_no_createdb usageViliam Mateicka2008-12-27
|
* cmdline: use g_build_filename() for ~/.mpdconfMax Kellermann2008-12-27
| | | | | Build the path with g_build_filename(). Also use g_get_home_dir() and g_file_test().
* cmdline: use GLib's option parserMax Kellermann2008-12-27
| | | | | Eliminate duplicated code. The GLib code is much more mature than MPD's custom parser.
* cmdline: use gboolean instead of intMax Kellermann2008-12-27
| | | | | Prepare for the migration to the GLib option parser, which uses gboolean for flags.
* moved command line parser to cmdline.cMax Kellermann2008-12-27