Age | Commit message (Expand) | Author |
2013-10-23 | Fix #280...The `init` of the `ForStatement` is not a `BlockStatement` before it was
descended. The descend has to happen first, and *then* the actual
checks.
| Richard van Velzen |
2013-10-23 | Merge pull request #322 from rvanvelzen/test-exit-code-1...Add an exit code to the test suite | Mihai Bazon |
2013-10-23 | Add an exit code to the test suite...By adding the exit code 1 (or any other non-zero exit code) `npm test`
will know the tests didn't perform correctly. This way it's easier to
know if pull requests are good or bad.
| Richard van Velzen |
2013-10-22 | Revert #3a81f60 for now...(with it some tests break and it can generate invalid output, see issue #44)
| Mihai Bazon |
2013-10-22 | v2.4.1 | Mihai Bazon |
2013-10-17 | `arguments` outside of a function is an ordinary variable....Fix #501
| Mihai Bazon |
2013-10-09 | wrap up | Mihai Bazon |
2013-10-09 | Don't drop_unused before compression....Fix #280, #282
| Mihai Bazon |
2013-10-04 | Rename clean_getters to pure_getters; add pure_funcs. | Mihai Bazon |
2013-10-04 | Merge pull request #308 from meteor/fix-unicode-keys...Only allow identifier start characters at the beginning of identifiers. | Mihai Bazon |
2013-10-03 | Only allow identifier start characters at the beginning of identifiers....Without this fix, the following source:
x = {"\u200c": 42};
would incorrectly be converted into a quoteless key. But while \u200c is allowed
to be in identifiers, it cannot be at the beginning, as per ES5.
(For example, the SockJS client library doesn't work under uglify starting with
d9ad3c7c.)
| David Glasser |
2013-10-02 | add `clean_getters` compressor option (default `false`)...allows one to specify if `foo.bar` is considered to have side effects.
| Mihai Bazon |
2013-10-02 | minor optimization...unlikely to help in hand-written code:
(something() ? foo : bar) == foo ==> something()
| Mihai Bazon |
2013-09-30 | Fix error in the output minifying `Function("return this")()` | Mihai Bazon |
2013-09-22 | More attempts to determine when addition is associative...Somebody hit me with bug reports on this. :)
Refs #300
| Mihai Bazon |
2013-09-22 | Actually let's move away those monsters from the evaluate function...ev() should do a single thing — evaluate constant expressions. if that's
not possible, just return the original node. it's not the best place for
partial evaluation there, instead doing it in the compress functions.
| Mihai Bazon |
2013-09-22 | More dirty handling of [ ... ].join() in unsafe mode...Close #300
| Mihai Bazon |
2013-09-22 | Evaluate [...].join() if possible: minor bugfix...Follow-up to 78e98d2.
| Dan Wolff |
2013-09-19 | When `unsafe` is set, evaluate [...].join() if possible...Close #298
| Mihai Bazon |
2013-09-19 | Concatenate strings also on the right-hand side of an expression that cannot ......E.g. converts:
a+'Hello'+'World'
to
a+'HelloWorld'
| Dan Wolff |
2013-09-06 | Avoid printing <!-- in the output (HTML5 comment) | Mihai Bazon |
2013-09-06 | Support HTML5 comment syntax (enabled by default!)...See http://javascript.spec.whatwg.org/#comment-syntax
https://github.com/mishoo/UglifyJS/issues/503
https://github.com/marijnh/acorn/issues/62
| Mihai Bazon |
2013-09-06 | minor | Mihai Bazon |
2013-09-02 | Fix names. | Mihai Bazon |
2013-09-02 | Disallow `continue` referring to a non-IterationStatement. Fix #287...Simplifies handling of labels (their definition/references can be easily
figured out at parse time, no need to do it in `figure_out_scope`).
| Mihai Bazon |
2013-09-02 | Better fix for #286 | Mihai Bazon |
2013-09-02 | Fix parsing `a.case /= 1`...Close #286
| Mihai Bazon |
2013-09-02 | Fix parsing regexp after unary-prefix operator...++/x/.y
Fix #284
| Mihai Bazon |
2013-09-02 | Better reporting of parse errors | Mihai Bazon |
2013-08-22 | v2.4.0 | Mihai Bazon |
2013-08-22 | Remove --ie-proof from the readme....Fix #276
| Mihai Bazon |
2013-08-20 | Move support for `negate_iife` in the compressor, rather than code generator...(the code generator doesn't maintain enough context to know whether
the return value is important or discarded)
Fixes #272
| Mihai Bazon |
2013-08-19 | Merge pull request #270 from michaelficarra/GH-259...fixes #259: don't unnecessarily quote object properties when --screw-ie8 | Mihai Bazon |
2013-08-18 | fixes #259: don't unnecessarily quote object properties when --screw-ie8 | Michael Ficarra |
2013-08-08 | fix usage | Mihai Bazon |
2013-08-07 | Don't drop unused setter argument....Fix #257
| Mihai Bazon |
2013-08-07 | Support `-p relative`. Fix #256 | Mihai Bazon |
2013-08-07 | Add support for browserify | Forbes Lindesay |
2013-08-04 | Don't pretend to evaluate lambdas...Fix #255
| Mihai Bazon |
2013-07-30 | Fix #251 | Mihai Bazon |
2013-07-28 | Don't require arguments to --enclose | Mihai Bazon |
2013-07-25 | Reverting "added option for dropping unused params"...Revert "added option for dropping unused params"
(turns out we already had the `unused` option for this.)
This reverts commit e54df2226f7f3887d2f850cea8caf5c0353dce00.
| Mihai Bazon |
2013-07-25 | added option for dropping unused params | Dusan Bartos |
2013-07-18 | Fix output for arrays whose last element is a hole: [1,,]...1529ab96 started to do this (by considering holes to be separate from
"undefined") but it still converted
[1,,] (length 2, last element hole, trailing comma)
to
[1,] (length 1, trailing comma)
Unfortunately the test suite doesn't really make this clear: the new test here
passes with or without this patch because run-tests.js beautifys the expected
output (in "make_code"), which does the incorrect transformation! If you make
some manual change to arrays.js to make the test fail and see the INPUT and
OUTPUT, then you can see that without this fix, [1,,] -> [1,], and with this fix
it stays [1,,].
| David Glasser |
2013-07-15 | Revert previous patch, it was no good. | Mihai Bazon |
2013-07-15 | Add "position" option to parser, to specify initial pos/line/col...(for parsing embedded scripts)
| Mihai Bazon |
2013-07-14 | Apply transformer to AST_VarDef's name...Fix #237
| Mihai Bazon |
2013-07-12 | Fix typo....Close #239
| Mihai Bazon |
2013-06-28 | Reset the base54 counters every time minify is called....Close #229
| Mihai Bazon |
2013-06-07 | Don't swap binary ops when "use asm" is in effect....Refs #167
| Mihai Bazon |