Permalink
Commits on May 14, 2017
  1. Fix build in windows

    blikblum committed with nknapp Aug 21, 2016
    (cherry picked from commit 275ab37)
  2. Run integration test with `node handlebars -a ...` on Windows

    nknapp committed May 14, 2017
    Fixes #1233
    
    NodeJS files cannot be executed directly on Windows.
  3. Ensure LF line-edings in lexer-files (*.l)

    nknapp committed May 14, 2017
    Related to #1233
  4. Merge remote-tracking branch 'wycats/4.x' into wycats-master

    nknapp committed May 14, 2017
  5. Force LF line-endings for spec/artifacts

    nknapp committed May 13, 2017
    Fixes #1331
  6. Use istanbul/lib/cli.js instead of node_modules/.bin/istanbul

    nknapp committed May 13, 2017
    Fixes #1331
    
    Due to the way, "bin"-files are distributed into the node_modules/.bin
    directory on Windows, the task "test:cov" did not work on Windows.
    This commit uses the node-script directly.
Commits on May 13, 2017
Commits on May 12, 2017
  1. Merge branch '4.x' into wycats-master

    nknapp committed May 12, 2017
    # Conflicts:
    #	package.json
Commits on May 2, 2017
  1. v4.0.8

    nknapp committed May 2, 2017
  2. Update release notes

    nknapp committed May 2, 2017
  3. Allow partial-blocks to be executed without "options"

    nknapp committed May 2, 2017
    Closes #1341
    
    If the @partial-block is called as parameter of a helper (like in
    {{#if @partial-block}}...{{/if}}, the partialBlockWrapper is executed
    without "options"-parameter. It should still work in without an error
    in such a case.
Commits on Apr 30, 2017
  1. Bump version in master-branch to 5.0-alpha.1

    nknapp committed Apr 30, 2017
    This is in order to make sure that the master-branch version is not
    confused with the stable 4.x
Commits on Apr 29, 2017
  1. v4.0.7

    nknapp committed Apr 29, 2017
  2. Update release-notes for 4.0.7

    nknapp committed Apr 29, 2017
Commits on Mar 25, 2017
  1. Merge branch '4.x' into wycats-master

    nknapp committed Mar 25, 2017
    # Conflicts:
    #	spec/regressions.js
  2. Fix context-stack when calling block-helpers on null values

    nknapp committed Mar 9, 2017
    Fixes #1319
    
    Original behaviour:
    - When a block-helper was called on a null-context, an empty object was used
      as context instead. (#1093)
    - The runtime verifies that whether the current context equals the
      last context and adds the current context to the stack, if it is not.
      This is done, so that inside a block-helper, the ".." path can be used
      to go back to the parent element.
    - If the helper is called on a "null" element, the context was added, even
      though it shouldn't be, because the "null != {}"
    
    Fix:
    - The commit replaces "null" by the identifiable "container.nullContext"
      instead of "{}". "nullContext" is a sealed empty object.
    - An additional check in the runtime verifies that the context is
      only added to the stack, if it is not the nullContext.
    
    Backwards compatibility within 4.0.x-versions:
    - This commit changes the compiler and compiled templates would not work
      with runtime-versions 4.0.0 - 4.0.6, because of the "nullContext"
      property. That's way, the compiled code reads
      "(container.nullContext || {})" so that the behavior will degrade
      gracefully with older runtime versions: Everything else will work
      fine, but GH-1319 will still be broken, if you use a newer compiler
      with a pre 4.0.7 runtime.
Commits on Mar 13, 2017
  1. Merge pull request #1325 from robinhouston/pr-whitespace-differences

    nknapp committed Mar 13, 2017
    Document whitespace compatibility difference with mustache
    
    Fixes #1324
Commits on Mar 10, 2017
  1. Merge pull request #1323 from chancancode/patch-1

    wycats committed Mar 10, 2017
    Update README to be more accurate
  2. Update README to be more accurate

    chancancode committed Mar 10, 2017
    Copied from the website at @wycats' request.
    
    Addresses #1119.
Commits on Feb 24, 2017
  1. Merge pull request #1315 from Turbo87/es6-parser

    nknapp committed Feb 24, 2017
    parser: Change suffix to use ES6 default module export
  2. Parser: Change suffix to use ES6 default module export

    Turbo87 committed with nknapp Feb 23, 2017
    - This export will be transpiled by Babel for the cjs distribution,
      but will enable others to  use a pure ES6 module distribution
    - Instanbul: Ignore "parser.js" for coverage reporting. This file was ignored before
      via annotation, but this has no effect anymore due to the above change
    - Remove istanbul annotation from `parser-prefix` (@nknapp)
    
    Squashed by @nknapp
    
    (cherry picked from commit 508347e)
  3. Parser: Change suffix to use ES6 default module export

    Turbo87 committed with nknapp Feb 23, 2017
    - This export will be transpiled by Babel for the cjs distribution,
      but will enable others to  use a pure ES6 module distribution
    - Instanbul: Ignore "parser.js" for coverage reporting. This file was ignored before
      via annotation, but this has no effect anymore due to the above change
    - Remove istanbul annotation from `parser-prefix` (@nknapp)
    
    Squashed by @nknapp
Commits on Feb 17, 2017
  1. Merge pull request #1306 from wycats/merge-4.x

    nknapp committed Feb 17, 2017
    Merge 4.x into master
Commits on Feb 14, 2017
  1. Merge branch '4.x'

    nknapp committed Feb 14, 2017
    # Conflicts:
    #	Gruntfile.js
    #	lib/handlebars/exception.js
    #	spec/partials.js
    #	spec/regressions.js
  2. Merge branch '4.x'

    nknapp committed Feb 14, 2017
    # Conflicts:
    #	Gruntfile.js
    #	lib/handlebars/exception.js
    #	spec/partials.js
    #	spec/regressions.js
  3. Add more tests for partial-blocks and inline partials

    nknapp committed Jan 2, 2017
    - Multiple partial-blocks at different nesting levels
    - Calling partial-blocks twice with nested partial-blocks
    - Calling the partial-block from within the #each-helper
    - nested inline partials with partial-blocks on different nesting levels
    - nested inline partials (twice at each level)
  4. Fix for #1252: Using @partial-block twice in a template not possible

    nknapp committed Dec 30, 2016
    Fixes #1252
    - This fix treats partial-blocks more like closures and uses the closure-context of
      the "invokePartial"-function to store the @partial-block for the partial.
    - Adds a tes for the fix
  5. Avoid duplicate "sourceMappingURL=" lines.

    joonas-lahtinen committed with nknapp Feb 13, 2017
    Avoid duplicate // sourceMappingURL=... lines when minifying AND
    generating a map. UglifyJS2 will write the line when minifying.
    
    (cherry picked from commit 660a117)
  6. Avoid duplicate "sourceMappingURL=" lines.

    joonas-lahtinen committed with nknapp Feb 13, 2017
    Avoid duplicate // sourceMappingURL=... lines when minifying AND
    generating a map. UglifyJS2 will write the line when minifying.
Commits on Jan 29, 2017
  1. Fix compiler-api example (#1303)

    nknapp committed Jan 29, 2017
    Closes #1302 
    
    While trying to answer #1302, I noticed that the compiler-api example did not work in (because `nameLookup` is actually at the prototype). This example has a jsfiddle that proves it is working.
    It does not provide an solve the exact problem of the reporter, but it answers the question.