aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-12-10Updated version number for new release.0.44.0Jussi Pakkanen21-154/+158
2017-12-10Merge pull request #2745 from dcbaker/submit/haikuJussi Pakkanen8-44/+89
small fixes for haiku
2017-12-10Merge pull request #2697 from mesonbuild/custom-target-depends-serializeJussi Pakkanen13-42/+267
custom target: Consider all build depends while serializing
2017-12-10appveyor.yml: Use MSYS2-MinGW Python for testsNirbheek Chauhan1-15/+15
Fix MemoryError in python3 module: https://ci.appveyor.com/project/jpakkane/meson/build/4334/job/aowc3iiq8yfs02bi It's probably caused by improper mixing of MT and non-MT libraries, but this is indicative of how people use Meson in MSYS2 anyway.
2017-12-09dependencies: Don't use NotImplementedError for invalid methodsNirbheek Chauhan2-2/+26
Using NotImplementedError throws an ugly traceback to the user which does not print the line number and other information making it impossible to figure out what's causing it. Also override it for internal dependencies because self.name is "null" for them.
2017-12-10dependencies: Fix detection of link args on MSYS2Nirbheek Chauhan1-6/+31
The sysconfig config variables are different on MSYS2 and the paths are also different. We now also use the full path to the import or static library instead of using -Lfoo -lpython35 etc. Also obey the value of the 'static' keyword argument.
2017-12-10dependencies: Fix detection of Python arch on MSYSNirbheek Chauhan1-4/+27
sysconfig.get_platform() returns 'mingw' with MSYS2, so we need to use some other method; in this case I chose to use the CC that Python was compiled with, which is a relatively reliably indicator unless people start using Python on Windows compiled with Clang or something.
2017-12-09dependencies: Handle /usr/bin/env shebangs on HaikuNirbheek Chauhan1-31/+54
/usr/bin/env does not exist on Haiku since there's no /usr. The actual location is /bin/env. Detect that case and directly use the interpreter being passed to `env` in the shebang. Also reorganize the Windows special cases which does the same thing.
2017-12-09Touch up install_dir() documentationErnestas Kulik1-5/+1
It no longer removes the target tree before copying files.
2017-12-09Check for more errors when executing subprocess. (#2746)behlec1-4/+10
2017-12-09Fix typo in release note snippet for get_unquotedJon Turney1-2/+2
Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
2017-12-07Fix `array` type nameEric Engestrom3-4/+4
c9351ce30c03d107279090da7825096951a705d3 introduced the type as `array`, so mintro should expose it under the same name. (while at it, rename test 169 to be coherent)
2017-12-07Improve error handling when failing to execute program. (#2743)behlec1-1/+4
2017-12-07docs: Add haiku to reference tableDylan Baker1-1/+2
2017-12-07tests: Add haiku to get define testDylan Baker1-0/+3
2017-12-07haiku: do not add pthread argumentsDylan Baker5-12/+30
Haiku has pthreads, but they are part of the standard C library, and do not need either special compiler or linker flags.
2017-12-07Renamed UserStringArrayOption to UserArrayOption for short.Jussi Pakkanen5-13/+12
2017-12-06Add C++17 flags to GCC and Clang.Jussi Pakkanen2-5/+7
2017-12-06Silence git stdout messages.Jussi Pakkanen1-3/+5
2017-12-06Fix duplicated test case 168Xavier Claessens2-0/+0
2017-12-05Merge pull request #2731 from mesonbuild/disablerJussi Pakkanen8-11/+233
Created disabler object type
2017-12-05Added documentation for disabler objects.Jussi Pakkanen4-0/+112
2017-12-05Document and improve not-found dependency objectsJon Turney4-4/+24
Document dependency('', required:false) usage. Avoid emitting 'Dependency found: NO'.
2017-12-04Created a new disabler type.Jussi Pakkanen4-11/+121
2017-12-03Minor fixes.Jussi Pakkanen6-1/+1
2017-12-03Fix path for str arguments to depend_filesJoergen Ibsen6-2/+28
Fixes #2633
2017-12-03Boost: Pick correct versionNiklas Claesson1-10/+10
If many binary packages are installed, pick the one built with the correct toolset. Fixes #2532
2017-12-03Merge pull request #2638 from jibsen/use-value-regexJussi Pakkanen4-5/+36
Use regex to substitute template strings
2017-12-03Merge pull request #2663 from inigomartinez/pkg-config-define-variableJussi Pakkanen7-14/+28
dependencies: Allow pkg-config to define variables
2017-12-03Fix string format recursive replaceJoergen Ibsen2-3/+12
Also error on placeholder index out of range.
2017-12-03Merge pull request #2703 from mesonbuild/msvc-library-search-fixesJussi Pakkanen8-41/+99
Various MSVC library search fixes
2017-12-03Merged array option branch.Jussi Pakkanen7-50/+161
2017-12-03Renamed test dir to avoid duplicates.Jussi Pakkanen2-0/+0
2017-12-03String arguments can permit arbitrary string valuesJussi Pakkanen6-28/+81
by leaving out the choices keyword.
2017-12-03unit tests: Skip coverage properly with clangNirbheek Chauhan1-2/+3
2017-12-03dependencies: Always convert MinGW paths to MSVC on WindowsNirbheek Chauhan1-4/+5
The MinGW toolchain can read MinGW paths, but Python cannot and we sometimes need to parse the libs and cflags manually (for static-only library searching, for instance). The MinGW toolchain can always read Windows paths with `/` as path separater, so just use that.
2017-12-03unit tests: Fix test_compiler_detection on MinGWNirbheek Chauhan1-4/+5
The compiler is x86_64-foo-bar-gcc/g++, so also check for that.
2017-12-03linkers: Return a Copy of VisualStudioLinker always_argsNirbheek Chauhan1-2/+2
Otherwise people will accidentally append to it.
2017-12-03tests: Fix static library linking on MSYS2-MinGWNirbheek Chauhan1-8/+14
The .a library was being built with `ar` which is not the right static archiver, it's supposed to be something like x86_64-w64-mingw32-ar or whatever the target-triple is. Try using the built-in static linker detection instead of doing it manually.
2017-12-03dependencies: Also convert MinGW compile argsNirbheek Chauhan1-16/+29
For the same reason as the library paths.
2017-12-03dependencies: Pass language to PkgConfigDependencyNirbheek Chauhan3-10/+22
Also try harder to find a compiler that dependencies can use. This means that in C++-only projects we will use the C++ compiler for compiler checks, which can be important.
2017-12-03unit tests: Remove all instances of FakeEnvironmentNirbheek Chauhan2-12/+5
We don't need to use that, and it causes build failures when code actually uses the environment.
2017-12-03find_library: Prefer .dll.a and .lib over .dll for sharedNirbheek Chauhan1-1/+3
We can't know if the .lib is a static or import library, but that's a problem in general too. The only way to figure out if a specific file is an import or a static library is to dump its symbols and check if it starts with __imp or not. Even then, some libs are hybrid import and static, i.e., they contain references to DLLs for some symbols and also provide implementations for other symbols so this is a difficult problem. Closes https://github.com/mesonbuild/meson/issues/2659
2017-12-03dependencies: Convert /c/foo/bar paths to C:/foo/barNirbheek Chauhan2-1/+30
MSVC cannot handle MinGW-esque /c/foo paths, convert them to C:/foo. We cannot resolve other paths starting with / like /home/foo so leave them as-is so the user gets an error/warning from the compiler/linker. These paths are commonly found in pkg-config files generated using Autotools inside MinGW/MSYS and MinGW/MSYS2 environments. Currently this is only done for PkgConfigDependency.
2017-12-03Merge pull request #2618 from mesonbuild/osxlinkerfixesJussi Pakkanen6-14/+49
Fix many things have have been slightly broken in OSX
2017-12-03vala: add stubs for thread flag methodsErnestas Kulik1-0/+6
As the Vala compiler does not define thread_flags() and thread_link_flags(), depending on threads in any capacity will cause Meson to fail. Fixes #2720.
2017-12-03Fix OSX CI. This is a bit of a hack but needs to be done. :(Jussi Pakkanen1-1/+1
2017-12-02Reformatted and fixed running doc.Jussi Pakkanen1-22/+80
2017-12-02Merge pull request #2390 from dcbaker/submit/options-listJussi Pakkanen11-20/+208
Add an array type to user options
2017-12-02tests/python/4: Test that custom target depends add PATHNirbheek Chauhan7-0/+142