aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-07disable more features with --enable-miniMax Kellermann1-0/+4
Disable lots of smaller features which don't have a separate configure option: - xterm title - screen list - horizontal scrolling - MPD version number check - key binding checks - character set conversion - bitrate display - highlighting in the file browser - completion / history
2008-11-07options: don't store disabled optionsMax Kellermann1-0/+6
Options which are disabled at compile time shouldn't reserve space for their values in the options struct.
2008-11-07options: static initialization if possibleMax Kellermann1-11/+11
Initialize the options struct statically.
2008-11-07options: removed deprecated optionsMax Kellermann1-6/+1
"reconnect" is always enabled. "debug" code has been removed.
2008-10-03options: don't initialize with memset(0)Max Kellermann1-2/+0
Global variables are already initialized with zero when the program starts, don't memset(0) again.
2008-10-03options: don't pass the "options" pointer aroundMax Kellermann1-7/+3
Just make everybody use the global "options" variable. This eliminates namespace confusion and the NO_GLOBAL_OPTIONS hack.
2008-10-03colors: make color support optional at compile timeMax Kellermann1-0/+9
Default is colors disabled. Those who love colorful terminals have the option to enable it with --enable-colors.
2008-10-03options: print one big string in --version screenMax Kellermann1-9/+9
Instead of calling printf() multiple times for every compile time option, build the whole string at compile time and print it with puts().
2008-10-03code style, indent with tabs XIMax Kellermann1-1/+1
Follow the same code style als MPD itself.
2008-10-02moved code to charset.cMax Kellermann1-1/+2
Move everything which deals with UTF-8 strings and character set conversion to charset.c, header charset.h.
2008-10-02options: use stdboolMax Kellermann1-11/+11
Use the standard "bool" type instead of glib's "gboolean". This way, options.h doesn't have to include the fat glib.h.
2008-10-02moved default value macros to defaults.hMax Kellermann1-1/+1
These macros are only used by options.c and conf.c. Move them to a common internal header.
2008-10-02options: initialize options.list_formatMax Kellermann1-0/+2
Instead of checking whether options.list_format is set in the LIST_FORMAT macro, initialize it once with options.list_format. Same for options.status_format / STATUS_FORMAT.
2008-10-02removed the debugging function D()Max Kellermann1-1/+0
gdb is for debugging. We don't need D() calls littered all over.
2008-09-22options: added constant option_table_sizeMax Kellermann1-7/+7
Instead of checking for the sentinel at the end of the option table, check the option_table_size constant.
2008-09-22options: constant options_tableMax Kellermann1-3/+3
Make the options_table constant, since it is never modified.
2008-09-22code style, indent with tabs IXMax Kellermann1-151/+147
Follow the same code style als MPD itself.
2008-09-22added option "welcome-screen-list"David Shakaryan1-0/+1
"welcome-screen-list" shows the screen list in the top row shortly after startup, and is enabled by default.
2008-09-18removed the clock screenMax Kellermann1-3/+0
Why should an audio player display a large clock?
2008-09-15use size_t and unsigned integersMax Kellermann1-1/+1
2008-09-15include cleanupMax Kellermann1-7/+4
A header should include all headers which he needs. Move local includes on top, and let foo.c include foo.h in the first line, to automatically test its dependencies.
2008-09-15const pointersMax Kellermann1-8/+8
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15use !NDEBUG instead of DEBUGMax Kellermann1-3/+3
NDEBUG is more commonly used than DEBUG, e.g. in assert.h. Convert all macros to NDEBUG, and declare NDEBUG when debugging is disabled.
2008-09-15code style, indent with tabsMax Kellermann1-133/+118
Follow the same code style als MPD itself. This patch only fixes parts of the code which are going to be touched in the following bunch of patches, i.e. there will be more "code style" patches in the future.
2008-09-15remove unused static functionsMax Kellermann1-6/+0
Also remove some commented code and unused function parameters.
2008-09-15splash: removed the useless splash screenMax Kellermann1-2/+1
The code looks strange and spews lots of warnings. Since it does nothing useful, and wastes the user's precious time, simply remove it.
2007-02-16way too much stuff to describe hereAndreas Obergrusberger1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-08disable splash by defaultAndreas Obergrusberger1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4744 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-07due to bensonk's demand i added a splash screen.Andreas Obergrusberger1-0/+5
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4741 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-04the updated sourcesAndreas Obergrusberger1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-01-16included patch from Jonathan ForsKalle Wallin1-2/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-15New configuraton option: screen-listKalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3358 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-14Added artist screen infoKalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-03seek-time can now be defined in the conf fileKalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3308 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15Added a search screenKalle Wallin1-0/+6
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Crossfade time can now be definied in the rc file (crossfade-time)Kalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin1-1/+36
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Fixed short option handling for multiple short options at once (-abcde)Kalle Wallin1-14/+20
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1846 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-02improved error handling in the argv parserKalle Wallin1-26/+65
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1762 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-01Removed popt code/dependencyKalle Wallin1-107/+196
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1761 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-24Made the xterm title dynamic, added configuration option xterm-title-formatKalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1647 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22Added options: audible-bell, visible-bell, wrap-around, find-wrapKalle Wallin1-5/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1611 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-15Added list-format and status-format conf optionsKalle Wallin1-1/+9
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1496 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Changed directory layout (for future use of gettext)Kalle Wallin1-0/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07Redesigned ncmpc's color supportKalle Wallin1-12/+21
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@937 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19Added copyright notice and license noticeKalle Wallin1-0/+18
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@833 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-31Documentation changes for the 0.10.0 realease.Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@555 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-29Added password support.Kalle Wallin1-10/+39
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@534 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-28We now allocate and free memory with glibKalle Wallin1-2/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@526 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26Added reversed and wrapped list search (find).Kalle Wallin1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@497 09075e82-0dd4-0310-85a5-a0d7c8717e4f