aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-10-03options: don't pass the "options" pointer aroundMax Kellermann1-42/+41
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/+14
Default is colors disabled. Those who love colorful terminals have the option to enable it with --enable-colors.
2008-10-03code style, indent with tabs XIMax Kellermann1-359/+284
Follow the same code style als MPD itself.
2008-10-03use g_ascii_isspace() instead of IS_WHITESPACE()Max Kellermann1-11/+11
Don't duplicate code which is already provided by glib.
2008-10-03use g_ascii_strdown() instead of the custom lowerstr()Max Kellermann1-5/+6
Don't duplicate code which is already provided by glib.
2008-10-02moved i18n macros to i18n.hMax Kellermann1-1/+1
Don't make everybody include ncmpc.h just to have generic features. Move generic i18n macros to a separate header.
2008-10-02options: use stdboolMax Kellermann1-5/+3
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-0/+1
These macros are only used by options.c and conf.c. Move them to a common internal header.
2008-10-02removed the debugging function D()Max Kellermann1-7/+0
gdb is for debugging. We don't need D() calls littered all over.
2008-09-25screen: pass screen_functions pointer to switch_screen_mode()Max Kellermann1-5/+2
Trying to get rid of the screen ids. A pointer to screen_functions is better for identifying a screen.
2008-09-22added option "welcome-screen-list"David Shakaryan1-0/+5
"welcome-screen-list" shows the screen list in the top row shortly after startup, and is enabled by default.
2008-09-21added optional bitrate display to status barJ. Alexander Treuman1-0/+5
If visible-bitrate is enabled, then the current bitrate will be drawn next to the song time in the status bar. By default it will not be displayed.
2008-09-15don't declare local variable "options"Max Kellermann1-0/+1
In main.c, the global variable "options" is used all over, except in main(), which contains a shadowing declaration of it. Remove this local variable, and use the global "options" instead. Also don't pollute conf.c's namespace with the global variable with a CPP hack (to be removed when we have fixed more of ncmpc's namespace pollution).
2008-09-15use size_t and unsigned integersMax Kellermann1-5/+6
2008-09-15fix shadow warningsMax Kellermann1-5/+5
Rename local variables and function parameters, so they don't shadow global variables.
2008-09-15include cleanupMax Kellermann1-10/+7
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-4/+4
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15code style, indent with tabsMax Kellermann1-243/+228
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-15splash: removed the useless splash screenMax Kellermann1-9/+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/+11
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-09http://musicpd.org/mantis/view.php?id=1324Andreas Obergrusberger1-1/+6
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4757 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-07due to bensonk's demand i added a splash screen.Andreas Obergrusberger1-1/+6
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4741 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-12spelling fixes by avutonAndreas Obergrusberger1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4615 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-04the updated sourcesAndreas Obergrusberger1-3/+15
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-01-16included patch from Jonathan ForsKalle Wallin1-1/+20
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-15New configuraton option: find-show-lastKalle Wallin1-0/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3359 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-15New configuraton option: screen-listKalle Wallin1-1/+48
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3358 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-03seek-time can now be defined in the conf fileKalle Wallin1-0/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3308 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-03Added a "hide cursor" feature #0000417Kalle Wallin1-0/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15Added a search screenKalle Wallin1-0/+5
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/+5
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-3/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Mouse support is now optional (enable-mouse)Kalle Wallin1-0/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1861 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Removed support for the old configuration syntaxKalle Wallin1-83/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1853 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03Cleaned up the conf debug codeKalle Wallin1-7/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1781 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-24Made the xterm title dynamic, added configuration option xterm-title-formatKalle Wallin1-0/+8
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1647 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-24Added configuration option - set-xterm-titleKalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1644 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22Added options: audible-bell, visible-bell, wrap-around, find-wrapKalle Wallin1-7/+30
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-12/+63
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1496 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin1-3/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Added initial i18n supportKalle Wallin1-17/+15
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 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-54/+155
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@937 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-03The background color can now be assigned to 'none' (use the current color).Kalle Wallin1-2/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@898 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19Added copyright notice and license noticeKalle Wallin1-2/+41
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@833 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14Added optional support for a wide_cursor.Kalle Wallin1-11/+10
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@760 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14relocated configuration file to ~/.ncmpc/config and added support for Kalle Wallin1-7/+207
key bindings in ~/.ncmpc/keys. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@751 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-05Added support for (auto) center/focus playlists.Kalle Wallin1-18/+9
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@604 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-29Call g_build_filename() the correct way.Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@542 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-29Started to use glib.Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@538 09075e82-0dd4-0310-85a5-a0d7c8717e4f