Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-08 | Add option `keep_fargs`. | Mihai Bazon | |
By default it's `false`. Pass `true` if you need to keep unused function arguments. Close #188. | |||
2014-02-06 | Simplify nested conditionals if possible | Matt Basta | |
2014-01-31 | Fix if_return dropping the alternative. Close #413 | Mihai Bazon | |
2014-01-26 | Merge branch 'master' of github.com:mishoo/UglifyJS2 | Mihai Bazon | |
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-21 | Fix end token for conditionals. Close #404 | 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-08 | Better process_for_angular before other statement reductions. #395 | Mihai Bazon | |
2014-01-08 | Support @ngInject with `angular` compressor option. Close #395. | Mihai Bazon | |
2014-01-07 | doh. | Mihai Bazon | |
2014-01-07 | minor: exp["10"] => exp[10] | Mihai Bazon | |
2014-01-05 | Fix parens for property access -- (foo, bar)["baz"] | Mihai Bazon | |
2013-12-29 | Conditional/call optimization | Mihai Bazon | |
foo ? bar(x) : bar(y) ==> bar(foo ? x : y) | |||
2013-12-22 | Mark `yield` as reserved word. Close #375. | Mihai Bazon | |
2013-12-22 | Optimize seq,void 0. Close #377. | Mihai Bazon | |
(x, void 0) => void x (x, undefined) => void x | |||
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-12-18 | Add option to adjust the src/target line in the source map | Mihai Bazon | |
2013-12-16 | minor | Mihai Bazon | |
2013-12-16 | bugfix #242 | colorhook | |
2013-12-10 | semicolons | Mihai Bazon | |
2013-12-10 | Merge pull request #245 from ForbesLindesay/patch-1 | Mihai Bazon | |
Make `DefaultsError` a real `Error` object | |||
2013-12-10 | Add `drop_console` option to the compressor | Mihai Bazon | |
2013-12-10 | minor | Mihai Bazon | |
2013-12-05 | AST_Catch shouldn't really inherit from AST_Scope. Fix #363 | Mihai Bazon | |
I hereby acknowledge that figure_out_scope has become a mess. | |||
2013-11-28 | Properly scope `catch` identifier when --screw-ie8 | Mihai Bazon | |
Fix #344 | |||
2013-11-28 | Add --noerr to turn off argument name checking | Mihai Bazon | |
for now only used for keys passed to `-c` or `-b`. | |||
2013-11-20 | Fix faulty compression | Mihai Bazon | |
`String(x + 5)` is not always the same as `x + "5"`. Overlooked that. :-( Close #350 | |||
2013-11-08 | Only descend twice after drop_unused if it's the same node type. | Mihai Bazon | |
Fix #345 | |||
2013-11-06 | Better fix for #343 | Mihai Bazon | |
We can in fact lift sequences, but only if the operation is assignment and the left-hand side has no side effects nor property access -- that should guarantee that whatever we place before it cannot affect the sense of the assignment. Dropped contrived test case (too hard to support it now), added a more meaningful one. | |||
2013-11-06 | Do not lift sequence from right-hand side of binary operation. Fix #343 | Mihai Bazon | |
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 regression after e4c530240650535d1cb46569dfb013193471af05 | Mihai Bazon | |
`x * (y * z)` ==> `x * y * z` -- the better place to do this is in the compressor rather than codegen. | |||
2013-10-30 | indentation | Mihai Bazon | |
2013-10-30 | Fix output for `x = 2 * (a % b / b * c)` | Mihai Bazon | |
(issue #337) | |||
2013-10-30 | minor | Mihai Bazon | |
2013-10-29 | Disallow reversal where lhs has higher or equal precedence | Richard van Velzen | |
Fixes #267 | |||
2013-10-29 | Fix typo | Mihai Bazon | |
2013-10-29 | Avoid shadowing name of function expression with function argument | Mihai Bazon | |
Close #179, #326, #327 | |||
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-10-26 | Fix RHS concat (raised in #330) | Richard van Velzen | |
When attempting to concat the left-side of the rhs, make sure the rhs is a string. | |||
2013-10-24 | Fix #269 | Richard van Velzen | |
Shorten most primitives where possible. Also optimize some edge cases. | |||
2013-10-23 | Fix #280 | Richard van Velzen | |
The `init` of the `ForStatement` is not a `BlockStatement` before it was descended. The descend has to happen first, and *then* the actual checks. |