aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
AgeCommit message (Expand)Author
2013-10-09wrap upMihai Bazon
2013-10-09Don't drop_unused before compression....Mihai Bazon
2013-10-04Rename clean_getters to pure_getters; add pure_funcs.Mihai Bazon
2013-10-02add `clean_getters` compressor option (default `false`)...Mihai Bazon
2013-10-02minor optimization...Mihai Bazon
2013-09-30Fix error in the output minifying `Function("return this")()`Mihai Bazon
2013-09-22More attempts to determine when addition is associative...Mihai Bazon
2013-09-22Actually let's move away those monsters from the evaluate function...Mihai Bazon
2013-09-22More dirty handling of [ ... ].join() in unsafe mode...Mihai Bazon
2013-09-22Evaluate [...].join() if possible: minor bugfix...Dan Wolff
2013-09-19When `unsafe` is set, evaluate [...].join() if possible...Mihai Bazon
2013-09-19Concatenate strings also on the right-hand side of an expression that cannot ......Dan Wolff
2013-09-02Disallow `continue` referring to a non-IterationStatement. Fix #287...Mihai Bazon
2013-08-20Move support for `negate_iife` in the compressor, rather than code generator...Mihai Bazon
2013-08-18fixes #259: don't unnecessarily quote object properties when --screw-ie8Michael Ficarra
2013-08-07Don't drop unused setter argument....Mihai Bazon
2013-08-04Don't pretend to evaluate lambdas...Mihai Bazon
2013-07-25Reverting "added option for dropping unused params"...Mihai Bazon
2013-07-25added option for dropping unused paramsDusan Bartos
2013-06-07Don't swap binary ops when "use asm" is in effect....Mihai Bazon
2013-05-14Only compress code in `new Function` if all arguments are strings.Mihai Bazon
2013-05-14Compress code passed to `new Function` if it's a constant....Mihai Bazon
2013-05-14Fix a["1_1"]...Mihai Bazon
2013-05-08Better fix for equality of typeof ... against "undefined"Mihai Bazon
2013-05-08Fixed typeof undefined optimization and updated related test case to...Justin Lau
2013-05-07Fixed dot properties not optimizing unicode identifiers. Signed-off-by: Justi...Justin Lau
2013-05-05Fixed dot property issue with invlid identifier names....Justin Lau
2013-04-20fixes #189: use dotted member access when --screw-ie8 option givenMichael Ficarra
2013-04-03Fix typeof evaluation for regex and functionRoman Bataev
2013-03-11Disable `unsafe` by default...Mihai Bazon
2013-03-04Fix reordering comparisons...Mihai Bazon
2013-03-01Drop last `default:` if it's the last branch and empty...Mihai Bazon
2013-03-01Compress boolean constants after evaluation...Mihai Bazon
2013-02-19Fix compressing `do {...} while (false)`...Mihai Bazon
2013-02-06Give up evaluating (unary-prefix '-' 0)...Mihai Bazon
2013-02-06Fix handling of constants...Mihai Bazon
2013-01-23Fix #105: property comparison to undefined is not always safeRichard Gibson
2013-01-17Handle String() with no arguments....Mihai Bazon
2012-12-21Optimize new Array(1, 2, 3) → [1, 2, 3]...Mihai Bazon
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-30Don't messup compressor stack while optimizing Switch...Mihai Bazon
2012-11-23fix for https://github.com/mishoo/UglifyJS/issues/474Mihai Bazon
2012-11-17retain (1,eval) as is when it's the expression of an AST_Call...Mihai Bazon
2012-11-14better solution for the last test in constant switch foldingMihai Bazon
2012-11-14optimize constant switch blocks...Mihai Bazon
2012-11-13Merge branch 'optimize_concat' of https://github.com/rvanvelzen/UglifyJS2 int...Mihai Bazon
2012-11-13don't change order in binary expressions if both operands have side effectsMihai Bazon
2012-11-12Add simple optimization for empty-string concats....Richard van Velzen
2012-11-12fix invalid AST produced by dropping unused variable...Mihai Bazon