summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Replaced 'bare excepts', now catching Exception.Dirk Baechle2020-06-202-12/+8
| | | |
| * | | Added Sphinx support to the 'build' Docker images.Dirk Baechle2020-06-203-7/+4
| | | |
| * | | Updated generated doc files and user manual.Dirk Baechle2020-06-208-1186/+1177
| | | |
| * | | Fixed Sets/Uses links in generated doc files.Dirk Baechle2020-06-206-24/+18
| | | |
| * | | Added a specialized Manpage builder for lxml (Docbook).Dirk Baechle2020-06-191-2/+32
| | | |
| * | | First set of changes, started to rip out libxslt2.Dirk Baechle2020-06-197-576/+209
| | | |
* | | | Merge pull request #3701 from jcbrill/msvc-detectionWilliam Deegan2020-06-212-31/+60
|\ \ \ \ | | | | | | | | | | MSVC detection for 2019, 2017, 2017 Express and 6.0
| * | | | rework changes to be end-user focused [ci skip]Joseph Brill2020-06-171-9/+10
| | | | |
| * | | | updates concerning GH Issue #3699 [ci skip]Joseph Brill2020-06-161-1/+11
| | | | |
| * | | | update comment for vswhere version argumentsJoseph Brill2020-06-161-1/+1
| | | | |
| * | | | Merge branch 'master' into msvc-detectionJoseph Brill2020-06-154-23/+58
| |\ \ \ \
| * | | | | don't exit immediately when vswhere returns no information since there may ↵Joseph Brill2020-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | be more iterations (artifact from moving the vswhere query in a loop)
| * | | | | fix erroneous indent is os.walk code for cl.exeJoseph Brill2020-06-151-1/+1
| | | | | |
| * | | | | The order of results from the vswhere query using "products *" is unreliable ↵Joseph Brill2020-06-151-26/+33
| | | | | | | | | | | | | | | | | | | | | | | | when multiple versions of msvc are installed. Modify the vswhere queries by version to detect the appropriate products: 14.2 [default, BuildTools], 14.1 [default, BuildTools], 14.1Exp [WDExpress]. The default is Enterprise, Professional, Community. The order is unknown. With only Build Tools installed, 14.2 and 14.1 require two calls to vswhere.
| * | | | | Msvc 14.1Exp detection raises an UnsupportedVersion exception due to a ↵Joseph Brill2020-06-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | missing "14.Exp" key in the _VCVER_TO_VSWHERE_VER dictionary. Add the "14.Exp" to the dictionary.
| * | | | | The cl.exe existence check for msvc 6.0 fails due to the case sensitivity of ↵Joseph Brill2020-06-151-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | the filename ("cl.exe" and "CL.EXE"). First check vc_dir/bin/cl.exe and vc_dir/cl.exe for existence. Modify the vc_dir walk to check for existence under the directories rather than testing if cl.exe is in the file list. Existence test is not sensitive to file name case.
| * | | | | reset_installed_vcs is setting a local variable named __INSTALLED_VCS_RUN ↵Joseph Brill2020-06-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | rather than the changing the global variable. Added global definition.
* | | | | | Merge pull request #3705 from mwichmann/test-subdirWilliam Deegan2020-06-2147-216/+246
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Fix testing subdir usage
| * | | | | Fix testing subdir usageMats Wichmann2020-06-1947-216/+246
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various tests called subdir several times with the same directory, which is pointless. In previous code, this emitted a message though it did not fail. Stop doing that. The dir_fixture() method did some convoluted things to make sure the directories to write to exist, change this around to simplify. The subdir() method already combines the testdir, so dir_fixture doesn't need to. Also handle more cleanly the case of the target directory being an absolute path, which seems to have been intended, but would not work. Also clean up file_fixture() along the same principles. Change the subdir() method to not need to be given an ordered list of directories; instead call os.makedirs on each so intermediate steps are made automatically. Along the way, the print about making a directory that already existed vanishes. Tests which did os.path.join on directory pieces when calling file_fixture no longer do so, since file_fixture (and dir_fixture) do joining on an arg which is a list of paths like many other scons functions. The testing doc was updated to fix some wording and reflect the above changes. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | Merge pull request #3704 from mwichmann/docbook-backoffWilliam Deegan2020-06-174-11/+9
|\ \ \ \ \ | |_|_|_|/ |/| | | | Fix docbook 4.5 vs 5 usage
| * | | | Fix docbook 4.5 vs 5 usage [ci skip]Mats Wichmann2020-06-174-11/+9
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent changes introduced the use of the Docbook 5 syntax for external links (<link xlink:href="https://www.example.com"/>), which works okay for the doc build, but breaks the internal tools which do formal validation against the scons-modified docbook DTD ("sconsdoc") because sconsdoc is a modification of Docbook 4.5 thus pinning us to that version. xlink was a Docbook 5 introduction to use more standard W3C syntax for the links (xlink is a W3C spec of its own). Back off this new usage: go back to the old usage pattern (<ulink url="https://www.example.com">), because trying to uplift sconsdoc looks a fairly substantial task. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Merge pull request #3702 from bdbaddog/issue_3628_pickle_protocol_to_4William Deegan2020-06-163-2/+15
|\ \ \ \ | | | | | | | | | | Fix Issue #3628 - limit pickle protocol to 4
| * | | | [ci skip] Updated RELEASE.txt and CHANGES.txt with not about need to delete ↵William Deegan2020-06-162-1/+11
| | | | | | | | | | | | | | | | | | | | .sconsign.dblite if you ran a post 3.0.0 version with Python 3.8
| * | | | Fix Issue #3628 - limit pickle protocol to 4William Deegan2020-06-162-2/+5
|/ / / /
* | | | Merge pull request #3700 from bdbaddog/issue_3694_comp_db_variantdir_issueWilliam Deegan2020-06-164-3/+161
|\ \ \ \ | | | | | | | | | | Output proper file paths in compilation db when using VariantDir
| * | | | add note about issues fixed in CHANGES.txtWilliam Deegan2020-06-151-1/+1
| | | | |
| * | | | update to fix Issue #3694 properly handle source and output file names with ↵William Deegan2020-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | variant dirs
| * | | | Add test for variant_dir with duplicate=True and FalseWilliam Deegan2020-06-152-0/+158
| | |/ / | |/| |
* | | | Merge pull request #3696 from mwichmann/test-cleanupWilliam Deegan2020-06-157-289/+230
|\ \ \ \ | |/ / / |/| | | Cleanups in tests and in framework
| * | | Bugfix: to get raw data from stdin, use bufferMats Wichmann2020-06-141-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Earlier change dropped PY3 version of code in cleanup - read sys.stdin.buffer, not sys.stdin Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Cleanups in tests and in frameworkMats Wichmann2020-06-147-287/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Some Py2/Py3 compat blocks were simplified to Py3 only * some sequences of define-cleaup-function + atexit.register were changed to use the decorator (this works if func needs to take no arguments) * Lightly update a bunch of docstrings in TestCmd, and reformat a few places, towards the style we're generally using now. * call_python() in TestCmdTests was modernized to use subprocess.run Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Merge pull request #3698 from bdbaddog/fix_broken_fixture_mylinkWilliam Deegan2020-06-154-23/+58
|\ \ \ \ | |_|/ / |/| | | Fix fake mylink.py was broken on win32.
| * | | remove context manager from Pipe() broke testsWilliam Deegan2020-06-151-14/+14
| | | |
| * | | Wrap SCons.Action._subproc() call with 'with' to prevent leaking popen objectWilliam Deegan2020-06-151-13/+14
| | | |
| * | | Fix test for compilation_db to work on windows and linuxWilliam Deegan2020-06-152-10/+16
| | | |
| * | | [appveyor skip][travis skip] fix sider warningWilliam Deegan2020-06-151-0/+3
| | | |
| * | | [appveyor skip][travis skip] fix sider warningWilliam Deegan2020-06-151-3/+3
| | | |
| * | | Fix fake mylink.py was broken on win32.William Deegan2020-06-141-12/+37
|/ / /
* | | Merge pull request #3697 from bdbaddog/issue_3693_comp_dbWilliam Deegan2020-06-143-13/+13
|\ \ \ | | | | | | | | Fix Issue #3693 - fix fieldname target -> output (per spec)
| * | | Fix Issue #3693 - doc fixWilliam Deegan2020-06-141-1/+1
| | | |
| * | | Fix Issue #3693 - change compilation db field 'target' to 'output' per specWilliam Deegan2020-06-143-12/+12
|/ / /
* | | Merge pull request #3691 from dirkbaechle/issue3585-docker-filesWilliam Deegan2020-06-1330-0/+662
|\ \ \ | | | | | | | | Issue3585 Add Docker files for Ubuntu 19.10 and Fedora 32
| * | | Bumped the Fedora version up to 32.Dirk Baechle2020-06-1214-15/+15
| | | | | | | | | | | | | | | | | | | | We bump up the Fedora version, since v30 has reached its EOL on 2020-05-26.
| * | | Moved the Docker files into the testing folder.Dirk Baechle2020-06-1029-0/+0
| | | | | | | | | | | | | | | | [ci skip]
| * | | Added issue reference to CHANGES.txt.Dirk Baechle2020-06-091-0/+3
| | | |
| * | | Adding Docker container files for Fedora 30.Dirk Baechle2020-06-0914-0/+279
| | | |
| * | | Adding Docker container files for Ubuntu 19.10.Dirk Baechle2020-06-0915-0/+380
| |/ / | | | | | | | | | | | | | | | Adding a 'build' and 'test' Docker container, such that users/developers can create a clean and reproducible environment for testing and building/releasing SCons on their machines.
* | | Merge pull request #3690 from mwichmann/msvc-notesWilliam Deegan2020-06-132-29/+140
|\ \ \ | | | | | | | | msvc: fiddle debugs, add flow description
| * | | Tweak MSCommon README a bit [ci skip]Mats Wichmann2020-06-111-52/+51
| | | | | | | | | | | | | | | | | | | | | | | | Formatting fiddles Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | msvc: fiddle debugs, add flow descriptionMats Wichmann2020-06-092-29/+141
| | |/ | |/| | | | | | | | | | | | | | | | | | | Further fiddling with debug prints, reformat some docstrings, etc. Add a README which describes how the flow through vc.py takes place. Signed-off-by: Mats Wichmann <mats@linux.com>