summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Merge pull request #3543 from bdbaddog/issue-3469William Deegan2020-02-055-19/+56
| |\ \ \ \ | | | | | | | | | | | | Make conftests generated and/or built files have unique names - Issue #3469
| | * | | | [ci skip] Fix typoWilliam Deegan2020-02-051-1/+1
| | | | | |
| | * | | | Merge branch 'issue-3469' of github.com:bdbaddog/scons into issue-3469William Deegan2020-01-3063-477/+1090
| | |\ \ \ \
| | | * \ \ \ Merge branch 'master' into issue-3469William Deegan2020-01-3063-477/+1090
| | | |\ \ \ \ | | | | |/ / /
| | * | | | | Fix unit test's mocked builder to have mocked action as the new logic ↵William Deegan2020-01-301-0/+8
| | |/ / / / | | | | | | | | | | | | | | | | | | requires an action to call get_contents() to create hash for file naming
| | * | | | Add blurb to src/CHANGES.txtWilliam Deegan2020-01-301-0/+12
| | | | | |
| | * | | | Updated to expected configure context temporary and generated files to match ↵William Deegan2020-01-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | new scheme to add contents and action hash to file name to avoid mistakenly reusing the wrong temp file based on changing the order and/or number of the configure tests being run between successive runs
| | * | | | Updated TestSCons and test/Configure/option--config.py to work with new ↵William Deegan2020-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | configure temporary file naming via content and action hash
| | * | | | PEP8William Deegan2020-01-211-1/+4
| | | | | |
| | * | | | minor formattingWilliam Deegan2020-01-142-4/+3
| | | | | |
| | * | | | [WIP] #3469 - Make conftests have unique namesAndrew Morrow2020-01-041-13/+25
| | | | | |
| * | | | | Site downloads section movedKonstantin Gonchar2020-02-031-1/+1
| | |/ / / | |/| | |
| * | | | Requested update to CHANGES.txtMats Wichmann2020-01-291-1/+1
| | | | |
| * | | | Fix regex from recent changeMats Wichmann2020-01-292-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new Python scanner had a couple of regexes not specified as raw strings. Python 3.9a3 complains about invalid escape, causing the option/debug-count test to fail. Adding the 'r' fixes. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | Merge pull request #3524 from mwichmann/doc-comstr-shcomstrWilliam Deegan2020-01-2310-66/+125
| |\ \ \ \ | | | | | | | | | | | | docs: refer *COM* and SH*COM* to each other [ci skip]
| | * | | | [PR #3524] add _why_ you should follow xref [ci skip]Mats Wichmann2020-01-1510-76/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | per review, note a reason for referring a static/shared construction variable to its shared/static analogue. added a few more xrefs. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | | [PR #3524] add two more xrefs in D vars [ci skip]Mats Wichmann2020-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | | docs: refer *COM* and SH*COM* to each other [ci skip]Mats Wichmann2020-01-144-15/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [fixes #2565] Object code intended for use in a shared library may need different compilation options than object code not intended for such use. When SCons tools recognize this need they define parallel sets of variables, such that for FOO there is both FOOCOM and SHFOOCOM, FOOCOMSTR and SHFOOCOMSTR, etc. Refer such pairs to each other. Issue 2565 described a case where a user did not realize they needed to use SHCXXCOMSTR to affect the output for certain C++-compiled objects. The discussion concluded this was just a doc fix. Some examination turned up cases of this in docs for the C compiler, C++ compiler, D compiler, Fortran compiler and linker modules, seemed better to just hit all of those. I would have preferred to move the pairs together into a single entry but it seems the scons doc markup doesn't support this kind of usage - a <cvar> can take only a single name attribute, and uses it to generate tags, etc. so there would have been a ton of surgery needed to implement that way. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | Merge pull request #3525 from mwichmann/more-doc1William Deegan2020-01-237-97/+134
| |\ \ \ \ \ | | | | | | | | | | | | | | Tweak docs a bit [ci skip]
| | * | | | | Tweak docs a bit [ci skip]Mats Wichmann2020-01-147-97/+134
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Some clarification on Aliases. * Markup improvements. * Custom decider manpage entry didn't mention fourth arg. While fixing that, noticed an ordering problem in matching User Guide section, and converted example there to use hasttr instead of depending on mainly-for-REPL dir() function. * Call it "empty string" instead of "null string" (more common Python terminology) * Fix the table of installers (again, seems old fixes got lost) * Added a note on installation to try to forestall common confusion. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | [PR #3531] fix TestFailed usage another wayMats Wichmann2020-01-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per review, the replacement for (deprecated/removed) raising TestFailed is to call self.fail - updated to this. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | Fix some pyflakes warningsMats Wichmann2020-01-2314-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are of the kind that would not be fixed by a code reformat (Black). These should all be trivial. They're nearly all in unit tests (all but two), since I haven't cleaned up as many there in the past. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | Merge pull request #3528 from mwichmann/less-list-convWilliam Deegan2020-01-1616-39/+37
| |\ \ \ \ \ | | | | | | | | | | | | | | Stop converting to list where not needed
| | * | | | | [PR #3528] preserve order on two changesMats Wichmann2020-01-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per review comment - with extra caution, use an order-preserving technique rather than a non-preserving one, in case it matters. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | | | Stop converting to list where not neededMats Wichmann2020-01-1616-39/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3 returns a special object, which is iterable, rather than a list when you ask for dictionary keys(), values(), items(). if you then proceed to iterate over it it's being used as expected and doesn't have to be forced to a list first. This occurs a number of places in this form: for k in list(something.keys()): Also there are several places where the code loops over the result of dict.keys() and then uses the key to index into the dictionary, this can be replaced by: for k, v in something.items(): Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | | updated CHANGES.txtWilliam Deegan2020-01-161-3/+7
| | | | | | |
| * | | | | | Change ValueWithMemo() to take into account any name passed when memoizing ↵William Deegan2020-01-163-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Value()'s
| * | | | | | Merge pull request #3479 from grossag/topic/grossag/valuenameWilliam Deegan2020-01-166-6/+42
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | Add support for Value objects being implicit dependencies
| | * | | | | [ci skip] Update Environment.xml based on the change to env.Value()Adam Gross2020-01-151-1/+5
| | | | | | |
| | * | | | | Plumb through name in ValueWithMemoAdam Gross2020-01-153-1/+6
| | | | | | |
| | * | | | | Add name parameter as requested in PRAdam Gross2020-01-153-5/+13
| | | | | | |
| | * | | | | Update and improve testsAdam Gross2020-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change integrates various review feedback, including: 1. Validates the result of Dir.get_contents() in PythonTests.py. 2. Adds a functional test for having value as a dependency.
| | * | | | | Merge branch 'master' into topic/grossag/valuenameAdam Gross2020-01-10174-1194/+1175
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | |
| | * | | | | Add a functional testAdam Gross2019-12-022-3/+2
| | | | | | |
| | * | | | | Avoid a flake8 warning where "contents" is unusedAdam Gross2019-11-251-0/+1
| | | | | | |
| | * | | | | Add support for Value objects being implicit dependenciesAdam Gross2019-11-253-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of consolidating outside dependencies, the code I work on takes on Value objects as implicit dependencies. That allows us to take on a dependecy to an entire build (e.g. our compiler) rather than 500 files from it. This has worked fine in practice for months now, but it turns out to break when using caching, because Node.get_contents() expects all dependencies to have the "name" attribute. This change adds that attribute to the Value class and a test to confirm that Node.get_contents() works now.
| * | | | | | Change 'Dependency' to 'Depends' in documentation, to match implementationJeremy Elson2020-01-141-1/+2
| | |_|/ / / | |/| | | |
| * | | | | [ci skip] add new python tool module to manifestWilliam Deegan2020-01-131-0/+1
| | | | | |
| * | | | | Merge pull request #3465 from grossag/topic/grossag/pythonscannerWilliam Deegan2020-01-137-0/+532
| |\ \ \ \ \ | | | | | | | | | | | | | | Add Python scanner and tests
| | * | | | | [ci skip] Add documentation for the python toolAdam Gross2020-01-131-0/+36
| | | | | | |
| | * | | | | Add a Tool that hooks up the python scannerAdam Gross2020-01-102-0/+51
| | | | | | |
| | * | | | | Merge branch 'master' into topic/grossag/pythonscannerAdam Gross2020-01-1022-275/+287
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | |
| | * | | | | Merge branch 'master' into topic/grossag/pythonscannerWilliam Deegan2019-12-2949-321/+198
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge branch 'master' into topic/grossag/pythonscannerAdam Gross2019-12-192-358/+366
| | |\ \ \ \ \ \
| | * | | | | | | Add Python.py to the manifest fileAdam Gross2019-12-191-0/+1
| | | | | | | | |
| | * | | | | | | Fix over-80-characters issue and add formatting block at bottomAdam Gross2019-12-171-1/+8
| | | | | | | | |
| | * | | | | | | Merge branch 'master' into topic/grossag/pythonscannerAdam Gross2019-12-17128-277/+344
| | |\ \ \ \ \ \ \
| | * | | | | | | | Separate out Python suffixes into another variableAdam Gross2019-12-171-1/+2
| | | | | | | | | |
| | * | | | | | | | Merge branch 'master' into topic/grossag/pythonscannerWilliam Deegan2019-12-018-62/+95
| | |\ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|/ | | | |/| | | | | |
| | * | | | | | | | Convert PythonTests to use directory fixtureAdam Gross2019-10-241-79/+1
| | | | | | | | | |