Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix typoed vs backend token | Eli Schwartz | 2021-11-01 | 1 | -1/+1 | |
| | ||||||
* | coverage generator: obey the documentation and only generate supported outputs | Eli Schwartz | 2021-11-01 | 3 | -36/+44 | |
| | | | | | | | | | | | | | We say: > If version 4.2 or higher of the first is found, targets coverage-text, > coverage-xml, coverage-sonarqube and coverage-html are generated. But this is totally untrue. Make it true, by actually checking (and not generating broken coverage commands when older versions of gcovr are found). Fixes #9505 | |||||
* | modules/gnome: don't use dict.keys() to test membership | Dylan Baker | 2021-11-01 | 1 | -2/+2 | |
| | | | | | This is slower than looking in the dictionary, as the dict lookup is O(log n), while keys() is O(n). | |||||
* | modules/gnome: use textwrap.dedent | Dylan Baker | 2021-11-01 | 1 | -35/+44 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python is a whitespace significant language, changing indent level implies that scope is changing. So when a string like ```python def foo(): a = ''' somthing ''' return a ``` It's visually misleading. Couple that with folding editors like vim getting utterly confused by this, and it turns into a real pain. Using textwrap.dedent allows us to get rid of that: ```python def foo(): a = texwrap.dedent( ''' something ''') return a ``` But we still get the same result | |||||
* | modules/gnome: use envconfig for VAPIGEN | Dylan Baker | 2021-11-01 | 2 | -4/+2 | |
| | | | | | we have a mechanism for doing "this could be an environment variable" let's use that. | |||||
* | mesonbuild/module/gnome: remove unused variable | Dylan Baker | 2021-11-01 | 1 | -1/+1 | |
| | ||||||
* | modules/gnome: Use typed_pos_args for generate_vapi | Dylan Baker | 2021-11-01 | 1 | -7/+2 | |
| | ||||||
* | modules/gnome: use typed_pos_args for genmarshal | Dylan Baker | 2021-11-01 | 1 | -4/+2 | |
| | ||||||
* | modules/gnome: use typed_pos_Args for mkenums_simple | Dylan Baker | 2021-11-01 | 1 | -3/+4 | |
| | ||||||
* | modules/gnome: use typed_pos_args for mkenums | Dylan Baker | 2021-11-01 | 1 | -3/+2 | |
| | ||||||
* | modules/gnome: use typed_pos_args for gdbus_codegen | Dylan Baker | 2021-11-01 | 1 | -4/+3 | |
| | ||||||
* | modules/gnome: use typed_pos_args for gtkdoc_html_dir | Dylan Baker | 2021-11-01 | 1 | -9/+5 | |
| | ||||||
* | modules/gnome: use typed_pos_args for gtkdoc | Dylan Baker | 2021-11-01 | 1 | -5/+2 | |
| | ||||||
* | modules/gnome: use typed_pos_args for yelp | Dylan Baker | 2021-11-01 | 1 | -6/+3 | |
| | ||||||
* | modules/gnome: use noPosargs for compile_schemas | Dylan Baker | 2021-11-01 | 1 | -3/+2 | |
| | ||||||
* | modules/gnome: use typed_pos_args for generate_gir | Dylan Baker | 2021-11-01 | 1 | -4/+4 | |
| | ||||||
* | modules/gnome: use typed_pos_args for compile_resources | Dylan Baker | 2021-11-01 | 1 | -29/+24 | |
| | ||||||
* | modules/gnome: add some type annotations | Dylan Baker | 2021-11-01 | 1 | -113/+161 | |
| | | | | | This is not complete, but it's a start. The rest will have to get finished as we go | |||||
* | modules/gnome: clean and sort dependencies | Dylan Baker | 2021-11-01 | 1 | -11/+11 | |
| | ||||||
* | build: Add type annotations to BuildTarget.get_all_link_deps | Dylan Baker | 2021-11-01 | 1 | -1/+1 | |
| | ||||||
* | build: Add annotations to CustomTarget.extra_depends | Dylan Baker | 2021-11-01 | 1 | -2/+2 | |
| | ||||||
* | build: Add a get_command method to Executable | Dylan Baker | 2021-11-01 | 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. | |||||
* | modules: use IncludeDirs.to_string_list instead of open coding | Dylan Baker | 2021-11-01 | 1 | -12/+3 | |
| | | | | This both allows more cod re-use, and simplifies the code. | |||||
* | build: IncludeDirs extend `to_string_list` method to handle builddir | Dylan Baker | 2021-11-01 | 1 | -2/+10 | |
| | ||||||
* | build: Add type annotations for BuildTarget.include_dirs | Dylan Baker | 2021-11-01 | 1 | -4/+4 | |
| | | | | | The gnome module uses these, so to be able to fully type that we need this. | |||||
* | interpreter/modules: ModuleReturnValue can hold ExecutableSerialisation | Dylan Baker | 2021-11-01 | 2 | -3/+4 | |
| | | | | | The code for this exists and works, but the type annotations don't allow it. This fixes the annotations | |||||
* | modules: remove harmful forwarding init methods | Dylan Baker | 2021-11-01 | 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 | |||||
* | interpreter: add type annotations for program_from_overrides | Dylan Baker | 2021-11-01 | 1 | -1/+2 | |
| | ||||||
* | Add 64-bit paths to check for unsupported Watcom cl.exe clones. | William D. Jones | 2021-10-31 | 1 | -1/+4 | |
| | ||||||
* | migrate python 3.5 compatible superclass variable annotations to 3.6 | Eli Schwartz | 2021-11-01 | 2 | -8/+4 | |
| | | | | | As we now require python 3.6, we can declare their types without initializing them. | |||||
* | Revert "known Python 3.5 on windows workaround for subprocess(cwd=str(Path))" | Eli Schwartz | 2021-11-01 | 1 | -2/+1 | |
| | | | | | | This reverts commit c89aa2094170b2ffd7151187c1c092db2a178f44. We no longer support 3.5 so this can go. | |||||
* | Fix cygwin test failure due to shortpath usage | Nirbheek Chauhan | 2021-10-31 | 3 | -8/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two tests are failing on Cygwin because the argument is passed as a long-path and the Path is ending up as a short-path: AllPlatformTests.test_run_target_files_path Traceback (most recent call last): File "/cygdrive/d/a/meson/meson/test cases/common/51 run target/check-env.py", line 22, in <module> assert build_root == env_build_root AssertionError SubprojectsCommandTests.test_purge > self.assertEqual(deleting(out), sorted([ str(self.subprojects_dir / 'redirect.wrap'), str(self.subprojects_dir / 'sub_file'), str(self.subprojects_dir / 'sub_git'), ])) E AssertionError: Lists differ: ['/cygdrive/c/Users/runneradmin/AppData/Local/Temp/tmpeaa2a49[205 chars]git'] != ['/cygdrive/c/Users/RUNNER~1/AppData/Local/Temp/tmpeaa2a49z/s[196 chars]git'] [...] ['/cygdrive/c/Users/runneradmin/AppData/Local/Temp/tmpeaa2a49z/src/subprojects/redirect.wrap', ^^^^^^^^^^^ ['/cygdrive/c/Users/RUNNER~1/AppData/Local/Temp/tmpeaa2a49z/src/subprojects/redirect.wrap', ^^^^^^^^ The fix is to not use the tempdir for all tests, but only for tests that check the mode. | |||||
* | delete PLATFORM env only if set | avitex | 2021-10-30 | 1 | -2/+3 | |
| | | | | fixes #8721 | |||||
* | Added warning if run_command is called without the check kwarg | Volker Weißmann | 2021-10-30 | 30 | -59/+83 | |
| | ||||||
* | Typo fixes (CustomTaget -> CustomTarget) | rusty-snake | 2021-10-30 | 1 | -2/+2 | |
| | ||||||
* | Typo fixes (CustomTaget -> CustomTarget) | rusty-snake | 2021-10-30 | 1 | -1/+1 | |
| | ||||||
* | Typo fixes (CustomTaget -> CustomTarget) | rusty-snake | 2021-10-30 | 1 | -1/+1 | |
| | ||||||
* | Fix version requirement on Ninja feature. | Jussi Pakkanen | 2021-10-29 | 1 | -1/+1 | |
| | ||||||
* | Make environment objects hash deterministically. | Jussi Pakkanen | 2021-10-29 | 2 | -3/+16 | |
| | ||||||
* | Merge pull request #9375 from dcbaker/submit/windows-module-typing | Jussi Pakkanen | 2021-10-29 | 6 | -58/+125 | |
|\ | | | | | Typing for the Windows module | |||||
| * | modules/windows: allow CustomTargets with more than one output for ↵ | Dylan Baker | 2021-10-09 | 3 | -20/+57 | |
| | | | | | | | | compile_resources | |||||
| * | build: Add missing type annotation | Dylan Baker | 2021-10-09 | 1 | -1/+1 | |
| | | ||||||
| * | modules/windows: allow CustomTargetIndex for compile_resources | Dylan Baker | 2021-10-09 | 1 | -3/+5 | |
| | | | | | | | | In the positional arguments | |||||
| * | modules/windows: use typed_kwargs | Dylan Baker | 2021-10-09 | 3 | -22/+47 | |
| | | ||||||
| * | modules/windows: use typed_pos_args | Dylan Baker | 2021-10-08 | 1 | -11/+7 | |
| | | ||||||
| * | modules/windows: add some easy type annotations | Dylan Baker | 2021-10-08 | 1 | -11/+18 | |
| | | | | | | | | This isn't complete, it's just the easy stuff | |||||
* | | Remove duplicated CEXE_MAPPING table | Xavier Claessens | 2021-10-29 | 2 | -8/+4 | |
| | | ||||||
* | | Add note in release notes that thin archives has been reverted | Xavier Claessens | 2021-10-29 | 1 | -0/+4 | |
| | | ||||||
* | | Fix "meson compile" not activating vsenv | Xavier Claessens | 2021-10-29 | 1 | -2/+3 | |
| | | | | | | | | | | setup_vsenv() was not propagating the return value, so build.need_vsenv was always False. | |||||
* | | configure_file: upgrade deprecation message to FeatureDeprecated | Eli Schwartz | 2021-10-28 | 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. |