| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Rebasing off of master put my CHANGES.txt addition in an old release.
This commit moves it up to the correct section.
|
| |
|
|
|
|
|
| |
1. Remove unnecessary writes of f1.in and f2.in. The former is already in the dir fixture and the latter is unused.
2. Untabify SConstruct file.
|
|
|
|
| |
Fixes one sider issue and a code error that broke some tests
|
|
|
|
|
|
|
| |
This change adds support for a new --hash-format parameter that can be used to
override the default hash format used by SCons. The default remains MD5, but
this allows consumers to opt into SHA1, SHA256, or any other hash algorithm
offered by their implementation of hashlib.
|
|\
| |
| | |
Fix SCons.Node.FS.File.get_csig() usage of md5_chunksize (Issue #3726)
|
| |
| |
| |
| | |
Do the "* 1024" when setting File.md5_chunksize, not when using it later.
|
| |
| |
| |
| | |
I had forgotten that [ci skip] will cancel running tests...
|
| |
| |
| |
| | |
Try to clarify a few parts of the working of the test through comments.
|
| | |
|
| |
| |
| |
| |
| |
| | |
md5_chunksize is documented to be in kilobytes, but this function was using
it as though it is in bytes. This change fixes that, adding a test to confirm
the correct behavior for a few different cases.
|
|\ \
| | |
| | | |
Update SideEffect testcase
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problems reported in the issue are not present any longer.
Since the issue proposed an enhanced testcase to show the problem,
committing the new version so we can detect any regression.
Closes issue #2154.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/ |
|
| |\
| | |
| | | |
[WIP] Enforcing HTML output encoding to UTF-8.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The stylesheet for the single HTML outputs (not chunked) get adapted,
such that UTF-8 is always used as output encoding for all chunks.
In addition, the HTML header now contains a corresponding
"content" tag, displaying the used charset=UTF-8.
[skip ci]
|
| |\ \
| | | |
| | | | |
Update docs on argument passing to Environment, etc.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Simplified the guide wording on source/target kwargs to
get rid of an ambifuity.
Some tweaking of the manpage on overrides and parse_args.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Review comments noted that there was perhaps more assumptions
about Python knowledge than warranted, added some things to
address that, including an intro to dictionaries.
Markup changes in environment chapter, plus more wording tweaks.
Filled out an example of of overriding when calling a builder,
and added a note on when that is not sufficient, and separate
envs are needed.
Dropped a python2 paragraph.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds a new uguide Ch 7 section on using the parse_flags method (with Ex.)
Moves the section on overrides in calls to Builders to Chap 7 -
it was using concepts not introduced yet where it was placed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\ \ \
| | | | |
| | | | | |
Rename some doc files; Packaging doc fixups
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Two manpage options from a previous commit had the option-argument
listed in caps to match the --help output. A review comment
suggested not to do this, as all-caps indicates a construction
variable. Question: should the AddOption calls for these two
set a metavar to match the current documentation?
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Renamed those documentation files named __init__.xml to the name of the
component directory.
Merged SCons/Tool/packaging.xml (which had no unique content) into
the renamed SCons/Tool/packaging/packaging.xml
Considerable rework was needed to the packaging content to
fill in some gaps:
* properly named the commandline option
* add the option to the manpage (with a note it's not always avail)
* only list the packagers once
* add example of selecting packaging tool, and of specifying multiple packagers
* more description of source, target and metadata for Packaging
* mention use of PACKAGEROOT
* redo tag description
* add a bit of explanation to the complete packaging example
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\ \ \
| | | | |
| | | | | |
Enable environment dict.setdefault
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
setdefault() now works on SubstitutionEnvironment and OverrideEnvironment.
Unittests added for that.
OverrideEnvironment Dictionary() method was not accepting the one-arg
and multi-arg forms that are documented for the regular env.Dictionary().
Not detected because the testcase also didn't test that; updated.
Testcase was misnamed, duplicated test_items - not sure if that
mattered or not.
Tests did not exist for OverrideEnvironment keys() and values() methods.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Added method to Node to check if node is used in sconf
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| |/
|/| |
Change Warning to SConsWarning
|
| |
| |
| |
| |
| |
| |
| | |
Replace the arguments-to-WarningClass converter.
Improve docstrings.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| | |
avoid potential overlap with Python's own Warnng class.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Update docs on Builders, Scanners, Environment
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cleaned up the reference to some consvars only having an effect
on init by adding MSVC_VERSION as an example. That entry already
said so, so should be non-controversial. That change led to
a few changes in the file defining that var - mostly turning
entity references into entity link references.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Environment Base docstrings tweaked.
Internal _update_onlynew added: like _update but update the env "dict"
only with items that are not already in the internal dict: intent
is to simplify numbers of "if FOO not in env: # set env[FOO]" in tools.
There are no clients of this at this time.
Tweak BUILDERS cvar description
Add known keyword args accepted by Environment(), and pointer to
the broken out Construction Environments section where these are described.
Add missing "name" keyword to template for Scanners()
Construction Environments: uncommented the note that setting a cvar after
Environment() call do not always take effect - the question still
remains how the user can tell that's the case.
Construction Environments - paragraphs for the other Environment kwargs
with pointers to the sections that describe them.
A little clarification of use of None in Variables() call, plus
be explicit about the default if Variables called with no args.
Mention that the default name of a Scanner object is "NONE" if not set.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Rel 4.0.1
|
| | | | |
|
| | | | |
|