aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2021-06-29fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger7-16/+16
2021-06-22coverage: Enable coverage reportsDaniel Mensinger1-0/+53
2021-06-05docs: Generate a table of all wrapdb releasesXavier Claessens1-0/+19
wrapdb CI will trigger Meson's CI to regenerate the list when releases.json is updated.
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz3-16/+16
performed by running "pyupgrade --py36-plus" and committing the results
2021-03-04various python neatness cleanupsEli Schwartz2-2/+2
All changes were created by running "pyupgrade --py3-only --keep-percent-format" and committing the results. I have not touched string formatting for now. - use set literals - simplify .format() parameter naming - remove __future__ - remove default "r" mode for open() - use OSError rather than compatibility aliases - remove stray parentheses in function(generator) scopes
2021-01-13gen_data.py: even more sortingEli Schwartz1-1/+1
glob.glob() is not sorted, despite using shell-style wildcards, and the documentation does not mention this: https://bugs.python.org/issue21748 Recently, it does start mentioning "Whether or not the results are sorted depends on the file system." which does not really get to the heart of the matter... This is causing fuzz too.
2021-01-12gen_data.py: sort files when generating mesondataEli Schwartz1-1/+1
The current way this works is chaos since the tool might return files in any order and thus shuffle around the order of embedded files. This results in big diffs that cannot be easily reviewed. Also regenerate the data according to the, going forward, canonical ordering algorithm.
2021-01-10Hotdoc: use template for Commands.md instead of generating the entire file ↵Eli Schwartz1-14/+6
(#8154) * doc: fix hotdoc misuse for dynamically generated content hotdoc has a native include feature for including files inline. Use this to generate one file for each dynamically generated code block, and include that file in Commands.md; see: https://hotdoc.github.io/syntax-extensions.html#smart-file-inclusion-syntax This permits us to move back to using the in-tree version of the hotdoc *.md sources, thus fixing the incorrect inclusion of "builddir/" in the "Edit on github" links which resulted from using copies as the source. Fixes #8061 * doc: call the dummy file a "stamp" as it is a better known term
2020-11-20use real pathlib moduleDylan Baker1-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
2020-10-24cmake: Disable the new (CMake 3.16) PCH supportDaniel Mensinger1-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.
2020-10-12typing: fix mypy typing errorDaniel Mensinger1-3/+3
2020-09-08typing: fix code reviewDaniel Mensinger1-3/+3
2020-09-08typing: fully annotate toolsDaniel Mensinger4-21/+22
2020-07-16mdata: Generate mesondata.py from */data foldersDaniel Mensinger1-0/+139
2020-07-01Store website build script. [skip ci]Jussi Pakkanen1-0/+51
2020-06-30Made Commands.md dynamically generated (#7346)TheQwertiest2-0/+205
2020-05-13Merge pull request #6620 from jon-turney/test-output-checkDylan Baker1-0/+4
Add a mechanism for validating meson output in tests
2020-05-01boost: Only use usage-requirements defines (fixes #7046)Daniel Mensinger1-14/+42
2020-04-30Update dircondenser.py tool to update paths in test.json as wellJon Turney1-0/+4
Update dircondenser.py tool to update paths appearing in the expected stdout in test.json when the containing directory is renamed.
2020-02-23cmake2meson fix if nesting (#6676)Yann Dirson1-8/+17
2020-02-20boost: Rewrite boost_names.py generatorDaniel Mensinger1-143/+228
2020-01-08types: import typing as T (fixes #6333)Daniel Mensinger2-9/+9
2019-12-06Update Python2 syntax to Python3 syntax in ghwt.pyMichael Brockus1-5/+5
2019-11-07CI: add initial type annotation checkingMichael Hirsch, Ph.D3-17/+20
2019-10-19cmake2meson: improve exceptions, add type annotations, use argparseMichael Hirsch, Ph.D1-22/+22
2019-04-29Fix unused variables warningsDaniel Mensinger1-1/+1
2019-01-16allow nested if loopMichael Hirsch, Ph.D1-17/+31
close paren
2019-01-06modernize library default syntax, be like CMake static defaultMichael Hirsch, Ph.D1-2/+2
2018-09-13Fix flake8 whitespace reportsJon Turney1-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
2018-07-31Add script to condense test directory names.Jussi Pakkanen1-0/+82
2017-10-25Boost: Add Python librariesNiklas Claesson1-0/+3
Fixes: #2507
2017-10-12Boost: Jamfile has two syntaxes for boost librariesNiklas Claesson1-0/+4
Fixes #2456
2017-10-01Boost: Improve search algorithmNiklas Claesson1-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
2017-09-14cmake2meson: convert varexp to lowercaseGeorg Müller1-1/+1
since variable names in 'set' statements are converted to lowercase, the variable itself should be converted to lower-case too when used.
2017-09-14cmake2meson: strip comments from statementsGeorg Müller1-1/+4
Without this change, the following correct cmake will cause an error: statement( arg1 # arg2 arg3 )
2017-09-14cmake2meson: convert statements to lower caseGeorg Müller1-1/+1
cmake does not distinguish between upper and lower case, so convert it to lower case for the later comparisons.
2017-07-31Improve ac_converter to print a help message.Jussi Pakkanen1-1/+8
2017-07-16Removed unnecessary pass statements.Jussi Pakkanen1-1/+0
2017-07-16Removed duplicate key in dictionary.Jussi Pakkanen1-1/+0
2017-06-04A few typo fixes in the converter script.Jussi Pakkanen1-2/+2
2017-06-04Added more functions to the list of checks.Jussi Pakkanen1-0/+143
2017-01-18cleanup: Unbound local variableMike Sinkovsky1-0/+1
2017-01-18cleanup: Remove redundant parenthesesMike Sinkovsky1-3/+3
2017-01-18cleanup: Redundant character escapeMike Sinkovsky1-1/+1
2017-01-11style: [E1**] IndentationMike Sinkovsky1-2/+3
2017-01-11style: [E301] expected 1 blank line, found 0Mike Sinkovsky1-0/+1
2017-01-01style: fix E703 violationsIgor Gnatenko1-1/+1
E703: statement ends with a semicolon Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E124 violationsIgor Gnatenko1-1/+1
E124: closing bracket does not match visual indentation Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E265 violationsIgor Gnatenko1-1/+1
E265: block comment should start with '# ' Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E226 violationsIgor Gnatenko1-2/+2
E226: missing whitespace around arithmetic operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>