summaryrefslogtreecommitdiffstats
path: root/src/engine
Commit message (Collapse)AuthorAgeFilesLines
...
| * | [PR #3434] apply subst fix from #3428Mats Wichmann2019-09-081-1/+1
| | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Added debug option "timestamp", changed option "timestamp" to ↵Edoardo Bezzeccheri2019-10-092-7/+7
| | | | | | | | | | | | | | | | | | "action_timestamps" As per PR review
* | | Added debug option "timestamp", implementationEdoardo Bezzeccheri2019-10-012-2/+10
| |/ |/|
* | Docs for InstallVersionedLib and --install-sandbox [ci skip]Mats Wichmann2019-09-251-0/+16
| | | | | | | | | | | | | | | | | | | | | | Adds --install-sandbox to manpage options and to section on Install builder. Adds mention of InstallVersionedLib to user guide. Fixes #3007 Signed-off-by: Mats Wichmann <mats@linux.com>
* | Remove deprecated debug optionsMats Wichmann2019-09-121-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These options have been deprecated since 2007. They were originally announced to be disabled in SCons 2.0.0, but that didn't happen. Left the deprecated-debug-options behavior is in, but the dictionary of such options is now empty, and there's a new dict of removed options, and presence in that dict raises an exception. The four tests that were in test/Deprecated move to a new directory test/Removed and are simplified just to make sure invocation errors scons out. (git interprets most of these as remove/add for some reason) These appear to have been already removed from docs, so no doc impact. Signed-off-by: Mats Wichmann <mats@linux.com>
* | Builder and Variable Subst doc updates [ci skip]Mats Wichmann2019-09-091-40/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work on Builder Methods and Variable Substitution man sections - some wording tweaks, do some formatting markup a little more consistently, etc. Tweak the wording for the Command builder, a description shared between manpage and userguide. Closes #3030: Environment.xml had many references to detail sections elsewhere, like "see XXX section below," which don't work well - this xml is generated into both the manpage and the user guide, and the locality of saying "below" is incorrect for the latter since those sections are only in the manpage. Essentially these are changed to say "see the manpage section XXX". Adding clickable links is of course also possible, but I recall there was some objection to cross-document links, so I didn't do that. Signed-off-by: Mats Wichmann <mats@linux.com>
* | [fix #2444) update env.Whereis docu [ci skip]Mats Wichmann2019-09-081-16/+37
|/ | | | | | Apply the patch in the issue, and further tweak the wording. Signed-off-by: Mats Wichmann <mats@linux.com>
* [#3425] review comment: pluralize source fileMats Wichmann2019-09-071-1/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3425] further tweak "default" tool wording [ci skip]Mats Wichmann2019-09-071-13/+13
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3425] provide path to src for tool defaults [ci skip]Mats Wichmann2019-09-071-1/+3
| | | | | | addresses review comment Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3245] fix sider complaint about misspelling [ci skip]Mats Wichmann2019-09-071-1/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* manpage: clarify that tools=[list] overrides [ci skip]Mats Wichmann2019-09-074-6/+87
| | | | | | | | | Also some formatting tweaks, and a couple of typos. The description of the default tool now lists some of what that may include. Signed-off-by: Mats Wichmann <mats@linux.com>
* Use "in" in preference to string find methodMats Wichmann2019-08-303-6/+6
| | | | | | | | In places where only the found/not found status is needed, use the membership operator (in) for checks instead - makes for easier reading and is considered faster for shorter strings. Signed-off-by: Mats Wichmann <mats@linux.com>
* Clean up D compiler pagesMats Wichmann2019-08-274-924/+329
| | | | | | | | | | | | | | | | | Manpage duplicated (triplicated, actually) tons of construction variables because they were defined in each of the three possible names for the D compiler. Someone already started a DCommon.xml, this just finishes off the job of moving them there; the individual compiler-name docs now do not define any construction vars. THe ProgramAllAtOnce builder had the same problem, and got the same treatment. Note: lots of the cvars don't actually define the term. I don't use D so I'm not proposing any changes at this time, but it would be simple enough to merge in some simple wording if someone thinks it's important enough. Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3423] further wording tweak for Dictionary [ci skip]Mats Wichmann2019-08-251-3/+3
| | | | | | | And replaces some written out "construction environment" and "construction variable" uses with existin entities. Signed-off-by: Mats Wichmann <mats@linux.com>
* Update Dictionary documentation to match implementation [ci skip]Mats Wichmann2019-08-252-18/+39
| | | | | | | | | | | | | | | | | | Dictionary is now described as returning a dict only if called with no arguments; if called with arguments it returns a string or list of strings (matching the implmenentation). Note env.Dump() only takes zero arguments or one, it it not documented as taking the multiple keys, so there's less ambiguity with it. Some examples twiddled a little, and in a couple of cases Dictionary is not used any longer - we might as well just index into the construction environment since that works. Fixes #3156 Signed-off-by: Mats Wichmann <mats@linux.com>
* Improve threading performance by sharing NodeInfo across threadsMathew Robinson2019-08-192-8/+7
|
* Added -fopenmp and -openmp to the docs.benjamin reed2019-08-011-0/+2
|
* Merge branch 'master' of github.com:breed/sconsbenjamin reed2019-08-014-7/+88
|\
| * Merge branch 'master' into masterWilliam Deegan2019-07-314-7/+88
| |\
| | * Merge pull request #3418 from dragon512/fix-regressionWilliam Deegan2019-07-312-4/+3
| | |\ | | | | | | | | Fix regression in 3.1.0 with removal of DeciderNeedsNode
| | | * Add test and fix to regression in current 3.1.0 dropJason Kenny2019-07-301-0/+2
| | | |
| | | * Remove usage of DeciderNeedsNode which has been removed from --debug=explain ↵William Deegan2019-07-241-4/+1
| | | | | | | | | | | | | | | | code
| | * | Don't chain exceptions in CacheDirTestsMathew Robinson2019-07-311-6/+0
| | | |
| | * | Fix some lingering SCons.Errors.EnvironmentError usage (fixes #3415)Mathew Robinson2019-07-312-3/+91
| | |/
* | | make expected flag order match the order passed.benjamin reed2019-08-011-1/+1
|/ /
* | simple changes to tests and docbenjamin reed2019-07-312-25/+28
| | | | | | | | | | * made test coverage for -fmerge-all-constants match -mno-cygwin * added -fmerge-all-constants to Environment.xml
* | add -fmerge-all-constants flag to LINKFLAGSbenjamin reed2019-07-262-2/+5
|/ | | | | | -fmerge-all-constants doesn't fully work if it isn't also included as part of the link step. This change will add -fmerge-all-constants to both CCFLAGS and LINKFLAGS if it is specified as a build flag.
* Merge branch 'master' into topic/grossag/msvsWilliam Deegan2019-07-1910-138/+211
|\
| * msvs host-target fix + vs19 supportMats Wichmann2019-07-153-40/+63
| | | | | | | | | | | | | | | | | | This patch combines several bits of work - PR #3391 and the discussion/patch in Issue #3346 to improve the support of Visual Studio 2019. VS 2019 is now a recognized version, and the selection of that version specifically should be working. Signed-off-by: Mats Wichmann <mats@linux.com>
| * Merge branch 'fix_slow_md5_decider' of github.com:bdbaddog/scons into ↵William Deegan2019-07-144-9/+41
| |\ | | | | | | | | | fix_slow_md5_decider
| | * Merge branch 'master' into fix_slow_md5_deciderWilliam Deegan2019-07-144-9/+41
| | |\
| | | * Allow builders to inherit from OverrideEnvironmentsMathew Robinson2019-07-092-1/+25
| | | |
| * | | [ci skip] Fix spelling picked up by siderWilliam Deegan2019-07-141-1/+1
| |/ /
| * | Fix docstrings and comments for repo node changesWilliam Deegan2019-07-141-6/+8
| | |
| * | Doc updates for repo_node addition to Decider function argsWilliam Deegan2019-07-141-1/+12
| | |
| * | Add missing repo_node argument to _changed_source()William Deegan2019-07-091-3/+3
| | |
| * | Clean up __slots__ specification to be list, remove some obsoleted codeWilliam Deegan2019-07-091-4/+2
| | |
| * | Fix __slots = ('single element') -> ('single element',) per finding by mwichmannWilliam Deegan2019-07-051-3/+3
| | |
| * | remove unnecessary DeciderNeedsNode exceptionWilliam Deegan2019-07-051-15/+0
| | |
| * | Fix _add_strings_to_dependency_map() perf degredationWilliam Deegan2019-06-281-2/+1
| | |
| * | Restore MD5-Timestamp performance by removing try/except from every call. ↵William Deegan2019-06-264-65/+96
| | | | | | | | | | | | Also some optimized logic for updating and using the dependency_map built as part of the decider. Fixed tests. Note Deciders now need a fourth argument 'repo_node' which is the repository node for the file if it's to be used. This is currently only used by md5-timestamp decider File.changed_timestamp_then_content()
| * | Remove join and list comprehension when not needed in Action.get_content(). ↵bdbaddog2019-06-251-1/+1
| | | | | | | | | | | | Yields some speedup.
* | | [ci skip] MSVS doc fix and output of rerunning doc generationAdam Gross2019-07-191-2/+2
| | |
* | | [ci skip] Updated CHANGES.txt and msvs.xml documentationAdam Gross2019-07-191-3/+35
| | |
* | | Integrate requested changes to msvsTests.pyAdam Gross2019-07-191-5/+10
| | | | | | | | | | | | This change integrates changes requested by @bdbaddog to avoid using SCons.Script.Dir
* | | Fix msvs testsAdam Gross2019-07-181-2/+20
| | |
* | | Fix issues raised in code reviewAdam Gross2019-07-172-34/+72
| | |
* | | Upgrade and improve Visual Studio solution/project generation codeAdam Gross2019-07-172-56/+174
| |/ |/| | | | | | | | | | | | | | | | | This change improves the Visual Studio solution and project generation code in the following ways: 1. Adds support for Visual Studio 2019 and 2017 project files. In this part, I went a different direction than the existing VS2015 code by doing all of this in the V10 class. I have found this to be the easiest way to continue to add support for new versions of Visual Studio; for example, VS2019 support was a 4-line change after the initial changes. 2. Adds support for consumers to specify C++ include paths and C++ preprocessor definitions to be included in the .vcxproj file. This helps Intellisense function better. (Tests included for this part as well, including one to cover an issue pickling Dir() objects when writing miscellaneous CPPPATH info to the .vcxproj file) 3. Adds <VCProjectUpgraderObjectName> to the project file so we are not prompted to upgrade. This helps the case where a developer has a new version of Visual Studio installed and generates projects for that, while the underlying SCons build uses an older toolset. 4. Excludes .filters files from dspfile processing. 5. Adds a test to cover VS2015 support.
* | LaTeX scanner: Remove obsolete commentLukas Schrangl2019-07-031-7/+0
| | | | | | | | | | The comment referred to the "old" regular expression that would only find the last include in each line.