libv8 3.3.10.2 → 3.3.10.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +35 -7
- data/Rakefile +61 -20
- data/ext/libv8/extconf.rb +15 -0
- data/lib/libv8/scons/CHANGES.txt +231 -24
- data/lib/libv8/scons/LICENSE.txt +1 -1
- data/lib/libv8/scons/MANIFEST +1 -0
- data/lib/libv8/scons/PKG-INFO +1 -1
- data/lib/libv8/scons/README.txt +9 -9
- data/lib/libv8/scons/RELEASE.txt +77 -75
- data/lib/libv8/scons/engine/SCons/Action.py +22 -6
- data/lib/libv8/scons/engine/SCons/Builder.py +2 -2
- data/lib/libv8/scons/engine/SCons/CacheDir.py +2 -2
- data/lib/libv8/scons/engine/SCons/Debug.py +2 -2
- data/lib/libv8/scons/engine/SCons/Defaults.py +24 -10
- data/lib/libv8/scons/engine/SCons/Environment.py +118 -19
- data/lib/libv8/scons/engine/SCons/Errors.py +2 -2
- data/lib/libv8/scons/engine/SCons/Executor.py +2 -2
- data/lib/libv8/scons/engine/SCons/Job.py +2 -2
- data/lib/libv8/scons/engine/SCons/Memoize.py +2 -2
- data/lib/libv8/scons/engine/SCons/Node/Alias.py +2 -2
- data/lib/libv8/scons/engine/SCons/Node/FS.py +281 -121
- data/lib/libv8/scons/engine/SCons/Node/Python.py +2 -2
- data/lib/libv8/scons/engine/SCons/Node/__init__.py +6 -5
- data/lib/libv8/scons/engine/SCons/Options/BoolOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/EnumOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/ListOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/PackageOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/PathOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/PathList.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/aix.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/cygwin.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/darwin.py +27 -3
- data/lib/libv8/scons/engine/SCons/Platform/hpux.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/irix.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/os2.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/posix.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/sunos.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/win32.py +2 -2
- data/lib/libv8/scons/engine/SCons/SConf.py +2 -2
- data/lib/libv8/scons/engine/SCons/SConsign.py +9 -3
- data/lib/libv8/scons/engine/SCons/Scanner/C.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/D.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/Dir.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/Fortran.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/IDL.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/LaTeX.py +5 -2
- data/lib/libv8/scons/engine/SCons/Scanner/Prog.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/RC.py +3 -3
- data/lib/libv8/scons/engine/SCons/Scanner/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Script/Interactive.py +2 -2
- data/lib/libv8/scons/engine/SCons/Script/Main.py +82 -11
- data/lib/libv8/scons/engine/SCons/Script/SConsOptions.py +5 -5
- data/lib/libv8/scons/engine/SCons/Script/SConscript.py +2 -2
- data/lib/libv8/scons/engine/SCons/Script/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Sig.py +2 -2
- data/lib/libv8/scons/engine/SCons/Subst.py +2 -2
- data/lib/libv8/scons/engine/SCons/Taskmaster.py +10 -2
- data/lib/libv8/scons/engine/SCons/Tool/386asm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/BitKeeper.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/CVS.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/FortranCommon.py +19 -2
- data/lib/libv8/scons/engine/SCons/Tool/JavaCommon.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/arch.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/common.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/netframework.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/sdk.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/vc.py +9 -6
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/vs.py +29 -2
- data/lib/libv8/scons/engine/SCons/Tool/Perforce.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/PharLapCommon.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/RCS.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/SCCS.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/Subversion.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/__init__.py +3 -3
- data/lib/libv8/scons/engine/SCons/Tool/aixc++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/aixcc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/aixf77.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/aixlink.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/applelink.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ar.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/as.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/bcc32.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/c++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/cc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/cvf.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/default.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/dmd.py +24 -7
- data/lib/libv8/scons/engine/SCons/Tool/dvi.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/dvipdf.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/dvips.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/f03.py +63 -0
- data/lib/libv8/scons/engine/SCons/Tool/f77.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/f90.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/f95.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/filesystem.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/fortran.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/g++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/g77.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/gas.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/gcc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/gfortran.py +3 -3
- data/lib/libv8/scons/engine/SCons/Tool/gnulink.py +2 -3
- data/lib/libv8/scons/engine/SCons/Tool/gs.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/hpc++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/hpcc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/hplink.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/icc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/icl.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ifl.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ifort.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ilink.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ilink32.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/install.py +57 -3
- data/lib/libv8/scons/engine/SCons/Tool/intelc.py +65 -25
- data/lib/libv8/scons/engine/SCons/Tool/ipkg.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/jar.py +9 -3
- data/lib/libv8/scons/engine/SCons/Tool/javac.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/javah.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/latex.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/lex.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/link.py +6 -5
- data/lib/libv8/scons/engine/SCons/Tool/linkloc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/m4.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/masm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/midl.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/mingw.py +31 -10
- data/lib/libv8/scons/engine/SCons/Tool/mslib.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/mslink.py +61 -9
- data/lib/libv8/scons/engine/SCons/Tool/mssdk.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/msvc.py +21 -11
- data/lib/libv8/scons/engine/SCons/Tool/msvs.py +477 -59
- data/lib/libv8/scons/engine/SCons/Tool/mwcc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/mwld.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/nasm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/ipk.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/msi.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/rpm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/src_tarbz2.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/src_targz.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/src_zip.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/tarbz2.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/targz.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/zip.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/pdf.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/pdflatex.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/pdftex.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/qt.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/rmic.py +9 -3
- data/lib/libv8/scons/engine/SCons/Tool/rpcgen.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/rpm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sgiar.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sgic++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sgicc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sgilink.py +2 -3
- data/lib/libv8/scons/engine/SCons/Tool/sunar.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunc++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/suncc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunf77.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunf90.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunf95.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunlink.py +2 -3
- data/lib/libv8/scons/engine/SCons/Tool/swig.py +6 -5
- data/lib/libv8/scons/engine/SCons/Tool/tar.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/tex.py +96 -43
- data/lib/libv8/scons/engine/SCons/Tool/textfile.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/tlib.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/wix.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/yacc.py +12 -2
- data/lib/libv8/scons/engine/SCons/Tool/zip.py +2 -2
- data/lib/libv8/scons/engine/SCons/Util.py +3 -3
- data/lib/libv8/scons/engine/SCons/Variables/BoolVariable.py +2 -2
- data/lib/libv8/scons/engine/SCons/Variables/EnumVariable.py +3 -3
- data/lib/libv8/scons/engine/SCons/Variables/ListVariable.py +2 -2
- data/lib/libv8/scons/engine/SCons/Variables/PackageVariable.py +2 -2
- data/lib/libv8/scons/engine/SCons/Variables/PathVariable.py +2 -2
- data/lib/libv8/scons/engine/SCons/Variables/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Warnings.py +2 -2
- data/lib/libv8/scons/engine/SCons/__init__.py +6 -6
- data/lib/libv8/scons/engine/SCons/compat/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_builtins.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_collections.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_dbm.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_hashlib.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_io.py +2 -2
- data/lib/libv8/scons/engine/SCons/cpp.py +2 -2
- data/lib/libv8/scons/engine/SCons/dblite.py +4 -1
- data/lib/libv8/scons/engine/SCons/exitfuncs.py +2 -2
- data/lib/libv8/scons/scons-time.1 +3 -3
- data/lib/libv8/scons/scons.1 +1209 -1203
- data/lib/libv8/scons/sconsign.1 +3 -3
- data/lib/libv8/scons/script/scons +22 -22
- data/lib/libv8/scons/script/scons-time +2 -2
- data/lib/libv8/scons/script/scons.bat +7 -4
- data/lib/libv8/scons/script/sconsign +21 -20
- data/lib/libv8/scons/setup.cfg +0 -1
- data/lib/libv8/scons/setup.py +38 -40
- data/lib/libv8/version.rb +4 -2
- data/libv8.gemspec +7 -2
- metadata +46 -67
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- python -*-
|
2
2
|
#
|
3
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
3
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining
|
6
6
|
# a copy of this software and associated documentation files (the
|
@@ -44,7 +44,7 @@ Textfile/Substfile builder for SCons.
|
|
44
44
|
is unpredictible whether the expansion will occur.
|
45
45
|
"""
|
46
46
|
|
47
|
-
__revision__ = "src/engine/SCons/Tool/textfile.py
|
47
|
+
__revision__ = "src/engine/SCons/Tool/textfile.py 5357 2011/09/09 21:31:03 bdeegan"
|
48
48
|
|
49
49
|
import SCons
|
50
50
|
|
@@ -5,7 +5,7 @@ XXX
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
#
|
8
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
8
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
9
9
|
#
|
10
10
|
# Permission is hereby granted, free of charge, to any person obtaining
|
11
11
|
# a copy of this software and associated documentation files (the
|
@@ -27,7 +27,7 @@ XXX
|
|
27
27
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
28
28
|
#
|
29
29
|
|
30
|
-
__revision__ = "src/engine/SCons/Tool/tlib.py
|
30
|
+
__revision__ = "src/engine/SCons/Tool/tlib.py 5357 2011/09/09 21:31:03 bdeegan"
|
31
31
|
|
32
32
|
import SCons.Tool
|
33
33
|
import SCons.Tool.bcc32
|
@@ -8,7 +8,7 @@ selection method.
|
|
8
8
|
"""
|
9
9
|
|
10
10
|
#
|
11
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
12
12
|
#
|
13
13
|
# Permission is hereby granted, free of charge, to any person obtaining
|
14
14
|
# a copy of this software and associated documentation files (the
|
@@ -30,7 +30,7 @@ selection method.
|
|
30
30
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
31
|
#
|
32
32
|
|
33
|
-
__revision__ = "src/engine/SCons/Tool/wix.py
|
33
|
+
__revision__ = "src/engine/SCons/Tool/wix.py 5357 2011/09/09 21:31:03 bdeegan"
|
34
34
|
|
35
35
|
import SCons.Builder
|
36
36
|
import SCons.Action
|
@@ -9,7 +9,7 @@ selection method.
|
|
9
9
|
"""
|
10
10
|
|
11
11
|
#
|
12
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
12
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
13
13
|
#
|
14
14
|
# Permission is hereby granted, free of charge, to any person obtaining
|
15
15
|
# a copy of this software and associated documentation files (the
|
@@ -31,7 +31,7 @@ selection method.
|
|
31
31
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
32
32
|
#
|
33
33
|
|
34
|
-
__revision__ = "src/engine/SCons/Tool/yacc.py
|
34
|
+
__revision__ = "src/engine/SCons/Tool/yacc.py 5357 2011/09/09 21:31:03 bdeegan"
|
35
35
|
|
36
36
|
import os.path
|
37
37
|
|
@@ -61,6 +61,16 @@ def _yaccEmitter(target, source, env, ysuf, hsuf):
|
|
61
61
|
base, ext = os.path.splitext(SCons.Util.to_String(source[0]))
|
62
62
|
target.append(base + env.subst("$YACCVCGFILESUFFIX"))
|
63
63
|
|
64
|
+
# If -v is specirfied yacc will create the output debug file
|
65
|
+
# which is not really source for any process, but should
|
66
|
+
# be noted and also be cleaned
|
67
|
+
# Bug #2558
|
68
|
+
if "-v" in flags:
|
69
|
+
env.SideEffect(targetBase+'.output',target[0])
|
70
|
+
env.Clean(target[0],targetBase+'.output')
|
71
|
+
|
72
|
+
|
73
|
+
|
64
74
|
# With --defines and --graph, the name of the file is totally defined
|
65
75
|
# in the options.
|
66
76
|
fileGenOptions = ["--defines=", "--graph="]
|
@@ -9,7 +9,7 @@ selection method.
|
|
9
9
|
"""
|
10
10
|
|
11
11
|
#
|
12
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
12
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
13
13
|
#
|
14
14
|
# Permission is hereby granted, free of charge, to any person obtaining
|
15
15
|
# a copy of this software and associated documentation files (the
|
@@ -31,7 +31,7 @@ selection method.
|
|
31
31
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
32
32
|
#
|
33
33
|
|
34
|
-
__revision__ = "src/engine/SCons/Tool/zip.py
|
34
|
+
__revision__ = "src/engine/SCons/Tool/zip.py 5357 2011/09/09 21:31:03 bdeegan"
|
35
35
|
|
36
36
|
import os.path
|
37
37
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Various utility functions go here.
|
4
4
|
"""
|
5
5
|
#
|
6
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
6
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
7
7
|
#
|
8
8
|
# Permission is hereby granted, free of charge, to any person obtaining
|
9
9
|
# a copy of this software and associated documentation files (the
|
@@ -24,7 +24,7 @@ Various utility functions go here.
|
|
24
24
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
25
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
26
|
|
27
|
-
__revision__ = "src/engine/SCons/Util.py
|
27
|
+
__revision__ = "src/engine/SCons/Util.py 5357 2011/09/09 21:31:03 bdeegan"
|
28
28
|
|
29
29
|
import os
|
30
30
|
import sys
|
@@ -464,7 +464,7 @@ def semi_deepcopy(x):
|
|
464
464
|
if copier:
|
465
465
|
return copier(x)
|
466
466
|
else:
|
467
|
-
if hasattr(x, '__semi_deepcopy__'):
|
467
|
+
if hasattr(x, '__semi_deepcopy__') and callable(x.__semi_deepcopy__):
|
468
468
|
return x.__semi_deepcopy__()
|
469
469
|
elif isinstance(x, UserDict):
|
470
470
|
return x.__class__(_semi_deepcopy_dict(x))
|
@@ -12,7 +12,7 @@ Usage example:
|
|
12
12
|
"""
|
13
13
|
|
14
14
|
#
|
15
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
15
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
16
16
|
#
|
17
17
|
# Permission is hereby granted, free of charge, to any person obtaining
|
18
18
|
# a copy of this software and associated documentation files (the
|
@@ -34,7 +34,7 @@ Usage example:
|
|
34
34
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
35
35
|
#
|
36
36
|
|
37
|
-
__revision__ = "src/engine/SCons/Variables/BoolVariable.py
|
37
|
+
__revision__ = "src/engine/SCons/Variables/BoolVariable.py 5357 2011/09/09 21:31:03 bdeegan"
|
38
38
|
|
39
39
|
__all__ = ['BoolVariable',]
|
40
40
|
|
@@ -15,7 +15,7 @@ Usage example:
|
|
15
15
|
"""
|
16
16
|
|
17
17
|
#
|
18
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
18
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
19
19
|
#
|
20
20
|
# Permission is hereby granted, free of charge, to any person obtaining
|
21
21
|
# a copy of this software and associated documentation files (the
|
@@ -37,7 +37,7 @@ Usage example:
|
|
37
37
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
38
38
|
#
|
39
39
|
|
40
|
-
__revision__ = "src/engine/SCons/Variables/EnumVariable.py
|
40
|
+
__revision__ = "src/engine/SCons/Variables/EnumVariable.py 5357 2011/09/09 21:31:03 bdeegan"
|
41
41
|
|
42
42
|
__all__ = ['EnumVariable',]
|
43
43
|
|
@@ -47,7 +47,7 @@ import SCons.Errors
|
|
47
47
|
def _validator(key, val, env, vals):
|
48
48
|
if not val in vals:
|
49
49
|
raise SCons.Errors.UserError(
|
50
|
-
'Invalid value for option %s: %s' % (key, val))
|
50
|
+
'Invalid value for option %s: %s. Valid values are: %s' % (key, val, vals))
|
51
51
|
|
52
52
|
|
53
53
|
def EnumVariable(key, help, default, allowed_values, map={}, ignorecase=0):
|
@@ -25,7 +25,7 @@ Usage example:
|
|
25
25
|
"""
|
26
26
|
|
27
27
|
#
|
28
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
28
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
29
29
|
#
|
30
30
|
# Permission is hereby granted, free of charge, to any person obtaining
|
31
31
|
# a copy of this software and associated documentation files (the
|
@@ -46,7 +46,7 @@ Usage example:
|
|
46
46
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
47
47
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
48
48
|
|
49
|
-
__revision__ = "src/engine/SCons/Variables/ListVariable.py
|
49
|
+
__revision__ = "src/engine/SCons/Variables/ListVariable.py 5357 2011/09/09 21:31:03 bdeegan"
|
50
50
|
|
51
51
|
# Know Bug: This should behave like a Set-Type, but does not really,
|
52
52
|
# since elements can occur twice.
|
@@ -28,7 +28,7 @@ Usage example:
|
|
28
28
|
"""
|
29
29
|
|
30
30
|
#
|
31
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
31
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
32
32
|
#
|
33
33
|
# Permission is hereby granted, free of charge, to any person obtaining
|
34
34
|
# a copy of this software and associated documentation files (the
|
@@ -50,7 +50,7 @@ Usage example:
|
|
50
50
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
51
51
|
#
|
52
52
|
|
53
|
-
__revision__ = "src/engine/SCons/Variables/PackageVariable.py
|
53
|
+
__revision__ = "src/engine/SCons/Variables/PackageVariable.py 5357 2011/09/09 21:31:03 bdeegan"
|
54
54
|
|
55
55
|
__all__ = ['PackageVariable',]
|
56
56
|
|
@@ -46,7 +46,7 @@ Usage example:
|
|
46
46
|
"""
|
47
47
|
|
48
48
|
#
|
49
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
49
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
50
50
|
#
|
51
51
|
# Permission is hereby granted, free of charge, to any person obtaining
|
52
52
|
# a copy of this software and associated documentation files (the
|
@@ -68,7 +68,7 @@ Usage example:
|
|
68
68
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
69
69
|
#
|
70
70
|
|
71
|
-
__revision__ = "src/engine/SCons/Variables/PathVariable.py
|
71
|
+
__revision__ = "src/engine/SCons/Variables/PathVariable.py 5357 2011/09/09 21:31:03 bdeegan"
|
72
72
|
|
73
73
|
__all__ = ['PathVariable',]
|
74
74
|
|
@@ -5,7 +5,7 @@ customizable variables to an SCons build.
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
#
|
8
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
8
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
9
9
|
#
|
10
10
|
# Permission is hereby granted, free of charge, to any person obtaining
|
11
11
|
# a copy of this software and associated documentation files (the
|
@@ -26,7 +26,7 @@ customizable variables to an SCons build.
|
|
26
26
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
27
27
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
28
28
|
|
29
|
-
__revision__ = "src/engine/SCons/Variables/__init__.py
|
29
|
+
__revision__ = "src/engine/SCons/Variables/__init__.py 5357 2011/09/09 21:31:03 bdeegan"
|
30
30
|
|
31
31
|
import os.path
|
32
32
|
import sys
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -27,7 +27,7 @@ This file implements the warnings framework for SCons.
|
|
27
27
|
|
28
28
|
"""
|
29
29
|
|
30
|
-
__revision__ = "src/engine/SCons/Warnings.py
|
30
|
+
__revision__ = "src/engine/SCons/Warnings.py 5357 2011/09/09 21:31:03 bdeegan"
|
31
31
|
|
32
32
|
import sys
|
33
33
|
|
@@ -5,7 +5,7 @@ The main package for the SCons software construction utility.
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
#
|
8
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
8
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
9
9
|
#
|
10
10
|
# Permission is hereby granted, free of charge, to any person obtaining
|
11
11
|
# a copy of this software and associated documentation files (the
|
@@ -27,15 +27,15 @@ The main package for the SCons software construction utility.
|
|
27
27
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
28
28
|
#
|
29
29
|
|
30
|
-
__revision__ = "src/engine/SCons/__init__.py
|
30
|
+
__revision__ = "src/engine/SCons/__init__.py 5357 2011/09/09 21:31:03 bdeegan"
|
31
31
|
|
32
|
-
__version__ = "2.0
|
32
|
+
__version__ = "2.1.0"
|
33
33
|
|
34
|
-
__build__ = "
|
34
|
+
__build__ = "r5357[MODIFIED]"
|
35
35
|
|
36
|
-
__buildsys__ = "
|
36
|
+
__buildsys__ = "ubuntu"
|
37
37
|
|
38
|
-
__date__ = "
|
38
|
+
__date__ = "2011/09/09 21:31:03"
|
39
39
|
|
40
40
|
__developer__ = "bdeegan"
|
41
41
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -60,7 +60,7 @@ function defined below loads the module as the "real" name (without the
|
|
60
60
|
rest of our code will find our pre-loaded compatibility module.
|
61
61
|
"""
|
62
62
|
|
63
|
-
__revision__ = "src/engine/SCons/compat/__init__.py
|
63
|
+
__revision__ = "src/engine/SCons/compat/__init__.py 5357 2011/09/09 21:31:03 bdeegan"
|
64
64
|
|
65
65
|
import os
|
66
66
|
import sys
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -52,7 +52,7 @@ the FUNCTIONS or DATA output, that means those names are already built in
|
|
52
52
|
to this version of Python and we don't need to add them from this module.
|
53
53
|
"""
|
54
54
|
|
55
|
-
__revision__ = "src/engine/SCons/compat/_scons_builtins.py
|
55
|
+
__revision__ = "src/engine/SCons/compat/_scons_builtins.py 5357 2011/09/09 21:31:03 bdeegan"
|
56
56
|
|
57
57
|
import builtins
|
58
58
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -30,7 +30,7 @@ used by SCons, in an interface that looks enough like collections for
|
|
30
30
|
our purposes.
|
31
31
|
"""
|
32
32
|
|
33
|
-
__revision__ = "src/engine/SCons/compat/_scons_collections.py
|
33
|
+
__revision__ = "src/engine/SCons/compat/_scons_collections.py 5357 2011/09/09 21:31:03 bdeegan"
|
34
34
|
|
35
35
|
# Use exec to hide old names from fixers.
|
36
36
|
exec("""if True:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -30,7 +30,7 @@ that the whichdb.whichdb() implementstation in the various 2.X versions of
|
|
30
30
|
Python won't blow up even if dbm wasn't compiled in.
|
31
31
|
"""
|
32
32
|
|
33
|
-
__revision__ = "src/engine/SCons/compat/_scons_dbm.py
|
33
|
+
__revision__ = "src/engine/SCons/compat/_scons_dbm.py 5357 2011/09/09 21:31:03 bdeegan"
|
34
34
|
|
35
35
|
class error(Exception):
|
36
36
|
pass
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -31,7 +31,7 @@ purposes, anyway). In fact, this module will raise an ImportError if
|
|
31
31
|
the underlying md5 module isn't available.
|
32
32
|
"""
|
33
33
|
|
34
|
-
__revision__ = "src/engine/SCons/compat/_scons_hashlib.py
|
34
|
+
__revision__ = "src/engine/SCons/compat/_scons_hashlib.py 5357 2011/09/09 21:31:03 bdeegan"
|
35
35
|
|
36
36
|
import md5
|
37
37
|
from string import hexdigits
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -29,7 +29,7 @@ functionality. It only wraps the portions of io functionality used
|
|
29
29
|
by SCons, in an interface that looks enough like io for our purposes.
|
30
30
|
"""
|
31
31
|
|
32
|
-
__revision__ = "src/engine/SCons/compat/_scons_io.py
|
32
|
+
__revision__ = "src/engine/SCons/compat/_scons_io.py 5357 2011/09/09 21:31:03 bdeegan"
|
33
33
|
|
34
34
|
# Use the "imp" module to protect the imports below from fixers.
|
35
35
|
import imp
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -21,7 +21,7 @@
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
22
|
#
|
23
23
|
|
24
|
-
__revision__ = "src/engine/SCons/cpp.py
|
24
|
+
__revision__ = "src/engine/SCons/cpp.py 5357 2011/09/09 21:31:03 bdeegan"
|
25
25
|
|
26
26
|
__doc__ = """
|
27
27
|
SCons C Pre-Processor module
|
@@ -104,10 +104,13 @@ class dblite(object):
|
|
104
104
|
if (ignore_corrupt_dbfiles == 1):
|
105
105
|
corruption_warning(self._file_name)
|
106
106
|
|
107
|
-
def
|
107
|
+
def close(self):
|
108
108
|
if (self._needs_sync):
|
109
109
|
self.sync()
|
110
110
|
|
111
|
+
def __del__(self):
|
112
|
+
self.close()
|
113
|
+
|
111
114
|
def sync(self):
|
112
115
|
self._check_writable()
|
113
116
|
f = self._open(self._tmp_name, "wb", self._mode)
|
@@ -5,7 +5,7 @@ Register functions which are executed when SCons exits for any reason.
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
#
|
8
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
8
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
9
9
|
#
|
10
10
|
# Permission is hereby granted, free of charge, to any person obtaining
|
11
11
|
# a copy of this software and associated documentation files (the
|
@@ -27,7 +27,7 @@ Register functions which are executed when SCons exits for any reason.
|
|
27
27
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
28
28
|
#
|
29
29
|
|
30
|
-
__revision__ = "src/engine/SCons/exitfuncs.py
|
30
|
+
__revision__ = "src/engine/SCons/exitfuncs.py 5357 2011/09/09 21:31:03 bdeegan"
|
31
31
|
|
32
32
|
|
33
33
|
|