Harsh Gupta
58a5ad2279
Adding Outputformatter in resource filters.
2015-04-08 16:46:46 -07:00
Ajay Bhargav Baaskaran
f60896bd90
[ Fixes #2259 ] Use fast property setter in MutableObjectModelBinder
2015-04-08 16:44:30 -07:00
Victor Hurdugaci
5164d647c5
React to resource renames
2015-04-08 15:27:51 -07:00
sornaks
645b82d194
Fixing the build break.
2015-04-08 14:30:19 -07:00
sornaks
b08a2154c1
#2142 : Introducing enabled attribute for CacheTagHelper.
2015-04-08 13:27:03 -07:00
Pranav K
43e24b2aad
Removing IInputFormatterSelector
...
Follow up work item to #2269
2015-04-08 07:35:48 -07:00
Pranav K
f280353a56
Merge branch 'release' into dev
2015-04-08 07:18:56 -07:00
Pranav K
8c8992fa9c
Reacting to ICompilationMessage line indexes changing to be 1-based.
2015-04-07 21:38:46 -07:00
Doug Bunting
cef32d4098
React to aspnet/razor#320 fix
...
- Razor PR aspnet/Razor#350
2015-04-07 17:50:58 -07:00
Doug Bunting
73e8fc10e4
Automatically use `type="number"` for expressions of more types
...
- #2261
- include `short`, `ushort`, `float`, `double`
- correct typo in `<input/>` tag helper; ignored calculated format
- only one test for `<input/>`'s calculated format 😦
- fill some `Editor*()` and `<input/>` tag helper test gaps
nit: clean up some trailing whitespace
2015-04-07 17:19:08 -07:00
N. Taylor Mullen
03dabb5950
Update .travis.yml and appveyor.yml to build quietly.
2015-04-07 16:16:05 -07:00
N. Taylor Mullen
df13245be3
Merge branch 'release' into dev
2015-04-07 14:47:21 -07:00
N. Taylor Mullen
a8d5bb934d
Add serviceable attribute to projects.
...
aspnet/DNX#1600
2015-04-07 14:47:02 -07:00
Pranav K
f9d53e341c
* Simplify MvcOptions
...
* Remove facades for accessing Options<T> and pass options to the invoker
Fixes #2266
Fixes #2269
2015-04-07 14:45:53 -07:00
Doug Bunting
689f5bfa79
Use `XmlAssert` to avoid functional test failures
...
- #2311
nit: rewrap lines for consistency and to remove orphans
2015-04-07 11:46:38 -07:00
Doug Bunting
94721f09a9
Remove duplicate tests
...
- duplication in data sets confuses xUnit
2015-04-07 11:00:45 -07:00
sornaks
7e2420b93c
Reacting to AppendFormat changes in Razor.
2015-04-07 08:40:05 -07:00
Harsh Gupta
0c0fa10ed0
Fixes 2307. MutableObjectBinder now relies on ModelMetadata to decide if a type is a complex type.
...
This avoids reflection at multiple places and allows caching.
2015-04-06 13:17:39 -07:00
Kiran Challa
9330789fe3
Reacting to ILogger api changes
2015-04-04 02:52:43 -07:00
Wei Wang
5c29efc49c
Fix AppVeyor git line ending config
2015-04-03 17:18:08 -07:00
Doug Bunting
f3ec6f33ae
Merge remote-tracking branch 'origin/release' into dev
2015-04-03 12:08:11 -07:00
Doug Bunting
7916cb9c68
Add a few more `<Service/>` items
2015-04-02 22:55:21 -07:00
N. Taylor Mullen
88dc5f73ac
Update project.json, code=>compile. Also remove **/*.cs and **/*.vs from compile section. These are now defaulted to on.
2015-04-02 16:17:54 -07:00
Doug Bunting
393aa54545
Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename
2015-04-02 13:49:27 -07:00
Pranav K
6058ad084e
Reacting to diagnostics error page changes
2015-04-02 12:42:17 -07:00
Troy Dai
833cb1e820
Update global.json, sources=>projects
2015-04-02 09:20:21 -07:00
N. Taylor Mullen
7aa73bb294
Turn off sudo for .travis.yml.
2015-04-01 17:06:59 -07:00
Pranav K
f6ad0a32f0
Tables aren't cool anymore
2015-04-01 16:18:33 -07:00
Pranav K
72f34c5a55
Adding AppVeyor and Travis build status to README
2015-04-01 16:10:46 -07:00
N. Taylor Mullen
2de7c173ab
Add travis and appveyor CI support.
2015-04-01 15:53:39 -07:00
Pranav K
a4f3b86865
Prevent RazorErrorExtensions.ToDiagnostics from throwing when it
...
encounters SourceLocation.Undefined \ negative error lengths
2015-04-01 13:51:29 -07:00
Ryan Nowak
c6a1af97b0
Use Hosting.Interfaces
2015-04-01 12:16:09 -07:00
Ryan Nowak
6caa2871aa
Use DataProtection.Interfaces
2015-04-01 11:47:24 -07:00
Ryan Nowak
acb657d951
[Perf] Fully cache model metadata
...
This change caches the actual model metadata instances. Some profiling
showed we didn't go far enough, we were allocating a lot of ModelMetadata
+ ModelPropertyCollection instances.
2015-04-01 11:44:17 -07:00
Hao Kung
08f0e1055b
React to hosting changes
2015-03-30 18:20:33 -07:00
sornaks
f640744f85
Merge branch 'release' into dev
2015-03-30 16:39:41 -07:00
sornaks
6e9533ce9c
#2295 - Disposing the read stream after computing file hash.
2015-03-30 16:23:55 -07:00
Wei Wang
1fe0983845
Merge remote-tracking branch 'origin/release' into dev
2015-03-30 15:31:12 -07:00
Wei Wang
50ea1fb3d2
Rename "dnu bundle" to "dnu publish"
2015-03-30 15:29:48 -07:00
Pranav K
9dc8ecac8a
Cleanup: Moving files from src/Microsoft.AspNet.Mvc.Razor/Razor/PreCompileViews ->
...
src/Microsoft.AspNet.Mvc.Razor/Precompilation
2015-03-30 14:51:11 -07:00
Pranav K
d388aa58c8
Remove caching from QueryStringValueProviderFactory
...
Fixes #2258
2015-03-30 12:53:03 -07:00
Pranav K
e3ea602775
Renaming incorrectly named file name.
...
Fixes #2274
2015-03-30 12:45:39 -07:00
Doug Bunting
36bd387686
Merge remote-tracking branch 'origin/release' into dev
2015-03-30 11:44:35 -07:00
Doug Bunting
5882cdb03f
MVC portion of aspnet/Razor#335
...
- set correct `MarkAsHtmlEncodedMethodName` value in `MvcRazorHost`
- handle `HtmlString` values in `TagHelperOutput.Attributes` in `RazorPage`
- special-case double-quotes in `HtmlString` values
- add `static WriteTo()` method for use in tag helpers
- handle non-`string` `output.Attributes` values in tag helpers
- make `TagHelperContentWrapperTextWriter` a `public` class
- provide a `TagHelperContent.Append(object, ...)` extension method
- add `LinkTagHelper.Href` and `ScriptTagHelper.Src` properties
- avoid Razor HTML-encoding these attribute values before their use
- add `JavaScriptEncoder` properties in `LinkTagHelper` and `ScriptTagHelper`
- allow encoding testing without unit testing the default encoder
- handle MVC and Razor changes for this bug in existing tests
- add functional tests of encodings
- add test encoders to TestCommon project
nits:
- correct `InputTagHelper` to pass `type=""` through unchanged
- set correct `TagHelperContentTypeName` value in `MvcRazorHost`
- remove unnecessary `FormTagHelper.Method` and `OptionTagHelper.Selected` properties
- remove complex ternaries and `ShouldAddFileVersion()` methods
- add a few debug assertions
- fix some odd wrapping
- remove or `#if`-out unused `using`s
- remove trailing whitespace
2015-03-30 10:54:00 -07:00
Pranav K
60381c415e
Unrendered sections does not throw when redefined and rendered in nested
...
layout.
Fixes #2252
2015-03-30 09:33:09 -07:00
Edward Kim
fefad346ba
fix newline
2015-03-29 13:02:51 -07:00
Doug Bunting
4d4686147f
Let VS do its thing
...
- newline after BOM and slight reordering of Mvc.sln
- add `Service/Include` properties to some test .xproj files
- also add BOM in a few cases
2015-03-28 14:41:40 -07:00
Kiran Challa
e571f401c3
Enable a skipped test to run on coreclr
2015-03-26 23:57:35 -07:00
Kiran Challa
e9d7bb2230
React to ElmLogger extension changes
2015-03-26 23:46:15 -07:00
anurse
5477458781
fix tests
2015-03-26 22:30:46 -07:00