[Pkg-javascript-commits] [uglifyjs] branch upstream-experimental updated (b1ae8cc -> d488b45)

Jonas Smedegaard dr at jones.dk
Thu Oct 16 11:57:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a change to branch upstream-experimental
in repository uglifyjs.

      from  b1ae8cc   Imported Upstream version 2.4.13
      adds  7004741   Strip .gitignore file.
      adds  f59061d   git init (moved from a mercurial repo, but I don't care about previous history)
      adds  d3fd47d   minor
      adds  0f5aef0   fixed some issues with code generation; it's now hopefully complete.
      adds  141b5f2   added process_ast which mangles variable names and will eventually apply some optimizations to the AST to produce compressed/mangled output.
      adds  f22f0d1   resolve simple binary ops on constants
      adds  2e4f5da   mangling/compression finally works fine (compress itself, run the compressed version and we get identical output).
      adds  388277d   fix parsing problem (only allow minus as part of the number when it's the first character)
      adds  ff518bf   allow function(){return} (no semicolon after return) when not in strict-semicolons
      adds  c585bdb   "new Foo;" should still insert an empty argument list
      adds  b060d6a   added "with" and "atom" generators for codegen
      adds  9e80e0e   handle return with no arguments in codegen
      adds  1643ec1   fixed parsing conditionals (thanks Marijn!)
      adds  70a9e9b   support "with" and "atom" in process_ast
      adds  315e128   minor
      adds  5a89d13   disorganized tests
      adds  c1b1aa5   always add space between consecutive [+-] operators (handles "i + ++j").
      adds  be26a86   add parens around called expression if not "name" or "dot" (should cover all cases)
      adds  4558de4   display empty blocks as "{}"
      adds  6fc4f36   minor
      adds  9cb7821   Better fix from the master programmer for some issues that I identified: http://marijn.haverbeke.nl/git/?p=parse-js;a=commit;h=2e09d491179be4a838e9435cdacfd7f1e84e9646
      adds  78eb4e6   better fix for "{return}" case (http://marijn.haverbeke.nl/git/?p=parse-js;a=blobdiff;f=src/parse.lisp;h=da8409d1e7078dea43c5c5de7ce5afcf1caf6562;hp=80438c39afad5ca5d5fc3fca35a13d3daae63de3;hb=732969c989144e56a74b51dea6b9e227a7e9d031;hpb=2e09d491179be4a838e9435cdacfd7f1e84e9646)
      adds  96c47bd   fix for parsing ".1" (discard the dot from punc. chars)
      adds  99d4b8b   minor
      adds  ce318ce   minor
      adds  ce18e54   minor style changes
      adds  bae53cf   rewrote proper mangler/compressor (in process.js); revised code generator. It's now beating YUI compressor by 2.4KB (and by many long seconds :-p) on the DynarchLIB code.
      adds  3860ab8   some reorganization, some fixes (moved gen_code to process.js, handle consecutive var decls in switch blocks)
      adds  3a99226   minor
      adds  b98d07a   Fixed bug that showed up when processing jQuery: I was using the "token in KEYWORDS" construct everywhere, and it doesn't work well because jQuery defines a lot of variables using names that have some standard meaning in JS, such as "toString".  "toString" in OBJECT will always evaluate to true, since all objects have a "toString" method, but it's not what we expect.
      adds  169da62   lots of other fixes while testing on jQuery:
      adds  c9a7efa   another fix: don't shadow a name that is referenced but not defined -- it's possibly a global defined elsewhere
      adds  5675154   dropping spurious brackets got back, but this time it's safer
      adds  e6c1859   further optimizations for IFs:
      adds  2167f4f   more optimization for IF statements
      adds  ed0f081   comments + small cleanups
      adds  9026e22   minor
      adds  299ae5c   added some documentation
      adds  5a1a2f0   README.org for github
      adds  8705783   symlink not good enough for github.
      adds  c50512b   README for github, take 3
      adds  6cb0104   fixed doc rendering for github
      adds  d034913   minor doc changes (link to the Google Group)
      adds  ee4ae7b   links
      adds  190cf6f   links
      adds  8806318   squeeze a few more bytes:   if (!foo) bar(); else baz();  ==>  foo ? baz() : bar();
      adds  dbfa880   minor: transform !foo?bar():baz() ==> foo?baz():bar() for all conditionals (16 less bytes on DL and 3 on jQ :-p)
      adds  c4a966a   Fix for: http://github.com/mishoo/UglifyJS/issues#issue/2 --
      adds  e3ccaf9   Allow unescaped slash character in literal regexps, when inside a character class.
      adds  8e77cfe   we must add semicolon after do{...}while()
      adds  97ca763   newline after return shouldn't cause the next token to become the returned value: http://marijn.haverbeke.nl/git/?p=parse-js;a=commitdiff;h=894cf114437fbe23cb796a42be69e13cc0de6129;hp=bfddd819c0801ea66f375b3626d397849a71cffb
      adds  0188ecc   maybe_before_semicolon no longer in use
      adds  e3d3d1d   add parens to "seq" in conditionals; fixed typo that caused this to break in "binary" as well.
      adds  ba5bbe2   support for '2e-3' (http://github.com/mishoo/UglifyJS/issues#issue/4)
      adds  7f49791   newline normalization (http://github.com/mishoo/UglifyJS/issues#issue/7)
      adds  a9e88c6   small fix (content of line comment tokens had the last char cut)
      adds  f24fdf6   Multiline comments that contain a newline will trigger semicolon insertion (http://github.com/mishoo/UglifyJS/issues#issue/8)
      adds  a3ba8ef   when not in "strict semicolons", allow trailing comma in hash and array literals (http://github.com/mishoo/UglifyJS/issues#issue/9)
      adds  17cf220   add parens around "assign" when it's used as condition in the ?/: operator. (http://github.com/mishoo/UglifyJS/issues#issue/10)
      adds  4df9759   add parens around "seq" when used as constructor. (http://github.com/mishoo/UglifyJS/issues#issue/11)
      adds  436eba4   fixed again http://github.com/mishoo/UglifyJS/issues/issue/11/#comment_361674
      adds  d910805   `new (X ? A : B)` → `new X?A:B`   --- now fixed.
      adds  3cff513   Fixed parsing [^[ ... ] in regexp.
      adds  8201ca2   adding space before the colon in literal objects is now optional (beautify.space_colon, by default false)
      adds  577f7e0   minor cleanup
      adds  1398a9a   some cleanups
      adds  3da76f9   removed old/unused files
      adds  81c6038   no more JSON.stringify to output strings
      adds  79a4c80   small script to call the uglifier/beautifier
      adds  a554a69   add parens around "seq" when used as condition in the ?/: operator
      adds  496d35c   minor improvement: if (!foo) bar(); else baz(); ==> if (foo) baz(); else bar();
      adds  c05c1db   minor: don't add parens around "binary" when used in combination with an operator of the same precedence that is: a+(b+(c+d))  ==>  a+b+c+d
      adds  3db2083   reverted previous commit [ a-(b-c) was translated to a-b-c which is wrong ]
      adds  6ccdbc7   minor
      adds  b99aefa   block brackets are required in try/catch/finally (AST change: try/catch/finally now receive an array of statements, like "function")
      adds  80e4320   small cleanup
      adds  a362966   add package.json for installation via npm
      adds  98176f7   some cleanups regarding "block" nodes -- and gained a few more bytes by properly adding the brackets *only* when really needed.
      adds  192096b   Fixed bug when adding blocks to THEN clause:
      adds  45e86a2   fix: don't add a mangled name to anonymous functions
      adds  f0da40a   minor optimizations/experiments:
      adds  73898b1   minor fix gains another few hundred bytes on DL, Ymacs and jQuery. --seqs seems safe, so it's now default; use --no-seqs to disable it.
      adds  1c5ca3c   default make_seqs => true
      adds  7ffacdb   update docs
      adds  fcafb26   fixed links
      adds  57ef537   no need to escape slashes in regexp, since we store the backslash as well
      adds  1a7834e   fixed parsing for x++ / 5
      adds  b3bddef   minor
      adds  605fb8e   escape \r and \f when in output strings
      adds  60ee8b2   parenthesize "dot" in "new" calls; sometimes this can add unnecessary parens, but it's safer (TODO: only add parens when necessary).  Fixes:
      adds  92bc04c   back to using JSON.stringify to output strings (still the safest variant)
      adds  b8ad92d   support "const"
      adds  284b919   fixed parsing 0xC1BDCEEE
      adds  6570252   fixed issue with mangling: http://github.com/mishoo/UglifyJS/issues#issue/17
      adds  be3ab72   added option to mangle toplevel scope
      adds  b5f7a12   minor improvements:
      adds  3ebf1a0   Handle EOF when reading blocks. http://github.com/mishoo/UglifyJS/issues#issue/19
      adds  d7333fe   minor fix for numbers
      adds  dd0d3bf   fixed again parsing unterminated blocks (handle EOF)
      adds  f1aebc3   don't enforce for/do/while/switch in label_statement http://github.com/mishoo/UglifyJS/issues/closed#issue/20
      adds  da2ca9a   in fact, do check for do/for/while/switch after label, but only in "strict_mode"
      adds  b4471e1   croak on try{} without catch{} and finally{}
      adds  4ff60e4   added --ast
      adds  33cdf4b   when --ast is specified we should still go through all the requested tree processing
      adds  299bad6   "case" and "default" nodes no longer appear in the tree; instead, since they can only be branches in a switch, the AST for switch blocks now looks like this:
      adds  786a1d8   removed unused code
      adds  ec41f0a   added --overwrite to overwrite the original file
      adds  a0582a3   Merge branch 'master' into macros
      adds  ca5b39e   remove final "break" statement in switch (only when unlabelled)
      adds  923ec5a   some doc updates
      adds  1307ce5   allow regexp immediately after else
      adds  ad34b71   allow a literal regexp to start a statement
      adds  315230b   looks like comma-expressions should be explicitly forbidden in expressions of the "conditional" (?) operator. (cherry picked from commit c7b83e1be7628eac31ac4b289ee3cbc7d4122f30)
      adds  aa0ba96   don't die on byte order mark at the beginning of files
      adds  7c40517   Accept operator &= http://github.com/marijnh/parse-js/commit/4cdced09ab375ad81f85dcaa5cf82b362a762b41
      adds  630237d   disallow assignment to 'this' http://github.com/marijnh/parse-js/commit/77d1fa4694cb555431291000cc22db3498ad6ea1
      adds  9b8282b   NaN is not a keyword http://github.com/marijnh/parse-js/commit/63f6632bcc9134ecad6bb0b18273e28f892dcb9b
      adds  c10ea3f   when parsing a function, reset in_loop to disallow break/continue
      adds  1a71081   mark 'i' as referenced in the current scope on "for (i in foo)"
      adds  77f2827   tighten try/catch/finally blocks
      adds  c41857f   ability to remove some dead code, and warn about it (ON by default):
      adds  19a5540   updated doc
      adds  9f2dd89   update doc
      adds  51b9627   fix for http://github.com/mishoo/UglifyJS/issues#issue/25
      adds  99ccc27   some cleanups/fixes that were figure out in the Lisp version [1].  Big speed improvement.
      adds  c618ed6   when the condition in a conditional is a conditional, should add the parens (http://github.com/mishoo/UglifyJS/issues#issue/72)
      adds  a206f93   don't quote object keys when they are integers
      adds  0111230   cut off a few more bytes by being a bit smarter about adding parens around function literals http://github.com/mishoo/UglifyJS/issues#issue/29
      adds  533d18d   more cases to handle before discarding parens around function literals
      adds  d4357e8   skip literal functions when detecting calls in "new" expression
      adds  4e01991   handle <<, >> and >>> when resolving binary operations
      adds  7bdccef   should be safe not to force numbers in evaluating <<, >>, >>>
      adds  568da4f   more accurately support numbers as keys in literal objects
      adds  48116b3   fixed regression (we always quoted object props)
      adds  26b651d   fixed another regression (we always added parens in unary-prefix/postfix)
      adds  a9770ea   discarded other unnecessary parens -- before, !!b used to turn into !(!b)
      adds  862268a   convert string properties to numbers where possible in literal objects
      adds  6757bc8   reverted previous commit (not such a good idea, as it changes semantics)
      adds  ea2b579   fix parsing for 1e+2
      adds  72a8ffa   in Node-0.3 "sys" has been renamed "util"
      adds  09b4201   minor
      adds  fd629c8   version test for node was missing a leading `v` and was not compatible for all versions <0.3
      adds  1b010dc   Merge branch 'master' of http://github.com/michaelficarra/UglifyJS
      adds  62f5950   make sure *this* is quoted
      adds  ac7a4db   reimplemented #28 in a sane way
      adds  df702bb   Merge branch 'master' of http://github.com/satyr/UglifyJS
      adds  d59a614   sys = require("util") for node 0.3+
      adds  bb3071c   some cleanup
      adds  6bd7983   squeeze a few more bytes with an apparently safe transformation:
      adds  831bc79   Small note: we beat GCL on jQuery ;-)  Should update the stats in the documentation.
      adds  3be3851   Added an easy way to create unittests and created units test for 16 of the fixed issues on github
      adds  b513489   small change in handling the first comment (only keep the first X comments of the same style)
      adds  2c05d52   small change in the way the lib is loaded (officially named "uglify-js"; uglify-js.js should be symlinked in ~/.node_libraries/ and someone get this patch into node: http://groups.google.com/group/nodejs-dev/browse_thread/thread/fee52df63d3a1201/7da4897463cfbc9c#7da4897463cfbc9c)
      adds  c76ac1a   renamed uglify-js.js to index.js since it appears to be too complicated to get a simple bugfix into node (http://groups.google.com/group/nodejs-dev/browse_thread/thread/fee52df63d3a1201).
      adds  38f691e   Add support for compressing 'a + "str1" + "str2" + b' to 'a+"str1str2"+b'
      adds  6c9936b   Merge commit '38f691e'
      adds  899c9e1   minor optimization for if (foo) { ... return }
      adds  97f964a   compress assignments more
      adds  01f9d66   Be even better with assignments
      adds  0ade80e   Merge branch 'assignment' of http://github.com/WizKid/UglifyJS into wizkid-master
      adds  5f79498   compress assignments more
      adds  2d28aa7   Be even better with assignments
      adds  3de6acb   Treat the first statement in a for-loop the same as a normal statement. So do seq with previous statements. Put together var and const declarations. And if it is empty move the last statement there
      adds  2b67f12   Add some more types to find_first_execute. Gives a few bytes on jquery and processingjs
      adds  5b093e1   whatever I'm commiting right now should just be a merge operation
      adds  230f452   Add a decompress step first so we don't have to add a lot of code to handle special cases around sequences and first statement in for-loops. But if you turn of make stuff in to sequences this can make the result be bigger. But it is so much easier to do stuff
      adds  fda56da   Move i++, ++i, i+=1 forward into the next statement if possible
      adds  891f0f5   Merge https://github.com/WizKid/UglifyJS into wizkid-master
      adds  1cbd34a   Merge branch 'wizkid-master'
      adds  808a69c   fixes issue #43 (restore regex_allowed after skipping a comment)
      adds  85a5d74   minor
      adds  c93432b   removed unused code
      adds  5c552d7   Make the package.json work when npm linking again
      adds  5451159   added --extra option, which will enable optimizations that we're not yet fully sure about (i.e. might alter code logic)
      adds  3fb2a84   fixed issue #50 and added test case.  also:
      adds  831b1de   Fix issue 48 where 0 and "" was treated as same and wrongful optimizations where done
      adds  e41d6d0   Merge remote branch 'wizkid/master'
      adds  ba1962a   oops, fixed regression (var joining is safe, should be enabled by default)
      adds  62cd070   true => !0, false => !1 -- seems safe; this cuts 1K on DynarchLIB
      adds  831c2ab   be smarter about negation:   !(a == b) => a != b   !(a && b) => !a || !b   !(!a || !b) => a && b   etc.
      adds  dc3870b   fixed issue #53: x = (y, z) should not discard the parens
      adds  43c585a   foo.toString()  ==>  foo.""
      adds  6261a50   removed useless check
      adds  4d45bc8   disabled foo.toString() ==> foo+""; it's still available if you pass --unsafe to uglifyjs (or call ast_squeeze_more if you're using the JS API).
      adds  d36abb0   Fixes printing printing small floating point numbers.
      adds  3865b73   minor (got rid of try/finally)
      adds  ca9388d   fix for issue #58
      adds  e2e4d8b   fixed issue #57 -- add block brackets around do/while in code like this:
      adds  2b802ab   fixed issue #59 ("!--x" incorrectly yield "--x")
      adds  1f9c172   fixed issue #61:  f((a, b)) was incorrectly rendered f(a, b)
      adds  54d46bb   removed Node dependency from process.js (issue #60)
      adds  3184a1a   fixed issue #62: properly handle negation such that:
      adds  9b619d1   got rid of JSON.stringify for writing strings; having our own function now, which counts the " or ' characters in the string and generates the smallest output.
      adds  cd42c68   compress new Array(1, 2, 3) into [1,2,3]
      adds  f98c5eb   fixed regression: new Array(x) should be left as is.
      adds  8b7599d   properly handle the case where Array exists in current scope:
      adds  d0d0808   updated expected test result (broken since we added support for quoting with either " or ' depending on which one requires fewer backslashes)
      adds  2beccfd   but then indeed, "new Array(x)" can be safely written "Array(x)" if we're talking about the global Array function.
      adds  145317b   compress Array(1,2,3) into [1,2,3] too
      adds  bd7780d   updated doc to point out the potentially unsafe Array transformations
      adds  e69bf38   doc fix
      adds  3f9b302   added an array mapping utility that allows us to push stuff at the top
      adds  4824f90   fixed issue #68: push function definitions to the top of the current scope block, when they are not inside some other block like a conditional.  This is done in ast_mangle, so it's only available if mangling is enabled.
      adds  d643f2a   updated "expected" version for tests affected by the last change
      adds  cd78ff5   fixed issue #69
      adds  4764baa   fixed issue #70: for reasons unknown to humanity, you can have an unparenthesized literal regexp as a "case" expression.
      adds  a21c720   switched to the simplified BSD license
      adds  617a3e7   support parsing getter/setter declarations in object literals (patch by Pavel Podivilov)
      adds  0cbd088   support mangling/squeezing/gen_code for getter/setters in object literals
      adds  9baf991   fixed comment
      adds  cc2d15b   issue #71 -- increment line count in multiline comments
      adds  50005c4   issue #72: (0).toString -> 0..toString
      adds  a44d50d   fixed parsing "5..toString()"
      adds  8e814c8   support [1,,3] (an array with 3 elements)
      adds  7248295   Added the ability to insert some newlines in the generated code (--max-line-len, default 32K).  I've seen both FF and Chrome croak with weird errors when all code was on a single line of 670K (funnily enough, IE didn't complain)
      adds  cc8bdc3   moved split_lines into the library code and exported it
      adds  5b2c91b   Extend name mangling from base54 to base64 after first character. Provides better compression on libraries with a large number of variables. Example: DynarchLib compresses 571 bytes smaller (non-gzipped) or 212 bytes smaller (gzipped).
      adds  ae50289   reversed the previous patch; the ideea was good, but implementation seems to be incorrect
      adds  30a0b41   fixed issue #77 -- endless recursion if the stream ends with ++/--
      adds  d9e1783   remove bogus ~= operator and extra %= mention http://marijnhaverbeke.nl/git/?p=parse-js;a=commit;h=eb75e7e7f48fd317727229a23616bdf71a23c1fe
      adds  50a7d80   fixes #78 -- quote numeric property names when they're negative
      adds  5579816   don't call output.end() when we're writing to standard output
      adds  7951d98   semicolon removal less aggresive: {while();} must keep the semicolon, otherwise it introduces a syntax error
      adds  5ff30fe   Employ the full parser, rather than just the tokenizer, for splitting lines (which is the only way we can deal with the "regexp starting a statement" syntax).  Comments are now attached to the next token (.comments_before) rather than reported separately, which also simplified some code.
      adds  a014e9e   read --max-line-len argument as an integer
      adds  bcc976f   fixes #83 -- show a cleaner error when the input file isn't found
      adds  3c616d0   fixes #84 -- safer dealing with boolean expressions, at the expense of a few extra bytes :-(
      adds  2840c0a   refs #84 -- consider a = !b a boolean expression too
      adds  7bb084c   transform !(a?b:c) ==> !a?c:b
      adds  664e0cc   minor optimizations:
      adds  fa6626e   oops, fixed regression: !(a?b:c) can't convert to !a?c:b
      adds  c2a4319   fixed negating conditionals again :-\
      adds  37b4d56   fixes #86 -- dropped unsafe transformation
      adds  fb2e980   mostly cosmetic change
      adds  02d7a2f   - Removed --extra because of bugs in the optimizations. After the bugs are fixed I will move them into --unsafe so they get some testing. - Updated tests so all everything are green now
      adds  99560d1   removed unused code
      adds  8f78189   removed more unused code
      adds  c1cfc3d   fixes #65 -- moved the following transformations under --unsafe:
      adds  ff1fea4   keep the first token in ast_walker, ast_add_scope and ast_mangle (useful for the case where we include the original token in the AST, see parse())
      adds  219f0c8   more embed_tokens: do lambdas too
      adds  234ced3   fixes #87 -- transform while(true){...} into for(;;){...}.  Drop the block if it's empty.
      adds  b32b6a1   but don't try to warn when the "unreachable code" is empty
      adds  bf2cbf5   unstrict equals operator when operands share the same type
      adds  56c62d9   resolved conflict
      adds  5319c1b   don't display warnings unless --verbose
      adds  b02f2d0   fixes #94 -- drop names of inline functions when they aren't referenced anywhere
      adds  15604c4   slightly better fix, in case your inline function is named toString, hasOwnProperty or whatever.. :)
      adds  4ec73d3   More ignore rules
      adds  5eaa12f   Reserved variable names option
      adds  57ee9e7   Merge branch 'master' of https://github.com/cadorn/uglify-js into cadorn-master
      adds  8638ae8   fixes #92 -- added --reserved-names command line argument (pass one or more names separated by a comma to exclude them from compression)
      adds  1cdb981   updated doc of ast_mangle (there was a small API change)
      adds  a06a492   issue #96 -- added parser test suite, thanks to Peter van der Zee
      adds  b876199   issue #96 (regular expression flags) -- accept any identifier character for regular expression flags (ES-262, 7.8.5)
      adds  7cdfabc   support unicode chars in identifiers
      adds  687382e   disabled some checks by default (they're enabled in strict_mode): - continue/break outside loop/switch - return outside of function - continue/break label not defined
      adds  4b29a26   treat ZWSP (zero-width space, U+200B) as whitespace
      adds  4c4f5af   issue #96 -- support UnicodeEscapeSequence in names
      adds  4d23891   fixed some regexps
      adds  68ae5c3   minor
      adds  d221da0   allow new Date++
      adds  7f9ddd4   allow call expressions to be lvalues too
      adds  3114abe   don't check whether the left side is assignable, unless strict_mode == true
      adds  aeccb64   support funny cases of for-in:
      adds  9760b79   renamed variable "strict_mode" to "exigent_mode", to avoid confusion with ES5's "use strict;" (which, for the time being, we don't care about).
      adds  f378f63   reverted 687382e4d2f55401483e6823cb814d7c9cab5dbc and updated testparser.js to use valid code.
      adds  a908752   fixes #99
      adds  cc9e94d   warn when "conditional comments" are encountered
      adds  de80c97   add an ascii_only option to gen_code
      adds  bb033d4   added --ascii option, useful to encode non-ASCII characters as \uXXXX. apply this to literal object property names and identifiers too.
      adds  3d10686   updated gen_code API description
      adds  a55ed6f   transform a["123"] into a[123] (fixes #107)
      adds  3b1eee2   only add a second dot in forms like (5).toFixed() if the number is integer. That is, the correct transformation for (0.9).toFixed() is .9.toFixed() (fixes #109)
      adds  a1e5e94   fixed parsing for stuff like 0x12.toFixed() (when we have 0x, the dot cannot be part of the number)
      adds  9357003   removed duplicated operator
      adds  361951f   fixes #117 -- don't parenthesize literal objects
      adds  ca2bcfd   add parens around object literal when used as first thing in a statement
      adds  bf46f2b   fix more pathological cases of parens around literal object
      adds  1eecae3   again: it can be first thing in a statement when in unary-prefix too...
      adds  55ddee9   more parens around literal objects/functions when first thing in a statement [ will this end? :-) ]
      adds  175b4cb   handle conditional operator too
      adds  852122c   NPM changes
      adds  9c4fbf4   comments (fixes #120)
      adds  4a99084   Support unicode newlines in make_string (make uglifyjs work for the Dragonfly project).
      adds  0fa93d2   Merge branch 'master' of https://github.com/chriskr/UglifyJS into chriskr-master
      adds  317d2bb   fixes issue #129 -- initializers in var/const cannot be seq-s (parens needed)
      adds  56972f9   only defuns define a new name in the current scope; named lambdas seem that should not affect it.  (fixes #128)
      adds  84b85fa   better fix for issue #128:
      adds  6e751ef   support "splice" node, which is like "block" but doesn't add the brackets in gen_code
      adds  6e89f5b   added a sample on how to use the parser/walker to instrument some code
      adds  e83767e   embed tokens in expr_atom and expression parsers too
      adds  b5d994a   add brackets around splice nodes when they're directly under "for", "for-in", "if", "while", "do" or "with" nodes
      adds  f0e1ec2   make the module exports a convenience function so minifying src with the defaults is just a one-lininer: min = require('uglify-js')(src);
      adds  8f4fe4c   Merged pull request #133 from aaronblohowiak/master.
      adds  d469517   Added option to define symbols for replacement (cf #define) and improved constant folding for shortcut operators ('&&', '||' and ternary conditional operator)
      adds  df17381   Implemented --define-from-module constant substitution.
      adds  70cb9ee   Merged pull request #137 from tav/master.
      adds  5bedabe   can't optimize away do{ ... }while(false) - fixes #150
      adds  a303476   options.defines is optional..
      adds  d021ad8   Adds missing whitespace characters to WHITESPACE_CHARS
      adds  86a1d8d   Merge pull request #149 from killdream/master
      adds  7c535e6   simple "make" utility.  ideas welcome.
      adds  d03ac93   v1.0.2 -- fixes #152
      adds  b01fa40   newline after continue/break ends the statement (fixes #154)
      adds  068454a   minor
      adds  ae88177   mangled name of a function expression should not clash with a name in the parent scope, in order to deal with a 15 years-old IE bug. (fixes #161)
      adds  4473b36   version 1.0.3
      adds  9472f4f   More sane unit testing script
      adds  b3ed515   Merge commit '9472f4ff19e0daf3adb7fdb0304ab77f19d3cc52'
      adds  9053435   Compress ifs further
      adds  b17d1b6   small cleanup
      adds  e0926ab   Failing test cases for name mangling
      adds  6217aab   fixed mangling of lambda names (regressed as of ae88177)
      adds  440d08f   version 1.0.4
      adds  6a873a7   fixed regression after ae88177fde6a7e54b047: mangling the name of function expressions might clash with an identifier that's already in scope if eval/when is in use.
      adds  59233a3   give unary postfix ops the right precedence (fixes #173)
      adds  8337656   added --inline-script option to escape `</script`, by popular demand
      adds  d8435a4   updated doc
      adds  11566e7   version 1.0.5
      adds  8207ba9   minor (`</script` needs escape only if followed by `>` or whitespace)
      adds  8b2afcb   Only a subset of whitespace characters is problematic after `</script`, so use `[\t\n\f\r ]` instead of `\s`.
      adds  b763f4a   `</script/` is problematic, too.
      adds  9d2fcbb   Merge pull request #177 from mathiasbynens/master
      adds  4d5d1bb   support deprecated OctalEscapeSequence in strings (fixes #178)
      adds  5a75e1e   Added a failing test for with statements.
      adds  f5c6f63   Merge pull request #179 from eirikurn/master
      adds  968c804   fixed compression of `with` statements (regressed at 9053435497e6ab53b100ead72aa399e48f3df8c3)
      adds  89f1330   version 1.0.6
      adds  9210f7e   parenthesize seq values in object literals (fixes #180)
      adds  941c845   discard backslashed literal newlines in strings (fixes #183)
      adds  5221a35   Added ast_lift_variables, which does a little more than its name says:
      adds  115abc6   attempt to group assignments into the var declaration added --lift-vars to bin/uglifyjs options
      adds  4cfe602   minor
      adds  db495a3   more solid check need of semicolons after the last statement of a block. small cleanup in gen_code (using ast_walker now).
      adds  5ee3b60   Easy yet safe optimization.  Saves 119b on jQuery.
      adds  48cc9be   Updated readme.  Follow @UglifyJS on Twitter. ;-)
      adds  90ac6dd   no point to keep initialization values in var/const in unreachable code
      adds  80afe6f   mangle label names (fixes #151)
      adds  3cd9829   more fixes:
      adds  7f89bab   Compatibility with the JScript engine, which doesn't support the \v escape sequence
      adds  b5d9e39   Merge pull request #199 from thorn0/patch-1
      adds  0c67f57   moved Array ==> [] transforms in squeeze-more (so they now apply on `--unsafe`)
      adds  01a83b4   parameter start arrives 'undefined' or 'null', any falsy value should be zero
      adds  a3c14f7   Merge pull request #200 from johnjbarton/01a83b461f541898cb4b2f9ef033245c1a7ee18b
      adds  8fff849   Fix tests broken after 3cd9829a
      adds  b6575ef   Merge pull request #202 from lautis/fix-broken-tests
      adds  43c21c7   Merge branch 'master' of github.com:mishoo/UglifyJS
      adds  25d02fb   updated doc
      adds  5f2528a   exit with code 1 in case of error (fixes #204)
      adds  6c4a19f   version 1.0.7
      adds  fce7830   fixed parsing in exigent_mode + embed_tokens (fixes #208)
      adds  cd41e5a   merged cade4f252e5f4db715d9 from @schmerg, other minor doc updates
      adds  d891e2d   fixed codegen for `(function(){...}()) && bar()`.
      adds  d823384   Added an utility that allows walking depth-first easily. For example:
      adds  42bbd03   fixed rendering of extremely "large" negative numbers (fixes #214)
      adds  b6de527   err, fixed again negative numbers.  (#214)
      adds  71f32c4   Constant fold modulo operator.
      adds  07041f7   Merge pull request #220 from proxv/master
      adds  87d8f58   Fix sparse array literals e.g. [,]
      adds  1e7cd25   Merge pull request #216 from jasondavies/sparse-arrays
      adds  39093f4   compile `a=a+b` to `a+=b` and so on
      adds  83d1c85   put the assignment types into an array literal instead of stringsplit
      adds  7677944   Merge pull request #230 from thejh/assign-to-modifyassign
      adds  dda958a   support empty "then" IF branch in codegen
      adds  ff46b80   fix for parsing regexps like /=/ where statement is expected
      adds  1b94161   Add syntax error on newline after 'throw'
      adds  f12f00e   add parens around literal object as statement (fixes #234)
      adds  a46a85b   Parenthesize sequences in constructor calls.
      adds  4481a82   Merge pull request #232 from proxv/master
      adds  de91bd2   Merge branch 'master' of github.com:mishoo/UglifyJS
      adds  4c3d5b9   fixed removal of `if (false) { ... }`
      adds  3e5f5b4   Added null as a constant.
      adds  2d3e317   Merge pull request #235 from josephg/patch-1
      adds  e967213   fixed issue #112: `_ == true` -> `_ == 1` and similar
      adds  bdf9fe5   Merge branch 'issue112' of https://github.com/michaelficarra/UglifyJS into michaelficarra
      adds  8be7668   Parenthesize object literals with no properties.
      adds  4158510   Merge pull request #237 from proxv/parenthesize-no-prop-object-literals
      adds  926331b   Merge branch 'master' of github.com:mishoo/UglifyJS
      adds  5fce8a3   Better parser error message for node
      adds  617353c   Merge pull request #172 from 5long/master
      adds  0bb798b   semicolons
      adds  bf136c0   in fact, new Error().stack is enough to get a stacktrace
      adds  6d79555   Recognize various Unicode whitespace
      adds  e57aadc   Merge pull request #211 from lautis/unicode-whitespace
      adds  41c1754   Merge branch 'master' of github.com:mishoo/UglifyJS
      adds  e82887b   try negation in make_conditional (closes #227)
      adds  a476f45   Encode null characters as '\0'
      adds  ad7bfc4   Merge branch 'encode-nulls' of https://github.com/lautis/UglifyJS into lautis
      adds  a02bb16   version 1.1
      adds  66506c4   fixed version for NPM
      adds  1721863   Parenthesize function expressions.
      adds  3dc988b   Merge branch 'parenthesize-function-expressions' of https://github.com/proxv/UglifyJS into tmp
      adds  48d2fe7   Don't insert semicolons before multi-line strings.
      adds  120ed08   Merge pull request #238 from proxv/multiline-strings-semicolons
      adds  72ddf7d   keep literal newlines in strings as \n
      adds  5ba19b3   reverted last patch
      adds  f896f69   fix parenthesization of anonymous function calls
      adds  3a67143   better fix instead of f896f690500f11130435c495a7b1eaf9338c59dd
      adds  60fef22   negating >= and <= operators is back to --unsafe (closes #239)
      adds  7805e1d   add final semicolon (closes #126)
      adds  565ee79   version 1.1.1
      adds  8459929   use == instead of === in `member` (fixes #244)
      adds  4f97733   escaped slash character in regexp
      adds  e751e36   String(a) => a+""  (with --unsafe)
      adds  8c50b79   at most one ';' at EOF
      adds  662e846   some cleanup
      adds  1b81b9b   Unsafe Object constructor transformations:
      adds  8bdc996   Merge pull request #263 from ikokostya/object
      adds  dd7f9b8   Use a different scope for labels than for variables.
      adds  2ee365b   Fixed parse error position: start line number and column number from 1.
      adds  9d4d768   Merge pull request #258 from ikokostya/fix-error-pos
      adds  f74e6bc   Keep end position of each token
      adds  00a7beb   Merge pull request #248 from WolfgangKluge/endpos-in-tokens
      adds  7decebf   fixes embed_tokens for functions (#260)
      adds  311c590   new RegExp() => RegExp() (with --unsafe)
      adds  4987ee3   new Error() => Error() (with --unsafe)
      adds  b9cd98a   Unsafe: new Function() => Function()
      adds  03f2a85   option to prevent mangling or dropping of function names (#267)
      adds  58d3600   updated doc
      adds  4b71a9e   version 1.2
      adds  3800c29   made npm happy
      adds  28ceb22   don't walk label statements twice (closes #272)
      adds  29815b0   version 1.2.1
      adds  1ab6d41   walk label statement *after* mangling it (really fixes #272)
      adds  4675bca   v1.2.2
      adds  e51d1e4   support `debugger` statement (closes #278)
      adds  a0dcd85   improved redo_if (closes #283)
      adds  08f6e1a   v1.2.3
      adds  84553e7   Fixed #286: Only one variable declaration allowed in for..in loop
      adds  dc5a7d1   Check abort else statement in make_real_if() when t[0] is "stat"
      adds  186aba5   Remove whitespace in #! line
      adds  0f8e7b8   Merge pull request #291 from isaacs/patch-1
      adds  a60a831   v1.2.4
      adds  5a0095f   Merge branch 'master' into abort-else
      adds  fb1ba80   Test the local instead of the installed version.
      adds  c963cf4   Merge pull request #295 from WolfgangKluge/master
      adds  0c84b2c   handle null constant (closes #299)
      adds  f5f3870   v1.2.5
      adds  b8c7715   avoid parens for getter/setters (closes #301)
      adds  82a8934   make 2 symbol variable names range bigger (from 2862 to 3402)
      adds  08a8fcb   avoid double-parens on calls on function expressions (fixes #313)
      adds  dbd3a4c   output literal TABs in strings (fixes #318)
      adds  cab739c   fix parsing `x = {}/1` (closes #320)
      adds  dfb9a63   Consolidate null, Boolean, and String values
      adds  de93f64   Merge pull request #327 from RGustBardon/master
      adds  a967161   Fix issues #162 and #271
      adds  09680f7   Merge pull request #328 from RGustBardon/fix-162-and-271
      adds  51cda54   Implement the idea from issue #325
      adds  cd8e0c7   Merge pull request #329 from RGustBardon/implement-325
      adds  b969f45   v1.2.6
      adds  1f5949c   support "use-strict" as a statement (refs #339)
      adds  ec9d1be   Improved strict mode support
      adds  5ae3187   Don't bother save/restoring in_directives
      adds  37aed3a   Merge pull request #345 from mal/master
      adds  666a915   add semicolon after debugger statements if necessary (closes #353)
      adds  5d05477   add tests for issue 353
      adds  e4ca86b   Merge pull request #355 from proxv/debugger-semicolon-insertion
      adds  1fa8288   fix expected output for issue14 test to have literal tab instead of escaped tab
      adds  8ab7275   Merge pull request #356 from proxv/fix-failing-test
      adds  b0f8876   make note of newlines in comments for ASI purposes (closes #349)
      adds  f970de7   Merge pull request #357 from proxv/handle-comment-newlines
      adds  1f0c34d   add nodeunit devDependency and add 'npm test' script to package.json
      adds  255c39e   require local version of uglify instead of global
      adds  d7398ac   move consolidator tests to test/ dir and run them via 'npm test'
      adds  b4f2111   add npm-debug.log to .gitignore
      adds  51194bf   Merge pull request #358 from proxv/package-improvements
      adds  66fc6f5   fix consolidator to use new 'directive' AST node
      adds  9183ede   Merge pull request #359 from proxv/fix-consolidator
      adds  e635913   Apply ascii only option to regexps
      adds  521bb0f   Merge pull request #369 from mal/ascii-regex
      adds  f5419ec   Squashable directives
      adds  f944cbf   Adding tests for squeezing directives
      adds  45f044f   fix parsing 1e5..toFixed(5)
      adds  8ec0341   don't generate double-dot for 10000..toFixed(5)
      adds  04451f3   Fix make for newer versions of node
      adds  14dfd83   Merge pull request #373 from mal/master
      adds  24e0108   Merge branch 'master' of github.com:mishoo/UglifyJS
      adds  67e6163   avoid some double-parens
      adds  50ee352   Allow defines even when not mangling.
      adds  e06dc6a   Merge pull request #342 from int3/master
      adds  0040110   Revoke #368 and fix issue #383 to make jQuery tests pass
      adds  b259613   Merge pull request #384 from RGustBardon/fix-383
      adds  133b36f   Implement #368 (too many parentheses)
      adds  301d37b   Merge pull request #385 from RGustBardon/implement-368
      adds  c37094e   Fix for issue #386
      adds  ef4d776   Merge pull request #387 from rvanvelzen/master
      adds  0c936e0   when the statement of a for is not empty, check if it requires semicolon
      adds  4072f80   Optimize list of digits for generating identifiers for gzip compression.
      adds  f834ec6   Merge pull request #397 from rvanvelzen/optimize_gzip
      adds  59ce11d   Undo commit 133b36f54d0e8f78fc649e99983798bf05445b18
      adds  b5037ad   Fix issues #222 and #324
      adds  e77ecaa   Merge branch 'fix-222-and-324' of https://github.com/RGustBardon/UglifyJS into RGustBardon-fix-222-and-324
      adds  4a259ae   propagate newline_before for comment tokens (fixes #398)
      adds  4e53bf1   when --unsafe, replace "foo".toString() with "foo", rather than "foo"+""
      adds  2fe0dc7   Add base54 digits override for unit tests.
      adds  8ddc3db   Merge pull request #400 from proxv/override-digits-in-tests
      adds  e520658   Also descend arg AST nodes in ast_squeeze function-call handler
      adds  d88a799   Merge pull request #401 from proxv/ast-squeeze-call
      adds  2adb251   v1.3.0
      adds  b689d52   ast_mangle should, well, mangle by default. (fixes #404)
      adds  5f5e7c2   also don't mangle function names if !options.mangle (#404)
      adds  e87718e   fix options for ast_mangle
      adds  5acf636   Remove unnecessary "+" sign in SignedInteger
      adds  46f0610   Merge pull request #407 from RGustBardon/1e+21
      adds  e90dbc9   Remove NOT in IfStatement with EmptyStatement (-s)
      adds  4c72a63   Merge pull request #408 from RGustBardon/if-not
      adds  0cf0022   Fix representation of infinite values
      adds  2679409   Merge pull request #410 from RGustBardon/infinite
      adds  7c15135   cleaner fix for 0/0, 1/0, -1/0 (issue #410)
      adds  a3fcb0d   minor --make stuff
      adds  ad80428   v1.3.1
      adds  d3473bc   add the space in “return λ” and similar cases
      adds  20f1dc3   v1.3.2
      adds  058748f   revert f5419ec2d6b7e341f99a1f09a63ff6b6a0e3fc95 (squashable directives)
      adds  8062092   emacs vars
      adds  8872e3a   added separate step to discard redundant directives
      adds  5d401d9   fix for redundant directives in same scope
      adds  18b3991   "sys" → "util"
      adds  8188f1b   be wary of some conditional operators in lift_variables (fixes #435)
      adds  81adc84   fix --lift-vars for "for(var i; ...)" (var declared in for but uninitialized)
      adds  fecadfe   Fix issue #431
      adds  c9aae35   Merge pull request #432 from rvanvelzen/fix-431
      adds  09511bd   v1.3.3
      adds  de2c36d   I'm officially switching to 4-space indentation.
      adds  9b69218   add note about UglifyJS 2.0
      adds  b3bd55f   Fix division with regexp as right generating invalid code.
      adds  d51853e   Merge pull request #458 from rvanvelzen/div-with-regexp
      adds  8602447   discard all \uFEFF characters (close #462)
      adds  194cd4b   disallow newlines in strings (fix #463)
      adds  5bec756   Added an example of how to use the `defines` option (see #281)
      adds  cc1bde2   Fixed syntax
      adds  437232e   Merge pull request #343 from spadgos/patch-1
      adds  f34a662   Reverting "discard all \uFEFF characters (close #462)" Revert "discard all \uFEFF characters (close #462)"
      adds  25310d5   treat \uFEFF as whitespace
      adds  a90b334   v1.3.4
      adds  7218ffc   Fix broken calls of complex binary expressions [#471]
      adds  14398af   add note about the NPM package, which switched to v2
      adds  9501219   drop the pledgie link
      adds  ef660f1   v1.3.5
      adds  222825b   Imported Upstream version 1.3.5
       new  d488b45   Merge branch 'upstream' into upstream-experimental

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list