Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-24 | Optimize if_return for single if/return cases. | kzc | |
Fixes #1089 | |||
2016-05-24 | Completely allow evaluating -0 | Richard van Velzen | |
2016-05-17 | Never produce -0 when evaluating expressions (like -"") | Richard van Velzen | |
Fix for #1085. The major case was already there, but more expressions can result in -0. | |||
2016-05-15 | Simplify iife `new` fix | kzc | |
as suggested by @rvanvelzen. Added a test for IIFEs in nested contexts. | |||
2016-05-09 | Do not apply negate_iife optimization to `new` expression | kzc | |
2016-05-04 | Retain comments before AST_Constants during mangle. | kzc | |
2016-05-04 | Handle CR line endings in comments. | kzc | |
Fixes #1050 | |||
2016-04-23 | Hoist functions when reversing if (x) return; ... vs. if (!x) ... | Richard van Velzen | |
Fixes #1052 | |||
2016-04-19 | Add `passes` compress option. Fix duplicate compress warnings. | kzc | |
2016-04-16 | Parse comments without recursion to avoid RangeError. | kzc | |
Fixes #993 | |||
2016-04-13 | Prevent endless recursion when evaluating self-referencing consts | Richard van Velzen | |
Fix #1041 | |||
2016-04-12 | Actually limit sequence length. | Mihai Bazon | |
Fix #1038 | |||
2016-04-11 | Fix warnings for referenced non-hoisted functions. | kzc | |
Fixes #1034 Also added `expect_warnings` functionality to test framework. | |||
2016-04-07 | Simplify member(name, array) implementation. | kzc | |
2016-04-07 | Avoid using inherited hasOwnProperty | Mihai Bazon | |
Fix #1031 | |||
2016-04-02 | Optimize ternaries with boolean consequent or alternative. | kzc | |
Fixes #511 | |||
2016-03-28 | Speedup `unused` compress option for already minified code | kzc | |
Fixes: #321 #917 #1022 | |||
2016-03-24 | Merge pull request #1011 from kzc/dont-produce-let-in-mangle | Mihai Bazon | |
Do not produce `let` as a variable name in mangle. | |||
2016-03-24 | Escape all ASCII control characters within strings when using ascii_only. | kzc | |
Fixes #1017. Tab characters within strings are now output as `\t` in all output modes. | |||
2016-03-15 | Do not produce `let` as a variable name in mangle. | kzc | |
Would previously occur in large generated functions with 21,000+ variables. Fixes #986. | |||
2016-03-14 | Fix: Uglified Number.prototype functions on big numbers | philippsimon | |
2016-02-27 | #877 Ignore mangle sort option | kzc | |
2016-02-22 | boolean_expression ? true : false --> boolean_expression | kzc | |
2016-02-21 | Take operator || precendence into account for AST_If optimization. | kzc | |
Fixes #979. | |||
2016-02-17 | preserve ThisBinding for side_effects | alexlamsl | |
2016-02-16 | Don't compress (0, eval)() to eval() | Richard van Velzen | |
2016-02-16 | Preserve ThisBinding in conditionals & collapse_vars | alexlamsl | |
Fixes #973 | |||
2016-02-10 | Revert "using the original sourcemap as the base" | sergeyv | |
This reverts commit ad18689d926d25c7a25b95c630c2ad05b7b5f5b5. Reason for revert: introduce issue #882 Currently, generated sourcemap contains copy of all existing mappings and adds new mappings from uglified code to original one. However, previous mapping are no longer valid and shouldn't be added. | |||
2016-01-29 | collapse_vars: avoid replacement across AST_Case nodes to be on safe side ↵ | kzc | |
even though no issues seen. | |||
2016-01-28 | collapse_vars: fix if/else and ternary operator side effects | kzc | |
2016-01-28 | collapse_vars: fix bug in repeated var defs of same name | kzc | |
2016-01-27 | fix bug in collapse_vars for right side of "||" and "&&" | kzc | |
2016-01-27 | Collapse single use var definitions | kzc | |
Fix #721 | |||
2016-01-27 | Add start/end in the `arguments` definition | Mihai Bazon | |
(keeps my https://github.com/mishoo/jsinfo.el working) | |||
2016-01-20 | Merge pull request #928 from STRML/constPragma | Richard van Velzen | |
Mark vars with /** @const */ pragma as consts so they can be eliminated. | |||
2016-01-20 | Tighten up @const regex. | Samuel Reed | |
2016-01-20 | Simplify by skipping extra tree walk. | Samuel Reed | |
2016-01-20 | Use TreeWalker for more accurate @const results and update tests | Samuel Reed | |
2016-01-19 | Mark vars with /** @const */ pragma as consts so they can be eliminated. | Samuel Reed | |
Fixes older browser support for consts and allows more flexibility in dead code removal. | |||
2016-01-19 | Allow operator names as getters/setters | Anthony Van de Gejuchte | |
Fixes #919 Fix provided by @kzc | |||
2016-01-19 | Add some tests for comment-filters through api | Anthony Van de Gejuchte | |
Also never bother comment options to filter comment5/shebang comments as they have their custom filter. | |||
2016-01-14 | Never mangle arguments and keep them in their scope | Anthony Van de Gejuchte | |
Fixes #892 Helped-by: kzc | |||
2016-01-14 | Merge pull request #905 from avdg/unit-tests | Richard van Velzen | |
Add unit tests | |||
2016-01-05 | Fix hoisting the var in ForIn | Mihai Bazon | |
Close #913 | |||
2015-12-27 | Fix ch that could contain other newline characters | Anthony Van de Gejuchte | |
2015-12-26 | Do not allow newlines in string literals | Anthony Van de Gejuchte | |
2015-12-26 | Merge pull request #874 from kzc/fix-conditionals | Richard van Velzen | |
#873 Fix `conditionals` optimizations with default compress options | |||
2015-12-17 | Semicolon after do...while statement is optional | Anthony Van de Gejuchte | |
2015-11-24 | #873 Fix `conditionals` optimizations with default compress options | kzc | |
2015-11-16 | Fix endless loop | Mihai Bazon | |
Close #866 |