aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2013-09-22More attempts to determine when addition is associative...Somebody hit me with bug reports on this. :) Refs #300 Mihai Bazon
2013-09-22Actually let's move away those monsters from the evaluate function...ev() should do a single thing — evaluate constant expressions. if that's not possible, just return the original node. it's not the best place for partial evaluation there, instead doing it in the compress functions. Mihai Bazon
2013-09-22More dirty handling of [ ... ].join() in unsafe mode...Close #300 Mihai Bazon
2013-09-22Evaluate [...].join() if possible: minor bugfix...Follow-up to 78e98d2. Dan Wolff
2013-09-19When `unsafe` is set, evaluate [...].join() if possible...Close #298 Mihai Bazon
2013-09-19Concatenate strings also on the right-hand side of an expression that cannot ......E.g. converts: a+'Hello'+'World' to a+'HelloWorld' Dan Wolff
2013-09-06Avoid printing <!-- in the output (HTML5 comment)Mihai Bazon
2013-09-06Support HTML5 comment syntax (enabled by default!)...See http://javascript.spec.whatwg.org/#comment-syntax https://github.com/mishoo/UglifyJS/issues/503 https://github.com/marijnh/acorn/issues/62 Mihai Bazon
2013-09-06minorMihai Bazon
2013-09-02Fix names.Mihai Bazon
2013-09-02Disallow `continue` referring to a non-IterationStatement. Fix #287...Simplifies handling of labels (their definition/references can be easily figured out at parse time, no need to do it in `figure_out_scope`). Mihai Bazon
2013-09-02Better fix for #286Mihai Bazon
2013-09-02Fix parsing `a.case /= 1`...Close #286 Mihai Bazon
2013-09-02Fix parsing regexp after unary-prefix operator...++/x/.y Fix #284 Mihai Bazon
2013-09-02Better reporting of parse errorsMihai Bazon
2013-08-22v2.4.0Mihai Bazon
2013-08-22Remove --ie-proof from the readme....Fix #276 Mihai Bazon
2013-08-20Move support for `negate_iife` in the compressor, rather than code generator...(the code generator doesn't maintain enough context to know whether the return value is important or discarded) Fixes #272 Mihai Bazon
2013-08-19Merge pull request #270 from michaelficarra/GH-259...fixes #259: don't unnecessarily quote object properties when --screw-ie8Mihai Bazon
2013-08-18fixes #259: don't unnecessarily quote object properties when --screw-ie8Michael Ficarra
2013-08-08fix usageMihai Bazon
2013-08-07Don't drop unused setter argument....Fix #257 Mihai Bazon
2013-08-07Support `-p relative`. Fix #256Mihai Bazon
2013-08-07Add support for browserifyForbes Lindesay
2013-08-04Don't pretend to evaluate lambdas...Fix #255 Mihai Bazon
2013-07-30Fix #251Mihai Bazon
2013-07-28Don't require arguments to --encloseMihai Bazon
2013-07-25Reverting "added option for dropping unused params"...Revert "added option for dropping unused params" (turns out we already had the `unused` option for this.) This reverts commit e54df2226f7f3887d2f850cea8caf5c0353dce00. Mihai Bazon
2013-07-25added option for dropping unused paramsDusan Bartos
2013-07-18Fix output for arrays whose last element is a hole: [1,,]...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,,]. David Glasser
2013-07-15Revert previous patch, it was no good.Mihai Bazon
2013-07-15Add "position" option to parser, to specify initial pos/line/col...(for parsing embedded scripts) Mihai Bazon
2013-07-14Apply transformer to AST_VarDef's name...Fix #237 Mihai Bazon
2013-07-12Fix typo....Close #239 Mihai Bazon
2013-06-28Reset the base54 counters every time minify is called....Close #229 Mihai Bazon
2013-06-07Don't swap binary ops when "use asm" is in effect....Refs #167 Mihai Bazon
2013-06-03Merge pull request #220 from lautis/escape-null...Escape null characters as \x00Mihai Bazon
2013-06-03Escape null characters as \x00...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.Ville Lautanala
2013-05-23v2.3.6Mihai Bazon
2013-05-22Merge pull request #213 from mattrobenolt/patch-1...SourceMapping pragma has changed to //#Mihai Bazon
2013-05-22Add `negate_iife` option to the code generator....See discussion in a9511dfbe5c0d96d8cacb87582aa9a19737bbb98 Mihai Bazon
2013-05-22Set "global" on undeclared SymbolDef-sMihai Bazon
2013-05-21The extra /* */ isn't needed nowMatt Robenolt
2013-05-21SourceMapping pragma has changed to //#...See: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit The spec was updated on May 16th since `//@` was causing some issues with IE.Matt Robenolt
2013-05-20Fix output of statement: `new function(){...};`...Close #209 Mihai Bazon
2013-05-19v2.3.5Mihai Bazon
2013-05-19Fix package.json (use `repository` instead of `repositories`)Mihai Bazon
2013-05-15v2.3.4Mihai Bazon
2013-05-15Add `--expr`, an option to parse a single expression (suitable for JSON)Mihai Bazon
2013-05-14Only compress code in `new Function` if all arguments are strings.Mihai Bazon