Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Imported Upstream version 5.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
monojenkins committed Dec 8, 2020
1 parent aa8adaf commit 89a89bf
Show file tree
Hide file tree
Showing 7,403 changed files with 842,587 additions and 423,209 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
40 changes: 40 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM mcr.microsoft.com/dotnet/core/sdk:3.1

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive

# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
# will be updated to match your local UID/GID (when using the dockerFile property).
# See https://aka.ms/vscode-remote/containers/non-root-user for details.
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID

# Configure apt and install packages
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
#
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
&& apt-get -y install git openssh-client less iproute2 procps lsb-release \
#
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
&& groupadd --gid $USER_GID $USERNAME \
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
# [Optional] Add sudo support for the non-root user
&& apt-get install -y sudo \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
&& chmod 0440 /etc/sudoers.d/$USERNAME \
#
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=dialog
34 changes: 34 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.108.0/containers/dotnetcore-3.1-fsharp
{
"name": "F# (.NET Core 3.1)",
"dockerFile": "Dockerfile",

// Set *default* container specific settings.json values on container create.
//
// .NET Core is now the default for F# in .NET Core 3.0+
// However, .NET Core scripting is not the default yet. Set that to true.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"FSharp.useSdkScripts":true,
"editor.trimAutoWhitespace": false,
"files.trimTrailingWhitespace": false,
"FSharp.suggestGitignore": false,
"FSharp.workspacePath": "FSharp.sln"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"Ionide.Ionide-fsharp",
"ms-dotnettools.csharp"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "./build.sh",

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ mono/config.make text eol=lf
targets.make text eol=lf

*.bsl linguist-vendored=true

*.png binary
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve F#
title: ''
labels: ''
assignees: ''

---

Please provide a succinct description of the issue.

**Repro steps**

Provide the steps required to reproduce the problem:

1. Step A
2. Step B

If possible attach a zip file with the repro case. This often makes it easier for others to reproduce.
The zip file should ideally represent the situation just before the call/step that is problematic.

**Expected behavior**

Provide a description of the expected behavior.

**Actual behavior**

Provide a description of the actual behaviour observed.

**Known workarounds**

Provide a description of any known workarounds.

**Related information**

Provide any related information (optional):

* Operating system
* .NET Runtime kind (.NET Core, .NET Framework, Mono)
* Editing Tools (e.g. Visual Studio Version, Visual Studio)
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for the F# tools or compiler
title: ''
labels: Feature Request
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
159 changes: 28 additions & 131 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
# Downloaded packages and build tools.
/lkg
/packages
/Tools
# output location
artifacts/

/tests/scripts/current
/release
/debug
/Proto
.dotnet/
.packages/
.tools/

# Patches that may have been generated by scripts.
# (These aren't generally useful to commit directly; if anything, they should be applied.)
scripts/*.patch

/fcs/FSharp.Compiler.Service/illex.fs
/fcs/FSharp.Compiler.Service/ilpars.fs
/fcs/FSharp.Compiler.Service/ilpars.fsi
Expand Down Expand Up @@ -56,6 +53,7 @@ scripts/*.patch
/src/fsharp/FSharp.LanguageService.Compiler/pplex.fs
/src/fsharp/FSharp.LanguageService.Compiler/pppars.fs
/src/fsharp/FSharp.LanguageService.Compiler/pppars.fsi
/src/fsharp/*/Properties/launchSettings.json
/vsintegration/src/unittests/Unittests.fsi
/tests/*FSharp_Failures.env
/tests/*FSharp_Failures.lst
Expand All @@ -77,148 +75,40 @@ scripts/*.patch
lib/debug
lib/release
lib/proto
lib/bootstrap/4.0/*.mdb
lib/bootstrap/4.0/*.xml
lib/bootstrap/4.0/fsharpc
lib/bootstrap/4.0/fsharpi
lib/bootstrap/4.0/policy*
lib/bootstrap/4.1/*.mdb
lib/bootstrap/4.1/*.xml
lib/bootstrap/4.1/fsharpc
lib/bootstrap/4.1/fsharpi
lib/bootstrap/4.1/policy*
obj/
bin/
aclocal.m4
src/*.userprefs
src/fsharp/FSStrings.resources
packages
src/fsharp/FSharp.Build/*.resx
src/fsharp/FSharp.Build-proto/*.resx
src/fsharp/FSharp.Build-proto/*.resources
src/fsharp/FSharp.Compiler-proto/*.resx
src/fsharp/FSharp.Compiler-proto/*.resources
src/fsharp/FSharp.Compiler-proto/*.sln
src/fsharp/FSharp.Compiler-proto/*.userprefs
src/fsharp/fsi/*.resx
src/fsharp/FSharp.Compiler.Interactive.Settings/*.resx
src/fsharp/FSharp.Compiler.Server.Shared/*.resx
src/fsharp/fsi/Fsi.sln
src/fsharp/FSharp.Build/*.resources
src/fsharp/FSharp.Compiler/*.resx
src/fsharp/FSharp.Compiler/*.resources
src/fsharp/FSharp.Compiler/*.sln
src/fsharp/FSharp.Compiler/*.userprefs
Debug
Release
Proto
sign_temp
.libs
configure
config.log
config.status
src/fsharp/FSharp.Compiler/illex.fs
src/fsharp/FSharp.Compiler/ilpars.fs
src/fsharp/FSharp.Compiler/ilpars.fsi
src/fsharp/FSharp.Compiler/lex.fs
src/fsharp/FSharp.Compiler/pars.fs
src/fsharp/FSharp.Compiler/pars.fsi
src/fsharp/FSharp.Compiler/pplex.fs
src/fsharp/FSharp.Compiler/pppars.fs
src/fsharp/FSharp.Compiler/pppars.fsi
src/fsharp/FSharp.Compiler-proto/illex.fs
src/fsharp/FSharp.Compiler-proto/ilpars.fs
src/fsharp/FSharp.Compiler-proto/ilpars.fsi
src/fsharp/FSharp.Compiler-proto/lex.fs
src/fsharp/FSharp.Compiler-proto/pars.fs
src/fsharp/FSharp.Compiler-proto/pars.fsi
src/fsharp/FSharp.Compiler.Silverlight/lex.fs
src/fsharp/FSharp.Compiler.Silverlight/pars.fs
src/fsharp/FSharp.Compiler.Silverlight/pars.fsi
src/fsharp/FSharp.Compiler-proto/pplex.fs
src/fsharp/FSharp.Compiler-proto/pppars.fs
src/fsharp/FSharp.Compiler-proto/pppars.fsi
*~
*.suo
obj
src/fsharp/FSharp.Data.TypeProviders/FSData.resx
src/fsharp/fsiAnyCpu/FSIstrings.resx
*.actual
*.mdb
*test.txt
tests/fsharp/optimize/stats/*
tests/fsharp/core/printing/*
tests/fsharp/core/csfromfs/*
tests/fsharp/core/control*/*
tests/fsharp/core/unicode/*
tests/fsharp/optimize/*/*
tests/fsharp/typeProviders/builtin/*
tests/*.log
tests/fsharp/core/fsfromcs/*
tests/fsharp/core/load-script/out.txt
test.fs
*.resx
Vagrantfile
.vagrant
out
fsharp/FSharp.Compiler.Silverlight/FSComp.resx
fsharp/Script2.fsx
fsharp/Script3.fsx
tests/fsharp/core/resources/Resources.resources
test*.il
test*.res
tmptest*.ml
tmptest*.mli
*.csdl
*.ssdl
_UNATTENDEDLOG
test.ok
build.ok
*.dll.config
*.exe.config
*.pdb
*.exe
*.dll
*.err
*.diff
*.vsdiff
*.vserr

*.userprefs
extras
ossreadme*.txt
src/fsharp/FSharp.LanguageService.Compiler/illex.*
src/fsharp/FSharp.LanguageService.Compiler/ilpars.*
src/fsharp/FSharp.LanguageService.Compiler/lex.*
src/fsharp/FSharp.LanguageService.Compiler/pars.*
src/fsharp/FSharp.LanguageService.Compiler/pplex.fs
src/fsharp/FSharp.LanguageService.Compiler/pppars.fs
src/fsharp/FSharp.LanguageService.Compiler/pppars.fsi
vsintegration/src/unittests/Unittests.fsi
vsintegration/src/FSharp.ProjectSystem.FSharp/ctofiles/MenusAndCommands.cto
tests/*FSharp_Failures.env
tests/*FSharp_Failures.lst
tests/fsharpqa/Source/CodeGen/EmittedIL/StaticInit/StaticInit_Module01.dll
tests/fsharpqa/Source/CodeGen/EmittedIL/StaticInit/StaticInit_Module01.pdb
tests/XFSharpQA_Failures.log.*
vsintegration/src/vs/FsPkgs/FSharp.Project/FS/FSharp.ProjectSystem.FSharp.fsi
vsintegration/src/vs/FsPkgs/FSharp.Project/FS/ctofiles/
tests/fsharpqa/Source/CodeGen/EmittedIL/QueryExpressionStepping/Utils.dll
tests/fsharpqa/Source/CodeGen/EmittedIL/ComputationExpressions/ComputationExprLibrary.dll
packages
FSharp.Core.Nuget/*.nupkg
tests/fsharpqa/Source/*FSharpQA_Failures.env
tests/fsharpqa/Source/*FSharpQA_Failures.lst
*.csproj.user
*.fsproj.user
*.vbproj.user
*.sln.DotSettings.user
*.log
*.jrs
*.chk
*.bak
FSharp.Compiler.Tools.Nuget/*.nupkg
FSharp.Core.Nuget/*.nupkg
artifacts/*.nupkg
*.bak
*.vserr
*.err
*.orig
*.mdf
*.ldf
*.cto
*.vstman
project.lock.json
Tools/
Backup/
tests/fsharp/core/array/dont.run.peverify
tests/fsharp/core/innerpoly/dont.run.peverify
Expand All @@ -227,12 +117,10 @@ times
/tests/fsharpqa/testenv/bin/System.ValueTuple.dll
source_link.json
.vs/
/VSRelease/net40/bin
System.ValueTuple.dll
tests/fsharpqa/testenv/bin/System.ValueTuple.dll

!lib/bootstrap/signed/**/*
*/.fake
**/.fake
.ionide
/fcs/packages/
*/paket-files/
/fcs/TestResult.xml
Expand All @@ -241,3 +129,12 @@ tests/fsharpqa/testenv/bin/System.ValueTuple.dll
msbuild.binlog
/fcs/FSharp.Compiler.Service.netstandard/*.fs
/fcs/FSharp.Compiler.Service.netstandard/*.fsi
/.ionide/
**/.DS_Store
/tests/fsharp/regression/5531/compilation.output.test.txt
/tests/fsharp/core/fsfromfsviacs/compilation.langversion.old.output.txt
/tests/fsharp/core/fsfromfsviacs/compilation.errors.output.txt
*ncrunch*.user
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
Binary file removed .nuget/NuGet.exe
Binary file not shown.
Loading

0 comments on commit 89a89bf

Please sign in to comment.