Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-03 | Reverting "minor perf. improvements" | Mihai Bazon | |
Revert "minor perf. improvements" This reverts commit 24bfd55a22afd791d4a97694641831cfbd27fb14. broke the parser somehow; too early to optimize, let's get the other stuff running. | |||
2012-09-02 | add source mappings for more node types; started CLI utility | Mihai Bazon | |
2012-09-02 | minor perf. improvements | Mihai Bazon | |
2012-08-29 | started support for generating source maps (WIP) | Mihai Bazon | |
plugged in @fitzgen's source-map library | |||
2012-08-29 | don't mangle names of setters/getters | Mihai Bazon | |
2012-08-28 | docstring for AST_StatementWithBody | Mihai Bazon | |
2012-08-28 | fix output for arrays containing undefined values | Mihai Bazon | |
[1,,2,] ==> [1,,2] instead of [1,undefined,2] | |||
2012-08-28 | fix code generator for this case: | Mihai Bazon | |
if (foo) { with (bar) if (baz) x(); } else y(); (the compressor removes the brackets since the consequent consists of a single statement, but the codegen must include the brackets because otherwise the `else` would refer to the inner `if`) | |||
2012-08-27 | update (c) years | Mihai Bazon | |
2012-08-27 | fix compressing `a,b; return c;` into `return a,b,c;` | Mihai Bazon | |
2012-08-27 | added print_to_string helper method | Mihai Bazon | |
2012-08-23 | fix current_col and force a newline every 32K (support options.max_line_len) | Mihai Bazon | |
2012-08-22 | added license | Mihai Bazon | |
2012-08-22 | wrote more of the compressor and added some tests | Mihai Bazon | |
2012-08-22 | fix output for certain edge cases | Mihai Bazon | |
the statements if, for, do, while and with might have an AST_EmptyStatement as body; if that's the case, we need to make sure that the semicolon gets in the output. | |||
2012-08-22 | declare some properties in the node constructor so that they're copied in clone | Mihai Bazon | |
2012-08-21 | hint that brackets may be required in AST_BlockStatement | Mihai Bazon | |
2012-08-21 | cleaned up some mess and started the actual compressor | Mihai Bazon | |
2012-08-21 | some reorganization | Mihai Bazon | |
(moved pretty much everything that relates to scope in scope.js, added a module for NodeJS that can be used with require() and exports everything.) | |||
2012-08-21 | handle labels properly | Mihai Bazon | |
(they can't be handled the same way as variables in a scope) | |||
2012-08-21 | warn about unreferenced symbols | Mihai Bazon | |
2012-08-21 | more fixes: | Mihai Bazon | |
- added walker for AST_ObjectProperty - handle redefinitions properly (only mangle one symbol, make them all point to a single definition) DynarchLIB seems to run fine after mangling + compressed output. | |||
2012-08-20 | added mangler and other stuff | Mihai Bazon | |
2012-08-20 | doc (WIP) | Mihai Bazon | |
2012-08-19 | simple visitor API and code to figure out scope and references | Mihai Bazon | |
2012-08-18 | some fixes (need testing) in AST_If codegen | Mihai Bazon | |
2012-08-17 | minor whitespace issues | Mihai Bazon | |
2012-08-17 | big speed improvement (observable when beautify = false) | Mihai Bazon | |
who would have thought that str.charAt(str.length - 1) is not a constant, instant operation? seems to get slower and slower as the string grows. 0.6s vs. 3s | |||
2012-08-17 | don't output both space and semicolon when beautify=false | Mihai Bazon | |
2012-08-17 | added some comments about the rules governing parens | Mihai Bazon | |
2012-08-17 | fix one more glitch | Mihai Bazon | |
2012-08-17 | code generator finally seems to work properly | Mihai Bazon | |
2012-08-16 | lots'o'fixes in the output routines; still a looong way to go. | Mihai Bazon | |
2012-08-16 | codegen and dropped the useless walker | Mihai Bazon | |
2012-08-15 | WIP | Mihai Bazon | |
2012-06-03 | WIP | Mihai Bazon | |
2012-05-27 | added small node test script | Mihai Bazon | |
2012-05-27 | Fixes some gotchas. | Mihai Bazon | |
DynarchLIB (660K) now passes parsing in 440ms (about 30% slower than the parser in UglifyJS v1). | |||
2012-05-27 | init repo | Mihai Bazon | |