sort by:
Revision Author Date Message Commit Date
3a7d53f 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 v2.6.4 22 June 2016, 10:24:31 UTC
1840a0b Merge pull request #1155 from kzc/issue_1154 Fix conditional expressions of form (x ? -1 : -1) 21 June 2016, 20:14:05 UTC
ace8aaa Fix conditional expressions of form (x ? -1 : -1) Fixes #1154, #1153 21 June 2016, 18:52:13 UTC
0c003c9 Don't replace undefined, NaN and Infinity within with scope 21 June 2016, 08:53:29 UTC
85fbf86 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 Don't assume DEBUG is defined when exporting --self Potential fix for #1148 20 June 2016, 06:40:45 UTC
55c592d v2.6.3 19 June 2016, 19:56:06 UTC
fc1abd1 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 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 Normalize error messages 19 June 2016, 19:08:34 UTC
2149bfb 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 Fix test262 failures related to <, <=, in and instanceof Fixed-by: @kzc 15 June 2016, 21:11:08 UTC
5c4cfaa Re-add parens after new expression in beautify mode 12 June 2016, 18:03:48 UTC
bb9c970 Don't allow with statements in strict mode 12 June 2016, 17:08:16 UTC
6c8e001 Stop dropping args in new expressions 12 June 2016, 15:17:17 UTC
9c53c7a Fix octal string strict mode tests 12 June 2016, 12:35:43 UTC
f99b7b6 Escape null characters as \0 unless followed by 0-7. 12 June 2016, 12:32:32 UTC
ea31da2 Don't drop unused if scope uses with statement Fix provided by @kzc 12 June 2016, 12:30:28 UTC
4d7746b 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 Catch errors when compression test fails to parse 09 June 2016, 19:12:15 UTC
8287ef6 Fix uglify attempting to rewrite invalid new expressions 08 June 2016, 17:45:21 UTC
5cb5305 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 Do not allow newlines in regex 05 June 2016, 15:02:19 UTC
09d5707 collapse_vars: Do not consider RegExp literals to be constants Fixes #1100 27 May 2016, 04:03:51 UTC
1e39026 Optimize if_return for single if/return cases. Fixes #1089 24 May 2016, 15:54:08 UTC
bc49dfd Completely allow evaluating -0 24 May 2016, 15:50:29 UTC
27eedbc 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 Simplify iife `new` fix as suggested by @rvanvelzen. Added a test for IIFEs in nested contexts. 15 May 2016, 23:12:17 UTC
bcc1318 Do not apply negate_iife optimization to `new` expression 09 May 2016, 07:19:28 UTC
a0e03c9 Retain comments before AST_Constants during mangle. 04 May 2016, 18:11:45 UTC
6641dca Fix regression causing tests to fail on windows 04 May 2016, 18:05:51 UTC
d294574 Workaround for process.exit() tty output truncation. Fixes #1055 04 May 2016, 18:04:48 UTC
35bc716 Add node 6 to travis 04 May 2016, 18:03:39 UTC
f39fd3d Handle CR line endings in comments. Fixes #1050 04 May 2016, 18:02:29 UTC
65887d9 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 Add test cases for slightly more esoteric cases 26 April 2016, 09:49:55 UTC
4d9a085 Add test case for hoisting a single function 26 April 2016, 09:43:03 UTC
4fe6304 Hoist functions when reversing if (x) return; ... vs. if (!x) ... Fixes #1052 23 April 2016, 21:48:33 UTC
c55dd5e Add `passes` compress option. Fix duplicate compress warnings. 19 April 2016, 18:05:33 UTC
e4fa4b1 Parse comments without recursion to avoid RangeError. Fixes #993 16 April 2016, 06:02:47 UTC
4b4528e Prevent endless recursion when evaluating self-referencing consts Fix #1041 13 April 2016, 13:03:31 UTC
187a0ca 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 Actually limit sequence length. Fix #1038 12 April 2016, 11:17:24 UTC
3907a5e 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 Merge pull request #1032 from kzc/member Simplify member(name, array) implementation. 07 April 2016, 21:32:14 UTC
c70d176 Simplify member(name, array) implementation. 07 April 2016, 13:57:30 UTC
9317237 Avoid using inherited hasOwnProperty Fix #1031 07 April 2016, 10:16:22 UTC
9843425 Optimize ternaries with boolean consequent or alternative. Fixes #511 02 April 2016, 15:22:12 UTC
45ddb9c Speedup `unused` compress option for already minified code Fixes: #321 #917 #1022 28 March 2016, 21:58:50 UTC
9bcf702 added documentation on conditional compilation using API 27 March 2016, 17:42:52 UTC
f68de86 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 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 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 Attempt to increase timeout for mocha let test. 15 March 2016, 15:44:09 UTC
a9d4a62 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 Fix: Uglified Number.prototype functions on big numbers 14 March 2016, 11:41:06 UTC
102d1b9 #877 Ignore mangle sort option 27 February 2016, 20:33:10 UTC
294861b v2.6.2 22 February 2016, 19:39:14 UTC
11b0efd boolean_expression ? true : false --> boolean_expression 22 February 2016, 16:59:36 UTC
5486b68 Take operator || precendence into account for AST_If optimization. Fixes #979. 21 February 2016, 17:05:02 UTC
bdd8e34 Allow --no-* options to disable their respective parameter Fixes #974 and #972 17 February 2016, 19:04:45 UTC
6547437 preserve ThisBinding for side_effects 17 February 2016, 18:34:01 UTC
9662228 Don't compress (0, eval)() to eval() 16 February 2016, 18:00:48 UTC
31a9b05 Preserve ThisBinding in conditionals & collapse_vars Fixes #973 16 February 2016, 17:47:49 UTC
63b01fe 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 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 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 Create and map `bare-returns` into new `parse` property name 08 February 2016, 09:45:42 UTC
a123e23 Fixes #951 missing export for SymbolDef 31 January 2016, 20:41:38 UTC
601780a 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 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 collapse_vars: fix if/else and ternary operator side effects 28 January 2016, 17:17:06 UTC
12e6ad3 collapse_vars: small change to README 28 January 2016, 16:04:30 UTC
00c8d1d collapse_vars: document option in README 28 January 2016, 16:01:17 UTC
af2472d collapse_vars: fix bug in repeated var defs of same name 28 January 2016, 15:48:50 UTC
3eb9101 Add mangleProperties documentation to README Add additional documentation to mangleProperties. 27 January 2016, 20:24:32 UTC
0a38a68 fix bug in collapse_vars for right side of "||" and "&&" 27 January 2016, 19:18:46 UTC
f4c2ea3 Collapse single use var definitions Fix #721 27 January 2016, 09:48:15 UTC
915f907 Add start/end in the `arguments` definition (keeps my https://github.com/mishoo/jsinfo.el working) 27 January 2016, 09:36:03 UTC
799509e Added a mangle properties option 26 January 2016, 21:10:08 UTC
b5a7197 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 Tighten up @const regex. 20 January 2016, 17:35:45 UTC
4a7179f Simplify by skipping extra tree walk. 20 January 2016, 17:03:41 UTC
f97da42 Use TreeWalker for more accurate @const results and update tests 20 January 2016, 16:54:00 UTC
918c17b Update README for /** @const */ 19 January 2016, 19:24:36 UTC
8b71c65 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 Allow operator names as getters/setters Fixes #919 Fix provided by @kzc 19 January 2016, 18:28:51 UTC
ebe118d 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 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 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 Make arguments test slightly more strict 14 January 2016, 23:04:05 UTC
5c4e470 Add scope test for arguments 14 January 2016, 21:32:46 UTC
6605d15 Never mangle arguments and keep them in their scope Fixes #892 Helped-by: kzc 14 January 2016, 18:45:52 UTC
ac8db97 Merge pull request #905 from avdg/unit-tests Add unit tests 14 January 2016, 07:54:40 UTC
88b77dd Add test case for line continuation 12 January 2016, 23:34:56 UTC
fe4e9f9 Fix hoisting the var in ForIn Close #913 05 January 2016, 11:56:52 UTC
8c6af09 Add mocha tests 27 December 2015, 21:38:20 UTC
6f3e35b Fix ch that could contain other newline characters 27 December 2015, 21:24:37 UTC
174404c Do not allow newlines in string literals 26 December 2015, 14:08:37 UTC
back to top