Skip to content

Commit 2f9134b

Browse files
authored
Update license to MIT (#271)
1 parent c2d5116 commit 2f9134b

File tree

140 files changed

+561
-1244
lines changed

Some content is hidden

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

140 files changed

+561
-1244
lines changed

Directory.Build.props

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project>
3+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
4+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
5+
</PropertyGroup>
6+
7+
<PropertyGroup>
8+
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)\rules.ruleset</CodeAnalysisRuleSet>
9+
</PropertyGroup>
10+
</Project>

Directory.Build.targets

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project>
3+
<ItemGroup>
4+
<AdditionalFiles Include="$(MSBuildThisFileDirectory)\stylecop.json" />
5+
6+
<PackageReference Include="StyleCop.Analyzers" Version="1.1.1-beta.61">
7+
<PrivateAssets>All</PrivateAssets>
8+
</PackageReference>
9+
</ItemGroup>
10+
</Project>

OpenXmlPowerTools.Tests/ChartUpdaterTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/DocumentAssemblerTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/DocumentBuilderTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/HtmlConverterTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
#define COPY_FILES_FOR_DEBUGGING
205

OpenXmlPowerTools.Tests/HtmlToWmlConverterTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/HtmlToWmlReadAsXElement.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/MarkupSimplifierTests.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.IO;
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using System.IO;
25
using System.Linq;
36
using System.Xml.Linq;
47
using DocumentFormat.OpenXml;

OpenXmlPowerTools.Tests/MetricsGetterTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/OpenXmlRegexTests.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Collections.Generic;
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using System.Collections.Generic;
25
using System.IO;
36
using System.Linq;
47
using System.Text.RegularExpressions;

OpenXmlPowerTools.Tests/PowerToolsBlockExtensionsTests.cs

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
//
2-
// Copyright 2017 Thomas Barnekow
3-
//
4-
// This code is licensed using the Microsoft Public License (Ms-PL). The text of the
5-
// license can be found here:
6-
//
7-
// http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
//
9-
// Developer: Thomas Barnekow
10-
11-
//
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
123

134
using System.Collections.Generic;
145
using System.IO;

OpenXmlPowerTools.Tests/PowerToolsBlockTests.cs

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
//
2-
// Copyright 2017 Thomas Barnekow
3-
//
4-
// This code is licensed using the Microsoft Public License (Ms-PL). The text of the
5-
// license can be found here:
6-
//
7-
// http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
//
9-
// Developer: Thomas Barnekow
10-
11-
//
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
123

134
using System;
145
using System.Collections.Generic;

OpenXmlPowerTools.Tests/PresentationBuilderTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/PtUtilTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Eric White 2018.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/RevisionAccepterTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/RevisionProcessorTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/SmlCellFormatterTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/SmlToHtmlConverterTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

OpenXmlPowerTools.Tests/SpreadsheetWriterTests.cs

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
/***************************************************************************
2-
3-
Copyright (c) Microsoft Corporation 2012-2015.
4-
5-
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
6-
7-
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
8-
9-
Published at http://OpenXmlDeveloper.org
10-
Resource Center and Documentation: http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx
11-
12-
Developer: Eric White
13-
Blog: http://www.ericwhite.com
14-
Twitter: @EricWhiteDev
15-
16-
17-
***************************************************************************/
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
183

194
using System;
205
using System.Collections.Generic;

0 commit comments

Comments
 (0)