summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* modules/python: Do not error out if positional args are passednirbheek/fix-python-dependency-nopos-regressionNirbheek Chauhan2020-02-152-3/+8
| | | | | | Also update the documentation. Fixes https://github.com/mesonbuild/meson/issues/6470
* cmake: Fix crash when no C++ compiler is not installed (fixes #6559)Daniel Mensinger2020-02-151-46/+50
|
* docs: Update documentation about linker selectionNirbheek Chauhan2020-02-142-5/+23
| | | | We missed this in https://github.com/mesonbuild/meson/pull/6457
* Add unity block size option.Jussi Pakkanen2020-02-125-17/+46
|
* Refactor UserIntegerOption to work with BuiltinOption.Jussi Pakkanen2020-02-122-8/+8
|
* cmake: Add support for the new JSON trace formatDaniel Mensinger2020-02-122-15/+43
|
* unit tests: Ensure that --profile-self keeps workingNirbheek Chauhan2020-02-121-2/+3
|
* meson: unbreak --profile-selfMarcel Hollerbach2020-02-121-1/+1
| | | | This broke in 668610c0d2b0f3a66d96022eb57afe5b09c3a2b7.
* tests: Make the cups test more robustDaniel Mensinger2020-02-111-5/+5
|
* ci: Add Fedora and OpenSUSE imagesDaniel Mensinger2020-02-116-0/+106
|
* configure_file: Also copy timestamps to avoid useless rebuildsNirbheek Chauhan2020-02-112-4/+10
| | | | | If we always copy files over without timestamps, we're forcing a (probably unnecessary) rebuild. Also include a test for this.
* minstall: Make --only-changed less verboseNirbheek Chauhan2020-02-111-1/+5
| | | | | | | | | | | | When `--only-changed` is passed, we only want to know about files that were newly-installed. Everything else is noise. The full list can always be found in `install-log.txt` anyway. Sample output: ``` ninja: Entering directory `.' ninja: no work to do. Preserved 667 unchanged files, see meson-logs\install-log.txt for the full list ```
* test cases/python3/3 cython: fix dependency filesGerion Entrup2020-02-101-0/+1
| | | | | The Cython generation depends on cstorer.pxd as well, so add that as dependency.
* Exclude .hg* from dist tarballsRichard Laager2020-02-101-1/+10
| | | | | | | | | | | | | | | | | | Debian's lintian checker complaints when upstream tarballs contain an .hgtags file. This excludes ".hg[a-z]*". This is mostly consistent with the git handling in del_gitfiles() which deletes .git*. hg archive --help shows an example of -X ".hg*". However, instead of ".hg*", I have used ".hg[a-z]*" to keep the automatically added hg_archival.txt. This file may be useful to link the tarball to the Mercurial revision for either manual inspection or in case any code interprets it for a --version or similar. This also excludes .hgignore and other things like .hgflow, which seems desirable. Fixes #6575
* Remove vs2015 jobs as Azure will stop supporting it.Jussi Pakkanen2020-02-092-40/+5
|
* Merge pull request #6421 from dcbaker/zlib-system-depJussi Pakkanen2020-02-075-1/+97
|\ | | | | Add a "system" dependency for zlib
| * docs: Update dependency docs for zlibDylan Baker2020-01-311-0/+11
| |
| * docs: Add snippet for zlib system dependencyDylan Baker2020-01-311-0/+8
| |
| * tests: Add a test case for the zlib system dependencyDylan Baker2020-01-311-0/+23
| |
| * dependencies: Add a zlib system dependency for windowsDylan Baker2020-01-311-2/+20
| |
| * dependencies: Add system zlib method for freebsd and dragonflybsdDylan Baker2020-01-311-3/+8
| | | | | | | | | | | | | | I've tested this on FreeBSD, and dragonfly's userland is close enough I'm willing to call it good without testing. OpenBSD and NetBSD also have a zlib in their base configurations, but I'm not confident enough to enable those without testing.
| * dependencies: Add a zlib system dependency for macOSDylan Baker2020-01-312-1/+32
| | | | | | | | | | | | | | This comes pre-installed, but currently we don't have a way to detect it without relying on pkg-config or cmake. This is only valid with the apple clang-based compilers, as they do some special magic to get headers.
* | run_project_tests: Fix it to actually workDylan Baker2020-02-071-5/+10
| | | | | | | | | | | | | | | | | | | | This move the sorting logic into the TestDef class itself, which simplifies sorting them. Additionally it remove overcomplicated sort logic, because python strings are compared character by character, we don't need to do the split and cast to int, we know that realistically a maximum of 4 characters (the first 4 numbers) are going to be compared in most cases.
* | Make 'default_library' per-subproject builtin optionXavier Claessens2020-02-0611-26/+117
| | | | | | | | | | | | | | | | | | | | Currently it's just like if all builtin/base/compiler options are yielding. This patch makes possible to have non-yielding builtin options. The value in is overriden in this order: - Value from parent project - Value from subproject's default_options if set - Value from subproject() default_options if set - Value from command line if set
* | backends: Remove unused methodXavier Claessens2020-02-061-4/+0
| |
* | topbar HTML module listMichael Hirsch, Ph.D2020-02-061-21/+27
| |
* | html fs-module linkMichael Hirsch, Ph.D2020-02-061-1/+2
| |
* | add FeatureNewMichael Hirsch, Ph.D2020-02-062-1/+14
| |
* | add fs.stem()Michael Hirsch, Ph.D2020-02-063-2/+33
| |
* | doc: filesystem moduleMichael Hirsch, Ph.D2020-02-061-4/+8
| |
* | fs: add expanduser methodMichael Hirsch, Ph.D2020-02-063-5/+28
| | | | | | | | | | this should help users specify leading `~` in various Meson options and variables without refactoring lots of places inside Meson itself.
* | fs: add methods as_posix, is_absoluteMichael Hirsch, Ph.D2020-02-063-12/+101
| | | | | | | | | | | | | | | | | | | | fs: make exception specify method name fs: actually raise exceptions fs: resolve path e.g. /opt/foo/.. => /opt/foo fs: correct behavior of is_symlink
* | docs: explain the purpose of order-only deps for generated files [skip ci]Marc Herbert2020-02-061-5/+6
| | | | | | | | | | | | | | The documentation of "order-only" dependencies is limited and their various purposes are especially not clear. See issue #6391 for a recent example, search the internet for many more. So mention the particular purpose here while making the documentation barely longer.
* | Merge pull request #6161 from scivision/native_propertyJussi Pakkanen2020-02-0510-15/+111
|\ \ | | | | | | add meson.get_external_property()
| * | docMichael Hirsch, Ph.D2020-02-053-5/+5
| | |
| * | ci: properly handle cross/native casesMichael Hirsch, Ph.D2020-02-052-2/+6
| | |
| * | add get_external_property to replace get_cross_propertyMichael Hirsch, Ph.D2020-02-059-39/+81
| | |
| * | add native-file properties testsMichael Hirsch, Ph.D2020-02-055-7/+23
| | |
| * | add meson.get_native_property for native filesMichael Hirsch, Ph.D2020-02-054-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows Meson native-file [properties] to be used. This avoids the need to call meson from a script file or have a long command line invocation of `meson setup` The method meson.get_native_property('prop', 'fallback') is added. The native file can contain properties like ``` [properties] myprop1 = 'foo' mydir2 = 'lib/custom' ``` Then from within `meson.build` ```meson x1 = meson.get_native_property('myprop1') thedir = meson.get_native_property('mydir2', 'libs') ``` fallback values are optional
* | | depdenencies/qt: Second attempt to allow qt --no-framework on MacOS.nikolayp2020-02-051-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes qt can be installed not as framework on MacOS. One way to achieve this behaviour is to use conan package manager. Allow falling back to simple library search if framework was not found. In addition, allow to find the debug version of qt debug libraries which have "_debug" suffix added to them. Fixes #5091
* | | Merge pull request #6589 from dcbaker/wx-widgets-staticJussi Pakkanen2020-02-051-5/+21
|\ \ \ | | | | | | | | Wx widgets static
| * | | dependencies/ui: Honor static argument with wxwidgetsDylan Baker2020-02-051-2/+14
| | | | | | | | | | | | | | | | Fixes #6564
| * | | dependencies/ui: Add type annotations to WxDependencyDylan Baker2020-02-051-2/+6
| | | |
| * | | dependencies/ui: wxwidgets requires C++Dylan Baker2020-02-051-1/+1
| | | | | | | | | | | | | | | | so set the language field appropriately
* | | | Fix import dependency from dubMax2020-02-051-0/+8
| |/ / |/| |
* | | Merge pull request #6573 from michaelbadcrumble/add_sample_templatesJussi Pakkanen2020-02-058-59/+746
|\ \ \ | | | | | | | | Add new Meson sample templates
| * | | update test_templates in run_unittests.pyMichael2020-02-021-3/+21
| | | |
| * | | add feature noteMichael2020-02-021-0/+6
| | | |
| * | | update the init commandMichael2020-02-021-56/+80
| | | |
| * | | add new templatesMichael2020-02-025-0/+639
| | | |