Commit Graph

32 Commits

Author SHA1 Message Date
N. Taylor Mullen bc3d32ec74 Modify base Visitor class to be more generic.
This involved adding more boiler plate to the base of the visitor classes such as a Writer and a Context.  By following this contract for new visitors we'll ensure that visitors have enough information to add new features to Razor.
2014-02-04 14:56:00 -08:00
N. Taylor Mullen a9d4cd9089 Remove Snippet dependency
No need to have a snippet class when we only ever use the value of a snippet and only ever have one.
2014-02-04 14:53:52 -08:00
N. Taylor Mullen 57e0ef4774 Revert changes to CSharpDesignTimeHelpersVisitor.
Without the initial code tree acceptance you end up stack overflowing.  Also removed a validation check that ensures that there's always a base type (not true).
2014-02-04 11:59:50 -08:00
Pranav K 57854b2cc0 Refactoring CSharpCodeWriter
* Using CodeGeneratorContext to pass around metadata.
* Tweaks in CSharpCodeWriter to use the right type name
* Adding a sample unit test
2014-02-03 17:04:09 -08:00
Pranav K 68bb44d73e Updating Resx designer file to minimize conflicts after resx change 2014-02-03 13:33:00 -08:00
Pranav K 12fa69c7bc Updating build.cmd to cache NuGet.exe 2014-02-02 08:18:43 -08:00
Pranav K 1634c74ff4 Remove and sort usings across the solution 2014-01-31 10:24:07 -08:00
N. Taylor Mullen 7f0878c1b8 Comment ifdefs and fix K10 functionality 2014-01-30 15:50:20 -08:00
Pranav K 9f80b7d1c8 Relocation resx file to root so that it's correctly embedded 2014-01-29 22:23:45 -08:00
David Fowler 29009fe3af Updated the build files. 2014-01-28 22:18:20 -08:00
N. Taylor Mullen 73dae5fcaa Added an output validator to make a best-effort attempt at validating old and new codeDOM/codeTree output. 2014-01-28 17:05:48 -08:00
David Fowler 03164325b6 Removed the clear for sources. 2014-01-27 23:24:58 -08:00
David Fowler b1ff6d32d3 Fixed up resources. 2014-01-27 21:30:53 -08:00
David Fowler b9c2bcecb7 Updated build.cmd 2014-01-27 19:32:50 -08:00
N. Taylor Mullen 3a214ab213 ifdef all of the razor bits that are reliant on non-coreclr bits.
Big thing we're missing is Char.GetUnicodeCategory(...) and Thread.Yield.  Tried to do my best to fill in the blanks.  Ripped out VB.
2014-01-27 18:52:02 -08:00
David Fowler 29571cce6d Added nuget.config 2014-01-27 17:24:45 -08:00
N. Taylor Mullen 521a5c8517 Start to add a CodeTree codegen.
This addition will eventually replace CodeDOM to allow for the k10 project to build.  It is a new type of codegeneration method that is highly extensible.
2014-01-27 16:46:17 -08:00
David Fowler 67c3b2b080 Skip the cache for KoreBuild 2014-01-26 01:29:31 -08:00
David Fowler c1321773a7 Removed csproj files. 2014-01-25 17:24:15 -08:00
David Fowler be66f594af Updated project files. 2014-01-25 02:27:44 -08:00
David Fowler eb24202709 Updated build. 2014-01-25 02:25:12 -08:00
David Fowler 8cc117c48f Updated build. 2014-01-24 02:21:50 -08:00
David Fowler 854cb87b42 Updated version 2014-01-24 01:21:42 -08:00
David Fowler 77dd7e40eb Updated build. 2014-01-23 23:12:34 -08:00
David Fowler 55b697a142 Updated build to add restore. 2014-01-21 21:52:15 -08:00
David Fowler 084d6e3544 Added initial build. 2014-01-21 20:17:07 -08:00
N. Taylor Mullen 771da62400 Removed a lot of the Assert extensibility types 2014-01-18 23:43:51 -08:00
N. Taylor Mullen ce7f79ce50 Removed unneeded TestCommon code. 2014-01-18 23:26:32 -08:00
N. Taylor Mullen af14969b54 Added tests project. 2014-01-18 14:18:55 -08:00
N. Taylor Mullen 72e37d7ac6 Update code to be the latest bits. 2014-01-17 15:43:57 -08:00
David Fowler 50179ad99b Removed uneeded dependencies. 2014-01-11 23:06:03 -08:00
David Fowler ff854e3e15 Initial commit. 2014-01-11 20:12:30 -08:00