aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* moved code to charset.cMax Kellermann2008-10-021-1/+2
| | | | | Move everything which deals with UTF-8 strings and character set conversion to charset.c, header charset.h.
* options: use stdboolMax Kellermann2008-10-021-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.
* moved default value macros to defaults.hMax Kellermann2008-10-021-1/+1
| | | | | These macros are only used by options.c and conf.c. Move them to a common internal header.
* options: initialize options.list_formatMax Kellermann2008-10-021-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.
* removed the debugging function D()Max Kellermann2008-10-021-1/+0
| | | | gdb is for debugging. We don't need D() calls littered all over.
* options: added constant option_table_sizeMax Kellermann2008-09-221-7/+7
| | | | | Instead of checking for the sentinel at the end of the option table, check the option_table_size constant.
* options: constant options_tableMax Kellermann2008-09-221-3/+3
| | | | Make the options_table constant, since it is never modified.
* code style, indent with tabs IXMax Kellermann2008-09-221-151/+147
| | | | Follow the same code style als MPD itself.
* added option "welcome-screen-list"David Shakaryan2008-09-221-0/+1
| | | | | "welcome-screen-list" shows the screen list in the top row shortly after startup, and is enabled by default.
* removed the clock screenMax Kellermann2008-09-181-3/+0
| | | | Why should an audio player display a large clock?
* use size_t and unsigned integersMax Kellermann2008-09-151-1/+1
|
* include cleanupMax Kellermann2008-09-151-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.
* const pointersMax Kellermann2008-09-151-8/+8
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* use !NDEBUG instead of DEBUGMax Kellermann2008-09-151-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.
* code style, indent with tabsMax Kellermann2008-09-151-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.
* remove unused static functionsMax Kellermann2008-09-151-6/+0
| | | | Also remove some commented code and unused function parameters.
* splash: removed the useless splash screenMax Kellermann2008-09-151-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.
* way too much stuff to describe hereAndreas Obergrusberger2007-02-161-0/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* disable splash by defaultAndreas Obergrusberger2006-09-081-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4744 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* due to bensonk's demand i added a splash screen.Andreas Obergrusberger2006-09-071-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4741 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* the updated sourcesAndreas Obergrusberger2006-08-041-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* included patch from Jonathan ForsKalle Wallin2006-01-161-2/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* New configuraton option: screen-listKalle Wallin2005-06-151-0/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3358 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added artist screen infoKalle Wallin2005-06-141-0/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* seek-time can now be defined in the conf fileKalle Wallin2005-06-031-0/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3308 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added a search screenKalle Wallin2004-11-151-0/+6
| | | | 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/+1
| | | | 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-1/+36
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Fixed short option handling for multiple short options at once (-abcde)Kalle Wallin2004-07-121-14/+20
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1846 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* improved error handling in the argv parserKalle Wallin2004-07-021-26/+65
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1762 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Removed popt code/dependencyKalle Wallin2004-07-011-107/+196
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1761 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Made the xterm title dynamic, added configuration option xterm-title-formatKalle Wallin2004-06-241-0/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1647 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added options: audible-bell, visible-bell, wrap-around, find-wrapKalle Wallin2004-06-221-5/+4
| | | | 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-1/+9
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1496 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+185
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f