Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
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.
|
|
Omitted from 0fc9a601 as these tests are skipped in CI
|
|
Closes #4206
|
|
* Fix exception when running
* Fix xcode project typos, indentation and other minor aesthetics diffs
* Use tab code \t instead of real tab
|
|
The new 'python' module is a superset of its features, keeping both is
confusing.
Closes #4168.
|
|
The ones for "Compiler options" have no dots, so this was inconsistent.
Also dropping the dots makes the text fit better on narrow terminals.
|
|
|
|
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
|
|
|
|
Improve error when trying to link_with a custom_target
|
|
On Arch Linux the wxgtk3 package doesn't provide wx-config.
|
|
|
|
-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>
|
|
gtkdoc-scangobj also accepts compiler arguments. In the same way
that include_directories includes directories, the new c_args
parameter also appends compiler arguments.
|
|
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.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
* `common/40 has function` still fails due
to alloca being a GCC builtin.
|
|
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>
|
|
Closes: #4165.
|
|
|
|
This causes Meson to clone the repo with the --recursive flag, pulling
all of the submodules automatically.
|
|
run_projects_tests: Fail if we install extra files even if not in cl
|
|
D: Improve target architecture handling
|
|
* Currently, absolute rpaths on macOS are only used
with Clang, which breaks Meson builds when using
ICC or GCC from Homebrew or MacPorts.
|
|
* 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.
|
|
Fix the special handling of '>=0.nn' constraints in project(meson_version:)
for feature checks when the constraint version contains spaces
|
|
|
|
And ignore .dll.a files in non cygwin gcc instances
|
|
All these are marked as files to be installed, so we need list them.
|
|
The stored architecture matches the same format accepted by dub.
|
|
|
|
|
|
|
|
|
|
Use rpmvercmp version comparison
|
|
Fallback to using D compilers as static linkers when no suitable static linker were found.
|
|
mesonmain: Add --reconfigure argument
|
|
|
|
$ 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
|
|
$ 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
|
|
BuildTarget.link() assumes that it can call is_linkable_target() on any
objects which are a subclass of Target
|
|
|
|
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'.
|