moozzyk
454812e9bc
Expanding environment variables in paths
2015-09-28 12:14:09 -07:00
David Fowler
44890477a0
Merge pull request #91 from hishamco/internals
...
Fix project name in AssemblyInfo
2015-09-28 00:58:45 -07:00
Hisham Bin Ateya
61106d36a1
Fix issue #88
2015-09-28 00:11:45 -07:00
David Fowler
22d13c4b34
Fixed some small usage issues
...
- Simplify waiting for changes
- Fixed project dependencies
2015-09-27 23:04:10 -07:00
Ryan Nowak
9a41bafea7
Fix #526 - use extension methods for AppendFormat
...
These changes make TagHelperContent with the IHtmlBuilder pattern, but
retain the signatures returning TagHelperContent.
Removed a bunch of tests that are no redundant with tests for the
extension methods in HttpAbstractions. Kept a few explemars in place to
ensure that the basic plumbing functions as desired.
2015-09-27 22:47:23 -07:00
moozzyk
e47192b9e9
Using a path from `DNX_PACKAGES` if defined
2015-09-27 21:02:18 -07:00
Ben Adams
434bddeec5
Revert for grumpy test
2015-09-28 01:52:17 +01:00
Ben Adams
ed1fd4a2e8
Lazy eval requestIdentifier
...
Until is moved to httpContext?
2015-09-28 01:45:47 +01:00
Victor Hurdugaci
681e027f3f
Add dnx watch to the projects list
2015-09-27 14:16:52 -07:00
Victor Hurdugaci
3f40980d02
First version of dnx watch
2015-09-27 13:59:07 -07:00
Pranav K
18c80d156c
Replace NotNullAttribute with thrown exceptions
2015-09-26 23:48:43 -07:00
Chris R
03d6eb8367
Re-enable IISExpress tests using HttpPlatformHandler.
2015-09-26 22:30:33 -07:00
Doug Bunting
eff10cdd66
Move `ModelStateDictionaryExtensions` into `Microsoft.AspNet.Mvc.ModelBinding` namespace
...
- missed the inconsistency when reviewing
- kept class in ViewFeatures assembly because it depends on `ExpressionHelper`
nit: wrap some long lines
2015-09-26 18:15:04 -07:00
Muchiachio
b28debf442
Generic ModelStateDictionary add and remove extensions
...
- Added generic add model error and remove extensions for
ModelStateDictionary, to avoid using hard coded strings then specifying
model state dictionary keys.
- Added generic removal all extension for ModelStateDictionary, to
support removing all the model state keys for given expression.
aspnet/Mvc#3164
2015-09-26 18:14:58 -07:00
moozzyk
d2f282f54f
Consuming Libuv from NuGet package
...
Fixes #50
2015-09-26 18:00:50 -07:00
Ben Adams
07b3814f32
Correct test
...
Yuk...
2015-09-26 22:51:06 +01:00
Chris R
e3f141fcde
#227 Fix OverflowException in MemoryPool
2015-09-26 06:56:54 -07:00
Ben Adams
7e52a00499
Start log scope only if logging is enabled
2015-09-26 14:34:49 +01:00
Pranav K
e87f10e8f8
Change ITypeInfo.IsTagHelper to ITypeInfo.ImplementsInterface(ITypeInfo)
...
Fixes #511
2015-09-25 21:38:36 -07:00
Pranav K
6a0a24481a
Asynchronously flush the HttpResponseStreamWriter after a view has been rendered.
...
This solves a perf issue for views which produce content that is smaller
than the buffer size of HttpResponseStreamWriter. In this case, the writer
ends up synchronously writing to the Response as part of Dispose which
affects perf.
2015-09-25 21:07:15 -07:00
Chris R
822ee7caf8
React to configuration API changes.
2015-09-25 20:54:56 -07:00
ASP.NET Push Bot
d8c28a177d
⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
...
Source: aspnet/dnvm@6479d250bb
2015-09-25 17:41:05 -07:00
Ryan Nowak
c62aa147f4
Make .Clear() consistent with TagHelperOutput
2015-09-25 17:17:28 -07:00
Ryan Nowak
8a502dbe5d
Rewrite of validation
2015-09-25 16:56:42 -07:00
N. Taylor Mullen
d2a7a355cc
Change `[RestrictChildren]` to allow non-`TagHelper` tags.
...
- Updated the `TagHelperParseTreeRewriter` loosen child restrictions to non-`TagHelper` HTML elements.
- Updated tests to showcase that non-`TagHelper` elements are allowed to be restricted.
- Added an additional test case to showcase sub-sub nesting of non-`TagHelper` restricted children.
#543
2015-09-25 16:27:48 -07:00
Stephen Halter
f0137b7b9e
Bind to specific IP addresses if provided with any
...
This still only applies to IPv4.
#98
2015-09-25 16:26:01 -07:00
N. Taylor Mullen
816b1f4190
Update `Lookahead` method in `Tokenizer` to maintain its existing buffer.
...
- Added tests to verify correctness.
#527
2015-09-25 16:23:42 -07:00
Ben Adams
1718b69f22
Fast path header enumerator
...
Use strongly typed enumerable as interface's allocates.
2015-09-26 00:16:42 +01:00
Kirthi Krishnamraju
0889b18f95
Add localizers to validation attributes
2015-09-25 16:13:21 -07:00
Ryan Nowak
a602b47e26
Add AppendFormat extension methods on IHtmlContent
2015-09-25 15:49:27 -07:00
damianedwards
a7b65efa75
CR feedback
2015-09-25 14:59:47 -07:00
damianedwards
3c2408db68
Fix tests after rebase
2015-09-25 14:59:47 -07:00
damianedwards
7c46b2bd3b
Use a timer to generate the value for the Date header in responses:
...
- Doing it on each request is expensive
- The Timer is started when the first request comes in and fires every second
- Every request flips a bool so the Timer knows requests are coming in
- The Timer stops itself after a period of no requests coming in (10 seconds)
- #163
2015-09-25 14:59:47 -07:00
Hisham Bin Ateya
979d1d930b
Fix project name in AssemblyInfo
2015-09-26 00:23:29 +03:00
Louis DeJardin
5070b8073e
Temporarily commenting out the Debug.Assert of block freeing
...
Unit tests using ad-hoc contexts aren't guaranteed to dispose pools.
That's kinda making unit tests fail, more or less, because Debug...
2015-09-25 14:17:09 -07:00
Hao Kung
1c861c6f8a
React to Configuration
2015-09-25 13:03:42 -07:00
Louis DeJardin
318f3b7145
Changing Trace.Assert to Debug.Assert
...
* Also Debug.Assert for unreturned memory blocks
2015-09-25 13:01:54 -07:00
Louis DeJardin
f740616573
disposedValue changed to _disposedValue
...
Boilerplate code didn't have _
2015-09-25 12:49:30 -07:00
Louis DeJardin
c42dace9e6
consts looked like local vars
2015-09-25 12:49:30 -07:00
Louis DeJardin
0adbbd0217
Using the well-known-header field without checking set bit
2015-09-25 12:49:29 -07:00
Louis DeJardin
b6c272cd5b
Removing console output from unit tests
2015-09-25 12:49:29 -07:00
Stephen Halter
dc902f5fc4
Update SocketOutput to not call QueueUserWorkItem unnecessarily
2015-09-25 12:49:28 -07:00
Louis DeJardin
789d5b3595
Writes which are not immediate always return completed tasks
...
They must always be followed with Writes which are immediate, and
returning an incomplete task put them in a state where the callback
might not have been initiated.
2015-09-25 12:49:27 -07:00
Louis DeJardin
5e678fdbaa
Adding volatile keyword to stopping boolean
2015-09-25 12:49:27 -07:00
Louis DeJardin
99fc7e4e50
Moving the Start/Stop logic into Frame.
...
Also formalizes the relationship between the function's Task and
how it relates to graceful shutdown. Specifically how it relates
to finishing the requests currently in progress.
2015-09-25 12:49:26 -07:00
Louis DeJardin
325423de40
Sorting usings
2015-09-25 12:49:26 -07:00
Louis DeJardin
f89a586b75
Removing boilerplate-generated #region
2015-09-25 12:49:25 -07:00
Louis DeJardin
37f7dfd01f
Typo in comments
2015-09-25 12:49:25 -07:00
Louis DeJardin
c424b8437c
Renaming based on PR feedback
2015-09-25 12:49:24 -07:00
Louis DeJardin
844c791b16
Processing function should return Task
2015-09-25 12:49:23 -07:00