summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Invoke 'qmake --version' correctly in test_qt5dependency_qmake_detectionJon Turney2018-03-041-5/+2
| | | | | | | | | | | | | | | | | | | | subprocess.getoutput() takes a string, not a list. I'm going to guess this is the cause of the mysterious behaviour alluded to in the comment...
| * | | Fix dependency('qt4|5', method: 'qmake') for CygwinJon Turney2018-03-041-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix dependency('qt4|5', method: 'qmake') detection when shared library extension isn't .so Note that OSX already has a special case to look for .framework
* | | | Generate meson.build based on existing source files when meson init is run ↵Jukka Laurila2018-03-063-7/+139
| | | | | | | | | | | | | | | | in a non-empty directory.
* | | | Fix the C and C++ project template options, they were reversed before.Jukka Laurila2018-03-061-3/+3
| | | |
* | | | Add Python minimum version requirement in release notes. [skip ci]Jussi Pakkanen2018-03-051-12/+19
| | | |
* | | | doc: Fix a syntax error in an example in 'Generating sources'. [skip ci]TÖRÖK Attila2018-03-051-1/+1
|/ / /
* | | Merge pull request #3177 from infirit/consistant_config_outpuJussi Pakkanen2018-03-051-87/+60
|\ \ \ | | | | | | | | mconf: re-implement print_aligned fixes #3149
| * | | mconf: Make it pep8 compliantSander Sweers2018-03-041-2/+7
| | | |
| * | | mconf: make print_aligned staticSander Sweers2018-03-041-1/+2
| | | |
| * | | mconf: Do not store dict keys for no reasonSander Sweers2018-03-041-13/+8
| | | | | | | | | | | | | | | | If a dict is empty it will evaluate to False
| * | | mconf: User newline instead of printing empty stringSander Sweers2018-03-041-17/+8
| | | |
| * | | mconf: Replace usage of keys() on dicts with direct call by sortedSander Sweers2018-03-041-5/+4
| | | | | | | | | | | | | | | | Calling sorted or list on a dictionary will return the keys.
| * | | Re-implement function print_alignedSander Sweers2018-03-041-51/+34
| | | | | | | | | | | | | | | | It is now more readable, more pythonic and fixes #3149
| * | | mconf: Do not turn opt.choices into a stringSander Sweers2018-03-041-2/+1
| | | | | | | | | | | | | | | | | | | | It is inconsistent with other option groups. It also breaks print_aligned as it handles lists.
* | | | meson test: let gdb handle ^C instead of usAlicia Boya García2018-03-051-4/+21
| | | | | | | | | | | | | | | | Fixes https://github.com/mesonbuild/meson/issues/3156
* | | | Merge pull request #3171 from jon-turney/flake8Jussi Pakkanen2018-03-0513-41/+31
|\ \ \ \ | | | | | | | | | | Fix flake8 issues
| * | | | Fix remaining flake8 reportJon Turney2018-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ flake8 ./mesonbuild/interpreterbase.py:411:13: F821 undefined name 'set_variable' This looks like an actual bug which would affect disabler use :)
| * | | | Fix flake8 'variable assigned value but unused' reportsJon Turney2018-03-034-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ flake8 | grep -E 'F841' ./run_unittests.py:1987:13: F841 local variable 'objc' is assigned to but never used ./run_unittests.py:1988:13: F841 local variable 'objcpp' is assigned to but never used ./mesonbuild/minit.py:272:5: F841 local variable 'uppercase_token' is assigned to but never used ./mesonbuild/minit.py:307:5: F841 local variable 'uppercase_token' is assigned to but never used ./mesonbuild/modules/unstable_icestorm.py:36:9: F841 local variable 'result' is assigned to but never used ./mesonbuild/modules/unstable_icestorm.py:78:9: F841 local variable 'up_target' is assigned to but never used ./mesonbuild/modules/unstable_icestorm.py:81:9: F841 local variable 'time_target' is assigned to but never used ./msi/createmsi.py:226:17: F841 local variable 'file_source' is assigned to but never used
| * | | | Fix various flake8 indentation reportsJon Turney2018-03-034-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ flake8 | grep -E '(E123|E127|E128)' ./run_unittests.py:1358:37: E127 continuation line over-indented for visual indent ./run_unittests.py:1360:37: E127 continuation line over-indented for visual indent ./mesonbuild/minit.py:311:66: E128 continuation line under-indented for visual indent ./mesonbuild/minit.py:312:66: E128 continuation line under-indented for visual indent ./mesonbuild/minit.py:313:66: E128 continuation line under-indented for visual indent ./mesonbuild/compilers/cpp.py:115:63: E127 continuation line over-indented for visual indent ./msi/createmsi.py:156:13: E123 closing bracket does not match indentation of opening bracket's line ./msi/createmsi.py:188:13: E123 closing bracket does not match indentation of opening bracket's line
| * | | | Fix various flake8 whitespace reportsJon Turney2018-03-034-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ flake8 | grep -E '(E203|E221|E226|E303|W291|W293)' ./run_unittests.py:1503:5: E303 too many blank lines (2) ./mesonbuild/interpreter.py:2342:64: E226 missing whitespace around arithmetic operator ./mesonbuild/minit.py:110:17: E221 multiple spaces before operator ./mesonbuild/minit.py:131:1: W293 blank line contains whitespace ./mesonbuild/minit.py:135:19: E221 multiple spaces before operator ./mesonbuild/minit.py:155:1: W293 blank line contains whitespace ./mesonbuild/minit.py:181:1: W293 blank line contains whitespace ./mesonbuild/minit.py:183:1: W293 blank line contains whitespace ./mesonbuild/minit.py:294:47: W291 trailing whitespace ./mesonbuild/minit.py:331:47: W291 trailing whitespace ./mesonbuild/modules/unstable_icestorm.py:49:1: W293 blank line contains whitespace ./mesonbuild/modules/unstable_icestorm.py:76:31: E203 whitespace before ':' ./mesonbuild/modules/unstable_icestorm.py:82:22: E203 whitespace before ':'
| * | | | Fix flake8 'imported but unused' reportsJon Turney2018-03-039-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ flake8 | grep F401 ./meson.py:17:1: F401 'mesonbuild.mesonlib' imported but unused ./meson.py:18:1: F401 'locale' imported but unused ./run_unittests.py:24:1: F401 'sys' imported but unused ./mesonbuild/minit.py:2:1: F401 'pyclbr.Function' imported but unused ./mesonbuild/minit.py:18:1: F401 'os' imported but unused ./mesonbuild/backend/vs2010backend.py:15:1: F401 'sys' imported but unused ./mesonbuild/backend/xcodebackend.py:19:1: F401 'sys' imported but unused ./mesonbuild/dependencies/ui.py:20:1: F401 'shutil' imported but unused ./mesonbuild/modules/python3.py:15:1: F401 'sys' imported but unused ./mesonbuild/modules/unstable_icestorm.py:15:1: F401 '..compilers' imported but unused ./mesonbuild/modules/unstable_icestorm.py:15:1: F401 '..mlog' imported but unused ./test cases/common/98 gen extra/srcgen3.py:3:1: F401 'os' imported but unused
* | | | | Bumped version number for new development.Jussi Pakkanen2018-03-041-1/+1
| | | | |
* | | | | Add missing code block end marker.Jussi Pakkanen2018-03-041-0/+1
| |/ / / |/| | |
* | | | Updated information for new release.0.45.0Jussi Pakkanen2018-03-0427-176/+200
| | | |
* | | | Make gtkdoc test pass on Debian unstable.Jussi Pakkanen2018-03-042-6/+9
| | | |
* | | | Skip test that requires mocking when using an external exe. Also logging.Jussi Pakkanen2018-03-041-1/+10
| | | |
* | | | Explain change of default better. [skip ci]Jussi Pakkanen2018-03-041-32/+165
| | | |
* | | | Fixing broken language arguments [skip ci]Tim Ansell2018-03-041-1/+1
| | | | | | | | | | | | Missing ending pipe was causing it to fail to render.
* | | | Document wxwidgets dependency, closes #3159 [skip ci]Aleksey Filippov2018-03-041-2/+26
| | | |
* | | | The "outputs" kwarg should be "output" and rewrapping. Closes #3166. [skip ci]Jussi Pakkanen2018-03-042-16/+64
|/ / /
* | | Fix test setup's timeout_multiplier handling.Hemmo Nieminen2018-03-031-2/+4
| | |
* | | Fix OSX CI with current homebrewJon Turney2018-03-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since [1], python3 is now an alias for python, so installing it, rather than upgrading it, will fail. It seems that homebrew can't do this upgrade without breaking python2, so uninstall and reinstall python2 (and mercurial which depends on it) to work around that problem. [1] https://brew.sh/2018/01/19/homebrew-1.5.0/
* | | Merge pull request #3150 from trhd/setups2Jussi Pakkanen2018-03-018-102/+103
|\ \ \ | | | | | | | | Fix a data pickling bug.
| * | | Avoid unnecessary unpickling of build data during testing.Hemmo Nieminen2018-03-011-24/+24
| | | |
| * | | Harmonize data pickling.Hemmo Nieminen2018-03-018-78/+83
| | | | | | | | | | | | | | | | | | | | Try to be more consistent on using save() and load() methods to pickle data.
| * | | Remove some unused variables.Hemmo Nieminen2018-03-012-5/+1
| | | |
* | | | Add jpakkane's answer to "Why must all subprojects be inside a single ↵Aleksey Filippov2018-03-011-0/+24
| | | | | | | | | | | | | | | | directory?" [skip ci]
* | | | Add links to Subprojects.md page from subproject() and subproject object ↵Aleksey Filippov2018-03-011-1/+3
| | | | | | | | | | | | | | | | documentation [skip ci]
* | | | Add reference to implicit_include_directories from include_directories() ↵Aleksey Filippov2018-03-011-0/+4
|/ / / | | | | | | | | | | | | | | | [skip ci] Closes #3153
* | | Merge pull request #2311 from trhd/setupsJussi Pakkanen2018-02-2711-61/+134
|\ \ \ | |_|/ |/| | Improve test setup selection.
| * | Add a release note snippet for the improved test setup selection.Hemmo Nieminen2018-02-251-0/+16
| | |
| * | Add some test setup selection tests.Hemmo Nieminen2018-02-257-0/+54
| | |
| * | Use test setups from the active (sub)project by default.Hemmo Nieminen2018-02-251-40/+44
| | | | | | | | | | | | | | | | | | Replace the logic where a test setup with no project specifier defaults to the main project with one that takes the test setup from the same (sub)project from where the to-be-executed test has been read from.
| * | Include project name in a test object.Hemmo Nieminen2018-02-252-11/+11
| | |
| * | Namespace test setups.Hemmo Nieminen2018-02-252-13/+12
| | | | | | | | | | | | | | | | | | | | | Use $project_name:$test_setup namespace scheme for test setups. This allows one to choose from which (sub)project a test setup is taken from should there be several sharing the same name. Defaults to the main project. E.g. "meson test --setup subproj:valgrind".
| * | Change an error message when find_program() fails.Hemmo Nieminen2018-02-251-1/+1
| | | | | | | | | | | | Mention all the sought programs in the error message.
* | | Enable 'test cases/frameworks/10 gtk-doc' for gtkdoc >= 1.26Jon Turney2018-02-272-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | Enable 'test cases/frameworks/10 gtk-doc' if gtkdoc version is 1.26 or later. Old versions of gtkdoc-scan also output the version to stdout rather than stderr, so be sure to handle that...
* | | Refactor 'common/145 whole archive' test caseAleksey Filippov2018-02-2713-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Former test is extremely hard to follow, target names are inconsistent with directory names, test case mixes up 2 separate testing scenarios, names are meaningless. In order to fix this provides comments what each command is doing and why, renamed targets into descriptive and longer names, made names consistent with contents so that it is easier to follow test logic without looking up source code.
* | | Do not unpack link_whole target, BuildTarget.link_whole() does listify() anywayAleksey Filippov2018-02-271-4/+0
| | |
* | | Look up compilers based on sources from deps, too. Closes #2768.Jussi Pakkanen2018-02-274-3/+23
|/ /