Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-18 | run_mypy: add gnome module | Dylan Baker | 1 | -0/+1 | |
2022-01-10 | depfile: type annotate | Dylan Baker | 1 | -0/+1 | |
2021-11-28 | Merge pull request #9623 from dcbaker/submit/keyval-typeing | Jussi Pakkanen | 1 | -0/+1 | |
Add type annotations and typed_pos_args to the keyval module | |||||
2021-11-28 | Add typing to msubprojects.py | Tristan Partin | 1 | -0/+1 | |
2021-11-23 | run_mypy: add modules/keyval | Dylan Baker | 1 | -0/+1 | |
2021-10-09 | modules/windows: use typed_kwargs | Dylan Baker | 1 | -0/+1 | |
2021-10-04 | run_mypy: Add the external_project_module | Dylan Baker | 1 | -0/+1 | |
2021-10-03 | docs: Initial reference manual generator | Daniel Mensinger | 1 | -1/+3 | |
2021-09-30 | modules/i18n: Fix remaining mypy spotted issues | Dylan Baker | 1 | -1/+2 | |
2021-09-24 | interpreter/mesonmain: Fix remaining typing problems and add to run_mypy | Dylan Baker | 1 | -0/+1 | |
2021-08-31 | interpreter: Add IntegerHolder | Daniel Mensinger | 1 | -0/+1 | |
2021-08-22 | Add Java module | Tristan Partin | 1 | -0/+1 | |
The Java module will serve as a source for easing Java development within Meson. Currently it only supports generating native header files. | |||||
2021-08-20 | run_mypy: add backends/backends | Dylan Baker | 1 | -0/+1 | |
2021-08-16 | run_mypy: add interpreter/compiler.py | Dylan Baker | 1 | -0/+1 | |
2021-08-04 | run_mypy: Add interpreter/type_checking to the list of checked modules | Dylan Baker | 1 | -0/+1 | |
2021-06-29 | tests: test that we always set encoding | Daniel Mensinger | 1 | -1/+1 | |
2021-06-29 | fix: Always explicitly set encoding for text files (fixes #8263) | Daniel Mensinger | 1 | -0/+1 | |
2021-06-25 | linkers: move linkers.py into the linkers package | Daniel Mensinger | 1 | -1/+1 | |
2021-06-18 | holders: Fix the remaining code to respect the holder changes | Daniel Mensinger | 1 | -1/+2 | |
2021-06-16 | Merge pull request #8822 from dcbaker/submit/annotate-and-check-qt-module | Jussi Pakkanen | 1 | -0/+1 | |
Rewrite the Qt module for type safety! | |||||
2021-06-15 | modules/qt: fix remaining typing issues and add to run_mypy | Dylan Baker | 1 | -0/+1 | |
This just ignores the fact taht Generator is unchecked. Generator needs some real love in terms of type checking. | |||||
2021-06-13 | run_mypy: lower required version to 0.812 | Dylan Baker | 1 | -2/+2 | |
I've run this against Meson and it has no spurious errors. I suspect that all versions >= .8 are fine, but I didn't test those. | |||||
2021-06-11 | run_mypy: Check mypy version to avoid spurious errors | Xavier Claessens | 1 | -0/+6 | |
2021-06-11 | interpreter: Move interpreterbase.py into a new package | Daniel Mensinger | 1 | -1/+1 | |
2021-06-09 | typing: Fully annotate run_project_tests.py | Daniel Mensinger | 1 | -0/+1 | |
2021-06-09 | typing: Fully annotate dependencies | Daniel Mensinger | 1 | -16/+1 | |
2021-06-06 | typing: Fully annotate dependencies.framework | Daniel Mensinger | 1 | -0/+1 | |
2021-06-06 | typing: Fully annotate dependencies.{detect,factory} + some other fixes | Daniel Mensinger | 1 | -0/+3 | |
2021-06-06 | typing: Fully annotate dependencies.cmake | Daniel Mensinger | 1 | -0/+1 | |
2021-06-06 | typing: Fully annotate dependencies.platform | Daniel Mensinger | 1 | -0/+1 | |
2021-06-06 | typing: Fully annotate dependencies.dub | Daniel Mensinger | 1 | -0/+1 | |
2021-06-06 | typing: Fully annotate dependencies.pkgconfig | Daniel Mensinger | 1 | -0/+1 | |
2021-06-05 | typing: Fully annotate dependencies.cuda | Daniel Mensinger | 1 | -0/+1 | |
2021-06-05 | typing: Fully annotate dependencies.configtool | Daniel Mensinger | 1 | -0/+1 | |
2021-06-05 | typing: Fully annotate dependencies.coarrays | Daniel Mensinger | 1 | -0/+1 | |
2021-06-03 | typing: Fully annotate dependencies.base | Daniel Mensinger | 1 | -0/+1 | |
2021-03-22 | dependencies/qt: Add type annotations | Dylan Baker | 1 | -0/+1 | |
And fix some style and correctness issues | |||||
2021-03-19 | programs: add type annotations | Dylan Baker | 1 | -0/+1 | |
2021-03-16 | Add `meson devenv` command and meson.add_devenv() | Xavier Claessens | 1 | -0/+1 | |
2021-02-23 | add a script to run a single test | Dylan Baker | 1 | -0/+1 | |
As a Meson developer it's often frustrating to have a single functional test with a regression. These tests can be awkward to reproduce, especially when they make use of a test.json file. This script provides a simmple interface to call functional tests 1 at a time, regardless of whether they use a test.json or not. If they do use a test.json, and have a matrix, then the `--subtest` option can be used to select spcific combinations, for example: ```sh ./run_single_test.py "test cases/frameworks/15 llvm" --subtest 1 ``` will run only the second (zero indexed of course) subtest from the llvm test cases. This is not a super elegent script, but this is super useful. | |||||
2021-01-23 | split mesonlib into a package | Dylan Baker | 1 | -4/+11 | |
Currently mesonlib does some import tricks to figure out whether it needs to use windows or posix specific functions. This is a little hacky, but works fine. However, the way the typing stubs are implemented for the msvcrt and fnctl modules will cause mypy to fail on the other platform, since the functions are not implemented. To aleviate this (and for slightly cleaner design), I've split mesonlib into a pacakge with three modules. A universal module contains all of the platform agnositc code, a win32 module contains window specific code, a posix module contains the posix specific code, and a platform module contains no-op implementations. Then the package's __init__ file imports all of the universal functions and all of the functions from the approriate platform module, or the no-op versions as fallbacks. This makes mypy happy, and avoids `if`ing all over the code to switch between the platform specific code. | |||||
2021-01-13 | run_mypy: add minstall | Dylan Baker | 1 | -0/+1 | |
2021-01-05 | modules: Add an unstable-rust module | Dylan Baker | 1 | -0/+1 | |
Like other language specific modules this module is module for holding rust specific helpers. This commit adds a test() function, which simplifies using rust's internal unittest mechanism. Rust tests are generally placed in the same code files as they are testing, in contrast to languages like C/C++ and python which generally place the tests in separate translation units. For meson this is somewhat problematic from a repetition point of view, as the only changes are generally adding --test, and possibly some dependencies. The rustmod.test() method provides a mechanism to remove the repatition: it takes a rust target, copies it, and then addes the `--test` option, then creates a Test() target with the `rust` protocol. You can pass additional dependencies via the `dependencies` keyword. This all makes for a nice, DRY, test definition. | |||||
2020-11-22 | Merge pull request #8010 from dcbaker/submit/optinterpreter-cleanups | Jussi Pakkanen | 1 | -0/+1 | |
Opt Interpreter cleanups and type annotations | |||||
2020-11-20 | use real pathlib module | Dylan Baker | 1 | -1/+0 | |
We added the _pathlib module to work around defeciencies in python 3.5's implementation, since we now rely on 3.6 lets drop this | |||||
2020-11-20 | Add type annotations to optinterpreter | Dylan Baker | 1 | -0/+1 | |
2020-10-04 | pathlib: Fix resolve() by overriding it in Python 3.5 | Daniel Mensinger | 1 | -0/+1 | |
2020-10-01 | run_mypy: mark the whole compilers package as type safe | Dylan Baker | 1 | -14/+1 | |
2020-10-01 | compilers/d: add type annotations | Dylan Baker | 1 | -0/+1 | |
2020-10-01 | compilers/fortran: add type annotations | Dylan Baker | 1 | -0/+1 | |