summaryrefslogtreecommitdiffstats
path: root/subopt-helper.c
Commit message (Collapse)AuthorAgeFilesLines
* subopt-helper: support "no-" prefix to negate suboptionsUoti Urpala2011-11-141-16/+17
| | | | | | Support "no-" prefix to negate boolean suboptions in the subopt helper (used to parse VO etc suboptions). Previously only "no" was supported, unlike toplevel options which gained "no-" support earlier.
* cleanup: don't check for NULL before free()diego2010-11-081-2/+1
| | | | | | patch by Clément Bœsch, ubitux gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move code to avoid forward declarations in top-level .c filesdiego2010-11-021-69/+66
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32421 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r30475Uoti Urpala2010-03-091-0/+18
|\
| * Add license header to all top-level files missing them.diego2010-01-301-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30165Uoti Urpala2010-01-081-8/+6
|\|
| * Simplify range-checking functions for subopt parsing.reimar2010-01-011-6/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30165 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix function declarations to avoid casting function pointers.reimar2010-01-011-2/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30164 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-1/+0
|/
* Get rid of some more trailing whitespacereynaldo2009-05-121-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29294 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of the "set" member of the subopt-parser struct, it madereimar2009-03-061-10/+3
| | | | | | | | it impossible to make the those struct variables const. Also it is not really useful, and wastes space. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28862 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.diego2007-02-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several read-only string parameters which aren't modified inside the ↵reynaldo2006-07-151-1/+1
| | | | | | called function as const. Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1l, strtof is only C99, strtod is ANSI C, so use that instead.reimar2005-10-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16726 b3059339-0415-0410-9bf9-f77b7e298cf2
* support float arguments in subopt helper.joey2005-10-101-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16721 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow string escaping via "".reimar2005-09-271-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16610 b3059339-0415-0410-9bf9-f77b7e298cf2
* helper functions for comparing strarg_t "strings".reimar2005-06-161-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15735 b3059339-0415-0410-9bf9-f77b7e298cf2
* support lenght-quoting of strings in subopt parser.reimar2005-06-161-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15734 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move generic tests to a common place.al2005-02-191-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14737 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, missing () around *valpreimar2005-01-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14573 b3059339-0415-0410-9bf9-f77b7e298cf2
* New suboption type: malloc'ed, zero terminated stringreimar2005-01-191-1/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14539 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix string argument parsing (e.g. one char strings were not accepted)reimar2005-01-011-14/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14295 b3059339-0415-0410-9bf9-f77b7e298cf2
* suboption parser for vo and ao modulesal2004-12-311-0/+256
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14282 b3059339-0415-0410-9bf9-f77b7e298cf2