goog.structs.SimplePool: Add @template parameters for better typechecking.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57241493
Automated g4 rollback of changelist 56968838.

*** Reason for rollback ***

Pushing it forward again.

*** Original change description ***

Automated g4 rollback of changelist 56965149.

*** Reason for rollback ***

*** Original change description ***

Move all non-method properties of goog.events.Event from prototype to instance.

***

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57241833
Provides goog.labs.Thenable as a more strongly typed interface for Thenables in the closure world and implements this interface on goog.async.Deferred.

Note that these goog.labs.Thenables produce goog.labs.Promises. Also the arguments to .then must return promises if they want to delay the next then. We could change this by adding a method to the interface that makes it easily identifiable via duck typing, such as "thisIsAThenable".
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57267665
Automated g4 rollback of changelist 57267665.

*** Reason for rollback ***

The transitive dep to goog.labs.Promise resulted in compilation errors in projects without TypeError in their externs.

*** Original change description ***

Provides goog.labs.Thenable as a more strongly typed interface for Thenables in the closure world and implements this interface on goog.async.Deferred.

Note that these goog.labs.Thenables produce goog.labs.Promises. Also the arguments to .then must return promises if they want to delay the next then. We could change this by adding a method to the interface that makes it easily identifiable via duck typing, such as "thisIsAThenable".

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57268394
Automated g4 rollback of changelist 57268394.

*** Reason for rollback ***

Clean roll forward after extern change.

*** Original change description ***

Automated g4 rollback of changelist 57267665.

*** Reason for rollback ***

The transitive dep to goog.labs.Promise resulted in compilation errors in projects without TypeError in their externs.

*** Original change description ***

Provides goog.labs.Thenable as a more strongly typed interface for Thenables in the closure world and implements this interface on goog.async.Deferred.

Note that these goog.labs.Thenables produce goog.labs.Promises. Also the arguments to .then must return promises i...

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57321825
When a module id can't be found, throw actionable errors that includes the module id.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57325619
Adds goog.soy.Renderer.prototype.renderSafeHtml.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57339835
I'd like to change --- to use this type for sanitization, to remove the existing code duplication. As a result:

- Add documentation to the sanitization regex. (copied from --)

- Change innocuous URL string to about:invalid, which seems preferable to data:image. (copied from --)

- Do not throw on goog.html.SafeUrl.sanitize() if assertions are enabled. It's legitimate for an application to pass untrusted strings to this method, hence asserting the url is safe would make life harder for them.

- Document the returned innocuous string and export it as a const field. This lets callers know that a string was sanitized, useful if they want to log or return a different innocuous string.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57350799
Refactors goog.ui.Dialog to use goog.html.SafeHtml to represent HTML markup,
and to expose a SafeHtml-type-safe API.  Unless global @defines are set (see
fileoverview of goog.html.legacyconversions), existing code using
goog.ui.Dialog's potentially unsafe setContent method will continue to function
unchanged.

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57376454
Add textarea workaround to DragListGroup.

Previously, dragging an element in a DragListGroup that contained a textarea did not show the current value while dragging, but rather showed the value the textarea had when it was created.  This is because, unlike input elements (whose value properties are copied into clones), textareas only clone their attributes and innerHTML.

This CL corrects the issue by looping through all the textareas in the original drag item and copies their values into the corresponding textareas in the cloned proxy element.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57382730
Add goog.math.Range#includePoint and #includeRange, which calculate the bounding range in-place.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57403939
Assert that child is not null in addChildAt for goog.ui.Component. While ideally we could just add a ! here so the compiler could enforce non-null children, that would break a lot of current builds. Instead we are just throwing in an assert so that it fails quickly and with a message that makes sense.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57566754
Add goog.math.Range#getLength.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57587098
Templatize goog.array.peek
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57587947
Update sampleProperties object to not use quoted strings which don't work when code is compiled.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57589312
Fix the datetimeformat.js behaviour for multi-character year patterns ('yy').
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57593673
goog.structs.Trie: Add @template parameters for better typechecking.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57618721
goog.structs.PriorityQueue: Add @template parameters for better typechecking.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57620204
Fix problem in Firefox where pressing spacebar activates the keyboard shortcut,
AS WELL AS the last button that was clicked.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57632215
goog.array: Templatize indexOf for better typechecking.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57639931