Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-15 | fix corner case in `rename` (#3481) | Alex Lam S.L | |
fixes #3480 | |||
2018-06-06 | general clean-ups (#3175) | Alex Lam S.L | |
2018-03-27 | fix extra regex slash when going through mozilla AST I/O (#3025) | Fábio Santos | |
This relates to #1929, but in the context of mozilla AST input/output. | |||
2018-03-23 | improve performance (#3020) | Alex Lam S.L | |
- replace `find_if()` with `all()` wherever possible - move ESTree-specific logic out of `figure_out_scope()` | |||
2017-05-15 | fix & improve coverage of `estree` (#1935) | Alex Lam S.L | |
- fix `estree` conversion of getter/setter - fix non-directive literal in `to_mozilla_ast()` - revamp `test/mozilla-ast.js` - reuse `test/ufuzz.js` for code generation - use `acorn.parse()` for creating `estree` - extend `test/ufuzz.js` for `acorn` workaround - catch variable redefinition - non-trivial literal as directive - adjust options for tolerance Miscellaneous - optional semi-colon when parsing directives fixes #1914 closes #1915 | |||
2017-05-12 | remove support for `const` (#1910) | Alex Lam S.L | |
As this is not part of ES5. | |||
2017-04-12 | convert `AST_Seq` from binary tree to array (#1460) | Alex Lam S.L | |
- rename `AST_Seq` to `AST_Sequence` - raise default sequences_limit from 200 to 800 | |||
2016-07-03 | Don't convert all strings to directives from moz-ast | Anthony Van de Gejuchte | |
2016-06-30 | Fix spidermonkey AST (ESTree) export and import, Array holes | kzc | |
Fixes: #1156 #1161 Also add test to exercise Uglify after spidermonkey export/import of itself. | |||
2015-11-12 | Fix output for "use asm" code from SpiderMonkey AST | Mihai Bazon | |
(will only work properly if the SM tree contains "raw" properties for Literal number nodes) | |||
2015-11-02 | simplify mozilla AST RegExpLiteral token parse and handle corner cases of ↵ | kzc | |
regex.pattern better | |||
2015-11-02 | Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags ↵ | kzc | |
rather than non-standard `raw` property. | |||
2015-11-01 | rename To_Moz_Literal to To_Moz_RegExp | kzc | |
2015-11-01 | Fixed RegExp literal in mozilla AST generation/output and added a ↵ | kzc | |
--dump-spidermonkey-ast flag | |||
2015-09-24 | Fix mozilla-ast after module loading changes | Mihai Bazon | |
Need to explicitly qualify stuff now, since it's not evaluated in some global scope. Ref #636 | |||
2015-01-06 | Location fix for Mozilla AST start token. | Ingvar Stepanyan | |
2015-01-06 | Track ending lines/columns; fix end locations in Mozilla AST. | Ingvar Stepanyan | |
2014-08-03 | Added generative testing for AST conversions. | Ingvar Stepanyan | |
2014-08-03 | SpiderMonkey `Identifier` nodes should contain mangled names. | Ingvar Stepanyan | |
2014-08-02 | Small fixes for AST conversion. | Ingvar Stepanyan | |
2014-08-01 | Fixes and improvements for UglifyJS->SM AST conversion. | Ingvar Stepanyan | |
* Explicitly forbidden multiple catch clauses as SM-specific feature. * Simplified describing of UglifyJS->Mozilla AST conversion rules. * Moved alias rules to single place. * Removed usage of dynamic type bindings in generated code (speed-up). | |||
2014-08-01 | Improved UglifyJS<->SpiderMonkey AST conversions. | Ingvar Stepanyan | |
* Added directives recognition in SM AST. * Moved semi-standard SM `Property` type to separate handler. * Added `const` recognition from SM AST. * Removed redundant `this`-as-identifier recognition. * Removed redundant rules for abstract SM types. * Described `CatchClause` using string syntax. * Added support for semi-standard `range` tuple as location source. * Added back-conversion support (to be improved). | |||
2014-03-06 | Handle TryStatements trees from acorn >=0.2.0 | Conrad Irwin | |
2013-04-29 | Workaround for missing `prefix` in UnaryExpression generated by Esprima | Mihai Bazon | |
See #193 | |||
2012-10-13 | fix end tokens in spidermonkey ast import | Mihai Bazon | |
2012-10-09 | added $propdoc to AST nodes and some cleanups | Mihai Bazon | |
hopefully we can make the AST documentation self-generating | |||
2012-10-05 | remove unused code | Mihai Bazon | |
2012-10-05 | fixed import of locations from SpiderMonkey AST | Mihai Bazon | |
2012-10-04 | use the appropriate constructor for symbols | Mihai Bazon | |
2012-10-03 | moving code around | Mihai Bazon | |
2012-10-03 | define AST_Node.from_mozilla_ast(ast) | Mihai Bazon | |
returns an UglifyJS2 AST given a Mozilla AST. Still needs some work to do (need to create specific nodes like AST_SymbolRef, AST_SymbolLambda etc. instead of base AST_Symbol, in order for the mangler/compressor to work properly) |