Permalink
Browse files

updates to binaries and adding todos for stream for upcoming streamin…

…g changes
  • Loading branch information...
1 parent 990f5b4 commit 7ce99b5ba595c0da643c6e266b5203202d83a37a @serialseb serialseb committed Sep 5, 2011
Showing with 22 additions and 126 deletions.
  1. +3 −1 .gitignore
  2. +2 −1 src/OpenRasta/Codecs/application/octet-stream/ApplicationOctetStreamCodec.cs
  3. +3 −0 src/OpenRasta/Hosting/HttpListener/HttpListenerResponse.cs
  4. +2 −0 src/OpenRasta/Pipeline/Contributors/ResponseEntityWriterContributor.cs
  5. BIN wraps/Mono.Cecil-0.9.4.1.wrap
  6. BIN wraps/openfilesystem-1.0.0.61263243.wrap
  7. BIN wraps/openwrap-1.1.0.64779355.wrap
  8. BIN wraps/openwrap-2.0.0.80247996.wrap
  9. +0 −1 wraps/openwrap/.anchored
  10. +1 −0 wraps/openwrap/_anchored
  11. BIN wraps/openwrap/bin-net35/OpenRasta.Client.dll
  12. BIN wraps/openwrap/bin-net35/OpenRasta.Client.pdb
  13. BIN wraps/openwrap/bin-net35/OpenWrap.Testing.dll
  14. BIN wraps/openwrap/bin-net35/OpenWrap.Testing.pdb
  15. BIN wraps/openwrap/bin-net35/OpenWrap.VisualStudio.Shared.dll
  16. BIN wraps/openwrap/bin-net35/OpenWrap.VisualStudio.Shared.pdb
  17. BIN wraps/openwrap/bin-net35/OpenWrap.VisualStudio.SolutionAddIn.dll
  18. BIN wraps/openwrap/bin-net35/OpenWrap.VisualStudio.SolutionAddIn.pdb
  19. BIN wraps/openwrap/bin-net35/OpenWrap.dll
  20. BIN wraps/openwrap/bin-net35/OpenWrap.pdb
  21. BIN wraps/openwrap/build/OpenWrap.Build.Bootstrap.dll
  22. BIN wraps/openwrap/build/OpenWrap.Build.Bootstrap.pdb
  23. BIN wraps/openwrap/build/OpenWrap.Build.Tasks.dll
  24. BIN wraps/openwrap/build/OpenWrap.Build.Tasks.pdb
  25. +5 −10 wraps/openwrap/build/OpenWrap.CSharp.targets
  26. BIN wraps/openwrap/build/OpenWrap.Resharper.450.dll
  27. BIN wraps/openwrap/build/OpenWrap.Resharper.450.pdb
  28. BIN wraps/openwrap/build/OpenWrap.Resharper.500.dll
  29. BIN wraps/openwrap/build/OpenWrap.Resharper.500.pdb
  30. BIN wraps/openwrap/build/OpenWrap.Resharper.510.dll
  31. BIN wraps/openwrap/build/OpenWrap.Resharper.510.pdb
  32. BIN wraps/openwrap/build/OpenWrap.Resharper.511.dll
  33. BIN wraps/openwrap/build/OpenWrap.Resharper.511.pdb
  34. BIN wraps/openwrap/commands/OpenWrap.Commands.dll
  35. BIN wraps/openwrap/commands/OpenWrap.Commands.pdb
  36. +5 −2 wraps/openwrap/openwrap.wrapdesc
  37. BIN wraps/openwrap/solution/JetBrains.Platform.ReSharper.ActionManagement.dll
  38. BIN wraps/openwrap/solution/JetBrains.Platform.ReSharper.ComponentModel.dll
  39. BIN wraps/openwrap/solution/JetBrains.Platform.ReSharper.Metadata.dll
  40. BIN wraps/openwrap/solution/JetBrains.Platform.ReSharper.VSIntegration.dll
  41. BIN wraps/openwrap/solution/JetBrains.ReSharper.Daemon.dll
  42. BIN wraps/openwrap/solution/JetBrains.ReSharper.SolutionAnalysis.dll
  43. BIN wraps/openwrap/solution/OpenWrap.Resharper.450.dll
  44. BIN wraps/openwrap/solution/OpenWrap.Resharper.450.pdb
  45. BIN wraps/openwrap/solution/OpenWrap.Resharper.500.dll
  46. BIN wraps/openwrap/solution/OpenWrap.Resharper.500.pdb
  47. BIN wraps/openwrap/solution/OpenWrap.Resharper.510.dll
  48. BIN wraps/openwrap/solution/OpenWrap.Resharper.510.pdb
  49. BIN wraps/openwrap/solution/OpenWrap.Resharper.600.dll
  50. BIN wraps/openwrap/solution/OpenWrap.Resharper.600.pdb
  51. BIN wraps/openwrap/solution/OpenWrap.SolutionPlugins.VisualStudio.dll
  52. BIN wraps/openwrap/solution/OpenWrap.SolutionPlugins.VisualStudio.pdb
  53. BIN wraps/openwrap/tests/OpenWrap.Build.Tasks.dll
  54. BIN wraps/openwrap/tests/OpenWrap.Build.Tasks.pdb
  55. BIN wraps/openwrap/tests/OpenWrap.Commands.dll
  56. BIN wraps/openwrap/tests/OpenWrap.Commands.pdb
  57. BIN wraps/openwrap/tests/OpenWrap.Resharper.450.dll
  58. BIN wraps/openwrap/tests/OpenWrap.Resharper.450.pdb
  59. BIN wraps/openwrap/tests/OpenWrap.Resharper.500.dll
  60. BIN wraps/openwrap/tests/OpenWrap.Resharper.500.pdb
  61. BIN wraps/openwrap/tests/OpenWrap.Resharper.510.dll
  62. BIN wraps/openwrap/tests/OpenWrap.Resharper.510.pdb
  63. BIN wraps/openwrap/tests/OpenWrap.Resharper.511.dll
  64. BIN wraps/openwrap/tests/OpenWrap.Resharper.511.pdb
  65. BIN wraps/openwrap/tests/OpenWrap.Tests.dll
  66. BIN wraps/openwrap/tests/OpenWrap.Tests.pdb
  67. +0 −55 wraps/openwrap/tests/Repositories/feedodata.xml
  68. +0 −55 wraps/openwrap/tests/Repositories/feedodata2.xml
  69. +1 −1 wraps/openwrap/version
View
@@ -15,4 +15,6 @@ Thumbs.db
.svn
reports
reports/*
-/*.wrap
+/*.wrap
+*.bin
+*/*.bin
@@ -66,7 +66,7 @@ static void WriteFileWithFilename(IFile file, string disposition, IHttpEntity re
if (file.ContentType != null && file.ContentType != MediaType.ApplicationOctetStream
|| (file.ContentType == MediaType.ApplicationOctetStream && response.ContentType == null))
response.ContentType = file.ContentType;
-
+ // TODO: use contentLength from IFile
using (var stream = file.OpenStream())
stream.CopyTo(response.Stream);
}
@@ -75,6 +75,7 @@ IEnumerable<bool> GetWriters(object entity, IHttpEntity response)
{
yield return TryProcessAs<IDownloadableFile>(entity, file => WriteFileWithFilename(file, "attachment", response));
yield return TryProcessAs<IFile>(entity, file => WriteFileWithFilename(file, "inline", response));
+ // TODO: Stream to be disposed and length to be written if needed
yield return TryProcessAs<Stream>(entity, stream => stream.CopyTo(response.Stream));
yield return TryProcessAs<byte[]>(entity, bytes => response.Stream.Write(bytes));
}
@@ -18,6 +18,7 @@ public HttpListenerResponse(HttpListenerCommunicationContext context, System.Net
_context = context;
_nativeResponse = response;
Headers = new HttpHeaderDictionary();
+ // TODO: Wrap stream and send chunked when needed if write starts before sending response
Entity = new HttpEntity(Headers, _tempStream);
_nativeResponse.SendChunked = false;
}
@@ -51,6 +52,8 @@ public void WriteHeaders()
}
HeadersSent = true;
_nativeResponse.ContentLength64 = Headers.ContentLength.GetValueOrDefault();
+ // TODO: Enable streaming straight back to native response output sting
+
// Guard against a possible HttpListenerException : The specified network name is no longer available
try
@@ -61,6 +61,8 @@ public PipelineContinuation WriteResponse(ICommunicationContext context)
}
else
{
+ // TODO: Reorder header writing / body writing
+
Log.WriteDebug("Codec {0} selected.", codecInstance.GetType().Name);
if (context.PipelineData.ResponseCodec != null &&
context.PipelineData.ResponseCodec.Configuration != null)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -1 +0,0 @@
-openwrap-1.0.0.57548025
View
@@ -0,0 +1 @@
+openwrap-2.0.0.80247996
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Defines targets for projects that consume wraps -->
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="_Initialize">
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="OpenWrap-Initialize">
<!-- Default folder locations -->
<PropertyGroup>
@@ -37,21 +37,16 @@
<OpenWrap-IncludeSourceFiles Condition="'$(OpenWrap-IncludeSourceFiles)' == ''">false</OpenWrap-IncludeSourceFiles>
</PropertyGroup>
- <Target Name="_Initialize">
+ <Target Name="OpenWrap-Initialize">
<InitializeOpenWrap StartDebug="$(OpenWrap-StartDebug)" CurrentProjectFile="$(MSBuildProjectFullPath)" >
<Output TaskParameter="Name" PropertyName="OpenWrap-PackageName" />
<Output TaskParameter="Scope" PropertyName="OpenWrap-Scope" Condition="'$(OpenWrap-Scope)' == ''" />
<Output TaskParameter="DescriptorPath" PropertyName="OpenWrap-DescriptorPath" Condition="'$(OpenWrap-DescriptorPath)' == ''" />
</InitializeOpenWrap>
<InitializeVisualStudioIntegration
- WrapDescriptor="$(OpenWrap-DescriptorPath)"
- WrapsDirectory="$(OpenWrap-ProjectRepositoryPath)"
- Platform="$(OpenWrap-TargetPlatform)"
- Profile="$(OpenWrap-TargetProfile)"
- ProjectFilePath="$(MSBuildProjectFullPath)"
EnableVisualStudioIntegration="$(OpenWrap-EnableVisualStudioIntegration)"
- ExcludeAssemblies="$(AssemblyName);$(OpenWrap-ExcludeAssemblies)" />
+ />
<!-- Sanity checks -->
<Error Condition="'$(OutputType)' != 'winexe' and '$(OutputType)' != 'exe' and '$(OutputType)' != 'library'" Text="The project type '$(OutputType)' is not supported." />
@@ -66,7 +61,7 @@
</PropertyGroup>
- <Target Name="OpenWrap-ResolveReferences">
+ <Target Name="OpenWrap-ResolveReferences" DependsOnTargets="OpenWrap-Initialize">
<ResolveWrapReferences
WrapDescriptor="$(OpenWrap-DescriptorPath)"
WrapsDirectory="$(OpenWrap-ProjectRepositoryPath)"
@@ -80,7 +75,7 @@
</ResolveWrapReferences>
</Target>
- <Target Name="OpenWrap-BeforeBuild" DependsOnTargets="_Initialize">
+ <Target Name="OpenWrap-BeforeBuild" DependsOnTargets="OpenWrap-Initialize">
</Target>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,8 +2,11 @@
depends: openfilesystem
depends: openwrap content
anchored: true
-build: msbuild; profile=net35; project=src\OpenWrap\OpenWrap.csproj; project=src\OpenWrap.Build.Tasks\OpenWrap.Build.Tasks.csproj; project=src\OpenWrap.Commands\OpenWrap.Commands.csproj; project=src\OpenWrap.Testing\OpenWrap.Testing.csproj; project=src\OpenWrap.Tests\OpenWrap.Tests.csproj;
+build: msbuild; profile=net35; project=src\OpenWrap\OpenWrap.csproj; project=src\OpenWrap.VisualStudio.Shared\OpenWrap.VisualStudio.Shared.csproj; project=src\OpenWrap.Build.Tasks\OpenWrap.Build.Tasks.csproj; project=src\OpenWrap.Commands\OpenWrap.Commands.csproj; project=src\OpenWrap.VisualStudio.SolutionPlugins\OpenWrap.SolutionPlugins.VisualStudio.csproj
name: openwrap
depends: tdnet-framework
use-symlinks: true
-version: 1.0.0.57548025
+depends: Mono.Cecil
+directory-structure: src\*{scope: Tests=tests}*\**
+directory-structure: src\{scope: Tests.VisualStudio=tests}\**
+version: 2.0.0.80247996
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<feed xml:base="http://173.203.67.148/current/odata/v1/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
- <title type="text">Packages</title>
- <id>http://173.203.67.148/current/odata/v1/Packages</id>
- <updated>2010-10-11T08:13:37Z</updated>
- <link rel="self" title="Packages" href="Packages" />
- <entry>
- <id>http://173.203.67.148/current/odata/v1/Packages(Id='Autofac',Version='2.2.4.900')</id>
- <title type="text">Autofac</title>
- <summary type="text">An IoC container for Microsoft .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity.</summary>
- <updated>2010-10-11T07:08:57Z</updated>
- <author>
- <name>Nicholas Blumhardt</name>
- </author>
- <link rel="edit-media" title="Package" href="Packages(Id='Autofac',Version='2.2.4.900')/$value" />
- <link rel="edit" title="Package" href="Packages(Id='Autofac',Version='2.2.4.900')" />
- <category term="NuPack.Server.DataServices.Package" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
- <content type="application/zip" src="http://173.203.67.148/file.nupkg" />
- <m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
- <d:Version>2.2.4.900</d:Version>
- <d:Category m:null="true"></d:Category>
- <d:Language>en-US</d:Language>
- <d:LastModifiedBy m:null="true"></d:LastModifiedBy>
- <d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance>
- <d:LicenseUrl>http://www.opensource.org/licenses/mit-license.php</d:LicenseUrl>
- <d:Keywords></d:Keywords>
- <d:Published m:type="Edm.DateTime">2010-10-11T07:08:57+00:00</d:Published>
- <d:Dependencies></d:Dependencies>
- </m:properties>
- </entry>
- <entry>
- <id>http://173.203.67.148/current/odata/v1/Packages(Id='Autofac.MVC2',Version='2.2.4.900')</id>
- <title type="text">Autofac.MVC2</title>
- <summary type="text">Provides an IControllerFactory implementation for System.Web.Mvc</summary>
- <updated>2010-10-11T07:08:57Z</updated>
- <author>
- <name>Nicholas Blumhardt</name>
- </author>
- <link rel="edit-media" title="Package" href="Packages(Id='Autofac.MVC2',Version='2.2.4.900')/$value" />
- <link rel="edit" title="Package" href="Packages(Id='Autofac.MVC2',Version='2.2.4.900')" />
- <category term="NuPack.Server.DataServices.Package" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
- <content type="application/zip" src="http://173.203.67.148/file.nupkg" />
- <m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
- <d:Version>2.2.4.900</d:Version>
- <d:Category m:null="true"></d:Category>
- <d:Language>en-US</d:Language>
- <d:LastModifiedBy m:null="true"></d:LastModifiedBy>
- <d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance>
- <d:LicenseUrl>http://www.opensource.org/licenses/mit-license.php</d:LicenseUrl>
- <d:Keywords></d:Keywords>
- <d:Published m:type="Edm.DateTime">2010-10-11T07:08:57+00:00</d:Published>
- <d:Dependencies>Autofac:::2.2.4.900</d:Dependencies>
- </m:properties>
- </entry>
-</feed>
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<feed xml:base="http://173.203.67.148/current/odata/v1/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
- <title type="text">Packages</title>
- <id>http://173.203.67.148/current/odata/v1/Packages</id>
- <updated>2010-10-11T08:13:37Z</updated>
- <link rel="self" title="Packages" href="Packages" />
- <entry>
- <id>http://173.203.67.148/current/odata/v1/Packages(Id='Autofac',Version='2.2.4.900')</id>
- <title type="text">Autofac</title>
- <summary type="text">An IoC container for Microsoft .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity.</summary>
- <updated>2010-10-11T07:08:57Z</updated>
- <author>
- <name>Nicholas Blumhardt</name>
- </author>
- <link rel="edit-media" title="Package" href="Packages(Id='Autofac',Version='2.2.4.900')/$value" />
- <link rel="edit" title="Package" href="Packages(Id='Autofac',Version='2.2.4.900')" />
- <category term="NuPack.Server.DataServices.Package" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
- <content type="application/zip" src="http://173.203.67.148/file.nupkg" />
- <m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
- <d:Version>2.2.4.900</d:Version>
- <d:Category m:null="true"></d:Category>
- <d:Language>en-US</d:Language>
- <d:LastModifiedBy m:null="true"></d:LastModifiedBy>
- <d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance>
- <d:LicenseUrl>http://www.opensource.org/licenses/mit-license.php</d:LicenseUrl>
- <d:Keywords></d:Keywords>
- <d:Published m:type="Edm.DateTime">2010-10-11T07:08:57+00:00</d:Published>
- <d:Dependencies></d:Dependencies>
- </m:properties>
- </entry>
- <entry>
- <id>http://173.203.67.148/current/odata/v1/Packages(Id='Autofac.MVC2',Version='2.2.4.900')</id>
- <title type="text">Autofac.MVC2</title>
- <summary type="text">Provides an IControllerFactory implementation for System.Web.Mvc</summary>
- <updated>2010-10-11T07:08:57Z</updated>
- <author>
- <name>Nicholas Blumhardt</name>
- </author>
- <link rel="edit-media" title="Package" href="Packages(Id='Autofac.MVC2',Version='2.2.4.900')/$value" />
- <link rel="edit" title="Package" href="Packages(Id='Autofac.MVC2',Version='2.2.4.900')" />
- <category term="NuPack.Server.DataServices.Package" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
- <content type="application/zip" src="http://173.203.67.148/file.nupkg" />
- <m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
- <d:Version>2.2.4.900</d:Version>
- <d:Category m:null="true"></d:Category>
- <d:Language>en-US</d:Language>
- <d:LastModifiedBy m:null="true"></d:LastModifiedBy>
- <d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance>
- <d:LicenseUrl>http://www.opensource.org/licenses/mit-license.php</d:LicenseUrl>
- <d:Keywords></d:Keywords>
- <d:Published m:type="Edm.DateTime">2010-10-11T07:08:57+00:00</d:Published>
- <d:Dependencies>Autofac:::2.2.4.900</d:Dependencies>
- </m:properties>
- </entry>
-</feed>
View
@@ -1 +1 @@
-1.0.0.57548025
+2.0.0.80247996

0 comments on commit 7ce99b5

Please sign in to comment.