summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | 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>
| * | | | Merge pull request #3611 from mwichmann/doc-implicitdepWilliam Deegan2020-04-162-43/+61
| |\ \ \ \ | | | | | | | | | | | | Update doc wording for IMPLICIT_COMMAND_DEPENDENCIES
| | * | | | [PR #3611] implicit deps fix review comment [ci skip]Mats Wichmann2020-04-122-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The updated wording suggested any non-zero value for IMPLICIT_COMMAND_DEPENDENCIES was the same as the default, but in fact values >1 have a different meaning. In updating the wording, nocited that Action.py didn't recognize False-like values the same way as they were listed, or like other parts of scons, where there are multiple false-like values - updated. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | | Update doc wording for IMPLICIT_COMMAND_DEPEDENCIES [ci skip]Mats Wichmann2020-04-111-38/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reword, remove a bit of redundancy by describing actions containing && in one place instead of repeatedly. Actually mention the case of setting the cvar to True. Doc-only change. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | | Merge pull request #3603 from bdbaddog/revamp_scons_buildWilliam Deegan2020-04-1612-2802/+198
| |\ \ \ \ \ | | |/ / / / | |/| | | | Revamp scons build - Modernize packaging and purge obsolete build logic
| | * | | | Address github review notes and sider issuesWilliam Deegan2020-04-111-5/+5
| | | | | |
| | * | | | Update CHANGES.txtWilliam Deegan2020-04-091-0/+2
| | | | | |
| | * | | | Remove src/LICENSE.txt. Just use the version in the basedirWilliam Deegan2020-04-091-22/+0
| | | | | |
| | * | | | add logic to not include *Tests.py in wheelWilliam Deegan2020-04-094-716/+0
| | | | | |
| | * | | | Fix sconsign tests and scriptWilliam Deegan2020-04-091-45/+4
| | | | | |
| | * | | | move scons-configure-cache logic into SCons.Utilities.ConfigureCache:main ↵William Deegan2020-04-091-0/+182
| | | | | | | | | | | | | | | | | | | | | | | | and update references and add entry_point in setup.cfg
| | * | | | move sconsign logic into src/engine/SCons/Utilties, update entry_points to ↵William Deegan2020-04-092-0/+548
| | | | | | | | | | | | | | | | | | | | | | | | generate sconsign script
| | * | | | Move scripts from src/scripts to scripts. Simplify scons.py to only be used ↵William Deegan2020-04-096-2559/+0
| | | | | | | | | | | | | | | | | | | | | | | | for running from this source tree and for scons-local packaging
| | * | | | First pass of refactor. Moved command line argument processing into ↵William Deegan2020-04-091-2/+4
| | | |_|/ | | |/| | | | | | | | | | | | site_scons/BuildCommandLine.py. Sorted out all changes caused by that.
| * | | | Merge pull request #3601 from mwichmann/man-examples-fmtWilliam Deegan2020-04-108-41/+48
| |\ \ \ \ | | |/ / / | |/| | | Manpage example tweaks
| | * | | Manpage example tweaks [ci skip]Mats Wichmann2020-04-078-41/+48
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A set of minor changes to various extra files (i.e. not scons.xml itself). Mainly this reformats some example code when it looked bad in a fixed-width version (pdf or Linux-style manpage). Also: additional wording on default environment (included here because file was being modified anyway), and define an entity for default env. in doc/scons.mod. Commits changes to two generated .mod files to make sure entities list is correct even if even if a full regen of these files (bin/docs-update-generated) is not done. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Update CHANGES.txtAdam Gross2020-04-021-0/+2
| | | |
| * | | Fix inconsistencies between RootDir attributesAdam Gross2020-04-021-1/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RootDir class was returning different values for path and _path as well as different values for abspath and _abspath. This is because the underscored versions were being set in the RootDir constructor, while the non-underscored versions were going through the EntryProxy wrapper, which is only coded to do a simple append of paths. I considered trying to fix EntryProxy to detect this case but instead went with a simpler approach where RootDir overrides the attributes that it wants to avoid EntryProxy calls. Right now I have this as path and abspath.
| * | Generate groff-style manpages with Py3 [ci skip]Mats Wichmann2020-03-292-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | groff-style (aka scons.1) manpages generated empty when using lxml for generation - that is, under Python 3. Fixes #3584 Signed-off-by: Mats Wichmann <mats@linux.com>
| * | Improve manpage treatment of Variables and ConfigureMats Wichmann2020-03-263-14/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various cleansup to sections Configure Contexts, Command-Line Construction Variables and SConscript Variables. Stylesheet-level changes place multiple function signature entries each on their own line (affects primarily Configure Contexts). A couple of stylesheet files were checked in in DOS format, changed them to the same as the rest of the codebase (this shows lots of spurious diff). Discovered a few minor tweaks to make to code implementing the above, so this is not completely doc-only. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | [PR #3591] tweak --tree=linedrawMats Wichmann2020-03-241-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | Add version note to manpage Turn linedraw chars into module-level constants, and use in the other place it was hardcoded. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | Remove duplicate entry in src/CHANGES.txtMats Wichmann2020-03-241-4/+0
| | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| * | Add option to use box-draw chars with --treeMats Wichmann2020-03-241-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This picks up and hopefully completes PR #3560. Add documentation for new --tree "linedraw" option. There is a new example output in userguide, which renumbers several of the existing troubleshoot_tree example outputs. Test is cleaned up a bit (not just the added part). The actual function in Util is made a little more genral - it uses unicode chr() values instead of literally pasting in the line drawing characters. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | updated the CHANGES.txtPaul Tipei2020-03-241-0/+4
| | |
| * | updated the src/CHANGES.txtPaul Tipei2020-03-241-3/+7
| | |
| * | Adding posibility to use single line drawing when displaying the dependency treeIosif Daniel Kurazs2020-03-243-13/+40
| | |
| * | Remove obsolete scripts. Remove py27 supportWilliam Deegan2020-03-211-1/+2
| |/
| * Merge pull request #3583 from mwichmann/man-notesWilliam Deegan2020-03-152-23/+31
| |\ | | | | | | Continue manpage cleanups
| | * Add a link from Clone() to Envirornment() methods. [ci skip]Mats Wichmann2020-03-131-1/+1
| | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | * Fix the packagers table again. [ci skip]Mats Wichmann2020-03-131-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | Trying yet another layout to make it look better. Minor tweaks to the doc production tools - dropping some very old usage (pre-Python-2.5). Signed-off-by: Mats Wichmann <mats@linux.com>
| * | Merge pull request #3574 from mwichmann/more-py2-cleanupsWilliam Deegan2020-03-156-96/+21
| |\ \ | | | | | | | | Clean up some more Python 2 code
| | * | [PR #3574] fix sider complaintsMats Wichmann2020-03-032-2/+1
| | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | Clean up some more Python 2 codeMats Wichmann2020-03-036-96/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * _subproc is a little simpler as subprocess.DEVNULL is sure to br defined. Adjusted the docstring to better show the purpose. * CacheDir didn't need the Py2 branch of getting the config. * MSCommon can use a more specific exception. * packaging can now unconditionally use inspect.getfullargspec. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Merge pull request #3577 from bdbaddog/add_msys2_mingw_pathsWilliam Deegan2020-03-152-0/+3
| |\ \ \ | | | | | | | | | | Add msys2 installed mingw64 to PATH for mingw tool
| | * | | [ci skip] update CHANGES.txt to have actual path addedWilliam Deegan2020-03-151-1/+2
| | | | |
| | * | | Add msys2 installed mingw64 to PATH for mingw toolWilliam Deegan2020-03-092-0/+2
| | |/ /
| * | | Purge some py 2.7 codeWilliam Deegan2020-03-131-7/+0
| | |/ | |/|
| * | Fix syntax problem in Action doc [ci skip]Mats Wichmann2020-03-091-3/+3
| |/ | | | | | | | | | | | | Recent change introduced an xml problem which prevents the docs from validating or building - transforming so it builds now. Signed-off-by: Mats Wichmann <mats@linux.com>
| * Add a blurb about specifining encoding when opening Java source files as text.Robert Boehne2020-02-241-0/+4
| |
| * Specifiy encoding for Java files, as the default varies across platforms.Rob Boehne2020-02-242-1/+25
| |
| * Update description of IMPLICIT_COMMAND_DEPENDENCIES's functional changeWilliam Deegan2020-02-231-3/+4
| |
| * Merge branch 'master' into substfilesuffixWilliam Deegan2020-02-2164-581/+379
| |\
| | * Merge branch 'master' into topic/grossag/compoundactionscanWilliam Deegan2020-02-21103-1037/+1477
| | |\
| | | * rm-py2: Remove "from __future__" from more placesMats Wichmann2020-02-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of minor reformats along the way, most prominently, in tests, if being edited anyway, make sure the docstring most tests have is actually the docstring (sometimes the __revision__ line came before, which makes the string not be the docstring). Snuck in some minor framework changes that were orphaned when another draft PR was not needed: this almost all docstring changes, the functional part is using casefold instead of lower in a match func - a slightly better approach which is now possible that Py2 compatibility is not needed. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | Change IMPLICIT_COMMAND_DEPENDENCIES meaning as requested in PRAdam Gross2020-01-132-10/+58
| | | |
| | * | Address review feedbackAdam Gross2020-01-122-1/+24
| | | |
| | * | Merge branch 'master' into topic/grossag/compoundactionscanAdam Gross2020-01-10174-1175/+1137
| | |\ \
| | * | | Update scanning code to get it closer to desired stateAdam Gross2020-01-101-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 1. Remove repository code. 2. Only use env.WhereIs() if it's the first entry in a group. 3. Avoid duplicate sources if they are in another variable (e.g. LIBS).
| | * | | Switch heavyweight scanning to be opt-inAdam Gross2019-12-031-9/+27
| | | | |
| | * | | Fix some testsAdam Gross2019-12-031-5/+14
| | | | |