aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-05-22Remove unnecessary hierarchical layer.xcodeprojecttreeJussi Pakkanen1-10/+4
2021-05-22Remove top level sources entry as unnecessary.Jussi Pakkanen1-24/+6
2021-05-21Add meson.build files to pbxgroup.Jussi Pakkanen1-9/+31
2021-05-21Write project info in a tree structure rather than the current flat one.Jussi Pakkanen1-37/+97
2021-05-20vala: Test that adding C manually isn't requiuredDylan Baker1-1/+2
2021-05-19interpreter: Automatically add 'c' to languages when 'vala' is usedDylan Baker4-13/+7
This is so dumb, we can just insert C for you without you having to know that you're using C under the hood. This is nicer because: 1) Meson doesn't make the user add a language they're not explicitly using 2) If there was ever an implementaiton of Vala that didn't use C as it's assembly language, this wouldn't make any sense.
2021-05-19backends: use a set for processed targets instead of a dictDylan Baker2-4/+4
We're only interested in the keys, not in the value (which was always set to True), so a set is a better data structure anyway.
2021-05-19compilers: Add `get_debug_args` to base CompilerDylan Baker1-0/+4
This was missed, there should be an implementation in the base Compiler class, if for nothing else to help mypy
2021-05-19ninjabackend: Fix vala type annotationsDylan Baker1-24/+26
2021-05-19rust: override get_linker_always_argsDylan Baker2-2/+7
instead of opencoding what should be there in the rust compile rule
2021-05-19build: annotate can_compile_remove_sourcesDylan Baker1-1/+1
2021-05-19build: Simplify BuildTarget.process_sourcelistDylan Baker1-14/+14
2021-05-19interpreter: Pass unholdered sources into BuildTargetDylan Baker2-12/+16
The build level shouldn't be deal with interpreter objects, by the time they leave the intpreter they should be in the Meson middle layer representaiton
2021-05-19interpreter: Add docstring and fix types of source_strings_to_filesDylan Baker2-11/+24
2021-05-19.C files are now treated as C++ codeVolker-Weissmann4-6/+23
2021-05-18doc: Fix array syntax [skip ci]Tim McNamara1-1/+1
Adds a square bracket to create a valid array.
2021-05-18pkgconfig: Do not escape custom variablesXavier Claessens5-7/+52
We need to escape space in variables that gets into cflags or libs because otherwise we cannot split compiler args when paths contains spaces. But custom variables are unlikely to be path that gets used in cflags/libs, and escaping them cause regression in GStreamer that use space as separator in a list variable.
2021-05-18Merge pull request #8403 from dcbaker/submit/rust-fix-shared-internal-linkingJussi Pakkanen6-5/+88
Submit/rust fix shared internal linking
2021-05-18add cpu family cskyRandy Yates2-0/+2
2021-05-18Add a script to create macOS installer packages.Jussi Pakkanen5-41/+405
2021-05-18Add a rust test for internal c linkageDylan Baker6-5/+88
We have code to support this, but no tests. That seems pretty bad. And better yet, it doesn't work on MSVC in some cases.
2021-05-17ninjabackend: fix linking dynamic c libraries with rustDylan Baker1-1/+1
The correct name is "dylib" not "shared"
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