| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
Fixes and refactoring in the bin/scons-proc.py script to support this.
Fixes to various parts of the XML input.
|
| |
|
|
|
|
| |
.xml files (some new, some updated) next to the modules that implement
them. Generate the man page using the output generated from the .xml
file by bin/scons-proc.py.
|
| | |
|
| |
|
|
| |
closes issue 2520.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to go.
Update various files to have the correct date, time, version, and floor.
Rework Script/Main.py and QMTest/TestSCons.py to make automated updating
possible in the future.
Remove a duplicate MANIFEST-xml.in entry.
Fix TeX tests, which ran 'kpsewitch' before determining if the TeX tools
were installed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
keyword parameter.
Several existing tests were still using BuildDir() or build_dir; they were
converted to use VariantDir() and variant_dir.
New tests were added to validate that the --warn=deprecated-build-dir option
and the SetOption method did the right thing. This led to the discovery that
a commonly-used test pattern provided by the infrastructure gobbled up too
much, causing tests to succeed when they should have failed. Fixing the
pattern led to other tests needing to be fixed.
In the process, it was discovered that the SCONSFLAG environment variable was
not getting correctly reset to its original value. Fixing this also caused
additional tests to misbehave, requiring them to be updated.
And test/Sig.py, which tests the deprecated SCons.Sig module, was moved to
the test/Deprecated directory.
All in all, quite a lot of action for what was supposed to be a simple change.
|
| | |
|
| |
|
|
|
| |
Fix a ripple-effect in Script/Main.py by using obj.__class__.__name_
to, uh, fetch the name of a class.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Comb out all code that supported earlier versions of Python. Most such
code is in snippets of only a few lines and can be identified by having
a Python version string in it. Such snippets add up; this combing pass
probably got rid of over 500 lines of code.
|
| |
|
|
|
|
| |
Apply the refactorings from the 'dict' fixer, less occurrences that were
manually audited to be safe. Also pick up changes in bin/sfsum, a Python
file that was not being scanned before.
|
| |
|
|
|
| |
Fix the 'assignment to True or False' and the '__getitem__ not supported for
exception classes' deprecation warnings.
|
| |
|
|
|
|
|
|
|
| |
Fixes due to running the regression tests with the '-3' option to Python2.6,
which causes the run-time to look for potential compatibility problems with
Python 3.x. In some cases, all we can do is quiet the warning since we still
support Python versions that can't use the newer idiom. In other cases, we
fix the problem. This patch contains a mix of quieting and fixing, plus a
little lint.
|
| |
|
|
|
|
| |
Apply the first part of the 'raise' fixer (the three-argument cases are not
converted and will need to wait until native support of with_traceback() is
available).
|
| |
|
|
| |
the SCons.compat layer import cProfile as profile when it's available.
|
| |
|
|
|
| |
instead of the deprecated User{Dict,List,String} modules. The two test
scripts that use User{List,String} fall back on ImportError by hand.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The 'buffer' fixer simply replaces 'buffer( ... )' with 'memoryview( ... )',
which is incorrect for our cases, so these changes had to be done by hand and
a forward-compatibility class added.
The 'xrange' fixer was applied. Manual changes were minimal: a few case in
test strings and one use of 'range' as an identifer in the same scope as
where 'xrange' was converted to 'range'.
The "sets15" compat function, which provided backward compatibility for Python
versions prior to 2.2, was removed as no longer needed.
|
| |
|
|
|
|
|
| |
Accumulated small fixers: renames, next, zip, and intern.
Files that were modified or added while developing on branches/pending didn't
have the fixers previously applied. This patchset picks up those.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Applied a number of idiomatic changes.
Uses of the 'sort()' method were converted into calls of 'sorted()' when
possible and the sorted() expression was inserted into a subsequent statement
whenever that made sense.
The statement 'while 1:' was changed to 'while True:'.
Names from the 'types' module (e.g., 'types.FooType') were converted to the
equivalent build-in type (e.g., 'foo').
Comparisons between types were changed to use 'isinstance()'.
|
| |
|
|
|
| |
development. Note that this set of changes is NOT backward-compatible;
the trunk no longer works with Python 1.5.2, 2.0, or 2.1.
|
| |
|
|
| |
a warning and keep going.
|
| |
|
|
| |
unimplemented option error.
|
| |
|
|
| |
printing "Entering Directory" with -C/-u.
|
| |
|
|
| |
message (thanks Gary).
|
| |
|
|
| |
warnings if used.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
site_scons/site_init.py, I now load that file directly into the
SCons.Script namespace using exec ... in. This allows site_init.py to
define tools in the way users expect.
|
| |
|
|
|
| |
target X" to say what type of node is being built, and the full path (if
it's a file or dir).
|
| | |
|
| |
|
|
| |
passed in.
|
| |
|
|
| |
and the variant directory doesn't already exist.
|
| |
|
|
| |
symlinks, as well as named pipes. (Mateusz Gruca)
|
| | |
|
| |
|
|
|
| |
Windows by accomodating platform-specific behavior in the way
subprocess.Popen() calls handle shell= arguments with lists.
|
| | |
|
| |
|
|
| |
to hold different implementations of the .needs_execute() method.
|
| |
|
|
| |
variable names, with an appropriate warning.
|
| |
|
|
| |
(Jason Kenny)
|
| |
|
|
|
| |
aggressive about pruning pending children from the Taskmaster walk.
(Benoit Belley)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
GetBuildFailures(). New function convert_to_buildError, and use it in
several places so all build failures now go through it and are
returned as BuildError exceptions. Had a small effect on output
formatting in many tests but no significant change to behavior. I
reworked the patch a little to keep SCons exit status values the same
as before; this patch could make it simpler to change them in some
cases, e.g. exit with the errno of the failed action if desired. One
nice side effect of this patch is that more scons errors print the
node that caused the error now.
|
| |
|
|
| |
therefore, actually create the variant directory.
|