better error recovery when sorting sources

R=johnlenz
DELTA=13  (11 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3982


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1685 b0f006be-c8cd-11de-a2e8-8d36a3108c74

reverse property inference based on return type

R=acleung
DELTA=57  (56 added, 1 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3991


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1686 b0f006be-c8cd-11de-a2e8-8d36a3108c74

Add owner-based type signature for bind.

Notice that this type signature isn't complete. The problem
is that the return type of bind() depends on the number
of arguments passed to it. e.g., if 'f' is a 3-argument function, and you call
it with 2 arguments, then it returns
a 1-argument function.

But this gets us most of the way there.

R=johnlenz
DELTA=65  (44 added, 0 deleted, 21 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3992


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1687 b0f006be-c8cd-11de-a2e8-8d36a3108c74

Fix typo in the name of a settter

R=acleung
DELTA=10  (8 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3993


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1688 b0f006be-c8cd-11de-a2e8-8d36a3108c74

Remove a now unused compiler option

R=acleung
DELTA=3  (0 added, 3 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3999


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1689 b0f006be-c8cd-11de-a2e8-8d36a3108c74
Update the Selectors API externs. Add missing DOM Level 3 event properties. Add location to window externs.

R=nicksantos

git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1690 b0f006be-c8cd-11de-a2e8-8d36a3108c74


Adds support for Omnibox API methods and objects to the Chrome Externs list.

R=johnlenz
DELTA=39  (37 added, 2 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4005


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1691 b0f006be-c8cd-11de-a2e8-8d36a3108c74

MOE re-sync of Chad's r1690

Update the Selectors API externs. Add missing DOM Level 3 event properties. Add location to window externs.

Revision created by MOE tool push_codebase.

R=johnlenz
DELTA=43  (42 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4007


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1692 b0f006be-c8cd-11de-a2e8-8d36a3108c74

fix up a malformed syntax tree

R=johnlenz
DELTA=50  (9 added, 40 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4010


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1693 b0f006be-c8cd-11de-a2e8-8d36a3108c74
Add support for String.split to peephole optimizations.

R=acleung,johnlenz

git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1694 b0f006be-c8cd-11de-a2e8-8d36a3108c74

fix a weird edge case compiler crash

R=johnlenz
DELTA=18  (13 added, 0 deleted, 5 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4014


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1695 b0f006be-c8cd-11de-a2e8-8d36a3108c74

fix a parse error that's caught by the new rhino parser

R=acleung
DELTA=2  (0 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4015


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1696 b0f006be-c8cd-11de-a2e8-8d36a3108c74

rollback of r1694
with test cases demonstrating how Java's implementation of
split() is different than javascript's

R=acleung,johnlenz
DELTA=23  (23 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4016


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1697 b0f006be-c8cd-11de-a2e8-8d36a3108c74
Add support for String.split to peephole optimizations. No longer depends on Java's implementation of split.

R=acleung,johnlenz

git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1698 b0f006be-c8cd-11de-a2e8-8d36a3108c74

Add support for chrome.tabs.query() to the chrome externs (since v16)
http://code.google.com/chrome/extensions/tabs.html#method-query

R=matias
DELTA=8  (8 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4019


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1699 b0f006be-c8cd-11de-a2e8-8d36a3108c74

Add support for String.split to peephole optimizations. No longer depends on Java's implementation of split.

R=acleung,johnlenz

Revision created by MOE tool push_codebase. MOE re-sync of r1698

DELTA=152  (136 added, 4 deleted, 12 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4020


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1700 b0f006be-c8cd-11de-a2e8-8d36a3108c74
Refresh jQuery 1.7 externs. Add missing HTML5 element properties to externs.

R=nicksantos

git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1701 b0f006be-c8cd-11de-a2e8-8d36a3108c74

Inline NodeUtil.isExpressionNode

R=nicksantos
DELTA=37  (0 added, 4 deleted, 33 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4037


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1702 b0f006be-c8cd-11de-a2e8-8d36a3108c74

Add Document.createTouch and Document.createTouchList to the iphone externs.

R=nicksantos
DELTA=23  (23 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4038


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1703 b0f006be-c8cd-11de-a2e8-8d36a3108c74

Refresh jQuery 1.7 externs. Add missing HTML5 element properties to externs.

MOE re-sync of r1701

R=nicksantos


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4039


git-svn-id: http://closure-compiler.googlecode.com/svn/trunk@1704 b0f006be-c8cd-11de-a2e8-8d36a3108c74