aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-01Compress boolean constants after evaluationMihai Bazon
Close #137
2013-02-22Add licenseMihai Bazon
Close #131
2013-02-19Fix compressing `do {...} while (false)`Mihai Bazon
It's not safe to transform it to {...} because the body might contain `break`. The solution could be more elaborate (detect if body contains `break`) but I don't think it's worth the trouble. Close #129
2013-02-14v2.2.5Mihai Bazon
2013-02-06Force space after literal regexp when used in "instanceof" or "in"Mihai Bazon
Close #118
2013-02-06Give up evaluating (unary-prefix '-' 0)Mihai Bazon
Close #117 ------ JS, WHY YOU SUCK SO BADLY? ;-(
2013-02-06Fix parens for NaNMihai Bazon
Close #116
2013-02-06Fix parens for negative numbersMihai Bazon
Close #115
2013-02-06Fix parens for AST_NewMihai Bazon
Close #114
2013-02-06Fix handling of constantsMihai Bazon
Close #113
2013-02-05Ugly hack to print comments before return/throw statementsMihai Bazon
Close #112
2013-02-03Merge pull request #111 from mattrobenolt/safer-sourcemapMihai Bazon
Wraps sourceMappingURL in a multiline comment. Fixes #108
2013-02-03Wraps sourceMappingURL in a multiline comment. Fixes #108Matt Robenolt
2013-02-01v2.2.4Mihai Bazon
2013-02-01Fix end token for Assign nodesMihai Bazon
2013-01-31Merge pull request #94 from paulmillr/patch-1Mihai Bazon
Add better fromstring docs.
2013-01-24Merge pull request #106 from gibson042/105Mihai Bazon
Fix #105: property comparison to undefined is not always safe
2013-01-23Fix #105: property comparison to undefined is not always safeRichard Gibson
2013-01-20Add --source-map-url optionMihai Bazon
Fix #100 Fix #47
2013-01-17[AST_Hole] the print function can be a no-op.Mihai Bazon
2013-01-17Fix output for arrays containing undefined values.David Glasser
1b6bcca7 was a first attempt at this. That commit made Uglify stop replacing holes with undefined, but instead it started replacing undefined with holes. This is slightly problematic, because there is a difference between a hole and an undefined value. More problematically, it changed [1,undefined] to [1,] which generally doesn't even parse as a hole (just as a trailing comma), so it didn't even preserve the length of the array! Instead, parse holes as their own special AST node which prints invisibly.
2013-01-17Merge pull request #98 from ForbesLindesay/patch-1Mihai Bazon
Update installation instructions
2013-01-17Handle String() with no arguments.Mihai Bazon
Fix #91
2013-01-17Update installation instructions re #4Forbes Lindesay
2013-01-13Add better fromstring docs.Paul Miller
2013-01-08Merge pull request #90 from jakearchibald/patch-1Mihai Bazon
Compressor options use underscores rather than hyphens
2013-01-08Compressor options use underscores rather than hyphensJake Archibald
2013-01-04v2.2.3Mihai Bazon
2013-01-04Fix handling of labels in nested scopesMihai Bazon
2013-01-04Support `output`, `mangle` and `compress` options to `UglifyJS.minify`.Mihai Bazon
Close #57 Close #86 Close #33
2013-01-03Merge pull request #87 from BenoitZugmeyer/masterMihai Bazon
Add a --version option
2013-01-03Set --version as a boolean #87Benoît Zugmeyer
2013-01-03--version optionBenoît Zugmeyer
2013-01-02Implement `-m sort=true`Mihai Bazon
close #83
2012-12-22Accept string or number as name of an accessor.Mihai Bazon
[not sure I'm happy about this fix] Reference mishoo/UglifyJS#478
2012-12-21Optimize new Array(1, 2, 3) → [1, 2, 3]Mihai Bazon
Close #74
2012-12-21Fix output when semicolons is off.Mihai Bazon
(need to force a semicolon for the empty body of an `if`) Close #72
2012-12-12Small cleanupMihai Bazon
2012-12-06v2.2.2Mihai Bazon
2012-12-06Add proper parens in "NoIn" expressions.Mihai Bazon
fix #60.
2012-12-05small improvement on merging assignments into hoisted varsMihai Bazon
2012-12-05When hoisting variables, try to merge in assignments that follow.Mihai Bazon
2012-11-30Revert "Fixed reading from STDIN."Mihai Bazon
It breaks usage like this: echo '...code...' | uglifyjs This reverts commit e48802ad291fae5a16f2d23cbd25a0c433cdbe48.
2012-11-30Add test for issue #59Mihai Bazon
2012-11-30Don't messup compressor stack while optimizing SwitchMihai Bazon
Fix #59
2012-11-29Merge pull request #58 from roxeteer/masterMihai Bazon
Fixed reading from STDIN
2012-11-29Fixed reading from STDIN.Visa Kopu
2012-11-24fix #55Mihai Bazon
2012-11-23v2.2.1Mihai Bazon
2012-11-23fix for https://github.com/mishoo/UglifyJS/issues/474Mihai Bazon