Jussi Pakkanen
be0aa7fd74
Merge pull request #2357 from LukeShu/flake8
...
Bring into compliance with flake8
2017-09-22 21:33:34 +03:00
Jussi Pakkanen
2ab4b397a8
Merge pull request #2350 from tintou/master
...
Add 'install' keyword to the gettext macro
2017-09-22 21:30:08 +03:00
Johan Bjäreholt
102c1d09fe
Replaced references to 'mesontest'
...
'mesontest' is deprecated and is now 'meson test'
Replaced all references to 'mesontest' with 'meson test' and added a note of the change in the bottom of the page
2017-09-22 21:29:20 +03:00
Johan Bjäreholt
e129cf7278
Replaced references to 'mesonconf'
...
mesonconf is deprecated and all references of it has been replaced with 'meson configure'
2017-09-22 21:29:20 +03:00
Corentin Noël
34c6cccde2
Update i18n markdown page to add the new install parameter
2017-09-22 01:08:10 +02:00
Luke Shumaker
68d4c1e559
flake8: disable E731: do not assign a lambda expression, use a def
...
It has too many false positives. It was complaining about things like
if this:
fn = some_func
else:
fn = lambda x: ...
Where obviously, "fn" can't be a def, and it would be silly to introduce
some other name to use as the def, just to assign it to fn.
2017-09-21 13:41:09 -04:00
Luke Shumaker
4dbbb4884c
flake8: Clean up complained-about unused imports
...
This also adds a "# noqa: F401" comment on an unused "import lzma",
which we are using it in a try/except block that is being used to
check if the lzma module is importable; of course it is unused.
v2: This turned out to be a little tricky.
mesonbuild/modules/__init__.py had the "unused" import:
from ..interpreterbase import permittedKwargs, noKwargs
However, that meant that the various modules could do things like:
from . import noKwargs # "." is "mesonbuild.modules"
Which breaks when you remove __init__.py's "unused" import. I
could have tagged that import with "# noqa: F401", but instead I
chose to have each of the module import directly from
"..interpreterbase" instead of ".".
2017-09-21 13:41:03 -04:00
Jussi Pakkanen
2f6702839e
Merge pull request #2340 from NickeZ/generator-fix
...
Add @PLAINNAME@ and @BASENAME@ to arguments argument for Generator
2017-09-21 20:02:21 +03:00
Jussi Pakkanen
b6821dc590
Merge pull request #2352 from LukeShu/minor-fixups
...
Minor fixups
2017-09-21 19:55:00 +03:00
Jussi Pakkanen
2cbd917cf6
Merge pull request #2326 from dcbaker/use-link-compilers
...
Consider compilers used in static_library parents
2017-09-21 19:53:45 +03:00
Luke Shumaker
bb25260f00
flake8: Perform suggested whitespace/formatting changes
...
This only touches newlines, spaces, and (occaisionally) commas. Anything
else is left for another commit.
2017-09-21 11:59:03 -04:00
Nirbheek Chauhan
751d59d952
Update Reference-manual.md
...
Add notes about not using full_path() unless absolutely necessary.
2017-09-20 21:05:50 +00:00
Corentin Noël
3e6c3ea10c
Change ternary to another argument
2017-09-20 20:34:20 +02:00
Corentin Noël
6a2926870c
Add 'install' keyword to the gettext macro
2017-09-20 20:17:59 +02:00
Luke Shumaker
e7d5b9dd8e
fix file permissions on a couple of files
2017-09-20 14:02:57 -04:00
Luke Shumaker
3f446a79ec
ghwt: Add a comment at the top briefly explaining what it is
2017-09-20 14:02:57 -04:00
Luke Shumaker
ef9a49d464
fix a typo in the UTF-8 warning message
2017-09-20 14:02:57 -04:00
Niklas Claesson
63ada0ce26
Update according to input
2017-09-20 19:24:26 +02:00
Dylan Baker
d5003c2190
Consider compilers used in static_library parents
...
Currently meson only considers what compiler/linker were used by a
Target's immediate sources or objects, not the sources of libraries it's
linked with by the link_with and link_while keywords. This means that if
given 3 libraries: libA which is C++, libB which is C, and libC which is
also C, and libC links with libB which links with libA then linking libC
will be attempted with the C linker, and will fail.
This patch corrects that by adding the compilers used by sub libraries
to the collection of compilers considered by meson when picking a
linker.
This adds a new process_compilers_late method to the BuildTarget class,
which is evaluated after process_kwargs is called. This is needed
because some D options need to be evaluated after compilers are
selected, while for C-like languages we need to check the link* targets
for language requirements, and link* targets are passed by kwargs.
This implementation is recursive, since each Target adds it's parent's
dependencies.
2017-09-20 08:59:26 -07:00
Thibault Saunier
96e24a50f9
Add cs_args as known args for csharp
2017-09-20 18:54:15 +03:00
Florian Zwoch
7e1caaf1cd
ninja: Generator is more informative on what it is doing.
2017-09-20 18:53:46 +03:00
Dylan Baker
59a90309ab
Fix error message for find_program if program cannot be found
...
Currently this raises an exception because exename is undefined.
2017-09-20 08:42:33 -07:00
Niklas Claesson
07dde545d9
Add @PLAINNAME@ and @BASENAME@ to arguments argument for Generator
...
Fixes #1282
2017-09-20 13:00:34 +02:00
Nirbheek Chauhan
140c463b01
Add detail to the command: kwarg of custom targets
2017-09-20 06:55:54 +00:00
Jussi Pakkanen
898b723ee5
Merge pull request #2331 from mesonbuild/winencode
...
Do not use universal newlines on old Python versions.
2017-09-19 22:05:11 +03:00
Ola x Nilsson
307b69b69a
Fix table in Compiler-properties
...
hotdoc requires a pipe character for the right edge
2017-09-19 21:45:40 +03:00
Jussi Pakkanen
1556b1bdb0
Merge pull request #2264 from jeandet/master
...
Some refactoring, introduction of listify function.
2017-09-19 21:20:02 +03:00
Alexis Jeandet
e553d0807b
Last round with listify function refactoring.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-09-18 22:25:34 +02:00
Alexis Jeandet
bf64cf569b
Gnome, pkgconfig, Qt4, Qt5 and windows modules slightly refactored.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-09-18 22:21:22 +02:00
Alexis Jeandet
55975f852e
Introduced extract_as_list.
...
Corrected code style and typo.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-09-18 22:21:22 +02:00
Alexis Jeandet
7549a39a17
Introduction of listify method. Test on build.py module to see benefits.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-09-18 22:21:22 +02:00
Jussi Pakkanen
9c834a4ecd
Merge pull request #2310 from hvenev/reconfigure-get_option
...
Fix get_option() for base options on reconfigure.
2017-09-18 20:42:38 +03:00
Guillaume Poirier-Morency
02ad00b982
ninja: Fix the dependency on the VAPI when 'vala_vapi' is used
2017-09-18 20:40:53 +03:00
Jussi Pakkanen
288ccb2c58
Run VS2010 tests in a German locale to catch codepage errors.
2017-09-18 20:34:48 +03:00
Jussi Pakkanen
df18c1ac98
Do not use universal newlines on old Python versions.
2017-09-18 20:33:07 +03:00
Jussi Pakkanen
076f3c53bd
Merge pull request #2263 from ximion/dlang
...
d: Add an easy way to use D-specific features
2017-09-18 20:23:56 +03:00
tense-du
0b0448f8f2
Fix getting meson page ( #2341 )
...
* Replaced obsolete tt tag
2017-09-18 20:13:46 +03:00
tense-du
bbda3c7adb
Replaced obsolete tt tag
2017-09-18 18:41:16 +03:00
Nirbheek Chauhan
7c2ae55fab
Revert "Revert "Merge pull request #1931 from centricular/use-patched-ninja""
...
This reverts commit 5eb64a6f3e
.
Let's try again, with a fixed Ninja by QuLogic.
2017-09-18 18:40:24 +03:00
Jussi Pakkanen
b9154dd07c
Added a page for reference tables.
2017-09-18 18:28:10 +03:00
Nirbheek Chauhan
5068f13a28
tests/common/159: Don't try to run 'echo'
...
It's not available on Windows. It was passing in the CI because bash
tools are available on AppVeyor by default.
2017-09-18 18:27:01 +03:00
Matthias Klumpp
c3c37fac38
docs: Document the D support
2017-09-17 21:36:23 +02:00
Matthias Klumpp
61db415d7f
d: Make feature names less verbose
2017-09-17 21:36:13 +02:00
Jan Tojnar
10cdb9ebc9
contributing.txt: Update link to FAQ ( #2330 )
2017-09-16 18:54:35 +05:30
Hristo Venev
56c566a38e
Fix get_option() for base options on reconfigure.
2017-09-15 21:56:46 +01:00
Hristo Venev
f2fc32069b
Add test for get_option(b_xxx) on reconfigure.
2017-09-15 18:24:26 +01:00
tense-du
a59175d1f3
Fix videos page ( #2321 )
...
* Removed duplicate title in doc theme.
* Removed stray lower than tag.
* Replaced obsolete frameborder attribute.
2017-09-15 11:34:47 +05:30
Jussi Pakkanen
19e22ac88a
Merge pull request #2216 from ebassi/yelp-linguas
...
Support LINGUAS for gnome.yelp() languages
2017-09-14 21:35:50 +03:00
Jussi Pakkanen
6fd2fab02c
Merge pull request #2319 from georgmu/cmake2meson-improvements
...
cmake2meson improvements
2017-09-14 18:30:18 +03:00
Nirbheek Chauhan
f04d141088
logging: Print location of log file on error
...
Similar to configure
Closes https://github.com/mesonbuild/meson/issues/2316
2017-09-14 18:29:30 +03:00