Removes legacy deprecated DOMImplSafari.

Change-Id: Ica3f5bed318a75df77a5e584f2816bda7d98856a
Removes deprecated unsafe Tree/TreeItem methods.

Change-Id: I04f98d0623d01aeda8e21a91b47ba356d8e939d1
Review-Link: https://gwt-review.googlesource.com/#/c/4761/
Missing BUILD file update for CompilerContext patch.

Change-Id: Iada2f4cf1923251b2f03c10cb80f5649602f5576
Make persitent unit cache files be different for each compiler version.

Persistent unit cache filenames now include a hash of the compiler
proper to avoid deserializing state that was serialized by a different
version of the compiler.

Fix for issue 7794.

Change-Id: I6b6d0d2cafd367806ff0ea2c86ae2895aeaa1e50
Use xdg-open or gnome-open as a default browser under Linux. That should
cause to open application in the browser user prefers.

Change-Id: Idb24c2ff38907f9a6dbea38349c23ec9054fe52c
Review-Link: https://gwt-review.googlesource.com/#/c/4824/
Update Array class to be faster

Change the way we make sure that JavaScript Arrays can be used as Java arrays.
Methods are not copied on an instance basis no more, instead they are copied
to the Array.prototype.

Change-Id: Ie57f01c7bee6a59b18b7752c832e0e83cd1fddf1
Provides access to DatePicker widget of the DatePickerCell for customizations.

Change-Id: Ia7d26ba631870ec1741aad83c5ecc1092298af02
Add -saveSource and -saveSourceOutput flags to the compiler.

When -saveSource is specified, GWT will write out all source
files referred to in a sourcemap. By default the files will be
saved in extras. The -saveSourceOutput flag may be used to save it
somewhere else.

Part of implementing issue 8378.

Change-Id: Idad75f9f75ae544d193cade41c64ba1d694c7f21
Review-Link: https://gwt-review.googlesource.com/#/c/4822/
Removes unnecessary JSNI from DOMImplStandard.

It looks the code is from the time before '==' was working propery for JSOs.

Change-Id: Ie3609a39b610aef454687876b03df6d842314bdb
Cleans up all usages of '__listener' and 'isMyListener'

Plus, gets rid of the boilerplate for dispatching events from DOM.

In addition to simplifying the code path, this also fixes two issues.
1. Ensures that all __listener access are multi-module safe.
2. Ensures that isMyListener can be only called from JSNI to prevent inlining.

For most apps no behavior change is expected.

Change-Id: Iebb11b83b9bd6c5318786ada2e91e49a53f00be0
Review-Link: https://gwt-review.googlesource.com/#/c/4852/
fix Issue #8359 AbstractHasData focus bug

Change-Id: I2b5385d17605edd8b1c3c391433115622e83be9e
Prevent setValue from accessing unneeded values

Updated widgets that fire ValueChange events to not read values from the
DOM if those values are not needed (the ValueChangeEvent is not actually
fired). This might prevent slow reads of values from the DOM.

fixes issue 4063

Change-Id: I51f02bd9e5253bf1cd050141f5ac8249e3012915
Cleans up unused code from DOMImplFirefox.

Particularly "dragexit" was not referenced from any code.

Change-Id: I66ce7a6a9c23a3b42d7e3e5854ad6c83a5b2fd2e
Add hook for validating Super Dev Mode's devModeUrl

This commit adds a "devModeUrlWhitelistRegexp" configuration variable
that can be used to limit what URLs Super Dev Mode will try to load
from.  This can be used to help alleviate the risk of XSS issues in
production applications by restricting devModeUrl to likely URLs
(e.g., localhost or *.example.com).

Change-Id: Id87dc7e84acaacbebda107d6ca8b72323aa28c67
Refactors JSNI based event dispatch to java.

This simplifies overall logic in event dispatching. Some highlights:

1. Removes extra $entry related processing by avoiding calling the already
$entry decorated functions internally.
2. dispatchDragEvent now uses GWT's preventDefault so it no longer needs to
be overridden by IE permutations.
3. Removed unnecessary code from dispatchCapturedEvent by fixing the duplicate
but improperly implemented code in DOM.previewEvent.

The rest should work the same.

Change-Id: I0b9f36d13a9b777fb5309d682d48f53aaab54506
Review-Link: https://gwt-review.googlesource.com/#/c/4853/
the existing GWT standard library is made up of hundreds
of modules with extensive and unknown circular references.
compilation of these modules succeeds as long as all of
the source taking part in the circular references is
loaded.

rather than rewrite and restructure vast amounts of
standard library code to eliminate circular references and
redefine modules. this patch introduces the concept of
module types (library or fileset) to make it possible to
trigger compilation on arbitrarily large or small module
sets. these module sets start at a "library" module and
extend through the full immediate subtree of "fileset"
modules. this design minimizes changes in existing xml
files while leaving the opportunity future module
dependency cleanup of arbitrary level of detail.

this is accomplished by introducing the concept of module
type and teaching ModuleDef/Loader/Schema to optionally
restrict information accumulation along these lines.

This behavior is under test but not yet used in any entry
points but will support the work of separate
(non-monolithic) compilation in future commits. Initially
source directory, public directory, entry point, and
rebind rule accumulation are changed. Future commits will
extend to properties and build resources.

Change-Id: I12a413217619fee302399ff6a5bd02701b72c55d
Review-Link: https://gwt-review.googlesource.com/#/c/4830/
adds fileset="true" to most modules in the standard library so
that User.gwt.xml can be compiled as one chunk during a separate
compilation build process.

Change-Id: I6015a80095948bc55b1313f229ae6b824bcb3782
Silently eat application/x-javascript as well

Change-Id: I042716dd50d0afa7eb023a39758030dec98d7b2f
Always include Array type in instantiated types

After the Array prototype change (68372eabcf0cbb24ee74f63a98b52a0eb7cffed7)
the Array type was not instanciated in user code anymore. The compiler pruned
the instance field queryId, thus breaking the setCheck method.
This patch includes Array as an always alive type.

Change-Id: I27a1ebebe439e0891f3c21f93bebe8c0c771097f
currently CompilePerms writes a PermutationResult instance to disk
by sticking it into a FileBackedObject instance. later during
Link the PermutationResult is retrieved from disk using that
same FileBackedObject instance. and this is the path way by which
compiled javascript source and its description (statement ranges)
reach the linker.

for separate compilation something similar needs to occur but the
reading and writing needs to be into and out of a library zip file.

this patch adds a ZipEntryBackedObject class and pulls out and uses
a common interface it shares with FileBackedObject. this patch does
not yet make use of the new class, that will come later in library
support and Compiler entry point change patches.

Change-Id: I26c674af85c184a9b467659997550fc0f51e8977
Review-Link: https://gwt-review.googlesource.com/#/c/4890/