Christoph Reiter
8df5afc98a
configure_file: preserve newlines of the input file. Fixes #4817
...
In some cases (see #4817 ) it's helpful if the output file uses the
same newlines as the input file without translating them to the
platform defaults.
open() by default recognizes all newline styles and translates them
to "\n" and then to the platform default when writing.
Passing "" to "newline" disables the translation and lets us pass through
the original newline characters.
6 years ago
Xavier Claessens
b45c367d92
NotFoundDependency: Implement partial_dependency()
...
In recent change, dependency('foo') does not return a not-found
PkgConfigDependency any more, but a NotFoundDependency object. This
creates a regression in gst-build that does
dependency('foo').get_partial_dependency() causing Meson to raise an
exception.
6 years ago
Nirbheek Chauhan
d02ec7111e
coredata: Only reject a load if major version differs
...
Our builddir ABI is stable across minor (stable) releases, so there is
no need to force a wipe. We already release pretty often, no need to
force people to wipe twice as often.
6 years ago
Jussi Pakkanen
379b42c5b1
Merge pull request #3919 from mesonbuild/cudarebase
...
Add Cuda support
6 years ago
Dylan Baker
f72522e889
dependencies/llvm: add debian's llvm-9
...
Debian has already pushed llvm-9 into experimental
6 years ago
Xavier Claessens
15cea55f5b
Interpreter: Add a location to all mlog.warning() calls
...
Now that the current node is always available as self.current_node in
both function and method calls, it's easy to pass it to warning
messages.
6 years ago
Xavier Claessens
4b4f642e6a
InterpreterBase: Fix extracting the node in all method/function calls
...
Closes : #4813 .
6 years ago
Xavier Claessens
0d195cefa6
Interpreter: Add current_node to 'state' passed to module methods
...
The current node is useful to pass as location to mlog.warning().
6 years ago
Xavier Claessens
90d1f38d8e
Interpreter: Set self.current_node during method/function calls
...
The current node is useful to pass as location kwarg to mlog.warning().
The node is not passed to InterpreterObject method arguments, and it's
easier to have it on the object than passing it through argument
everywhere.
6 years ago
Daniel Mensinger
4b3e21b894
Fixed test case and setup.py
6 years ago
Daniel Mensinger
6fe2c2b209
Fixed flake8 issues
6 years ago
Daniel Mensinger
a8477955a7
Removed old test files
6 years ago
Daniel Mensinger
027c3c9ac7
Added subdir test
6 years ago
Daniel Mensinger
b7c6f3ec72
Can now rewrite files
6 years ago
Daniel Mensinger
e089eb7665
Fixed line and column numbers for dict and array nodes
6 years ago
Daniel Mensinger
8dd9b44831
Added support for removing sources from a target
6 years ago
Daniel Mensinger
0ce6632393
Added suport for adding sources to a target
6 years ago
Daniel Mensinger
86d5799bc4
First rewriter test case
6 years ago
Daniel Mensinger
f6339d6361
Added support for assignments in the AST interpretor
6 years ago
Daniel Mensinger
50bc0960e4
Updated basic rewrite testcase
6 years ago
Daniel Mensinger
08da3873dd
Added target AST Interpreter support
6 years ago
Daniel Mensinger
005a62491b
Removed the RewriteIntrepreter
6 years ago
Daniel Mensinger
277dc10a5d
AST post processing
6 years ago
Daniel Mensinger
750af9c853
Moved the introspection interpreter
6 years ago
Daniel Mensinger
46320bfba8
Added Ast printer
6 years ago
Daniel Mensinger
ccad493e85
Basic AST visitor pattern
6 years ago
Jussi Pakkanen
43147c2594
Add release note snippet.
6 years ago
Jussi Pakkanen
e1b50309df
All the fixes needed to make work against current master.
6 years ago
Jussi Pakkanen
1409751169
Convert basic test to print out card info.
6 years ago
Jussi Pakkanen
8eca221aac
More tests and pic.
6 years ago
Jussi Pakkanen
396e355c94
Clean up minor issues.
6 years ago
Beau Johnston
54b6afa675
added cuda compiler
6 years ago
Michael Hirsch, Ph.D
72486afd08
Add PGI C and C++ compilers ( #4803 )
6 years ago
Alistair Thomas
20248fa919
docs: update URI for vala-extra-vapis repository [skip ci]
6 years ago
Shubham Lagwankar
37533360d7
Remove stray bracket [skip ci]
6 years ago
Hugo Locurcio
3804172d61
docs: Use modern shell constructs [skip ci]
6 years ago
Simon McVittie
65192af2ff
run_unittests: Use Python 3.5-compatible subprocess invocation
...
subprocess.run() didn't get the encoding parameter until 3.6.
Signed-off-by: Simon McVittie <smcv@collabora.com>
6 years ago
Jussi Pakkanen
57424e9403
Merge pull request #4792 from scivision/flang
...
Flang Fortran compiler added.
6 years ago
Michael Hirsch, Ph.D
5c00751515
doc
6 years ago
Simon McVittie
65f3de70ac
tests: Don't return an undefined value from main()
...
This caused test failures while backporting meson to an old runtime
environment.
Signed-off-by: Simon McVittie <smcv@collabora.com>
6 years ago
David Fort
ceaebf6bac
add support for generating cmake files
...
This new cmake module allows to generate cmake package files. This may ease the
porting for cmake projects that are exporting cmake package informations for other
depending projects. The module uses as much as possible the templates provided by
the cmake installation (and so cmake needs to be installed).
6 years ago
Luca Boccassi
267792174c
custom_target: do not let install override build_by_default
...
A custom_target, if install is set to true, will always be built by
default even if build_by_default is explicitly set to false.
Ensure that this does not happen if it's set explicitly. To keep
backward compatibility, if build_by_default is not set explicitly and
install is true, set build_by_default to true.
Fixes #4107
6 years ago
Dylan Baker
dbe2a29637
coredata: Serialize native files into the cmd_line.txt file
...
Because we need to store those as well.
6 years ago
Dylan Baker
8668a4e2ec
coredata: Handle EOFError like UnpicklingError
...
If the coredata file has been truncated, that's pretty much the same as
being corrupt, handle that via the same path.
6 years ago
Dylan Baker
ed0ad91f1c
coredata: Handle AttributeError in unpickling coredata
...
Which can happen due to internal refactorings, such as the removal of
the ConfData class between 0.49 and 0.50
6 years ago
Jussi Pakkanen
e6df5a7586
Merge pull request #4719 from ocrete/fix-posix-lang
...
Replace surrogates with valid codepoints to print env
6 years ago
Michael Hirsch, Ph.D
9bb21be59b
FlangFortranCompiler inherit ClangCompiler
6 years ago
Michael Hirsch, Ph.D
9a318d3d5a
better handle link args: PGI and Flang
...
correct flang, pgi options
6 years ago
Michael Hirsch, Ph.D
b40c1af900
Flang Fortran compiler added.
6 years ago
Michael Hirsch, Ph.D
2ba2c7771f
allow nested if loop
...
close paren
6 years ago