9fc6796 | Mihai Bazon | 22 May 2013, 18:22:14 UTC | Add `negate_iife` option to the code generator. See discussion in a9511dfbe5c0d96d8cacb87582aa9a19737bbb98 | 22 May 2013, 18:22:14 UTC |
9fc8a52 | Mihai Bazon | 22 May 2013, 10:08:19 UTC | Set "global" on undeclared SymbolDef-s | 22 May 2013, 10:08:19 UTC |
22a038e | Mihai Bazon | 20 May 2013, 05:27:37 UTC | Fix output of statement: `new function(){...};` Close #209 | 20 May 2013, 05:27:37 UTC |
f652372 | Mihai Bazon | 19 May 2013, 11:25:05 UTC | v2.3.5 | 19 May 2013, 11:25:05 UTC |
ad1fc3b | Mihai Bazon | 19 May 2013, 11:24:33 UTC | Fix package.json (use `repository` instead of `repositories`) | 19 May 2013, 11:24:33 UTC |
2b40a5a | Mihai Bazon | 15 May 2013, 10:27:40 UTC | v2.3.4 | 15 May 2013, 10:27:40 UTC |
ca3388c | Mihai Bazon | 15 May 2013, 10:27:23 UTC | Add `--expr`, an option to parse a single expression (suitable for JSON) | 15 May 2013, 10:27:23 UTC |
caa8896 | Mihai Bazon | 14 May 2013, 15:36:31 UTC | Only compress code in `new Function` if all arguments are strings. | 14 May 2013, 15:36:31 UTC |
d13aa39 | Mihai Bazon | 14 May 2013, 08:33:28 UTC | v2.3.3 | 14 May 2013, 08:33:28 UTC |
f64539f | Mihai Bazon | 14 May 2013, 07:47:06 UTC | Compress code passed to `new Function` if it's a constant. Only for `--unsafe`. Close #203 | 14 May 2013, 07:47:06 UTC |
d56ebd7 | Mihai Bazon | 14 May 2013, 07:41:28 UTC | Fix a["1_1"] Close #204 | 14 May 2013, 07:42:34 UTC |
3edfe7d | Mihai Bazon | 10 May 2013, 09:56:24 UTC | Merge pull request #202 from nschonni/add-travis-ci Add CI build for supported Node versions | 10 May 2013, 09:56:24 UTC |
7f77eda | Mihai Bazon | 09 May 2013, 05:58:55 UTC | v2.3.2 | 09 May 2013, 05:58:55 UTC |
a9511df | Mihai Bazon | 09 May 2013, 05:58:47 UTC | Use the negation hack rather than parens for a toplevel function expression call (only in !beautify mode) | 09 May 2013, 05:58:47 UTC |
064e7aa | Mihai Bazon | 09 May 2013, 05:44:24 UTC | Fix is_assignable (not likely to be noticed, it's only used in `strict` parse mode) | 09 May 2013, 05:44:24 UTC |
46814f8 | Nick Schonning | 09 May 2013, 03:48:12 UTC | Add Travis build badge to README | 09 May 2013, 03:48:12 UTC |
4a19802 | Nick Schonning | 09 May 2013, 03:42:06 UTC | Add CI build for supported Node versions | 09 May 2013, 03:42:06 UTC |
1e9f98a | Trey Griffith | 08 May 2013, 19:29:46 UTC | add a test for zero-length string in is_identifier_string, which is used in property compression. Also added a test exercising the change. | 08 May 2013, 19:43:20 UTC |
11e24d5 | Mihai Bazon | 08 May 2013, 19:37:48 UTC | Fix property names Close #199 | 08 May 2013, 19:37:48 UTC |
0f509f8 | Mihai Bazon | 08 May 2013, 13:45:36 UTC | v2.3.1 | 08 May 2013, 13:45:36 UTC |
a6ed2c8 | Mihai Bazon | 08 May 2013, 13:22:39 UTC | Better fix for equality of typeof ... against "undefined" | 08 May 2013, 13:22:48 UTC |
a1958aa | Justin Lau | 05 May 2013, 12:38:32 UTC | Fixed typeof undefined optimization and updated related test case to accomodates the sort behaviour changes made in commit mishoo/UglifyJS2@aebafad41eab48f43ed649ce8c77e8f1528b50da. Signed-off-by: Justin Lau <justin@tclau.com> | 08 May 2013, 13:22:48 UTC |
6726996 | Justin Lau | 05 May 2013, 11:54:27 UTC | Added test cases for #104. Signed-off-by: Justin Lau <justin@tclau.com> | 08 May 2013, 13:22:48 UTC |
645d5bd | Mihai Bazon | 08 May 2013, 12:51:52 UTC | Merge pull request #195 from kjbekkelund/typo Fix typo in bin and readme | 08 May 2013, 12:51:52 UTC |
9af2bbf | Justin Lau | 05 May 2013, 18:45:41 UTC | Fixed dot properties not optimizing unicode identifiers. Signed-off-by: Justin Lau <justin@tclau.com> | 07 May 2013, 11:20:19 UTC |
fcd544c | Justin Lau | 05 May 2013, 17:26:33 UTC | Added test scenario with unicode in properties name. Signed-off-by: Justin Lau <justin@tclau.com> | 05 May 2013, 17:26:33 UTC |
1e3bc0c | Justin Lau | 05 May 2013, 14:27:43 UTC | Fixed dot property issue with invlid identifier names. Signed-off-by: Justin Lau <justin@tclau.com> | 05 May 2013, 14:27:43 UTC |
8227e87 | Justin Lau | 05 May 2013, 14:08:13 UTC | Added scenario in test case where properties shouldn't be accessed with dotted syntax even with screw_ie8 option. Signed-off-by: Justin Lau <justin@tclau.com> | 05 May 2013, 14:08:13 UTC |
790b3bc | Kim Joar Bekkelund | 02 May 2013, 09:15:33 UTC | Fix typo in bin and readme | 02 May 2013, 09:15:33 UTC |
d6e6458 | Mihai Bazon | 01 May 2013, 14:04:01 UTC | Merge pull request #194 from ulikoehler/master Add README syntax highlighting | 01 May 2013, 14:04:01 UTC |
a54b670 | Uli Köhler | 01 May 2013, 13:56:20 UTC | Add README syntax highlighting | 01 May 2013, 13:56:20 UTC |
8e62661 | Mihai Bazon | 01 May 2013, 10:15:34 UTC | Take two. v2.3.0 | 01 May 2013, 10:15:34 UTC |
5c22a1b | Mihai Bazon | 01 May 2013, 10:14:07 UTC | v2.3 | 01 May 2013, 10:14:07 UTC |
9794ebf | Mihai Bazon | 29 April 2013, 12:03:52 UTC | Workaround for missing `prefix` in UnaryExpression generated by Esprima See #193 | 29 April 2013, 12:03:52 UTC |
68394ee | Mihai Bazon | 21 April 2013, 08:35:50 UTC | Make compress/mangle disabled by default, as before 5af144522a6fea302abdd0b63d48864de0664207 | 21 April 2013, 08:35:50 UTC |
753b4b6 | Mihai Bazon | 21 April 2013, 08:30:02 UTC | Merge pull request #191 from michaelficarra/use-es5-member-access-with-screw-ie use dotted member access when --screw-ie8 option given | 21 April 2013, 08:30:02 UTC |
a9c1b9f | Mihai Bazon | 21 April 2013, 08:28:45 UTC | Merge pull request #190 from michaelficarra/patch-1 unbalanced parentheses in readme | 21 April 2013, 08:28:45 UTC |
5af1445 | Michael Ficarra | 20 April 2013, 20:11:05 UTC | fixes #189: use dotted member access when --screw-ie8 option given | 20 April 2013, 20:11:05 UTC |
483e0ca | Michael Ficarra | 20 April 2013, 19:05:52 UTC | unbalanced parentheses in readme | 20 April 2013, 19:05:52 UTC |
4b81805 | Roman Bataev | 04 April 2013, 02:34:38 UTC | Fix typeof evaluation for regex and function | 04 April 2013, 02:34:38 UTC |
b956e5f | Roman Bataev | 04 April 2013, 02:34:19 UTC | Add tests for typeof evaluation | 04 April 2013, 02:34:19 UTC |
37d7cb8 | Vladimir Zhuravlev | 31 March 2013, 13:55:11 UTC | Quote objects with numeric keys | 31 March 2013, 16:52:28 UTC |
2b8e206 | Mihai Bazon | 31 March 2013, 10:38:02 UTC | fix package.json | 31 March 2013, 10:38:02 UTC |
a869b85 | Mihai Bazon | 31 March 2013, 10:35:29 UTC | Don't use \xYY for identifiers Fix #173 | 31 March 2013, 10:36:22 UTC |
81f5efe | Andreas Lind Petersen | 31 March 2013, 09:07:31 UTC | Output, to_ascii: Escape non-ascii chars with \xnn instead of \unnnn whenever possible. | 31 March 2013, 10:36:22 UTC |
69dde04 | Andreas Lind Petersen | 31 March 2013, 09:51:43 UTC | uglifyjs binary: Make read_whole_file async and don't attempt to read STDIN synchronously. | 31 March 2013, 10:36:22 UTC |
7628bca | Mihai Bazon | 25 March 2013, 16:05:44 UTC | Merge pull request #163 from mzgol/screw-oldie renamed --screw-ie to --screw-oldie, documented it in README.md, indicat... | 25 March 2013, 16:05:44 UTC |
75f0bbe | Michał Gołębiowski | 25 March 2013, 15:11:07 UTC | renamed --screw-ie to --screw-ie8, documented it in README.md, indicated it doesn't break IE9+ | 25 March 2013, 16:03:21 UTC |
478bf4d | Jake Harding | 01 March 2013, 05:21:14 UTC | Add support for enclose option. Closes #139. | 24 March 2013, 09:11:23 UTC |
e0f67ba | Mihai Bazon | 23 March 2013, 22:57:35 UTC | Don't print the warning on parse error, just throw a JS_Parse_Error. Fix #159 | 23 March 2013, 22:57:35 UTC |
b14d3df | Mihai Bazon | 22 March 2013, 16:02:08 UTC | Keep legit code working even when --screw-ie is not passed. Previously: Without `--screw-ie`, UglifyJS would always leak names of function expressions into the containing scope, as if they were function declarations. That was to emulate IE<9 behavior. Code relying on this IE bug would continue to work properly after mangling, although it would only work in IE (since other engines don't share the bug). Sometimes this broke legitimage code (see #153 and #155). With `--screw-ie` the names would not be leaked into the current scope, working properly in legit cases; but still it broke legit code when running in IE<9 (see #24). Currently: Regardless of the `--screw-ie` setting, the names will not be leaked. Code relying on the IE bug will not work properly after mangling. <evil laughter here> Without `--screw-ie`: a hack has been added to the mangler to avoid using the same name for a function expression and some other variable in the same scope. This keeps legit code working, at the (negligible, indeed) cost of one more identifier. With `--screw-ie` you allow the mangler to name function expressions with the same identifier as another variable in scope. After mangling code might break in IE<9. Oh man, the commit message is longer than the patch. Fix #153, #155 | 22 March 2013, 16:04:46 UTC |
24e58ee | Mihai Bazon | 13 March 2013, 08:36:55 UTC | Merge pull request #125 from devongovett/master Allow inSourceMap option to be a generated JSON source map | 13 March 2013, 08:36:55 UTC |
9b1a40d | Mihai Bazon | 13 March 2013, 07:44:06 UTC | Support mangling toplevel names Close #127 | 13 March 2013, 07:44:06 UTC |
e4b078c | Mihai Bazon | 10 March 2013, 22:04:31 UTC | Disable `unsafe` by default Close #147 | 10 March 2013, 22:04:31 UTC |
3bd7ca9 | Mihai Bazon | 06 March 2013, 06:17:09 UTC | Merge pull request #146 from mbostock/read-all-stdin Read the entire STDIN. | 06 March 2013, 06:17:09 UTC |
f83aca6 | Mike Bostock | 06 March 2013, 04:35:49 UTC | Read the entire STDIN. The problem with reading synchronously from /dev/stdin is that you can get a spurious EOF when the input buffer is empty, even if more content is coming. Now STDIN is read from a loop, and only stops polling when all input has been read. This fixes #70 #85 and other errors related to parsing large files on STDIN. | 06 March 2013, 04:35:49 UTC |
aebafad | Mihai Bazon | 04 March 2013, 08:06:01 UTC | Fix reordering comparisons Close #143 | 04 March 2013, 08:06:01 UTC |
26746ce | Mihai Bazon | 02 March 2013, 12:28:34 UTC | Add `--screw-ie` option For now the implication is that UglifyJS will not leak a function expression's name in the surrounding scope (IE < 9 does that). (ref. mishoo/UglifyJS#485) | 02 March 2013, 12:28:34 UTC |
dac6efb | Mihai Bazon | 01 March 2013, 11:12:03 UTC | Drop last `default:` if it's the last branch and empty Close #141 | 01 March 2013, 11:12:03 UTC |
8880f48 | Mihai Bazon | 01 March 2013, 08:26:06 UTC | Compress boolean constants after evaluation Close #137 | 01 March 2013, 08:26:06 UTC |
cb0c576 | Mihai Bazon | 22 February 2013, 11:58:16 UTC | Add license Close #131 | 22 February 2013, 11:58:16 UTC |
3a591c4 | Mihai Bazon | 19 February 2013, 16:12:19 UTC | Fix compressing `do {...} while (false)` It's not safe to transform it to {...} because the body might contain `break`. The solution could be more elaborate (detect if body contains `break`) but I don't think it's worth the trouble. Close #129 | 19 February 2013, 16:12:19 UTC |
db66eca | Mihai Bazon | 14 February 2013, 10:51:13 UTC | v2.2.5 | 14 February 2013, 10:51:13 UTC |
f276745 | Devon Govett | 10 February 2013, 18:06:13 UTC | Allow inSourceMap to be a generated JSON source map instead of just a file name | 10 February 2013, 18:06:13 UTC |
916faf0 | Mihai Bazon | 06 February 2013, 09:57:59 UTC | Force space after literal regexp when used in "instanceof" or "in" Close #118 | 06 February 2013, 09:57:59 UTC |
f36e4e9 | Mihai Bazon | 06 February 2013, 09:51:09 UTC | Give up evaluating (unary-prefix '-' 0) Close #117 ------ JS, WHY YOU SUCK SO BADLY? ;-( | 06 February 2013, 09:51:09 UTC |
fdf8b5e | Mihai Bazon | 06 February 2013, 09:38:29 UTC | Fix parens for NaN Close #116 | 06 February 2013, 09:38:29 UTC |
de7ec7f | Mihai Bazon | 06 February 2013, 09:36:04 UTC | Fix parens for negative numbers Close #115 | 06 February 2013, 09:36:04 UTC |
3c8a0bd | Mihai Bazon | 06 February 2013, 09:28:49 UTC | Fix parens for AST_New Close #114 | 06 February 2013, 09:28:49 UTC |
9e8ba27 | Mihai Bazon | 06 February 2013, 09:15:31 UTC | Fix handling of constants Close #113 | 06 February 2013, 09:15:31 UTC |
719a8fd | Mihai Bazon | 05 February 2013, 17:10:33 UTC | Ugly hack to print comments before return/throw statements Close #112 | 05 February 2013, 17:11:39 UTC |
3a22e91 | Mihai Bazon | 04 February 2013, 07:44:31 UTC | Merge pull request #111 from mattrobenolt/safer-sourcemap Wraps sourceMappingURL in a multiline comment. Fixes #108 | 04 February 2013, 07:44:31 UTC |
a9af2c9 | Matt Robenolt | 04 February 2013, 00:01:01 UTC | Wraps sourceMappingURL in a multiline comment. Fixes #108 | 04 February 2013, 00:01:01 UTC |
31e99ce | Mihai Bazon | 01 February 2013, 11:31:28 UTC | v2.2.4 | 01 February 2013, 11:32:15 UTC |
a5b2094 | Mihai Bazon | 26 January 2013, 12:24:54 UTC | Fix end token for Assign nodes | 01 February 2013, 11:32:15 UTC |
e9a571b | Mihai Bazon | 01 February 2013, 07:50:59 UTC | Merge pull request #94 from paulmillr/patch-1 Add better fromstring docs. | 01 February 2013, 07:50:59 UTC |
8bf83f4 | Mihai Bazon | 24 January 2013, 13:51:33 UTC | Merge pull request #106 from gibson042/105 Fix #105: property comparison to undefined is not always safe | 24 January 2013, 13:51:33 UTC |
522566e | Richard Gibson | 24 January 2013, 04:52:04 UTC | Fix #105: property comparison to undefined is not always safe | 24 January 2013, 04:52:04 UTC |
297af47 | Mihai Bazon | 20 January 2013, 10:32:07 UTC | Add --source-map-url option Fix #100 Fix #47 | 20 January 2013, 10:32:07 UTC |
faa354f | Mihai Bazon | 17 January 2013, 09:16:55 UTC | [AST_Hole] the print function can be a no-op. | 17 January 2013, 09:36:10 UTC |
1529ab9 | David Glasser | 16 January 2013, 19:59:19 UTC | Fix output for arrays containing undefined values. 1b6bcca7 was a first attempt at this. That commit made Uglify stop replacing holes with undefined, but instead it started replacing undefined with holes. This is slightly problematic, because there is a difference between a hole and an undefined value. More problematically, it changed [1,undefined] to [1,] which generally doesn't even parse as a hole (just as a trailing comma), so it didn't even preserve the length of the array! Instead, parse holes as their own special AST node which prints invisibly. | 17 January 2013, 09:36:10 UTC |
605f330 | Mihai Bazon | 17 January 2013, 09:08:59 UTC | Merge pull request #98 from ForbesLindesay/patch-1 Update installation instructions | 17 January 2013, 09:08:59 UTC |
f0909bd | Mihai Bazon | 17 January 2013, 09:01:38 UTC | Handle String() with no arguments. Fix #91 | 17 January 2013, 09:01:38 UTC |
c13e7e6 | Forbes Lindesay | 17 January 2013, 00:13:42 UTC | Update installation instructions re #4 | 17 January 2013, 00:13:42 UTC |
ad071f8 | Paul Miller | 13 January 2013, 16:45:43 UTC | Add better fromstring docs. | 13 January 2013, 16:45:43 UTC |
c058d8b | Mihai Bazon | 08 January 2013, 22:21:25 UTC | Merge pull request #90 from jakearchibald/patch-1 Compressor options use underscores rather than hyphens | 08 January 2013, 22:21:25 UTC |
1d8871a | Jake Archibald | 08 January 2013, 20:33:58 UTC | Compressor options use underscores rather than hyphens | 08 January 2013, 20:33:58 UTC |
16953c2 | Mihai Bazon | 04 January 2013, 20:50:53 UTC | v2.2.3 | 04 January 2013, 20:50:53 UTC |
6b14f7c | Mihai Bazon | 04 January 2013, 12:17:33 UTC | Fix handling of labels in nested scopes | 04 January 2013, 12:17:33 UTC |
130c623 | Mihai Bazon | 04 January 2013, 09:24:29 UTC | Support `output`, `mangle` and `compress` options to `UglifyJS.minify`. Close #57 Close #86 Close #33 | 04 January 2013, 09:25:13 UTC |
47c9895 | Mihai Bazon | 03 January 2013, 10:28:35 UTC | Merge pull request #87 from BenoitZugmeyer/master Add a --version option | 03 January 2013, 10:28:35 UTC |
ba40333 | Benoît Zugmeyer | 03 January 2013, 10:22:37 UTC | Set --version as a boolean #87 | 03 January 2013, 10:22:37 UTC |
e82e89d | Benoît Zugmeyer | 03 January 2013, 10:06:07 UTC | --version option | 03 January 2013, 10:07:53 UTC |
83a4ebf | Mihai Bazon | 02 January 2013, 10:39:00 UTC | Implement `-m sort=true` close #83 | 02 January 2013, 10:39:00 UTC |
9916d0e | Mihai Bazon | 21 December 2012, 23:24:04 UTC | Accept string or number as name of an accessor. [not sure I'm happy about this fix] Reference mishoo/UglifyJS#478 | 21 December 2012, 23:24:04 UTC |
31c4a37 | Mihai Bazon | 21 December 2012, 19:04:15 UTC | Optimize new Array(1, 2, 3) → [1, 2, 3] Close #74 | 21 December 2012, 19:04:35 UTC |
08219f0 | Mihai Bazon | 21 December 2012, 09:57:08 UTC | Fix output when semicolons is off. (need to force a semicolon for the empty body of an `if`) Close #72 | 21 December 2012, 09:57:08 UTC |
c4993e1 | Mihai Bazon | 12 December 2012, 09:50:03 UTC | Small cleanup | 12 December 2012, 09:51:55 UTC |
6064bea | Mihai Bazon | 06 December 2012, 12:25:18 UTC | v2.2.2 | 06 December 2012, 12:25:18 UTC |
98978fc | Mihai Bazon | 06 December 2012, 10:27:57 UTC | Add proper parens in "NoIn" expressions. fix #60. | 06 December 2012, 10:27:57 UTC |