Commit Graph

  • 708ec0467c minor Mihai Bazon 2012-10-04 17:28:09 +0300
  • 682a58a1f5 removed some unused variables Mihai Bazon 2012-10-04 08:49:18 +0300
  • f20c251882 moving code around Mihai Bazon 2012-10-03 21:39:47 +0300
  • 2bd8a118c2 define AST_Node.from_mozilla_ast(ast) Mihai Bazon 2012-10-03 20:03:17 +0300
  • 42ce7ed606 ignore tmp/ Mihai Bazon 2012-10-03 20:01:32 +0300
  • 11863d6f9a more cleanup (dropped AST_SwitchBlock) Mihai Bazon 2012-10-03 15:52:01 +0300
  • 3412498795 AST cleanup (dropped AST_StatementBase) Mihai Bazon 2012-10-03 15:41:11 +0300
  • 9221ad62db added package.json Mihai Bazon 2012-10-03 13:19:00 +0300
  • c11de17e99 added option for side-effect-free statements, fix test Mihai Bazon 2012-10-03 13:08:03 +0300
  • e0f5075e45 fix endless loop in tests Mihai Bazon 2012-10-03 12:49:47 +0300
  • bd94eeb6f7 drop tmp. files Mihai Bazon 2012-10-03 12:49:33 +0300
  • 7e8880be1c document the CLI tool Mihai Bazon 2012-10-03 12:22:59 +0300
  • 0678ae2076 fix for a = !b && !c && !d && !e → a=!(b||c||d||e) Mihai Bazon 2012-10-03 11:34:05 +0300
  • 378ed17809 disable hoist_vars by default and change comparations to comparisons Mihai Bazon 2012-10-03 11:27:05 +0300
  • 5c151f90b3 fixed usage string Mihai Bazon 2012-10-02 21:08:16 +0300
  • 815abcfe18 support for --comments option to keep comments containing @license or @preserve Mihai Bazon 2012-10-02 16:40:42 +0300
  • cb2e811191 discard annoying nodejs warning Mihai Bazon 2012-10-02 16:40:01 +0300
  • 075f93ec0d line numbers start at 1 Mihai Bazon 2012-10-02 16:39:53 +0300
  • 2a5456260e added option to keep some comments in the output Mihai Bazon 2012-10-02 14:32:30 +0300
  • 36be211e99 option to exclude certain names from mangling Mihai Bazon 2012-10-02 14:02:33 +0300
  • dde5b22b5e support defines Mihai Bazon 2012-10-02 13:20:07 +0300
  • e1098b04a7 "use strict"; Mihai Bazon 2012-10-02 12:45:31 +0300
  • 211792757c more constant folding (for names defined with const) Mihai Bazon 2012-10-02 12:45:17 +0300
  • 347160c631 add AST_SymbolConst for names defined with const Mihai Bazon 2012-10-02 12:22:39 +0300
  • ff696cd7bc drop more unused names Mihai Bazon 2012-10-02 12:02:33 +0300
  • 9e5dd81f1e a shy attempt to obey width in the beautifier; added bracketize option to always print brackets around if/do/while/for statements; export more options via the CLI Mihai Bazon 2012-10-02 11:00:47 +0300
  • 896444482a minor Mihai Bazon 2012-09-28 11:12:47 +0300
  • 05e15b1c0c fix mangling Mihai Bazon 2012-09-26 23:54:30 +0300
  • 13278c6649 removed the "squeeze" method (it's now effectively "transform") Mihai Bazon 2012-09-26 19:52:32 +0300
  • 15d58f5917 some speedup and more savings from unused vars that have side effects in initialization Mihai Bazon 2012-09-26 16:43:14 +0300
  • 78be8f5296 compressor successfully moved to TreeTransformer Mihai Bazon 2012-09-26 13:04:54 +0300
  • a24e7ee976 checkpoint (refactoring, WIP) Mihai Bazon 2012-09-26 12:16:16 +0300
  • e979d01f04 minor Mihai Bazon 2012-09-26 11:24:04 +0300
  • 242dd10131 more cleanups Mihai Bazon 2012-09-25 18:03:31 +0300
  • 9321d418bc moving code around (refactoring, WIP) Mihai Bazon 2012-09-25 15:59:27 +0300
  • 10c7f52074 discard all \uFEFF characters (https://github.com/mishoo/UglifyJS/issues/462) Mihai Bazon 2012-09-25 15:30:59 +0300
  • 4201577dd7 started some refactoring (WIP) -- moving squeezer to TreeTransformer Mihai Bazon 2012-09-25 15:15:47 +0300
  • e836e2ae5f minor Mihai Bazon 2012-09-25 12:48:36 +0300
  • ea6d1ea701 it's not safe to assume that property access is side-effect-free Mihai Bazon 2012-09-25 10:32:14 +0300
  • 368ac8f93c some boolean cleanup Mihai Bazon 2012-09-25 10:31:03 +0300
  • 42038fd67f Support input source map Mihai Bazon 2012-09-24 17:02:18 +0300
  • 4f97da9660 minor tests fix Mihai Bazon 2012-09-24 10:27:49 +0300
  • a83b28503f properly drop mutually-referring declarations that are not otherwise referenced and have no side effects Mihai Bazon 2012-09-23 12:47:34 +0300
  • 76d88b59dc tree transformer api (WIP) Mihai Bazon 2012-09-22 13:32:32 +0300
  • ec7f895b54 log filename in parse errors / compressor warnings Mihai Bazon 2012-09-21 14:38:52 +0300
  • 5491e1d7b1 better support for multiple input files: Mihai Bazon 2012-09-21 14:19:05 +0300
  • c4f8c2103f more on detecting side effects Mihai Bazon 2012-09-21 11:23:44 +0300
  • e8da72d304 drop unused variables Mihai Bazon 2012-09-19 12:27:38 +0300
  • d53e1a9931 support -c with no arguments to disable compression entirely Mihai Bazon 2012-09-19 10:22:36 +0300
  • a4d2340c73 fixed label scope/mangling Mihai Bazon 2012-09-18 19:26:46 +0300
  • 669874d46b minor Mihai Bazon 2012-09-18 14:17:23 +0300
  • 3da0ac4897 support for directives Mihai Bazon 2012-09-18 13:21:09 +0300
  • 21968285e8 added AST_NaN (output as 0/0) Mihai Bazon 2012-09-18 10:53:46 +0300
  • d91613b4a8 only do the typeof x == "undefined" optimization if x is a symbol reference and it's declared in scope, or x is not a symbol reference. Mihai Bazon 2012-09-17 20:02:14 +0300
  • ee669ba878 moved typeof foo == "undefined" ==> foo === undefined under --unsafe Mihai Bazon 2012-09-17 18:49:52 +0300
  • e370e3b5a4 fix .undeclared (it's now a function) Mihai Bazon 2012-09-17 15:06:06 +0300
  • 6ad414ef28 minor Mihai Bazon 2012-09-17 14:33:36 +0300
  • 45a3970ca3 one more test for sequences Mihai Bazon 2012-09-17 12:53:52 +0300
  • 92e22c460d possible optimization for AST_Undefined Mihai Bazon 2012-09-17 12:24:21 +0300
  • 14481de0e9 empty block to empty statement: {} ==> ; Mihai Bazon 2012-09-17 12:03:02 +0300
  • 07f1d56f69 more smallish optimizations Mihai Bazon 2012-09-17 11:50:35 +0300
  • 5e60a60b3b try negating AST_Binary Mihai Bazon 2012-09-17 11:16:44 +0300
  • 5d781ec6f8 some cleanup Mihai Bazon 2012-09-16 18:05:15 +0300
  • 0f418d654e more sequencesizing (WIP) Mihai Bazon 2012-09-16 16:29:17 +0300
  • 21c34a1792 drop unused function Mihai Bazon 2012-09-16 15:46:47 +0300
  • 7b6a402916 rewrite handle_if_return Mihai Bazon 2012-09-16 15:46:20 +0300
  • 397bf56d25 other small optimization: Mihai Bazon 2012-09-15 16:06:09 +0300
  • 4e0262bdfb figure out label targets Mihai Bazon 2012-09-15 16:05:01 +0300
  • 86c14d0988 join_vars: Mihai Bazon 2012-09-15 10:54:59 +0300
  • 43fd45154b compress typeof x == "undefined" to x === undefined, which further gets shortened to x === void 0 (or x === [][0] in unsafe mode) Mihai Bazon 2012-09-14 19:56:59 +0300
  • 50d1670e42 minor Mihai Bazon 2012-09-14 19:04:18 +0300
  • 5e83e7ec17 adding an imaginary "return undefined" can sometimes help Mihai Bazon 2012-09-14 16:26:30 +0300
  • 924aa58060 more optimizations that v1 does and some cleanups Mihai Bazon 2012-09-14 15:36:38 +0300
  • 93b973c99d added -m and -c options Mihai Bazon 2012-09-13 19:45:16 +0300
  • d72c1d1293 few more optimizations: Mihai Bazon 2012-09-13 15:20:57 +0300
  • f5027ec1fc minor Mihai Bazon 2012-09-12 16:29:20 +0300
  • a132841fb9 more AST_If optimizations Mihai Bazon 2012-09-12 16:10:03 +0300
  • 2b1e4628e0 side effect fixes and small optimization for gzip Mihai Bazon 2012-09-12 13:23:24 +0300
  • 2b4093ba83 fixed run-tests and an issue about reversing the condition in AST_If Mihai Bazon 2012-09-12 13:00:13 +0300
  • 9a629abe00 minor Mihai Bazon 2012-09-11 18:37:08 +0300
  • 8e82d8d94c fixed some mess with symbols/scope Mihai Bazon 2012-09-11 15:42:28 +0300
  • da407d46c6 checkpoint Mihai Bazon 2012-09-11 13:15:55 +0300
  • 1579c0fb97 hoist_vars is pretty bad, it seems. cancelled it for now. Mihai Bazon 2012-09-10 22:40:18 +0300
  • 6b9aeb5325 adaptive base54 digits depending on char frequency (WIP) Mihai Bazon 2012-09-10 18:25:52 +0300
  • a41e6cfabb more progress on the compressor (WIP) Mihai Bazon 2012-09-10 15:54:17 +0300
  • 16b12c6287 fix "file" in the source map Mihai Bazon 2012-09-10 15:52:53 +0300
  • 1c8ba35844 minor Mihai Bazon 2012-09-08 17:03:09 +0300
  • 5a8e6ce735 fix output for division followed by regexp Mihai Bazon 2012-09-08 15:38:58 +0300
  • 43c75c9248 checkpoint Mihai Bazon 2012-09-07 18:55:13 +0300
  • 048d6906ae fix bug (forgot arg name) Mihai Bazon 2012-09-07 16:02:08 +0300
  • 919b2733ab always keep declarations found in unreachable code Mihai Bazon 2012-09-07 15:18:32 +0300
  • b77574ea1c fixed tests (need to drop the toplevel block in "expected" if it's a single statement) Mihai Bazon 2012-09-07 11:22:01 +0300
  • 9bb1a84d6b don't duplicate argument names Mihai Bazon 2012-09-05 18:19:30 +0300
  • 0afafe64fc declared --stats as boolean Mihai Bazon 2012-09-05 18:19:24 +0300
  • c7b484b64f fix for variable names like toString Mihai Bazon 2012-09-05 14:31:05 +0300
  • 0503513dcc support for hoisting declarations Mihai Bazon 2012-09-05 13:43:34 +0300
  • 8633b0073f cleaned up usage of AST_BlockStatement Mihai Bazon 2012-09-05 11:31:02 +0300
  • 1b5183dd5e checkpoint Mihai Bazon 2012-09-04 15:36:14 +0300
  • 376667a818 more fiddling with boolean expressions, etc. Mihai Bazon 2012-09-04 13:20:28 +0300
  • 3459c40cf9 if present, the else in an if should always be forced statement Mihai Bazon 2012-09-04 13:17:13 +0300