Changes error messaging in devmode.js.

This change makes sure we show the glass pane in dev mode even the error
function is set via gwt:onLoadErrorFn.

If developer has not whitelisted host url, then GWTTestCase will fail when
executed in manual mode using dev mode. However in Chrome it is not clear
why the test case fails. Only message is:
Failed to load module 'blah'. Please see log for details.

Of course there is no nothing in the logs and dev mode doesn't show the error in
glass pane as it would normally do because gwt:onLoadErrorFn is set in junit.html.

It is not an easy to fix it on junit side as the cause is not communicated back
to error handling function and I don't want to change the contract.

Change-Id: Iee4d0540d843b27623c7b6b9d3702df060a0acbf
Review-Link: https://gwt-review.googlesource.com/#/c/2481/

Review by: skybrian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11589 8db76d5a-ed1c-0410-87a9-c151d255dfc7
By default, disable Super Dev Mode on https pages.
This should make it safer to leave the Super Dev Mode hook on all the time
when the production server uses https.

New API: CrossSiteIframeLinker.getJsDevModeRedirectHookPermitted() can be
overridden to change the JavaScript expression that does the check.

See issue 7538.

Change-Id: Ic603c9e511a766cd4c89b15f7561a254070c6ac5
Review-Link: https://gwt-review.googlesource.com/#/c/2480/

Review by: mdempsky@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11590 8db76d5a-ed1c-0410-87a9-c151d255dfc7
add StringBuffer/Builder.reverse

fixes ISSUE 449

Change-Id: I342e7ed86c0e4efa90d09bdfe0d72c79db2654c5
Review-Link: https://gwt-review.googlesource.com/#/c/2431/

Review by: goktug@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11591 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Widget Iterator now throws NoSuchElementExceptions correctly.

Change-Id: I07fd1507226a185b94ae1e85b6eb0235ec370a9f
Review-Link: https://gwt-review.googlesource.com/#/c/2440/

Review by: goktug@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11592 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Upon selection in a SuggestBox's pop up, focus the text field

After selecting a value from a SuggestBox's suggestion list, the
suggestion list closes and focus snaps back to the body
element. However, users expect the focus to be in the corresponding
ValueBox. So upon the user selecting a value, we set the focus to the
ValueBox per default.

Fixes issue 8051.

Change-Id: I08ba1abf8432ef4ad65c0a6b57983067d66b0d9f
Review-Link: https://gwt-review.googlesource.com/#/c/2100/

Review by: goktug@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11593 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Remove one source of non determinism in MethodInliner.

The results of multiple calls to DeadCodeElimination on different nodes depend on
the ordering.

Change-Id: I31882b7cd7a0965643e15c3859042efc24cb0c6a
Review-Link: https://gwt-review.googlesource.com/#/c/2490/

Review by: skybrian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11594 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Fix non deterministic behaviour in TypeTightener.

JProgram.generalizeTypes(Collection<JType>) depends on the ordering of the
input collection. It was called with data obtained from HashSets.

Made all HashSets that could flow into the aforementioned function into
LinkedHashSet to have a deterministic iteration order.

Change-Id: I51f551dbf2d5362f710d4e1321f7b7bb35445608
Review-Link: https://gwt-review.googlesource.com/#/c/2530/

Review by: skybrian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11595 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Avoid creating anonymous inner classes with wildcard type parameters.

Under Java 7 wildcards can not be type parameters of superclasses in the extends clause
nor superinterfaces in the implementing clause. Anonymous inner classes can not have wildcards
in their type parameters.

Change-Id: Ifbcd6ecec455512a7da5eb473c6bf2e9f402f0ea
Review-Link: https://gwt-review.googlesource.com/#/c/2470/

Review by: goktug@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11596 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Add callbacks to Super Dev Mode to find out when a compile starts and finishes,
and an alternate main() that can be called after parsing options.

Change-Id: I2a27a07d2c8219d496613b1c1c88380c6dc3d032
Review-Link: https://gwt-review.googlesource.com/#/c/2540/


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11597 8db76d5a-ed1c-0410-87a9-c151d255dfc7
corrects typos

Review at http://gwt-code-reviews.appspot.com/1902803

Review by: rluble@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11598 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Fix postfix currency parsing in com.google.gwt.i18n.client.NumberFormat

The currency symbol character \u00a4 is used four times to denote the
simple currency symbol. But for formats with postfix currency sybmols
(e.g. for the locales German or French, simpleCurrencyPattern = "#,##0.00\u00A0\u00a4\u00a4\u00a4\u00a4") this currently results in
the currency code being inserted twice due to an incorrect bounds check
(it parses twice two currency symbol characters that are each replaced
by the currency code).

Change-Id: Ib85a29257bbfd6e12499a6c4a0123192d5d5acab
Review-Link: https://gwt-review.googlesource.com/#/c/2560/

Review by: goktug@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11599 8db76d5a-ed1c-0410-87a9-c151d255dfc7
reduces Java AST optimization time by bailing out when the rate of change slows to a crawl (only applies on optimization levels less than 9)

Change-Id: Iabf844d6a02f694e8d14103377f74f46e4e01915
Review-Link: https://gwt-review.googlesource.com/#/c/2580/

Review by: rluble@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11600 8db76d5a-ed1c-0410-87a9-c151d255dfc7
documents and tests the fact that the ArgProcessor allows duplicate args and honors the last one

Review at http://gwt-code-reviews.appspot.com/1901803


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11601 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Fixes a missing flow in DataflowOptimizer that might cause incorrect code.

The DataflowOptimizer was building an incorrect control flow graph in the case
that a catch block ended in a throw (in all paths) and a finally block was
also present. In this case the graph would be missing the flow from the end
of the catch block to the finally block.

An example snippet that would be optimized incorrectly is

Object o = null;
try {
if (b) throw new Exception();
k++;
} catch (Exception e) {
o = e;
throw e;
} finally {
if (o == null) {
j++;
}
}

where the optimizer would assume that o is always null at the finally block
and thus transform the code into:

Object o = null;
try {
if (b) throw new Exception();
k++;
} catch (Exception e) {
o = e;
throw e;
} finally {
j++;
}

Fixes issue 8115.

Change-Id: I608bd25157eb0c76ac771697ca70756751c10750
Review-Link: https://gwt-review.googlesource.com/#/c/2600/


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11602 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Set headers to prevent nocache.js from being cached by the browser.

Review by: skybrian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11603 8db76d5a-ed1c-0410-87a9-c151d255dfc7
preparation for turning off Dataflow Optimizer to speed up optimized compiles (at optimization levels less than 9)

* splits -XdisableAggressiveOptimization into five more granular flags
* marks -XdisableAggressiveOptimization deprecated
* cleans up inconsistency in existing Options and ArgHandler implementations

Change-Id: I2f33700566e97672b2e570fc5f75293bd6b2fb9f
Review-Link: https://gwt-review.googlesource.com/#/c/2610/

Review by: rluble@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11604 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Added missing compiler options to JUnitShell.

Added JUnitShellTest to JUnitSuite.

Change-Id: I5a4c3747bedaf5db84b0c7ffefdd83da64d060d7
Review-Link: https://gwt-review.googlesource.com/#/c/2611/


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11605 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Added missing JUnit tests to JUnitSuite.

Change-Id: I18b51bdfbe9141535a8e0f47306ea73791aec4b4
Review-Link: https://gwt-review.googlesource.com/#/c/2620/

Review by: goktug@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11606 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Adds new configuration property to specify minimum fragment size.

<set-configuration-property name="compiler.splitpoint.leftovermerge.size" value="size in bytes"/>

Any exclusive fragment smaller than this limit will be merged into the left overs fragment.

Change-Id: Ifcf035d88db70e890c739eab3997b85fa2e5677e
Review-Link: https://gwt-review.googlesource.com/#/c/2581/


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11607 8db76d5a-ed1c-0410-87a9-c151d255dfc7
Removes duplicate method dispatchers generated by GWTTestCase.

This also adds test cases to verify GWTTestCase correctly handles inheritance.

Change-Id: I52fe1d3ee60ec4c289e4055653125253c5639e76
Review-Link: https://gwt-review.googlesource.com/#/c/2590/

Review by: mdempsky@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11608 8db76d5a-ed1c-0410-87a9-c151d255dfc7