Commit Graph

44788 Commits

Author SHA1 Message Date
David Fowler 9eb42cce2d Clean up disposal of connection state (#148)
* Clean up disposal of connection state
- Removed IDisposable and added a DisposeAsync method to ConnectionState
- Added ApplicationTask and TransportTask to ConnectionState as first class
properties so that it is easy to see (in a process dump or debugger) the
outstanding tasks that Sockets is keeping track of on a per connection basis.
2017-01-25 00:08:08 +00:00
Pawel Kadluczka fb4a99ffff Fixing test hangs, adding timeouts. (#149) 2017-01-24 15:51:58 -08:00
Chris R 779115b1ad #407 Add ContentLength to IHeaderDictionary 2017-01-24 15:14:46 -08:00
Cesar Blum Silveira 4ac842b050 Update to version 1.0.3. 2017-01-24 14:57:51 -08:00
Chris R 119945ca02 Cache the ContentLength header value 2017-01-24 14:57:00 -08:00
Ben Adams ecca980c91 Implement IHeaderDictionary.ContentLength 2017-01-24 14:55:48 -08:00
Pranav K 32cd737b62 Update to VS RC3 2017-01-24 14:17:53 -08:00
Ryan Nowak ec45d8ea8c Remove typeof from codegen
The C# codegen was using some of the new names for various TagHelper
constructs instead of the old namespace.

This change reverts to the old names.
2017-01-24 13:45:50 -08:00
Chris R 56bd85aaf2 #298 Add a timeout for draining requests on shutdown 2017-01-24 13:43:17 -08:00
David Fowler a1c8d3d841 Fix the TS client to respect the new endpoint
- Seems like the ts client wasn't updated to use /negotiate instead
of /getid
2017-01-24 21:12:53 +00:00
David Fowler 1e957a9e5a Allow processing of incoming invocations in parallel (#143)
* Allow processing of other incoming invocations in parallel
- Don't wait on the response of an invocation to pick up
the next message from the channel.
- Unhandled exceptions should continue bubbling up correctly
2017-01-24 20:46:17 +00:00
Nate McMaster 822cb35624 Prepare 1.1.0 release and pin floating versions 2017-01-24 10:53:05 -08:00
Ryan Nowak 32efe43f85 Delete some dead code 2017-01-24 10:29:30 -08:00
Ryan Nowak 03b63d97a2 Quick fixes from MVC
We're close to hooking up new Razor to MVC. This is a set of enabling
'quick fix' changes to resolve some blockers to using Razor.Evolution in
the product.

Main issues:
 - Types not public enough - anything in the .Legacy namespace is still
   slated from 'improvement'
 - Wrong references. We don't want .Workspaces in MVC, so moving the heavy
   lifting of TagHelper discovery to CodeAnalysis.Razor.
2017-01-24 09:22:28 -08:00
Pranav K 6fd04366b1 Make dotnet-install runnable 2017-01-23 16:11:57 -08:00
Pranav K 0ce64a5b83 Update the path to dotnet-install.sh 2017-01-23 16:05:25 -08:00
pan-wang 044648a213 fixing graceful shutdown on Win7 and IISExpress 2017-01-23 15:33:17 -08:00
Pranav K e4eb08dd68 Use the dev builds of IntegrationTesting since we require a csproj fix. 2017-01-23 15:32:55 -08:00
Pranav K aa31e20ea9 Use rel/1.0.0-msbuild3 of KoreBuild and downgrade test references to 1.1.0 2017-01-23 15:18:59 -08:00
Hao Kung 2d15778346 UserStore: Add protected virtuals for queries 2017-01-23 14:44:05 -08:00
Pranav K 864dd694e0 Use a branch that lets us produce packages with a specific build number 2017-01-23 13:54:41 -08:00
Ryan Nowak 5885feb7c0 Fixes a parsing bug with the AcceptHeaderParser
When we find an invalid character at the end of a media type value we
should advance and skip over it.
2017-01-23 13:12:40 -08:00
Pranav K 7fcf5f2529 Pin the SDK to preview4 2017-01-23 11:39:47 -08:00
Pranav K 4420390f73 Precompilation does not work for applications using relative path
Adds tests for #27, #33
2017-01-23 11:38:48 -08:00
Pranav K 501540c76e Use the list of Content files specified in the project as a source
Fixes #59
2017-01-23 11:38:48 -08:00
Pranav K c1ef1e533f Consolidate options to a single file 2017-01-23 11:38:33 -08:00
Eilon Lipton 8a74148fe1 Add link to XmlResult repo 2017-01-23 10:21:26 -08:00
Cesar Blum Silveira 815db3d210 Merge branch 'benaadams/flush' into dev 2017-01-23 09:45:23 -08:00
Ryan Nowak 1c4a78597a Pin SDK version 2017-01-23 09:37:01 -08:00
Cesar Blum Silveira 2895447cbe Merge branch 'benaadams/flush' into dev 2017-01-23 09:36:29 -08:00
Ben Adams cac6ade7c9 Implement Stream Flush+FlushAsync fully
Streams should pass through the flush and not assume the underlying
Stream's Flush behaviour
2017-01-23 13:51:57 +00:00
Ryan Nowak 3d5cfc8b8b Bump up binding redircts
The LanguageServices assembly should now be a 1.2.0 assembly since it
builds a package.
2017-01-20 17:53:52 -08:00
Ryan Nowak 851dd7ba3b Add support for TagHelper directives
This commit adds support to the TagHelperBinderSyntaxTreePass to interpret
@addTagHelper, @removeTagHelper, and @tagHelperPrefix.

I also ported all the original tests for this feature and updated them to
call new APIs.

The bulk of the changes here were updates to baseline tests that weren't
correctly using @addTagHelper
2017-01-20 17:44:35 -08:00
Ryan Nowak c31475af4e Move the LanguageServices package to src
Moves the LanguageServices package to src so it will build on the CI.
2017-01-20 16:43:21 -08:00
Ryan Nowak 9ecd30cb2f Add Microsoft.CodeAnalysis.Razor
This project will have all of our roslyn-dependent infrastructure that we
need for designtime and runtime.
2017-01-20 15:26:39 -08:00
Doug Bunting fec3cab2bb Fix line endings 2017-01-20 15:24:53 -08:00
John Luo 6855f9bca1 Add Vary: Accept-Encoding if response MIME type is compressible 2017-01-20 15:05:46 -08:00
Pavel Krymets 10fe5e6fa2 Fix performance tests 2017-01-20 14:55:21 -08:00
Nate McMaster 88abfa4599 Upgrade to RC.3 2017-01-20 14:13:48 -08:00
Pranav K 354daa2ded Remove references to RazorTooling from ChatSample 2017-01-20 12:28:38 -08:00
Nate McMaster fac6b44bbd Upgrade to RC.3 2017-01-20 11:08:47 -08:00
Pranav K 76cdffc30c Remove RazorTooling from UniverseCoherence. 2017-01-20 11:03:33 -08:00
Ryan Nowak 4a49ee2164 Adds support for imports to IR lowering
This change adds support for 'imports' - extra source files which contain
directives that can merged with 'main' source files. The purpose of course
is to support things like global usings or addTagHelpers, like
_ViewImports in MVC does today.

Instead of a one-off this is now a feature of the Razor langugage since
things like addTagHelper have an impact on the parsing behavior. Also,
having a standard imports concept keeps out feature creep, for instance
the 'global' usings we have today could really just be an import.

Imports allow single-line directives including the fundamental directives
like addTagHelper, using, and other friends. Code, content, and block
directives are not merged and will be ignored. We can consider making
these kinds of things warnings in the future.
2017-01-20 10:43:53 -08:00
SteveSandersonMS a9bc1201d1 Fix the build by passing allowConnectionDraining from SocketNodeInstance 2017-01-20 18:09:57 +00:00
SteveSandersonMS 6a1f35da8f Bumping NodeServices/SpaServices versions to 1.1.0-rc2-* for RC2 release 2017-01-20 17:33:34 +00:00
SteveSandersonMS d7d1a04751 When Node is launched with a debug listener, disable connection draining on restart. Fixes #506. 2017-01-20 17:32:26 +00:00
Nate McMaster 79663ef90e Upgrade to RC.3 2017-01-20 09:01:49 -08:00
SteveSandersonMS 351fe3d15c In SpaServices, add new HotModuleReplacementEndpoint option on HMR config. Fixes #579. 2017-01-20 15:03:52 +00:00
SteveSandersonMS 3313a7f0a6 Update Node version to 6.x (current LTS) in Dockerfiles. Fixes #591. 2017-01-20 12:38:57 +00:00
Nate McMaster 7634c5420a Upgrade to RC.3
Removes __TemporarySources__ to use contentFiles packages
Remove default globs
Update test platform
2017-01-19 22:31:43 -08:00