Pranav K
eb2b58188a
Updating to dev versions
...
# Conflicts:
# test/Microsoft.AspNetCore.Razor.Test/project.json
2016-06-16 10:41:31 -07:00
jacalvar
1d55ed6b50
Merge branch 'release' into dev
2016-06-15 15:13:56 -07:00
jacalvar
76757ee82f
Update Json.NET to 9.0.1
2016-06-15 15:13:08 -07:00
Pranav K
29de34f721
Merge branch 'release' into dev
2016-06-14 16:28:59 -07:00
Pranav K
c3b7ba4c9e
Updating to release.
2016-06-14 16:22:33 -07:00
N. Taylor Mullen
4b43597d28
Remove direct Microsoft.NETCore.Platforms dependency.
...
- Microsoft.NETCore.App now pulls this package in.
aspnet/Coherence-Signed#344
2016-06-13 15:28:51 -07:00
N. Taylor Mullen
e20d18636e
Move more classes into Internal namespaces.
...
- These classes aren't needed as top level public classes.
#779
2016-06-13 13:53:14 -07:00
N. Taylor Mullen
ccba161447
Move `FileSystem` dependency from Razor to Razor.Runtime.
2016-06-09 15:58:55 -07:00
N. Taylor Mullen
6e4f15bad4
Remove unused/unpurposeful classes.
...
- Several classes are legacy and left over from many changes in the Razor code base. This changeset removes those classes.
- Also moved several corresponding test cases
#778
2016-06-09 15:51:43 -07:00
jacalvar
2256138650
Update Json.NET to 9.0.1-beta1
2016-06-03 13:08:26 -07:00
mnltejaswini
3b9539960b
[Perf] Preallocate TagHelperAttributes for simple bound string valued attributes Fixes #704
2016-06-01 11:24:32 -07:00
Doug Bunting
44f0aa63c6
Do not HTML encode while checking for whitespace
...
- #760
- using a `NullHtmlEncoder` improves `TagHelperContent.IsEmptyOrWhiteSpace` semantics
- e.g. a tab is still a tab after encoding
- also avoids `NotImplementedException`
- implement `Write(char)` for char-by-char `IHtmlContent` corner case
2016-05-31 22:09:19 -07:00
N. Taylor Mullen
e14f4b095d
Track `TagHelperAttribute` quotes.
...
- Removed `Minimized` from `TagHelperAttribute` and replaced it with `HtmlAttributeValueStyle`.
- Removed `AddMinimizedTagHelperAttribute` method from `TagHelperExecutionContext` since we always provide a `HtmlAttributeValueStyle` now.
- Stopped manually escaping double quotes because we now know how an attribute was originally written.
- Updated tests to account for new attribute format (from kvp).
#705
2016-05-27 12:28:33 -07:00
Cesar Blum Silveira
9decaef0e3
Fix OSX build on Travis.
2016-05-27 11:31:13 -07:00
John Luo
ccd0d52d8e
React to updated CoreCLR packages
...
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:32:23 -07:00
mnltejaswini
bde78dc3d4
[Perf]: Avoid ViewBuffers for writing bound TagHelper attribute values
...
Fixes #717
2016-05-25 12:06:03 -07:00
N. Taylor Mullen
d0bf6bf841
Make HTML comments more resilient to extra end dashes.
...
aspnet/Mvc#4465
2016-05-24 15:34:35 -07:00
N. Taylor Mullen
80ebb4a068
Update `TagHelperDirectiveSpanVisitor` to properly capture TagHelper directive text.
...
- Added a test with optional quotes for each of the `TagHelperDirectiveDescriptor`s, add, remove and prefix.
#744
2016-05-23 17:07:36 -07:00
Ben Adams
cacd16fa85
Remove pragma warning disable 1998
...
Function doesn't need async
2016-05-20 15:03:38 -07:00
N. Taylor Mullen
cdea6fd3fb
Fix TagHelper directive tests to fail when expected.
...
- Prior to this change the equals bits were falling back to the type comparison that `ChunkGenerator` exposes.
2016-05-18 11:05:55 -07:00
Pranav K
852642de84
Revert "React to updated CoreCLR packages."
...
This reverts commit 46f7a8575e .
2016-05-18 09:37:25 -07:00
N. Taylor Mullen
d27ab1ce3d
React to `HtmlEncodedString` rename to `HtmlString`.
...
- Updated test output to reflect new `HtmlString` naming.
aspnet/HtmlAbstractions.25
2016-05-17 12:13:26 -07:00
N. Taylor Mullen
46f7a8575e
React to updated CoreCLR packages.
...
https://github.com/aspnet/Coherence/issues/97
2016-05-17 12:11:54 -07:00
N. Taylor Mullen
53e59b39c3
Revert "Add Visual Studio specific RC1 binaries."
...
This reverts commit 197d6a579f , 2c0fb950bc , 62fe5d6c4e and fad09801f8
2016-05-16 10:30:59 -07:00
Ajay Bhargav Baaskaran
9bfa74d829
[ Fixes #739 ] Newline after text tag rendered only if followed by html
2016-05-02 16:29:29 -07:00
Pranav K
2950c87651
Merge branch 'release' into dev
2016-05-02 14:57:07 -07:00
Pranav K
2c4b0e8a7f
Fix build warnings
2016-05-02 14:39:19 -07:00
Ajay Bhargav Baaskaran
b520c9c15e
Fix: Newline at the end of text tag in code block is rendered as markup
2016-04-26 15:43:18 -07:00
Pranav K
1101ff55ae
Use latest build of dotnet-test-xunit
2016-04-19 14:54:09 -07:00
Pranav K
68e2727859
Merge branch 'release' into dev
2016-04-19 14:54:09 -07:00
Pavel Krymets
80f794657d
Merge branch 'release' into dev
2016-04-18 16:57:01 -07:00
Pavel Krymets
603d181241
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 16:56:44 -07:00
Pranav K
68a6611984
Merge branch 'release' into dev
2016-04-15 15:41:32 -07:00
Pranav K
eeed1036e3
Stop compiling for dnx451
...
Fixes #734
2016-04-15 13:12:14 -07:00
Pavel Krymets
5b1ea19e1d
Merge branch 'release' into dev
2016-04-14 15:14:21 -07:00
Pavel Krymets
dfe83b6bac
Migrate tests, tools and samples to portable
2016-04-14 15:07:34 -07:00
Pranav K
48f8c9057f
Merge branch 'release' into dev
2016-04-08 06:48:49 -07:00
Pranav K
78c742c6ee
Removing imports from src projects
2016-04-08 06:48:49 -07:00
N. Taylor Mullen
7258db9a07
Merge branch 'release' into dev
2016-04-06 11:41:37 -07:00
N. Taylor Mullen
fad09801f8
Update Resource lookup keys for VSRC1 packages.
2016-04-06 11:41:19 -07:00
Pranav K
206e5c5ecc
Merge branch 'release' into dev
2016-04-06 09:46:40 -07:00
Pranav K
ce1984364b
Updating to release.
2016-04-06 09:46:38 -07:00
N. Taylor Mullen
c400289de5
Change `DefaultTagHelperContent` to be smart about single content entries.
...
- Today `TagHelperContent`s always allocate their underlying buffer even though they typically only ever have a single entry. Added a field to enable us to only allocate the backing buffer when we absolutely need to.
- Removed `IsEmpty` from `TagHelperContent` since it was not used in any of our `TagHelper`s for simplification. Changed `IsWhiteSpace` naming to be `IsEmptyOrWhiteSpace` since it can be used to indicate either state.
- Updated tests.
#621
2016-04-05 16:09:06 -07:00
N. Taylor Mullen
62fe5d6c4e
Ignore doc comments for VSRC1 projects
2016-04-04 16:57:19 -07:00
N. Taylor Mullen
2c0fb950bc
Add `AssemblyCompany`, `AssemblyCopyright` and `AssemblyProduct` attributes to the assembly.
2016-04-04 16:18:59 -07:00
N. Taylor Mullen
197d6a579f
Add Visual Studio specific RC1 binaries.
...
- This is needed for Visual Studio RC1 backwards compatibility.
2016-04-04 15:20:38 -07:00
N. Taylor Mullen
4212b7e713
Add `SetOutputContentAsync` to `TagHelperExecutionContext` to prevent allocation of `Task<T>`.
...
- Previously we'd do `executionContext.Output.Content = await executionContext.Output.GetChildContentAsync()`. The problem with this approach is that it returned a `Task<TagHelperContent>` which could not be optimized when building in release.
- Added test to validate `SetOutputContentAsync` does the appropriate thing.
#721
2016-04-02 22:58:37 -07:00
jacalvar
abaf3bba50
Make dependencies injectable in TagHelperDescriptorResolver.
...
* Added an interface for ITagHelperTypeResolver and made TagHelperTypeResolver implement it.
* Added an interface for ITagHelperTypeDescriptorFactory and made TagHelperDescriptorFactory implement it.
* Added a constructor on TagHelperDescriptorResolver that takes in an ITagHelperTypeResolver and ITagHelperDescriptorFactory.
2016-04-01 11:25:47 -07:00
N. Taylor Mullen
714dd5fa9e
Update test files to react to new `TagHelperScopeManager` contract.
...
#720
2016-03-29 22:05:37 -07:00
N. Taylor Mullen
f5c79b62de
Prevent method => delegate conversion happening multiple times.
...
- The conversion now only occurs on the construction of the `TagHelperScopeManager` which only occurs once.
- Updated tests.
#720
2016-03-29 10:18:10 -07:00