summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* classes no longer explicitly inherit from objectMats Wichmann2020-05-241-1/+1
| | | | | | In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
* Reorganize the repo. Moved src/engine/SCons to ./SCons to be more in line ↵William Deegan2020-05-061659-516841/+2
| | | | with current python packaging practices
* Merge pull request #3631 from mwichmann/docs-DetectWilliam Deegan2020-05-041-50/+67
|\ | | | | Document env.Detect
| * [PR #3631] clarify Detect and WhereIs [ci skip]Mats Wichmann2020-05-041-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per review comment, simplfy the way the consenv values are referred to, and add a reference to env.WhereIs. env.WhereIs had some issues as well, so updated: clarified the difference between env. version and global version, and found the Note at the end to use SCons.Util.WhereIs was not needed, since the global function WhereIs is exactly SCons.Util.WhereIs: Script/__init__.py: WhereIs = SCons.Util.WhereIs Signed-off-by: Mats Wichmann <mats@linux.com>
| * Document env.Detect [ci skip]Mats Wichmann2020-04-291-20/+37
| | | | | | | | | | | | | | | | | | | | | | Add description of the Detect method, which has been around but not listed in the documentation. Tweak some other wording in the same doc file. Fixes #3441 Signed-off-by: Mats Wichmann <mats@linux.com>
* | [ci skip] Update CHANGES.txt and RELEASE.txt(still needs more items added)William Deegan2020-05-032-10/+59
| |
* | Merge pull request #3634 from mwichmann/win-uuidWilliam Deegan2020-05-035-19/+35
|\ \ | | | | | | Use uuid lib for Visual Studio guids
| * | Use uuid lib for Visual Studio guidsMats Wichmann2020-05-015-19/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the Visual Studio area, use uuid (Python standard library) to generate GUID identifiers instead of specifically using md5. Simplifies things as uuid lib can provide already formatted strings of the form that we need. This is split off from PR #3447 by request. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | Merge pull request #3635 from dmoody256/soname_fix_for_issue_3246William Deegan2020-05-033-2/+19
|\ \ \ | | | | | | | | check for SONAME and generate symlinks (github Issue #3246)
| * | | resolve github Issue #3246Daniel Moody2020-05-013-2/+19
| |/ / | | | | | | | | | | | | | | | | | | | | | added check for SONAME and generate soname from that in link tools added test update CHANGES.txt
* | | Merge branch 'master' of github.com:SCons/sconsWilliam Deegan2020-05-022-3/+3
|\ \ \
| * | | [doc] Update description of ARCOMSTR [ci skip]Mats Wichmann2020-05-012-3/+3
| |/ / | | | | | | | | | | | | | | | fixes #3636 Signed-off-by: Mats Wichmann <mats@linux.com>
* | | [ci skip] Correct spelling in comments and CHANGES.txtWilliam Deegan2020-05-022-7/+7
|/ /
* | tests: use unittest decorator for skippingMats Wichmann2020-04-291-24/+24
|/ | | | | | | | | FSTests updated to use the suggested way of skipping tests - a decorator which does the check up front, rather than a manual check inside the function. Effect: test run will show 's' rather than '-' on skipped tests. Signed-off-by: Mats Wichmann <mats@linux.com>
* [ci skip] minor reformattingWilliam Deegan2020-04-291-2/+10
|
* [ci skip] Reorder contributors in CHANGES.txt to be alpha by last nameWilliam Deegan2020-04-291-7/+9
|
* Merge pull request #3619 from bentonj-vmw/msvs-cppflagsWilliam Deegan2020-04-294-27/+76
|\ | | | | Add support for passing c++ flags through to Visual Studio project generation.
| * Add support for passing cppflags through to Visual Studio project generation.James Benton2020-04-274-27/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | These flags can affect intellisense, for example if you are using C++17 you will have intellisense errors unless you set the appropriate CFLAGS to inform inform intellisense of the C++ version you are using. Additionally /Zc:__cplusplus is required for intellisense to recognise a provided /std:c++ switch, as it is not a usual build flag we must append it to the flags when we see /std:c++. For more information see the page on /Zc:__cplusplus: https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus
* | Merge pull request #3627 from mwichmann/doc-exportsWilliam Deegan2020-04-291-112/+103
|\ \ | |/ |/| docs: build up description of Export/Import/Return
| * docs: fix typos from siderMats Wichmann2020-04-281-2/+2
| | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| * docs: tweak "manpage" (shared) Return, SConscript [ci skip]Mats Wichmann2020-04-281-94/+83
| | | | | | | | | | | | | | | | | | | | After previous updates, the manpage part (also shared to the userguide) was a little less precise than it could be. SConscript definition now describes the return value more accurately (e.g. add what happens if multiple scripts called) and moved to its own paragraph (at end) rather than inline. Signed-off-by: Mats Wichmann <mats@linux.com>
| * Exports doc fixes [ci skip]Mats Wichmann2020-04-261-40/+42
| | | | | | | | | | | | | | | | | | Fix a couple of typos discoverted by sider. Update doc entries in the (shared) function descriptions of Export, Import and Return (Environment.xml) Signed-off-by: Mats Wichmann <mats@linux.com>
* | Merge branch 'master' into c-conditional-scannerWilliam Deegan2020-04-2749-3169/+845
|\ \
| * \ Merge pull request #3608 from bdbaddog/add_vswhere_variableWilliam Deegan2020-04-239-52/+153
| |\ \ | | |/ | |/| Add VSWHERE variable
| | * [ci skip] updated wording for VSWHEREWilliam Deegan2020-04-221-4/+5
| | |
| | * [ci skip] Doc updatesWilliam Deegan2020-04-211-18/+18
| | |
| | * [ci skip] Update docsWilliam Deegan2020-04-211-4/+14
| | |
| | * Merge branch 'master' into add_vswhere_variableWilliam Deegan2020-04-1923-2914/+364
| | |\
| | * | We're all py3 now can use exist_ok=True on os.mkdirs(). Thanks mwichmannWilliam Deegan2020-04-131-2/+1
| | | |
| | * | fix vcTests.py creating already existing dir on win32William Deegan2020-04-131-1/+2
| | | |
| | * | resolve sider issue. import sys not neededWilliam Deegan2020-04-121-1/+0
| | | |
| | * | If no vswhere.exe is found, do not try to run it. Was breaking tests on ↵William Deegan2020-04-121-0/+5
| | | | | | | | | | | | | | | | non-win32
| | * | Address comments on PR for docsWilliam Deegan2020-04-121-9/+14
| | | |
| | * | Address PR commentsWilliam Deegan2020-04-122-7/+5
| | | |
| | * | restore scons.bat to originalWilliam Deegan2020-04-101-3/+3
| | | |
| | * | Resolve issue #3605. Allow specifying VSWHERE to environmentWilliam Deegan2020-04-1010-51/+131
| | | |
| | * | pep8William Deegan2020-04-092-5/+8
| | | |
| * | | Merge pull request #3622 from bdbaddog/speedup_doc_update_generatedWilliam Deegan2020-04-231-0/+1
| |\ \ \ | | | | | | | | | | Speedup bin/docs-update-generated.py by caching parsed docbook schema
| | * | | [ci skip] Speedup xml validation called by bin/docs-update-generated.py by ↵William Deegan2020-04-221-0/+1
| | | | | | | | | | | | | | | | | | | | caching parsed docbook schema. Yields approx 60x speedup
| * | | | Merge pull request #3623 from mwichmann/doc-toolsWilliam Deegan2020-04-231-37/+38
| |\ \ \ \ | | |/ / / | |/| | | docs: update Tool description [ci skip]
| | * | | docs: update Tool description [ci skip]Mats Wichmann2020-04-231-37/+38
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tools is now is own subsection of Construction Environments, with an expanded description, also slightly reorganizing existing content. The description of the Tool function/method was also reworded to be more descriptive and less repetitive. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Added notes to RELEASE.txt and CHANGES.txt for Issue #3248William Deegan2020-04-212-28/+8
| | | |
| * | | PEP8 + removed '-Wl,-Bsymbolic' from SHLIBVERSIONFLAGS fixes issue #3248William Deegan2020-04-211-9/+8
| |/ /
| * | Merge pull request #3576 from mwichmann/win-messWilliam Deegan2020-04-162-27/+56
| |\ \ | | | | | | | | Fix issue initializing Visual Studio 2019 16.4 when using non-english locale.
| | * | [PR #3576] workaroud "oem" coding not on Py3.5Mats Wichmann2020-04-071-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a Windows API to fetch the console output code page if Python < 3.6, where the encoding name "oem" is not yet defined (this was the original proposal in issue #3572) Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | Merge branch 'master' into win-messWilliam Deegan2020-04-058-34/+89
| | |\ \
| | * | | [PR #3576] change decoding to "oem" in vcvars* runnerMats Wichmann2020-03-191-8/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | [PR #3576] fix typo in powershell pathMats Wichmann2020-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | [PR #3576] add powershell pathMats Wichmann2020-03-172-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We pass a very minimal PATH to the call to vcvars*. Apparently there are circumstances where not having Powershell in it can cause failures (relates to the same telemetry call that is the subject of this PR). Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | Pass some env vars that affect msvs tool setup.Mats Wichmann2020-03-172-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSCommon already makes sure a few variables are propagated before calling the the dev env setup script (vcvarsall.bat or relative). This change adds two more: VSCMD_DEBUG enables VsDevCmd.bat (which is eventually called) to log the environment before and after setup, and VSCMD_SKIP_SENDTELEMETRY, if set, inhibits the new (VS 2019) functionality to send telemetry information. The change is motivated by the telemetry code generating undecodable output for certain locales. This should allow suppressing it, but doesn't really fix the underlying problem that we're not handling text right on Windows (on Py2 this would not have failed, but that was an error as well - it should have). Signed-off-by: Mats Wichmann <mats@linux.com>