summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | zsh: Add completions for meson compileDylan Baker2020-09-231-0/+16
| | | |
| * | | zsh: add completions for subprojectsDylan Baker2020-09-231-3/+77
| | | |
| * | | zsh: add wrap completionsDylan Baker2020-09-231-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 completionsDylan Baker2020-09-231-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 initDylan Baker2020-09-231-2/+22
| | | |
| * | | zsh: Add completions for meson installDylan Baker2020-09-231-2/+17
| | | |
| * | | zsh: add meson dist completionsDylan Baker2020-09-221-2/+18
| | | |
| * | | mdist: actually constrain the choices of the --formats optionDylan Baker2020-09-221-1/+1
| | | | | | | | | | | | | | | | Since we already have that list available.
| * | | zsh: Add ability to complete depedency pathsDylan Baker2020-09-221-4/+4
| | | | | | | | | | | | | | | | using , separated syntax
| * | | zsh: add missing options for meson introspectDylan Baker2020-09-221-5/+7
| | | |
| * | | zsh: share common options between meson configure and meson setupDylan Baker2020-09-221-36/+38
| | | |
| * | | zsh: Add missing options for meson setupDylan Baker2020-09-221-12/+26
| | | |
| * | | zsh: remove binaries that are not longer installedDylan Baker2020-09-221-1/+1
| | | |
* | | | environment: Pass defines to clang based ObjC[++] compilersDylan Baker2020-09-241-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 annotationsDylan Baker2020-09-242-14/+31
| | | |
* | | | compilers/objc: Add type annotationsDylan Baker2020-09-242-14/+28
| | | |
* | | | compilers: Tell mypy that the compiler mixins are just thatDylan Baker2020-09-2416-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 classDylan Baker2020-09-2414-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 methodDylan Baker2020-09-243-4/+4
| | | | | | | | | | | | | | | | It's an implementation detail after all
* | | | compilers: put name_string method in base compilerDylan Baker2020-09-249-24/+4
| | | | | | | | | | | | | | | | Every language had the exact same implementation
* | | | run_mypy: compilers/c_function_attributes is already type safeDylan Baker2020-09-241-0/+1
| | | |
* | | | run_mypy: all of compilers/mixins is now type safeDylan Baker2020-09-241-14/+1
| | | |
* | | | compilers/mixins: make xc16 type safeDylan Baker2020-09-242-2/+8
| | | |
* | | | compilers/mixins: make visual studio type safeDylan Baker2020-09-242-2/+22
| | | |
* | | | compilers/mixins/pgi: Make type safeDylan Baker2020-09-242-2/+12
| | | |
* | | | compilers/mixins/islinker: Make type safeDylan Baker2020-09-242-0/+5
| | | |
* | | | compilers/mixins/intel: make type safeDylan Baker2020-09-242-12/+23
| | | |
* | | | compilers/mixins/intel: Use the has_func_attribute_extra_args functionDylan Baker2020-09-242-1/+6
| | | | | | | | | | | | | | | | Instead of putting that extra argument in the base compiles() class
* | | | compilers/mixins/emscripten: make type safeDylan Baker2020-09-242-4/+12
| | | |
* | | | compilers/mixins/elbrus: make type safeDylan Baker2020-09-242-1/+6
| | | |
* | | | compilers/mixins: make compcert type safeDylan Baker2020-09-242-2/+7
| | | |
* | | | compilers/mixins/clang: Make type safeDylan Baker2020-09-243-5/+25
| | | |
* | | | compilers/mixings/gnu: make type safeDylan Baker2020-09-242-11/+35
| | | |
* | | | compilers/mixins/clike: fix mypy issuesDylan Baker2020-09-247-152/+303
| | | |
* | | | compilers/mixins/ccrx: make mypy safeDylan Baker2020-09-242-1/+7
| | | |
* | | | compilers/mixins/c2000: Make mypy safeDylan Baker2020-09-242-1/+7
| | | |
* | | | compilers/mixins/arm: make type safeDylan Baker2020-09-242-26/+25
| | | |
* | | | compilers/compilers: Fully type annotateDylan Baker2020-09-247-168/+266
| | | |
* | | | ast/introspection: Fix typing violation due to untyped functionsDylan Baker2020-09-241-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 resultsDylan Baker2020-09-245-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 errorsDylan Baker2020-09-221-0/+3
| | |
* | | pylint: turn on bad-indentation errorDylan Baker2020-09-226-30/+31
| | | | | | | | | | | | and fix all of the bad indentation
* | | pylint: turn on warnings for abstract classesDylan Baker2020-09-221-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 argsDylan Baker2020-09-223-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 Chauhan2020-09-211-2/+3
| | | | | | | | Someone on IRC was confused by this paragraph.
* | Improve docs for creating new wraps. [skip ci]Jussi Pakkanen2020-09-211-16/+85
|/
* pylint: Turn on a few more good warningsDylan Baker2020-09-181-0/+4
|
* pylint: Catch cases of `if len(container)` which should be replaced by `if ↵Dylan Baker2020-09-183-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 CompCertSebastian Meyer2020-09-182-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 backslashMartin Storsjö2020-09-181-2/+7
|