Commit Graph

  • a123e232b9 Fixes #951 missing export for SymbolDef Boris Letocha 2016-01-31 21:41:38 +01:00
  • 601780acc1 Merge pull request #949 from kzc/collapse_vars_conditions Mihai Bazon 2016-01-29 18:05:39 +02:00
  • 7c3fee9e31 collapse_vars: avoid replacement across AST_Case nodes to be on safe side even though no issues seen. kzc 2016-01-29 10:35:07 -05:00
  • 929de2b0de collapse_vars: fix if/else and ternary operator side effects kzc 2016-01-28 12:17:06 -05:00
  • 12e6ad326c collapse_vars: small change to README kzc 2016-01-28 11:04:30 -05:00
  • 00c8d1d241 collapse_vars: document option in README kzc 2016-01-28 11:01:17 -05:00
  • af2472d85e collapse_vars: fix bug in repeated var defs of same name kzc 2016-01-27 18:35:49 -05:00
  • 3eb9101918 Add mangleProperties documentation to README Bryan Rayner 2016-01-27 14:24:32 -06:00
  • 0a38a688f9 fix bug in collapse_vars for right side of "||" and "&&" kzc 2016-01-27 14:18:46 -05:00
  • f4c2ea37bf Collapse single use var definitions kzc 2016-01-27 02:17:06 -05:00
  • 915f907186 Add start/end in the arguments definition Mihai Bazon 2016-01-27 11:36:03 +02:00
  • 799509e145 Added a mangle properties option Jeremy Marzka 2016-01-17 21:54:09 -05:00
  • b5a7197ae5 Merge pull request #928 from STRML/constPragma Richard van Velzen 2016-01-20 19:04:36 +01:00
  • 1b703349cf Tighten up @const regex. Samuel Reed 2016-01-20 11:35:45 -06:00
  • 4a7179ff91 Simplify by skipping extra tree walk. Samuel Reed 2016-01-20 11:03:41 -06:00
  • f97da4294a Use TreeWalker for more accurate @const results and update tests Samuel Reed 2016-01-20 10:52:48 -06:00
  • 918c17bd88 Update README for /** @const */ Samuel Reed 2016-01-19 13:24:36 -06:00
  • 8b71c6559b Mark vars with /** @const */ pragma as consts so they can be eliminated. Samuel Reed 2016-01-19 13:12:32 -06:00
  • 26641f3fb2 Allow operator names as getters/setters Anthony Van de Gejuchte 2016-01-15 15:58:15 +01:00
  • ebe118dc79 Add keywords to package.json Anthony Van de Gejuchte 2016-01-16 21:35:39 +01:00
  • 2827fa8699 Merge branch 'harmony' of github.com:mishoo/UglifyJS2 into harmony Richard van Velzen 2016-01-19 19:22:35 +01:00
  • c80ec625ec Add test for bad template string parsing Richard van Velzen 2016-01-19 19:21:53 +01:00
  • 5e78f20f1c Remove duplicate error message Fugiman 2016-01-19 02:04:17 -08:00
  • 1f75232062 Fix template string parsing Fugiman 2016-01-18 21:28:26 -08:00
  • 028ff64e9a Default values inside destructurings Fábio Santos 2015-11-22 19:04:42 +00:00
  • 7a8cffd631 Move the idea of a symbol having a default value up the class chain. Fábio Santos 2015-11-22 19:00:54 +00:00
  • 5b553aafe2 Destructuring parameters with defaults. function x({ foo, bar } = {}) { } Fábio Santos 2015-11-22 18:02:35 +00:00
  • 084437bc6d Non-destructuring default parameters Fábio Santos 2015-11-22 17:40:05 +00:00
  • 70e5b6f15b Add some tests for comment-filters through api Anthony Van de Gejuchte 2016-01-19 14:00:22 +01:00
  • 57e0fafd5c Merge pull request #918 from avdg/fix-arguments-handling Richard van Velzen 2016-01-18 18:35:48 +01:00
  • 8439c8ba98 Make arguments test slightly more strict Anthony Van de Gejuchte 2016-01-15 00:04:05 +01:00
  • 5c4e470d43 Add scope test for arguments Anthony Van de Gejuchte 2016-01-14 22:32:46 +01:00
  • 6605d15783 Never mangle arguments and keep them in their scope Anthony Van de Gejuchte 2016-01-10 23:33:54 +01:00
  • ac8db977b9 Merge pull request #905 from avdg/unit-tests Richard van Velzen 2016-01-14 08:54:40 +01:00
  • 88b77ddaa9 Add test case for line continuation Anthony Van de Gejuchte 2016-01-13 00:30:32 +01:00
  • 1cd9a2df9a Merge pull request #872 from fabiosantoscode/feature/harmony-defaults Richard van Velzen 2016-01-05 21:39:23 +01:00
  • fe4e9f9d97 Fix hoisting the var in ForIn Mihai Bazon 2016-01-05 13:56:52 +02:00
  • 8c6af09ae0 Add mocha tests Anthony Van de Gejuchte 2015-12-27 22:28:03 +01:00
  • 6f3e35bb3f Fix ch that could contain other newline characters Anthony Van de Gejuchte 2015-12-27 22:24:37 +01:00
  • 7f3dbb6df7 Merge branch 'master' into harmony Richard van Velzen 2015-12-26 17:55:38 +01:00
  • 174404c0f3 Do not allow newlines in string literals Anthony Van de Gejuchte 2015-12-26 15:08:37 +01:00
  • 60c4030a4d Merge pull request #874 from kzc/fix-conditionals Richard van Velzen 2015-12-26 14:28:33 +01:00
  • ac810dc07a Merge pull request #896 from avdg/do-while-semicolon Richard van Velzen 2015-12-26 14:26:22 +01:00
  • 0cabedc526 Disable loop optimization for parse-only tests Anthony Van de Gejuchte 2015-12-18 15:25:24 +01:00
  • 5cd26c005b Add tests Anthony Van de Gejuchte 2015-12-18 14:39:48 +01:00
  • bd99b00413 Semicolon after do...while statement is optional Anthony Van de Gejuchte 2015-12-17 23:02:35 +01:00
  • 9e2f9f7910 Merge pull request #879 from ReadmeCritic/master Richard van Velzen 2015-12-07 19:04:56 +01:00
  • e4d73d8b7c Merge pull request #870 from fabiosantoscode/feature/harmony-class Richard van Velzen 2015-12-07 18:59:07 +01:00
  • e87c77ed41 Update README URLs based on HTTP redirects ReadmeCritic 2015-11-27 08:46:55 -08:00
  • 774bda13cd #873 Fix conditionals optimizations with default compress options kzc 2015-11-24 13:27:50 -05:00
  • 8220dbbea0 Default values inside destructurings Fábio Santos 2015-11-22 19:04:42 +00:00
  • 59e999597e Move the idea of a symbol having a default value up the class chain. Fábio Santos 2015-11-22 19:00:54 +00:00
  • cbcb3ac44e Destructuring parameters with defaults. function x({ foo, bar } = {}) { } Fábio Santos 2015-11-22 18:02:35 +00:00
  • f07ab4666f Non-destructuring default parameters Fábio Santos 2015-11-22 17:40:05 +00:00
  • a800356ad0 Implement new.target Fábio Santos 2015-11-21 14:48:23 +00:00
  • e076abdbf2 Mangle class names correctly Fábio Santos 2015-11-21 13:59:18 +00:00
  • 425613b0d2 mangle class names Fábio Santos 2015-11-21 12:20:20 +00:00
  • 69da8e53e0 Separate class expressions from class declarations and their symbols like defuns Fábio Santos 2015-11-21 09:17:32 +00:00
  • bb6b3a773a Make AST_Class inherit AST_Scope instead of AST_Object Fábio Santos 2015-11-20 19:34:10 +00:00
  • 364d20f8fb Add mangle = { ...mangleopts } option to tests. Fábio Santos 2015-11-20 18:09:27 +00:00
  • 15b5f70338 v2.6.1 v2.6.1 Mihai Bazon 2015-11-16 12:10:47 +02:00
  • 7f48d5b33c Fix endless loop Mihai Bazon 2015-11-16 12:07:15 +02:00
  • b6968b6bd2 Limit max iterations for tighten_body Mihai Bazon 2015-11-16 12:06:12 +02:00
  • 08b80302eb Merge pull request #864 from plievone/patch-1 Richard van Velzen 2015-11-14 12:04:49 +01:00
  • 645626ebe8 Fix docs for keep_fargs plievone 2015-11-14 11:38:00 +02:00
  • d895c09c70 v2.6.0 v2.6.0 Mihai Bazon 2015-11-12 12:46:28 +02:00
  • 08623aa6a7 Fix output for "use asm" code from SpiderMonkey AST Mihai Bazon 2015-11-12 12:18:25 +02:00
  • c898a26117 Build label def/refs info when figuring out scope Mihai Bazon 2015-11-12 11:48:06 +02:00
  • 619adb0308 Replace util.error with console.log Mihai Bazon 2015-11-12 11:47:37 +02:00
  • 7691bebea5 Rework has_directive Mihai Bazon 2015-11-11 22:15:25 +02:00
  • 3c4346728e Merge pull request #854 from kzc/moz-regexp-2 Mihai Bazon 2015-11-10 10:12:30 +02:00
  • 18d37ac761 Fix parsing invalid input Mihai Bazon 2015-11-09 13:15:20 +02:00
  • 63d35f8f6d Prevent ReDoS by not using a regexp to verify floating point numbers Richard van Velzen 2015-11-09 11:28:27 +01:00
  • 7dbe961b2d simplify mozilla AST RegExpLiteral token parse and handle corner cases of regex.pattern better kzc 2015-11-02 13:10:37 -05:00
  • 94c4daaf9e Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags rather than non-standard raw property. kzc 2015-11-02 12:24:09 -05:00
  • 37ee9de902 rename To_Moz_Literal to To_Moz_RegExp kzc 2015-11-01 10:20:42 -05:00
  • 83db98ad3b Fixed RegExp literal in mozilla AST generation/output and added a --dump-spidermonkey-ast flag kzc 2015-11-01 01:02:52 -04:00
  • bd0ae6569f return undefined optimization no longer uses return_void_0 option kzc 2015-10-28 17:51:46 -04:00
  • 841a661071 more tests for return undefined optimization kzc 2015-10-28 13:41:41 -04:00
  • 7491d07666 optimize return undefined and return void 0 kzc 2015-10-28 13:25:27 -04:00
  • 335e349314 Allow specification beautify options in tests Richard van Velzen 2015-10-28 20:50:01 +01:00
  • 392ac4ff31 Merge branch 'master' into harmony Richard van Velzen 2015-10-28 20:38:07 +01:00
  • 2a88d07b3a Stop building for io.js Richard van Velzen 2015-10-28 20:36:03 +01:00
  • a887cde9f2 fixes #845: \v escaping should be restricted to "screw_ie8" mode Michael Ficarra 2015-10-27 09:05:21 -07:00
  • 9ffed2bea6 static properties Fábio Santos 2015-10-27 00:51:47 +00:00
  • 5f7cb6939c Starting ES6 classes Fábio Santos 2015-10-27 00:40:46 +00:00
  • 64e7a00399 Accept keyword names as concise method names Fábio Santos 2015-10-26 23:24:04 +00:00
  • c99eaae360 Make concise methods work with propmangle Fábio Santos 2015-10-26 22:15:21 +00:00
  • 34213ea2f8 Create a new symbol for methods' names Fábio Santos 2015-10-26 22:14:55 +00:00
  • da8c428a07 Just making sure that concise methods are separated by commas. When classes come, they won't be necessary. Fábio Santos 2015-10-23 18:59:07 +01:00
  • 0d8dea9538 start concise methods Fábio Santos 2015-10-11 18:22:07 +01:00
  • 2babe737e0 Merge pull request #844 from fabiosantoscode/harmony-allow-of Richard van Velzen 2015-10-27 09:26:51 +01:00
  • 2cce61c564 Allow 'of' to be a name. Fábio Santos 2015-10-26 20:56:59 +00:00
  • 246ec416c0 Merge branch 'master' into harmony Richard van Velzen 2015-10-20 21:58:58 +02:00
  • b5623b19d4 Fix #836 Fábio Santos 2015-10-20 19:48:56 +01:00
  • 6be9c752d5 Merge branch 'master' into harmony Richard van Velzen 2015-10-20 20:12:10 +02:00
  • 6b2861e086 Make_string was missing \v and wasnt reversing vertical tabs even though read_escaped_char coverts them startswithaj 2015-10-15 16:50:53 +10:00
  • d5138f7467 add --pure-funcs option Damian Krzeminski 2015-10-13 21:05:37 -04:00
  • eac67b2816 upgrade yargs 3.5.4 -> 3.10.0 Damian Krzeminski 2015-10-13 21:01:36 -04:00
  • ce10072824 Merge pull request #829 from kzc/html_comment_ops Mihai Bazon 2015-10-13 09:59:40 +03:00