Doug Bunting
aa3bcc32df
Increase .travis.yml consistency between repos
...
- aspnet/Universe#349
- minimize `dotnet` setup time; no need for caching
- `MONO_THREADS_PER_CPU` env variable isn't relevant since we aren't running Mono tests
- no need for icu4c w/ current `dotnet` builds
2016-09-04 20:07:36 -07:00
Pranav K
5944dd6f87
Small perf fixes to improve precompilation times
2016-09-01 09:44:30 -07:00
Crystal Qian
d19845730f
Added a copy constructor for tag helper descriptors. ( #827 )
2016-08-31 15:38:35 -07:00
Crystal Qian
0e1a54ef4f
Removed unnecessary dependency.
2016-08-30 17:14:28 -07:00
Crystal Qian
bb5a70f9a8
Added a check for property bag in tag helper descriptor comparer.
...
Modified TagHelperDescriptorComparer to reflect changes made in #822 .
2016-08-30 09:53:45 -07:00
Kiran Challa
cdb1a1a343
Moving RazorPageGenerator from 'tools' to 'src' as we want this package to be published by CI
...
(This tool is referenced in Hosting and Diagnostics)
2016-08-29 11:29:28 -07:00
Kiran Challa
ee36dfbcee
updated
2016-08-29 10:15:06 -07:00
Kiran Challa
aff6792af1
Added razor page generator tool
2016-08-26 17:08:13 -07:00
Crystal Qian
127e095370
Added property bag to tag helper descriptor. ( #822 )
...
aspnet/Mvc#1051
2016-08-25 18:04:17 -07:00
Crystal Qian
b34543621f
Added property bag to tag helper descriptor. ( #822 )
...
aspnet/Mvc#1051
2016-08-25 09:31:29 -07:00
Crystal Qian
489c0d9046
Added view component tag helper updates. ( #823 )
...
Added view component tag helper updates.
aspnet/mvc#1051
2016-08-24 16:01:59 -07:00
Vijay Ramakrishnan
be0b512929
Initial commit
2016-08-19 15:01:15 -07:00
N. Taylor Mullen
8d7c51bd60
Change TagHelpers to work in partial parsing.
...
- Prior to this change any query for ownership within a TagHelper would never succeed.
- TagHelpers structure can be influenced greatly by changes to the tags start/end body; therefore, only allowed modifications to TagHelper attribute values to avoid complexity and enable the more widespread scenario of a user typing C# code in an attribute value.
- Updated existing tests to reflect the new edit handlers that were added to TagHelper attributes.
- Added partial parsing tests to verify partial parses succeed/fail when expected.
#792
2016-08-15 16:15:41 -07:00
N. Taylor Mullen
82c9c40709
Capture exceptions when trying to parse files and return parse errors.
...
#808
2016-08-11 12:11:51 -07:00
Pranav K
23a6604b9a
Switching to dotnet.myget.org feed
2016-08-09 15:09:42 -07:00
Ajay Bhargav Baaskaran
f09e2bf571
[ Fixes #804 ] Fixed unsafe cast in CSharpCodeVisitor
2016-08-08 16:38:51 -07:00
Ajay Bhargav Baaskaran
687b3f6911
[ Fixes #815 ] Fix Debug.Assert failure for malformed tags in expression
2016-08-08 16:34:38 -07:00
Pranav K
f0f3832c14
Updating to Moq \ Castle.Core that does not require imports
2016-08-08 11:59:09 -07:00
BrennanConroy
904427b33d
Update .travis.yml
2016-08-02 13:04:27 -07:00
N. Taylor Mullen
fc4a61586e
Obsolete `EditorHints`.
...
- For tests added grouped pragma warning disables to not pollute the test files with too many duplicate warning disable/restores.
#780
2016-08-01 11:08:03 -07:00
N. Taylor Mullen
d337bacc69
Add additional ifdefs to partial parsing tracing logic.
...
- Prior to this change we would be ToStringing the TextChange which resulted in 87% of successful partial parsing execution time.
#800
2016-07-11 11:49:25 -07:00
Doug Bunting
05a52f445f
One build to rule them all
...
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:26:20 -07:00
Pranav K
acb5c40012
Updating xunit.assert version in src project
2016-07-05 21:09:18 -07:00
Ajay Bhargav Baaskaran
837b304c32
Updating to RTM builds of xunit and Moq
2016-06-30 16:34:57 -07:00
N. Taylor Mullen
9c4eee14b8
Update tests to follow developer guidelines.
...
- Moved tests to match their corresponding test src files.
- Updated test namespaces to match their corresponding test src files.
#782
2016-06-21 12:08:50 -07:00
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