Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | v2.0.0-beta.1v2.0.0-beta.1 | kpdecker | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Render false literal as “false” | kpdecker | 2014-08-25 | 2 | -2/+4 |
| | | | Fixes #827 | ||||
* | Prune unused code | kpdecker | 2014-08-25 | 5 | -8/+4 |
| | |||||
* | Expose default compatibility wrapper for umd build | kpdecker | 2014-08-25 | 2 | -0/+4 |
| | |||||
* | Add template isTop flag | kpdecker | 2014-08-25 | 1 | -0/+1 |
| | |||||
* | Fix compiler version tag | kpdecker | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | Rev runtime version | kpdecker | 2014-08-25 | 1 | -2/+3 |
| | |||||
* | Refactor content blocks to ignore lines | kpdecker | 2014-08-25 | 1 | -57/+31 |
| | | | | | We can simplify our previous standalone determination logic by merging content blocks again. Fixes #854 | ||||
* | Expose escapeExpression on the root object | kpdecker | 2014-08-25 | 1 | -0/+1 |
| | |||||
* | Allow passing depths to _child | kpdecker | 2014-08-25 | 2 | -6/+6 |
| | |||||
* | Optimize compiler opcode call | kpdecker | 2014-08-24 | 1 | -1/+3 |
| | |||||
* | Additional test coverage cleanup | kpdecker | 2014-08-23 | 2 | -8/+5 |
| | | | Also fixes the template._child implementation which broke with the depthed work. | ||||
* | Restore helperMissing for ambiguous statements | kpdecker | 2014-08-23 | 1 | -1/+2 |
| | | | | Fixes #318 (regression) Partial fix for #783 | ||||
* | Cleanup from code coverage report | kpdecker | 2014-08-23 | 3 | -16/+12 |
| | |||||
* | Move strip processing into AST helper logic | kpdecker | 2014-08-23 | 3 | -53/+67 |
| | | | | | We already have to track these behaviors for the standalone parsing and rather than having two whitespace pruning implementations this moves all of the behavior into one place. Fixes #852 | ||||
* | Replace string value rather than add omit flag | kpdecker | 2014-08-23 | 2 | -3/+4 |
| | |||||
* | Add original value tracking to ContentNode | kpdecker | 2014-08-23 | 1 | -1/+1 |
| | |||||
* | Merge branch 'refactor-parser' of github.com:mmun/handlebars.js into ↵ | kpdecker | 2014-08-23 | 3 | -174/+177 |
|\ | | | | | | | | | | | | | | | | | mmun-refactor-parser Conflicts: lib/handlebars/compiler/ast.js spec/ast.js src/handlebars.yy | ||||
| * | Refactor blocks, programs and inverses | Martin Muñoz | 2014-07-29 | 3 | -46/+56 |
| | | |||||
* | | Optimize replaceStack for inline methods | kpdecker | 2014-08-23 | 1 | -40/+24 |
| | | | | | | Only use case was with inline input so most of this code was unnecessary. | ||||
* | | Remove unnecessary stack variable from blockHelper | kpdecker | 2014-08-23 | 1 | -4/+4 |
| | | |||||
* | | Do not flush subexpressions | kpdecker | 2014-08-23 | 1 | -7/+0 |
| | | | | | | | | | | | | They are no longer duplicated with the new helper calling pattern and this also introduced stack corruption issues due to improper value lookups. Fixes #767 Fixes #768 | ||||
* | | Fix undefined handling for pathed lookups | kpdecker | 2014-08-15 | 1 | -4/+3 |
| | | | | | | | | Fixes #837 | ||||
* | | Strip dead code from javascript compiler | kpdecker | 2014-08-15 | 1 | -9/+2 |
| | | |||||
* | | Fix compat partial exec without data | kpdecker | 2014-08-15 | 1 | -0/+2 |
| | | |||||
* | | Make depthed lookup call non-literal | kpdecker | 2014-08-15 | 1 | -1/+1 |
| | | | | | | Prevents duplicate calls from being made. | ||||
* | | Provide better error on unexpected template | kpdecker | 2014-08-15 | 1 | -0/+4 |
| | | | | | | Fixes #806 | ||||
* | | Additional test coverage | kpdecker | 2014-08-15 | 1 | -1/+1 |
| | | |||||
* | | Remove nested function eval in blockHelperMissing | kpdecker | 2014-08-14 | 1 | -2/+0 |
| | | | | | | This only worked when a function returned a function, which was then evaluated. This seems like unexpected behavior so this was dropped. | ||||
* | | Fix compiler program de-duping | kpdecker | 2014-08-14 | 1 | -9/+19 |
| | | |||||
* | | Drop unused Compiler.disassemble method | kpdecker | 2014-08-14 | 1 | -24/+0 |
| | | |||||
* | | Drop unused DECLARE opcode | kpdecker | 2014-08-14 | 2 | -9/+1 |
| | | |||||
* | | Drop unused registerHelper inverse parameter | kpdecker | 2014-08-14 | 1 | -3/+2 |
| | | |||||
* | | Increase test coverage a touch | kpdecker | 2014-08-14 | 5 | -6/+9 |
| | | |||||
* | | Implement partial recursive lookup | kpdecker | 2014-08-14 | 2 | -7/+10 |
| | | |||||
* | | Inherit compat flag for partials | kpdecker | 2014-08-14 | 2 | -3/+6 |
| | | |||||
* | | Implement recursive field lookup in compat mode | kpdecker | 2014-08-13 | 3 | -8/+32 |
| | | | | | | | | | | | | Provides the mustache behavior of recursive lookup without the use of depthed paths. Note that this does incur a fairly dramatic performance penalty for depthed queries. | ||||
* | | Avoid depth construction overhead for non-depthed | kpdecker | 2014-08-13 | 1 | -1/+1 |
| | | |||||
* | | Use depths array rather than passing array args | kpdecker | 2014-08-13 | 2 | -33/+36 |
| | | | | | | Approximately doubles the throughput performance of depthed templates and clears the way for doing recursive path lookups in pathed mode. | ||||
* | | Create contextName helper for context lookup | kpdecker | 2014-08-13 | 2 | -8/+12 |
| | | |||||
* | | Render indent for standalone partials | kpdecker | 2014-08-12 | 3 | -7/+20 |
| | | |||||
* | | Drop omitted content tags from generated output | kpdecker | 2014-08-12 | 1 | -1/+3 |
| | | |||||
* | | Flag standalone nodes in the AST | kpdecker | 2014-08-12 | 1 | -3/+138 |
| | | |||||
* | | Track root status in ProgramNode constructor | kpdecker | 2014-08-12 | 1 | -6/+6 |
| | | |||||
* | | Remove unused JSCompiler.register method | kpdecker | 2014-08-11 | 1 | -5/+0 |
| | | |||||
* | | Support inverse sections on the with helper | Dan Manges | 2014-07-16 | 1 | -0/+2 |
|/ | |||||
* | Do not lookup pathed helpers on the helper stack | kpdecker | 2014-07-12 | 2 | -6/+5 |
| | | | | Fixes #764 | ||||
* | Fix rendering of paths that resolve to zero | kpdecker | 2014-07-12 | 1 | -1/+1 |
| | | | | Fixes #820 | ||||
* | Use ID lookup for ambiguous helper evaluation | kpdecker | 2014-07-07 | 2 | -1/+4 |
| | | | Final change for #731 | ||||
* | Rework lookup null protector logic | kpdecker | 2014-07-06 | 2 | -64/+67 |
| | | | | | | | - Move the lookup null protection out of `nameLookup` and into that contexts that are aware of the needs for falsy vs. not displayed values. - Optimize lookup for nested path operations Fixes #731 | ||||
* | Move lambda resolution to runtime | kpdecker | 2014-07-06 | 2 | -4/+6 |
| | | | This has a very positive impact on precompiled output size, particularly for known-helpers cases, and little or no impact on the throughput numbers. | ||||
* | Move precompiler to safer location | kpdecker | 2014-07-05 | 1 | -9/+13 |
| | | | | | Attempts to avoid some of the Node vs. ES6 confusion between the different styles within the application. Also adds some simple tests in addition to the integration test. | ||||
* | Merge pull request #795 from jwietelmann/master | Kevin Decker | 2014-07-05 | 1 | -0/+140 |
|\ | | | | | Turn the precompile script into a wrapper around a module. | ||||
| * | Stupid line ending | Joel Wietelmann | 2014-05-10 | 1 | -1/+1 |
| | | |||||
| * | Turning CLI precompiler into a wrapper around a module. | Joel Wietelmann | 2014-05-10 | 1 | -0/+140 |
| | | |||||
* | | Remove disassemble log statement | kpdecker | 2014-06-28 | 1 | -3/+1 |
| | | | | | | Fixes #772 | ||||
* | | Provide clear throw on {{#each}} | kpdecker | 2014-05-27 | 1 | -3/+1 |
| | | | | | | Fixes #773 | ||||
* | | v2.0.0-alpha.4v2.0.0-alpha.4 | kpdecker | 2014-05-19 | 1 | -1/+1 |
| | | |||||
* | | Expose setup wrappers for compiled templates | kpdecker | 2014-05-19 | 1 | -2/+8 |
| | | |||||
* | | v2.0.0-alpha.3v2.0.0-alpha.3 | kpdecker | 2014-05-19 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #797 from tomdale/full-helper-names | Kevin Decker | 2014-05-19 | 1 | -1/+1 |
|\ \ | | | | | | | Pass full helper ID to helperMissing when options are provided | ||||
| * | | Pass full id to helperMissing | Tom Dale | 2014-05-13 | 1 | -1/+1 |
| |/ | |||||
* | | Ensure isHelper is coerced to a boolean | Martin Muñoz | 2014-05-05 | 1 | -1/+1 |
|/ | |||||
* | Refactor template init logic | kpdecker | 2014-04-13 | 1 | -18/+22 |
| | |||||
* | v2.0.0-alpha.2v2.0.0-alpha.2 | kpdecker | 2014-03-06 | 1 | -1/+1 |
| | |||||
* | Fix evaluation of paths and subexprs | kpdecker | 2014-03-05 | 2 | -8/+9 |
| | | | Fixes #743 | ||||
* | Merge pull request #749 from jenseng/option_subexpressions_fix | Kevin Decker | 2014-03-05 | 2 | -10/+9 |
|\ | | | | | properly handle multiple subexpressions in the same hash, fixes #748 | ||||
| * | properly handle multiple subexpressions in the same hash, fixes #748 | Jon Jensen | 2014-02-20 | 2 | -10/+9 |
| | | | | | | | | | | push all hash params before popping any so as to avoid the last stackN var stomping previous ones | ||||
* | | fix bug in IE<=8 (no Array::map), closes #751 | Jon Jensen | 2014-03-04 | 1 | -9/+11 |
|/ | | | | | | | looks like this broke in 2812fe27 also s/this.i/var i/, since the functions that needed it were removed in a1edab6ef | ||||
* | vv2.0.0-alpha.1v2.0.0-alpha.1 | kpdecker | 2014-02-10 | 1 | -1/+1 |
| | |||||
* | Update compiler revision info | kpdecker | 2014-02-10 | 1 | -2/+3 |
| | |||||
* | Add child accessor API | kpdecker | 2014-02-09 | 2 | -2/+14 |
| | |||||
* | Add support for depthed resolution of data fields | kpdecker | 2014-02-09 | 4 | -8/+16 |
| | |||||
* | Implement lookup helper | kpdecker | 2014-02-09 | 2 | -1/+6 |
| | |||||
* | Make raw blocks operate like blocks | kpdecker | 2014-02-09 | 1 | -3/+8 |
| | |||||
* | raw block helpers | Jesse Ezell | 2014-02-09 | 1 | -0/+9 |
| | |||||
* | Optimize buffer generate first and all edge cases | kpdecker | 2014-02-09 | 1 | -26/+39 |
| | |||||
* | Merge pull request #729 from wycats/precompile-literal | Kevin Decker | 2014-02-08 | 2 | -82/+92 |
|\ | | | | | Convert template spec to object literal | ||||
| * | Convert template spec to object literal | kpdecker | 2014-02-06 | 2 | -82/+92 |
| | | | | | | This allows for metadata to be associated with the template and a simplification of the template init logic. | ||||
* | | Remove unnecessary conditional | kpdecker | 2014-02-06 | 1 | -3/+1 |
|/ | |||||
* | Optimize initData for root defined case | kpdecker | 2014-01-18 | 1 | -2/+2 |
| | |||||
* | Add partial and helper unregister APIs | kpdecker | 2014-01-18 | 1 | -0/+6 |
| | | | Fixes #669 | ||||
* | Fix handler execution in nondata/nonid mode | kpdecker | 2014-01-17 | 1 | -4/+7 |
| | |||||
* | Add contextPath tracking in builtin helpers | kpdecker | 2014-01-17 | 2 | -2/+36 |
| | |||||
* | Add trackIds compiler flag | kpdecker | 2014-01-17 | 3 | -4/+45 |
| | | | | Allows helpers that care about where a particular field came from derive this data while maintaining backward compatibility with existing helpers. | ||||
* | Fix missing parameters for pathed mustaches | kpdecker | 2014-01-17 | 3 | -7/+9 |
| | | | Fixes #658 | ||||
* | Allow decimal number values | kpdecker | 2014-01-17 | 3 | -8/+8 |
| | | | Fixes #472 | ||||
* | Allow implicit context iteration with each | kpdecker | 2014-01-17 | 1 | -0/+6 |
| | | | Fixes #671 | ||||
* | Implement partial hash evaluation | kpdecker | 2014-01-17 | 3 | -5/+15 |
| | |||||
* | Add partial hash parser support | kpdecker | 2014-01-17 | 2 | -2/+8 |
| | |||||
* | Improve usefulness of extend util, properly use namespace property, update ↵ | Blake Embrey | 2014-01-16 | 4 | -29/+41 |
| | | | | setup options to use a hash helper. | ||||
* | Merge pull request #634 from wycats/name-option | Kevin Decker | 2014-01-15 | 3 | -22/+19 |
|\ | | | | | It would be great to have the helper name passed to `blockHelperMissing` | ||||
| * | Cleanup now unused code in jscompiler | kpdecker | 2014-01-06 | 1 | -5/+4 |
| | | |||||
| * | Include name option for all helper calls | kpdecker | 2014-01-06 | 3 | -19/+17 |
| | | | | | | | | | | | | | | | | All helper calls will have access to `options.name` which is the first id value of the mustache operation. As part of this the helperMissing call has been simplified to remove the indexed name in order to optimize the call. This is a breaking change. Fixes #634 | ||||
* | | Expose the initial context via @root | kpdecker | 2014-01-15 | 2 | -2/+9 |
|/ | |||||
* | Refactor out pushParams method | kpdecker | 2014-01-06 | 1 | -34/+19 |
| | | | Simplifies hash and param push logic | ||||
* | Track stringParams mode in local state vars | kpdecker | 2014-01-06 | 2 | -8/+10 |
| | |||||
* | Fix DATA value in stringParams mode | kpdecker | 2014-01-06 | 1 | -0/+1 |
| | | | | Fixes #699 | ||||
* | Remove redundant conditions. | Blake Embrey | 2014-01-05 | 1 | -4/+1 |
| | |||||
* | Simplify ambiguous code | kpdecker | 2014-01-04 | 2 | -9/+10 |
| | | | | Remove if conditional in favor of boolean failover. |