Add support for @suppress {undefinedNames}.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4210


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

Negative zero is a special case, and needs to be handled
differently to prevent it from getting confused with decrement
fixes issue 657

R=johnlenz
DELTA=9  (7 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4211


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

Fix a bug where ToNumber(-Infinity) would replace itself
with -Infinity, and go into an infinite loop

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4213


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

slight tweak to arity checking:
if the subclass method doesn't need all the arguments
of the superclass method, then don't require them

R=johnlenz
DELTA=73  (62 added, 7 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4217


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

Adds variable arguments to jQuery Proxy function.
This eliminates compilation warnings for correct usage of the function.

R=nicksantos,johnlenz


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4218


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

Loosen up interface checks

R=johnlenz
DELTA=28  (25 added, 2 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4219


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

moved JSCompiler dependencies to open source

R=nicksantos
DELTA=502  (265 added, 231 deleted, 6 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4220


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

Add externs for window.performance.memory.

See http://blog.chromium.org/2011/05/chrome-developer-tools-put-javascript.html

R=adeboor
DELTA=10  (10 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4229


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

Updating externs head.
Adding 3.8 externs.

R=sraub
DELTA=5252  (4838 added, 235 deleted, 179 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4230


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

Automated g4 rollback.

*** Reason for rollback ***

It broke stuff.

*** Original change description ***

Updating externs head.
Adding 3.8 externs.


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4231


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

Prevent unsupport JavaScript variants that Rhino can parse from
crashing the compiler in "ide mode".
Fixes issue 663

R=nicksantos
DELTA=42  (41 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4239


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

Updating externs head to 3.8
Adding 3.8 externs


R=sraub
DELTA=6252  (5331 added, 816 deleted, 105 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4240


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

Make Node more resistant against bad line numbers.
The "real" SourceFile implementation throws exceptions on
bad line numbers, so the test implementation should too.

R=johnlenz
DELTA=49  (46 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4246


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

Fix comma splitting, which happen early not late.

R=acleung
DELTA=57  (33 added, 16 deleted, 8 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4262


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

Allow the rollup of object properties that are assigned function
literals that have referencs to the object as part of its definition.

R=agrieve
DELTA=39  (38 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4271


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

Add the deleteDatabase function to IDBFactory.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4280


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

In my sample, using this approach to running the
peephole optimizations to a fixed point reduces build time by ~30%, the
number of overall runs for the "code removing passes" are reduced from
30 to 14 for one target and InlineVariables becomes the "long
pole".

R=acleung
DELTA=153  (113 added, 3 deleted, 37 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4281


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

Add folding of hook expressions with equivalent result expressions to
reenable the test case I disabled in my last CL.

R=acleung
DELTA=11  (7 added, 2 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4282


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

Add missing property definitions for shindig.sha1 externs.

R=mhermanto
DELTA=10  (9 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4283


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

Add IDBKeyRange, IDBTransaction, IDBCursor and IDBRequest to Window prototype so that the
contants defined can be used without the compiler renaming those variables.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4284


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