Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #777 from JimBobSquarePants/develop-v2
Browse files Browse the repository at this point in the history
Version Bump
  • Loading branch information
JimBobSquarePants authored Dec 18, 2019
2 parents c36a37d + 61eb319 commit 9af0723
Show file tree
Hide file tree
Showing 76 changed files with 758 additions and 679 deletions.
160 changes: 114 additions & 46 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,49 +1,117 @@
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
###############################################################################
# Set default behavior to:
# treat as text and
# normalize to Unix-style line endings
###############################################################################
* text eol=lf

*.jpg binary
*.png binary
*.gif binary
###############################################################################
# Set explicit file behavior to:
# treat as text and
# normalize to Unix-style line endings
###############################################################################
*.asm text eol=lf
*.c text eol=lf
*.clj text eol=lf
*.cmd text eol=lf
*.cpp text eol=lf
*.css text eol=lf
*.cxx text eol=lf
*.config text eol=lf
*.DotSettings text eol=lf
*.erl text eol=lf
*.fs text eol=lf
*.fsx text eol=lf
*.h text eol=lf
*.htm text eol=lf
*.html text eol=lf
*.hs text eol=lf
*.hxx text eol=lf
*.java text eol=lf
*.js text eol=lf
*.json text eol=lf
*.less text eol=lf
*.lisp text eol=lf
*.lua text eol=lf
*.m text eol=lf
*.md text eol=lf
*.php text eol=lf
*.props text eol=lf
*.ps1 text eol=lf
*.py text eol=lf
*.rb text eol=lf
*.resx text eol=lf
*.runsettings text eol=lf
*.ruleset text eol=lf
*.sass text eol=lf
*.scss text eol=lf
*.sh text eol=lf
*.sql text eol=lf
*.svg text eol=lf
*.targets text eol=lf
*.tt text eol=crlf
*.ttinclude text eol=crlf
*.txt text eol=lf
*.vb text eol=lf
*.yml text eol=lf

*.cs text=auto diff=csharp
*.vb text=auto
*.c text=auto
*.cpp text=auto
*.cxx text=auto
*.h text=auto
*.hxx text=auto
*.py text=auto
*.rb text=auto
*.java text=auto
*.html text=auto
*.htm text=auto
*.css text=auto
*.scss text=auto
*.sass text=auto
*.less text=auto
*.js text=auto
*.lisp text=auto
*.clj text=auto
*.sql text=auto
*.php text=auto
*.lua text=auto
*.m text=auto
*.asm text=auto
*.erl text=auto
*.fs text=auto
*.fsx text=auto
*.hs text=auto
###############################################################################
# Set explicit file behavior to:
# treat as text
# normalize to Unix-style line endings and
# diff as csharp
###############################################################################
*.cs text eol=lf diff=csharp

*.csproj text=auto merge=union
*.vbproj text=auto merge=union
*.fsproj text=auto merge=union
*.dbproj text=auto merge=union
*.sln text=auto eol=crlf merge=union
###############################################################################
# Set explicit file behavior to:
# treat as text
# normalize to Unix-style line endings and
# use a union merge when resoling conflicts
###############################################################################
*.csproj text eol=lf merge=union
*.dbproj text eol=lf merge=union
*.fsproj text eol=lf merge=union
*.ncrunchproject text eol=lf merge=union
*.vbproj text eol=lf merge=union

###############################################################################
# Set explicit file behavior to:
# treat as text
# normalize to Windows-style line endings and
# use a union merge when resoling conflicts
###############################################################################
*.sln text eol=crlf merge=union

###############################################################################
# Set explicit file behavior to:
# treat as binary
###############################################################################
*.bmp binary
*.dll binary
*.exe binary
*.gif binary
*.jpg binary
*.png binary
*.ttf binary
*.snk binary
*.eot binary
*.ttf binary
*.woff binary
*.woff2 binary
*.xls binary
*.xlsx binary
*.ppt binary
*.pptx binary

###############################################################################
# Set explicit file behavior to:
# diff as plain text
###############################################################################
*.doc diff=astextplain
*.docx diff=astextplain
*.dot diff=astextplain
*.pdf diff=astextplain
*.pptx diff=astextplain
*.rtf diff=astextplain
*.svg diff=astextplain
2 changes: 1 addition & 1 deletion build/NuSpecs/ImageProcessor.Plugins.Cair.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<tags>Image Resize Crop Rotate Quality Watermark Gif Jpg Jpeg Bitmap Png Tiff Cair Seam Carving</tags>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="ImageProcessor" version="2.7.0.0" />
<dependency id="ImageProcessor" version="2.8.0" />
</group>
</dependencies>
</metadata>
Expand Down
2 changes: 1 addition & 1 deletion build/NuSpecs/ImageProcessor.Plugins.WebP.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<tags>Image Resize Crop Rotate Quality Watermark Gif Jpg Jpeg Bitmap Png Tiff WebP</tags>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="ImageProcessor" version="2.7.0.0" />
<dependency id="ImageProcessor" version="2.8.0" />
</group>
</dependencies>
</metadata>
Expand Down
2 changes: 1 addition & 1 deletion build/NuSpecs/ImageProcessor.Web.Config.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<tags>Image Resize Crop Rotate Quality Watermark Gif Jpg Jpeg Bitmap Png Tiff ASP Cache EXIF</tags>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="ImageProcessor.Web" version="4.10.0.0" />
<dependency id="ImageProcessor.Web" version="4.11.0" />
</group>
</dependencies>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions build/NuSpecs/ImageProcessor.Web.Plugins.AmazonS3Cache.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<tags>Image Resize Crop Rotate Quality Watermark Gif Jpg Jpeg Bitmap Png Tiff Amazon S3 Cache Asp</tags>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="ImageProcessor.Web" version="4.10.0.0" />
<dependency id="ImageProcessor.Web.Config" version="2.5.0.0" />
<dependency id="ImageProcessor.Web" version="4.11.0" />
<dependency id="ImageProcessor.Web.Config" version="2.6.0" />
<dependency id="AWSSDK.Core" version="3.3.23.1" />
<dependency id="AWSSDK.S3" version="3.3.18.3" />
</group>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
<tags>Image Resize Crop Rotate Quality Watermark Gif Jpg Jpeg Bitmap Png Tiff Azure Cache Asp</tags>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="ImageProcessor.Web" version="4.10.0.0" />
<dependency id="ImageProcessor.Web.Config" version="2.5.0.0" />
<dependency id="ImageProcessor.Web" version="4.11.0" />
<dependency id="ImageProcessor.Web.Config" version="2.6.0" />
<dependency id="Microsoft.Data.Edm" version="5.6.2" />
<dependency id="Microsoft.Data.OData" version="5.8.4" />
<dependency id="Microsoft.Data.Services.Client" version="5.6.2" />
<dependency id="Microsoft.WindowsAzure.ConfigurationManager" version="1.8.0.0" />
<dependency id="Microsoft.Azure.ConfigurationManager" version="4.0.0.0" />
<dependency id="Newtonsoft.Json" version="5.0.8" />
<dependency id="System.Spatial" version="5.6.2" />
<dependency id="WindowsAzure.Storage" version="4.3.0" />
<dependency id="Microsoft.Azure.Storage.Blob" version="10.0.3" />
</group>
</dependencies>
</metadata>
Expand Down
2 changes: 1 addition & 1 deletion build/NuSpecs/ImageProcessor.Web.PostProcessor.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<tags>Image Resize Crop Rotate Quality Watermark Gif Jpg Jpeg Bitmap Png Tiff ASP Cache EXIF</tags>
<dependencies>
<group targetFramework=".NETFramework4.5">
<dependency id="ImageProcessor.Web" version="4.10.0.0" />
<dependency id="ImageProcessor.Web" version="4.11.0" />
</group>
</dependencies>
</metadata>
Expand Down
2 changes: 1 addition & 1 deletion build/NuSpecs/ImageProcessor.Web.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<tags>Image Resize Crop Rotate Quality Watermark Gif Jpg Jpeg Bitmap Png Tiff ASP Cache EXIF</tags>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="ImageProcessor" version="2.7.0.0" />
<dependency id="ImageProcessor" version="2.8.0" />
<dependency id="Microsoft.IO.RecyclableMemoryStream" version="1.2.2" />
</group>
</dependencies>
Expand Down
23 changes: 12 additions & 11 deletions build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ $testsPath = Join-Path $buildPath "tests";
$nuspecsPath = Join-Path $buildPath "build\nuspecs";
$nugetOutput = Join-Path $binPath "NuGets";

# Projects. Nuget Dependencies are handled in the nuspec files themselves and depend on the Major.Minor.Build number only.
# Projects (NuGet dependencies are handled in the nuspec files themselves)
$imageprocessor = @{
name = "ImageProcessor"
version = "2.7.0.${buildNumber}"
version = "2.8.0"
folder = Join-Path $buildPath "src\ImageProcessor"
output = Join-Path $binPath "ImageProcessor\lib\net452"
csproj = "ImageProcessor.csproj"
Expand All @@ -17,7 +17,7 @@ $imageprocessor = @{

$imageProcessorPluginsCair = @{
name = "ImageProcessor.Plugins.Cair"
version = "1.2.0.${buildNumber}"
version = "1.3.0"
folder = Join-Path $buildPath "src\ImageProcessor.Plugins.Cair"
output = Join-Path $binPath "ImageProcessor.Plugins.Cair\lib\net452"
csproj = "ImageProcessor.Plugins.Cair.csproj"
Expand All @@ -26,7 +26,7 @@ $imageProcessorPluginsCair = @{

$imageProcessorPluginsWebP = @{
name = "ImageProcessor.Plugins.WebP"
version = "1.2.0.${buildNumber}"
version = "1.3.0"
folder = Join-Path $buildPath "src\ImageProcessor.Plugins.WebP"
output = Join-Path $binPath "ImageProcessor.Plugins.WebP\lib\net452"
csproj = "ImageProcessor.Plugins.WebP.csproj"
Expand All @@ -35,21 +35,21 @@ $imageProcessorPluginsWebP = @{

$imageprocessorWeb = @{
name = "ImageProcessor.Web"
version = "4.10.0.${buildNumber}"
version = "4.11.0"
folder = Join-Path $buildPath "src\ImageProcessor.Web"
output = Join-Path $binPath "ImageProcessor.Web\lib\net452"
csproj = "ImageProcessor.Web.csproj"
nuspec = Join-Path $nuspecsPath "ImageProcessor.Web.nuspec"
};

$imageprocessorWebConfig = @{
version = "2.5.0.${buildNumber}"
version = "2.6.0"
nuspec = Join-Path $nuspecsPath "ImageProcessor.Web.Config.nuspec"
};

$imageProcessorWebPluginsAzureBlobCache = @{
name = "ImageProcessor.Web.Plugins.AzureBlobCache"
version = "1.5.0.${buildNumber}"
version = "1.6.0"
folder = Join-Path $buildPath "src\ImageProcessor.Web.Plugins.AzureBlobCache"
output = Join-Path $binPath "ImageProcessor.Web.Plugins.AzureBlobCache\lib\net452"
csproj = "ImageProcessor.Web.Plugins.AzureBlobCache.csproj"
Expand All @@ -58,7 +58,7 @@ $imageProcessorWebPluginsAzureBlobCache = @{

$imageProcessorWebPluginsAmazonS3Cache = @{
name = "ImageProcessor.Web.Plugins.AmazonS3Cache"
version = "1.0.0.${buildNumber}"
version = "1.1.0"
folder = Join-Path $buildPath "src\ImageProcessor.Web.Plugins.AmazonS3Cache"
output = Join-Path $binPath "ImageProcessor.Web.Plugins.AmazonS3Cache\lib\net452"
csproj = "ImageProcessor.Web.Plugins.AmazonS3Cache.csproj"
Expand All @@ -67,7 +67,7 @@ $imageProcessorWebPluginsAmazonS3Cache = @{

$imageProcessorWebPluginsPostProcessor = @{
name = "ImageProcessor.Web.Plugins.PostProcessor"
version = "1.4.0.${buildNumber}"
version = "1.5.0"
folder = Join-Path $buildPath "src\ImageProcessor.Web.Plugins.PostProcessor"
output = Join-Path $binPath "ImageProcessor.Web.Plugins.PostProcessor\lib\net452"
csproj = "ImageProcessor.Web.Plugins.PostProcessor.csproj"
Expand Down Expand Up @@ -118,8 +118,9 @@ foreach ($project in $projects) {
continue;
}

Write-Host "Building project $($project.name) at version $($project.version)" -ForegroundColor Yellow;
Update-AssemblyInfo -file (Join-Path $project.folder "Properties\AssemblyInfo.cs") -version $project.version;
$assemblyVersion = "$($project.version).$buildNumber";
Write-Host "Building Project $($project.name) at version $($assemblyVersion)" -ForegroundColor Yellow;
Update-AssemblyInfo -file (Join-Path $project.folder "Properties\AssemblyInfo.cs") -version $assemblyVersion;

$buildCommand = "msbuild $(Join-Path $project.folder $project.csproj) /t:Build /p:Warnings=true /p:Configuration=Release /p:Platform=AnyCPU /p:PipelineDependsOnBuild=False /p:OutDir=$($project.output) /clp:WarningsOnly /clp:ErrorsOnly /clp:Summary /clp:PerformanceSummary /v:Normal /nologo";
Write-Host $buildCommand -ForegroundColor Yellow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class AmazonS3Cache : ImageCacheBase
/// <summary>
/// The regular expression for parsing a remote uri.
/// </summary>
private static readonly Regex RemoteRegex = new Regex("^http(s)?://", RegexOptions.Compiled);
private static readonly Regex RemoteRegex = new Regex("^http(s)?://", RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase);

/// <summary>
/// The assembly version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ namespace ImageProcessor.Web.Plugins.AzureBlobCache
using ImageProcessor.Web.Caching;
using ImageProcessor.Web.HttpModules;

using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;

/// <summary>
/// Provides an <see cref="IImageCache"/> implementation that uses Azure blob storage.
Expand All @@ -38,7 +38,7 @@ public class AzureBlobCache : ImageCacheBase
/// <summary>
/// The regular expression for parsing a remote uri.
/// </summary>
private static readonly Regex RemoteRegex = new Regex("^http(s)?://", RegexOptions.Compiled);
private static readonly Regex RemoteRegex = new Regex("^http(s)?://", RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase);

/// <summary>
/// The assembly version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
using ImageProcessor.Web.Caching;
using ImageProcessor.Web.Helpers;
using ImageProcessor.Web.Services;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;

namespace ImageProcessor.Web.Plugins.AzureBlobCache
{
Expand Down
Loading

0 comments on commit 9af0723

Please sign in to comment.