Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-11-01 | mesonbuild/module/gnome: remove unused variable | Dylan Baker | 1 | -1/+1 | |
2021-11-01 | modules/gnome: Use typed_pos_args for generate_vapi | Dylan Baker | 1 | -7/+2 | |
2021-11-01 | modules/gnome: use typed_pos_args for genmarshal | Dylan Baker | 1 | -4/+2 | |
2021-11-01 | modules/gnome: use typed_pos_Args for mkenums_simple | Dylan Baker | 1 | -3/+4 | |
2021-11-01 | modules/gnome: use typed_pos_args for mkenums | Dylan Baker | 1 | -3/+2 | |
2021-11-01 | modules/gnome: use typed_pos_args for gdbus_codegen | Dylan Baker | 1 | -4/+3 | |
2021-11-01 | modules/gnome: use typed_pos_args for gtkdoc_html_dir | Dylan Baker | 1 | -9/+5 | |
2021-11-01 | modules/gnome: use typed_pos_args for gtkdoc | Dylan Baker | 1 | -5/+2 | |
2021-11-01 | modules/gnome: use typed_pos_args for yelp | Dylan Baker | 1 | -6/+3 | |
2021-11-01 | modules/gnome: use noPosargs for compile_schemas | Dylan Baker | 1 | -3/+2 | |
2021-11-01 | modules/gnome: use typed_pos_args for generate_gir | Dylan Baker | 1 | -4/+4 | |
2021-11-01 | modules/gnome: use typed_pos_args for compile_resources | Dylan Baker | 1 | -29/+24 | |
2021-11-01 | modules/gnome: add some type annotations | Dylan Baker | 1 | -113/+161 | |
This is not complete, but it's a start. The rest will have to get finished as we go | |||||
2021-11-01 | modules/gnome: clean and sort dependencies | Dylan Baker | 1 | -11/+11 | |
2021-11-01 | build: Add type annotations to BuildTarget.get_all_link_deps | Dylan Baker | 1 | -1/+1 | |
2021-11-01 | build: Add annotations to CustomTarget.extra_depends | Dylan Baker | 1 | -2/+2 | |
2021-11-01 | build: Add a get_command method to Executable | Dylan Baker | 1 | -0/+7 | |
Since Executable can be used in places where ExternalProgram is, simply having a wrapper that gives them the same API is pretty useful. | |||||
2021-11-01 | modules: use IncludeDirs.to_string_list instead of open coding | Dylan Baker | 1 | -12/+3 | |
This both allows more cod re-use, and simplifies the code. | |||||
2021-11-01 | build: IncludeDirs extend `to_string_list` method to handle builddir | Dylan Baker | 1 | -2/+10 | |
2021-11-01 | build: Add type annotations for BuildTarget.include_dirs | Dylan Baker | 1 | -4/+4 | |
The gnome module uses these, so to be able to fully type that we need this. | |||||
2021-11-01 | interpreter/modules: ModuleReturnValue can hold ExecutableSerialisation | Dylan Baker | 2 | -3/+4 | |
The code for this exists and works, but the type annotations don't allow it. This fixes the annotations | |||||
2021-11-01 | modules: remove harmful forwarding init methods | Dylan Baker | 1 | -10/+5 | |
There is no reason for these inititializers to exist, all they do is defer to the parent initializer. Worse, since they are not type annotated thy prevent the parent type annotations from being used | |||||
2021-11-01 | interpreter: add type annotations for program_from_overrides | Dylan Baker | 1 | -1/+2 | |
2021-10-31 | Add 64-bit paths to check for unsupported Watcom cl.exe clones. | William D. Jones | 1 | -1/+4 | |
2021-11-01 | migrate python 3.5 compatible superclass variable annotations to 3.6 | Eli Schwartz | 2 | -8/+4 | |
As we now require python 3.6, we can declare their types without initializing them. | |||||
2021-11-01 | Revert "known Python 3.5 on windows workaround for subprocess(cwd=str(Path))" | Eli Schwartz | 1 | -2/+1 | |
This reverts commit c89aa2094170b2ffd7151187c1c092db2a178f44. We no longer support 3.5 so this can go. | |||||
2021-10-30 | delete PLATFORM env only if set | avitex | 1 | -2/+3 | |
fixes #8721 | |||||
2021-10-30 | Added warning if run_command is called without the check kwarg | Volker Weißmann | 1 | -1/+9 | |
2021-10-30 | Typo fixes (CustomTaget -> CustomTarget) | rusty-snake | 1 | -1/+1 | |
2021-10-30 | Typo fixes (CustomTaget -> CustomTarget) | rusty-snake | 1 | -1/+1 | |
2021-10-29 | Fix version requirement on Ninja feature. | Jussi Pakkanen | 1 | -1/+1 | |
2021-10-29 | Make environment objects hash deterministically. | Jussi Pakkanen | 2 | -3/+16 | |
2021-10-29 | Merge pull request #9375 from dcbaker/submit/windows-module-typing | Jussi Pakkanen | 3 | -55/+87 | |
Typing for the Windows module | |||||
2021-10-29 | Remove duplicated CEXE_MAPPING table | Xavier Claessens | 2 | -8/+4 | |
2021-10-29 | Fix "meson compile" not activating vsenv | Xavier Claessens | 1 | -2/+3 | |
setup_vsenv() was not propagating the return value, so build.need_vsenv was always False. | |||||
2021-10-28 | configure_file: upgrade deprecation message to FeatureDeprecated | Eli Schwartz | 1 | -2/+2 | |
install: false was only available since 0.50, so we should not warn people who support older versions to use something they cannot. Fortunately, we can do FeatureDeprecated for this -- and then it even gets summarized. Unfortunately, it's not well used, and certainly isn't here. | |||||
2021-10-28 | modules/gnome: use `install_dir = []` instead of false | Dylan Baker | 1 | -1/+1 | |
2021-10-28 | modules/gnome: fix missing install_dir, again, harder | Dylan Baker | 1 | -8/+10 | |
It turns out this could be missing in GResource*Target as well, due mostly to the same problem, side effects of mutating a shared dictionary; though it could also happen with a specific set of keywords given and other omitted. Fixes #9350 | |||||
2021-10-28 | mtest: accept very long lines | Paolo Bonzini | 1 | -1/+8 | |
Unless parsing TAP output, there is no strict requirement for "meson test" to process test output one line at a time; it simply looks nicer to not print a partial line if it can be avoided. However, in the case of extremely long lines StreamReader.readline can fail with a ValueError. Use readuntil('\n') instead and just process whatever pieces of the line it returns. Fixes: #8591 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | |||||
2021-10-27 | modules/gnome: ensure that `install_dir` is set | Dylan Baker | 1 | -8/+14 | |
The `mkenums` functions can have this unset if, and only if, the c file only variant is called. Due to side effects if the header file is generated then `install_dir` is ensured to be set for the c file. I have removed this side effect so that our tests actually cover this case. Fixes #9472 | |||||
2021-10-27 | Fix add_install_script() ignoring install_tag | Xavier Claessens | 1 | -0/+1 | |
Fixes: #9454 | |||||
2021-10-27 | Changing xc16's linker from 'xc16-gcc.exe' to 'xc16-gcc'. Windows will | georgev93 | 1 | -2/+2 | |
still find the correct linker and now linux will be able to use its xc16-gcc as the linker. | |||||
2021-10-27 | Fix crash when getting cuda options | Xavier Claessens | 1 | -14/+5 | |
We could have an OptionOverrideProxy of an OptionOverrideProxy, recursively. This fix is a minimal subset of the refactoring I did in https://github.com/mesonbuild/meson/pull/9394. Instead of faking UserOption we can just do a shallow copy of one and set a new value on it. Fixes: #9448 | |||||
2021-10-27 | wrap: fix support for git < 2.28 | Eli Schwartz | 1 | -1/+1 | |
both of these do the same thing: init -b <branchname> -c init.defaultBranch=<branchname> init The latter contributes to unreadably long lines of code, but has the advantage of working on older versions of git. Fixes #9449 | |||||
2021-10-27 | remove public export of private function | Eli Schwartz | 1 | -1/+0 | |
2021-10-27 | do not repeat magic regexes for cmake define replacements | Eli Schwartz | 1 | -2/+2 | |
We already have this magic string in mesonlib, and this should always have used the cmake@ format which is identical to the meson format other than the regex. | |||||
2021-10-27 | Revert "mark a couple of typing-only imports as noqa, to appease pyflakes" | Eli Schwartz | 2 | -6/+2 | |
This reverts commit 6cc1b8441c0cf7428e52bdf1cd541ea830a4eb83. The latest version of pyflakes learned to detect that correctly. | |||||
2021-10-27 | fix various flake8 whitespace errors | Eli Schwartz | 38 | -83/+81 | |
2021-10-26 | fix lgtm.com "Use of the return value of a procedure" | Eli Schwartz | 1 | -2/+3 | |
we return _log even though this entire family of functions returns None, because a side effect of returning is that the other version of the function is not run. We can do that more obviously, using an else clause that doesn't attach meaning to return values. | |||||
2021-10-26 | interpreter: Revert old path joining behavior (fixes #9450) | Daniel Mensinger | 1 | -1/+2 | |