Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | zsh: Add completions for meson compile | Dylan Baker | 2020-09-23 | 1 | -0/+16 | |
| | | | | ||||||
| * | | | zsh: add completions for subprojects | Dylan Baker | 2020-09-23 | 1 | -3/+77 | |
| | | | | ||||||
| * | | | zsh: add wrap completions | Dylan Baker | 2020-09-23 | 1 | -1/+54 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This is still missing completions for promote, but I can't figure out how to find the wraps in subprojects that are not in the parent project when those projects haven't been fetched yet. | |||||
| * | | | zsh: add missing arguments to meson test completions | Dylan Baker | 2020-09-23 | 1 | -5/+6 | |
| | | | | | | | | | | | | | | | | | | | | This also reorders the options internally to match the output of meson test --help, which makes it easier to diff | |||||
| * | | | zsh: Add completions for meson init | Dylan Baker | 2020-09-23 | 1 | -2/+22 | |
| | | | | ||||||
| * | | | zsh: Add completions for meson install | Dylan Baker | 2020-09-23 | 1 | -2/+17 | |
| | | | | ||||||
| * | | | zsh: add meson dist completions | Dylan Baker | 2020-09-22 | 1 | -2/+18 | |
| | | | | ||||||
| * | | | mdist: actually constrain the choices of the --formats option | Dylan Baker | 2020-09-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Since we already have that list available. | |||||
| * | | | zsh: Add ability to complete depedency paths | Dylan Baker | 2020-09-22 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | using , separated syntax | |||||
| * | | | zsh: add missing options for meson introspect | Dylan Baker | 2020-09-22 | 1 | -5/+7 | |
| | | | | ||||||
| * | | | zsh: share common options between meson configure and meson setup | Dylan Baker | 2020-09-22 | 1 | -36/+38 | |
| | | | | ||||||
| * | | | zsh: Add missing options for meson setup | Dylan Baker | 2020-09-22 | 1 | -12/+26 | |
| | | | | ||||||
| * | | | zsh: remove binaries that are not longer installed | Dylan Baker | 2020-09-22 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | environment: Pass defines to clang based ObjC[++] compilers | Dylan Baker | 2020-09-24 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | mypy noticed that we were passing [] (instead of a dict or None) to the ClangCompiler class in objc, which made me noticed that for C and C++ we set the defines, but not for ObjC and ObjC++ | |||||
* | | | | compilers/objcpp: add type annotations | Dylan Baker | 2020-09-24 | 2 | -14/+31 | |
| | | | | ||||||
* | | | | compilers/objc: Add type annotations | Dylan Baker | 2020-09-24 | 2 | -14/+28 | |
| | | | | ||||||
* | | | | compilers: Tell mypy that the compiler mixins are just that | Dylan Baker | 2020-09-24 | 16 | -178/+122 | |
| | | | | | | | | | | | | | | | | | | | | | | | | We do this by making the mixins inherit the Compiler class only when mypy is examining the code (using some clever inheritance shenanigans). This caught a bunch of issues, and also lets us delete a ton of code. | |||||
* | | | | compilers: make is_cross part of the base Compiler class | Dylan Baker | 2020-09-24 | 14 | -38/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Every class needs to set this, so it should be part of the base. For classes that require is_cross, the positional argument remains in their signature. For those that don't, they just allow the base class to set their value to it's default of False. | |||||
* | | | | compilers: make sanity_check_impl a protected method | Dylan Baker | 2020-09-24 | 3 | -4/+4 | |
| | | | | | | | | | | | | | | | | It's an implementation detail after all | |||||
* | | | | compilers: put name_string method in base compiler | Dylan Baker | 2020-09-24 | 9 | -24/+4 | |
| | | | | | | | | | | | | | | | | Every language had the exact same implementation | |||||
* | | | | run_mypy: compilers/c_function_attributes is already type safe | Dylan Baker | 2020-09-24 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | run_mypy: all of compilers/mixins is now type safe | Dylan Baker | 2020-09-24 | 1 | -14/+1 | |
| | | | | ||||||
* | | | | compilers/mixins: make xc16 type safe | Dylan Baker | 2020-09-24 | 2 | -2/+8 | |
| | | | | ||||||
* | | | | compilers/mixins: make visual studio type safe | Dylan Baker | 2020-09-24 | 2 | -2/+22 | |
| | | | | ||||||
* | | | | compilers/mixins/pgi: Make type safe | Dylan Baker | 2020-09-24 | 2 | -2/+12 | |
| | | | | ||||||
* | | | | compilers/mixins/islinker: Make type safe | Dylan Baker | 2020-09-24 | 2 | -0/+5 | |
| | | | | ||||||
* | | | | compilers/mixins/intel: make type safe | Dylan Baker | 2020-09-24 | 2 | -12/+23 | |
| | | | | ||||||
* | | | | compilers/mixins/intel: Use the has_func_attribute_extra_args function | Dylan Baker | 2020-09-24 | 2 | -1/+6 | |
| | | | | | | | | | | | | | | | | Instead of putting that extra argument in the base compiles() class | |||||
* | | | | compilers/mixins/emscripten: make type safe | Dylan Baker | 2020-09-24 | 2 | -4/+12 | |
| | | | | ||||||
* | | | | compilers/mixins/elbrus: make type safe | Dylan Baker | 2020-09-24 | 2 | -1/+6 | |
| | | | | ||||||
* | | | | compilers/mixins: make compcert type safe | Dylan Baker | 2020-09-24 | 2 | -2/+7 | |
| | | | | ||||||
* | | | | compilers/mixins/clang: Make type safe | Dylan Baker | 2020-09-24 | 3 | -5/+25 | |
| | | | | ||||||
* | | | | compilers/mixings/gnu: make type safe | Dylan Baker | 2020-09-24 | 2 | -11/+35 | |
| | | | | ||||||
* | | | | compilers/mixins/clike: fix mypy issues | Dylan Baker | 2020-09-24 | 7 | -152/+303 | |
| | | | | ||||||
* | | | | compilers/mixins/ccrx: make mypy safe | Dylan Baker | 2020-09-24 | 2 | -1/+7 | |
| | | | | ||||||
* | | | | compilers/mixins/c2000: Make mypy safe | Dylan Baker | 2020-09-24 | 2 | -1/+7 | |
| | | | | ||||||
* | | | | compilers/mixins/arm: make type safe | Dylan Baker | 2020-09-24 | 2 | -26/+25 | |
| | | | | ||||||
* | | | | compilers/compilers: Fully type annotate | Dylan Baker | 2020-09-24 | 7 | -168/+266 | |
| | | | | ||||||
* | | | | ast/introspection: Fix typing violation due to untyped functions | Dylan Baker | 2020-09-24 | 1 | -7/+8 | |
| | | | | | | | | | | | | | | | | | | | | When we add type annotations to this in compilers this will break, unless we've already filtered out the non-string arguments. | |||||
* | | | | compilers: Use a distinct type for compile/link results | Dylan Baker | 2020-09-24 | 5 | -29/+42 | |
| |/ / |/| | | | | | | | | | | | | | | | | | Currently we do some crazy hackery where we add extra properties to a Popen object and return that. That's crazy. Especially since some of our hackery is to delete attributes off of the Popen we don't want. Instead, let's just have a discrete type that has exactly the properties we want. | |||||
* | | | pylint: turn on a few more errors | Dylan Baker | 2020-09-22 | 1 | -0/+3 | |
| | | | ||||||
* | | | pylint: turn on bad-indentation error | Dylan Baker | 2020-09-22 | 6 | -30/+31 | |
| | | | | | | | | | | | | and fix all of the bad indentation | |||||
* | | | pylint: turn on warnings for abstract classes | Dylan Baker | 2020-09-22 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | We're using these now, so having some error checking to make sure we don't have paths were we're trying to instantiate an abstract class would be good. | |||||
* | | | pylint: Turn on warnings for incorrect number of args | Dylan Baker | 2020-09-22 | 3 | -6/+11 | |
|/ / | | | | | | | | | | | | | | | | | This catches some very real errors. The one in scalapack is pretty silly actually, it's failing to figure out that the exploded list is at least two arguments. However, the code is actually clearer by not using a list and exploding it, so I've done that and pylint is happy too. | |||||
* | | docs: Clarify what literal strings mean [skip ci] | Nirbheek Chauhan | 2020-09-21 | 1 | -2/+3 | |
| | | | | | | | | Someone on IRC was confused by this paragraph. | |||||
* | | Improve docs for creating new wraps. [skip ci] | Jussi Pakkanen | 2020-09-21 | 1 | -16/+85 | |
|/ | ||||||
* | pylint: Turn on a few more good warnings | Dylan Baker | 2020-09-18 | 1 | -0/+4 | |
| | ||||||
* | pylint: Catch cases of `if len(container)` which should be replaced by `if ↵ | Dylan Baker | 2020-09-18 | 3 | -3/+5 | |
| | | | | | | | container` Unfortunately this doesn't catch other abuses of len(continauer) like, `len(container) <comparator> 0`, see: https://github.com/PyCQA/pylint/issues/3751 | |||||
* | Some fixes for CompCert | Sebastian Meyer | 2020-09-18 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | 1. Like with gcc's `ld`, also use the `group_start` code to create a `--start-group`/`--end-group` 2. xc16 tricked into believing the 'link_whole' was about `--*-group`, but it should use gcc's `--whole-archive` instead. 3. Not clear what the get_lib_prefix should really do, but for picolibc it seems I want just `''`. The problem with picolibc was that the `-l` would be prefixed to a lib like `picolib/libm/libm.a`. Though of course the `-l` would be necessary for just a plain `m` (that's what I assumed this would be used for). I think this might need some clarification from the meson devs ;-) | |||||
* | Support identifying msvc dependency prefix with a path starting with a backslash | Martin Storsjö | 2020-09-18 | 1 | -2/+7 | |
| |