Commit Graph

  • a1ae0c8609 parenthesize property access when it's the expression in New Mihai Bazon 2012-11-07 12:26:33 +0200
  • a90c1aeafe further fix for parens around New (refs #35) Mihai Bazon 2012-11-07 11:49:06 +0200
  • ff388a8d2d parenthesize a Call expression when its parent is New Mihai Bazon 2012-11-07 11:36:15 +0200
  • 5346fb94bb add proper parens around unary expressions Mihai Bazon 2012-11-07 11:23:17 +0200
  • a4f6d46118 add option to mangle names even if eval/with is in use Mihai Bazon 2012-11-06 11:39:41 +0200
  • 7f5f4d60b7 discard the hack that worked around the deprecation warning Mihai Bazon 2012-11-05 22:23:51 +0200
  • ffccb233e5 convert while into for Mihai Bazon 2012-11-05 16:01:20 +0200
  • fba0c1aafe minor Mihai Bazon 2012-11-05 16:01:09 +0200
  • 774f2ded94 minor optimization Mihai Bazon 2012-11-05 13:13:06 +0200
  • 85af942d64 print final semicolon Mihai Bazon 2012-11-05 13:09:39 +0200
  • 8413787efc use a Dictionary object instead of plain object for hashes Mihai Bazon 2012-11-02 10:58:45 +0200
  • dde57452aa v2.1.6 Mihai Bazon 2012-11-01 16:55:10 +0200
  • cf409800be it's safe to negate expression in !EXP only in boolean context v2.1.6 Mihai Bazon 2012-11-01 15:49:05 +0200
  • 18270dd9f3 added unsafe_comps for negating <= with > Mihai Bazon 2012-11-01 15:14:56 +0200
  • d4c25c571b fix compressing UnaryPrefix Mihai Bazon 2012-11-01 13:35:08 +0200
  • 5248b79506 v2.1.5 v2.1.5 Mihai Bazon 2012-10-30 14:51:05 +0200
  • abe0ebbf02 don't move expressions containing the binary in operator into the for initializer Mihai Bazon 2012-10-30 14:50:47 +0200
  • a049a7afe5 Merge remote-tracking branch 'mishoo/master' Jo Simard 2012-10-29 14:33:38 -0400
  • b79089bb62 Directly forwarding options to each modules Jo Simard 2012-10-29 14:27:43 -0400
  • 0852f5595e v2.1.4 v2.1.4 Mihai Bazon 2012-10-25 18:52:49 +0300
  • cb3cafa14d cripple scope to make IE happy :-( Mihai Bazon 2012-10-25 18:52:35 +0300
  • 202fb93799 test for fs.existsSync Mihai Bazon 2012-10-25 10:58:48 +0300
  • 7b87d2ef83 v2.1.3 v2.1.3 Mihai Bazon 2012-10-24 09:41:40 +0300
  • 70fd2b1f33 fix for if (...) return; else return ...; Mihai Bazon 2012-10-24 09:33:32 +0300
  • 30faaf13ed more sequence optimizations (lift some sequences above binary/unary expressions so that we can avoid parens) Mihai Bazon 2012-10-22 11:49:58 +0300
  • 41be8632d3 v2.1.2 v2.1.2 Mihai Bazon 2012-10-22 07:57:28 +0300
  • bee01dc1be Merge branch 'master' of github.com:mishoo/UglifyJS2 Mihai Bazon 2012-10-20 11:14:25 +0300
  • 12f71e01d0 alternate hack to disable deprecation warning Mihai Bazon 2012-10-20 11:12:21 +0300
  • 6dec1bdf85 Merge 3ea19b6096 into 3a72deacab Rick 2012-10-19 13:17:39 -0700
  • 3ea19b6096 Updated to use prototype instead of pointless var (thanks michaelficarra) Rick Pelletier 2012-10-19 16:17:25 -0400
  • b91d11fdac Changed cache/restore hack on stderr to just stderr.write to fix error on Windows Rick Pelletier 2012-10-19 14:28:54 -0400
  • 3a72deacab Merge pull request #19 from SevInf/master Mihai Bazon 2012-10-19 04:29:40 -0700
  • 0e749dfa43 Merge 11dffe950e into fc8314e810 Sergej Tatarincev 2012-10-19 04:07:55 -0700
  • fc8314e810 minor fix for dropping unused definitions. Mihai Bazon 2012-10-19 12:57:29 +0300
  • 11dffe950e Add sourceRoot option to minify Sergej Tatarincev 2012-10-19 12:35:19 +0300
  • 6f45928a73 add fromString argument to UglifyJS.minify (allows to pass the source code, instead of file names, as first argument). Mihai Bazon 2012-10-18 15:49:15 +0300
  • afb7faa6fa more optimizations for some break/continue cases Mihai Bazon 2012-10-18 15:14:57 +0300
  • 6aa56f92fe v2.1.1 v2.1.1 Mihai Bazon 2012-10-18 10:54:30 +0300
  • 4fe4257c69 fix --comments (close #16) Mihai Bazon 2012-10-18 10:54:10 +0300
  • a5e75c5a21 v2.1.0 Mihai Bazon 2012-10-17 22:00:11 +0300
  • 4482fdd63f added note about API docs and online demo v2.1 Mihai Bazon 2012-10-17 21:59:36 +0300
  • 253bd8559b more small optimizations Mihai Bazon 2012-10-17 21:57:08 +0300
  • 8c6e3f5729 Implemented basic options support for compressor and comments. Jo Simard 2012-10-17 14:46:08 -0400
  • 6a099fba66 define aborts on AST_If: true if both branches abort Mihai Bazon 2012-10-17 16:17:14 +0300
  • a21f3c6cdd employ a better parser for command-line arguments Mihai Bazon 2012-10-17 15:56:45 +0300
  • 8f66458598 the sort option is broken anyway, removed it Mihai Bazon 2012-10-17 15:24:47 +0300
  • 6472f9410e add semicolons option in the code generator (default: true) Mihai Bazon 2012-10-17 14:51:27 +0300
  • 8957b3a694 fix small glitches in source map generation Mihai Bazon 2012-10-16 15:54:12 +0300
  • 1ffd526554 disable warnings in the test suite Mihai Bazon 2012-10-13 15:18:11 +0300
  • fcc0229087 drop unused function arguments Mihai Bazon 2012-10-13 15:04:44 +0300
  • b071c9d079 add parens to AST_Seq whose parent is AST_Unary Mihai Bazon 2012-10-13 14:32:08 +0300
  • 851b48e4a3 fix compressing benchmark.js (it tried to evaluate a statement) Mihai Bazon 2012-10-13 12:56:56 +0300
  • 708abb1ab1 minor Mihai Bazon 2012-10-13 12:42:01 +0300
  • 370d3e0917 fix regression from fb5c01c073 Mihai Bazon 2012-10-13 12:24:27 +0300
  • b51fe0dcc3 fix end tokens in spidermonkey ast import Mihai Bazon 2012-10-13 11:37:58 +0300
  • 70d205c447 update for acorn Mihai Bazon 2012-10-13 00:35:24 +0300
  • 8149be551e minor Mihai Bazon 2012-10-12 14:55:54 +0300
  • ba3df646c0 actually enable the option that drops unused names in the test of issue #12 Mihai Bazon 2012-10-12 11:41:48 +0300
  • 1b6f8d463f remove the $self hack Mihai Bazon 2012-10-12 11:07:35 +0300
  • 731fa9c236 add test for issue #12 Mihai Bazon 2012-10-12 10:49:48 +0300
  • 72cb5328ee fix in_boolean_context() (two tests were broken) Mihai Bazon 2012-10-12 10:49:41 +0300
  • fc39553714 use AST_Lambda for object setters/getters Mihai Bazon 2012-10-12 10:11:01 +0300
  • d9d67317b1 fix pos in syntax error exception Mihai Bazon 2012-10-11 15:25:38 +0300
  • fb5c01c073 stealing more hacks from acorn in the name of speed Mihai Bazon 2012-10-11 13:00:58 +0300
  • f4584af42c using makeComparator from acorn to generate functions that tests whether a string is keyword, reserved etc. Mihai Bazon 2012-10-11 11:52:05 +0300
  • 172aa7a93c cleanup Mihai Bazon 2012-10-11 11:07:42 +0300
  • 5053a29bc0 fix propagation of symbol references Mihai Bazon 2012-10-11 10:28:48 +0300
  • f322b32e0e disable warnings by default in minify (pass warnings: true to enable) Mihai Bazon 2012-10-11 09:30:22 +0300
  • 9cdaed9860 fix node name Mihai Bazon 2012-10-10 23:16:40 +0300
  • dacce1b1fa seems cleaner if AST_Label doesn't inherit from AST_SymbolDeclaration Mihai Bazon 2012-10-10 11:37:51 +0300
  • f26f3b44bc small improvements in wrap_commonjs: Mihai Bazon 2012-10-10 11:28:05 +0300
  • c5ecbfc756 drop unused variable Mihai Bazon 2012-10-10 11:27:06 +0300
  • 3799ac8973 add --lint and display {file} in scope_warnings Mihai Bazon 2012-10-10 11:26:59 +0300
  • 86182afa7f minor Mihai Bazon 2012-10-09 22:56:59 +0300
  • 4807c6e756 update on @cc_on Mihai Bazon 2012-10-09 19:09:11 +0300
  • a84d07e312 add AST_Infinity node Mihai Bazon 2012-10-09 18:35:53 +0300
  • 88beddfa91 make --comments keep @cc_on too Mihai Bazon 2012-10-09 18:25:00 +0300
  • 1b0aab2ce9 added $propdoc to AST nodes and some cleanups Mihai Bazon 2012-10-09 16:25:45 +0300
  • 9ead49641d minor AST cleanup (AST_BlockStatement may inherit from AST_Block) Mihai Bazon 2012-10-09 13:52:32 +0300
  • e1862cd36f add --ast-help Mihai Bazon 2012-10-09 13:21:21 +0300
  • 2c025f23db fix detecting symbols in use Mihai Bazon 2012-10-09 13:13:55 +0300
  • 9dfcd47ec8 Merge pull request #8 from SevInf/master Mihai Bazon 2012-10-09 03:04:33 -0700
  • 01c2e03d24 Merge 203ecaf85b into c967f0b0fe Sergej Tatarincev 2012-10-09 03:02:40 -0700
  • 203ecaf85b Fix nodejs minify without inSourceMap exception Sergej Tatarincev 2012-10-09 12:52:28 +0300
  • c967f0b0fe fix inSourceMap in minify (should read the file) Mihai Bazon 2012-10-08 21:22:20 +0300
  • dfc04e6677 add simple API wrapper: UglifyJS.minify Mihai Bazon 2012-10-08 21:15:47 +0300
  • 42ea3c95e0 added some basic API doc Mihai Bazon 2012-10-08 14:30:34 +0300
  • d4970b35ac should not expose base54.sort() in the API docs, I think Mihai Bazon 2012-10-08 13:37:27 +0300
  • dd8286bce1 added --self to easily get a browser-runnable version of UglifyJS Mihai Bazon 2012-10-08 12:55:18 +0300
  • 093a9031dc eliminate redundant directives in the same scope Mihai Bazon 2012-10-08 12:53:17 +0300
  • 80a18fe2fa for certain nodes that we invent we might not have a original source file to map from, so just use "?". and in any case, don't fail hard when addMapping throws. Mihai Bazon 2012-10-08 12:52:25 +0300
  • fe1411bba1 fix typo Mihai Bazon 2012-10-05 23:10:52 +0300
  • 455ac5435d remove unused code Mihai Bazon 2012-10-05 22:59:05 +0300
  • 4a2b91220a minor Mihai Bazon 2012-10-05 20:24:56 +0300
  • a1e0885930 replace (function(){ ...no side effects ... })() with undefined. Mihai Bazon 2012-10-05 16:51:16 +0300
  • 7ae09120ed prevent mangling only when eval is *called*, not when it's just referenced Mihai Bazon 2012-10-05 16:17:31 +0300
  • 42c25d901c add note about installation Mihai Bazon 2012-10-05 15:31:41 +0300
  • e88dcc3819 added --acorn and --spidermonkey options v2.0 Mihai Bazon 2012-10-05 15:22:12 +0300
  • ecd9f21467 fixed import of locations from SpiderMonkey AST Mihai Bazon 2012-10-05 15:05:06 +0300
  • a9b6f9909a use the appropriate constructor for symbols Mihai Bazon 2012-10-04 17:28:35 +0300