summaryrefslogtreecommitdiffstats
path: root/src/engine
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix Issue #3303 --config=force overwritting passed in Environment's Decider ↵William Deegan2019-02-272-23/+59
| | | | | | | | | | | | and not cleaning it up when configure context is complete
* | | [ci skip] correct TempFileMunge docstringMats Wichmann2019-02-231-2/+2
| |/ |/| | | | | | | | | | | TEMPFILEEXTENSION in class TempFileMunge docstring should be TEMPFILESUFFIX to match the code Signed-off-by: Mats Wichmann <mats@linux.com>
* | Merge pull request #3270 from dmoody256/mingw_link_issueWilliam Deegan2019-02-152-1/+8
|\ \ | | | | | | Mingw link issue
| * \ Merge remote-tracking branch 'origin/master' into mingw_link_issueDaniel2019-02-085-410/+588
| |\ \
| * \ \ Merge remote-tracking branch 'origin/master' into mingw_link_issueDaniel2019-02-022-3/+3
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'origin/master' into mingw_link_issueDaniel2019-01-3016-118/+465
| |\ \ \ \
| * | | | | check to make sure that the CCFLAGS are a CLVarDaniel2019-01-301-2/+6
| | | | | |
| * | | | | fixed mingw emitter to convert str to node before accessing node member, and ↵Daniel2019-01-142-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | updated mingw to remove MSVC like nologo flag
* | | | | | Merge pull request #3297 from mwichmann/win-resourcewarnWilliam Deegan2019-02-152-16/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix some more subprocess-unclosed-file warnings
| * | | | | | Fix syntax error from reverting popen context mgrMats Wichmann2019-02-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | | Undo part of the windows context manager changeMats Wichmann2019-02-091-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Popen is not a context manager for PY27, lots of tests failed as a result. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | | Fix some more subprocess-unclosed-file warningsMats Wichmann2019-02-082-17/+21
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following on to PR #3279 which cleaned up warnings for gcc, g++ and swig by using context managers, do the same for Windows vc. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | | Clean up some tests: use context managersMats Wichmann2019-02-145-19/+30
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plenty of complaints coming from Python 3.8alpha on unclosed files. Targeted those areas which intersect with PyPy failures - this changeset reduces the PyPy fails by 17 on the local test environment. So this affects both Issue #3299 and the PyPy support project. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | Fix is/is not syntaxMats Wichmann2019-02-113-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a few places, "is" and "is not" are used to compare with a string or integer literal. Python 3.8 flags these with a SyntaxWarning. Changed to == and != Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | Add textfile tool to defaultsMats Wichmann2019-02-082-2/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR #3242 added the Textfile and Substfile builders to the default builder list (for issue #3147), but didn't finish the job: the textfile tool needs to be added to the default list of tools as well. This time with a testcase that fails if the tool is not added. Minor doc tweak. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Add arm targets to doc for MSVS_ARCHMats Wichmann2019-02-061-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Merge pull request #3289 from mwichmann/msvs-xmlWilliam Deegan2019-02-051-400/+563
|\ \ \ \ | | | | | | | | | | Pretty-print msvs.xml
| * | | | Pretty-print msvs.xmlMats Wichmann2019-02-051-400/+563
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doc file had large sections in not very readable format, with lots of tags on single line, etc. Ran through a formatting tool and did some manual fixups. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | fix for case where nothing is return from vswhereDaniel2019-02-051-7/+8
|/ / / /
* | | | Merge pull request #3261 from mwichmann/doc-defaultWilliam Deegan2019-02-021-0/+4
|\ \ \ \ | | | | | | | | | | Improve scons docs regarding Default()
| * | | | Work on Default docu wording a bit moreMats Wichmann2019-01-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An earlier change updated some examples, this makes some tweaks to the wording as well for Default, DEFAULT_TARGETS, etc. to clarify. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | Fix configure logic calling configured decider not handling DeciderNeedsNode ↵William Deegan2019-02-021-2/+9
| | | | | | | | | | | | | | | | | | | | exception which can be thrown by MD5-Timestamp decider logic
* | | | | handle exceptions slightly betterWilliam Deegan2019-02-021-1/+1
| |_|_|/ |/| | |
* | | | update EnvironmentTest to work with new defaultDaniel2019-01-301-2/+2
| | | |
* | | | change default for AppendENVPath to not move existing pathsDaniel2019-01-281-1/+1
| |_|/ |/| |
* | | Quiet Py3 resource warningsMats Wichmann2019-01-252-20/+38
|/ / | | | | | | | | | | | | | | Later Pythons (3.6+) enable warnings by default (needed a command line option before then), so some tools give off warnings now. This change quiets the warnings from the gcc, g++ and swig tools. Signed-off-by: Mats Wichmann <mats@linux.com>
* | Merge pull request #3274 from pasdVn/cpp-regexWilliam Deegan2019-01-192-5/+111
|\ \ | | | | | | Enhance cpp scanner regex logic to detect if/elif expressions without whitespaces
| * | Enhance cpp scanner regex logic to detect if/elif expressions without ↵Tobias Herzog2019-01-182-5/+111
| | | | | | | | | | | | | | | | | | whitespaces correctly for example "#if(defined FOO)" or "#elif!(BAR)"
* | | TEMPFILEPRFIX test changed backMats Wichmann2019-01-171-4/+5
| | | | | | | | | | | | | | | | | | | | | Testing "if not prefix" would return false if an empty string is passed, but that setting should be valid. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Set defaults for TEMPFILE* differentlyMats Wichmann2019-01-161-8/+6
| | | | | | | | | | | | | | | | | | | | | Per review comments, subst either return the right thing or None, use this are the way to test for setting default instead of has_key. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Change TEMPFILEEXTENSION to TEMPFILESUFFIXMats Wichmann2019-01-162-8/+24
| | | | | | | | | | | | | | | | | | | | | All the other file extension variables end in SUFFIX, so change this new one to match for consistency. Added doc entry. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | [WIP] customizable tempfile extension (issue #2431)Mats Wichmann2019-01-161-12/+23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Apply the patch (adjusted) from issue #2341: instead of hardcoding the filename extenstion for the tempfile to help with linking on Windows targets, allow some variability. Current marked WIP because there are some other comments in the issue tracker that can maybe be flushed out by submitting this PR, and there are no tests (should presumably go in test/TEMPFILEPREFIX.py, or a new test TEMPFILEEXTENSION.py) Signed-off-by: Mats Wichmann <mats@linux.com>
* | updated platform dict names and used context manager for opening toolset ↵Daniel Moody2019-01-141-10/+10
| | | | | | | | | | | | version file updated other dict references
* | updated documentationDaniel2019-01-141-0/+7
| |
* | merged masterDaniel2019-01-141-2/+20
|\ \ | |/
| * accidently reset changes, so recommitingDaniel2019-01-131-2/+20
| |
* | accidently moved a change in CHANGES.txt, moving it backDaniel2019-01-141-14/+0
| | | | | | | | removed unused function
* | fix changes.txt and added some commentsDaniel2019-01-131-0/+36
| |
* | update commentDaniel2019-01-121-2/+3
| |
* | updated msvs to handle newer versions, and moved host/target combos to dictDaniel2019-01-122-23/+41
| |
* | added test for vs 14.1 and checking arm targetsDaniel2019-01-122-13/+22
| |
* | added name for cl.exe and have older versions walk for cl.exeDaniel2019-01-101-12/+17
| | | | | | | | | | | | fixed syntax error removed debug print
* | added support for checking for arm target support, and UWP apps for 2017Daniel2019-01-102-30/+62
| |
* | merged from remoteDaniel2019-01-101-23/+35
|\ \
| * | removed unused varied, added named expections, whitespace and commentsDaniel Moody2019-01-091-19/+28
| | | | | | | | | | | | | | | | | | fixed except check revert some obsolete changes
| * | reverted tests so they can use a default host == target platform for find msvcDaniel Moody2019-01-091-2/+2
| | | | | | | | | | | | fixed some other tests
| * | added ability to get vc dir without env (assume host == target) and fixed testDaniel Moody2019-01-091-3/+7
| | |
| * | updated to use the target archDaniel2019-01-091-7/+59
| | | | | | | | | | | | removed debug print
* | | merge mats vc tool updatesDaniel2019-01-102-43/+73
|\ \ \
| * | | stray close-paren characterMats Wichmann2018-11-221-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>