aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-03-18Project-templates.md: Fix help command name [skip ci]Martin Hostettler1-1/+1
2018-03-18Replaced appveyor account by mesonbuildAleksey Filippov1-1/+1
2018-03-17Fix appveyor failures: do not use PowerShell since it triggers ↵Aleksey Filippov1-14/+8
NativeCommandError if pacman prints to stderr Split command to avoid "The input line is too long." error. Also use --needed for pacman to not reinstall already installed packages.
2018-03-15Use target.get_id() instead of basename and type_suffix concatenation at ↵Aleksey Filippov9-14/+53
call site Fixes the bug with flat layout and identical target names in subprojects. Without this change directories are not created with subproject prefix and they can collide. Remove dead makedirs code in Backend.__init__(), during initialization of backend build.targets is empty. Create output directories in Vs2010Backend.generate_projects() instead. Also use double blank line in run_unittests.py according to https://www.python.org/dev/peps/pep-0008/#blank-lines.
2018-03-15Fix FileNotFoundError when restorecon unavailableFabrice Fontaine1-0/+4
Fixes: - http://autobuild.buildroot.net/results/d5dcdfdfab3503fdc387f99e68267972a38c417d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2018-03-14Turn deprecated commands into errors.Jussi Pakkanen5-16/+11
2018-03-13Merge pull request #3127 from bluetech/method-permitted-kwargsJussi Pakkanen5-2/+138
2018-03-13Merge pull request #3145 from thejk/gcovrJussi Pakkanen6-16/+61
Support gcovr >= 3.1 and add gcovr html report as fallback
2018-03-13pkgconfig: allow any non-found dependency requires argumentsAleksey Filippov1-0/+2
On some platforms such as OSX external dependency falls back to different dependency types if it is not found.
2018-03-13pkgconfig: print requires argument type on errorAleksey Filippov1-1/+2
2018-03-13fixup! Fix coverage-xml and coverage-text targets for gcovr >= 3.1Joel Klinghed1-1/+2
Fix fail cases of detect_gcovr
2018-03-13Fix snippet heading to conform to new formatting rules.Jussi Pakkanen1-1/+1
2018-03-12fixup! Allow gcovr >= 3.1 to be used to generate html coverage reportJoel Klinghed3-5/+5
Rename gcovr_3_1 to gcovr_new_rootdir
2018-03-12fixup! Fix coverage-xml and coverage-text targets for gcovr >= 3.1Joel Klinghed3-6/+6
Rename gcovr_3_1 to gcovr_new_rootdir
2018-03-12Merge pull request #3205 from sarum9in/use-itertoolsJussi Pakkanen6-14/+10
2018-03-12Fix shared library building on xcode.Jukka Laurila1-1/+1
2018-03-12Use os.path.dirname() instead of os.path.split(...)[0]Aleksey Filippov1-1/+1
2018-03-12Merge pull request #3131 from sarum9in/pkgconfigJussi Pakkanen6-9/+61
Pkgconfig accepts libraries and pkgconfig-dependencies in requires/requires_private parameters
2018-03-12PkgConfigDependency: Search for pkg-config with ExternalProgramNirbheek Chauhan1-16/+16
Strawberry Perl on Windows ships with a Perl implementation of pkg-config embedded inside a BAT file. True horror of horrors, but people do use it, so search for pkg-config with ExternalProgram which has the right Windows-specific cases to deal with that. Closes https://github.com/mesonbuild/meson/issues/3221
2018-03-12Fix typo preventing soname unit tests from runningJon Turney1-1/+1
Fix a typo in ac256cb6 preventing soname unit tests from running
2018-03-12Link "External commands" page from run_command() reference [skip ci]Aleksey Filippov1-0/+2
2018-03-12Use specific exception types instead of ExceptionAleksey Filippov2-3/+3
2018-03-11Use subprocess.check_output() instead of Popen().communicate()Aleksey Filippov1-6/+2
2018-03-11Do not use bare except [flake8]Aleksey Filippov4-6/+6
Use more specific exception types where appropriate. This patch does not change bare except calls if exception is re-raised.
2018-03-11Use itertools.chain() instead of list concatenationAleksey Filippov2-2/+2
2018-03-11docs: update for mesonintrospect.py -> meson introspectJon Turney1-5/+5
mesonintrospect is deprecated since 59a35c4c (PR #2067)
2018-03-11docs: Add custom dependencies missing documentationJon Turney1-0/+26
Add some brief documnentation about custom dependency lookups which are implemented but not documented.
2018-03-11docs: polish documentation for custom dependency detectorsJon Turney1-12/+12
Various grammar fixes Fix syntax of MPI examples Add Qt4
2018-03-11docs: update system cross file documentationJon Turney1-2/+2
Works on all non-Windows since cf98f5e3 (PR #3119)
2018-03-11docs: remove reference to mesonguiJon Turney1-3/+1
mesongui was removed in 71f18226 (PR #574)
2018-03-10Merge pull request #3203 from jukkalaurila/bug3185Jussi Pakkanen3-0/+24
Fix bug 3185, "Setting -Dc_args=... option and some others during initial run fails silently'
2018-03-10Show info about possible subproject promotion when appropriateJon Turney1-1/+6
Move call to print_nested_info down into do_subproject() So we don't print info about possible subproject promotion unless subproject failure is due to directory non-existence And we do do that for subproject('foo'), as well as for dependency(fallback: ['foo', ...])
2018-03-10Add LANG to DockerfileNiklas Claesson1-0/+2
2018-03-10Exclude subprojects when doing coverageNiklas Claesson3-5/+30
2018-03-10Refactor: Add log.error and log.exception to reduce code duplication.Jukka Laurila6-24/+37
2018-03-10Fix C++ code used for doxygen testAlex Hirsch4-7/+10
2018-03-09Fixed bug 3185.Jukka Laurila1-0/+13
2018-03-09Add test for bug https://github.com/mesonbuild/meson/issues/3185Jukka Laurila2-0/+11
2018-03-09Default run_project_tests backend to ninja instead of xcode on OS X.Jukka Laurila1-2/+0
The xcode backend is still incomplete and fails many tests.
2018-03-09Fix xcode backend to run "meson test" instead of the nonexistent meson_test.py.Jukka Laurila1-3/+1
2018-03-07setup.py: set the python_requires fieldDylan Baker1-2/+4
This instructs tools like pip that meson requires python 3.5 or greater, so if one tries to install on an older version pip will fall back to an older version of meson. This won't fix 0.45 since it's already in the wild (unless someone wants to delete and re-upload the version on pypi). But it should fix future versions. Retain the hand rolled version check, but update it to enforce our actual requirements.
2018-03-07Merge pull request #3195 from sarum9in/link_whole-generatorsJussi Pakkanen7-1/+132
Get generated headers from link_whole_targets as meson does for link_targets
2018-03-07Gnome-module.md: Add information about output files to mkenums()Eduardo Lima (Etrunko)1-1/+3
[skip ci]
2018-03-07doc: Tweak text about get_option('foodir') in reference manual [skip ci]Jon Turney1-2/+7
* The example for executable()'s install_dir: should use join_paths() * Clarify how to use directory options which are potentially not prefix relative This is mentioned in https://github.com/mesonbuild/meson/issues/1637 and see also https://patchwork.freedesktop.org/patch/200373/ for an example of this usage, and the possible confusion that can arise.
2018-03-07Add indentation to 'common/64 custom header generator' test caseAleksey Filippov1-3/+3
2018-03-07mesonlib: fix meson detection (again)Mathieu Duponchelle1-5/+4
Starting from 8fc424418720da4ef61bde9348f4cc1a149d1cb2, tests failed on my system (python 3.6 arch) because shutil.which('meson.py') returns 'meson.py', not './meson.py'. Refactor that codepath by using os.path.isabs instead of "m_dir == '.'", also remove the adjacent comment because it doesn't make much sense.
2018-03-07Skip whole_archive test for VS older than 2015Aleksey Filippov1-0/+7
2018-03-07Get generated headers from link_whole_targets as meson does for link_targetsAleksey Filippov1-1/+2
2018-03-07Add 'common/180 generator link whole' test caseAleksey Filippov6-0/+123
This test covers usage of generated files in static_library that is later linked into shared_library.
2018-03-06Merge pull request #3086 from sarum9in/declare-link-wholeJussi Pakkanen11-5/+45
Add declare_dependency() link_whole parameter