Skip to content

Commit d0215ca

Browse files
KevinRansombaronfel
authored andcommitted
Merge branch 'master' into merges/release/dev16.5-to-master
2 parents 85af456 + 80fce01 commit d0215ca

File tree

7,343 files changed

+187004
-929766
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

7,343 files changed

+187004
-929766
lines changed

.devcontainer/Dockerfile

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#-------------------------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
4+
#-------------------------------------------------------------------------------------------------------------
5+
6+
FROM mcr.microsoft.com/dotnet/core/sdk:3.1
7+
8+
# Avoid warnings by switching to noninteractive
9+
ENV DEBIAN_FRONTEND=noninteractive
10+
11+
# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
12+
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
13+
# will be updated to match your local UID/GID (when using the dockerFile property).
14+
# See https://aka.ms/vscode-remote/containers/non-root-user for details.
15+
ARG USERNAME=vscode
16+
ARG USER_UID=1000
17+
ARG USER_GID=$USER_UID
18+
19+
# Configure apt and install packages
20+
RUN apt-get update \
21+
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
22+
#
23+
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
24+
&& apt-get -y install git openssh-client less iproute2 procps lsb-release \
25+
#
26+
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
27+
&& groupadd --gid $USER_GID $USERNAME \
28+
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
29+
# [Optional] Add sudo support for the non-root user
30+
&& apt-get install -y sudo \
31+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
32+
&& chmod 0440 /etc/sudoers.d/$USERNAME \
33+
#
34+
# Clean up
35+
&& apt-get autoremove -y \
36+
&& apt-get clean -y \
37+
&& rm -rf /var/lib/apt/lists/*
38+
39+
# Switch back to dialog for any ad-hoc use of apt-get
40+
ENV DEBIAN_FRONTEND=dialog

.devcontainer/devcontainer.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.108.0/containers/dotnetcore-3.1-fsharp
3+
{
4+
"name": "F# (.NET Core 3.1)",
5+
"dockerFile": "Dockerfile",
6+
7+
// Set *default* container specific settings.json values on container create.
8+
//
9+
// .NET Core is now the default for F# in .NET Core 3.0+
10+
// However, .NET Core scripting is not the default yet. Set that to true.
11+
"settings": {
12+
"terminal.integrated.shell.linux": "/bin/bash",
13+
"FSharp.useSdkScripts":true,
14+
"editor.trimAutoWhitespace": false,
15+
"files.trimTrailingWhitespace": false,
16+
"FSharp.suggestGitignore": false,
17+
"FSharp.workspacePath": "FSharp.sln"
18+
},
19+
20+
// Add the IDs of extensions you want installed when the container is created.
21+
"extensions": [
22+
"Ionide.Ionide-fsharp",
23+
"ms-dotnettools.csharp"
24+
],
25+
26+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
27+
// "forwardPorts": [],
28+
29+
// Use 'postCreateCommand' to run commands after the container is created.
30+
"postCreateCommand": "./build.sh",
31+
32+
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
33+
// "remoteUser": "vscode"
34+
}

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
*.rtf diff=astextplain
2222
*.RTF diff=astextplain
2323

24-
mono/launcher text eol=lf
25-
mono/config.make text eol=lf
24+
*.sh text eol=lf
2625
targets.make text eol=lf
2726

2827
*.bsl linguist-vendored=true

.github/issue_template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# FSharp.Compiler.Service Issue Template
2+
3+
> Thanks for your intention to help out!
4+
5+
We appreciate your enthusiasm, but this repository is a *read-only* fork of the official F# compiler. Please raise your issue at the [upstream repository](https://github.com/dotnet/fsharp/issues/new).

.github/pull_request_template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# FSharp.Compiler.Service Pull Request Template
2+
3+
> Thanks for your intention to help out!
4+
5+
We appreciate your enthusiasm, but this repository is a *read-only* fork of the official F# compiler. Please raise your Pull Request at the [upstream repository](https://github.com/dotnet/fsharp/compare).

.gitignore

Lines changed: 108 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,32 +82,136 @@ lib/bootstrap/4.1/policy*
8282
obj/
8383
bin/
8484
aclocal.m4
85+
src/*.userprefs
86+
src/fsharp/FSStrings.resources
87+
packages
88+
src/fsharp/FSharp.Build/*.resx
89+
src/fsharp/FSharp.Build-proto/*.resx
90+
src/fsharp/FSharp.Build-proto/*.resources
91+
src/fsharp/FSharp.Compiler-proto/*.resx
92+
src/fsharp/FSharp.Compiler-proto/*.resources
93+
src/fsharp/FSharp.Compiler-proto/*.sln
94+
src/fsharp/FSharp.Compiler-proto/*.userprefs
95+
src/fsharp/fsi/*.resx
96+
src/fsharp/FSharp.Compiler.Interactive.Settings/*.resx
97+
src/fsharp/FSharp.Compiler.Server.Shared/*.resx
98+
src/fsharp/fsi/Fsi.sln
99+
src/fsharp/FSharp.Build/*.resources
100+
src/fsharp/FSharp.Compiler/*.resx
101+
src/fsharp/FSharp.Compiler/*.resources
102+
src/fsharp/FSharp.Compiler/*.sln
103+
src/fsharp/FSharp.Compiler/*.userprefs
104+
Debug
105+
Release
106+
Proto
85107
sign_temp
86108
.libs
87109
configure
88110
config.log
89111
config.status
112+
src/fsharp/FSharp.Compiler/illex.fs
113+
src/fsharp/FSharp.Compiler/ilpars.fs
114+
src/fsharp/FSharp.Compiler/ilpars.fsi
115+
src/fsharp/FSharp.Compiler/lex.fs
116+
src/fsharp/FSharp.Compiler/pars.fs
117+
src/fsharp/FSharp.Compiler/pars.fsi
118+
src/fsharp/FSharp.Compiler/pplex.fs
119+
src/fsharp/FSharp.Compiler/pppars.fs
120+
src/fsharp/FSharp.Compiler/pppars.fsi
121+
src/fsharp/FSharp.Compiler-proto/illex.fs
122+
src/fsharp/FSharp.Compiler-proto/ilpars.fs
123+
src/fsharp/FSharp.Compiler-proto/ilpars.fsi
124+
src/fsharp/FSharp.Compiler-proto/lex.fs
125+
src/fsharp/FSharp.Compiler-proto/pars.fs
126+
src/fsharp/FSharp.Compiler-proto/pars.fsi
127+
src/fsharp/FSharp.Compiler.Silverlight/lex.fs
128+
src/fsharp/FSharp.Compiler.Silverlight/pars.fs
129+
src/fsharp/FSharp.Compiler.Silverlight/pars.fsi
130+
src/fsharp/FSharp.Compiler-proto/pplex.fs
131+
src/fsharp/FSharp.Compiler-proto/pppars.fs
132+
src/fsharp/FSharp.Compiler-proto/pppars.fsi
133+
90134
*~
91135
*.suo
92136
obj
137+
src/fsharp/FSharp.Data.TypeProviders/FSData.resx
138+
src/fsharp/fsiAnyCpu/FSIstrings.resx
139+
140+
*.nupkg
141+
142+
bin
143+
packages
144+
*.bak
145+
temp/
146+
src/fsharp/fsi/FSIStrings.fs
147+
148+
src/fsharp/FSharp.Compiler.Service/FSComp.resx
149+
src/fsharp/FSharp.Compiler.Service/FSIstrings.resx
150+
src/fsharp/FSharp.Compiler.Service/illex.fs
151+
src/fsharp/FSharp.Compiler.Service/ilpars.fs
152+
src/fsharp/FSharp.Compiler.Service/ilpars.fsi
153+
src/fsharp/FSharp.Compiler.Service/lex.fs
154+
src/fsharp/FSharp.Compiler.Service/pars.fs
155+
src/fsharp/FSharp.Compiler.Service/pars.fsi
156+
TestResults.xml
157+
*.userprefs
93158
extras
94159
ossreadme*.txt
160+
*.XML
161+
src/assemblyinfo/assemblyinfo.shared.fs
162+
*.csproj.user
163+
src/fsharp/FSharp.LanguageService.Compiler/illex.*
164+
src/fsharp/FSharp.LanguageService.Compiler/ilpars.*
165+
src/fsharp/FSharp.LanguageService.Compiler/lex.*
166+
src/fsharp/FSharp.LanguageService.Compiler/pars.*
167+
vsintegration/src/unittests/Unittests.fsi
168+
vsintegration/src/FSharp.ProjectSystem.FSharp/ctofiles/MenusAndCommands.cto
169+
tests/*FSharp_Failures.env
170+
tests/*FSharp_Failures.lst
171+
tests/fsharpqa/Source/CodeGen/EmittedIL/StaticInit/StaticInit_Module01.dll
172+
tests/fsharpqa/Source/CodeGen/EmittedIL/StaticInit/StaticInit_Module01.pdb
173+
tests/XFSharpQA_Failures.log.*
174+
vsintegration/src/vs/FsPkgs/FSharp.Project/FS/FSharp.ProjectSystem.FSharp.fsi
175+
vsintegration/src/vs/FsPkgs/FSharp.Project/FS/ctofiles/
176+
tests/fsharpqa/Source/CodeGen/EmittedIL/QueryExpressionStepping/Utils.dll
177+
tests/fsharpqa/Source/CodeGen/EmittedIL/ComputationExpressions/ComputationExprLibrary.dll
178+
packages
179+
FSharp.Compiler.Tools.Nuget/*.nupkg
180+
FSharp.Core.Nuget/*.nupkg
181+
tests/fsharpqa/Source/*FSharpQA_Failures.env
182+
tests/fsharpqa/Source/*FSharpQA_Failures.lst
95183
*.csproj.user
96184
*.fsproj.user
97185
*.vbproj.user
98186
*.sln.DotSettings.user
99187
*.log
100188
*.jrs
101189
*.chk
190+
*.bak
191+
FSharp.Compiler.Tools.Nuget/*.nupkg
192+
FSharp.Core.Nuget/*.nupkg
193+
artifacts/*.nupkg
102194
*.bak
103195
*.vserr
104196
*.err
105197
*.orig
106198
*.mdf
107199
*.ldf
200+
.paket/paket.exe
201+
paket-files
202+
docsrc/tools/FSharp.Formatting.svclog
203+
src/fsharp/FSharp.Compiler.Service/pplex.fs
204+
src/fsharp/FSharp.Compiler.Service/pppars.fs
205+
src/fsharp/FSharp.Compiler.Service/pppars.fsi
206+
.fake
108207
*.cto
109208
*.vstman
110209
project.lock.json
210+
src/fsharp/FSharp.Compiler.Service/FSComp.fs
211+
src/fsharp/FSharp.Compiler.Service/FSComp.resx
212+
src/fsharp/FSharp.Compiler.Service/FSIstrings.fs
213+
src/fsharp/FSharp.Compiler.Service/FSIstrings.resx
214+
Tools/
111215
Backup/
112216
tests/fsharp/core/array/dont.run.peverify
113217
tests/fsharp/core/innerpoly/dont.run.peverify
@@ -119,7 +223,8 @@ source_link.json
119223
System.ValueTuple.dll
120224
tests/fsharpqa/testenv/bin/System.ValueTuple.dll
121225
**/.fake
122-
.ionide
226+
lib/netcore/fsc/bin/
227+
!lib/bootstrap/signed/**/*
123228
/fcs/packages/
124229
*/paket-files/
125230
/fcs/TestResult.xml
@@ -128,5 +233,6 @@ tests/fsharpqa/testenv/bin/System.ValueTuple.dll
128233
msbuild.binlog
129234
/fcs/FSharp.Compiler.Service.netstandard/*.fs
130235
/fcs/FSharp.Compiler.Service.netstandard/*.fsi
131-
/.ionide/
236+
.ionide
237+
.vscode
132238
**/.DS_Store

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: csharp
2+
3+
os:
4+
- linux
5+
- osx
6+
7+
osx_image: xcode11.2
8+
9+
mono:
10+
- weekly
11+
- latest
12+
- 6.6.0
13+
14+
dotnet: 3.1.100
15+
16+
sudo: false
17+
18+
install:
19+
20+
script:
21+
- ./fcs/build.sh
22+
23+

.vscode/launch.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"editor.trimAutoWhitespace": false,
3+
"files.trimTrailingWhitespace": false,
4+
"FSharp.suggestGitignore": false,
5+
"FSharp.workspacePath": "FSharp.sln"
6+
}

.vscode/tasks.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)