Age | Commit message (Expand) | Author |
2012-09-03 | Reverting "minor perf. improvements"...Revert "minor perf. improvements"
This reverts commit 24bfd55a22afd791d4a97694641831cfbd27fb14.
broke the parser somehow; too early to optimize, let's get the other stuff running.
| Mihai Bazon |
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)...plugged in @fitzgen's source-map library
| Mihai Bazon |
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...[1,,2,] ==> [1,,2] instead of [1,undefined,2]
| Mihai Bazon |
2012-08-28 | fix code generator for this case:...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`)
| Mihai Bazon |
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...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.
| Mihai Bazon |
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...(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.)
| Mihai Bazon |
2012-08-21 | handle labels properly...(they can't be handled the same way as variables in a scope)
| Mihai Bazon |
2012-08-21 | warn about unreferenced symbols | Mihai Bazon |
2012-08-21 | more fixes:...- 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.
| Mihai Bazon |
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)...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
| Mihai Bazon |
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....DynarchLIB (660K) now passes parsing in 440ms (about 30% slower than the
parser in UglifyJS v1).
| Mihai Bazon |
2012-05-27 | init repo | Mihai Bazon |