85924bb | Geraint | 27 June 2016, 11:01:21 UTC | Allow input files to be map (url->filename) | 30 June 2016, 20:23:59 UTC |
a97690f | Anthony Van de Gejuchte | 13 June 2016, 10:36:47 UTC | Various LineTerminator changes * Escaped newlines should also produce SyntaxError * Fix multiline comment parsing and add tests * Adapt makePredicate to handle \u2028 and \u2029 * Move up nlb check in regex so it's checked before any escape handling * Change error messages to conform ecma standard * Find_eol not recornizing \u2028 and \u2029 as line terminator * Remove \u180e as it is removed in unicode 6.3.0 from the category zs | 30 June 2016, 20:12:50 UTC |
02c6382 | kzc | 30 June 2016, 04:24:34 UTC | Enable --screw-ie8 by default. catch identifier is mangled correctly for ES5 standards-compliant JS engines by default. Unconditionally use the ie8 if/do-while workaround whether or not --screw-ie8 is enabled. To support non-standard ie8 javascript use: uglifyjs --support-ie8 | 30 June 2016, 19:49:48 UTC |
030611b | iliashk | 25 June 2016, 08:48:39 UTC | Add Node API documentation for mangling options | 30 June 2016, 19:45:25 UTC |
335b72d | kzc | 23 June 2016, 16:54:38 UTC | Fix spidermonkey AST (ESTree) export and import, Array holes Fixes: #1156 #1161 Also add test to exercise Uglify after spidermonkey export/import of itself. | 30 June 2016, 19:44:12 UTC |
3a7d53f | Anthony Van de Gejuchte | 23 June 2016, 14:53:48 UTC | Move OctalEscapeSequence to read_escape_char This should simplify and improve implementation, make it easier to implement template strings, and keep master a bit more in sync with harmony. Previous implementation wasn't broken, though the loop gave me the impression it could read infinite numbers and annoyed me a bit. It was also slightly unnecessary because the lookup involved only 3 characters. | 30 June 2016, 19:42:15 UTC |
9676167 | Richard van Velzen | 22 June 2016, 10:24:31 UTC | v2.6.4 | 22 June 2016, 10:24:31 UTC |
1840a0b | Mihai Bazon | 21 June 2016, 20:14:05 UTC | Merge pull request #1155 from kzc/issue_1154 Fix conditional expressions of form (x ? -1 : -1) | 21 June 2016, 20:14:05 UTC |
ace8aaa | kzc | 21 June 2016, 18:52:13 UTC | Fix conditional expressions of form (x ? -1 : -1) Fixes #1154, #1153 | 21 June 2016, 18:52:13 UTC |
0c003c9 | kzc | 19 June 2016, 03:06:59 UTC | Don't replace undefined, NaN and Infinity within with scope | 21 June 2016, 08:53:29 UTC |
85fbf86 | Anthony Van de Gejuchte | 20 June 2016, 12:18:47 UTC | Keep master in sync with harmony * Do not mangle when no mangle is required * Improve use_asm reset while printing code | 20 June 2016, 16:42:17 UTC |
aa82027 | Richard van Velzen | 20 June 2016, 06:39:46 UTC | Don't assume DEBUG is defined when exporting --self Potential fix for #1148 | 20 June 2016, 06:40:45 UTC |
55c592d | Richard van Velzen | 19 June 2016, 19:56:06 UTC | v2.6.3 | 19 June 2016, 19:56:06 UTC |
fc1abd1 | Asia | 18 June 2016, 20:17:51 UTC | Document the except option to mangle Added documentation for the `except` option to the `mangle` option in the API reference. | 19 June 2016, 19:17:31 UTC |
e645ba8 | Shrey Banga | 05 May 2016, 20:44:59 UTC | Respect quote style in object literals The option added in fbbaa42ee55a7f753f7cab9b1a905ccf73cf26d5 wasn't being respected inside object literals, so quoted property names would still be stripped out with this option. This is mostly a corner-case, but useful when the output is passed to something like the Closure compiler, where quoted property names can be used to prevent mangling. | 19 June 2016, 19:13:31 UTC |
6c99816 | Anthony Van de Gejuchte | 18 June 2016, 15:28:22 UTC | Normalize error messages | 19 June 2016, 19:08:34 UTC |
2149bfb | Anthony Van de Gejuchte | 13 June 2016, 19:11:08 UTC | Don't mix strings with directives in output * Don't interpret strings with escaped content as directive * Don't interpret strings after empty statement as directive * Adapt output to prevent strings being represent as directive * Introduce UGLIFY_DEBUG to allow internal testing like EXPECT_DIRECTIVE | 19 June 2016, 18:59:17 UTC |
d7971ba | Anthony Van de Gejuchte | 13 June 2016, 16:19:06 UTC | Fix test262 failures related to <, <=, in and instanceof Fixed-by: @kzc | 15 June 2016, 21:11:08 UTC |
5c4cfaa | Anthony Van de Gejuchte | 12 June 2016, 15:34:05 UTC | Re-add parens after new expression in beautify mode | 12 June 2016, 18:03:48 UTC |
bb9c970 | Anthony Van de Gejuchte | 12 June 2016, 16:58:20 UTC | Don't allow with statements in strict mode | 12 June 2016, 17:08:16 UTC |
6c8e001 | Anthony Van de Gejuchte | 10 June 2016, 13:42:55 UTC | Stop dropping args in new expressions | 12 June 2016, 15:17:17 UTC |
9c53c7a | Richard van Velzen | 12 June 2016, 12:35:43 UTC | Fix octal string strict mode tests | 12 June 2016, 12:35:43 UTC |
f99b7b6 | David Bau | 23 December 2013, 16:05:04 UTC | Escape null characters as \0 unless followed by 0-7. | 12 June 2016, 12:32:32 UTC |
ea31da2 | Anthony Van de Gejuchte | 09 June 2016, 22:34:20 UTC | Don't drop unused if scope uses with statement Fix provided by @kzc | 12 June 2016, 12:30:28 UTC |
4d7746b | Anthony Van de Gejuchte | 20 May 2016, 08:25:35 UTC | Throw errors in strict mode for octal strings Adds a directive tracker for the parser/tokenizer to allow parsing depending on directive context. | 12 June 2016, 12:27:08 UTC |
31d5825 | Anthony Van de Gejuchte | 08 June 2016, 18:11:32 UTC | Catch errors when compression test fails to parse | 09 June 2016, 19:12:15 UTC |
8287ef6 | Anthony Van de Gejuchte | 06 June 2016, 23:33:13 UTC | Fix uglify attempting to rewrite invalid new expressions | 08 June 2016, 17:45:21 UTC |
5cb5305 | ChALkeR | 07 June 2016, 09:25:16 UTC | Export tokenizer function In uglify-js@1, both parser and tokenizer methods were exported This allows to use tokenizer() separately, e.g. to wrap or override it, as parse() method accepts not only text, but also tokenized functions. | 07 June 2016, 09:25:16 UTC |
00ad57e | Anthony Van de Gejuchte | 05 June 2016, 00:44:59 UTC | Do not allow newlines in regex | 05 June 2016, 15:02:19 UTC |
09d5707 | kzc | 26 May 2016, 18:47:16 UTC | collapse_vars: Do not consider RegExp literals to be constants Fixes #1100 | 27 May 2016, 04:03:51 UTC |
1e39026 | kzc | 22 May 2016, 15:35:41 UTC | Optimize if_return for single if/return cases. Fixes #1089 | 24 May 2016, 15:54:08 UTC |
bc49dfd | Richard van Velzen | 18 May 2016, 16:49:55 UTC | Completely allow evaluating -0 | 24 May 2016, 15:50:29 UTC |
27eedbc | Richard van Velzen | 17 May 2016, 20:34:38 UTC | Never produce -0 when evaluating expressions (like -"") Fix for #1085. The major case was already there, but more expressions can result in -0. | 17 May 2016, 20:34:38 UTC |
5f464b4 | kzc | 15 May 2016, 23:12:17 UTC | Simplify iife `new` fix as suggested by @rvanvelzen. Added a test for IIFEs in nested contexts. | 15 May 2016, 23:12:17 UTC |
bcc1318 | kzc | 09 May 2016, 07:19:28 UTC | Do not apply negate_iife optimization to `new` expression | 09 May 2016, 07:19:28 UTC |
a0e03c9 | kzc | 03 May 2016, 19:08:40 UTC | Retain comments before AST_Constants during mangle. | 04 May 2016, 18:11:45 UTC |
6641dca | Anthony Van de Gejuchte | 03 May 2016, 15:41:40 UTC | Fix regression causing tests to fail on windows | 04 May 2016, 18:05:51 UTC |
d294574 | kzc | 01 May 2016, 04:59:29 UTC | Workaround for process.exit() tty output truncation. Fixes #1055 | 04 May 2016, 18:04:48 UTC |
35bc716 | Anthony Van de Gejuchte | 26 April 2016, 17:20:37 UTC | Add node 6 to travis | 04 May 2016, 18:03:39 UTC |
f39fd3d | kzc | 25 April 2016, 04:42:18 UTC | Handle CR line endings in comments. Fixes #1050 | 04 May 2016, 18:02:29 UTC |
65887d9 | Mihai Bazon | 26 April 2016, 19:09:52 UTC | Merge pull request #1053 from rvanvelzen/hoist_if_return_funs Hoist functions when reversing if (x) return; ... vs. if (!x) ... | 26 April 2016, 19:09:52 UTC |
e9224ab | Richard van Velzen | 26 April 2016, 09:49:55 UTC | Add test cases for slightly more esoteric cases | 26 April 2016, 09:49:55 UTC |
4d9a085 | Richard van Velzen | 26 April 2016, 09:43:03 UTC | Add test case for hoisting a single function | 26 April 2016, 09:43:03 UTC |
4fe6304 | Richard van Velzen | 23 April 2016, 21:48:33 UTC | Hoist functions when reversing if (x) return; ... vs. if (!x) ... Fixes #1052 | 23 April 2016, 21:48:33 UTC |
c55dd5e | kzc | 12 April 2016, 13:19:38 UTC | Add `passes` compress option. Fix duplicate compress warnings. | 19 April 2016, 18:05:33 UTC |
e4fa4b1 | kzc | 15 April 2016, 23:58:46 UTC | Parse comments without recursion to avoid RangeError. Fixes #993 | 16 April 2016, 06:02:47 UTC |
4b4528e | Richard van Velzen | 12 April 2016, 18:30:44 UTC | Prevent endless recursion when evaluating self-referencing consts Fix #1041 | 13 April 2016, 13:03:31 UTC |
187a0ca | Richard van Velzen | 12 April 2016, 18:08:09 UTC | Add base54.reset() to compress tests Without this reset, char counts bleed to next tests. One test had a bad expect clause. | 12 April 2016, 18:08:09 UTC |
b5a7a23 | Mihai Bazon | 12 April 2016, 11:15:14 UTC | Actually limit sequence length. Fix #1038 | 12 April 2016, 11:17:24 UTC |
3907a5e | kzc | 10 April 2016, 19:41:38 UTC | Fix warnings for referenced non-hoisted functions. Fixes #1034 Also added `expect_warnings` functionality to test framework. | 11 April 2016, 16:15:20 UTC |
b434b75 | Mihai Bazon | 07 April 2016, 21:32:14 UTC | Merge pull request #1032 from kzc/member Simplify member(name, array) implementation. | 07 April 2016, 21:32:14 UTC |
c70d176 | kzc | 07 April 2016, 13:57:30 UTC | Simplify member(name, array) implementation. | 07 April 2016, 13:57:30 UTC |
9317237 | Mihai Bazon | 07 April 2016, 10:15:28 UTC | Avoid using inherited hasOwnProperty Fix #1031 | 07 April 2016, 10:16:22 UTC |
9843425 | kzc | 02 April 2016, 04:21:13 UTC | Optimize ternaries with boolean consequent or alternative. Fixes #511 | 02 April 2016, 15:22:12 UTC |
45ddb9c | kzc | 28 March 2016, 21:58:50 UTC | Speedup `unused` compress option for already minified code Fixes: #321 #917 #1022 | 28 March 2016, 21:58:50 UTC |
9bcf702 | Sebastien Daniel | 04 March 2016, 12:32:24 UTC | added documentation on conditional compilation using API | 27 March 2016, 17:42:52 UTC |
f68de86 | Mihai Bazon | 24 March 2016, 16:16:26 UTC | Merge pull request #1011 from kzc/dont-produce-let-in-mangle Do not produce `let` as a variable name in mangle. | 24 March 2016, 16:16:26 UTC |
c3c7587 | Mihai Bazon | 24 March 2016, 16:08:57 UTC | Merge pull request #1019 from kzc/escape-ascii-only Escape all ASCII control characters within strings for ascii_only | 24 March 2016, 16:08:57 UTC |
07bb726 | kzc | 24 March 2016, 15:51:54 UTC | Escape all ASCII control characters within strings when using ascii_only. Fixes #1017. Tab characters within strings are now output as `\t` in all output modes. | 24 March 2016, 15:51:54 UTC |
21befe5 | kzc | 15 March 2016, 15:44:09 UTC | Attempt to increase timeout for mocha let test. | 15 March 2016, 15:44:09 UTC |
a9d4a62 | kzc | 15 March 2016, 15:20:32 UTC | Do not produce `let` as a variable name in mangle. Would previously occur in large generated functions with 21,000+ variables. Fixes #986. | 15 March 2016, 15:20:32 UTC |
ee6c9fa | philippsimon | 14 March 2016, 11:21:25 UTC | Fix: Uglified Number.prototype functions on big numbers | 14 March 2016, 11:41:06 UTC |
102d1b9 | kzc | 27 February 2016, 20:33:10 UTC | #877 Ignore mangle sort option | 27 February 2016, 20:33:10 UTC |
294861b | Mihai Bazon | 22 February 2016, 19:39:14 UTC | v2.6.2 | 22 February 2016, 19:39:14 UTC |
11b0efd | kzc | 21 February 2016, 23:47:21 UTC | boolean_expression ? true : false --> boolean_expression | 22 February 2016, 16:59:36 UTC |
5486b68 | kzc | 21 February 2016, 17:05:02 UTC | Take operator || precendence into account for AST_If optimization. Fixes #979. | 21 February 2016, 17:05:02 UTC |
bdd8e34 | Richard van Velzen | 17 February 2016, 19:04:45 UTC | Allow --no-* options to disable their respective parameter Fixes #974 and #972 | 17 February 2016, 19:04:45 UTC |
6547437 | alexlamsl | 16 February 2016, 18:52:28 UTC | preserve ThisBinding for side_effects | 17 February 2016, 18:34:01 UTC |
9662228 | Richard van Velzen | 16 February 2016, 18:00:48 UTC | Don't compress (0, eval)() to eval() | 16 February 2016, 18:00:48 UTC |
31a9b05 | alexlamsl | 16 February 2016, 10:15:59 UTC | Preserve ThisBinding in conditionals & collapse_vars Fixes #973 | 16 February 2016, 17:47:49 UTC |
63b01fe | Richard van Velzen | 11 February 2016, 21:13:30 UTC | Merge pull request #948 from kzc/collapse_vars_doc collapse_vars: document the compress option in README | 11 February 2016, 21:13:30 UTC |
7a4ed9d | sergeyv | 08 February 2016, 21:42:07 UTC | Revert "using the original sourcemap as the base" This reverts commit ad18689d926d25c7a25b95c630c2ad05b7b5f5b5. Reason for revert: introduce issue #882 Currently, generated sourcemap contains copy of all existing mappings and adds new mappings from uglified code to original one. However, previous mapping are no longer valid and shouldn't be added. | 10 February 2016, 09:19:39 UTC |
d5c651a | Richard van Velzen | 08 February 2016, 09:36:28 UTC | Allow cli options to be specified in separate definitions Fix for #963. This allows stuff like `--define a=1 --define b=1` besides only `--define a=1,b=1` | 10 February 2016, 09:14:46 UTC |
cdba43c | Martii | 06 February 2016, 19:46:18 UTC | Create and map `bare-returns` into new `parse` property name | 08 February 2016, 09:45:42 UTC |
a123e23 | Boris Letocha | 31 January 2016, 20:41:38 UTC | Fixes #951 missing export for SymbolDef | 31 January 2016, 20:41:38 UTC |
601780a | Mihai Bazon | 29 January 2016, 16:05:39 UTC | Merge pull request #949 from kzc/collapse_vars_conditions collapse_vars: fix if/else and ternary operator side effects | 29 January 2016, 16:05:39 UTC |
7c3fee9 | kzc | 29 January 2016, 15:35:07 UTC | collapse_vars: avoid replacement across AST_Case nodes to be on safe side even though no issues seen. | 29 January 2016, 15:35:07 UTC |
929de2b | kzc | 28 January 2016, 17:17:06 UTC | collapse_vars: fix if/else and ternary operator side effects | 28 January 2016, 17:17:06 UTC |
12e6ad3 | kzc | 28 January 2016, 16:04:30 UTC | collapse_vars: small change to README | 28 January 2016, 16:04:30 UTC |
00c8d1d | kzc | 28 January 2016, 16:01:17 UTC | collapse_vars: document option in README | 28 January 2016, 16:01:17 UTC |
af2472d | kzc | 27 January 2016, 23:35:49 UTC | collapse_vars: fix bug in repeated var defs of same name | 28 January 2016, 15:48:50 UTC |
3eb9101 | Bryan Rayner | 27 January 2016, 20:24:32 UTC | Add mangleProperties documentation to README Add additional documentation to mangleProperties. | 27 January 2016, 20:24:32 UTC |
0a38a68 | kzc | 27 January 2016, 19:18:46 UTC | fix bug in collapse_vars for right side of "||" and "&&" | 27 January 2016, 19:18:46 UTC |
f4c2ea3 | kzc | 27 January 2016, 07:17:06 UTC | Collapse single use var definitions Fix #721 | 27 January 2016, 09:48:15 UTC |
915f907 | Mihai Bazon | 27 January 2016, 09:36:03 UTC | Add start/end in the `arguments` definition (keeps my https://github.com/mishoo/jsinfo.el working) | 27 January 2016, 09:36:03 UTC |
799509e | Jeremy Marzka | 18 January 2016, 02:54:09 UTC | Added a mangle properties option | 26 January 2016, 21:10:08 UTC |
b5a7197 | Richard van Velzen | 20 January 2016, 18:04:36 UTC | Merge pull request #928 from STRML/constPragma Mark vars with /** @const */ pragma as consts so they can be eliminated. | 20 January 2016, 18:04:36 UTC |
1b70334 | Samuel Reed | 20 January 2016, 17:35:45 UTC | Tighten up @const regex. | 20 January 2016, 17:35:45 UTC |
4a7179f | Samuel Reed | 20 January 2016, 17:03:41 UTC | Simplify by skipping extra tree walk. | 20 January 2016, 17:03:41 UTC |
f97da42 | Samuel Reed | 20 January 2016, 16:52:48 UTC | Use TreeWalker for more accurate @const results and update tests | 20 January 2016, 16:54:00 UTC |
918c17b | Samuel Reed | 19 January 2016, 19:24:36 UTC | Update README for /** @const */ | 19 January 2016, 19:24:36 UTC |
8b71c65 | Samuel Reed | 19 January 2016, 19:12:32 UTC | Mark vars with /** @const */ pragma as consts so they can be eliminated. Fixes older browser support for consts and allows more flexibility in dead code removal. | 19 January 2016, 19:23:02 UTC |
26641f3 | Anthony Van de Gejuchte | 15 January 2016, 14:58:15 UTC | Allow operator names as getters/setters Fixes #919 Fix provided by @kzc | 19 January 2016, 18:28:51 UTC |
ebe118d | Anthony Van de Gejuchte | 16 January 2016, 20:35:39 UTC | Add keywords to package.json Should hopefully bump up on the results of the npm site when searching `uglify` | 19 January 2016, 18:26:55 UTC |
70e5b6f | Anthony Van de Gejuchte | 19 January 2016, 13:00:22 UTC | Add some tests for comment-filters through api Also never bother comment options to filter comment5/shebang comments as they have their custom filter. | 19 January 2016, 18:14:19 UTC |
57e0faf | Richard van Velzen | 18 January 2016, 17:35:48 UTC | Merge pull request #918 from avdg/fix-arguments-handling Never mangle arguments and keep them in their scope | 18 January 2016, 17:35:48 UTC |
8439c8b | Anthony Van de Gejuchte | 14 January 2016, 23:04:05 UTC | Make arguments test slightly more strict | 14 January 2016, 23:04:05 UTC |
5c4e470 | Anthony Van de Gejuchte | 14 January 2016, 21:32:46 UTC | Add scope test for arguments | 14 January 2016, 21:32:46 UTC |
6605d15 | Anthony Van de Gejuchte | 10 January 2016, 22:33:54 UTC | Never mangle arguments and keep them in their scope Fixes #892 Helped-by: kzc | 14 January 2016, 18:45:52 UTC |
ac8db97 | Richard van Velzen | 14 January 2016, 07:54:40 UTC | Merge pull request #905 from avdg/unit-tests Add unit tests | 14 January 2016, 07:54:40 UTC |