Skip to content

Commit

Permalink
Update license blurb
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Oct 4, 2018
1 parent 2729a16 commit 38fea1f
Show file tree
Hide file tree
Showing 355 changed files with 1,229 additions and 549 deletions.
2 changes: 1 addition & 1 deletion paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1071,4 +1071,4 @@ GROUP wsbuild

GIT
remote: https://github.com/dotnet-websharper/build-script
(ba0f9d10f68ae96f0784f07548863a3c0bb1ee6f)
(cd96aa1f99eafbd476069a6b07bc3e501aaf48fa)
21 changes: 20 additions & 1 deletion src/compiler/WebSharper.CSharp.Analyzer/Analyzer.fs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
namespace WebSharper.CSharp.Analyzer
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
// obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.
//
// $end{copyright}
namespace WebSharper.CSharp.Analyzer

open System
open System.Collections.Generic
Expand Down
6 changes: 3 additions & 3 deletions src/compiler/WebSharper.CSharp/ErrorPrinting.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down Expand Up @@ -43,4 +43,4 @@ let PrintWebSharperErrors warnOnly (comp: Compilation) =
for pos, err in comp.Errors do
printWebSharperError pos true (string err)
for pos, err in comp.Warnings do
printWebSharperError pos false (string err)
printWebSharperError pos false (string err)
2 changes: 1 addition & 1 deletion src/compiler/WebSharper.CSharp/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2014 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
6 changes: 3 additions & 3 deletions src/compiler/WebSharper.Compiler.CSharp/CodeReader.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down Expand Up @@ -2271,4 +2271,4 @@ type RoslynTransformer(env: Environment) =
this.TransformBlock x.Block

member this.TransformCheckedExpression (x: CheckedExpressionData) : _ =
this.TransformExpression x.Expression
this.TransformExpression x.Expression
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler.CSharp/Continuation.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler.CSharp/Main.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler.CSharp/ProjectReader.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
6 changes: 3 additions & 3 deletions src/compiler/WebSharper.Compiler.CSharp/Scoping.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down Expand Up @@ -161,4 +161,4 @@ type FixScoping() =

let private fixInst = FixScoping()

let fix s = fixInst.TransformStatement s
let fix s = fixInst.TransformStatement s
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<ItemGroup>
<Compile Include="RoslynHelpers.fs" />
<Compile Include="RoslynHelpers.g.fs" />
<Compile Include="Scoping.fs" />
<Compile Include="Continuation.fs" />
<Compile Include="CodeReader.fs" />
Expand Down
25 changes: 22 additions & 3 deletions src/compiler/WebSharper.Compiler.CSharp/genHelpers.fsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
type Field =
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
// obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.
//
// $end{copyright}
type Field =
{
Name : string
Type : string
Expand Down Expand Up @@ -302,6 +321,6 @@ let generate() =

genCode.Append(string recCode) |> ignore

System.IO.File.WriteAllText(__SOURCE_DIRECTORY__ + @"\RoslynHelpers.fs", string genCode)
System.IO.File.WriteAllText(__SOURCE_DIRECTORY__ + @"\RoslynHelpers.g.fs", string genCode)

#endif
#endif
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler.FSharp/ArgCurrying.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
21 changes: 20 additions & 1 deletion src/compiler/WebSharper.Compiler.FSharp/AssemblyInfo.fs
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
namespace WebSharper.Compiler.FSharp.AssemblyInfo
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
// obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.
//
// $end{copyright}
namespace WebSharper.Compiler.FSharp.AssemblyInfo

open System.Reflection
open System.Runtime.CompilerServices
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler.FSharp/CodeReader.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
6 changes: 3 additions & 3 deletions src/compiler/WebSharper.Compiler.FSharp/ErrorPrinting.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down Expand Up @@ -111,4 +111,4 @@ let PrintWebSharperErrors warnOnly projFile (comp: Compilation) =
for pos, err in comp.Errors do
printWebSharperError pos true (string err)
for pos, err in comp.Warnings do
printWebSharperError pos false (string err)
printWebSharperError pos false (string err)
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler.FSharp/Main.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler.FSharp/ProjectReader.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler.FSharp/TailCalls.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
21 changes: 20 additions & 1 deletion src/compiler/WebSharper.Compiler.FSharp/genTransformer.fsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
#r @"..\..\..\packages\FSharp.Compiler.Service\lib\net45\FSharp.Compiler.Service.dll"
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
// obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.
//
// $end{copyright}
#r @"..\..\..\packages\FSharp.Compiler.Service\lib\net45\FSharp.Compiler.Service.dll"

open Microsoft.FSharp.Compiler.SourceCodeServices

Expand Down
21 changes: 20 additions & 1 deletion src/compiler/WebSharper.Compiler.FSharp/tests.fsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
#I __SOURCE_DIRECTORY__
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
// obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.
//
// $end{copyright}
#I __SOURCE_DIRECTORY__
#r @"System.dll"
#r @"System.Configuration.dll"
#r @"System.Core.dll"
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/WebSharper.Compiler/Abbreviations.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
8 changes: 7 additions & 1 deletion src/compiler/WebSharper.Compiler/AssemblyResolution.fs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// Copyright 2013-2015 IntelliFactory
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand All @@ -11,6 +15,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.
//
// $end{copyright}

namespace WebSharper.Compiler

Expand Down
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler/AssemblyResolution.fsi
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
6 changes: 3 additions & 3 deletions src/compiler/WebSharper.Compiler/AttributeReader.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down Expand Up @@ -569,4 +569,4 @@ let reflectCustomType (typ : TypeDefinition) =
HasNull = usesNull && cases |> List.exists (fun c -> c.Kind = M.ConstantFSharpUnionCase Null)
}
else M.NotCustomType
with _ -> M.NotCustomType
with _ -> M.NotCustomType
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler/Breaker.fs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/WebSharper.Compiler/Breaker.fsi
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// $begin{copyright}
// $begin{copyright}
//
// This file is part of WebSharper
//
// Copyright (c) 2008-2016 IntelliFactory
// Copyright (c) 2008-2018 IntelliFactory
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
Expand Down
Loading

0 comments on commit 38fea1f

Please sign in to comment.