Ajay Bhargav Baaskaran
b3c60976a4
Removed @helper directive
2015-03-17 13:54:37 -07:00
sornaks
7daec14e49
Issue #318 : Removing Generate*() methods.
2015-03-17 13:15:03 -07:00
N. Taylor Mullen
36f02690d2
Expose source start/end tags on TagHelperBlocks.
...
- This is to enable the DesignTime to understand TagHelperBlocks full source structure in order to auto format the document.
2015-03-16 21:22:29 -07:00
Levi B
44b530dd22
Change reference WebEncoders -> WebEncoders.Core
2015-03-12 22:51:38 -07:00
N. Taylor Mullen
c844314ee6
Updated xunit.runner.kre => xunit.runner.aspnet
2015-03-12 15:54:39 -07:00
Doug Bunting
b417f00ae7
Do not use deprecated `dnvm -x86` switch
2015-03-11 17:15:01 -07:00
N. Taylor Mullen
0196df4081
Update .kproj => .xproj.
2015-03-11 14:03:14 -07:00
Praburaj
e31709bfcd
Renaming Nuget.org feed key name to Nuget.
...
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:39:20 -07:00
N. Taylor Mullen
080ef6343c
Remove BOM from project.json, *.cmd, *.sh and *.shade files.
2015-03-09 12:58:07 -07:00
N. Taylor Mullen
0ef9179601
Update build.sh to use dnvm correctly.
2015-03-08 12:55:13 -07:00
N. Taylor Mullen
60bd7f22f4
Update kvm/KVM/Kvm => dnvm/DNVM/Dnvm.
2015-03-08 12:55:13 -07:00
N. Taylor Mullen
e2057cf7cb
Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx.
2015-03-08 12:55:05 -07:00
N. Taylor Mullen
04276b5ddf
Update aspnet50/aspnetcore50 => dnx451/dnxcore50.
2015-03-08 12:54:58 -07:00
N. Taylor Mullen
ecd468b166
Remove second public ctor from TagHelperDescriptor.
...
- TagHelperDescriptors are serialized/deserialized regularly, they can't have more than 1 ctor.
2015-03-06 16:21:25 -08:00
sornaks
bd9d57d33e
Introducing buffering in TagHelperOutput.PreContent, Content, PostContent.
2015-03-04 12:56:13 -08:00
Ajay Bhargav Baaskaran
7ecce1b666
Replaced WebUtility.HtmlEncode with IHtmlEncoder.HtmlEncode
2015-03-03 11:32:05 -08:00
N. Taylor Mullen
4bd02badda
Add tests to verify tagHelperPrefix directive.
...
- Added parsing, sub-rewriting, rewriting and code generation tests for runtime/designtime.
- Fixed existing tests to utilize new class structures.
#309
2015-03-02 17:07:07 -08:00
N. Taylor Mullen
4d97a544f1
Add TagHelperPrefix directive.
...
- Updated TagHelperDescriptor to have a Prefix property. This enables new tooling scenarios such as refactoring prefixes or even giving them their own classification.
- Added invalid prefix cases.
- Added TagHelperPrefix chunks, codegenerator, parsing logic to flow the directive through the Razor pipeline.
#309
2015-03-02 17:07:03 -08:00
N. Taylor Mullen
677df32160
Add tests to validate TagHelperExecutionContexts Items bag.
...
- Added TagHelperScopeManager tests to ensure that the Items bag is correctly wrapped.
- Added test to TagHelperExecutionContext to make sure items bags are properly propogated.
- Updated existing unit tests to abide by the new constructor format of TagHelperScopeManager, TagHelperContext and TagHelperExecutionContext
#238
2015-02-22 19:13:18 -08:00
N. Taylor Mullen
b95e73e2b0
Add Items bag to TagHelperContext.
...
- Add a an Item properties on TagHelperExecutionContext to propagate to the TagHelperContext.
- Updated TagHelperScopeManager to create CopyOnWriteDictionary item bags for created TagHelperExecutionContexts.
#238
2015-02-22 19:13:17 -08:00
Youngjune Hong
23e6264715
Fix1571 - Supporting self-closing tags for taghelpers
2015-02-20 16:27:31 -08:00
Pranav K
ffb388ab62
Changes for tag helper precompilation with tests
2015-02-19 20:25:24 -08:00
Pranav K
2ad1f937ce
Revert "Changes to support use of TagHelpers in applications with precompiled"
...
This reverts commit 61be874af8 .
2015-02-19 19:15:03 -08:00
Pranav K
61be874af8
Changes to support use of TagHelpers in applications with precompiled
...
views.
2015-02-19 17:46:33 -08:00
N. Taylor Mullen
565a31b200
Change SourceLocation to be serializable.
...
- Added comments to ensure users are aware of implications of using a set property on the SourceLocation class.
2015-02-18 21:05:18 -08:00
N. Taylor Mullen
f53b6bb0e3
Change '?' in add and remove TagHelper to mean 1 character.
...
- Modified tests to account for new behavior of the '?' character in @addtaghelper and @removetaghelper.
#297
2015-02-16 18:59:20 -08:00
Wei Wang
1dd54e4331
Add project.lock.json to .gitignore
2015-02-16 13:41:35 -08:00
Doug Bunting
fbe331c1ab
Camel-case tag helper directives
...
- #264
2015-02-13 15:10:37 -08:00
N. Taylor Mullen
e14dbdf9be
Add parser error for empty TagHelper bound attributes.
...
- Errors are only created for TagHelper bound attributes that are not bound to string.
- Added tests to validate proper errors for expected input.
#289
2015-02-13 12:10:50 -08:00
N. Taylor Mullen
cf3d049272
Add tests to validate TagHelper escape functionality.
...
- Added extensive unit tests.
- Added functional test to validate output for runtime and design time.
#187
2015-02-03 14:34:47 -08:00
N. Taylor Mullen
94230a5a14
Add TagHelper parse level opt-out character '!'.
...
- Added the ability to opt-out of TagHelper parsing by adding a '!' to the beginning of a tag name.
- Modified parsing logic to allow bangs in tags.
- Bangs in tags are removed from output always and are handled as meta code.
#187
2015-02-03 14:25:30 -08:00
N. Taylor Mullen
32f0858e8f
Add tests for @addtaghelper and @removetaghelper wildcard ability.
...
- Also added tests to ensure cases of @addtaghelper "MyAssemblyName" create an error.
- Regenerated all CS files to folow new format.
#285
2015-02-03 12:16:01 -08:00
N. Taylor Mullen
a78ed663d0
Add ability for wildcards in @addtaghelper and @removetaghelper.
...
- @addtaghelper and @removetaghelper can now utilize the '*' wild card to represent 0 or more characters.
- Restricted the @addtaghelper to need the TypeName. @addtaghelper "MyAssemblyName" => @addtaghelper "*, MyAssemblyName".
#285
2015-02-03 12:15:56 -08:00
N. Taylor Mullen
7afd78b36a
Fix empty attribute projections for TagHelpers.
...
- Added TagHelperParseTreeRewriter tests, attempted to cover all empty attribute edge cases.
- Added Codegen tests to validate output and DesignTimeLineMappings.
#271
2015-02-02 15:49:08 -08:00
Wei Wang
efab52c082
Merge remote-tracking branch 'origin/release' into dev
2015-01-29 16:31:51 -08:00
Pranav K
37433056be
Fixing NuGet.config
2015-01-28 23:15:50 -08:00
Wei Wang
211dc7d9d8
Change SKIP_DOTNET_INSTALL to SKIP_KRE_INSTALL
2015-01-28 18:27:12 -08:00
Wei Wang
7ae470539f
Update build.cmd and build.sh to use kvm
2015-01-28 18:26:45 -08:00
Wei Wang
ba387a3a22
Merge branch 'release' of github.com:aspnet/Razor into release
2015-01-28 18:25:49 -08:00
N. Taylor Mullen
a0574fb9be
Add tests for TagHelper order control.
...
- Tested runtime run execution order control.
#94
2015-01-27 20:11:44 -08:00
NTaylorMullen
53d60159f9
Add order property to control TagHelper execution order.
...
- Added order property to the ITagHelper class. Lower values indicates higher execution priority.
#94
2015-01-27 20:11:42 -08:00
Aligned
c789ff1eb5
Update README.md
2015-01-22 10:56:48 -08:00
Suhas Joshi
2b41e374ff
Merge branch 'release' into dev
2015-01-21 15:50:10 -08:00
Suhas Joshi
a0440ff918
Updating to release NuGet.config
2015-01-21 15:50:08 -08:00
Wei Wang
1bb8dc0aff
Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL
2015-01-20 18:31:35 -08:00
Suhas Joshi
825823fd4c
Updating NuGet.config
2015-01-20 17:23:41 -08:00
Pranav K
26a193ca62
Updating build.cmd and build.sh to use dotnetsdk
2015-01-20 01:36:30 -08:00
Pranav K
529670d9a3
Updating build.cmd and build.sh to use dotnetsdk
2015-01-20 01:32:32 -08:00
N. Taylor Mullen
a658c1336f
Added CodeGen for TagHelper content mode redesign.
...
- Modified the CSharpTagHelperCodeRenderer to understand a single line of TagHelper rendering (instead of doing different things based on ContentBehavior).
- Modified existing CodeGen output to reflect new content changes.
#221
2015-01-16 11:51:02 -08:00
N. Taylor Mullen
0eb614b027
Modify tests to allow new content mode design for runtime components.
...
- Added a new internal ctor for TagHelperExecutionContext since it's used in multiple tests to allow for less friction testing.
#221
2015-01-16 11:34:47 -08:00