Permalink
Commits on Jan 30, 2011
  1. Rename of "section" Spark tag to "segment" by default instead to avoi…

    RobertTheGrey committed Jan 30, 2011
    …d Html5 conflict. Section can still be used with legacy code by specifying ParseSectionAsSegment=true in your Spark settings
Commits on Jan 29, 2011
  1. Changed the default output encoding to UTF8 and also hooked it up to …

    RobertTheGrey committed Jan 29, 2011
    …"system.web/globalization" in web.config for override if needed
  2. Add code to avoid NotSupportedException for Dynamic assemblies also t…

    RobertTheGrey committed Jan 29, 2011
    …aking .Net 4 runtime into account.
Commits on Jan 24, 2011
  1. Added a special BatchCompilerException to throw when the BatchCompile…

    unknown
    unknown committed Jan 24, 2011
    …r fails.
    
    This exception attaches the CompilerResults object so that batch compilation
    failures can be reported on with specific detail.  The BatchCompilerException inherits
    from CompilerException so this change should be backwards compatible.
Commits on Jan 9, 2011
Commits on Dec 12, 2010
Commits on Nov 25, 2010
  1. Removed unnecessary reference to Microsoft.CSharp

    RobertTheGrey committed Nov 25, 2010
    Changed sample ref to MVC 1.0 to MVC 2.0
    Set a ViewFolder for the engine to use to properly find views without resulting in null paths
    Reverted changes to Spark Core
Commits on Nov 22, 2010
  1. Merge branch 'master' into SparkSense

    RobertTheGrey committed Nov 22, 2010
    Conflicts:
    	src/Spark/Parser/ViewLoader.cs
  2. Added two working implementations of using Spark as a templating engi…

    dylanbeattie committed Nov 22, 2010
    …ne from a standalone console app.
    
    Syntax could use some love, but it works. I'd be interested to know how to use a generic TemplateBase to facilitate using strongly-typed view models in this scenario.
Commits on Nov 10, 2010
  1. Merge branch 'whitespace-management' of http://github.com/otac0n/spark

    RobertTheGrey committed Nov 10, 2010
    …into otac0n-whitespace-management
  2. Made whitespace test ignore differences in line-ending-style between …

    otac0n committed Nov 10, 2010
    …the Source code files and the spark view files.
    
    Signed-off-by: John Gietzen <otac0n@gietzen.us>
Commits on Nov 8, 2010
  1. Merge branch 'whitespace-management' of http://github.com/otac0n/spark

    RobertTheGrey committed Nov 8, 2010
    …into otac0n-whitespace-management
Commits on Nov 7, 2010
  1. Added include type "html" which just passes a file through without en…

    RobertTheGrey committed Nov 7, 2010
    …conding or parsing for Spark syntax.
    
    This allows for templating languages like jQuery Templates that use ${} syntax just like Spark does to bypass the Spark Parser without the user needing to escape the jQuery Template
Commits on Nov 4, 2010
  1. Merged Whitespace Management branch into loudej/master.

    corp/jgietzen
    corp/jgietzen committed Nov 4, 2010
    Conflicts:
    	src/Spark.Tests/Caching/CacheElementTester.cs
    	src/Spark.Tests/Constraints.cs
    	src/Spark.Tests/Parser/MarkupGrammarTester.cs
    	src/Spark.Tests/Spark.Tests.csproj
    	src/Spark.Tests/SparkViewFactoryTester.cs
    	src/Spark/Compiler/NodeVisitors/ChunkBuilderVisitor.cs
    	src/Spark/Parser/Chain.cs
    	src/Spark/Parser/CharGrammar.cs
    	src/Spark/Parser/Grammar.cs
    	src/Spark/Parser/Markup/MarkupGrammar.cs
    	src/Spark/Parser/Markup/Node.cs
    	src/Spark/Parser/ParseAction.cs
    	src/Spark/Parser/ParseActionExtensions.cs
    	src/Spark/Parser/ParseResult.cs
    	src/Spark/Parser/ParserSettings.cs
    	src/Spark/Parser/Syntax/DefaultSyntaxProvider.cs
    	src/Spark/Parser/ViewLoader.cs
    
    Signed-off-by: John Gietzen <otac0n@gietzen.us>
Commits on Nov 2, 2010
  1. Commented and cleaned up the Parser code.

    otac0n committed Nov 2, 2010
    Fixed some tests to make them whitespace agnostic.
    
    Signed-off-by: John Gietzen <otac0n@gietzen.us>
Commits on Nov 1, 2010
  1. Merge branch 'unit-test-grammar' of http://github.com/otac0n/spark in…

    RobertTheGrey committed Nov 1, 2010
    …to otac0n-unit-test-grammar
Commits on Oct 30, 2010
  1. Added custom NUnit constraints to the Spark.Tests project (Constraint…

    otac0n committed Oct 30, 2010
    …s.cs, Spark.Tests.csproj).
    
    Moved the "ContainsInOrder" function into the Constraints class to clean up the vocabulary of the asserts. (Constraints.cs, SparkViewFactoryTester.cs)
    
    Converted all tests using "ContainsInOrder" to use the new Constraint syntax. (SparkViewFactoryTester.cs)
    
    Signed-off-by: John Gietzen <otac0n@gietzen.us>
  2. Merge 'build-files-cleanup' into 'master'.

    otac0n committed Oct 30, 2010
    Conflicts:
    	.gitignore
  3. Cleaning up and fixing the build and ignore files.

    otac0n committed Oct 30, 2010
    spark.build
      Fixed an issue with building in paths that contained a space.
    
    .gitignore
      Removed entries referencing CommonAssemblyInfo/CommonVersionInfo **
      Full restructuring of the file.
      Commented.
      Removed superfluous entries.
    
    ** Note:
    I removed the entries for src/CommonAssemblyInfo.cs and src/CommonVersionInfo.h because they were already added to the repo, and the entries had no effect.
    
    If we want the file's changes from the build to be ignored, we may want to consider reverting the files, or adding something like this to the build:
    git update-index --assume-unchanged <file>
    
    Signed-off-by: John Gietzen <otac0n@gietzen.us>
  4. Merge branch 'master' of git://github.com/loudej/spark

    otac0n committed Oct 30, 2010
    Conflicts:
    	.gitignore
    	spark.build
    	src/Castle.MonoRail.Views.Spark.Tests/Castle.MonoRail.Views.Spark.Tests.csproj
    	src/Spark.Tests/Spark.Tests.csproj
    	src/Spark.Tests/SparkViewFactoryTester.cs
    	src/Spark.sln
    	src/Spark/Compiler/NodeVisitors/ChunkBuilderVisitor.cs
    	src/Spark/Spark.csproj
    
    Signed-off-by: John Gietzen <otac0n@gietzen.us>
Commits on Oct 29, 2010
  1. Avoid failing view compilation from warnings

    loudej committed Oct 29, 2010
    Follows asp.net build manager's practice of setting TreatWarningsAsErrors to false
    
    Needed when using Spark in MVC 3 binding redirect - compiler produces a warning about the MVC 2 assembly reference.
Commits on Oct 26, 2010
  1. Yet another culture bug (System.Int32.ToString is culture-aware)

    maxild authored and RobertTheGrey committed Oct 26, 2010
    I need all tests to pass before working on getting spark to compile against MVC 3 beta.
  2. Cleanup (nothing else)

    maxild authored and RobertTheGrey committed Oct 26, 2010
    Removed uncommented code (I myself wrote ages ago..sry), and made GetCompilerVersion helper method static.
  3. Fixed bug where Location was used to define AppBase of sandbox AppDom…

    maxild authored and RobertTheGrey committed Oct 26, 2010
    …ain.
    
        Some test runners (R# test runner for instance) will load assemblies from a temporary directory. This fix
        will make the test code robust when this happens.
Commits on Oct 21, 2010
  1. Merge branch 'master' into SparkSense

    RobertTheGrey
    RobertTheGrey committed Oct 21, 2010
    Conflicts:
    	src/Spark/Spark.csproj
  2. Convert to VS2010

    Robert Greyling
    Robert Greyling committed Oct 21, 2010