Commit Graph

  • 19d8b1d441 fix & tweak labels alexlamsl 2017-04-22 05:20:17 +0800
  • efc17b6880 fix createLabel() generate globally unique label names alexlamsl 2017-04-21 23:31:29 +0800
  • 5f9076de4a fix createLabel() alexlamsl 2017-04-21 19:38:05 +0800
  • a7e607d34e fix empty statement with label alexlamsl 2017-04-21 19:33:18 +0800
  • 9195a5b56d tweak for-in loop alexlamsl 2017-04-21 18:46:37 +0800
  • c0c976a47c tweaks to fuzzer - labels to start at 10000 - fix for-in expression - fix getLabel() returning undefined alexlamsl 2017-04-21 18:28:51 +0800
  • b002aaed87 fix do{...}while(false) alexlamsl 2017-04-21 18:24:54 +0800
  • 068c141b2a extend test/ufuzz.js - generate labels for blocks & loops - generate for-in statements - skip suspicious option search if minify() errs alexlamsl 2017-04-21 14:11:15 +0800
  • f071a783c6 fix deep cloning of AST_LabeledStatement Need to update reference to label's definition as well. alexlamsl 2017-04-21 02:55:31 +0800
  • 6f954aa3d0 Fix API reference examples (#1834) Roman Dvornov 2017-04-20 21:23:41 +0300
  • 262986c6e9 Revert changes in minify example Roman Dvornov 2017-04-20 19:08:53 +0300
  • 9ba7fe6baa Fix API reference examples Roman Dvornov 2017-04-20 17:29:23 +0300
  • df4a4608d9 Merge 1465f1b998 into 278577f3cb Ondřej Španěl 2017-04-20 13:25:59 +0000
  • f05d4f7af3 improve unused (#1832) Alex Lam S.L 2017-04-20 13:06:14 +0800
  • 71b10827f7 improve unused - extract leading value with side-effects out of var statement - reduce scanning of AST_Definitions from 3 passes to just once alexlamsl 2017-04-19 18:57:04 +0800
  • 88e7a542cd fix unused on labeled for-loop (#1831) Alex Lam S.L 2017-04-20 04:18:38 +0800
  • 8d59deee6f fix unused on labeled for-loop alexlamsl 2017-04-20 03:49:02 +0800
  • 6155cb8d98 Merge c96cd4ebff into 4dcff038cb Richard van Velzen 2017-04-19 07:55:49 +0000
  • 4dcff038cb improve collapse_vars on AST_Var (#1828) Alex Lam S.L 2017-04-19 04:49:09 +0800
  • b4b9305db0 fix parser bugs & CLI reporting (#1827) Alex Lam S.L 2017-04-19 04:27:13 +0800
  • 28cfb65c47 extend cascade into a.b (#1829) Alex Lam S.L 2017-04-19 04:17:15 +0800
  • 9da9b36241 tweak test alexlamsl 2017-04-19 04:14:42 +0800
  • 9a56611419 fix regex_allowed alexlamsl 2017-04-19 03:58:38 +0800
  • 8dfd3f4c72 extend cascade into a.b alexlamsl 2017-04-19 03:40:21 +0800
  • 543e4679e7 improve collapse_vars on AST_Var alexlamsl 2017-04-19 02:50:07 +0800
  • 0f4f01b66c clean up collapse_vars (#1826) Alex Lam S.L 2017-04-18 21:45:34 +0800
  • 6411efd163 fix parser bugs & CLI reporting alexlamsl 2017-04-18 21:38:06 +0800
  • e9495bb82a fix sub-optimal optimisation alexlamsl 2017-04-18 16:51:12 +0800
  • 5037c186e3 remove constant replacement - let reduce_vars take care of that alexlamsl 2017-04-18 15:27:48 +0800
  • 761792e2e5 enable collapsing within AST_Definitions alexlamsl 2017-04-18 15:08:29 +0800
  • 7dd1e0f34b remove recursive collapse_single_use_vars() - let OPT(AST_Node) do their job alexlamsl 2017-04-18 14:32:17 +0800
  • 8264cdd15c tweak info message template alexlamsl 2017-04-18 14:22:55 +0800
  • 1baf3a8f10 proper scope look-up & statement trimming alexlamsl 2017-04-18 14:02:06 +0800
  • 5d9f1da3ab support safe reassignments in reduce_vars (#1823) Alex Lam S.L 2017-04-18 13:38:42 +0800
  • ab22e52ed0 Merge 4e1654e0c2 into d1aa09c5c7 Prayag Verma 2017-04-17 23:50:58 +0000
  • f0f3c472c3 fix duplicate declarations alexlamsl 2017-04-18 06:11:45 +0800
  • 2bdf3dc1c0 fix pre-existing issue - chained assignment alexlamsl 2017-04-18 05:46:25 +0800
  • 79d533a560 fix pre-existing issues - reference counting on assignment - walking of anonymous functions alexlamsl 2017-04-18 04:02:44 +0800
  • 9dc5247bc7 support safe reassignments in reduce_vars var a=1;a=2;x(a) => x(2) alexlamsl 2017-04-18 03:08:25 +0800
  • d1aa09c5c7 fix reduce_vars on conditionals (#1822) Alex Lam S.L 2017-04-18 01:44:23 +0800
  • 9889ec43fc fix reduce_vars on conditionals alexlamsl 2017-04-18 00:39:20 +0800
  • 2a478f6a9f Merge 1fa4a660c7 into 278577f3cb Darío Javier Cravero 2017-04-17 14:35:01 +0000
  • 6d5f341999 fix reduce_vars on boolean binary expressions (#1819) Alex Lam S.L 2017-04-17 17:24:29 +0800
  • 4ffb6fce76 compress duplicated variable definitions (#1817) Alex Lam S.L 2017-04-17 17:11:29 +0800
  • afa131b3e3 fix reduce_vars on boolean binary expressions Side effects of && and || have not mattered until #1814, which takes assignment expressions into account. alexlamsl 2017-04-17 17:04:05 +0800
  • 21e82f4ea5 compress duplicated variable definitions These are surprisingly common, as people reuse the same variable name within loops or switch branches. alexlamsl 2017-04-16 21:25:12 +0800
  • 71a8d0d236 fix reduce_vars within try-block (#1818) Alex Lam S.L 2017-04-17 14:03:29 +0800
  • b69384b041 Merge 0f07cdbf96 into 1a498db2d3 Fábio Santos 2017-04-16 19:30:53 +0000
  • 703a4e0291 fix reduce_vars within try-block Possible partial execution due to exceptions. alexlamsl 2017-04-17 02:31:43 +0800
  • 1a498db2d3 enhance reduce_vars (#1814) Alex Lam S.L 2017-04-17 01:36:50 +0800
  • b6d1bc0102 Merge c1c057bfe1 into 44dfa5a318 leon.lee 2017-04-16 10:13:22 +0000
  • 34be48a6f9 fix order of visit for TreeWalker alexlamsl 2017-04-16 17:48:32 +0800
  • b66ee8ab50 enhance reduce_vars - allow immediate assignment after declaration of variable - relax modification rule for immutable value alexlamsl 2017-04-16 05:53:50 +0800
  • 44dfa5a318 fix variable substitution (#1816) Alex Lam S.L 2017-04-16 17:25:39 +0800
  • 7058c481b8 fix variable substitution - let collapse_vars take care of value containing any symbols - improve overhead accounting alexlamsl 2017-04-16 16:59:25 +0800
  • 1438d612c2 Merge ba79dcd301 into 251ff1d1af Edward Casbon 2017-04-16 01:50:29 +0000
  • 86f422f8dd Merge 11aad46078 into 251ff1d1af Rob Colburn 2017-04-16 01:15:07 +0000
  • 251ff1d1af update README (#1813) Alex Lam S.L 2017-04-16 04:04:28 +0800
  • 480a9acc92 update README - mention major version bump - remove reference to internal API alexlamsl 2017-04-16 02:07:00 +0800
  • ec443e422c unify CLI & API under minify() (#1811) Alex Lam S.L 2017-04-15 23:50:50 +0800
  • 0d56d9dc8a remove mysterious script alexlamsl 2017-04-15 22:58:54 +0800
  • c14ff76eed move TTY workaround to CLI alexlamsl 2017-04-15 22:56:05 +0800
  • a70e9b096c limit exposure of internal API remove unsupported features from documentation alexlamsl 2017-04-15 22:43:14 +0800
  • 663042d5aa rename ignore_quoted to keep_quoted alexlamsl 2017-04-15 22:10:30 +0800
  • bd116f128e remove deprecated hack minor tweaks to docs alexlamsl 2017-04-15 20:46:57 +0800
  • bf5502a9ce clean up outdated references in README.md alexlamsl 2017-04-15 19:58:28 +0800
  • 4da6b564db allow literal string as souce map input on CLI alexlamsl 2017-04-15 19:01:53 +0800
  • 169cb802a9 fix assignment to boolean alexlamsl 2017-04-15 17:23:39 +0800
  • 6e95c16da6 update documentation alexlamsl 2017-04-15 16:00:37 +0800
  • f6d964dce5 rename except to reserved alexlamsl 2017-04-15 15:49:08 +0800
  • ca71d8846c update documentation alexlamsl 2017-04-15 15:44:06 +0800
  • 9812cba843 add builtins & domprops alexlamsl 2017-04-15 15:20:56 +0800
  • 66cebbf336 implement --name-cache alexlamsl 2017-04-15 08:15:50 +0800
  • 81a3f65de8 Merge 9b16a75384 into 32deb365d5 Anthony Van de Gejuchte 2017-04-14 21:52:46 +0000
  • 32deb365d5 drop angular (#1812) Alex Lam S.L 2017-04-15 05:52:29 +0800
  • 32561c1517 suppress warnings by default alexlamsl 2017-04-15 00:26:49 +0800
  • c3e8fd8a50 drop angular Remove support for @ngInject as there are proper alternatives anyway. alexlamsl 2017-04-14 23:56:07 +0800
  • 0792c77564 add warnings as toplevel shorthand alexlamsl 2017-04-14 23:51:09 +0800
  • e6368b61a6 nuke --lint options in AST_Toplevel.scope_warnings(options) aren't even passed since forever. alexlamsl 2017-04-14 23:47:52 +0800
  • e03c194beb improve ease of use for --mangle except alexlamsl 2017-04-14 18:13:39 +0800
  • 2af73232c7 add --source-map base update documentation alexlamsl 2017-04-14 18:02:33 +0800
  • 3d9e9a164d utilise public API for streams alexlamsl 2017-04-14 17:18:59 +0800
  • 177c9a09ed add --mangle-props alexlamsl 2017-04-14 17:03:09 +0800
  • 7aad7fef03 augment README with deprecated, undocumented options alexlamsl 2017-04-14 16:21:13 +0800
  • 95e2ec803d add --verbose shortcut for options.compress.warnings="verbose" alexlamsl 2017-04-14 16:01:43 +0800
  • 4a927b0d48 WIP: update README.md to reflect CLI progress alexlamsl 2017-04-14 15:50:47 +0800
  • 1a56c2f31d unify CLI & API under minify() - refactor screw_ie8 to ie8 - compact sourceMap options - more stringent verification on input options - toplevel shorthands - ie8 - keep_fnames - toplevel - deprecated fromString in minify() - minify() no longer handles any fs operations - unify order of operations for mangle_properties() on CLI & API - bin/uglifyjs used to mangle_properties() before even Compressor - minify() used to mangle_properties() after Compressor but before mangle_names() - both will now do Compressor, mangle_names() then mangle_properties() - options.parse / --parse for parser options beyond bare_returns alexlamsl 2017-04-14 07:08:18 +0800
  • 3c613a77a2 Merge 0cd80c76ff into 2244743545 Derek Wickern 2017-04-13 05:55:32 +0000
  • 2244743545 convert AST_Seq from binary tree to array (#1460) Alex Lam S.L 2017-04-12 21:56:27 +0800
  • 06a6f3ead2 Merge c905f48bb6 into 04b8964505 Jeremy Kahn 2017-04-11 11:27:49 +0000
  • acca875127 Merge 30a5503654 into 278577f3cb lonsenluo 2017-04-11 01:11:30 +0000
  • c55f1863a8 Merge 2862b36e47 into 278577f3cb David BRETIN 2017-04-11 01:11:30 +0000
  • 9b16a75384 Make the minify api portable Anthony Van de Gejuchte 2017-04-10 14:34:05 +0200
  • b3ca7877e2 Merge a9049497b1 into 04b8964505 Zirak 2017-04-10 15:19:51 +0000
  • cc70dc833b Merge fcb4f2f215 into 04b8964505 Martijn Swaagman 2017-04-09 17:40:39 +0000
  • 278577f3cb Merge pull request #1805 from alexlamsl/harmony-v2.8.22 harmony-v2.8.22 Alex Lam S.L 2017-04-09 17:27:30 +0800
  • f1642e7e76 convert AST_Seq from binary tree to array - rename AST_Seq to AST_Sequence - raise default sequences_limit from 200 to 800 alexlamsl 2017-02-03 01:54:20 +0800
  • 0d8597e904 Merge branch 'master' into harmony-v2.8.22 alexlamsl 2017-04-09 11:48:47 +0800
  • 04b8964505 v2.8.22 v2.8.22 Alex Lam S.L 2017-04-09 11:36:57 +0800
  • d6fbc365e2 fix LHS cases for NaN & friends (#1804) Alex Lam S.L 2017-04-09 03:18:14 +0800