* include/configuration.h: added a new flag to the configuration stucture to
authorSigmund Augdal Helberg <sigmunau@videolan.org>
Thu, 20 Feb 2003 01:52:47 +0000 (01:52 +0000)
committerSigmund Augdal Helberg <sigmunau@videolan.org>
Thu, 20 Feb 2003 01:52:47 +0000 (01:52 +0000)
commit5a13b475ceef886157d0d87decab17a3b0e354f8
tree9fb6e456b66f08acce709917b4f0e1bf1241a0be
parent2d22750225a2b1df72e2dc57bfd3c611ce6df699
* include/configuration.h: added a new flag to the configuration stucture to
indicate wether it is an "advanced" option or not. The goal with this is to
hide the user from all the strange options that very seldom needs to be
changed. added an extra argument to all the add_* macros to indicate wether
the item is advanced or not.
* src/libvlc.h: added an "show advanced options" config option default
disabled
* src/libvlc.c: the advanced options are not listed by vlc --help and
friends unless --advanced is used
* modules/gtk/preferences.c: the gtk/gnome preferences dialog don't show
advanced options unless advanced is set
all: set the advanced flag to VLC_FALSE or VLC_TRUE for all options, by
using some common sense. Please check and correct

note: All interfaces should still work like they used to, see the change in
modules/gtk/preferences.c to find out how to "hide" options.

second note: I think I've changed all the modules, but I could not test
everyone for compilation, expect some broken modules (the fix is to add ",
VLC_TRUE" as last argument to the add_* I forgot)
63 files changed:
configure.ac.in
include/configuration.h
modules/access/dvd/dvd.c
modules/access/dvdplay/dvd.c
modules/access/dvdread/dvdread.c
modules/access/file.c
modules/access/ftp.c
modules/access/http.c
modules/access/mms/mms.c
modules/access/satellite/satellite.c
modules/access/slp.c
modules/access/udp.c
modules/audio_filter/converter/a52tofloat32.c
modules/audio_filter/converter/mpgatofixed32.c
modules/audio_output/alsa.c
modules/audio_output/file.c
modules/audio_output/oss.c
modules/codec/a52old/a52old.c
modules/codec/ffmpeg/ffmpeg.c
modules/codec/mpeg_video/parser.c
modules/codec/spudec/spudec.c
modules/codec/xvid.c
modules/control/gestures.c
modules/control/rc/rc.c
modules/demux/avi/avi.c
modules/demux/demuxdump.c
modules/demux/mpeg/ts.c
modules/demux/util/id3.c
modules/demux/util/sub.c
modules/encoder/ffmpeg/encoder.c
modules/encoder/xvid.c
modules/gui/beos/BeOS.cpp
modules/gui/familiar/familiar.c
modules/gui/gtk/gnome.c
modules/gui/gtk/gtk.c
modules/gui/gtk/preferences.c
modules/gui/kde/interface.h
modules/gui/kde/kde.cpp
modules/gui/macosx/macosx.m
modules/gui/win32/win32.cpp
modules/gui/wxwindows/fileinfo.cpp
modules/gui/wxwindows/wxwindows.cpp
modules/misc/dummy/dummy.c
modules/misc/logger/logger.c
modules/misc/sap.c
modules/video_filter/adjust.c
modules/video_filter/clone.c
modules/video_filter/crop.c
modules/video_filter/deinterlace/deinterlace.c
modules/video_filter/distort.c
modules/video_filter/motionblur.c
modules/video_filter/transform.c
modules/video_filter/wall.c
modules/video_output/directx/directx.c
modules/video_output/fb.c
modules/video_output/ggi.c
modules/video_output/mga/xmga.c
modules/video_output/x11/x11.c
modules/video_output/x11/xvideo.c
modules/visualization/xosd/xosd.c
src/libvlc.c
src/libvlc.h
src/misc/configuration.c