Martin Blanchard
71deffab18
get-unquoted: Fix indentation and remove useless arithmetic
7 years ago
Martin Blanchard
6b517475f5
get-unquoted: Add test case for new get_unquoted() method
7 years ago
Martin Blanchard
fa1fee5686
get-unquoted: Implement a get_unquoted() method for ConfigurationData
7 years ago
tense-du
a59175d1f3
Fix videos page ( #2321 )
...
* Removed duplicate title in doc theme.
* Removed stray lower than tag.
* Replaced obsolete frameborder attribute.
7 years ago
Jussi Pakkanen
19e22ac88a
Merge pull request #2216 from ebassi/yelp-linguas
...
Support LINGUAS for gnome.yelp() languages
7 years ago
Jussi Pakkanen
6fd2fab02c
Merge pull request #2319 from georgmu/cmake2meson-improvements
...
cmake2meson improvements
7 years ago
Nirbheek Chauhan
f04d141088
logging: Print location of log file on error
...
Similar to configure
Closes https://github.com/mesonbuild/meson/issues/2316
7 years ago
Georg Müller
4cbca49976
cmake2meson: convert varexp to lowercase
...
since variable names in 'set' statements are converted to lowercase, the
variable itself should be converted to lower-case too when used.
7 years ago
Georg Müller
567b51ac71
cmake2meson: strip comments from statements
...
Without this change, the following correct cmake will cause an error:
statement(
arg1
# arg2
arg3
)
7 years ago
Georg Müller
c60c21a60d
cmake2meson: convert statements to lower case
...
cmake does not distinguish between upper and lower case, so convert it to
lower case for the later comparisons.
7 years ago
Jérôme Duval
c46c1e74ad
run_tests.py: Haiku has no nice().
7 years ago
Jérôme Duval
0b8db94065
Add is_haiku(), needed for run_tests.py.
7 years ago
Emmanuele Bassi
6f1d7e3d0a
Add deprecation warning for gnome.yelp() argument
...
The 'languages' argument is deprecated; the LINGUAS file supercedes it
as the canonical source of translations.
7 years ago
Jussi Pakkanen
7de61aac12
Clarify that MESONINTROSPECT may have multiple parts.
7 years ago
Jussi Pakkanen
75208604da
Merge pull request #1943 from QuLogic/duplicate-names
...
Fix creation of objects with duplicate names
7 years ago
Jussi Pakkanen
b63710863b
Renamed test serialisation from is_cross to is_cross_built for clarity.
7 years ago
Jussi Pakkanen
9b50a4aac1
An external program is never a "cross test".
7 years ago
Niklas Claesson
fcbefafa1f
MSI: Improve python detection
7 years ago
Chet Gurevitch
e5e060a6b7
Update message for already configured builddir
7 years ago
Iñigo Martínez
540c928e30
gnome: Docbook generation for gdbus_codegen()
...
Add new 'docbook' argument which generates Docbook documentation for
each D-Bus interface. The docbook argument will be used as prefix
in `PREFIX`-NAME.xml pattern, and NAME will be replaced by the D-Bus
interfaces.
7 years ago
Jon Turney
b04c4fa878
Add Windows extra_paths to beginning of PATH when running tests
...
Adding it to the end of PATH means that if an installed instance of a DLL
exists, that would be used instead of the built instance.
Compare with run_exe(), which already gets this right.
7 years ago
Jussi Pakkanen
e1fc17ef2a
Merge pull request #2288 from centricular/fix-test-regression
...
Fix regression in test definitions
7 years ago
Nirbheek Chauhan
b3c70f495b
interpreter: Always flatten when unholding arrays
...
Otherwise we might end up with wrapper holders in the Build object and
pickling will then fail, defeating the purpose of the holder objects.
Closes https://github.com/mesonbuild/meson/issues/2211
7 years ago
Nirbheek Chauhan
4a9c31025c
tests/common/48: Don't read newline
...
To avoid platform-specific differences in git settings.
7 years ago
Jussi Pakkanen
77bf63d663
Merge pull request #2291 from centricular/fix-custom-target-includes-ordering
...
backends: Add custom target inc dirs before target inc dirs
7 years ago
Nirbheek Chauhan
db199b06e6
Add a test for the custom target incdirs change
...
https://github.com/mesonbuild/meson/pull/2291
7 years ago
Nirbheek Chauhan
5b1babd611
backends: Add custom target inc dirs before target inc dirs
...
Custom target include dirs must be overridable by target-specific
include dirs otherwise in case of header name collisions, the user has
no way to override this behaviour.
7 years ago
Jussi Pakkanen
27554e9eb1
Merge pull request #2300 from mesonbuild/msixml
...
Create installer file with the XML module
7 years ago
Jussi Pakkanen
cb8b5a165a
Removed --cov from travis.yml since coverage is currently disabled.
7 years ago
Jussi Pakkanen
68ac9b7a0b
Require installer version 5.0, which corresponds to Win 7 and up.
7 years ago
Jussi Pakkanen
a2ef1dc23b
Fix installer generation on 64 bit Windows.
7 years ago
Jussi Pakkanen
d3fab4c965
Add installer option to not install Ninja.
7 years ago
Jussi Pakkanen
41805f1b31
Delete XML string manipulation code.
7 years ago
Jussi Pakkanen
048d941e95
Create WiX source file with the XML module rather than string manipulation.
7 years ago
Nirbheek Chauhan
aff981a6b0
Fix regression in test definitions
...
Caused by #2236 . Also add a test for this.
7 years ago
Jussi Pakkanen
21e2315afd
Remove coverage because pip is broken in Travis.
7 years ago
Nirbheek Chauhan
6cf5cb5842
wrap-mode: Make the error output more useful
...
Now it errors out while displaying the possible options
See: https://bugs.python.org/issue25061 for native support
7 years ago
Jussi Pakkanen
9361666bd8
Merge pull request #2236 from trhd/env
...
Fix a stack trace caused by environment variables in test setups.
7 years ago
Emmanuele Bassi
2cabcb39c9
gnome: Flatten the sources for generate_gir()
...
If we don't do that, the traversal of the sources list to generate the
sources file for g-ir-scanner is going to explode with a Python
backtrace like this one:
File "/usr/lib/python3.5/site-packages/mesonbuild/modules/gnome.py", line 463, in generate_gir
gir_filelist.write(os.path.join(srcdir, s) + '\n')
File "/usr/lib/python3.5/posixpath.py", line 89, in join
genericpath._check_arg_types('join', a, *p)
File "/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types
(funcname, s.__class__.__name__)) from None
if the sources list contains a list.
7 years ago
Jussi Pakkanen
72a6683c6f
Permit overriding find_program from the cross file.
7 years ago
Michal Koutný
e94a9c8fcf
Allow version labels with trailing dots
...
Fixes #1586
7 years ago
Patrick Griffis
04b2c67b7d
gnome.gdbus_codegen(): Add annotations keyword
...
Fixes #2123
7 years ago
Nirbheek Chauhan
c63aa0372b
install: Also ignore PermissionError for selinux
...
When the user does not have permissions to run `selinuxenabled`, a
PermissionError is raised instead of FileNotFoundError.
Closes https://github.com/mesonbuild/meson/issues/2257
7 years ago
Jan Niklas Hasse
c9d97a58c5
--unity flag needs {on,off,subprojects} parameter
7 years ago
Patrick Griffis
2acf737b4b
pkgconfig: Document url keyword
...
Closes #2272
7 years ago
Jussi Pakkanen
437fc04da1
Merge pull request #1614 from fooishbar/cc-filter-args
...
Add Compiler.filter_arguments()
7 years ago
Hemmo Nieminen
64950bd318
Add a regression test for test suites.
...
Ensure test setup environment variables can from now on be given also as
strings.
7 years ago
Hemmo Nieminen
fa57295623
Fix a stack trace caused by environment variables in test setups.
...
An example trace:
[snip]
> File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
> result = self.fn(*self.args, **self.kwargs)
> File "/home/trhd/Projects/meson/mesonbuild/mtest.py", line 221, in run_single_test
> child_env.update(self.options.global_env.get_env(child_env))
> AttributeError: 'dict' object has no attribute 'get_env'
7 years ago
Daniel Stone
552c15b978
Alphabetize compiler.compiles()
7 years ago
Daniel Stone
e1ffae0580
Add Compiler.get_supported_arguments()
...
Add a helper for the common pattern of:
args_to_use = []
foreach arg : candidate_args
if cc.has_argument(arg)
args_to_use += arg
endif
endforeach
Replaced with:
args_to_use = cc.get_supported_arguments(candidate_args)
7 years ago