Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-26 | Move unescaping regexps under a codegen option (`unescape_regexps`) | Mihai Bazon | |
2014-01-25 | Don't unescape \x00 in regexes (it breaks IE8) | Daniel Stutzman | |
2014-01-21 | More chars that cannot be unescaped in regexps. | Mihai Bazon | |
2014-01-19 | Don't unescape byte order marks in regexps | Ville Lautanala | |
2014-01-18 | Don't unescape \x2f (slash) in regexps. #54 | Mihai Bazon | |
2014-01-10 | simplify | Mihai Bazon | |
2014-01-10 | Unescape Unicode sequences in regexps when ascii_only is false. #54 | Mihai Bazon | |
2014-01-05 | Fix parens for property access -- (foo, bar)["baz"] | Mihai Bazon | |
2013-12-18 | Better fix for comments in AST_Exit | Mihai Bazon | |
Close #374 | |||
2013-12-18 | Take out all comments from an AST_Exit's value | Mihai Bazon | |
Fix #372 | |||
2013-10-30 | Workaround for Safari bug | Mihai Bazon | |
Close #313 | |||
2013-10-30 | Fix parsing setters/getters (allow keywords for name). | Mihai Bazon | |
The "key" property was always "set" or "get", which didn't make much sense. Now it'll be the actual name of the setter/getter (AST_Node), and the AST_Accessor object itself, which represents the function, won't store any name. Close #319 | |||
2013-10-30 | Fix output for `x = 2 * (a % b / b * c)` | Mihai Bazon | |
(issue #337) | |||
2013-10-29 | Add "preamble" output option | Mihai Bazon | |
Close #335 | |||
2013-10-28 | Fix codegen for when comments_before is undefined. | Mihai Bazon | |
Fix #333 | |||
2013-09-06 | Avoid printing <!-- in the output (HTML5 comment) | Mihai Bazon | |
2013-09-06 | Support HTML5 comment syntax (enabled by default!) | Mihai Bazon | |
See http://javascript.spec.whatwg.org/#comment-syntax https://github.com/mishoo/UglifyJS/issues/503 https://github.com/marijnh/acorn/issues/62 | |||
2013-08-20 | Move support for `negate_iife` in the compressor, rather than code generator | Mihai Bazon | |
(the code generator doesn't maintain enough context to know whether the return value is important or discarded) Fixes #272 | |||
2013-08-18 | fixes #259: don't unnecessarily quote object properties when --screw-ie8 | Michael Ficarra | |
2013-07-18 | Fix output for arrays whose last element is a hole: [1,,] | David Glasser | |
1529ab96 started to do this (by considering holes to be separate from "undefined") but it still converted [1,,] (length 2, last element hole, trailing comma) to [1,] (length 1, trailing comma) Unfortunately the test suite doesn't really make this clear: the new test here passes with or without this patch because run-tests.js beautifys the expected output (in "make_code"), which does the incorrect transformation! If you make some manual change to arrays.js to make the test fail and see the INPUT and OUTPUT, then you can see that without this fix, [1,,] -> [1,], and with this fix it stays [1,,]. | |||
2013-06-03 | Escape null characters as \x00 | Ville Lautanala | |
Since \0 might be mistakenly interpreted as octal if followed by a number and using literal null is in some cases interpreted as end of string, escape null as \x00. | |||
2013-05-22 | Add `negate_iife` option to the code generator. | Mihai Bazon | |
See discussion in a9511dfbe5c0d96d8cacb87582aa9a19737bbb98 | |||
2013-05-20 | Fix output of statement: `new function(){...};` | Mihai Bazon | |
Close #209 | |||
2013-05-09 | Use the negation hack rather than parens for a toplevel function expression call | Mihai Bazon | |
(only in !beautify mode) | |||
2013-03-31 | Quote objects with numeric keys | Vladimir Zhuravlev | |
2013-03-31 | Don't use \xYY for identifiers | Mihai Bazon | |
Fix #173 | |||
2013-03-31 | Output, to_ascii: Escape non-ascii chars with \xnn instead of \unnnn ↵ | Andreas Lind Petersen | |
whenever possible. | |||
2013-02-06 | Force space after literal regexp when used in "instanceof" or "in" | Mihai Bazon | |
Close #118 | |||
2013-02-06 | Fix parens for NaN | Mihai Bazon | |
Close #116 | |||
2013-02-06 | Fix parens for negative numbers | Mihai Bazon | |
Close #115 | |||
2013-02-06 | Fix parens for AST_New | Mihai Bazon | |
Close #114 | |||
2013-02-05 | Ugly hack to print comments before return/throw statements | Mihai Bazon | |
Close #112 | |||
2013-01-17 | [AST_Hole] the print function can be a no-op. | Mihai Bazon | |
2013-01-17 | Fix 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. | |||
2012-12-21 | Fix output when semicolons is off. | Mihai Bazon | |
(need to force a semicolon for the empty body of an `if`) Close #72 | |||
2012-12-12 | Small cleanup | Mihai Bazon | |
2012-12-06 | Add proper parens in "NoIn" expressions. | Mihai Bazon | |
fix #60. | |||
2012-11-14 | Add support for somewhat preserving line numbers. | Richard van Velzen | |
Usage: uglifyjs2 -b "beautify=0,preserve_line=1" /path/to/js ref #46 | |||
2012-11-07 | fix another small regression | Mihai Bazon | |
we do need parens here: `new (foo.bar().baz)`, but not here: `new foo.bar.baz` | |||
2012-11-07 | fix regression from 5346fb94 (shouldn't parenthesize i++ in x[i++]) | Mihai Bazon | |
2012-11-07 | parenthesize property access when it's the expression in New | Mihai Bazon | |
refs #35 | |||
2012-11-07 | further fix for parens around New (refs #35) | Mihai Bazon | |
2012-11-07 | parenthesize a Call expression when its parent is New | Mihai Bazon | |
fix #35 | |||
2012-11-07 | add proper parens around unary expressions | Mihai Bazon | |
fix #34 | |||
2012-11-05 | print final semicolon | Mihai Bazon | |
close #28 | |||
2012-10-22 | more sequence optimizations (lift some sequences above binary/unary ↵ | Mihai Bazon | |
expressions so that we can avoid parens) | |||
2012-10-17 | add `semicolons` option in the code generator (default: `true`) | Mihai Bazon | |
pass `false` to separate statements with newlines instead of semicolons | |||
2012-10-16 | fix small glitches in source map generation | Mihai Bazon | |
2012-10-13 | add parens to AST_Seq whose parent is AST_Unary | Mihai Bazon | |
2012-10-09 | add AST_Infinity node | Mihai Bazon | |