| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Some code modernization: fs layer methods and others
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove obsolete __getslice__ and __setslice_ definitions
add Node.fs.scandir to call new (Py3.5) os.scandir
Node.fs.makedirs now passes the exist_ok flag
Cachedir creation now uses this fs.makedirs with exist_ok=True
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/| |
Fix Issue #3933 and applelink's versioned shared library file and symlink naming.
|
| |
| |
| |
| | |
specified. Also fixed shared library file naming, and symlink naming for applelink. Was libxyz.dylib.1.2.3 for example, is now libxyz.1.2.3.dylib
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the reproducer in issue #1742 was run on git head, it failed in a
different way than in the issue: an exception "list index out of range",
caused by the test setting CC="" in the Environment call(). While this
is a rather unuseful thing to do in general, the resulting call to
env.WhereIs should not throw an exception because the general WhereIs
function ends up indexing into something that can't be indexed. Avoid
this by returning None immediately if the list of names to look for
is empty. Note this does _not_ fix issue 1742, it just avoids the new
problem it was failing on.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Mostly it's just fiddling; did add a pointer to information
on Chmod() on Windows, and that Mkdir() makes intermediate
dirs and takes a list as well as a string.
While resolving some doc questions, found the function used
by Makedir() could be simplified by passing exist_ok=True to
os.makedirs().
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Teach the Python scanner to find generated files and directories
|
| |\ |
|
| | |
| | |
| | |
| | | |
Better handle relative imports if no paths are provided.
|
| | | |
|
| | |
| | |
| | |
| | | |
This change fixes all tests. It's still a a WIP change because I think the "imports" logic is wrong for file imports.
|
| | | |
|
| | |
| | |
| | |
| | | |
Tests still break
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Eliminate unnecessary calculation of the msvc installed list when finding installed visual studios
|
| |\ \ \
| | |/ / |
|
| |\ \ \ |
|
| |\ \ \ \ |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
CHANGES.txt. [ci skip]
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
CHANGES.txt. [ci skip]
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Update CHANGES.txt as well.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Restore setting of write bits on Install'd files
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Undo the doc change which describes what happens -
seems better not to promise about permissions of
installed files.
Did the header change on Install tests.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
SCons had undocumented behavior that Install and InstallVersionedLib
unconditionally changed the files they copied to writable - shutil.copy2(),
the underlying function used for copying, preserves mode bits.
Restore this behavior so Install won't fail in a project where it had
previously run, if any of the sources were read-only.
Fixes #3927
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ / / / / / / / |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
On a system where SCons is started from the mingw bash shell, and
mingw Python is the interpreter, the secondary self-identification differs.
Use that in a few tests which otherwise make the wrong decision.
EnvironmentTests used an invalid value for CCFLAGS, and empty
string is a better choice.
Change a couple of cases where Python code was run directly so
it's prefixed by the-Python-in-use, which fails if there is not
a Windows-registered program for .py files - we didn't really want
to use the Windows-native Python anyway.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Expansion of CPPDEFINES now substs consvars
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
By calling env.subst_list instead of env.subst_path, the processed
defines can have construction vars interpolated.
Note issue of SOURCE and TARGET not being expanded, as they're special
and are not passed to the relevant function, remains open (issue 3477).
Fixes #2363
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Add --experimental option
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| |/ / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Fix failing tests, restore last ditch default setting in TempFileMunge for TEMPFILEARGESCFUNC
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
TEMPFILEARGESCFUNC
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| / / / / / / / /
| |/ / / / / / / / |
|
| |\ \ \ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Support custom cachedir classes
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
rules.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|