Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Remove unnecessary child scopes | kpdecker | 2013-02-16 | 1 | -1043/+1040 | |
|/ | ||||||
* | merge | Tommy Messbauer | 2013-02-11 | 1 | -83/+284 | |
|\ | ||||||
| * | Better error messages for precompiler runtime mismatch | Peter Wagenet | 2013-02-09 | 1 | -1/+3 | |
| | | ||||||
| * | Decouple compiler version checks from release versions | Peter Wagenet | 2013-02-08 | 1 | -1/+1 | |
| | | ||||||
| * | Handlebars.parse/precompile/compile can now be passed an already-compiled ↵ | machty | 2013-02-07 | 1 | -8/+8 | |
| | | | | | | | | Handlebars AST. | |||||
| * | Improved precompile template version check | Peter Wagenet | 2013-01-30 | 1 | -4/+1 | |
| | | | | | | | | | | This check reduces duplicated code as well as also failing if the template was precompiled on a version before the check was added. | |||||
| * | Check version when evaluating templates. | Peter Wagenet | 2013-01-29 | 1 | -0/+7 | |
| | | | | | | | | | | This makes sure that we throw an error when a template was precompiled with a version of Handlebars that doesn't match the evaluating version. | |||||
| * | mergeSource helper | kpdecker | 2013-01-21 | 1 | -10/+14 | |
| | | ||||||
| * | Merge duplicate programs | kpdecker | 2013-01-21 | 1 | -6/+43 | |
| | | ||||||
| * | Remove inline option from pushStack | kpdecker | 2013-01-21 | 1 | -13/+9 | |
| | | ||||||
| * | Use push rather than pushStack for inline ops | kpdecker | 2013-01-21 | 1 | -11/+11 | |
| | | ||||||
| * | Make replaceStack always inline | kpdecker | 2013-01-20 | 1 | -6/+6 | |
| | | ||||||
| * | Formatting updates for inlined content | kpdecker | 2013-01-20 | 1 | -2/+2 | |
| | | ||||||
| * | Merge consecutive buffer appends | kpdecker | 2013-01-20 | 1 | -10/+30 | |
| | | ||||||
| * | Use options register for blockHelperMissing | kpdecker | 2013-01-20 | 1 | -4/+9 | |
| | | ||||||
| * | Inline known helper calls | kpdecker | 2013-01-20 | 1 | -1/+1 | |
| | | ||||||
| * | Use stack rather than register for invoke lookup | kpdecker | 2013-01-20 | 1 | -4/+6 | |
| | | ||||||
| * | Prevent duplication of inline content in append | kpdecker | 2013-01-20 | 1 | -0/+3 | |
| | | ||||||
| * | Update 2nd level opcodes to use inlines | kpdecker | 2013-01-19 | 1 | -11/+19 | |
| | | ||||||
| * | Allow replaceStack to work with the inline stack | kpdecker | 2013-01-19 | 1 | -8/+35 | |
| | | ||||||
| * | Use inline values for simple terminals | kpdecker | 2013-01-19 | 1 | -4/+5 | |
| | | ||||||
| * | Inline stack helper implementation | kpdecker | 2013-01-19 | 1 | -16/+48 | |
| | | ||||||
| * | Merge branch 'master' into inline-ops | kpdecker | 2013-01-19 | 1 | -4/+3 | |
| |\ | ||||||
| | * | Remove unused vars | kpdecker | 2013-01-19 | 1 | -4/+3 | |
| | | | ||||||
| * | | Reuse stack var to avoid register | kpdecker | 2013-01-19 | 1 | -2/+1 | |
| | | | ||||||
| * | | Output options only once to unknownHelper case | kpdecker | 2013-01-19 | 1 | -6/+12 | |
| | | | ||||||
| * | | Empty hash literal output | kpdecker | 2013-01-19 | 1 | -4/+11 | |
| | | | ||||||
| * | | Inline foundHelper lookup | kpdecker | 2013-01-19 | 1 | -4/+4 | |
| |/ | ||||||
| * | Must pop the stack extra for hashes | tomhuda | 2013-01-18 | 1 | -0/+1 | |
| | | ||||||
| * | Add support for getting types in string mode | Yehuda Katz | 2013-01-16 | 1 | -10/+39 | |
| | | | | | | | | | | This makes it possible to determine whether an argument was passed as a string or as a path when implementing helpers in string mode. | |||||
| * | Prevent write on all depth variables | kpdecker | 2013-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | Prevent context overwrite by replaceStack | kpdecker | 2013-01-13 | 1 | -7/+14 | |
| | | | | | | Fixes #408. | |||||
| * | Remove duplicate assignment | kpdecker | 2013-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | Removed unnecessary semicolon, which is needed to pass JSHint for compiled code | Andrey Lushchick | 2012-12-27 | 1 | -1/+1 | |
| | | ||||||
| * | Merge pull request #389 from leshill/partial_names | Yehuda Katz | 2012-12-23 | 1 | -2/+2 | |
| |\ | | | | | | | Partials can be paths | |||||
| | * | Partials can be paths | Les Hill | 2012-12-13 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | Allows partials with slashes, a common partial syntax. For example: {{> shared/dude}} | |||||
| * | | Merge pull request #390 from eastridge/master | Yehuda Katz | 2012-12-23 | 1 | -2/+6 | |
| |\ \ | | | | | | | | | Make {data: true} a default compile option | |||||
| | * | | Add data = true as default option | Ryan Eastridge | 2012-12-13 | 1 | -2/+6 | |
| | |/ | ||||||
| * | | Get a better error for compile(falsy) | Yehuda Katz | 2012-12-23 | 1 | -0/+8 | |
| |/ | ||||||
* | | Merged upstream master and ran unit tests | Tommy Messbauer | 2012-11-26 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Bind functions to the context properly. | Tyson Tate | 2012-09-19 | 1 | -2/+2 | |
| | | | | | | | | | | | | The regression was introduced in 1.0.rc.1. This fixes issue #317. | |||||
* | | Factory update with tabs to spaces.. sorry :( | Tommy Messbauer | 2012-11-26 | 1 | -915/+915 | |
| | | ||||||
* | | Finished factory pattern | Tommy Messbauer | 2012-08-29 | 1 | -2/+3 | |
| | | ||||||
* | | Commiting initial factory code | Tommy Messbauer | 2012-08-29 | 1 | -910/+919 | |
|/ | ||||||
* | Fix handling of this parameters in helpers | kpdecker | 2012-07-30 | 1 | -1/+7 | |
| | | | Fixes issue introduced in 727eb26cb6a9e89ab08596dedbabcec0becb4d75 | |||||
* | Document lookupData | Yehuda Katz | 2012-07-05 | 1 | -0/+6 | |
| | ||||||
* | Reduce duplication | Yehuda Katz | 2012-07-05 | 1 | -9/+5 | |
| | ||||||
* | Make deep @data trigger the data option | Yehuda Katz | 2012-07-05 | 1 | -2/+4 | |
| | ||||||
* | Add support for @data variables | Yehuda Katz | 2012-07-05 | 1 | -5/+18 | |
| | ||||||
* | FIX global leak | Nicolas Chambrier | 2012-06-25 | 1 | -2/+2 | |
| | ||||||
* | Fix a bug where registers were shared | tomhuda | 2012-05-28 | 1 | -9/+6 | |
| | ||||||
* | Remove unneeded code and add docs | tomhuda | 2012-05-28 | 1 | -169/+213 | |
| | | | | | There were a few operations that are no longer needed, so remove them. Also document all operations. | |||||
* | More cleanup | tomhuda | 2012-05-28 | 1 | -65/+155 | |
| | | | | * Make block and inverse use the main helper path * Eliminate separate inverse AST node | |||||
* | Disambiguate more ahead of time | tomhuda | 2012-05-28 | 1 | -8/+25 | |
| | ||||||
* | Remove unneeded binary opcode stuff | tomhuda | 2012-05-28 | 1 | -120/+25 | |
| | | | | It turns out that we don't need to store the opcodes in a compact way, so don't bother. | |||||
* | Continue work on cleaning up helpers | Yehuda Katz | 2012-05-28 | 1 | -12/+33 | |
| | ||||||
* | Start doing earlier work on helpers | Yehuda Katz | 2012-05-28 | 1 | -28/+127 | |
| | ||||||
* | Clean up the compiler a bit | Yehuda Katz | 2012-05-26 | 1 | -69/+91 | |
| | ||||||
* | Several improvements to compiled output: | tomhuda | 2012-05-26 | 1 | -54/+94 | |
| | | | | | | | | | | | * Eliminate legacy support for an options hash that doubles as a function. This prevented us from building the hash as a literal, and added a bunch of code weight * Create a new "stack literal" construct, that allows an opcode to push a literal expression onto the stack. This will not allocate a new stack variable, and when popped, will simply return the literal expression as a String. | |||||
* | JSHint the library and fix a few bugs | tomhuda | 2012-02-17 | 1 | -3/+6 | |
| | ||||||
* | Fixed whitespace and semi-colons | Peter Wagenet | 2012-02-08 | 1 | -14/+14 | |
| | ||||||
* | I'm an idiot | Yehuda Katz | 2011-12-31 | 1 | -14/+14 | |
| | ||||||
* | Missing some reserved words | Yehuda Katz | 2011-12-31 | 1 | -3/+17 | |
| | ||||||
* | Differentiate between lambdas in the context (which should have mustache ↵ | Yehuda Katz | 2011-12-31 | 1 | -7/+12 | |
| | | | | semantics) and helpers (which have Handlebars helper semantics). | |||||
* | data should be passed through to partials. closes #111. | Yehuda Katz | 2011-12-27 | 1 | -1/+7 | |
| | ||||||
* | Fix bug where inverse section was being passed to subsequent helpers | Yehuda Katz | 2011-12-27 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #121 from tablatom/master | Yehuda Katz | 2011-12-23 | 1 | -1/+1 | |
|\ | | | | | Added a noEscape option to Handlebars.compile | |||||
| * | Add noEscape option to Handlebars.compile | Tom Locke | 2011-09-26 | 1 | -1/+1 | |
| | | ||||||
* | | Allow subclasses to customize the namespace | Yehuda Katz | 2011-10-28 | 1 | -4/+7 | |
| | | ||||||
* | | Goodbye poor hack. You were broken before your time. | Peter Wagenet | 2011-10-27 | 1 | -2/+0 | |
| | | ||||||
* | | Added 'log' helper - See #97 | Peter Wagenet | 2011-10-24 | 1 | -1/+2 | |
| | | ||||||
* | | Refactor deferred compile to use helper | kpdecker | 2011-10-21 | 1 | -6/+11 | |
| | | ||||||
* | | Defer compilation of templates until needed. | kpdecker | 2011-10-21 | 1 | -7/+13 | |
|/ | ||||||
* | Forgot === for falsy check. | Alan Johnson | 2011-09-05 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug in falsy check on lookups. | Alan Johnson | 2011-09-05 | 1 | -1/+2 | |
| | ||||||
* | Fixed errors occurring because of undefined properties on nested paths. | Alan Johnson | 2011-09-02 | 1 | -1/+1 | |
| | ||||||
* | Got simple literal expressions added into paths. | Alan Johnson | 2011-09-02 | 1 | -5/+13 | |
| | ||||||
* | The missing semicolon is breaking our code when we minify. | Mark DiMarco | 2011-09-01 | 1 | -1/+2 | |
| | ||||||
* | Fixed missing var in compiler code causing compilerWords to be global. | Alan Johnson | 2011-08-15 | 1 | -1/+1 | |
| | ||||||
* | Make sure options.hash is an empty {} if no hash is present to eliminate ↵ | tomhuda | 2011-08-02 | 1 | -4/+7 | |
| | | | | necessary guards in helpers | |||||
* | Do not perform unnecessary self-assign | kpdecker | 2011-07-31 | 1 | -1/+3 | |
| | ||||||
* | Do not buffer for simple programs (1 statement) | kpdecker | 2011-07-31 | 1 | -5/+21 | |
| | ||||||
* | Optimize the populate call logic for the simple cases | kpdecker | 2011-07-31 | 1 | -17/+21 | |
| | ||||||
* | knownHandlers and knownHandlersOnly compile options. | kpdecker | 2011-07-31 | 1 | -11/+45 | |
| | ||||||
* | Access context objects directly rather than using currentContext var. | kpdecker | 2011-07-31 | 1 | -16/+10 | |
| | ||||||
* | Convert children to nested functions. Reuse identifiers by closure where ↵ | kpdecker | 2011-07-31 | 1 | -52/+43 | |
| | | | | possible. | |||||
* | Alias self -> this | kpdecker | 2011-07-31 | 1 | -3/+4 | |
| | ||||||
* | Move aliases and registers into context object. | kpdecker | 2011-07-31 | 1 | -14/+17 | |
| | ||||||
* | Use x = a[y] || b[y] rather than if exists lookup | kpdecker | 2011-07-31 | 1 | -8/+6 | |
| | ||||||
* | Minimizable id aliases. | kpdecker | 2011-07-31 | 1 | -7/+20 | |
| | ||||||
* | buffer += | kpdecker | 2011-07-31 | 1 | -1/+1 | |
| | ||||||
* | Avoid eval when running in VM+Compiler mode | kpdecker | 2011-07-30 | 1 | -21/+29 | |
| | ||||||
* | Temporary Handlebars.compile implementation in compiler | kpdecker | 2011-07-30 | 1 | -0/+6 | |
| | ||||||
* | Expose Handlebars.precompile method from the compiler. | kpdecker | 2011-07-30 | 1 | -0/+6 | |
| | ||||||
* | Fix module loading within node | kpdecker | 2011-07-30 | 1 | -1/+1 | |
| | ||||||
* | Phase 2 of precompiled extraction: | kpdecker | 2011-07-30 | 1 | -8/+10 | |
| | | | Use string representations to pass around the function context | |||||
* | Phase 1 of precompiled extraction: | kpdecker | 2011-07-30 | 1 | -30/+5 | |
| | | | Separate template logic from container construction. | |||||
* | Break compiler and vm logic into separate files. | kpdecker | 2011-07-30 | 1 | -0/+700 | |