bf7b122 | Mihai Bazon | 26 January 2014, 08:11:00 UTC | v2.4.12 | 26 January 2014, 08:11:00 UTC |
e29048b | Mihai Bazon | 26 January 2014, 08:07:10 UTC | Merge branch 'master' of github.com:mishoo/UglifyJS2 | 26 January 2014, 08:07:10 UTC |
2eeb640 | Mihai Bazon | 26 January 2014, 08:06:19 UTC | Merge pull request #408 from danielstutzman/escape-null-in-regex Don't unescape \x00 in regexes (it breaks IE8) | 26 January 2014, 08:06:19 UTC |
ceb200f | Mihai Bazon | 26 January 2014, 08:05:55 UTC | Move unescaping regexps under a codegen option (`unescape_regexps`) | 26 January 2014, 08:05:55 UTC |
f5f8239 | Daniel Stutzman | 25 January 2014, 18:55:39 UTC | Don't unescape \x00 in regexes (it breaks IE8) | 25 January 2014, 18:55:39 UTC |
6f9d051 | Mihai Bazon | 21 January 2014, 09:44:28 UTC | v2.4.11 | 21 January 2014, 09:44:28 UTC |
931862e | Mihai Bazon | 21 January 2014, 09:44:00 UTC | More chars that cannot be unescaped in regexps. | 21 January 2014, 09:44:00 UTC |
1d0127d | Mihai Bazon | 21 January 2014, 08:38:59 UTC | Fix end token for conditionals. Close #404 | 21 January 2014, 08:38:59 UTC |
2d8fc61 | Mihai Bazon | 19 January 2014, 14:14:12 UTC | Merge pull request #402 from lautis/bom-regexps Don't unescape byte order marks in regexps | 19 January 2014, 14:14:12 UTC |
1e31011 | Ville Lautanala | 19 January 2014, 10:27:03 UTC | Don't unescape byte order marks in regexps | 19 January 2014, 10:27:03 UTC |
75cdbf1 | Mihai Bazon | 18 January 2014, 10:32:45 UTC | v2.4.10 | 18 January 2014, 10:32:45 UTC |
4339bd5 | Mihai Bazon | 18 January 2014, 10:31:50 UTC | Don't unescape \x2f (slash) in regexps. #54 | 18 January 2014, 10:31:50 UTC |
1ab2fda | Mihai Bazon | 17 January 2014, 13:48:47 UTC | Fix example | 17 January 2014, 13:48:47 UTC |
eda540f | Mihai Bazon | 15 January 2014, 20:31:09 UTC | v2.4.9 | 15 January 2014, 20:31:09 UTC |
90a330d | Mihai Bazon | 10 January 2014, 08:36:15 UTC | simplify | 10 January 2014, 08:36:15 UTC |
cad1f9c | Mihai Bazon | 10 January 2014, 08:33:58 UTC | Unescape Unicode sequences in regexps when ascii_only is false. #54 | 10 January 2014, 08:33:58 UTC |
c3087dd | Mihai Bazon | 08 January 2014, 09:39:24 UTC | Better process_for_angular before other statement reductions. #395 | 08 January 2014, 09:39:24 UTC |
2c305af | Mihai Bazon | 08 January 2014, 09:28:32 UTC | Support @ngInject with `angular` compressor option. Close #395. | 08 January 2014, 09:28:32 UTC |
72e6f64 | Mihai Bazon | 07 January 2014, 16:56:18 UTC | Disable node 0.6 since the build fails consistently and it's not our fault. | 07 January 2014, 16:56:18 UTC |
b9fac68 | Mihai Bazon | 07 January 2014, 16:42:48 UTC | Support SpiderMonkey AST in UglifyJS.minify. Fix #393. | 07 January 2014, 16:42:48 UTC |
2c88eb6 | Mihai Bazon | 07 January 2014, 10:54:14 UTC | doh. | 07 January 2014, 10:54:14 UTC |
a67e3bf | Mihai Bazon | 07 January 2014, 10:48:54 UTC | Fix #392 | 07 January 2014, 10:48:54 UTC |
27142df | Mihai Bazon | 07 January 2014, 10:48:21 UTC | minor: exp["10"] => exp[10] | 07 January 2014, 10:48:21 UTC |
5e4c7f4 | Mihai Bazon | 05 January 2014, 09:48:01 UTC | Fix parens for property access -- (foo, bar)["baz"] | 05 January 2014, 09:48:01 UTC |
b521b4b | Mihai Bazon | 29 December 2013, 08:31:30 UTC | Conditional/call optimization foo ? bar(x) : bar(y) ==> bar(foo ? x : y) | 29 December 2013, 08:31:30 UTC |
aa9de76 | Mihai Bazon | 22 December 2013, 18:52:19 UTC | Mark `yield` as reserved word. Close #375. | 22 December 2013, 18:52:19 UTC |
5a083a9 | Mihai Bazon | 22 December 2013, 09:36:45 UTC | Optimize seq,void 0. Close #377. (x, void 0) => void x (x, undefined) => void x | 22 December 2013, 09:36:45 UTC |
7a30d82 | Mihai Bazon | 18 December 2013, 13:54:12 UTC | Better fix for comments in AST_Exit Close #374 | 18 December 2013, 13:54:12 UTC |
be55a09 | Mihai Bazon | 18 December 2013, 11:30:26 UTC | Take out all comments from an AST_Exit's value Fix #372 | 18 December 2013, 11:30:26 UTC |
15a148f | Mihai Bazon | 18 December 2013, 10:10:43 UTC | v2.4.8 | 18 December 2013, 10:10:43 UTC |
428e19f | Mihai Bazon | 18 December 2013, 10:10:02 UTC | Add option to adjust the src/target line in the source map | 18 December 2013, 10:10:02 UTC |
f65e55d | Mihai Bazon | 16 December 2013, 18:37:09 UTC | minor | 16 December 2013, 18:37:09 UTC |
b634018 | Mihai Bazon | 16 December 2013, 08:21:07 UTC | Merge pull request #371 from colorhook/master bugfix #242 | 16 December 2013, 08:21:07 UTC |
fa3300f | colorhook | 16 December 2013, 07:53:43 UTC | bugfix #242 | 16 December 2013, 07:53:43 UTC |
bd0886a | Mihai Bazon | 10 December 2013, 18:24:27 UTC | semicolons | 10 December 2013, 18:24:27 UTC |
248f304 | Mihai Bazon | 10 December 2013, 18:23:29 UTC | Merge pull request #245 from ForbesLindesay/patch-1 Make `DefaultsError` a real `Error` object | 10 December 2013, 18:23:29 UTC |
dc5f70e | Mihai Bazon | 10 December 2013, 17:44:41 UTC | Add `drop_console` option to the compressor | 10 December 2013, 17:44:41 UTC |
df8c562 | Mihai Bazon | 10 December 2013, 17:39:03 UTC | minor | 10 December 2013, 17:39:03 UTC |
a790c09 | Mihai Bazon | 09 December 2013, 10:09:31 UTC | v2.4.7 | 09 December 2013, 10:09:31 UTC |
8f35a36 | Mihai Bazon | 05 December 2013, 11:30:29 UTC | AST_Catch shouldn't really inherit from AST_Scope. Fix #363 I hereby acknowledge that figure_out_scope has become a mess. | 05 December 2013, 11:30:29 UTC |
d2190c2 | Mihai Bazon | 28 November 2013, 14:43:30 UTC | Properly scope `catch` identifier when --screw-ie8 Fix #344 | 28 November 2013, 14:43:30 UTC |
ea10642 | Mihai Bazon | 28 November 2013, 13:05:32 UTC | v2.4.6, because npm is foobar | 28 November 2013, 13:05:32 UTC |
547561a | Mihai Bazon | 28 November 2013, 11:15:27 UTC | v2.4.5 | 28 November 2013, 11:15:27 UTC |
c16d538 | Mihai Bazon | 28 November 2013, 11:15:01 UTC | Add --noerr to turn off argument name checking for now only used for keys passed to `-c` or `-b`. | 28 November 2013, 11:15:01 UTC |
73d082d | Mihai Bazon | 27 November 2013, 12:24:26 UTC | v2.4.4 | 27 November 2013, 12:24:26 UTC |
50b8d72 | Mihai Bazon | 20 November 2013, 19:13:16 UTC | Fix faulty compression `String(x + 5)` is not always the same as `x + "5"`. Overlooked that. :-( Close #350 | 20 November 2013, 19:13:16 UTC |
7d11b96 | Mihai Bazon | 08 November 2013, 09:57:17 UTC | Only descend twice after drop_unused if it's the same node type. Fix #345 | 08 November 2013, 09:57:17 UTC |
eab99a1 | Mihai Bazon | 06 November 2013, 08:47:36 UTC | Better fix for #343 We can in fact lift sequences, but only if the operation is assignment and the left-hand side has no side effects nor property access -- that should guarantee that whatever we place before it cannot affect the sense of the assignment. Dropped contrived test case (too hard to support it now), added a more meaningful one. | 06 November 2013, 08:48:48 UTC |
19e2fb1 | Mihai Bazon | 06 November 2013, 08:21:29 UTC | v2.4.3 | 06 November 2013, 08:21:29 UTC |
f4919e3 | Mihai Bazon | 06 November 2013, 08:18:28 UTC | Do not lift sequence from right-hand side of binary operation. Fix #343 | 06 November 2013, 08:18:28 UTC |
bb700da | Mihai Bazon | 03 November 2013, 21:41:07 UTC | v2.4.2 | 03 November 2013, 21:41:07 UTC |
263577d | Mihai Bazon | 30 October 2013, 12:13:10 UTC | [README] Fix #278 | 30 October 2013, 12:13:30 UTC |
63287c0 | Mihai Bazon | 30 October 2013, 11:59:59 UTC | Workaround for Safari bug Close #313 | 30 October 2013, 11:59:59 UTC |
c5ed229 | Mihai Bazon | 30 October 2013, 09:50:22 UTC | Fix parsing setters/getters (allow keywords for name). The "key" property was always "set" or "get", which didn't make much sense. Now it'll be the actual name of the setter/getter (AST_Node), and the AST_Accessor object itself, which represents the function, won't store any name. Close #319 | 30 October 2013, 09:50:22 UTC |
b70670b | Mihai Bazon | 30 October 2013, 08:45:58 UTC | Fix regression after e4c530240650535d1cb46569dfb013193471af05 `x * (y * z)` ==> `x * y * z` -- the better place to do this is in the compressor rather than codegen. | 30 October 2013, 08:45:58 UTC |
9dd9760 | Mihai Bazon | 30 October 2013, 08:44:50 UTC | indentation | 30 October 2013, 08:44:50 UTC |
e4c5302 | Mihai Bazon | 30 October 2013, 07:11:55 UTC | Fix output for `x = 2 * (a % b / b * c)` (issue #337) | 30 October 2013, 07:11:55 UTC |
bea3d90 | Mihai Bazon | 30 October 2013, 07:10:56 UTC | minor | 30 October 2013, 07:10:56 UTC |
785c606 | Richard van Velzen | 29 October 2013, 20:37:36 UTC | Disallow reversal where lhs has higher or equal precedence Fixes #267 | 29 October 2013, 20:37:36 UTC |
b214d37 | Mihai Bazon | 29 October 2013, 13:53:54 UTC | Fix typo | 29 October 2013, 13:53:54 UTC |
7cf79c3 | Mihai Bazon | 29 October 2013, 12:01:26 UTC | Fix reading arguments i.e. read `-c unsafe,unsafe-comps` as `-c unsafe=true,unsafe_comps=true` | 29 October 2013, 12:01:26 UTC |
a14c6b6 | Mihai Bazon | 29 October 2013, 11:18:09 UTC | Avoid shadowing name of function expression with function argument Close #179, #326, #327 | 29 October 2013, 11:18:09 UTC |
f1b7094 | Mihai Bazon | 29 October 2013, 08:43:43 UTC | Add "preamble" output option Close #335 | 29 October 2013, 09:09:18 UTC |
0358e37 | Mihai Bazon | 28 October 2013, 07:39:29 UTC | Fix codegen for when comments_before is undefined. Fix #333 | 28 October 2013, 07:39:29 UTC |
b47f7b7 | Mihai Bazon | 27 October 2013, 08:03:01 UTC | Merge branch 'master' of github.com:mishoo/UglifyJS2 | 27 October 2013, 08:03:01 UTC |
582cc55 | Mihai Bazon | 27 October 2013, 08:02:44 UTC | Display number of failed tests and corresponding files | 27 October 2013, 08:02:44 UTC |
8979579 | Mihai Bazon | 27 October 2013, 08:01:57 UTC | Merge pull request #330 from markjaquith/master Unit test to detect issue in 8d14efe for #126 that causes aggressive parenthesis removal, functional differences | 27 October 2013, 08:01:57 UTC |
0d6e08c | Mihai Bazon | 27 October 2013, 08:01:11 UTC | Merge pull request #331 from rvanvelzen/rhs-strings-fix Fix RHS concat (raised in #330) | 27 October 2013, 08:01:11 UTC |
e2daee9 | Richard van Velzen | 26 October 2013, 16:44:52 UTC | Fix RHS concat (raised in #330) When attempting to concat the left-side of the rhs, make sure the rhs is a string. | 26 October 2013, 16:44:52 UTC |
9cd118c | Mark Jaquith | 25 October 2013, 20:28:15 UTC | Add a unit test for issue-126 Add a unit test to test to test for aggressive parenthesis removal that causes functional changes. | 25 October 2013, 20:28:15 UTC |
cfd5c61 | Mihai Bazon | 24 October 2013, 09:39:07 UTC | Merge pull request #325 from rvanvelzen/fix-269 Fix #269 | 24 October 2013, 09:39:07 UTC |
1a5a4bd | Richard van Velzen | 24 October 2013, 09:08:33 UTC | Fix #269 Shorten most primitives where possible. Also optimize some edge cases. | 24 October 2013, 09:08:33 UTC |
63e1a8e | Mihai Bazon | 23 October 2013, 20:58:09 UTC | Merge pull request #323 from rvanvelzen/undefined-drop-vars-fix Fix #280 | 23 October 2013, 20:58:09 UTC |
7055af8 | Richard van Velzen | 23 October 2013, 20:26:04 UTC | Fix #280 The `init` of the `ForStatement` is not a `BlockStatement` before it was descended. The descend has to happen first, and *then* the actual checks. | 23 October 2013, 20:26:04 UTC |
aafe2e1 | Mihai Bazon | 23 October 2013, 18:37:36 UTC | Merge pull request #322 from rvanvelzen/test-exit-code-1 Add an exit code to the test suite | 23 October 2013, 18:37:36 UTC |
118105d | Richard van Velzen | 23 October 2013, 18:24:58 UTC | Add an exit code to the test suite By adding the exit code 1 (or any other non-zero exit code) `npm test` will know the tests didn't perform correctly. This way it's easier to know if pull requests are good or bad. | 23 October 2013, 18:24:58 UTC |
63d04ff | Mihai Bazon | 22 October 2013, 18:49:33 UTC | Revert #3a81f60 for now (with it some tests break and it can generate invalid output, see issue #44) | 22 October 2013, 18:50:55 UTC |
8c9cc92 | Mihai Bazon | 22 October 2013, 18:31:01 UTC | v2.4.1 | 22 October 2013, 18:31:01 UTC |
d09f0ad | Mihai Bazon | 17 October 2013, 15:20:33 UTC | `arguments` outside of a function is an ordinary variable. Fix #501 | 17 October 2013, 15:20:33 UTC |
3fa9265 | Mihai Bazon | 09 October 2013, 19:15:43 UTC | wrap up | 09 October 2013, 19:15:43 UTC |
3a81f60 | Mihai Bazon | 09 October 2013, 16:15:09 UTC | Don't drop_unused before compression. Fix #280, #282 | 09 October 2013, 16:15:09 UTC |
f2348dd | Mihai Bazon | 04 October 2013, 10:17:25 UTC | Rename clean_getters to pure_getters; add pure_funcs. | 04 October 2013, 10:17:25 UTC |
253c7c2 | Mihai Bazon | 04 October 2013, 07:13:52 UTC | Merge pull request #308 from meteor/fix-unicode-keys Only allow identifier start characters at the beginning of identifiers. | 04 October 2013, 07:13:52 UTC |
bb0a762 | David Glasser | 04 October 2013, 00:02:19 UTC | Only allow identifier start characters at the beginning of identifiers. Without this fix, the following source: x = {"\u200c": 42}; would incorrectly be converted into a quoteless key. But while \u200c is allowed to be in identifiers, it cannot be at the beginning, as per ES5. (For example, the SockJS client library doesn't work under uglify starting with d9ad3c7c.) | 04 October 2013, 00:02:19 UTC |
8cc86fe | Mihai Bazon | 02 October 2013, 16:33:45 UTC | add `clean_getters` compressor option (default `false`) allows one to specify if `foo.bar` is considered to have side effects. | 02 October 2013, 16:38:01 UTC |
88fb83a | Mihai Bazon | 02 October 2013, 12:31:31 UTC | minor optimization unlikely to help in hand-written code: (something() ? foo : bar) == foo ==> something() | 02 October 2013, 12:31:31 UTC |
95b4507 | Mihai Bazon | 30 September 2013, 08:49:29 UTC | Fix error in the output minifying `Function("return this")()` | 30 September 2013, 08:49:29 UTC |
afdaeba | Mihai Bazon | 22 September 2013, 12:26:10 UTC | More attempts to determine when addition is associative Somebody hit me with bug reports on this. :) Refs #300 | 22 September 2013, 12:26:10 UTC |
037199b | Mihai Bazon | 22 September 2013, 11:54:32 UTC | Actually 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. | 22 September 2013, 12:00:42 UTC |
583fac0 | Mihai Bazon | 22 September 2013, 10:12:34 UTC | More dirty handling of [ ... ].join() in unsafe mode Close #300 | 22 September 2013, 10:14:42 UTC |
e815827 | Dan Wolff | 20 September 2013, 04:24:25 UTC | Evaluate [...].join() if possible: minor bugfix Follow-up to 78e98d2. | 22 September 2013, 08:34:30 UTC |
78e98d2 | Mihai Bazon | 19 September 2013, 15:20:45 UTC | When `unsafe` is set, evaluate [...].join() if possible Close #298 | 19 September 2013, 15:20:45 UTC |
8d14efe | Dan Wolff | 19 September 2013, 08:58:50 UTC | Concatenate strings also on the right-hand side of an expression that cannot be evaluated. Fix #126 E.g. converts: a+'Hello'+'World' to a+'HelloWorld' | 19 September 2013, 10:03:03 UTC |
83ba338 | Mihai Bazon | 06 September 2013, 07:10:45 UTC | Avoid printing <!-- in the output (HTML5 comment) | 06 September 2013, 07:10:45 UTC |
7c10b25 | Mihai Bazon | 06 September 2013, 06:54:30 UTC | Support 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 | 06 September 2013, 06:54:30 UTC |
cb9d16f | Mihai Bazon | 06 September 2013, 06:52:56 UTC | minor | 06 September 2013, 06:52:56 UTC |
5d8da86 | Mihai Bazon | 02 September 2013, 16:38:00 UTC | Fix names. | 02 September 2013, 16:38:00 UTC |
85b527b | Mihai Bazon | 02 September 2013, 16:36:16 UTC | Disallow `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`). | 02 September 2013, 16:36:16 UTC |
1c6efda | Mihai Bazon | 02 September 2013, 08:36:48 UTC | Better fix for #286 | 02 September 2013, 08:36:48 UTC |
b0ca896 | Mihai Bazon | 02 September 2013, 08:09:54 UTC | Fix parsing `a.case /= 1` Close #286 | 02 September 2013, 08:09:54 UTC |