Fixes RichTextArea.Formatter.insertHTML for IE permutation

The regression was introduced in
I6ed65ede38b06ce42f51be9613a129a938f0bc048

Bug: issue 4265
Change-Id: I33c1a73c396e75cc91b51d762f523b618ae057ab
Synthesizes a EntryPoint cast and general onModuleLoad.

If users rebound EntryPointFoo to EntryPointBar, and Bar did not extend
Foo, the most recent EntryMethodHolder.init() synthetisation would fail.
By casting to EntryPoint and dispatching to the general onModuleLoad()
function this synthetisation is now closer to how JDT would normally
compile GWT.<EntryPoint>create(EntryPointFoo.class).onModuleLoad()

Change-Id: Ifc6f0e1d0669b483a2930b81b458e9e10f0e5389
Add support for FlowPanels to have custom tags.

This is useful for translating HTML code to UiBinder, where a "panel"
needs to have, per the mockup's HTML/CSS, an "li" tag or "p" tag.

Previously this required using HTMLPanel, but HTMLPanel doesn't
implement InsertPanel, which has a useful add(Widget, index) method.

Change-Id: Ic43bba2c115c7b531b75ed9f7a5d81371e231893
Fixing CLDR projects eclipse configuration.

Update explanations in README-CLDR file.
Fix eclipse classpath to use downloaded latest CLDR libraries.
Fix eclipse launcher for GenerateGwtCldrData script.

Change-Id: Ibc5d3f964424a2adfacdbd6acd84d3b0d730b51f
Fix JsStackEmulator for constructor and function calls

Evaluating the arguments to a constructor or function call
may change the location to a different file due to inlining.
We need to set the location just before call, or the wrong
location will be on the stack when creating a stack trace.

(In particular, if this happens when evaluating the argument
to an exception's constructor, the function with the "throw"
call won't be on the stack.)

Also fixed the location for chained method calls.

Change-Id: I84106acff5c089fc75e0cf99516f15a14a54886b
Review-Link: https://gwt-review.googlesource.com/#/c/6733/
Remove deprecated syntax in JsniChecker.

Change-Id: I54b785af1d068532ea47d7b0bfdc613cef772ca6
Move non-GWTTestCase tests to CoreJreSuite

Change-Id: Iab722a568823c2f3e790e7e7df67d46999a88ef2
Changes StacktraceCreator to drop all infrastructure frames.

Instead of relying on magic numbers, the new implementation uses
Throwable.fillInStackTrace as an anchor to drop infrastructure
related frames.

Change-Id: I60edf33f9803321178cf4ac76414db38a076c0e5
Review-Link: https://gwt-review.googlesource.com/#/c/6801/
Refactor JSNI name resolution.

This refactor accomplishes:

(1) Resolution from JSNI references is centralized at
    JsniReferenceResolver (formerly JsniChecker).
    Removed wildcard dispatch code from DevMode, which was
    computing the dispatch in a slighly different manner that
    JsniRefernceResolver. All JSNI references arrive fully
    resolved to DevMode.

(2) Tuned the semantics for handling access modifiers on
    JSNI method references. Only public members from super
    classes are visible (private, protected and package
    protected are not). To refer to a non public member,
    it needs to be qualified by the declaring class.

Change-Id: I6e6814af160baf9910fc2658a3a56d0d6a4ddcb0
Fixes StackTraceCreator as Throwable.fillInStackTrace may get pruned

Change-Id: I99df5ee289cf293ba83c5a7189292ce5d10f475b
Fix JSNI reference in JsJsonNumber.

Jsni method matching logic in GWT is being made more strict to better
handle wildcard matches.

A JSNI reference <class>::<method>(<signature>) will match methods in
<class> regardless of access modifiers, but only public methods on supers.
Also if more than one match is found an error is reported.

In this case an attempt to refer to a private method on JsJsonValue
through its subclass JsJsonString.

Change-Id: Ic12ee2e72a54b372f895816eddec9623d14c8790
create BUILD file in gwt/svn/trunk/user

Part 1: move globs, java libraries, and AugmentedJars.
(These are the minimum changes needed so that everything
still builds without blaze warnings.)

Change-Id: I7bf06da1e2c310143cbe5503d64589c12cbc4cbd
Revert "create BUILD file in gwt/svn/trunk/user"

This reverts commit ccff175b5e89df7cdc0e9059f088e00b97857d32.

Change-Id: Icccfc678023f9e7232570f82e10028ed8b4ccb9e
This breaks certain TestSuites in DevMode, like CellSuite.

Revert "Refactor JSNI name resolution."

This reverts commit 126e047dd795558dddc5400d6d4732fba85988f6.

Change-Id: Ic9aea3b6a6196cfa2d8cb8fefa3488a340433e16
Use full import resolution in JSNI method references and refactoring.

(1) Support full Java import semantics for jsni method references.
    Full import semantics for field accesses will be provided
    in a follow up patch.
(2) Improve error reporting, e.g. when jsni method references
    are ambiguous report the first two conflicting methods.
(3) Resolution from JSNI references is centralized at
    JsniReferenceResolver (formerly JsniChecker).
    Removed wildcard dispatch code from DevMode, which was
    computing the dispatch in a slighly different manner that
    JsniRefernceResolver. All JSNI references arrive fully
    resolved to DevMode.
(4) Other minor renames, very small refactorings.

(includes the changes in rolledback commit
126e047dd795558dddc5400d6d4732fba85988f6)

Change-Id: I525c1e74cb49a9639dae18cac19a7b7dd132419a
Replace custom loops with Node.removeAllChildren()

Change-Id: I776501d1807be3953955b95174134f5219e7d435
Review-Link: https://gwt-review.googlesource.com/#/c/6800/
Fix incorrect method dispatch affecting package private methods.

This patch fixes 2 different errors regarding dipatch of package
private methods.

(1) Each package private method chain needs a different polyname
    to reflect the fact that some methods do not override other
    virtual method with the same name.
    Also when a class augments the visibility of a package private
    method it will have two names referring to the same method
    (other solutions might be possible with global information).
(2) MethodCallTightener used to recompute overrides but does not
    take package private access into account, only the method
    signature. That was not correct and has been fixed here,
    by making sure that then tightened method is an actual
    override.

Bug: issue 8654.
Change-Id: I0828a9baa7f137ac0bc1a5e49ae0f1fb8820fdf7
Working version of JsInterop Phase 1.

Fully implements @JsInterface with the following features:

1) instanceof and cast checks for native prototypes
2) Java subclassing of native JS types with
   @PrototypeForJsInterface
3) Support for @JsProperty
4) Support for @JSExport
5) Annotation processor support, including 'constructor' generation
6) JSORestrictionsChecker diagnostics for common mistakes

Change-Id: I12b8d1eb44665ff89919981baad206ca3ae57323
Emit a warning when a JSNI method reference is assigned to a field.

A common error when passing method as callbacks in JSNI occurs for
example in:

  $wnd.aCallback = o.@Class:callback();

where a qualified method reference is set into a field of a different
object without capturing the qualifier. A later call

  $wnd.aCallback();

will bind $wnd to 'this' and the callback; which is probably not desired.

In order to silence this warning the user can explicitly assign the
qualified method reference to a variable as follows.

  var callback =  o.@Class:callback();
  $wnd.aCallback = callback;

Change-Id: I06ae1f9eddc225d3507d556b5fec8faccd7e65e6
Fix code duplication in JsInterop patch.

The ComputeInstantiatedJsoTypes pass was not correctly
extracted from ImplementCastsAndTypeChecks.

Change-Id: I3041bbdfac951f3bf993d7c4e1288d17d49cc95f