aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-04-26Merge pull request #3372 from NickeZ/vs-sol-foldersJussi Pakkanen3-24/+80
Use visual studio solution directories
2018-04-25Add install_umask to list of options of `meson configure`Filipe Brandenburger1-1/+1
Tested: $ ./meson.py configure --help [...] --install-umask INSTALL_UMASK Default umask to apply on permissions of installed files (default: 022).
2018-04-26interpreter: Verify permitted kwargs on all methodsXavier Claessens3-65/+183
2018-04-25Wrap-git files can have tags as well as commit ids. [skip ci]Jussi Pakkanen1-3/+3
2018-04-25tests: Add the same kind of tests for configure.Dylan Baker1-1/+29
2018-04-25Tests: Add some tests for mixing -Dfoo and --fooDylan Baker3-0/+37
These are at least some of the tests that really deserved to be written for 78e37c495326325ae003683411971779291f8324, but I was lazy.
2018-04-25Fix two test casesNiklas Claesson2-4/+4
2018-04-24Tweak some 0.46 release note language [skip ci]Nirbheek Chauhan1-26/+30
2018-04-24Users.md: Add bolt [skip ci]Nirbheek Chauhan1-0/+1
2018-04-23Fix syntax error in tests common/22, 64 and 132Jan Alexander Steffens (heftig)3-3/+3
Fixes commit c8ee45cf15f1a3daefbff519fcb5cc9caa558379. Fixes #3454.
2018-04-23Bump version number for new development. [skip ci]Jussi Pakkanen1-1/+1
2018-04-23docs: Fix syntax highlighting in 0.46.0 notesTingPing1-5/+6
2018-04-23Fix section headers in 0.46 release note [skip ci]Jon Turney1-1/+6
2018-04-23Updated version number for new release.0.46.0Jussi Pakkanen33-290/+324
2018-04-23Skip snippet validation if docs dir does not exist.Jussi Pakkanen1-0/+1
2018-04-23Use the correct file path. Not the wrong one.Jussi Pakkanen1-1/+1
2018-04-23Final encoding fix.Jussi Pakkanen1-1/+4
I sincerely hope sufficient amounts of goats have now been sacrificed at the altar of Debian Locales so things will actually work and I can get to sleep.
2018-04-23If printing debug printing fails, try again in pure ASCII.Jussi Pakkanen1-2/+10
2018-04-22Explicitly open log files in utf-8.Jussi Pakkanen1-2/+2
2018-04-22Merge pull request #3446 from MathieuDuponchelle/python_module_with_docJussi Pakkanen2-20/+72
modules/python: add some more options around path and config_vars
2018-04-22Python module: update documentation for new APIMathieu Duponchelle1-7/+33
2018-04-21Add more tests for multi-line strings and update docsNirbheek Chauhan4-13/+26
2018-04-21Remove escaping for triple-quoted stringsNiklas Claesson2-20/+4
Fixes #3429
2018-04-21modules/python: add some more options around path and config_varsHavard Graff1-13/+39
What is actually defined here varies wildly on different python-versions for different platforms. On my python2.7 on Windows len(sysconfig.get_config_vars()) returns 17, whereas in my Ubuntu that number is 517! Hence it is useful to be able to check which keys are available, as well as allowing specifying a default option.
2018-04-21gnome: If pkg-config is not found, assume glib is 2.54 (#3443)Nirbheek Chauhan1-2/+7
* gnome: If pkg-config is not found, assume glib is 2.0 Checking the pkg-config file to confirm tool versions is a hack, and should eventually be replaced with checking the actual versions of the tools. * gnome: Actually assume glib version is 2.54 if not found It is actually not possible to build most projects with the GNOME module if your glib is older, particularly genmarshal and gdbus-codegen generate unusable output without newer arguments that were added for Meson.
2018-04-21ninja backend: Fix shared library symbols pathNirbheek Chauhan1-3/+4
The entire subdirectory was getting duplicated, which was exceeding the max path limit in Python on Windows and causing build failures. Example: subprojects/gst-plugins-bad/gst-libs/gst/uridownloader/subprojects@gst-plugins-bad@gst-libs@gst@uridownloader@@gsturidownloader-1.0@sha/subprojects/gst-plugins-bad/gst-libs/gst/uridownloader/gsturidownloader-1.0-0.dll.symbols This path is too long and opening it will cause a FileNotFoundError on Windows.
2018-04-21Fix install checks when cross-compiling.Elliott Sales de Andrade1-10/+9
It checks the build machine for the correct extensions of resulting binaries, but it should be checking the host machine.
2018-04-21Fix Fortran dep hack when cross-compiling.Elliott Sales de Andrade1-6/+6
2018-04-21Don't fail on not-required not-found deps in forcefallback modeNirbheek Chauhan4-7/+16
This involves the creation of a new dummy NotFoundDependency.
2018-04-20docs: Update gnome.gdbus-codegen docsNirbheek Chauhan1-3/+6
2018-04-20gnome: gdbus-codegen add a `sources:` kwargNirbheek Chauhan2-9/+12
It accepts multiple XML files, not just one. For example, glib uses it that way.
2018-04-20Rename common tests to remove numeric duplicates (#3425)Aleksey Filippov8-0/+0
2018-04-20regression: pkgconfig module: Fix Fix regression in Requires.private generation.Martin Hostettler2-2/+9
The fix for Requires generation in #3406 missed a second code path with the same problem. Passing a pkgconfig dependency to requires would produce Q, t, 5, C, o,r, e' instead of 'Qt5Core'. This was introduced in 8efd940.
2018-04-20Merge pull request #3404 from xclaesse/extract-recursiveJussi Pakkanen8-61/+101
extract_all_objects(): Recursively extract objects
2018-04-19cache the generated headers for each targetBruce Richardson1-0/+3
Once we calculate the generated headers for a target we can cache them to speed up future calls for that target.
2018-04-19CCompiler: Do not call to_native() twiceXavier Claessens1-1/+1
compile() method already does it so links() and compiles() shouldn't do it too. This fix regression introduced in 3d91a08b. Closes #3431
2018-04-18extract_all_objects: Add 'recursive' keyword argumentXavier Claessens6-7/+37
To maintain backward compatibility we cannot add recursive objects by default. Print a warning when there are recursive objects to be pulled and the argument is not set. After a while we'll do pull recursive objects by default.
2018-04-18extract_all_objects(): Recursively extract objectsXavier Claessens3-10/+16
Fixes #3401
2018-04-18Fix using object extracted from a unity buildXavier Claessens4-51/+55
- determine_ext_objs: What matters is if extobj.target is a unity build, not if the target using those objects is a unity build. - determine_ext_objs: Return one object file per compiler, taking into account generated sources. - object_filename_from_source: No need to special-case unity build, it does the same thing in both code paths. - check_unity_compatible: For each compiler we must extract either none or all its sources, taking into account generated sources.
2018-04-18Add release-notes snippet for install_umaskFilipe Brandenburger1-0/+17
2018-04-18Add a unit test for install_umask.Filipe Brandenburger9-0/+106
This test copies a src tree using umask of 002, then runs the build and install under umask 027. It ensures that the default install_umask of 022 is still applied to all files and directories in the install tree.
2018-04-18Update default of install-umask to 022Filipe Brandenburger3-3/+5
And, with that, update the test cases that checked that preserving the original permissions worked to set install_umask=preserve explicitly in those projects' default_options. Tested: ./run_tests.py
2018-04-18Add new builtin option --install-umaskFilipe Brandenburger4-13/+61
This option controls the permissions of installed files (except for those specified explicitly using install_mode option, e.g. in install_data rules.) An install-umask of 022 will install all binaries, directories and executable files with mode rwxr-xr-x, while all data and non-executable files will be installed with mode rw-r--r--. Setting install-umask to the string 'preserve' will disable this feature, keeping the permissions of installed files same as the files in the build tree (or source tree for install_data and install_subdir.) Note that, in this case, the umask used when building and that used when checking out the source tree will leak into the install tree. Keep the default as 'preserve', to show that no behavior is changed and all tests keep passing unchanged. Tested: ./run_tests.py
2018-04-18gdbus_codegen: Fix install_dir parameterIñigo Martínez1-1/+1
The `install` parameter that is present in the `permittedKwargs` annotation is wrong. The correct parameter name, which is also consistent with the rest of functions in the `gnome` module, is `install_dir`.
2018-04-18Update 'manual tests/2 multiwrap' libpng dependency to 1.6.34Aleksey Filippov1-7/+7
1.6.17-6 has a bug with missing -lm linking on ArchLinux.
2018-04-17Use visual studio solution directoriesNiklas Claesson3-21/+77
This implements support for visual studio solution directories. Projects will by default be put into directories that map their sub-directory name in the source folder. No directories are created if `--layout=flat` is used. Fixes: #2524
2018-04-17Fix vs flat layout bugNiklas Claesson1-4/+4
2018-04-18Merge pull request #3314 from sarum9in/test_dependsJussi Pakkanen8-11/+87
Add test(depends) keyword parameter
2018-04-18Renamed test dirs so numbers are sequential.Jussi Pakkanen28-1/+1
2018-04-18Made Python module match the new init interface.Jussi Pakkanen1-4/+4