| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
I have a tendency to typo things. Humans in general are bad at spotting
spelling mistakes, computers are not. This patches prints the bad
options and provides the generic meson "This will be a hard error
someday" message.
|
| |
|
|
|
|
| |
by leaving out the choices keyword.
|
|
|
|
|
|
|
| |
This exposes the already existing UserStringArrayOption class through
the meson_options.txt. The intention is to provide a way for projects to
take list/array type arguments and validate that all of the elements in
that array are valid without using complex looping constructrs.
|
|
|
|
|
|
|
| |
set_value() already does a better job at parsing strings, such as
accepting "True" for a boolean.
This fixes issue #2544
|
|
|
|
|
|
|
|
|
|
| |
I've typo'd "value" for the last time, options needs a kwargs validator.
This validator is slightly different than the one used by the main
parser, since it operates on a much simpler representation than the
other one does, and they are not interchangeable.
This also changes the optinterpreter to use pop on 'type' and
'description' so that they're not passed to the validator as kwargs.
|
| |
|
|
|
|
|
|
|
| |
Instead, check that option keys don't contain ':'. Also change the
failing option test to look for this.
Closes https://github.com/mesonbuild/meson/issues/1454
|
| |
|
|\
| |
| | |
Can set subproject option defaults from command line and master project
|
| | |
|
| |
| |
| |
| |
| |
| | |
E124: closing bracket does not match visual indentation
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|/ |
|
| |
|
|
|
|
|
|
| |
Let's be more pythonic and 'not is' seems really weird.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
|
|
| |
subdirectories.
|
|
|
|
|
| |
There are a few cases where a context manager cannot be used, such as
the logger.
|
|
|
|
| |
That is, isinstance(x, y) or isinstance(x, z) can be flattened with a
tuple to isinstance(x, (y, z)).
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds support for the D programming language[1] to Meson.
The following compilers are supported:
* LDC
* GDC
* DMD
[1]: http://dlang.org/
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
|
in the same toplevel dir.
|