Age | Commit message (Expand) | Author |
---|---|---|
2012-10-09 | add `--ast-help`...displays a rather cruel description of the AST classes, derived directly from the node definitions. | Mihai Bazon |
2012-10-08 | should not expose base54.sort() in the API docs, I think | Mihai Bazon |
2012-10-08 | added --self to easily get a browser-runnable version of UglifyJS | Mihai Bazon |
2012-10-05 | added --acorn and --spidermonkey options | Mihai Bazon |
2012-10-02 | fixed usage string | Mihai Bazon |
2012-10-02 | support for `--comments` option to keep comments containing @license or @pres... | 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 | a shy attempt to obey `width` in the beautifier; added `bracketize` option to... | Mihai Bazon |
2012-09-26 | removed the "squeeze" method (it's now effectively "transform") | Mihai Bazon |
2012-09-26 | minor | Mihai Bazon |
2012-09-24 | Support input source map...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. | Mihai Bazon |
2012-09-21 | log filename in parse errors / compressor warnings | Mihai Bazon |
2012-09-21 | better support for multiple input files:...- use a single AST_Toplevel node for all files - keep original source filename in the tokens | Mihai Bazon |
2012-09-19 | support -c with no arguments to disable compression entirely | Mihai Bazon |
2012-09-14 | more optimizations that v1 does and some cleanups...- a = a + x ==> a+=x - joining consecutive var statements (hoisting is not always desirable) - x == false ==> x == 0, x != true ==> x != 1 - x, x ==> x; x = exp(), x ==> x = exp() - discarding useless break-s | Mihai Bazon |
2012-09-13 | added -m and -c options | Mihai Bazon |
2012-09-11 | minor | Mihai Bazon |
2012-09-11 | fixed some mess with symbols/scope...- all symbols now have a `thedef` property which is a SymbolDef object, instead of the `uniq` that we had before (pointing to the first occurrence of the name as declaration). - for undeclared symbols we still create a SymbolDef object in the toplevel scope but mark it "undeclared" - we can now call figure_out_scope after squeezing, which is useful in order not to mangle names that were dropped by the squeezer | Mihai Bazon |
2012-09-11 | checkpoint...- discard statements with no side effects (unsafe? could be) - safer hoist_vars (needs some revamping of scope/mangling) | Mihai Bazon |
2012-09-10 | hoist_vars is pretty bad, it seems. cancelled it for now. | Mihai Bazon |
2012-09-10 | adaptive base54 digits depending on char frequency (WIP) | Mihai Bazon |
2012-09-10 | fix "file" in the source map | Mihai Bazon |
2012-09-05 | declared `--stats` as boolean | Mihai Bazon |
2012-09-03 | minor | Mihai Bazon |
2012-09-03 | declare boolean options | Mihai Bazon |
2012-09-03 | add -b | Mihai Bazon |
2012-09-02 | add source mappings for more node types; started CLI utility | Mihai Bazon |