aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-12Updated version number for 0.42.1 release.0.42.10.42Jussi Pakkanen6-6/+6
2017-09-12wrap-mode: Make the error output more usefulNirbheek Chauhan1-1/+9
Now it errors out while displaying the possible options See: https://bugs.python.org/issue25061 for native support
2017-09-12tests/common/48: Don't read newlineNirbheek Chauhan1-2/+2
To avoid platform-specific differences in git settings.
2017-09-12Fix regression in test definitionsNirbheek Chauhan4-2/+57
Caused by #2236. Also add a test for this.
2017-09-12interpreter: Always flatten when unholding arraysNirbheek Chauhan2-1/+2
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
2017-09-12Add a test for the custom target incdirs changeNirbheek Chauhan7-2/+22
https://github.com/mesonbuild/meson/pull/2291
2017-09-12backends: Add custom target inc dirs before target inc dirsNirbheek Chauhan2-9/+15
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.
2017-09-07Add a regression test for test suites.Hemmo Nieminen2-0/+4
Ensure test setup environment variables can from now on be given also as strings.
2017-09-07Fix a stack trace caused by environment variables in test setups.Hemmo Nieminen1-2/+3
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'
2017-09-07Allow version labels with trailing dotsMichal Koutný1-1/+1
Fixes #1586
2017-09-07install: Also ignore PermissionError for selinuxNirbheek Chauhan1-1/+1
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
2017-09-04gnome: Ensure gir always works with asan, even if used together with ubsanMatthias Klumpp1-1/+1
This really resolves #1910 by making it also work in cases where asan and ubsan are used together via "-Db_sanitize=address,undefined".
2017-09-04gnome: Fix typo in gtkdoc_html_dir, so it returns the correct pathMatthias Klumpp2-2/+2
2017-09-04Check if Watcom version of cl exists in the path and avoid using it. (#2237)William D. Jones1-0/+18
2017-09-04Remove trailing spaces.Philippe Payant1-1/+1
2017-09-04Fix detection of MSVC 2008 version.Philippe Payant1-3/+7
2017-09-04Tell users about ninja rebuild and meson configureChet Gurevitch1-2/+3
2017-09-04Don't error if build directory is already configuredChet Gurevitch1-3/+3
2017-09-04Add missing dependency of Boost Log to a Docker imageMichał Wikliński1-0/+1
2017-09-04Find Boost dep when there is an extra lib to linkMichał Wikliński3-1/+33
There are several components in Boost which must be linked with extra libraries. Boost Log is one of them and in special circumstances needs linking with boost_log_setup. http://www.boost.org/doc/libs/1_64_0/libs/log/doc/html/log/detailed/utilities.html#log.detailed.utilities.setup This fix covers the case when there is no source file corresponding to the additional library.
2017-09-04Fix coverage target breakage and add a test for it.Jussi Pakkanen3-1/+15
2017-09-04Remove PHONY because Windows and OSX file systems are crap. Closes #2199.Jussi Pakkanen3-6/+7
2017-09-04Fix detection of clang "optimization arguments"Peter Harris2-1/+11
In version 3.6.0, clang added -Wignored-optimization-argument. Without setting this flag to -Werror, "ignored optimization arguments" such as (for example) -fpeel-loops, are accepted but warned about, leading to noisy builds if meson thinks the flag is supported. See also #755
2017-09-04Fix warning when executable(implib:) is usedJon Turney1-3/+1
PR #1955 added implib to known_exe_kwargs, but since PR #2001 it needs to be in exe_kwargs as well, to avoid 'WARNING: Passed invalid keyword argument "implib"' when it is used.
2017-09-04Ensure log file gets closed.Jussi Pakkanen2-1/+9
2017-09-04Ignore encoding when scanning Fortran sources.Jussi Pakkanen1-1/+3
2017-08-15Bump numbers for new release.0.42.0Jussi Pakkanen7-9/+7
2017-08-15Merge pull request #2191 from centricular/fix-ninja-clean-target-dirJussi Pakkanen26-48/+179
Fix ninja clean in some edge cases + a bonus windows fix
2017-08-15tests/common/159: Disable phony testNirbheek Chauhan1-1/+4
Breaks on case-insensitive HFS+ on Travis https://travis-ci.org/mesonbuild/meson/jobs/264468097 And on Appveyor: https://ci.appveyor.com/project/jpakkane/meson/build/3344/job/k996o8g57qf68ryb
2017-08-15tests/common/159: Disable b_coverage=trueNirbheek Chauhan1-2/+3
Setting it seems to cause it to be set on all later tests, which causes a lot of failures: https://travis-ci.org/mesonbuild/meson/jobs/264468097 https://travis-ci.org/mesonbuild/meson/jobs/264468093
2017-08-15gfortran: Add coverage argumentsNirbheek Chauhan1-0/+6
2017-08-15ninja: Fix detection of vs compiler usageNirbheek Chauhan1-4/+6
Just because cl.exe exists in PATH doesn't mean we are using it right now. Instead, check the list of compilers that were configured.
2017-08-15ninja: Fix cleaning in various edge casesNirbheek Chauhan2-27/+73
We need to use target aliases for reserved target names and run targets to workaround a ninja bug: https://github.com/ninja-build/ninja/issues/828 Closes https://github.com/mesonbuild/meson/issues/1644
2017-08-14Printing unknown kwarg error message no longer crashes the parser.Jussi Pakkanen3-7/+19
2017-08-15Add a test for dirs with reserved target namesNirbheek Chauhan23-0/+65
And for dirs with the same name as run_target()s Reproduces https://github.com/mesonbuild/meson/issues/1644
2017-08-15run_unittests: Add a helper for asserting path existenceNirbheek Chauhan1-17/+25
It is useful to have a message displayed if the assert is fired.
2017-08-14gnome: use VAPIGEN from the environment if setMarinus Schraal1-1/+5
Allow setting the vapigen binary by passing it as an environment variable.
2017-08-14gnome: add mkenums_simple()Tim-Philipp Müller7-2/+240
99% of all mkenums uses in C libraries use the same basic template, so add a mkenums_simple() function that takes care of everything for us based on that template. Features: - optional function declaration decorator such as GLIB_AVAILABLE - optional extra header prefix (e.g. for include needed for decorator) - optional extra body prefix (e.g. for additional includes) - optional function name prefix (e.g. to add leading underscores) Fixes issue #1384
2017-08-14Store current line number so it can be printed in warning messages. Closes ↵Jussi Pakkanen1-1/+5
#2181.
2017-08-14Use "meson test" in test invocations so it will not print the deprecation ↵Jussi Pakkanen3-5/+5
warning.
2017-08-13Added documentation for pcap dependency.Jussi Pakkanen2-0/+19
2017-08-13Merge pull request #2130 from bruce-richardson/pcap_config_supportJussi Pakkanen5-1/+69
add support for pcap dependencies
2017-08-13Pass -fpch-preprocess to GCC when precompiled headers are usedGabríel Arthúr Pétursson2-0/+8
CCache requires this flag when building with precompiled headers. Without it, the preprocessor fails and CCache fallbacks to running the real compiler. Users still need to set 'sloppiness' to 'pch_defines,time_macros' in their ccache.conf file for CCache to cache builds that use precompiled headers. See the CCache manual for more info: https://ccache.samba.org/manual.html#_precompiled_headers
2017-08-13gnome: Allow passing build_by_default: to some functionsNirbheek Chauhan4-8/+24
Closes https://github.com/mesonbuild/meson/issues/2174
2017-08-13gnome: add 'ignore_headers' to permitted kwarg list for gnome.gtkdoc()Tim-Philipp Müller2-1/+2
2017-08-13unit tests: Select test cases inside run_unittests.pyNirbheek Chauhan2-11/+12
This allows people to directly run ./run_unittests.py without having to worry about selecting the right test cases for the platform they are on.
2017-08-13gnome: Fix parsing of resource custom target filesNirbheek Chauhan2-9/+16
gnome.compile_resources() was not parsing custom target sources properly. It was using the custom target name as the output of the custom target instead of looking at the list of outputs. Also modify the GNOME framework test to expose this.
2017-08-13gnome: Only translate -l flags to --extra-libraryFlorian Müllner1-1/+1
Other linker arguments may contain '-l' as well, for instance '-L/usr/lib/x86_64-linux-gnu/foo' with Debian-style multiarch.
2017-08-11Exclude system sources from test coverageStefan Sonski1-0/+1
Exclude /usr/src/ from code coverage, this is included for e.g. gtest/gmock.
2017-08-10Update wrap-mode FAQNirbheek Chauhan1-1/+1