Commit Graph

4618 Commits

Author SHA1 Message Date
Rico Tzschichholz 8b8e1ee620 gnome: g-ir-scanner accepts multiple symbol-prefix arguments 2017-10-08 14:04:34 +03:00
Jussi Pakkanen 68bd64cd38 Prevent projects from directly grabbing files from other subprojects. 2017-10-08 13:52:10 +03:00
Jussi Pakkanen d2022f9c65 Merge pull request #2426 from dcbaker/submit/options-permitted-kwargs
options: Add a permitted_kwargs function
2017-10-07 18:09:13 +03:00
Corentin Noël 93d2ced31f Create the .po file with the `update_po` subcommand if it doesn't exist 2017-10-07 18:03:22 +03:00
Jan Niklas Hasse 7b36897ff9 Use get_default_include_dirs to detect BOOST_ROOT
This removes the need to specify BOOST_ROOT for cross-compilers.
2017-10-07 18:02:08 +03:00
Jussi Pakkanen a3e655d20d Package the Visual C runtime. Closes #2417. 2017-10-07 18:01:19 +03:00
Dylan Baker e8df59cc5f llvm: don't add --system-libs
On LLVM < 4.0 this adds linker arguments like -lm, which we don't want.

Related #2442, 2437
2017-10-07 18:00:57 +03:00
Nirbheek Chauhan 97cf0ec01b appveyor: Use a mirror for get-pip.py
pypa.io has an HSTS policy that forces http, and the https cert is
broken on Windows.
2017-10-06 14:25:33 +05:30
Nirbheek Chauhan e7bb122b22 appveyor: Attempt to fix MSYS/MinGW setup failure 2017-10-06 14:21:08 +05:30
TingPing fd774fcb43 docs: Use consistent whitespace for gnome kwargs 2017-10-05 12:11:03 -04:00
Jussi Pakkanen 295f8e14b1 Merge pull request #2413 from tintou/vala-target-dirs
Don't rely on only the basename to distinguish vala-source-file objects
2017-10-04 21:52:55 +03:00
David Strauss 52a4f19832 Update to not use deprecated mesonconf 2017-10-04 21:52:23 +03:00
Dylan Baker 7dfad54f06 options: Add a permitted_kwargs function
I've typo'd "value" for the last time, options needs a kwargs validator.
This validator is slightly different than the one used by the main
parser, since it operates on a much simpler representation than the
other one does, and they are not interchangeable.

This also changes the optinterpreter to use pop on 'type' and
'description' so that they're not passed to the validator as kwargs.
2017-10-04 09:53:06 -07:00
Dylan Baker 4e18483ff3 tests: fix option in case 140
Which fails after the next patch because it provides an invalid kwarg.
2017-10-04 09:53:06 -07:00
Jan Niklas Hasse a0c6d3dbb6 docs: Prettier screenshot in tutorial 2017-10-04 01:00:37 +03:00
Alistair Thomas d551dbff9a Use long form of valac options and make --basedir use relative path 2017-10-03 20:43:11 +02:00
Alistair Thomas 6483a0d846 Add additional directory depth tests to Vala test case 22 2017-10-03 20:43:02 +02:00
Corentin Noël 1320a98a33 Merge github.com:mesonbuild/meson into vala-target-dirs 2017-10-03 20:26:16 +02:00
Corentin Noël f13887b64a Reduce code complexity, fix nested array in files instruction 2017-10-03 18:25:07 +02:00
Nirbheek Chauhan 0c3d58baba Update Reference-manual.md 2017-10-03 06:57:46 +00:00
Nirbheek Chauhan f10b15930b Update Reference-manual.md
Fix documentation breakage from https://github.com/mesonbuild/meson/pull/2415
2017-10-03 05:49:24 +00:00
xarkes a28db4577a Fix typo and clarify library documentation 2017-10-03 01:15:30 +03:00
Jussi Pakkanen 9483875798 Merge pull request #2397 from mesonbuild/prebuilt
Better support for prebuilt shared libs
2017-10-02 19:09:08 +03:00
Mohammed Sadiq 35313c2a85 docs: Fix typo
Remove the quote before parens
2017-10-02 12:26:20 +01:00
Corentin Noël ac8d5f2156 Allow different directories for Vala files 2017-10-02 01:59:41 +02:00
Jussi Pakkanen ec45c29c9d Add rpath entries for all found libraries outside of system libraries. 2017-10-02 01:30:30 +03:00
Jussi Pakkanen cb3d980a1f Merge pull request #2282 from NickeZ/improve-boost
Improve boost
2017-10-02 00:09:04 +03:00
Jussi Pakkanen 357b34f915 Merge pull request #2375 from centricular/gnome-gir-fixes
Fix GNOME gir generation with lists of dependency lists
2017-10-02 00:04:18 +03:00
Patrick Griffis 893d101fff gnome: Add header kwarg to generate_gir()
This is a commonly used flag so lets make it more obvious.
2017-10-01 20:15:21 +03:00
Alexis Jeandet a9258923fa Added include directory argument for Qt's Moc which is needed to build plugins.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-10-01 20:12:25 +03:00
Nirbheek Chauhan bb0e18b738 Use listify and extract_as_list everywhere
They now flatten by default and unhold objects if required

Includes unit tests.
2017-10-01 22:27:48 +05:30
Niklas Claesson 4df8650560 Appveyor: Enable Boost tests where possible 2017-10-01 18:49:32 +02:00
Niklas Claesson bbdba876af Boost: Improve search algorithm
The new implementation will correctly pick boost from 3 possible
locations on windows and two locations on posix compatible OSs.

The new search algorithm also differentiates between debug and
release builds of Boost and multi or single threading builds.

It was also decided to map "Meson modules" to Boost software libraries
and not Boost modules since it there are a lot of options regarding
linking. Some modules can even be used either as headers-only or with
dynamic linking.

This commit also fixes a bug that prevented header-only use on Windows.

Fixes: #2274 #2239 #1803 #669
2017-10-01 18:49:27 +02:00
Niklas Claesson 09ccd0eeaa C/C++: Get default include dirs from compilers 2017-10-01 18:35:33 +02:00
Niklas Claesson 488e57332f VisualC: Add support for msvc toolset version 2017-10-01 18:35:33 +02:00
Liam Staskawicz ae532c807c backends: avoid extraneous trailing os.path.sep when joining paths
resolves #2336
2017-10-01 15:39:04 +03:00
Nirbheek Chauhan 7c4f0f97d3 tests: Always run ninja with -d explain
Will help us figure out the occasional ninja loops we see in our CI:

https://github.com/mesonbuild/meson/pull/2394#issuecomment-333340112
https://travis-ci.org/mesonbuild/meson/jobs/281637736
2017-10-01 15:38:34 +03:00
Nirbheek Chauhan 24e0774ace Always flatten in listify() since we always want that
All our kwargs take lists that must be flattened

Closes https://github.com/mesonbuild/meson/issues/2408
2017-10-01 12:18:57 +05:30
Nirbheek Chauhan 26dada3797 gnome: Flatten and unholder all dependencies
Otherwise lists-of-lists get ignored instead
2017-10-01 12:07:04 +05:30
Nirbheek Chauhan b0c40737bf tests/7 gnome: Test that GIR deps are flattened 2017-10-01 12:07:04 +05:30
Nirbheek Chauhan 3a63f0d63c interpreter: Add a new ObjectHolder class
Sets the held_object property and also implements a readable repr()
2017-10-01 12:07:04 +05:30
Jussi Pakkanen 4e42861467 Fix tests on OSX. 2017-10-01 01:59:09 +03:00
Jussi Pakkanen 1b442d11b4 Prevent projects from grabbing other projects' options. 2017-10-01 01:22:05 +03:00
Jussi Pakkanen 7d49d1d2d7 Merge pull request #2373 from leiflm/svn-wraps
introduce svn wrap support
2017-10-01 01:21:12 +03:00
Jussi Pakkanen ea5ae8ef27 Merge pull request #2313 from dcbaker/fix-2180
link_whole should be considered a source for targets
2017-10-01 01:19:05 +03:00
Jussi Pakkanen cb64a3f07a Fix MSVC builds. 2017-10-01 01:11:02 +03:00
Leif Middelschulte a90e47bd4f adds missing import of `Popen_safe` 2017-09-30 19:49:14 +02:00
Leif Middelschulte 3c36cf1d5e updates test svn-url to point to meson controlled repository 2017-09-30 19:47:38 +02:00
Leif Middelschulte 078527a744 As per jpakkane's suggestion use `Popen_safe` instead of `subprocess.getoutput`
Jussi suggested to use `Popen_safe` from meson's library for portability reasons.
2017-09-30 19:45:24 +02:00
Jussi Pakkanen b3362e350a Added release note snippet for prebuilt shared libs. 2017-09-30 18:25:33 +03:00