aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-09gtkdoc: Fix typo that made xml_files an array of arraysNirbheek Chauhan1-1/+1
2018-05-09introspect: Fix listing target files that are File objectsNirbheek Chauhan1-2/+7
2018-05-09docs: Add a warning about find_program().path()Nirbheek Chauhan1-3/+3
See: https://github.com/mesonbuild/meson/issues/3552
2018-05-09subprojects.md: document --wrap-mode Nirbheek Chauhan1-0/+29
Closes https://github.com/mesonbuild/meson/issues/3534
2018-05-09Reference-manual: compiler checksNirbheek Chauhan1-0/+6
Document that compiler checks are self-contained and do not add arguments from anywhere else.
2018-05-06gnome.gtkdoc: Allow passing file objects as xml_filesNirbheek Chauhan3-10/+16
If we pass a source files() object, we will look for it in the build directory, which is wrong. If we pass a build files() object (from configure_file()), we will find it in the build directory, and then try to copy it on top of itself in gtkdochelper.py getting a SameFileError. Add a test for it, and also properly iterate custom target outputs when adding to content files.
2018-05-05gnome: Use the header basename for #include in mkenums_simpleNirbheek Chauhan2-2/+2
Otherwise, when you use a File target, the value will be the full path to the header from the build root, which is not what anyone wants.
2018-05-05gnome: Update minimum glib version for gdbus-codegenNirbheek Chauhan1-3/+2
The fix has landed upstream, and will be in the next glib stable release. I have verified that it fixes the problem described in #3488 and that the 'frameworks/7 gnome' test passes now.
2018-05-04add linker flag to handle $ORIGIN on OpenBSDJasper Lievisse Adriaanse2-2/+5
2018-05-04gnome: Disable usage of new --body and --header argsNirbheek Chauhan2-5/+13
The new --body and --header args are broken because they do not allow the use of --output-directory to set the correct `#include "foo.h"` line in `foo.c`. The changes in the gdbus test case show this. Disabled till this can be fixed in glib. Closes https://github.com/mesonbuild/meson/issues/3488
2018-05-04Interpreter: don't flatten the arguments of various methodsMathieu Duponchelle5-21/+67
this fixes eg set_variable('foo', ['bar', 'baz']), which was previously erroring out complaining about the number of arguments. Closes #1481
2018-05-04No longer require duplicate gtest header install.Jussi Pakkanen1-3/+5
2018-05-03Merge pull request #3445 from MathieuDuponchelle/pypy_supportJussi Pakkanen7-5/+61
python module: make it work with pypy
2018-05-03python module: Move tests to test cases/unitNirbheek Chauhan6-1/+1
The tests are only run via unit tests, so that's where they should be.
2018-05-03python module: make it work with pypyMathieu Duponchelle2-4/+60
pypy installations don't usuallyy ship with pkg-config files, we thus need to replicate what their version of distutils does. In addition, we also try our best to build against other pythons that do not have pkg-config files.
2018-05-03Merge pull request #3474 from mesonbuild/dcppJussi Pakkanen14-16/+94
Can combine D and C++ in a single target.
2018-05-03Update minimum python version in README.mdMike Gilbert1-1/+1
Python 3.5 has been required since 0538009d30c0.
2018-05-02Can use C++ and FORTRAN in a single target. Closes #2685.Jussi Pakkanen4-1/+26
2018-05-02Can combine D and C++ in a single target. Closes #3125.Jussi Pakkanen10-15/+68
2018-05-02Update CI image to bionic.Jussi Pakkanen4-13/+13
2018-05-02pkgconfig: Don't expose internal libraries in .pc filesNirbheek Chauhan6-13/+26
Libraries that have been linked with link_whole: are internal implementation details and should never be exposed to the outside world in either Libs: or Libs.private: Closes https://github.com/mesonbuild/meson/issues/3509
2018-05-02Keep separator spaces in pkg-config declarations. Closes #3479.Jussi Pakkanen4-2/+37
2018-05-02docs: Added reference to pkg-config module page [skip ci]Roy Buitenhuis1-0/+2
2018-05-02Allow `required : false` for OpenMP dependencyDavid Seifert1-1/+7
* Currently `required : true` is implicitly assumed, making optional use of OpenMP not possible.
2018-05-01Always generate a new Product GUID. Closes #2485. [skip ci]Jussi Pakkanen1-1/+1
We are taking some shortcuts here. The WiX documentation says that you should keep the Product GUID the same for "small and minor" upgrades but change it for major ones. These are not defined in any way and a change of version number might, or might not, warrant a guid update. For simplicity we will always regenerate the Product GUID. Again we find that naming things is difficult since "product" in everyday language would mean "the application/library/software" and all different versions of it. In MSI installer terminology it means something vague between the two. https://www.firegiant.com/wix/tutorial/upgrades-and-modularization/
2018-05-01[skip ci] fixed broken link to repoinit.py script in wrap documentationAlexis Jeandet1-3/+3
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-05-01Add VT100 ANSI escape sequences for Windows 10.Isabella Muerte1-1/+15
This change still relies on the older 'ANSICON' environment check as a fallback, in the event we're on "not Windows 10". (Calling `SetConsoleMode` with unsupported values results in a 0 being returned)
2018-05-01Made depfixer more robust on OSX. Closes #3493.Jussi Pakkanen1-4/+10
2018-05-01Fix setting c_args and friends from command lineXavier Claessens3-18/+16
When passing more than one -Dc_args it should override the value instead of appending. This is how all other options works. Value should be split on spaces using shlex just like it does with CFLAGS environment variable. Fixes #3473.
2018-05-01 Allow custom_target do depend on indexed output of custom_target Niklas Claesson4-2/+27
Fixes: #3494
2018-04-30has_multi_link_arguments: Some compilers needs -Wl,--fatal-warningsXavier Claessens2-0/+16
ld does not treat wrong -z options as fatal by default.
2018-04-30Added Added Qt's private header support with pkg-configAlexis Jeandet2-11/+13
Just use the same approach than qmake to generate private headers path Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-29Merge pull request #3485 from xclaesse/warnlevelJussi Pakkanen6-42/+105
--warnlevel got renamed to --warning-level
2018-04-29adds Qt5 private headers [skip ci]Alexis Jeandet1-1/+1
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28Fixed private headers on OSX with framework stuffAlexis Jeandet2-29/+52
Removed Qt4 private headers test since it's hard to get Qt4 private headers installed on CI. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28qconfig_p.h isn't available on OSX :(Alexis Jeandet1-5/+2
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28really switch to qmake automatically if pkg-config failsAlexis Jeandet1-1/+1
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28[Qt module] Privates headers: added documentationAlexis Jeandet2-0/+8
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28[Qt module] Privates headers: Implemented private_headers optionAlexis Jeandet4-7/+41
This commit adds private_headers option in dependency method which tells QtDependency to add private headers include path to build flags. Since there is no easy way to do this with pkg-config only qmake method supports this, so with private_headers set qmake will always be used. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28[Qt module] Privates headers: Added failing test caseAlexis Jeandet1-0/+6
Meson doesn't provides yet a convenient way to include private Qt headers Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28Install generated gdbus header with old glib version too.Jussi Pakkanen3-2/+9
2018-04-27New argument: --profile-self for profiling performanceNirbheek Chauhan1-3/+16
Outputs two profile logs: one for the interpreter run and another for the backend-specific build file generation. Both are stored in meson-private in the build directory.
2018-04-27Passing --default-library=both should override project valueXavier Claessens3-2/+14
Looks like this has always been broken, had_argument_for() was checking if we have --default_library instead of --default-library.
2018-04-27Passing --bindir twice is fineXavier Claessens1-4/+2
Unit test was asserting that "meson --bindir=foo --bindir=bar" must succeed and "meson configure --bindir=foo --bindir=bar" must fail. There should be no difference between those 2 command lines. In this case it's fine to have it twice because there is no ambiguity, second overrides the first, that's done by python's argparse.
2018-04-27Fix --warnlevel being renamed to --warning-level in latest releaseXavier Claessens5-31/+86
2018-04-26Remove duplicated definition of -D cmdline argXavier Claessens3-8/+6
2018-04-27CCompiler: Cache result of get_library_dirs().Martin Hostettler1-1/+9
It is repeatedly used by e.g. guess_external_link_dependencies.
2018-04-27guess_external_link_dependencies: deduplicate search dirs and libraries.Martin Hostettler1-6/+7
Reduce speed impact of duplicated libs and pathes in the link command line. (fixes #3465)
2018-04-26Prettifying some output with pathlibNiklas Claesson2-24/+33
2018-04-26Merge pull request #3225 from filbranden/fixperms3Jussi Pakkanen17-16/+189
Introduce install_umask to determine permissions of files in install tree. Default it to 022