summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update version stringsWilliam Deegan2019-12-173-3/+3
|
* Update content in RELEASE.txt CHANGES.txt Announce.txt and bump the version ↵William Deegan2019-12-173-46/+66
| | | | in ReleaseConfig
* Add 3.1.1 release info to debian/changelog and src/Announce.txtWilliam Deegan2019-12-171-0/+28
|
* Remove deprecated BuildDir, build_dirMats Wichmann2019-12-156-56/+9
| | | | | | | | | Updates docs and code; moves tests to test/Removed/BuildDir/Old. New tests verify that these can no longer be used. Along the way a small cleanup in SConscript.py Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge pull request #3495 from mwichmann/depr-CopyWilliam Deegan2019-12-154-23/+2
|\ | | | | Remove deprecated env.Copy()
| * Remove deprecated env.Copy()Mats Wichmann2019-12-144-23/+2
| | | | | | | | | | | | | | | | | | Method removed. Test moved to test/Removed/Copy-Method/Old, and new test added to ensure it takes an AttributeError. Deprecation warning no longer useful for this one, so removed. Signed-off-by: Mats Wichmann <mats@linux.com>
* | Merge branch 'master' into entry-microoptimizationWilliam Deegan2019-12-133-7/+17
|\ \ | |/
| * Merge pull request #3493 from mwichmann/defenv-2477William Deegan2019-12-131-5/+11
| |\ | | | | | | Tweak DefaultEnvironment descriptions
| | * [PR #3493] fix review comment [ci skip]Mats Wichmann2019-12-131-1/+1
| | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | * Tweak DefaultEnvironment descriptions (ci skip)Mats Wichmann2019-12-131-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doc-only change to be more explicit about when the default construction environment is used, and what it means to call DefaultEnvironment() - only the first call instantiates it, later calls return the object. Fixes #2477 Signed-off-by: Mats Wichmann <mats@linux.com>
| * | Improve DAG walk performance by preventing unnecessary list manipulationMathew Robinson2019-12-112-2/+6
| |/
* | Optimize for most common case in Entry.disambiguate()Mathew Robinson2019-12-122-5/+7
|/ | | | This removes many unnecessary os.stat and related FS IO calls.
* Merge branch 'master' into py3-doctasksWilliam Deegan2019-12-1010-65/+154
|\
| * Merge pull request #3473 from kulikjak/masterWilliam Deegan2019-12-102-5/+8
| |\ | | | | | | Fix incorrect testing assumptions for Solaris
| | * Fix incorrect testing assumptions for SolarisJakub Kulik2019-11-012-5/+8
| | |
| * | Merge pull request #3475 from mwichmann/addopt-docsWilliam Deegan2019-12-101-4/+33
| |\ \ | | | | | | | | Document that AddOption has limitations
| | * | [PR 3475] further wording tweaks on AddOption [ci skip]Mats Wichmann2019-11-211-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reword some parts. Add note to manpage that AddOption does not support matching "abbreviations" for long option names. Add note to manpage and user guide that you can't SetOption on options added via AddOption. (as noted in issue #2105) Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | [PR 3475] update docs/generated [ci skip]Mats Wichmann2019-11-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's debated about whether the generated should be checked in at all; without an answer to that, they've fallen far enough out of sync that it becomes harder to use "git diff" as a spot-check that nothing strange is happening due to any given doc change. This should resync them to current. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | Document that AddOpt has limitations [ci skip]Mats Wichmann2019-11-131-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manpage describes that using spaces between AddOption'd option and its argument is undefined. Use Guide goes into more detail, including workarounds. :: these are not a solution, but do at least reduce the surprise factor. (multiple github issues) Fix tag mismatch in depends.xml introduced by a previous deletion. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Merge pull request #3487 from mwichmann/update-action-timestampWilliam Deegan2019-12-092-5/+4
| |\ \ \ | | | | | | | | | | Align debug action timestamps to existing conventions
| | * | | Update debug=action-timestampsMats Wichmann2019-12-072-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Rename to action-timestamps (from action_timestamps) for consistency with other compound word options. + Put manpage entry in alphabetical order. + Describe what option does and shorten it (refers to debug=time instead of duplicating it) + Change prints a bit (and tests to match) + Show scons version where added. + Slight adjustment to manpage introduction to debug options. Along the way, fixes a lingering tag mismatch from an earlier documentation PR. Updates PR#3456 Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | Update CHANGES.txt to indicate original author of patchAdam Gross2019-12-091-1/+1
| | | | |
| * | | | Convert our file replacement to be a classAdam Gross2019-12-091-3/+6
| | | | | | | | | | | | | | | | | | | | This hopefully will fix one unit test that validates that it's a class.
| * | | | Merge branch 'master' into topic/grossag/winmultifixAdam Gross2019-12-083-12/+57
| |\ \ \ \
| | * | | | Address GaryO's feedback on PR 3129. Also reformatted Command() PEP8William Deegan2019-12-082-21/+40
| | | | | |
| | * | | | Merge pull request #3129 from dragon512/update-commandWilliam Deegan2019-12-063-6/+32
| | |\ \ \ \ | | | |/ / / | | |/| | | Allow Command to take more builder options
| | | * | | Allow Command to take more builder optionsJason Kenny2019-12-043-6/+32
| | | |/ / | | | | | | | | | | | | | | | | | | | | add to change log add documentation update test
| * | | | Fix SConsTests.py to actually clear out the file/open overridesAdam Gross2019-12-081-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | This was breaking the tests because it was not clearing the overrides in a manner consistent with the new logic.
| * | | | Change src\CHANGES.txtAdam Gross2019-12-061-0/+5
| | | | |
| * | | | Fix multithreaded Windows builds when a thread has a file open for writeAdam Gross2019-12-061-25/+34
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Python 2 enables handle inheritance by default for child processes. It wasn't until Python 3.4 that it was disabled. This causes problems because if a Python action is writing to a file and a child process is spawned at that exact moment, builds fail because of sharing issues.
* | | | Improve building of docs using Py3 [ci skip]Mats Wichmann2019-12-05110-115/+115
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * context managers on file r/w + use shutil.copy where it makes sense. * lxml wants (demands?) that xml files be processed as bytes * for the phase where we gen the entity files, read as text anyway * Need to solve a problem where the generated xml is putting the \n in literally, not evaluating it. * Fix some examples broken for py3 * Fix more octal constant instances * Cleanups suggested by PyCharm: staticmethods, two blanks before class definition, others. This addresses issues called out in #3300, but is not a complete solution because the actual doc build step still fails with the epydoc failures (which aren't directly because of Py3; epydoc build doesn't work any better on my system with Py3, even with the forked version with patches). Signed-off-by: Mats Wichmann <mats@linux.com>
* | | fix more Python escape complaintsMats Wichmann2019-12-022-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Write as raw strings: Two are docstrings that contain a backslash; the third is an odd expression parenthesized for no good reason and containing backslashes. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | [ci skip] Add to CHANGES.txt for PR #3481William Deegan2019-11-271-16/+20
| | |
* | | try a different approach that should work on python 3.5.Rob Boehne2019-11-261-2/+2
| | |
* | | Fix a problem under Solaris when using Python 3, while maintaining support ↵Rob Boehne2019-11-261-13/+28
| | | | | | | | | | | | for Python 2.7. subproces.Popen() produces bytes without the encoding argument in 3, which is not recognized by 2.7, and doesn't need to be decoded.
* | | Merge branch 'master' into patch-1William Deegan2019-11-184-12/+18
|\ \ \
| * | | Update CHANGES.txtTim Gates2019-11-171-0/+2
| | | |
| * | | Fix simple typo: whos -> whoseTim Gates2019-11-161-1/+1
| |/ /
| * | Merge pull request #3472 from maiphi/latex_latin1William Deegan2019-11-082-2/+7
| |\ \ | | | | | | | | Fix crash when Latin-1 encoded Latex log file is read with Python 3
| | * | Changelog: add details about fix of Latex log encoding issuemaiphi2019-11-071-1/+2
| | | |
| | * | Added note about Latex Latin-1/UTF-8 issue to CHANGES.logmaiphi2019-11-011-0/+4
| | | |
| | * | Tex builder: avoid error when reading non-utf-8 log filesmaiphi2019-11-011-2/+2
| | |/ | | | | | | | | | | | | | | | | | | Python 3 throws a UnicodeDecodeError when reading a non-utf-8 file in text mode with default (utf-8) encoding. This happens when T1 fontenc is used in Latex and a warning in the log file contains e.g. umlauts. Invalid characters are now replaced.
| * | Remove deprecated Builder keywordsMats Wichmann2019-10-222-9/+8
| |/ | | | | | | | | | | overrides= and scanner= have been deprecated for over a decade. Signed-off-by: Mats Wichmann <mats@linux.com>
* | Added support for "-imacros" to ParseFlagsIvan Kravets2019-11-064-31/+34
| |
* | Parse "-imacros" option in ParseFlagsIvan Kravets2019-11-011-1/+1
| |
* | Parse GCC "-imacros" option in ParseFlagsIvan Kravets2019-11-011-0/+3
| |
* | Parse GCC -imacros optionIvan Kravets2019-11-011-1/+4
|/ | | https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
* Remove deprecated {Source,Target}SignaturesMats Wichmann2019-10-206-403/+8
| | | | | | | | | | These two have been deprecated since 2010 (about SCons 2.0), commit 935e6985. Methods are removed, setoption for setting them removed, doc is removed, tests are migrated to test/Removed/*/Old with a sconstest.skip file so they don't run, and two new tests are added to confirm that using the functions and setoptions generate exceptions. Signed-off-by: Mats Wichmann <mats@linux.com>
* Changed wording on MSVC caching to indicate it's currently experimental ↵William Deegan2019-10-121-3/+4
| | | | feature [CI Skip]
* Merge pull request #3462 from mwichmann/msvc_env_cacheWilliam Deegan2019-10-125-70/+145
|\ | | | | enable experimental persistent caching of vcvars on win32