Update fireListener to unlisten to a callOnce listener before
calling a handler.  If the listener dispatches the same event,
it can cause an infinite loop.

R=nicksantos
DELTA=18  (16 added, 1 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4684


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

Add a new API that allows registration of "late" callbacks - normal initialization callbacks are registered as early module callbacks, these callbacks map to normal module callbacks.

I ran the idea by Steve Saviano and he said it was fine (although he's worried about eventually winding up with "addEvenLaterCallback") but he said I should ask you (Nick) if you were okay with it.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4685


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

Strip comments before scanning for require/provide statements.

Fixes issue 100.

R=chrishenry
DELTA=58  (55 added, 2 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4686


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

Automated g4 rollback

*** Reason for rollback ***

Breaking an analytics test.

*** Original change description ***

Update fireListener to unlisten to a callOnce listener before
calling a handler.  If the listener dispatches the same event,
it can cause an infinite loop.


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4687


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

Fix one-sided handshakes, which were broken.  The ONE_SIDED_HANDSHAKE config param is now true for both participating frames, and asymetric behavior controlled by the role.

R=nicksantos
DELTA=28  (12 added, 7 deleted, 9 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4688


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

Adds a resize event to the closure text area widget.  This is needed for the new chat UI to update some scrolling information based on when the text widget resizes itself.

R=gboyer
DELTA=27  (26 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4689


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

Automated g4 rollback

*** Reason for rollback ***

Timing issue is fixed

*** Original change description ***

Automated g4 rollback

*** Reason for rollback ***

Broke some tests, there seems to be an unaddressed timing issue somewhere.  Rolling back pending investigation.

*** Original change description ***

Have the XPC cross page channel delay the performance of the connect() operation until after any peer iframe created from

... description truncated by g4 rollback ...

R=nicksantos
DELTA=91  (57 added, 23 deleted, 11 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4690


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

Reposition the goog.ui.ComboBox menu whenever it might be shown.

This fixes a bug where, if the menu is anchored above the input box
(such as when the input box is at the bottom of the page),
subsequent filtering of the menu would cause the bottom of the menu
to grow upwards instead of the top of the menu to grow downwards.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4691


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

Fix to goog.net.ImageLoader: If you add 1 image, then call start(), then add 1 more image immediately and call start() again, the 1st image previously would be loaded a 2nd time.  This would result in two LOAD events for that image.

This CL fixes that by switching around the images_ member variable: images_ now just contains images that haven't been started yet.  Event listener clean-up is now done as each image finishes loading (or erroring).

R=nnaze
DELTA=287  (224 added, 39 deleted, 24 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4692


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

Implemented goog.date.Interval.prototype.isZero

R=ponny
DELTA=20  (20 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4693


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