Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-05 | replace `(function(){ ...no side effects ... })()` with `undefined`. | Mihai Bazon | |
2012-10-05 | prevent mangling only when eval is *called*, not when it's just referenced | Mihai Bazon | |
2012-10-05 | add note about installation | Mihai Bazon | |
2012-10-05 | added --acorn and --spidermonkey options | Mihai Bazon | |
2012-10-05 | fixed import of locations from SpiderMonkey AST | Mihai Bazon | |
2012-10-04 | use the appropriate constructor for symbols | Mihai Bazon | |
2012-10-04 | minor | Mihai Bazon | |
2012-10-04 | removed some unused variables | Mihai Bazon | |
2012-10-03 | moving code around | Mihai Bazon | |
2012-10-03 | define AST_Node.from_mozilla_ast(ast) | Mihai Bazon | |
returns an UglifyJS2 AST given a Mozilla AST. Still needs some work to do (need to create specific nodes like AST_SymbolRef, AST_SymbolLambda etc. instead of base AST_Symbol, in order for the mangler/compressor to work properly) | |||
2012-10-03 | ignore tmp/ | Mihai Bazon | |
2012-10-03 | more cleanup (dropped AST_SwitchBlock) | Mihai Bazon | |
2012-10-03 | AST cleanup (dropped AST_StatementBase) | Mihai Bazon | |
2012-10-03 | added package.json | Mihai Bazon | |
2012-10-03 | added option for side-effect-free statements, fix test | Mihai Bazon | |
2012-10-03 | fix endless loop in tests | Mihai Bazon | |
2012-10-03 | drop tmp. files | Mihai Bazon | |
2012-10-03 | document the CLI tool | Mihai Bazon | |
2012-10-03 | fix for `a = !b && !c && !d && !e → a=!(b||c||d||e)` | Mihai Bazon | |
2012-10-03 | disable `hoist_vars` by default and change `comparations` to `comparisons` | Mihai Bazon | |
2012-10-02 | fixed usage string | Mihai Bazon | |
2012-10-02 | support for `--comments` option to keep comments containing @license or ↵ | Mihai Bazon | |
@preserve | |||
2012-10-02 | discard annoying nodejs warning | Mihai Bazon | |
2012-10-02 | line numbers start at 1 | Mihai Bazon | |
2012-10-02 | added option to keep some comments in the output | Mihai Bazon | |
2012-10-02 | option to exclude certain names from mangling | Mihai Bazon | |
2012-10-02 | support defines | Mihai Bazon | |
2012-10-02 | "use strict"; | Mihai Bazon | |
2012-10-02 | more constant folding (for names defined with `const`) | Mihai Bazon | |
2012-10-02 | add AST_SymbolConst for names defined with `const` | Mihai Bazon | |
2012-10-02 | drop more unused names | Mihai Bazon | |
2012-10-02 | a shy attempt to obey `width` in the beautifier; added `bracketize` option ↵ | Mihai Bazon | |
to always print brackets around if/do/while/for statements; export more options via the CLI | |||
2012-09-28 | minor | Mihai Bazon | |
2012-09-27 | fix mangling | Mihai Bazon | |
(bug in our code prevented the mangler from using a name that was in use prior to mangling but not after it) | |||
2012-09-26 | removed the "squeeze" method (it's now effectively "transform") | Mihai Bazon | |
2012-09-26 | some speedup and more savings from unused vars that have side effects in ↵ | Mihai Bazon | |
initialization | |||
2012-09-26 | compressor successfully moved to TreeTransformer | Mihai Bazon | |
2012-09-26 | checkpoint (refactoring, WIP) | Mihai Bazon | |
2012-09-26 | minor | Mihai Bazon | |
2012-09-25 | more cleanups | Mihai Bazon | |
2012-09-25 | moving code around (refactoring, WIP) | Mihai Bazon | |
2012-09-25 | discard all \uFEFF characters (https://github.com/mishoo/UglifyJS/issues/462) | Mihai Bazon | |
2012-09-25 | started some refactoring (WIP) -- moving squeezer to TreeTransformer | Mihai Bazon | |
2012-09-25 | minor | Mihai Bazon | |
2012-09-25 | it's not safe to assume that property access is side-effect-free | Mihai Bazon | |
(getters/setters + various browser bugs will trigger side effects; also, an exception is thrown when the expression is undefined) | |||
2012-09-25 | some boolean cleanup | Mihai Bazon | |
2012-09-24 | Support input source map | Mihai Bazon | |
This is useful while compressing generated code; for example compressing JS compiled by CoffeeScript (assuming you got a source map): uglifyjs2 --in-source-map generated.js.map \ --source-map uglified.js.map \ -o uglified.js The above assumes you have a "generated.js.map" file which is the source mapping between your CoffeeScript and the generated.js (compiled output from CoffeeScript). The name of the input file is not present in this example; it will be fetched from the source map (but it can be passed manually too). The output will be in "uglified.js" and the output map "uglified.js.map" will actually map to the original CoffeeScript code, rather than to generated.js. | |||
2012-09-24 | minor tests fix | Mihai Bazon | |
2012-09-23 | properly drop mutually-referring declarations that are not otherwise | Mihai Bazon | |
referenced and have no side effects | |||
2012-09-22 | tree transformer api (WIP) | Mihai Bazon | |