Remove unneeded clone to improve performance of the proto2 lib.

R=pallosp
DELTA=8  (2 added, 0 deleted, 6 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4354


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1648 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

fix some new compiler warnings

R=nnaze,chrishenry
DELTA=6  (3 added, 1 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4355


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1649 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Adds #mergeFrom method to goog.proto2.Message . Equivilent to c++/java
implementations regarding merging rules,(apart from required fields being set).

R=pallosp,jschorr
DELTA=211  (201 added, 6 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4356


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1650 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Automated g4 rollback

*** Reason for rollback ***

breaks dialog draggers under some undetermined cases

*** Original change description ***

Fixed dragger to use offsetStart rather than offsetLeft.  This makes it work correctly in a wider variety of rtl cases.  This does not affect ltr behavior.

R=mschidlowsky,wilford
DELTA=59  (0 added, 49 deleted, 10 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4357


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1651 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Adding support for optional setUp and tearDown functions to performancetable.js
and performancetimer.js. These functions allow the caller to reset state between
invocations of the function being tested ensuring that each invocation of the
test function operates on the same initial state.

R=nicksantos,zachlloyd
DELTA=162  (159 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4369


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1652 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Creates goog.labs.structs.Map. This is meant to be a labs
implementation of a possible replacement for goog.structs.Map and
evolve a cleaner API.

At the end of the day, it is more likely that we will try to gut the
implementation of goog.structs.Map with whatever the implementation we
come up with in the labs version (or, we can decide to deprecate
goog.structs.Map and just use the new implementation).

R=arv
DELTA=847  (847 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4370


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1653 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Adds goog.labs.object.is that implements harmony:egal proposal.

R=nnaze,nicksantos
DELTA=254  (182 added, 17 deleted, 55 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4371


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1654 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Check that the dummy target exists before shrinking it. The dummy target is initialized in the first move drag event and may be undefined if the scroll handler is fired before then.

R=ssaviano
DELTA=35  (34 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4372


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1655 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Fix node_test.html for ff-winxp.  Tests hangs when creating
an applet tag.

R=chrishenry
DELTA=21  (16 added, 1 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4374


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1656 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Automated g4 rollback

*** Reason for rollback ***

Causes right click menu issues in Webkit.

*** Original change description ***

Load trogedit iframe in standards mode except for IE.

R=akatkova,arv
DELTA=18  (2 added, 6 deleted, 10 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4375


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1657 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

A patch of Nick's CL.  Fixes getOffsetStart for elements with a fixed position, and makes closure draggers use offsetStart rather than offsetLeft so they work correctly in RTL.

R=ssaviano
DELTA=114  (98 added, 0 deleted, 16 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4376


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1658 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Make NativeMessageTransport use goog.Timer, which will call clearTimeout when
it is disposed.

R=ssaviano,dbk
DELTA=36  (31 added, 1 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4377


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1659 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Add RTL menu item styles to Closure (every product that uses it currently has to do ugly explicit overrides for this) and add RTL support to goog.ui.ComboBox so that it right-aligns the menu (plus demo).

R=chrishenry
DELTA=174  (110 added, 39 deleted, 25 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4380


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1660 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Introduces goog.labs.structs.Multimap, which is a map that allows
storing multiple keys that are equal to each other.

R=arv
DELTA=649  (624 added, 19 deleted, 6 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4382


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1661 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Fix external issue.  See that *.css makes it outside.
http://code.google.com/p/closure-library/issues/detail?id=436

Fixes issue 436.

R=johnlenz,chrishenry
DELTA=3  (1 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4383


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1662 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

First implementation of 'goog.labs.async.wait'

R=nnaze
DELTA=366  (311 added, 9 deleted, 46 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4384


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1663 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Fixed initial positioning logic in submenu so it works correctly in RTL.

R=ssaviano
DELTA=6  (5 added, 1 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4385


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1664 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Fixes a bug caused when AsyncTestCase is used with the MockClock.

The AsyncTestCase never actually cleared each step timeout when
the MockClock was installed, because the MockClock replaces the
global clearTimeout function. Make a protected clearTimeout to
correspond with the protected setTimeout (and discover some
exciting Chrome behaviors along the way.)

R=agrieve
DELTA=35  (29 added, 0 deleted, 6 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4386


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1665 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Automated g4 rollback

*** Reason for rollback ***

Uncovered an instance where a test is overwriting
window.clearTimeout in several tests, but never restoring it.

*** Original change description ***

Fixes a bug caused when AsyncTestCase is used with the MockClock.

The AsyncTestCase never actually cleared each step timeout when
the MockClock was installed, because the MockClock replaces the
global clearTimeout function. Make a protected clearTimeout to
correspond with the protected setTimeout (and discover some
exciting Chrome behaviors along the wa

... description truncated by g4 rollback ...

R=robincole
DELTA=35  (0 added, 29 deleted, 6 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4387


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1666 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Automated g4 rollback

*** Reason for rollback ***

Claimed to be causing issues wrt Blogger tests
Let's rollback and see if it does indeed helps.
If it doesn't. I will roll forward before midnight today

*** Original change description ***

Introduces goog.labs.structs.Multimap, which is a map that allows
storing multiple keys that are equal to each other.

R=chrishenry,arv
DELTA=649  (19 added, 624 deleted, 6 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4389


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1667 0b95b8e8-c90f-11de-9d4f-f947ee5921c8