aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-12d: Add easy way to use D-specific featuresMatthias Klumpp6-9/+153
Of course D compilers have different flags to set some important D-specific settings. This adds a simple method to change these flags in a compiler-agnostic way in Meson. This replaces the previous `unittest_args` method with a more generic variant.
2017-09-12Merge pull request #2288 from centricular/fix-test-regressionJussi Pakkanen4-2/+57
Fix regression in test definitions
2017-09-11interpreter: Always flatten when unholding arraysNirbheek Chauhan2-1/+2
Otherwise we might end up with wrapper holders in the Build object and pickling will then fail, defeating the purpose of the holder objects. Closes https://github.com/mesonbuild/meson/issues/2211
2017-09-11tests/common/48: Don't read newlineNirbheek Chauhan1-2/+2
To avoid platform-specific differences in git settings.
2017-09-11Merge pull request #2291 from centricular/fix-custom-target-includes-orderingJussi Pakkanen9-11/+37
backends: Add custom target inc dirs before target inc dirs
2017-09-11Add a test for the custom target incdirs changeNirbheek Chauhan7-2/+22
https://github.com/mesonbuild/meson/pull/2291
2017-09-11backends: Add custom target inc dirs before target inc dirsNirbheek Chauhan2-9/+15
Custom target include dirs must be overridable by target-specific include dirs otherwise in case of header name collisions, the user has no way to override this behaviour.
2017-09-10Merge pull request #2300 from mesonbuild/msixmlJussi Pakkanen1-87/+146
Create installer file with the XML module
2017-09-10Removed --cov from travis.yml since coverage is currently disabled.Jussi Pakkanen1-2/+2
2017-09-10Require installer version 5.0, which corresponds to Win 7 and up.Jussi Pakkanen1-1/+1
2017-09-10Fix installer generation on 64 bit Windows.Jussi Pakkanen1-5/+8
2017-09-10Add installer option to not install Ninja.Jussi Pakkanen1-29/+62
2017-09-10Delete XML string manipulation code.Jussi Pakkanen1-75/+15
2017-09-10Create WiX source file with the XML module rather than string manipulation.Jussi Pakkanen1-10/+93
2017-09-10Fix regression in test definitionsNirbheek Chauhan4-2/+57
Caused by #2236. Also add a test for this.
2017-09-09Remove coverage because pip is broken in Travis.Jussi Pakkanen2-16/+1
2017-09-07wrap-mode: Make the error output more usefulNirbheek Chauhan1-1/+9
Now it errors out while displaying the possible options See: https://bugs.python.org/issue25061 for native support
2017-09-06Merge pull request #2236 from trhd/envJussi Pakkanen3-2/+7
Fix a stack trace caused by environment variables in test setups.
2017-09-04gnome: Flatten the sources for generate_gir()Emmanuele Bassi1-1/+1
If we don't do that, the traversal of the sources list to generate the sources file for g-ir-scanner is going to explode with a Python backtrace like this one: File "/usr/lib/python3.5/site-packages/mesonbuild/modules/gnome.py", line 463, in generate_gir gir_filelist.write(os.path.join(srcdir, s) + '\n') File "/usr/lib/python3.5/posixpath.py", line 89, in join genericpath._check_arg_types('join', a, *p) File "/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types (funcname, s.__class__.__name__)) from None if the sources list contains a list.
2017-09-04Permit overriding find_program from the cross file.Jussi Pakkanen7-9/+102
2017-09-04Allow version labels with trailing dotsMichal Koutný1-1/+1
Fixes #1586
2017-09-04gnome.gdbus_codegen(): Add annotations keywordPatrick Griffis3-6/+39
Fixes #2123
2017-09-04install: Also ignore PermissionError for selinuxNirbheek Chauhan1-1/+1
When the user does not have permissions to run `selinuxenabled`, a PermissionError is raised instead of FileNotFoundError. Closes https://github.com/mesonbuild/meson/issues/2257
2017-09-04--unity flag needs {on,off,subprojects} parameterJan Niklas Hasse1-1/+1
2017-09-03pkgconfig: Document url keywordPatrick Griffis2-1/+2
Closes #2272
2017-09-01Merge pull request #1614 from fooishbar/cc-filter-argsJussi Pakkanen5-5/+59
Add Compiler.filter_arguments()
2017-09-01Add a regression test for test suites.Hemmo Nieminen2-0/+4
Ensure test setup environment variables can from now on be given also as strings.
2017-09-01Fix a stack trace caused by environment variables in test setups.Hemmo Nieminen1-2/+3
An example trace: [snip] > File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run > result = self.fn(*self.args, **self.kwargs) > File "/home/trhd/Projects/meson/mesonbuild/mtest.py", line 221, in run_single_test > child_env.update(self.options.global_env.get_env(child_env)) > AttributeError: 'dict' object has no attribute 'get_env'
2017-08-31Alphabetize compiler.compiles()Daniel Stone1-6/+6
2017-08-31Add Compiler.get_supported_arguments()Daniel Stone5-0/+54
Add a helper for the common pattern of: args_to_use = [] foreach arg : candidate_args if cc.has_argument(arg) args_to_use += arg endif endforeach Replaced with: args_to_use = cc.get_supported_arguments(candidate_args)
2017-08-31Use include-uninstalled for internal gir deps.Elliott Sales de Andrade2-1/+2
This stops g-ir-scanner from trying to search for the pkg-config file for an internal gir, which won't be available.
2017-08-31Removed duplicate title in doc theme.Tense_du1-1/+0
2017-08-31Try to use 2x the number of cores.Jussi Pakkanen1-0/+6
2017-08-31modules/gnome.py: Use a filelist for generate_gir()Chun-wei Fan1-4/+27
On Windows, one will face the issue of the 8192-character limit for each command line, so this will cause an issue when one is building items like GTK+ with introspection, because the g-ir-scanner command line will likely get too long, which will clearly break the build. This will affect all Windows builds. Make use of the --filelist option that is already in g-ir-scanner, and generate such a file list from the sources that are fed to generate_gir(), named as $(builddir)/$(target_id)/<NameSpace>_<NameSpaceVersion>_gir_filelist and using it during the build.
2017-08-31add support for cups dependencies (#2255)Iñigo Martínez7-2/+78
* add support for cups dependencies libcups has its own cups-config tool rather than using pkg-config. This adds support for cups-config, based on pcap-config and sdl2-config implementations. This change also includes the unit test case and documentation for cups dependency object implementation, and libcups2 dep to CI image.
2017-08-29d: Newer GDC versions can compile shared librariesMatthias Klumpp3-6/+15
Actually, GDC supports shared libraries since version 6.2, but on Debian there are still issues with that version due to the standard library not being compiled with PIC. Therefore, we make a very conservative assumption here and only enable the tests for GDC >= 7.0
2017-08-29trivial: Fix typosMatthias Klumpp1-2/+2
2017-08-29gnome: Ensure gir always works with asan, even if used together with ubsanMatthias Klumpp1-1/+1
This really resolves #1910 by making it also work in cases where asan and ubsan are used together via "-Db_sanitize=address,undefined".
2017-08-29gnome: Fix typo in gtkdoc_html_dir, so it returns the correct pathMatthias Klumpp2-2/+2
2017-08-28Create a proper 64 bit installer with WiX.Jussi Pakkanen1-4/+14
2017-08-27Merge pull request #2196 from arteymix/patch-4Jussi Pakkanen2-2/+14
python3: Fix 'sysconfig_path' for platform-dependant paths
2017-08-27Fix msi creation script to work on 64 bit Windows.Jussi Pakkanen1-2/+5
2017-08-26Merge pull request #2248 from thiblahute/csharpJussi Pakkanen6-1/+21
Make cs_args a known argument and handle c# external dependencies
2017-08-26Rewrapped more files.Jussi Pakkanen14-121/+440
2017-08-25ciimage: Add glib-sharp2 to our docker imageThibault Saunier1-0/+1
2017-08-24csharp: Take into account project and global argsThibault Saunier1-0/+2
2017-08-24c#: Handle external dependencies from .pc filesThibault Saunier4-1/+17
2017-08-24interpreter: Make cs_args a known argumentThibault Saunier1-0/+1
Avoiding warning about it when it is a well known one.
2017-08-24Merge pull request #2243 from thiblahute/csharpJussi Pakkanen3-3/+28
Patchset to allow using meson for gstreamer-sharp
2017-08-24Rewrapped some markdown files.Jussi Pakkanen7-76/+294