Skip to content

Commit 0cae295

Browse files
committed
Merge pull request #555 from dsyme/integrate-6
Integrate visualfsharp/master --> fsharp/master --> master
2 parents b4c326a + 150da28 commit 0cae295

File tree

226 files changed

+3695
-1053
lines changed

Some content is hidden

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

226 files changed

+3695
-1053
lines changed

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Release
3131
vsdebug
3232
vsrelease
3333
Proto
34+
sign_temp
3435
.libs
3536
Makefile
3637
configure
@@ -98,6 +99,8 @@ src/fsharp/FSharp.LanguageService.Compiler/ilpars.*
9899
src/fsharp/FSharp.LanguageService.Compiler/lex.*
99100
src/fsharp/FSharp.LanguageService.Compiler/pars.*
100101
vsintegration/src/unittests/Unittests.fsi
102+
tests/*FSharp_Failures.env
103+
tests/*FSharp_Failures.lst
101104
tests/fsharpqa/Source/CodeGen/EmittedIL/StaticInit/StaticInit_Module01.dll
102105
tests/fsharpqa/Source/CodeGen/EmittedIL/StaticInit/StaticInit_Module01.pdb
103106
tests/XFSharpQA_Failures.log.*
@@ -108,9 +111,10 @@ tests/fsharpqa/Source/CodeGen/EmittedIL/ComputationExpressions/ComputationExprLi
108111
packages
109112
FSharp.Compiler.Tools.Nuget/*.nupkg
110113
FSharp.Core.Nuget/*.nupkg
114+
tests/fsharpqa/Source/*FSharpQA_Failures.env
115+
tests/fsharpqa/Source/*FSharpQA_Failures.lst
111116
*.csproj.user
112117
*.sln.DotSettings.user
113-
114118
*.ide
115119
*.log
116120
*.jrs
@@ -128,3 +132,5 @@ src/fsharp/FSharp.Compiler.Service/pplex.fs
128132
src/fsharp/FSharp.Compiler.Service/pppars.fs
129133
src/fsharp/FSharp.Compiler.Service/pppars.fsi
130134
.fake
135+
*.cto
136+
tests/**/FSharp.Core.dll

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ os:
66

77
mono:
88
- latest
9+
- 4.2.2
910
- 4.0.5
1011

1112
sudo: false
@@ -14,3 +15,4 @@ install:
1415

1516
script:
1617
- ./build.sh NuGet
18+

CHANGELOG-fsharp.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
4.0.1.2
2+
* Integrate Microsoft\visualfsharp to 5d8126a. F# 4.1 work
3+
* FCS API integration and alignment
4+
* [#528 Compiler does not catch typing error in pattern matching when using literals](https://github.com/Microsoft/visualfsharp/issues/528)
5+
* [#659 Fsi fails to augment a type constructor](https://github.com/Microsoft/visualfsharp/issues/659)
6+
* [#807 Async.Choice](https://github.com/Microsoft/visualfsharp/pull/807)
7+
* [Response files for fsc/fsi](https://github.com/Microsoft/visualfsharp/pull/831)
8+
* [#919 Fix handling of optional IDispatch, IUnknown method args](https://github.com/Microsoft/visualfsharp/pull/919)
9+
110
4.0.1.1
211
* Integrate Microsoft\visualfsharp to 8111c63. See CHANGELOG-visualfsharp.md for changes from Microsoft\visualfsharp
312
* 04cd959 - fix problem with loop optimization

CHANGELOG-visualfsharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved.
2+
Copyright (c) Microsoft Corporation. All Rights Reserved.
33

44
Licensed under the Apache License, Version 2.0.
55
See License.txt in the project root for license information.

CONTRIBUTING.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
## How to contribute to F#
2+
3+
See [contributing guide][fsharp-contributing-guide] for more info
4+
5+
### First, check if this is the right repository
6+
7+
The https://github.com/fsharp/fsharp repository is for cross platform packaging only.
8+
The development of the compiler and core library is at [Microsoft/visualfsharp][Microsoft/visualfsharp].
9+
10+
* **Is this a language suggestion?** Use the [F# Language User Voice](http://fslang.uservoice.com)
11+
12+
* **Is the issue specific to F# on Mono/OSX/Linux?** This might be the right repository.
13+
14+
* **Is the issue a bug in Mono?** Please report to [Mono Bugzilla](https://bugzilla.xamarin.com/)
15+
16+
* **Is the issue specific to F# on Windows or Visual Studio?** Use the [Microsoft/visualfsharp][Microsoft/visualfsharp] repository
17+
18+
* **Is the issue a general bug in the F# compiler/core library?** Use the [Microsoft/visualfsharp][Microsoft/visualfsharp] repository
19+
20+
#### **Did you find a bug?**
21+
22+
* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/fsharp/fsharp/issues) and in the [Microsoft/visualfsharp Issues](https://github.com/Microsoft/visualfsharp/issues).
23+
24+
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/fsharp/fsharp/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
25+
26+
* For more detailed information on submitting a bug report and creating an issue, visit our [contributing guide][fsharp-contributing-guide].
27+
28+
#### **Did you write a patch that fixes a bug?**
29+
30+
* Open a new GitHub pull request with the patch
31+
32+
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
33+
34+
#### **Do you intend to add a new feature or change an existing one?**
35+
36+
* Is the issue about the future evolution of the F# Language or Core Library? Suggest your change in the [F# Language Design User Voice site](https://fslang.uservoice.com/forums/245727-f-language).
37+
After a feature/change is "approved-in-principle", it's discussed in the [F# language design repository](https://github.com/fsharp/FSharpLangDesign/issues)
38+
and implemented as Github pull request in the [Microsoft/visualfsharp][Microsoft/visualfsharp] repository
39+
40+
* Otherwise, open a Github pull request
41+
42+
#### **Do you have questions about the source code?**
43+
44+
* Ask any question about how to use F# in the [F# mailing list](https://groups.google.com/forum/m/#!forum/fsharp-opensource) or on stackoverflow.
45+
46+
* Check the Contribute section in the [fsharp.org site](http://fsharp.org/) for more info
47+
48+
</br>
49+
50+
Thanks!
51+
52+
The [F# Core Engineering Group][fsg] (a technical working group of [The F# Software Foundation][fsf])
53+
54+
[fsg]: http://fsharp.github.io/
55+
[fsf]: http://fsharp.org
56+
[Microsoft/visualfsharp]: https://github.com/Microsoft/visualfsharp
57+
[fsharp-contributing-guide]: http://fsharp.github.io/2014/06/18/fsharp-contributions.html
58+

ISSUE_TEMPLATE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
3+
Please provide a succinct description of the issue.
4+
5+
#### Repro steps
6+
7+
Provide the steps required to reproduce the problem
8+
9+
1. Step A
10+
11+
2. Step B
12+
13+
#### Expected behavior
14+
15+
Provide a description of the expected behaviour.
16+
17+
#### Actual behavior
18+
19+
Provide a description of the actual behaviour observed.
20+
21+
#### Known workarounds
22+
23+
Provide a description of any known workarounds.
24+
25+
#### Related information
26+
27+
Provide any related information
28+
29+
* Operating system
30+
* Branch
31+
* .NET Runtime, CoreCLR or Mono Version
32+
* Editing Tools (e.g. Visual Studio Version)
33+
* Links to F# RFCs or entries on http://fslang.uservoice.com
34+
* Links to performance testing scripts
35+
* Indications of severity
36+
37+

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Head (branch ``master``), Mono 3.x, OSX + unit tests (Travis) [![Build Status](h
2222
Head (branch ``master``), Windows Server 2012 R2 + unit tests (AppVeyor) [![Build status](https://ci.appveyor.com/api/projects/status/3yllu2qh19brk61d)](https://ci.appveyor.com/project/fsgit/fsharp-compiler-service)
2323

2424
NuGet Feed [![NuGet Badge](https://buildstats.info/nuget/FSharp.Compiler.Service)](https://www.nuget.org/packages/FSharp.Compiler.Service)
25-
------------
2625

2726
Stable builds are available in the NuGet Gallery:
2827
[https://www.nuget.org/packages/FSharp.Compiler.Service](https://www.nuget.org/packages/FSharp.Compiler.Service)

RELEASE_NOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#### 4.0.0
2+
* Integrate Microsoft\visualfsharp and fsharp\fsharp to master
3+
14
#### 3.0.0.0
25
* #538 - BackgroundCompiler takes a very long time on a big solution with a very connected project dependency graph
36
* #544 - Losing operator call when one of operands is application of a partially applied function

netci.groovy

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
import jobs.generation.Utilities;
2+
3+
def project = GithubProject
4+
def branch = GithubBranchName
5+
6+
def osList = ['Windows_NT'] //'Ubuntu', 'OSX', 'CentOS7.1'
7+
8+
def machineLabelMap = ['Ubuntu':'ubuntu-doc',
9+
'OSX':'mac',
10+
'Windows_NT':'windows-elevated',
11+
'CentOS7.1' : 'centos-71']
12+
13+
def static getBuildJobName(def configuration, def os) {
14+
return configuration.toLowerCase() + '_' + os.toLowerCase()
15+
}
16+
17+
[true, false].each { isPullRequest ->
18+
['Debug', 'Release'].each { configuration ->
19+
osList.each { os ->
20+
21+
def lowerConfiguration = configuration.toLowerCase()
22+
23+
// Calculate job name
24+
def jobName = getBuildJobName(configuration, os)
25+
26+
def buildCommand = '';
27+
if (os == 'Windows_NT') {
28+
buildCommand = ".\\jenkins-build.cmd ${lowerConfiguration}"
29+
}
30+
else {
31+
buildCommand = "./jenkins-build.sh ${lowerConfiguration}"
32+
}
33+
34+
def newJobName = Utilities.getFullJobName(project, jobName, isPullRequest)
35+
def newJob = job(newJobName) {
36+
label(machineLabelMap[os])
37+
steps {
38+
if (os == 'Windows_NT') {
39+
// Batch
40+
batchFile(buildCommand)
41+
}
42+
else {
43+
// Shell
44+
shell(buildCommand)
45+
}
46+
}
47+
}
48+
49+
// TODO: set to false after tests are fully enabled
50+
def skipIfNoTestFiles = true
51+
52+
Utilities.setMachineAffinity(newJob, os, 'latest-or-auto')
53+
Utilities.standardJobSetup(newJob, project, isPullRequest, "*/${branch}")
54+
Utilities.addXUnitDotNETResults(newJob, 'tests/TestResults/**/*_Xml.xml', skipIfNoTestFiles)
55+
Utilities.addArchival(newJob, "${lowerConfiguration}/**")
56+
57+
if (isPullRequest) {
58+
Utilities.addGithubPRTriggerForBranch(newJob, branch, "${os} ${configuration} Build")
59+
}
60+
else {
61+
Utilities.addGithubPushTrigger(newJob)
62+
}
63+
}
64+
}
65+
}

paket.dependencies

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ nuget SQLite.Net.Platform.Generic 2.4.1
99
nuget FAKE
1010
nuget FSharp.Formatting
1111
nuget SourceLink.Fake
12+
nuget fssrgen
13+
nuget FSharp.SRGen.Build.Tasks
1214

1315
github fsharp/FAKE modules/Octokit/Octokit.fsx

0 commit comments

Comments
 (0)