Commit Graph

43822 Commits

Author SHA1 Message Date
Andrew Stanton-Nurse 11f23f7ce2 disable npm optional dependencies (#447)
'microtime' doesn't build properly on our CI agents
2017-05-11 10:37:35 -07:00
Ryan Nowak 2afe2e1627 Rename RazorMethodDeclaration -> MethodDeclaration 2017-05-11 10:22:45 -07:00
Ryan Nowak 3969c23316 Adds a tracking system for Razor documents
This is a MEF service that can actively or passively track open ITextViews
and give us information about the Razor initialization state and eventing
when it changes.

The purpose of this is to act as a bridge between the VS mef world and the
roslyn world.

For now this doesn't do any passive tracking of Razor documents, it's only
on demand. That means it will only be initialized and used right now when
you are using the Razor developer tools. This is just to reduce our risk,
it's not ideal to ship code in VS that's doing something without anyone
looking at the result.
2017-05-11 08:24:37 -07:00
Ashley Grant d016950e50 Add Aurelia and Vue to framework list
Doing this due to a Stack Overflow question where a dev thought this project doesn't support Aurelia simply b/c this Readme file didn't include it.  Went ahead and added Vue as well for completeness.
2017-05-11 15:06:50 +01:00
Pranav K 42a4e9a143 Make uses of ObjectMethodExecutor internal 2017-05-10 21:17:51 -07:00
Ajay Bhargav Baaskaran 4bc1a76e22 Moved TagHelperBinder from pass to a phase 2017-05-10 17:16:27 -07:00
Cesar Blum Silveira 37f15bdd85 Create Frame in FrameConnection. 2017-05-10 16:48:37 -07:00
Ryan Nowak eb3c47b6ca Add annotations
Fixes #990. This should make a lot of IR manipulations very simple.
2017-05-10 16:38:11 -07:00
N. Taylor Mullen 51fb1b787a Add TagHelperFactsServiceTest to validate root with parent expecting descriptor.
#1253
2017-05-10 16:33:19 -07:00
David Fowler b9518e3684 Invert the dependency between connection adapters and Frame (#1822)
* Invert the dependency between connection adapters and Frame
- Removed PrepareRequest from IAdaptedConnection and instead added
a feature collection to the ConnectionAdapterContext. This allows features to be set
once by the adapter instead of per request. It's the Frame's job to copy features
from the connection level feature collection into the per request feature collection.
- Set the scheme to "https" based on the presence of ITlsConnectionFeature.
- Always set ITlsConnection feature if the HttpsAdaptedConnection doesn't throw during
the handshake
2017-05-10 15:29:43 -07:00
Hisham Bin Ateya cf23aedb55 Use EnvironmentName instead of magic string (#1065) 2017-05-10 15:20:40 -07:00
Pavel Krymets 67ecd4746e Remove unnecessary package references (#446) 2017-05-10 15:14:26 -07:00
cdavid 043f8fda61 Fix typo (delegate) in documentation (#830) 2017-05-10 15:02:53 -07:00
Kristian Hellang f5107596a5 Add Id to ConnectionInfo (#828) 2017-05-10 14:54:05 -07:00
N. Taylor Mullen 08965550ad Re-enable error page runtime test.
- This was previously broken due to the shared framework not being able to find the file responsible for an exception.

#6120
2017-05-10 14:33:10 -07:00
Pavel Krymets 412e4de2a5 Remove unnecessary package references (#835) 2017-05-10 12:10:19 -07:00
Pavel Krymets 0365f3a97f Remove unnecessary package references (#110) 2017-05-10 12:07:52 -07:00
Pavel Krymets c3f4015921 Remove unnecessary package references (#367) 2017-05-10 12:06:18 -07:00
Pavel Krymets cf64b335f6 Remove unnecessary package references (#6252) 2017-05-10 12:06:10 -07:00
Pavel Krymets 67322fe8ab Remove unnecessary package references (#177) 2017-05-10 11:48:33 -07:00
Pavel Krymets d6c2834f95 Remove unnecessary package references (#195) 2017-05-10 11:48:21 -07:00
Pavel Krymets 243ee6924c Remove unnecessary package references (#164) 2017-05-10 11:48:11 -07:00
Pavel Krymets cf9ab38796 Remove unnecessary package references (#84) 2017-05-10 11:48:06 -07:00
Pavel Krymets 36605636df Remove unnecessary package references (#1210) 2017-05-10 11:47:56 -07:00
Pavel Krymets 4855727186 Remove unnecessary package references (#405) 2017-05-10 11:47:28 -07:00
Pavel Krymets 7a7dc71164 Remove unnecessary package references (#79) 2017-05-10 11:45:31 -07:00
Pavel Krymets 9e01bb7bff Remove unnecessary package references (#126) 2017-05-10 11:43:53 -07:00
Pavel Krymets 16984a6fe0 Remove unnecessary package references (#122) 2017-05-10 11:43:43 -07:00
Pavel Krymets 90ee2252a0 Remove unnecessary package references (#1825) 2017-05-10 11:35:23 -07:00
Pavel Krymets 7e9397aa8a Remove unnecessary package references (#367) 2017-05-10 11:32:30 -07:00
Pavel Krymets ba64cd0fb0 Remove unnecessary package references (#1190) 2017-05-10 11:31:51 -07:00
Pavel Krymets 2eea53d82b Remove unnecessary package references (#359) 2017-05-10 11:31:47 -07:00
N. Taylor Mullen 3a4dcabb2c Remove DefaultTagHelperResolverFactory.
- Nothing consumes this.
2017-05-10 11:30:40 -07:00
Pavel Krymets f8779ee377 Remove unnecessary package references (#1068) 2017-05-10 11:30:40 -07:00
Pavel Krymets 08a8493ecc Remove unnecessary package references (#230) 2017-05-10 11:30:17 -07:00
Pavel Krymets eedcca1be9 Remove unnecessary package references (#378) 2017-05-10 11:29:57 -07:00
Pranav K 7d28714d9a Pin build of ObjectMethodExecutor to allow breaking change to go thru first 2017-05-10 10:15:14 -07:00
Pavel Krymets c396d3198f Remove unnecessary package references (#48) 2017-05-10 08:46:39 -07:00
Pavel Krymets d1df39b5e5 Remove unused dependencies (#139) 2017-05-10 08:46:23 -07:00
Steve Sanderson 014a786b45 Replace IModelBindingMessageProvider with new highly-virtual base class (#6241)
Replace IModelBindingMessageProvider with new highly-virtual base class. Fixes #6069
2017-05-10 16:02:18 +01:00
Daniel Roth 698fabfa3e Update README.md 2017-05-09 21:08:50 -07:00
David Fowler c8b6a2be56 More FrameConnection refactoring (#1820)
* More FrameConnection refactoring
- This change reverts the change to complete the writer with an
exception on abort because of the number of first chance exceptions
that get thrown.
- This change also moves connection logging into FrameConnection instead
of being split between the ConnectionHandler and FrameConnection.
- Fixed issues with LibuvOutputConsumerTests that leak WriteReq since
cancelled writes no longer end the connection.
2017-05-09 17:40:25 -07:00
N. Taylor Mullen 82323456ee Remove TagHelperDescriptor doc workaround.
- Roslyn now properly supports XML documentation retrieval OOP.

#1032
2017-05-09 15:34:03 -07:00
BrennanConroy a562480cd0 Update test project to netcoreapp2.0 (#1292) 2017-05-09 14:22:35 -07:00
BrennanConroy 9a931554d5 Replace RuntimeEnvironment (#1066) 2017-05-09 14:15:36 -07:00
Andrew Stanton-Nurse 991c1d8517 Implement new Hub Protocol (Part Deux) (#390)
* convert to new protocol
* removed InvocationDescriptorRegistry because we're not yet sure about custom protocols
* update SocialWeather sample
* Moving ts client to using new protocol
* make the functional tests a little easier to run on ctrl-f5
2017-05-09 12:24:58 -07:00
Chris Ross (ASP.NET) 2181158eb5 React to Content-Md5 fix 2017-05-09 09:07:09 -07:00
BrennanConroy b7a5a6044d Fix samples logging (#1205) 2017-05-09 08:57:39 -07:00
David Fowler c48113ad80 Refactoring and of FrameConnection and Frame (#1816)
* Refactoring and of FrameConnection and Frame
- Building on top of the last refactoring of FrameConnection, this change aims to clean up
the communication between the Frame and FrameConnection by removing some concepts and
being consistent about the communication between Frame and FrameConnection with or without
connection adapters. Changes include:
- Removing ConnectionLifetimeControl, ISocketOutput, StreamSocketOutput
- Moving more initialization of the frame to FrameConnection after the pipes
are setup
- OutputProducer communicates cancellation via the IPipeWriter instead of the output's IPipeReader.
- Frame always communicates via the pipes and that communications flows through the layers to the transport.
This means that each 1/2 of the adapted pipeline handles closing the right side of the transport at the
right time, propagating exceptions as necessary.
- This is how the flow looks now:
            ->                        ->
[transport]     [connection adapters]     [frame]
            <-                        <-
- Transports need to handle a ConnectionAbortedException on the output as a signal to stop
writing and end the connection. This will no longer try to drain the output but will just stop
writing and end the response immediately.
- Remove frame.Abort when cancellation on Write fails.
- Unify the connection shutdown logic
- Dispose 1/2 initialized connection adapters

#1815
2017-05-08 20:44:13 -07:00
N. Taylor Mullen 774aebaa01 Rename TagHelperDescriptorProvider => TagHelperBinder.
- Moved the type out of the Legacy namespace.
- Renamed the types method to `GetBinding` since `TagHelper` is now inferred.
- Updated test names to reflect new method/class name.
- Updated product code variables to reflect new naming (provider => binder).

#1289
2017-05-08 16:59:53 -07:00