Clarifies name type in Library read/write code.

Most names were source names but some were short names.

Change-Id: Ide8761a012c8d4edc2903c9800a9148192248d62
Add @GwtIncompatible to generated DeobfuscatorBuilders

Bug: issue 8565
Change-Id: I0fcedcdbefc0dc7bb794d05daa76e7b8c2f72e6d
Quick fix for gwt26_27userApi.conf

Change-Id: I2220c2a501947c93ff8e0fed8c033cb4965459a3
Removes the unused retry count parameter from GwtRunner

Change-Id: I25377751a226e3426d5bc952247efbb50e162f69
Removes Opera from c.g.gwt.xml.*

Change-Id: I21c8c2a699810cc1ba87e53d5cb5e68f3b2012cc
Review-Link: https://gwt-review.googlesource.com/#/c/6231/
Fixes problems with Menubar where menu item can be left highlighted

Bug: issue 374
Change-Id: I414847954cee6f76aeb740bf7930b743741c275c
Removes deprecated DefaultHandlerRegistration

Change-Id: Iedad69b69d5b903619040e34558942ffa558a639
NPE in UnusedImportsRemover when processing files without definitions.

NPE when a source files contains a package line and at least one
import line but not class nor interface definitions (i.e. empty).

Bug: issue 8566.
Change-Id: I7e1df866af925e8762c4005bacaea85f7d70167b
Fixes unnecessary compilation of permutations in GWTTestCase

The existing mechanism to restrict permutation on GWTTestCase doesn't
fully work and permutation restriction was only effective if there are
multiple test modules running in the same process and only for the
proceeding modules; not the original module.
This means in most cases this, we have been missing the opportunity
to reduce the compilation time in GWTTestCase.

In the patch, I did a refactoring so that RunStyle itself can determine
the active user agents so that we can actually restrict the permutation
for all test cases. The preliminary result are looking pretty good and
I have seen improvements like 2x in some cases.

Although this is quite exciting, keep in mind only tests running in web
mode will immediately benefit from these improvements. However it will
be even more useful as we drop support for the dev-mode.

Change-Id: Ic9e142de9adccf8f9ba106b953dc995de80b31c8
Review-Link: https://gwt-review.googlesource.com/#/c/6362/
Fix TypeError in IE8 due to inconsistencies in valueOf.

Apparently some objects in IE8 lack .valueOf. And also
.valueOf is unsafe as any JavaScriptObject might override
it.

Current choice is supported by the experiment at
http://jsperf.com/isastring

Change-Id: I07a66d1808c3ebbf90ce437f7a972f7c0b3c3402
Small improvement to String.trim

Benchmark comparison for this change: 
http://jsperf.com/java-lang-string-trim

Change-Id: Id75da0f2382b508ee76e84afea81ff532197f369
Two small fixes in JsoDevirtualizer.

Devirtualizer was failing to devirtualize calls in rare circumstances
due to direct comparison to typeJavaLangObject without consideration
of JNonNullType.

ReplaceGetClassOverrides was failing to replace Object.getClass() by
Object.__clazz. This second error was introduced by the recent
refactoring of cast handling patch.

Change-Id: I73b434fadef120f9dded2c0047576ea7754c23c6
Slightly optimize System.nativeArraycopy for the common case

Only make a temporary copy of the input when it's the same as the output.
Performance: http://jsperf.com/java-system-arraycopy/2

Bug: issue 8239
Change-Id: I68d8ea36b11545711a657d842d845d4f72bbbd2f
Assign integer type ids by frequency for code size.

Change-Id: Icba5301fd32bb94e94f49f5109f378218f51f4ea
Fixes GWT-SDK compatibility problems under certain locales

(i.e. Infamus Turkish locale bug:
http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug)

Bug: issue 5565, issue 7893
Change-Id: I9a033092c05bbc302f77add966603fa500366bb4
Review-Link: https://gwt-review.googlesource.com/#/c/6395/
Revert "Slightly optimize System.nativeArraycopy for the common case"

This reverts commit 40ce532013b5510bb541e567132678125bd34acb.

Breaks tests due to typo. Will send fix in comment on the original patch.

Change-Id: I04a2b676d23666732203542434c2c97ea380ac4c
Default softPermutationId to 0.

This fixes soft rebinding for permutation 0, where previously
module.__softPermutationId would become undefined (because permutation
0's strong name does not have a :0 suffix).

This resulted in the runtime "switch (permutationId)" logic always
picking the default binding (which may/may not be the one for
permutation 0).

Bug: issue 8575
Change-Id: I19a6f9650f5414d98905c0e45cd3a78628b05dd2
Reduce code size for array instance creation.

Change-Id: Ieae890762f6173909b290dab820cc024291fdc00
Use named function expressions when namespaces are on

This is so that we get the same stack traces as when
namespaces are off.

I verified that server-side stack traces are correct in
Chrome and Firefox. Also, StackTraceCreatorTest now passes
when using TestGal/Super Dev Mode/Firefox 27.

Change-Id: Id37e0095d90935b11e45b495d8f2ae18eaffafaf
Review-Link: https://gwt-review.googlesource.com/#/c/6450/
Adds a lazy LibraryTypeOracle.

Adds type source name indexing of nested classes to Libraries and
LibraryGroups so that they can honor such CompilationUnit lookups
coming from TypeOracles.

Added a guard to make sure that only valid compilation units are added
to zip libraries, since any caller that lazily reads out individual
CompilationUnits at some later time might not have enough context to do
validation.

Taught CompilationStateBuilder to instantiate the right
TypeOracle/LibraryTypeOracle for the current monolithic or
non-monolithic compile mode.

Turned the Resolver interface's getTypesByInternalName() function into a
findByInternalName(String) function since lookups are no longer always
as simple as a hash lookup. findByInternalName becomes a lazy load
point in LibraryTypeOracle.

Change-Id: I03867308682f70cb811219b01f42b7e0f6e8963b
Review-Link: https://gwt-review.googlesource.com/#/c/6461/