summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* use real pathlib moduleDylan Baker2020-11-201-1/+1
| | | | | 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
* cmake: Disable the new (CMake 3.16) PCH supportDaniel Mensinger2020-10-241-1/+2
| | | | | | | Subprojects that use the CMake PCH feature will cause compilation/linker errors. The CMake PCH support should thus be disabled until this can be properly translated to meson.
* typing: fix mypy typing errorDaniel Mensinger2020-10-121-3/+3
|
* typing: fix code reviewDaniel Mensinger2020-09-081-3/+3
|
* typing: fully annotate toolsDaniel Mensinger2020-09-084-21/+22
|
* mdata: Generate mesondata.py from */data foldersDaniel Mensinger2020-07-161-0/+139
|
* Store website build script. [skip ci]Jussi Pakkanen2020-07-011-0/+51
|
* Made Commands.md dynamically generated (#7346)TheQwertiest2020-06-302-0/+205
|
* Merge pull request #6620 from jon-turney/test-output-checkDylan Baker2020-05-131-0/+4
|\ | | | | Add a mechanism for validating meson output in tests
| * Update dircondenser.py tool to update paths in test.json as wellJon Turney2020-04-301-0/+4
| | | | | | | | | | Update dircondenser.py tool to update paths appearing in the expected stdout in test.json when the containing directory is renamed.
* | boost: Only use usage-requirements defines (fixes #7046)Daniel Mensinger2020-05-011-14/+42
|/
* cmake2meson fix if nesting (#6676)Yann Dirson2020-02-231-8/+17
|
* boost: Rewrite boost_names.py generatorDaniel Mensinger2020-02-201-143/+228
|
* types: import typing as T (fixes #6333)Daniel Mensinger2020-01-082-9/+9
|
* Update Python2 syntax to Python3 syntax in ghwt.pyMichael Brockus2019-12-061-5/+5
|
* CI: add initial type annotation checkingMichael Hirsch, Ph.D2019-11-073-17/+20
|
* cmake2meson: improve exceptions, add type annotations, use argparseMichael Hirsch, Ph.D2019-10-191-22/+22
|
* Fix unused variables warningsDaniel Mensinger2019-04-291-1/+1
|
* allow nested if loopMichael Hirsch, Ph.D2019-01-161-17/+31
| | | | close paren
* modernize library default syntax, be like CMake static defaultMichael Hirsch, Ph.D2019-01-061-2/+2
|
* Fix flake8 whitespace reportsJon Turney2018-09-131-1/+1
| | | | | | $ flake8 | grep -E '(E203|E221|E226|E303|W291|W293)' ./mesonbuild/build.py:964:5: E303 too many blank lines (2) ./tools/dircondenser.py:70:36: E221 multiple spaces before operator
* Add script to condense test directory names.Jussi Pakkanen2018-07-311-0/+82
|
* Boost: Add Python librariesNiklas Claesson2017-10-251-0/+3
| | | | Fixes: #2507
* Boost: Jamfile has two syntaxes for boost librariesNiklas Claesson2017-10-121-0/+4
| | | | Fixes #2456
* Boost: Improve search algorithmNiklas Claesson2017-10-011-0/+180
| | | | | | | | | | | | | | | | | The new implementation will correctly pick boost from 3 possible locations on windows and two locations on posix compatible OSs. The new search algorithm also differentiates between debug and release builds of Boost and multi or single threading builds. It was also decided to map "Meson modules" to Boost software libraries and not Boost modules since it there are a lot of options regarding linking. Some modules can even be used either as headers-only or with dynamic linking. This commit also fixes a bug that prevented header-only use on Windows. Fixes: #2274 #2239 #1803 #669
* cmake2meson: convert varexp to lowercaseGeorg Müller2017-09-141-1/+1
| | | | | since variable names in 'set' statements are converted to lowercase, the variable itself should be converted to lower-case too when used.
* cmake2meson: strip comments from statementsGeorg Müller2017-09-141-1/+4
| | | | | | | | | | Without this change, the following correct cmake will cause an error: statement( arg1 # arg2 arg3 )
* cmake2meson: convert statements to lower caseGeorg Müller2017-09-141-1/+1
| | | | | cmake does not distinguish between upper and lower case, so convert it to lower case for the later comparisons.
* Improve ac_converter to print a help message.Jussi Pakkanen2017-07-311-1/+8
|
* Removed unnecessary pass statements.Jussi Pakkanen2017-07-161-1/+0
|
* Removed duplicate key in dictionary.Jussi Pakkanen2017-07-161-1/+0
|
* A few typo fixes in the converter script.Jussi Pakkanen2017-06-041-2/+2
|
* Added more functions to the list of checks.Jussi Pakkanen2017-06-041-0/+143
|
* cleanup: Unbound local variableMike Sinkovsky2017-01-181-0/+1
|
* cleanup: Remove redundant parenthesesMike Sinkovsky2017-01-181-3/+3
|
* cleanup: Redundant character escapeMike Sinkovsky2017-01-181-1/+1
|
* style: [E1**] IndentationMike Sinkovsky2017-01-111-2/+3
|
* style: [E301] expected 1 blank line, found 0Mike Sinkovsky2017-01-111-0/+1
|
* style: fix E703 violationsIgor Gnatenko2017-01-011-1/+1
| | | | | | E703: statement ends with a semicolon Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* style: fix E124 violationsIgor Gnatenko2017-01-011-1/+1
| | | | | | E124: closing bracket does not match visual indentation Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* style: fix E265 violationsIgor Gnatenko2017-01-011-1/+1
| | | | | | E265: block comment should start with '# ' Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* style: fix E226 violationsIgor Gnatenko2017-01-011-2/+2
| | | | | | E226: missing whitespace around arithmetic operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* Fix space before :.Jussi Pakkanen2016-12-312-35/+35
|
* Allow id to contain a pipe "|"Gautier Pelloux-Prayer2016-10-191-1/+1
| | | For instance in [color](https://github.com/bagage/color/blob/master/tests/CMakeLists.txt#L26) project tests contains a `|` character.
* cmake2meson.py: Fix missing quote around options type/nameGautier Pelloux-Prayer2016-10-181-4/+4
|
* tools/ac_converter: couple of trivial fixes (#867)Igor Gnatenko2016-10-071-3/+2
| | | | | | | | | | | | | | | | | | | | | | W: 31, 4: Duplicate key 'HAVE_UNSETENV' in dictionary (duplicate-key) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> * tools/ac_converter: fix undefined variable 'func' E:283,11: Undefined variable 'func' (undefined-variable) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> * tools/ac_converter: use spaces properly in HAVE_SOCKET C: 97, 0: Exactly one space required after comma 'HAVE_SOCKET' : ('socket',' sys/socket.h'), ^ (bad-whitespace) This also might cause some issue after conversion. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* loop over `sizes'Iain Lane2016-09-041-1/+1
| | | | | | | | | | | I ran `ac_converter.py`, and it crashed ``` Traceback (most recent call last): File "ac_converter.py", line 299, in <module> for elem, typename in size: ``` I think it's a typo like this.
* Use context manager in scripts.Elliott Sales de Andrade2016-08-302-65/+97
|
* Use our config template rather than Autoconf's.Jussi Pakkanen2016-08-141-1/+1
|
* A few more checks for ac converter tool.Jussi Pakkanen2016-08-131-0/+5
|