aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-05-18Add a script to create macOS installer packages.Jussi Pakkanen5-41/+405
2021-05-15Visual Studio Address Sanitizer updatesPeter Harris2-1/+11
* Allow address sanitizer for Visual Studio 2019 version 16.9 Address Sanitizer was first supported with the current syntax in Visual Studio 16.9.0 (cl version 19.28.29910). * VS: Convert /fsanitize=address to project file setting
2021-05-15Add gnuXX stds to Objective C.Jussi Pakkanen1-1/+1
2021-05-13test:fortran:21: fix Windows by using configure_file(copy:)Michael Hirsch2-2/+2
2021-05-13Set up VS environment automatically when run.Jussi Pakkanen5-6/+85
2021-05-13little punctuation and add a phrase [skip ci]Mehmet Ali Baykara1-5/+5
Add the `second` to improve readability.
2021-05-13setup.cfg: update version metadata [skip ci]Michael Hirsch1-1/+1
Co-authored-by: Michael Hirsch <scivision@users.noreply.github.com>
2021-05-13interpreter: flatten environment() initial valuesXavier Claessens3-2/+8
Turns out listify() flattens by default, but stringlistify() cannot flatten... How do I realize this only now? Fixes: #8727
2021-05-12gnome: Fix gtkdoc generationXavier Claessens13-46/+127
install_scripts used to replace @BUILD_ROOT@ and @SOURCE_ROOT@ but it was not documented and got removed in Meson 0.58.0. gnome.gtkdoc() was relying on that behaviour, but it has always been broken in the case the source or build directory contains spaces. Fix this by changing get_include_args() to substitue paths directly which will then get escaped correctly. Add a unit test that builds GObject documentation which is where this issue has been spotted. Fixes: #8744
2021-05-12doc: Add example how to use devenvXavier Claessens1-0/+9
Fixes: #8758
2021-05-11Make objective C use C standard version. Closes #5495.Jussi Pakkanen6-4/+62
2021-05-10deactivate intrinsic functions if no optimizations are requestedAlexander Neumann1-1/+1
2021-05-08Set unittest backend with an argument rather than an envvar.Jussi Pakkanen2-5/+18
2021-05-08modules/fs: support FileOrString argumentsFlorian Fischer3-27/+75
With this change File objects created with the builtin files() function can be used with the fs submodule like normal strings. All methods that seem reasonable support FileOrSting arguments. For example fs.exists() still only takes str arguments because meson already ensures that File objects do exist when creating them with files(). Each user facing function of the fs module has an additional FeatureNew check when used with File objects. The test cases for fs are extended appropriately with tests for File objects.
2021-05-08interpreter: Skip not_found_message and include_type in cache idXavier Claessens2-1/+8
2021-05-08interpreter: 'embed' kwarg is only valid in python moduleXavier Claessens2-2/+1
2021-05-08gnome: improve dependency lookup of G-IRoss Burton1-4/+4
Cross-compiling and generating gobject-introspection isn't trivial, but with wrapper scripts that call qemu-user it's perfectly doable[1]. Currently looking up the gobject-introspection pkgconfig is done as a native dependency, which means in cross-compilation environments this is not the right paths (wrong library path, for example). Solve this by generalisiing _get_native_dep() to _get_dep(native) and asking for the host gobject-introspection instead. [1] https://git.yoctoproject.org/cgit.cgi/poky/tree/meta/recipes-gnome/gobject-introspection/
2021-05-08test cases: Add test ensuring that -include in gcc won't break pchMarco Trevisan (Treviño)4-0/+36
This is just forcing the usage of -include as c_args, even though this particular case can happen easily when this is provided via a dependency cflags. We also ensure that both the headers are included by using locale definitions.
2021-05-08ninjabackend: Add pch includes as early as possible not to be overriddenMarco Trevisan (Treviño)1-4/+18
When pch are used for a target meson will make the compiler to include the pre-compiled header. While this is useful, this needs to happen before any other header has been included, otherwise: 1) we won't take advantage of pch for anything else previously included 2) gcc will just fail as it won't even try to look for a pre-compiled header in this case [1] This case can happen quite a easily when a dependency provides an included header in its cflags. As per this, split _generate_single_compile() in two phases, one is responsible of initializing the compiler data, while the other is defining commands for the context. In this way, when pch can be used, we can insert the pch inclusion earlier than any other provided by the target. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100462
2021-05-08Fix python exception thrown for invalid resource pathNellie Zhang1-1/+1
If an invalid resource path is specified, then an uncaught python exception occurs, and a backtrace is shown. Throw a MesonException instead to produce a cleaner error message.
2021-05-06syntax-highlighting: vim: add myself as a maintainerLiam Beguin3-0/+3
Add myself as a maintainer of these files since I'll be keeping them in sync with the Vim repository. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2021-05-06syntax-highlighting: vim: fix setting cpoLiam Beguin1-1/+1
Since 'cpo' is global, use `set` instead of `setlocal`. See: b66f0372cc11 Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2021-05-03Clarify incorrect configuration format messageNellie Zhang2-4/+4
Print the path and line where the problem occurred to make it more clear what the error message means.
2021-05-02Clean up unused importsRalf Gommers2-4/+2
2021-05-02Use sanity_check_impl for objc/objppRalf Gommers3-48/+5
This gets rid of compile warnings, and simplifies the code. Note that `work_dir` in sanity_check_impl was incorrect, it was used both to prepend to file names and as cwd=work_dir argument to Popen. This is fixed here. Closes gh-7344
2021-05-02Add validation for --only in `run_project_tests.py`Ralf Gommers1-1/+3
This now gives a clear error rather than silently passes for unrecognized categories, like: python run_project_tests.py --only nonexisting or python run_project_tests.py --only objc # should be 'objective c'
2021-05-02Document how to run the wrap valídator. [skip ci]Jussi Pakkanen1-6/+12
2021-05-02Bump version number for new development.Jussi Pakkanen1-1/+1
2021-05-02Release 0.58.0.0.58.0Jussi Pakkanen30-326/+360
2021-05-01Do not accidentally format files when only checking if they are formatted.Jussi Pakkanen2-4/+10
2021-04-29Xcode: fix project cleaning.Jussi Pakkanen1-2/+2
2021-04-28doc: update syntax description of immutabilityAlexander Lyashuk1-2/+4
"Stored by value" is more correct way to explain that example. Mutable vs immutable means that you cannot mutate the value (e.g. list vs tuple in Python), and the example shows that `var2` is actually mutable. Copying/storing a reference vs value is what what matters in the assignment, in Python `a=b` means `a` and `b` are references to the same list, while in meson `a=b` copies the value of `b` into `a`.
2021-04-26Bump version number for rc1.0.58.0.rc1Jussi Pakkanen2-2/+2
2021-04-26Add snippet about Xcode. [skip ci]Jussi Pakkanen1-0/+4
2021-04-26Condense test directory names.Jussi Pakkanen1231-102/+102
2021-04-26Update CUDA Toolkit driver version table.Olexa Bilaniuk1-0/+2
2021-04-26Merge pull request #8680 from dcbaker/submit/wrap-mconf-outputJussi Pakkanen1-8/+55
Wrap mconf output
2021-04-26Fix issue where multiple dist files were not being produced for comma ↵Tristan Partin2-2/+25
separated formats value
2021-04-26introspection: export all sources for custom targetsJason Francis3-9/+30
Also adds some test cases for source files in target_sources.
2021-04-26Add subprojects purge wrap-git coverageTristan Partin2-9/+14
2021-04-26store the list of initializes subprojects in the coredata structureDylan Baker5-4/+18
We need to konw on rconfigure which options have already bee set not just for the super project, but also for the subproject. However, using first_invocation is not sufficient, as a reconfigure could add a new subpproject that wasn't present before, and we need to initialize that project's builtins.
2021-04-26Interpreter: Fallback when required is false but forcefallback is trueXavier Claessens6-8/+51
2021-04-26Add 'subprojects purge' commandTristan Partin3-4/+109
This will help facilitate cache busting in certain situations, and replaces hand-rolled solutions of writing a length command to remove various files/folders within the subprojects directory.
2021-04-26Merge if and else tests to a single project.Jussi Pakkanen3-12/+12
2021-04-25Xcode: make Swift projects work.Jussi Pakkanen5-8/+15
2021-04-25Xcode: add objective C++ flags to plain C++ because Xcode requires it.Jussi Pakkanen1-1/+3
2021-04-25Xcode: add objective C flags to plain C because Xcode requires it.Jussi Pakkanen2-5/+10
2021-04-24Xcode: some more skips.Jussi Pakkanen1-0/+5
2021-04-24Xcode: fix linking to customtargetindex objects.Jussi Pakkanen4-19/+58
2021-04-23Xcode: one more skip.Jussi Pakkanen1-0/+4