| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Method removed. Test moved to test/Removed/Copy-Method/Old, and new
test added to ensure it takes an AttributeError.
Deprecation warning no longer useful for this one, so removed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
+ Rename to action-timestamps (from action_timestamps) for
consistency with other compound word options.
+ Put manpage entry in alphabetical order.
+ Describe what option does and shorten it (refers to debug=time
instead of duplicating it)
+ Change prints a bit (and tests to match)
+ Show scons version where added.
+ Slight adjustment to manpage introduction to debug options.
Along the way, fixes a lingering tag mismatch from an earlier
documentation PR.
Updates PR#3456
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
get importlib magic number from util
sider complaints about unicode usage
sider complaint about subprocess return value unused
sider complaint about shutil import unused (it is used, but
inside a big string that is written to a file to be executed)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* context managers on file r/w + use shutil.copy where it makes sense.
* lxml wants (demands?) that xml files be processed as bytes
* for the phase where we gen the entity files, read as text anyway
* Need to solve a problem where the generated xml is putting the \n in
literally, not evaluating it.
* Fix some examples broken for py3
* Fix more octal constant instances
* Cleanups suggested by PyCharm: staticmethods, two blanks
before class definition, others.
This addresses issues called out in #3300, but is not a complete
solution because the actual doc build step still fails with the
epydoc failures (which aren't directly because of Py3; epydoc
build doesn't work any better on my system with Py3, even with
the forked version with patches).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
| |
overrides= and scanner= have been deprecated for over a decade.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
| |
These two have been deprecated since 2010 (about SCons 2.0), commit
935e6985. Methods are removed, setoption for setting them removed, doc is
removed, tests are migrated to test/Removed/*/Old with a sconstest.skip
file so they don't run, and two new tests are added to confirm that
using the functions and setoptions generate exceptions.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
enable experimental persistent caching of vcvars on win32
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
reading the cache from the json file got us unicode when
running python2, and this broke certain tests when calling
subprocess.Popen: TypeError, because all the environment
wasn't strings, some was unicode.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
msvc env-var cache-read function use 'except IOError'
since 'FileNotFoundError' did not exist on Py2.7/win32.
try to handle error if caceh write fails.
add SCONS_CACHE_MSVC_CONFIG to manpage.
SCONS_CACHE_MSVC_CONFIG can take a pathname to specify
the cache file to use, or it can use the default.
slightly simplified logging setup - logging is stdlib since
py2.3, no need for try block on import.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
| |
| |
| | |
# Conflicts:
# src/CHANGES.txt
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| | |
"action_timestamps"
As per PR review
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
Adds --install-sandbox to manpage options and to
section on Install builder.
Adds mention of InstallVersionedLib to user guide.
Fixes #3007
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
| |
There were several uses of deprecated debug flags that had
not been moved to to test/Deprecated, and so were missed
when those moved to test/Removed.
Also removed options from manpage.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Work on Builder Methods and Variable Substitution man sections - some
wording tweaks, do some formatting markup a little more consistently,
etc.
Tweak the wording for the Command builder, a description shared
between manpage and userguide.
Closes #3030: Environment.xml had many references to detail sections
elsewhere, like "see XXX section below," which don't work well -
this xml is generated into both the manpage and the user guide,
and the locality of saying "below" is incorrect for the latter since
those sections are only in the manpage. Essentially these are changed
to say "see the manpage section XXX". Adding clickable links is of
course also possible, but I recall there was some objection to
cross-document links, so I didn't do that.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
manpage: clarify that tools=[list] overrides [ci skip]
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also some formatting tweaks, and a couple of typos.
The description of the default tool now lists some
of what that may include.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dictionary is now described as returning a dict only if called
with no arguments; if called with arguments it returns a string
or list of strings (matching the implmenentation).
Note env.Dump() only takes zero arguments or one, it it not
documented as taking the multiple keys, so there's less ambiguity
with it.
Some examples twiddled a little, and in a couple of cases
Dictionary is not used any longer - we might as well just index
into the construction environment since that works.
Fixes #3156
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
| |
The somewhat poorly named parse_flags keyword args actually work like
the MergeFlags method - don't just split like the ParseFlags method,
but do the merging as well. Tweak the docs and add a reference to
env.MergeFlags.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sconsign required filename(s) or directory name(s) to do anything,
in their absence it just quits silently. Change so if filename
argument omitted, use the same default as scons - .sconsign.dblite.
print something in case of bad options.
add an extra info line in case the sconsign cannot be read due
to pickle protocol (when py2 used in a place where scons
previously run with py3)
Tweak the manpage a bit.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Improve scons docs regarding Default()
|
| |
| |
| |
| |
| |
| |
| | |
An earlier change updated some examples, this makes some tweaks to
the wording as well for Default, DEFAULT_TARGETS, etc. to clarify.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ |
|
|
|
|
|
|
|
|
| |
map() now returns an interable instead of a list, update
examples which assumed they could just print() the result
of a map().
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Update docs about installing scons3 (issue #3037)
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Installing via pip now preferred; no more native-type
packages (rpm, msi). Python 3 is supported - seemed
one more place was missed that said it had to be Py2.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
| |
| | |
fix_mac_shlibversion_gh_issue_3241
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Two locations which attempt to directly print an item tipped over on py3,
so they now decode().
There seem to be cases where implicit dependencies do not have signatures,
so instead of looping through the dep list and indexing into the signature
list (IndexError), the two lists are now zipped, which means nothing is
printed, but sconsign does not die (the zip technique is used in FS.py
in the engine).
Minor PEP8 changes: spaces around operators; shorter lines; two-blanks
rule around classes/functions. Also unused args changed to _ to show
it was intentional.
Manpage updated slightly - the internal whichdb function explicitly
looks for the .dblite suffix, so the claim that if it's not .dbm it
is assumed to be dblite was not true.
sconsign still will not work on a dblite file which is not suffixed
.dblite, but that is an existing problem, not a newly introduced one.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The definition of the list term "--debug=list"
contains a list of its own; the list tiems
in this list need to have their text contents
wrapped in paragraph tags.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
This warning was never used in the code.
|
|
|
|
| |
hashlib is part of the standard library since Python 2.5, and SCons supports Python 2.7 and later.
|
| |
|
|
|
|
| |
on command line
|
|
|
|
| |
GenerateHelpText() is now actually called.
|
| |
|
| |
|
| |
|