Commit Graph

17 Commits

Author SHA1 Message Date
Travis Parks a6ddb18448 Update README.md 2013-01-16 16:03:02 -05:00
Travis Parks 790f856b44 Optimized text generation.
The way the code was implemented before, each block of text was
generating a string which was then being added to a StringBuilder. This
only improved performance within a block itself. Needing to then copy
the results of that builder into the parent tag's builder was wasteful.
Now, a single TextWriter is used for all tags. If a block needs to be
processed after-the-fact, the tag can indicate that it wants to provide
a new text writer and that it wants to consolidate the text.
2013-01-16 15:10:25 -05:00
Travis Parks 83b2a8a3d9 Update README.md 2013-01-12 21:40:47 -05:00
Travis Parks f848d63d9a Handle Unknown Tags
I added code to detect unknown tags and throw an exception. I also
provided a default implementation so tags are in the global scope by
default.
2013-01-12 20:22:31 -05:00
Travis Parks a0bacd250d Update README.md 2013-01-12 19:59:57 -05:00
Travis Parks 1af1aa000c Update README.md 2013-01-12 19:34:53 -05:00
Travis Parks 13332c82ec Update README.md 2013-01-12 19:33:58 -05:00
Travis Parks 463bb7c9d2 Update README.md 2013-01-12 19:31:36 -05:00
Travis Parks 27650682bf Update README.md 2013-01-12 18:44:49 -05:00
Travis Parks a64d3a73fc Added NuGet deployment items. 2013-01-12 15:18:54 -05:00
Travis Parks 138f36f005 Created a complex example for a unit test.
I wanted to make sure the code worked before creating a NuGet package.
2013-01-12 15:11:24 -05:00
Travis Parks 7d75c7a2e4 Implemented better custom tag handling.
I needed to make it easier to handle scopes and define custom tags,
including context-sensitive tags.
2013-01-12 14:53:12 -05:00
Travis Parks 49f9478c79 Added support for trimming unnecessary newlines. 2013-01-09 21:58:45 -05:00
Travis Parks 0b84ca8877 Made progress implementing the object model, including all of the built-in tags. 2013-01-09 21:17:45 -05:00
Travis Parks f8628aaf86 Implement custom tags.
This is the first step towards supporting custom tags. There are
wrinkles I need to work out, since I'm not 100% sure what the finished
code will look like.
2013-01-08 21:33:53 -05:00
Travis Parks 827faa5d6e Initial Commit
This is the code almost verbatim from the NList project. This project is
due for a major overhaul, but I don't know the order I will be breaking
out NList in the upcoming weeks.
2013-01-01 21:01:34 -05:00
Travis Parks 3f8bf7413b Initial commit 2013-01-01 17:31:04 -08:00