summaryrefslogtreecommitdiffstats
path: root/cfgparser.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed 'mplayer -nosound xxx' sig11 if configfile have string list optionsarpi2002-12-061-1/+1
| | | | | | | (actually there was one dword less allocated... and so got corrupted) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8385 b3059339-0415-0410-9bf9-f77b7e298cf2
* New config system + cleanup of header inter dependencyalbeu2002-11-121-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-1/+1
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* FreeBSD fixnexus2002-10-231-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a bug in MPlayer which would prevent proper parsing ofarpi2002-10-231-11/+13
| | | | | | | | | | | some floating point options when the locale used has a decimal point other than the dot character ("."). My patch inserts calls to setlocale around float parsing functions strtod() and atof() in cfgparser.c and input/input.c. patch by Aleksander Adamowski <olo@altkom.com.pl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7871 b3059339-0415-0410-9bf9-f77b7e298cf2
* strtod is locale-dependant, so it may only accept either '.' or ',' as ↵atmos42002-10-061-1/+16
| | | | | | | | | | decimal point, we do now make sure both works by providing a fallback. If anyone knows a better/simpler algorithmn than I used, feel free to improve. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7612 b3059339-0415-0410-9bf9-f77b7e298cf2
* accept empty strings too for STRING_LIST (example: "-xyz 1,2.5,,4," )arpi2002-09-261-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7504 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugarpi2002-09-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved MacOS X SDL support, enable SDL main() wrapper for Darwin, remove ↵atmos42002-08-311-2/+1
| | | | | | | | | unused envp. Patch by Donnie Smith <xc0bead2d8130df59@f4n.org>, updated by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7202 b3059339-0415-0410-9bf9-f77b7e298cf2
* new mencoder option -info, to store copyright, title, encoder version etc in AVIarpi2002-08-291-1/+1
| | | | | | | based on patch by "Andriy N. Gritsenko" <andrej@lucky.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7146 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64-bit -sb offsets patch by Andy Goth <unununium@openverse.com>alex2002-08-281-0/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7115 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg level fixalbeu2002-05-021-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5935 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer/mencoderjaf2002-04-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add correct loop option parsing in command line parser.albeu2002-04-171-3/+22
| | | | | | | | | Reset the config while looping inside a file You can now define GLOBAL_OPTIONS_ONLY in your config.h to have only global options (ie no per file option) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5656 b3059339-0415-0410-9bf9-f77b7e298cf2
* New string list option typealbeu2002-03-201-3/+162
| | | | | | | A -list-options option to get a list of all avaible options git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5216 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed printf's to mp_msgalex2002-03-151-21/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5116 b3059339-0415-0410-9bf9-f77b7e298cf2
* New option use-stdin to use when stdin will be used as a filealbeu2002-02-281-0/+6
| | | | | | | Auto enable use-stdin when - is in the command line git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4891 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove uneeded assert (common case at eof)atmos42002-02-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4772 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoids warningspl2002-01-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4385 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bug fix for subconfig option. A -tv option containing the on parameteralbeu2002-01-211-29/+294
| | | | | | | | is now take as an entry. New functions to set/get options and know if an option is alredy set. A few comments. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4293 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some improvment and make -vcd -dvd options considered as playlist entryalbeu2002-01-191-34/+77
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Few bug fix and improvment in config/playtree systemalbeu2002-01-191-12/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4255 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a few bugs and added support for VCD/DVD/TV in playlist using virtual urlalbeu2002-01-171-2/+2
| | | | | | | like dvd://1 vcd://2 tv://5 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4221 b3059339-0415-0410-9bf9-f77b7e298cf2
* playtree-based config patch by Alban Bedel <albeu@free.fr>arpi2002-01-141-85/+449
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4157 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed subconfig parseralex2001-12-261-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3762 b3059339-0415-0410-9bf9-f77b7e298cf2
* subconfig fix (if sscanf()==1, then null out second (non-present) parameter) ↵alex2001-12-231-4/+5
| | | | | | and some errormessage fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3685 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing 1 byte in array sizepl2001-12-191-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3614 b3059339-0415-0410-9bf9-f77b7e298cf2
* exchanged return with goto out in subconfig parsing and fixed error messagesalex2001-12-171-23/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3560 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed commandline bug: handling '-' as option when '--' unusedalex2001-11-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2651 b3059339-0415-0410-9bf9-f77b7e298cf2
* partly upgraded to mp_msg and fixed minor bug in parse_command_linealex2001-11-021-31/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2625 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed fault with --helpalex2001-11-021-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2624 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed subconfig, exiting on error, supporting flagsalex2001-11-021-9/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2622 b3059339-0415-0410-9bf9-f77b7e298cf2
* subconfig supportalex2001-11-021-41/+82
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2620 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed arpi's cfgparser bugalex2001-11-021-22/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2616 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix error reporting bugszabi2001-10-221-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2381 b3059339-0415-0410-9bf9-f77b7e298cf2
* New aspect prescale code, parses aspect value from mpeg sequence header or ↵atmos42001-10-011-1/+7
| | | | | | | | | | | commandline. Removed X11_FULLSCREEN hack from mplayer.c and moved it to libvo/vo_xv.c. Added support for nominator[:/]denominator float values in cfg-parser, thanks for the code by Steve Davies. All around thanks to Steve for helping me understanding the whole stuff :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2032 b3059339-0415-0410-9bf9-f77b7e298cf2
* multifile support in config parserarpi2001-08-221-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1630 b3059339-0415-0410-9bf9-f77b7e298cf2
* New feature for option processing: CONF_TYPE_FUNC_FULLfolke2001-08-151-4/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1537 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix gcc-3.0 warningjkeil2001-07-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1305 b3059339-0415-0410-9bf9-f77b7e298cf2
* erm...szabii2001-06-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1094 b3059339-0415-0410-9bf9-f77b7e298cf2
* bugfixszabii2001-06-101-3/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1091 b3059339-0415-0410-9bf9-f77b7e298cf2
* some fixszabii2001-06-101-6/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1090 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix againszabii2001-06-091-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1078 b3059339-0415-0410-9bf9-f77b7e298cf2
* : No such... fixszabii2001-06-091-14/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1076 b3059339-0415-0410-9bf9-f77b7e298cf2
* rude fix of ": No such file or directory"szabii2001-06-091-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1063 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removing annoying 'Reading config file ...' message when you run without ↵lgb2001-06-031-1/+3
| | | | | | verbose mode (-v) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@962 b3059339-0415-0410-9bf9-f77b7e298cf2
* now it accepts monitor_hfreq...szabii2001-04-161-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@481 b3059339-0415-0410-9bf9-f77b7e298cf2
* less outputszabii2001-04-111-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@337 b3059339-0415-0410-9bf9-f77b7e298cf2
* strto* int/float readerszabii2001-03-221-8/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@196 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix TYPE_FLOAT parameter readingszabii2001-03-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@192 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix...szabii2001-03-211-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@180 b3059339-0415-0410-9bf9-f77b7e298cf2
* ... :)szabii2001-03-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@178 b3059339-0415-0410-9bf9-f77b7e298cf2
* parameter can be in quotes in config fileszabii2001-03-191-8/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@168 b3059339-0415-0410-9bf9-f77b7e298cf2
* include recursion checkszabii2001-03-191-6/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@167 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for spanish (Yes, I'm a C programer also ;o)telenieko2001-03-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@162 b3059339-0415-0410-9bf9-f77b7e298cf2
* cfgparse fix...szabii2001-03-191-82/+99
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@161 b3059339-0415-0410-9bf9-f77b7e298cf2
* parameter reading fixed in parse_config_fileszabii2001-03-191-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@159 b3059339-0415-0410-9bf9-f77b7e298cf2
* new configfile/cmdline parserarpi_esp2001-03-191-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@154 b3059339-0415-0410-9bf9-f77b7e298cf2
* cfgparser fixszabii2001-03-191-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@153 b3059339-0415-0410-9bf9-f77b7e298cf2
* cfgparser fixszabii2001-03-191-12/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@152 b3059339-0415-0410-9bf9-f77b7e298cf2
* cfgparse fixesszabii2001-03-191-4/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@151 b3059339-0415-0410-9bf9-f77b7e298cf2
* new command line/config file parserszabii2001-03-181-0/+365
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@148 b3059339-0415-0410-9bf9-f77b7e298cf2