aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* moved i18n macros to i18n.hMax Kellermann2008-10-021-1/+1
| | | | | Don't make everybody include ncmpc.h just to have generic features. Move generic i18n macros to a separate header.
* options: use stdboolMax Kellermann2008-10-021-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.
* moved default value macros to defaults.hMax Kellermann2008-10-021-0/+1
| | | | | These macros are only used by options.c and conf.c. Move them to a common internal header.
* removed the debugging function D()Max Kellermann2008-10-021-7/+0
| | | | gdb is for debugging. We don't need D() calls littered all over.
* screen: pass screen_functions pointer to switch_screen_mode()Max Kellermann2008-09-251-5/+2
| | | | | Trying to get rid of the screen ids. A pointer to screen_functions is better for identifying a screen.
* added option "welcome-screen-list"David Shakaryan2008-09-221-0/+5
| | | | | "welcome-screen-list" shows the screen list in the top row shortly after startup, and is enabled by default.
* added optional bitrate display to status barJ. Alexander Treuman2008-09-211-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.
* don't declare local variable "options"Max Kellermann2008-09-151-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).
* use size_t and unsigned integersMax Kellermann2008-09-151-5/+6
|
* fix shadow warningsMax Kellermann2008-09-151-5/+5
| | | | | Rename local variables and function parameters, so they don't shadow global variables.
* include cleanupMax Kellermann2008-09-151-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.
* const pointersMax Kellermann2008-09-151-4/+4
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* code style, indent with tabsMax Kellermann2008-09-151-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.
* splash: removed the useless splash screenMax Kellermann2008-09-151-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.
* way too much stuff to describe hereAndreas Obergrusberger2007-02-161-0/+11
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* http://musicpd.org/mantis/view.php?id=1324Andreas Obergrusberger2006-09-091-1/+6
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4757 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* due to bensonk's demand i added a splash screen.Andreas Obergrusberger2006-09-071-1/+6
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4741 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* spelling fixes by avutonAndreas Obergrusberger2006-08-121-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4615 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* the updated sourcesAndreas Obergrusberger2006-08-041-3/+15
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* included patch from Jonathan ForsKalle Wallin2006-01-161-1/+20
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* New configuraton option: find-show-lastKalle Wallin2005-06-151-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3359 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* New configuraton option: screen-listKalle Wallin2005-06-151-1/+48
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3358 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* seek-time can now be defined in the conf fileKalle Wallin2005-06-031-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3308 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added a "hide cursor" feature #0000417Kalle Wallin2005-06-031-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added a search screenKalle Wallin2004-11-151-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Crossfade time can now be definied in the rc file (crossfade-time)Kalle Wallin2004-07-131-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin2004-07-131-3/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Mouse support is now optional (enable-mouse)Kalle Wallin2004-07-121-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1861 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Removed support for the old configuration syntaxKalle Wallin2004-07-121-83/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1853 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Cleaned up the conf debug codeKalle Wallin2004-07-031-7/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1781 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Made the xterm title dynamic, added configuration option xterm-title-formatKalle Wallin2004-06-241-0/+8
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1647 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added configuration option - set-xterm-titleKalle Wallin2004-06-241-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1644 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added options: audible-bell, visible-bell, wrap-around, find-wrapKalle Wallin2004-06-221-7/+30
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1611 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added list-format and status-format conf optionsKalle Wallin2004-06-151-12/+63
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1496 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin2004-06-141-3/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added initial i18n supportKalle Wallin2004-06-051-17/+15
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+594
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f