aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-20D: Fix incorrect arch handling in D linkersGoaLitiuM2-8/+7
2018-09-20mesonlib: use collections.abc for abc typesDylan Baker1-1/+1
The use of ABC classes (like MutableSet) is deprecated currently, in python 3.8 the aliases in collections will be dropped and only the ones in collections.abc will remain. collections.abc has existed since python 3.3, so there is no backwards compatibility risk.
2018-09-20syntax guide: move logical ops section beside if statement [skip ci]Bruce Richardson1-23/+24
The "if" statement only covers a small set of the possible ways in which conditionals can be written, since it leaves the use of "and", "or" and "not" to the "Logical Operations" section. However, this is likely to be of interest to those reading about "if" statments, so move the "logical operations" section up to immediately follow it. This change also puts in the use of the "!=" operator in the example to widen the variety of combinations shown.
2018-09-19Add some more implibs to list of installed files on cygwinJon Turney2-0/+6
Omitted from 0fc9a601 as these tests are skipped in CI
2018-09-19Fix setting `-Doptimization` breaking buildDavid Seifert1-2/+19
Closes #4206
2018-09-19Fix `build --backend=xcode` (#4220)Guillermo Ignacio Enriquez Gutierrez1-23/+33
* Fix exception when running * Fix xcode project typos, indentation and other minor aesthetics diffs * Use tab code \t instead of real tab
2018-09-18Doc: Deprecate python3 module [skip ci]Xavier Claessens2-0/+32
The new 'python' module is a superset of its features, keeping both is confusing. Closes #4168.
2018-09-18Drop unnecessary periods from help stringsZbigniew Jędrzejewski-Szmek1-25/+25
The ones for "Compiler options" have no dots, so this was inconsistent. Also dropping the dots makes the text fit better on narrow terminals.
2018-09-18python module: Only run command once to get all infoXavier Claessens1-43/+33
2018-09-17[skip ci] Add some documentation for PR #3998Alexis Jeandet1-2/+4
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-09-17ICC does not support `-Og`David Seifert1-1/+1
2018-09-17Abstract shared GCC/Clang/ICC methods in GnuLikeCompilerDavid Seifert3-178/+84
2018-09-17Merge pull request #4174 from jon-turney/link-with-custom-targetJussi Pakkanen5-3/+57
Improve error when trying to link_with a custom_target
2018-09-17Also check wx-config-gtk3 when looking for wxWidgetsJan Niklas Hasse2-5/+5
On Arch Linux the wxgtk3 package doesn't provide wx-config.
2018-09-17Fix regressed D test cases on WindowsGoaLitiuM2-10/+10
2018-09-17Fix broken unit test qt5dependency_pkgconfig_detectionAlexis Jeandet1-7/+7
-It tests both Qt4 and Qt5 detection -> qtdependency_pkgconfig_detection -It doesn't need to skip test if Qt4 isn't found and if Qt5 isn't, the meson.build file already skips the test. -The regex was outdated and since skipped because of Qt4 it is silently broken for a long time. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-09-17gnome.gtkdoc: Add new c_args parameterIñigo Martínez2-1/+6
gtkdoc-scangobj also accepts compiler arguments. In the same way that include_directories includes directories, the new c_args parameter also appends compiler arguments.
2018-09-17gnome.gtkdoc: Fix dependencies compile_args in gtkdocIñigo Martínez1-0/+1
One of the gtkdoc's steps calls to gtkdoc-scangobj that also accepts compiler arguments by using the cflags option. Compiler arguments from dependencies are also appended now.
2018-09-17Fix version check when passing feature option to find_installation()Xavier Claessens2-3/+6
2018-09-17Pkgconfig-module.md: fix typos [skip ci]Will Thompson1-3/+3
Almost every keyword documented here takes this form: - `foo` bar with no comma after the keyword. Make `filebase` consistent, and fix a comma splice. Fix 'Arbitraty' typo in `libraries` documentation.
2018-09-16Add test case for trying to link with a library made by a custom_targetJon Turney4-0/+55
2018-09-16Implement thread linker args for D compilersMihails Strasuns1-0/+3
D compilers are configured to have highest priority when chosing linker for targets mixing C/C++/D code and before this change meson would fail to configure gtest target that uses D library as a dependency.
2018-09-16Fix ICC on macOSDavid Seifert8-22/+72
2018-09-16Fix GCC on macOSDavid Seifert2-4/+16
* `common/40 has function` still fails due to alloca being a GCC builtin.
2018-09-16i18n: allow custom target names for merge_fileMarty E. Plummer4-1/+16
As it currently stands, if for whatever reason you have two files you want to merge with the same output name, it will fail due to multiple targets with the same name due to the target name being autogenerated from the output kwarg. Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
2018-09-16find_installation: Add support for feature option in required kwargXavier Claessens4-5/+12
Closes: #4165.
2018-09-16D: Fix some compiler arguments not getting passed through properlyGoaLitiuM1-1/+1
2018-09-16Add 'clone-recursive' option for git wrapsAndrei Alexeyev3-2/+20
This causes Meson to clone the repo with the --recursive flag, pulling all of the submodules automatically.
2018-09-16Merge pull request #4170 from 3v1n0/test-projects-extra-file-reports-fixJussi Pakkanen26-14/+351
run_projects_tests: Fail if we install extra files even if not in cl
2018-09-16Merge pull request #4175 from GoaLitiuM/d-archfixesJussi Pakkanen3-51/+61
D: Improve target architecture handling
2018-09-16Do not use relative RPATHs on macOS with ICC/GCCDavid Seifert1-1/+2
* Currently, absolute rpaths on macOS are only used with Clang, which breaks Meson builds when using ICC or GCC from Homebrew or MacPorts.
2018-09-16Use enum instead of `int` for compiler variantsDavid Seifert10-189/+165
* Enums are strongly typed and make the whole `gcc_type`/`clang_type`/`icc_type` distinction redundant. * Enums also allow extending via member functions, which makes the code more generalisable.
2018-09-16Fix incorrect feature check warningJon Turney2-1/+2
Fix the special handling of '>=0.nn' constraints in project(meson_version:) for feature checks when the constraint version contains spaces
2018-09-14run_proect_tests: add cygwin as platform fix nameMarco Trevisan (Treviño)5-8/+13
2018-09-14run_project_tests: remove pdb workaround, just use filtersMarco Trevisan (Treviño)4-12/+6
And ignore .dll.a files in non cygwin gcc instances
2018-09-14test cases: add missing files to installed_files.txtMarco Trevisan (Treviño)23-4/+341
All these are marked as files to be installed, so we need list them.
2018-09-14Refactor D target architecture handlingGoaLitiuM3-31/+25
The stored architecture matches the same format accepted by dub.
2018-09-14dub: Fix error when package was fetched but not builtGoaLitiuM1-11/+12
2018-09-14dub: Detect if the missing package was built for wrong architectureGoaLitiuM1-1/+12
2018-09-14dub: Fix 32-bit architecture detection on WindowsGoaLitiuM1-10/+14
2018-09-13New numbering scheme for pre-release versions. [skip ci]Jussi Pakkanen1-1/+1
2018-09-13Merge pull request #4017 from jon-turney/version-comparison-rewriteJussi Pakkanen6-91/+221
Use rpmvercmp version comparison
2018-09-13D: Fix linker detection when static linker is missingGoaLitiuM2-10/+21
Fallback to using D compilers as static linkers when no suitable static linker were found.
2018-09-13Merge pull request #4077 from xclaesse/reconfigureJussi Pakkanen1-28/+34
mesonmain: Add --reconfigure argument
2018-09-13Upgrade to newest hotdoc. [skip ci]Jussi Pakkanen12-3/+2
2018-09-13Fix flake8 'imported but unused' reportsJon Turney2-2/+1
$ flake8 | grep F401 ./mesonbuild/compilers/d.py:19:1: F401 '.compilers.GCC_CYGWIN' imported but unused ./test cases/unit/35 dist script/replacer.py:3:1: F401 'sys' imported but unused
2018-09-13Fix flake8 whitespace reportsJon Turney2-2/+1
$ flake8 | grep -E '(E203|E221|E226|E303|W291|W293)' ./mesonbuild/build.py:964:5: E303 too many blank lines (2) ./tools/dircondenser.py:70:36: E221 multiple spaces before operator
2018-09-13Move default is_linkable_target method up from BuildTarget to TargetJon Turney1-3/+2
BuildTarget.link() assumes that it can call is_linkable_target() on any objects which are a subclass of Target
2018-09-13Builtin-options.md: fix "erros" typo [skip ci]Will Thompson1-1/+1
2018-09-12run_projects_tests: Fail if we install extra files even if not in clMarco Trevisan (Treviño)1-2/+3
As per commit 2340fd3, unexpected installed files are not reported anymore when using compilers other than 'cl', this regression was introduced in the attempt of not reporting extra .pdb files, but actually caused any non extra .pdb file in other compilers to be ignored. Fix boolean test, by reporting any extra file a part '.pdb' ones under non 'cl' compiler, while anyone under 'cl'.