aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-07Don't drop unused setter argument.Mihai Bazon
Fix #257
2013-08-07Support `-p relative`. Fix #256Mihai Bazon
2013-08-07Add support for browserifyForbes Lindesay
2013-08-04Don't pretend to evaluate lambdasMihai Bazon
Fix #255
2013-07-30Fix #251Mihai Bazon
2013-07-28Don't require arguments to --encloseMihai Bazon
2013-07-25Reverting "added option for dropping unused params"Mihai Bazon
Revert "added option for dropping unused params" (turns out we already had the `unused` option for this.) This reverts commit e54df2226f7f3887d2f850cea8caf5c0353dce00.
2013-07-25added option for dropping unused paramsDusan Bartos
2013-07-18Fix 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-07-15Revert previous patch, it was no good.Mihai Bazon
2013-07-15Add "position" option to parser, to specify initial pos/line/colMihai Bazon
(for parsing embedded scripts)
2013-07-14Apply transformer to AST_VarDef's nameMihai Bazon
Fix #237
2013-07-12Fix typo.Mihai Bazon
Close #239
2013-06-28Reset the base54 counters every time minify is called.Mihai Bazon
Close #229
2013-06-07Don't swap binary ops when "use asm" is in effect.Mihai Bazon
Refs #167
2013-06-03Merge pull request #220 from lautis/escape-nullMihai Bazon
Escape null characters as \x00
2013-06-03Escape null characters as \x00Ville 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-23v2.3.6Mihai Bazon
2013-05-22Merge pull request #213 from mattrobenolt/patch-1Mihai Bazon
SourceMapping pragma has changed to //#
2013-05-22Add `negate_iife` option to the code generator.Mihai Bazon
See discussion in a9511dfbe5c0d96d8cacb87582aa9a19737bbb98
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 //#Matt Robenolt
See: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit The spec was updated on May 16th since `//@` was causing some issues with IE.
2013-05-20Fix output of statement: `new function(){...};`Mihai Bazon
Close #209
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
2013-05-14v2.3.3Mihai Bazon
2013-05-14Compress code passed to `new Function` if it's a constant.Mihai Bazon
Only for `--unsafe`. Close #203
2013-05-14Fix a["1_1"]Mihai Bazon
Close #204
2013-05-10Merge pull request #202 from nschonni/add-travis-ciMihai Bazon
Add CI build for supported Node versions
2013-05-09v2.3.2Mihai Bazon
2013-05-09Use the negation hack rather than parens for a toplevel function expression callMihai Bazon
(only in !beautify mode)
2013-05-09Fix is_assignableMihai Bazon
(not likely to be noticed, it's only used in `strict` parse mode)
2013-05-08Add Travis build badge to READMENick Schonning
2013-05-08Add CI build for supported Node versionsNick Schonning
2013-05-08add a test for zero-length string in is_identifier_string, which is used in ↵Trey Griffith
property compression. Also added a test exercising the change.
2013-05-08Fix property namesMihai Bazon
Close #199
2013-05-08v2.3.1Mihai Bazon
2013-05-08Better fix for equality of typeof ... against "undefined"Mihai Bazon
2013-05-08Fixed typeof undefined optimization and updated related test case toJustin Lau
accomodates the sort behaviour changes made in commit mishoo/UglifyJS2@aebafad41eab48f43ed649ce8c77e8f1528b50da. Signed-off-by: Justin Lau <justin@tclau.com>
2013-05-08Added test cases for #104.Justin Lau
Signed-off-by: Justin Lau <justin@tclau.com>
2013-05-08Merge pull request #195 from kjbekkelund/typoMihai Bazon
Fix typo in bin and readme
2013-05-07Fixed dot properties not optimizing unicode identifiers. Signed-off-by: ↵Justin Lau
Justin Lau <justin@tclau.com>
2013-05-06Added test scenario with unicode in properties name.Justin Lau
Signed-off-by: Justin Lau <justin@tclau.com>
2013-05-05Fixed dot property issue with invlid identifier names.Justin Lau
Signed-off-by: Justin Lau <justin@tclau.com>
2013-05-05Added scenario in test case where properties shouldn't be accessed withJustin Lau
dotted syntax even with screw_ie8 option. Signed-off-by: Justin Lau <justin@tclau.com>
2013-05-02Fix typo in bin and readmeKim Joar Bekkelund