aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-04Merge pull request #529 from RReverser/masterMihai Bazon
Added example for usage with SpiderMonkey AST
2014-08-04Added example for usage with SpiderMonkey AST.Ingvar Stepanyan
2014-08-04Merge branch 'master' of https://github.com/RReverser/UglifyJS2Mihai Bazon
2014-08-03Install newest NPM on oldest Node.js.Ingvar Stepanyan
2014-08-03Added generative testing for AST conversions.Ingvar Stepanyan
2014-08-03Merge branch 'patch-1' of https://github.com/gdw2/UglifyJS2Mihai Bazon
2014-08-03SpiderMonkey `Identifier` nodes should contain mangled names.Ingvar Stepanyan
2014-08-02Small fixes for AST conversion.Ingvar Stepanyan
2014-08-01Fixes 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-01Improved 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-07-28Added licensegdw2
2014-07-18Fix parens for AST_UndefinedMihai Bazon
Do the same as for AST_Unary, since we output undefined as `void 0`. Reported at https://github.com/mishoo/UglifyJS2/issues/338#issuecomment-48858341
2014-07-09v2.4.15Mihai Bazon
2014-07-09Lock source-map to 0.1.34Mihai Bazon
2014-07-01Check for the case an AST_For's init is an EmptyStatementMihai Bazon
(lame fix for #503)
2014-07-01Evaluate "foo".length ==> 3Dan Wolff
2014-06-26Merge pull request #499 from shinnn/masterMihai Bazon
Update .travis.yml to pass the test on Travis CI
2014-06-26Do not run a test for Node v0.4Shinnosuke Watanabe
Travis CI doesn’t support Node v0.4. http://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Provide d-Node.js-Versions
2014-06-12v2.4.14Mihai Bazon
2014-04-27Actually, even better. #475Mihai Bazon
- also handle x = + ++y, x = - --y; - don't use parens, a space suffices.
2014-04-27Better fix for #475Mihai Bazon
2014-04-27Fix parens in +(+x). Close #475Mihai Bazon
2014-04-24Merge branch 'master' of github.com:mishoo/UglifyJS2Mihai Bazon
2014-04-24Merge pull request #445 from ConradIrwin/try-statementMihai Bazon
Handle TryStatements trees from acorn >=0.2.0
2014-04-18Update tests.Mihai Bazon
2014-04-18Always quote property names that contain non-ASCII characters.Mihai Bazon
Fix #328
2014-04-13Merge pull request #470 from ebednarz/masterMihai Bazon
Fix sourceMapIncludeSources exception in Node API
2014-04-13add sourceMappingUrl to output in node moduleOiNutter
If options.outSourceMap is specified the sourceMappingURL comment should be appended to the output stream
2014-04-13Fix sourceMapIncludeSources exception in Node APIebednarz
https://github.com/mishoo/UglifyJS2/issues/459
2014-03-24Merge pull request #454 from Arnavion/allow-colons-in-wrap_encloseMihai Bazon
Allow colons in the pairs passed to AST_Toplevel.wrap_enclose
2014-03-22Allow colons in the pairs passed to AST_Toplevel.wrap_encloseArnavion
2014-03-11v2.4.13Mihai Bazon
2014-03-06Handle TryStatements trees from acorn >=0.2.0Conrad Irwin
2014-03-03Merge pull request #439 from Arnavion/null-source-in-sourcemapMihai Bazon
Handle the case when SourceMapConsumer.originalPositionFor returns null source.
2014-03-02Handle the case when SourceMapConsumer.originalPositionFor returns null source.Arnavion
This happens when SourceMapConsumer does not have a valid position to map the input line and column. This is a change in mozilla/source-map starting from version 0.1.33 Fixes #436
2014-02-14Mangle name of exception when --screw-ie8. Fix #430.Mihai Bazon
The effect of not mangling it was visible only with --screw-ie8 (otherwise the names would be mangled exactly because they leaked into the parent scope).
2014-02-08Add option `keep_fargs`.Mihai Bazon
By default it's `false`. Pass `true` if you need to keep unused function arguments. Close #188.
2014-02-07Merge pull request #424 from mattbasta/simplify_conditionalsMihai Bazon
Simplify nested conditionals if possible
2014-02-06Simplify nested conditionals if possibleMatt Basta
2014-02-06Merge pull request #422 from mourner/patch-1Mihai Bazon
Fix readme typo (when -> with)
2014-02-06fix readme typo (when -> with)Vladimir Agafonkin
2014-01-31Fix if_return dropping the alternative. Close #413Mihai Bazon
2014-01-26Update source-mapMihai Bazon
2014-01-26Merge branch 'sourcesContent' of https://github.com/arty-name/UglifyJS2 into ↵Mihai Bazon
arty-name-sourcesContent
2014-01-26v2.4.12Mihai Bazon
2014-01-26Merge branch 'master' of github.com:mishoo/UglifyJS2Mihai Bazon
2014-01-26Merge pull request #408 from danielstutzman/escape-null-in-regexMihai Bazon
Don't unescape \x00 in regexes (it breaks IE8)
2014-01-26Move unescaping regexps under a codegen option (`unescape_regexps`)Mihai Bazon
2014-01-25Don't unescape \x00 in regexes (it breaks IE8)Daniel Stutzman
2014-01-21v2.4.11Mihai Bazon