Commit Graph

3913 Commits

Author SHA1 Message Date
Jacob Richman 618f46da9c Roll webkit to version that elmininates snapshot generation from the vm for JS interop now that the VM allows allows patching of classes after finalization.
BUG=

Review URL: https://codereview.chromium.org/1848443006 .
2016-04-01 09:54:45 -07:00
Alan Knight 0f5c249f22 Fix webgl methods, properly this time
BUG=

Review URL: https://codereview.chromium.org/1846803002 .
2016-03-31 09:45:32 -07:00
Jacob Richman 3cb280c5e1 Fast path Location.hash as some apps call it 10000+ times a frame.
BUG=

Review URL: https://codereview.chromium.org/1847543003 .
2016-03-31 09:04:10 -07:00
Harry Terkelsen a9a0ce0c1c Stop retrying failing tests on Safari
BUG=https://github.com/dart-lang/sdk/issues/22519
R=ahe@google.com

Review URL: https://codereview.chromium.org/1844933002 .
2016-03-30 10:27:13 -07:00
Terry Lucas c330f82267 Updated to grab latest WebKit changes
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1838353005 .
2016-03-30 07:48:57 -07:00
Jacob Richman c65854d2e4 Optimize dartium dart:html bindings so real world application performance is acceptable. Improves dart:html performance by 2X-30X for microbenchmarks. Real world improvement is typically 2X-3X.
BUG=

Review URL: https://codereview.chromium.org/1832713002 .
2016-03-29 18:32:52 -07:00
Harry Terkelsen 153365a415 roll to newest web_components
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1842943002 .
2016-03-29 14:42:59 -07:00
Zachary Anderson 573d620eef Fix Dartium build
BUG=

Review URL: https://codereview.chromium.org/1844463003 .
2016-03-29 12:56:54 -07:00
Terry Lucas ecca7dc4e5 Update to correct SHA1
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1835883003 .
2016-03-28 12:45:21 -07:00
Terry Lucas 7d92bf3b52 Pullin new WebKit change
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1835973002 .
2016-03-28 10:37:29 -07:00
Terry Lucas 10e70db01c Speed up interop patch file creation.
Made a number of optimizations to reduce load time from 8 secs to 1 sec.  The changes involved:

- No longer dynamically generate patch files on startup for dart:* libraries (created from WebKits IDL e.g., html, svg, web_audio, web_gl, indexed_db, web_sql).  Instead create a cache of patch files.

- Comparison of @JS refelctedType not by library and symbol name comparison.

- In addition, a VM mirror change see CL https://codereview.chromium.org/1834673003/ gives us the remaining speedup.

This cache of interop patch files, for Dartium only, requires a manual re-gen after go.sh run is:

> cd tools/dom/scripts
> run go.sh

The steps after (for Dartium) are:

1.  build Dartium
2.  cd tools/dartium
3.  run generate_patches.sh
4.  build Dartium

R=jacobr@google.com, alanknight@google.com

Review URL: https://codereview.chromium.org/1833373002 .
2016-03-28 08:20:13 -07:00
Alan Knight ab55f22334 Fix WebGL tex[Sub]Image2D/buffer[Sub]Data, restored Typed/Untyped aliases
BUG=

Review URL: https://codereview.chromium.org/1831033002 .
2016-03-24 10:20:11 -07:00
Zachary Anderson a87fca4d0a Remove unused gyp variable
Review URL: https://codereview.chromium.org/1825233002 .
2016-03-22 14:31:54 -07:00
Zachary Anderson 27f5c1f81c Don't compile in root certs on Android.
This works by using SSL_CTX_load_verify_locations in
SecurityContext._trustBuiltinRoots() to specify
/system/etc/security/cacerts as the certificate directory.

This saves about 240KB from a stripped ProductAndroidARM build.

This has the drawback that SSL_do_handshake will synchronously
hit the filesystem looking for root certs during its trust evaluation.
We call SSL_do_handshake directly from the Dart thread so that Dart
code can be invoked from the "bad certificate" callback called by
SSL_do_handshake. If there was no need to support this callback,
it would be easier to move the handshake to the IOService thread, and
thus remove the compiled-in certs without the need for blocking IO
on the Dart thread.

R=whesse@google.com

Review URL: https://codereview.chromium.org/1811583003 .
2016-03-22 09:30:04 -07:00
Zach Anderson 893a60df2f Bump mac_sdk to 10.8
BUG=

Review URL: https://codereview.chromium.org/1820903004 .
2016-03-21 19:47:04 -07:00
Ivan Posva b41ffe0bb2 - Switch default Mac deployment target to 10.7.
BUG=

Review URL: https://codereview.chromium.org/1819813004 .
2016-03-21 18:00:27 -07:00
Terry Lucas 14effd2813 Updated to latest WebKit change
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1817073002 .
2016-03-21 07:16:42 -07:00
Siva Annamalai 520ba45d16 Use the correct binary name for testing product mode.
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1808853006 .
2016-03-18 13:59:34 -07:00
Paul Berry b73e02db49 Add dev_compiler to the SDK build process.
Also update DEPS to bring the latest dev_compiler into the SDK.

This is a second attempt at
https://codereview.chromium.org/1777173003, with the following fixes:

- Added .bat files for Windows.

- Added missing dependency: create_sdk_internal depends on
  dartdevc.dart.snapshot.

- Used pkg_files.stamp to note the source code dependency for
  dartdevc, so that we don't go beyond xcodebuild's input length
  limit.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org/1818543002 .
2016-03-18 13:09:11 -07:00
Alan Knight 4fe809c211 Add @creates annotation to VttCue members
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1811213002 .
2016-03-18 07:35:35 -07:00
Paul Berry ceec063f27 Revert "Add dev_compiler to the SDK build process."
This broke the Mac and Windows builds, for reasons I'm still
investigating.

This reverts commit 2ddf244819.

TBR=jmesserly@google.com

Review URL: https://codereview.chromium.org/1813983003 .
2016-03-17 13:46:51 -07:00
Terry Lucas 94c8b1fd7b Update to latest WebKit change to call Dart_Initialize
TBR=asiva@google.com

Review URL: https://codereview.chromium.org/1811113002 .
2016-03-17 13:43:47 -07:00
Paul Berry 2ddf244819 Add dev_compiler to the SDK build process.
Also update DEPS to bring the latest dev_compiler into the SDK.

R=jmesserly@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/1777173003 .
2016-03-17 11:14:35 -07:00
Terry Lucas 0739f50b96 Updated DEPS for Chromium fix
TBR=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1811843002 .
2016-03-16 19:15:57 -07:00
Terry Lucas 96d7fbaa1b Reverted experiment for ot test
R=whesse@google.com

Review URL: https://codereview.chromium.org/1806953002 .
2016-03-16 10:09:34 -07:00
Terry Lucas cd24f61a19 Test now passes and try test for timeouts on DRTs Mac Full BOT
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1805383002 .
2016-03-16 06:59:21 -07:00
Terry Lucas 00a0cc905d Test failure in DRT not Dartium and revert timeout multiplier
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1805793002 .
2016-03-15 19:01:18 -07:00
Terry Lucas d46512329d Temporarily double timeout to test Mac fullbots timing out with DRT
R=jacobr@google.com, alanknight@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/1802383003 .
2016-03-15 13:42:12 -07:00
Terry Lucas a3ec71e091 Updated to new Chromium fix
TBR=johnmccutchan@google.com,jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1795333002 .
2016-03-13 16:38:41 -07:00
Terry Lucas fcced81a76 Update for 45.0.2454.104 released Chrome 45
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1791383002 .
2016-03-13 15:59:02 -07:00
Alan Knight 051451d7e6 Trying to fix SQLResultSetRowList's subscript operator to do type conversion
BUG=

Review URL: https://codereview.chromium.org/1779023002 .
2016-03-09 14:02:30 -08:00
William Hesse 00e6b92e20 Change bleeding-edge version to 1.16.0, merge stable and bleeding-edge changelog.
BUG=
R=kevmoo@google.com, mit@google.com

Review URL: https://codereview.chromium.org/1781703002 .
2016-03-09 19:14:31 +01:00
Alan Knight 1f9395fb30 Add back CssCharsetRule for Safari support
BUG=

Review URL: https://codereview.chromium.org/1777683002 .
2016-03-08 14:40:57 -08:00
Ryan Macnak a0e3bfdd68 Qualify the precompiled shared library name with the snapshot directory instead of using LD_LIBRARY_PATH.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1771423002 .
2016-03-08 12:01:53 -08:00
Terry Lucas af562187bc Chrome moved clipboardData from Event to ClipboardEvent for security clipboard can only be accessed during a onCut/onCopy/onPaste event.
The polyfill class KeyEvent can no longer access clipboardData without listening for the cut, copy or paste event.

TBR=alanknight@google.com,sigmund@google.com

Review URL: https://codereview.chromium.org/1775923002 .
2016-03-08 05:24:02 -08:00
Terry Lucas 5d77c0e83c More UIEvent attribute movement in 45 roll.
TBR=alanknight@google.com,sigmund@google.com

Review URL: https://codereview.chromium.org/1771113002 .
2016-03-07 16:12:28 -08:00
Terry Lucas 5c3728b067 Fix for KeyEvent,KeyboardEvent and UIEvent changes in roll 45
TBR=jacobr@google.com,alanknight@google.com,sigmund@google.com

Review URL: https://codereview.chromium.org/1754523006 .
2016-03-07 07:51:50 -08:00
Terry Lucas a552c24089 Match version of idl_parser and WebCore so go.sh can be run from a Dart only enlistment.
Needed to pull in the tools/idl_parser code for a Dart enlistment populated during a gclient sync.

Added .gitingore to not ignore tools/idl_parse

TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1768853002 .
2016-03-06 15:10:36 -08:00
Terry Lucas c510dc9831 Fixed typedef used globally in IDLs
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1763063003 .
2016-03-05 07:34:51 -08:00
Alan Knight 83e2e2dbb2 Change scripts to avoid generating things that bloat the compiled code
BUG=

Review URL: https://codereview.chromium.org/1763213002 .
2016-03-04 15:08:48 -08:00
Kasper Lund 96be0c49fb Revert "Change scripts to avoid generating things that bloat the compiled code"
This reverts commit 4f3abbd5ef.
2016-03-04 10:06:07 +01:00
Alan Knight 4f3abbd5ef Change scripts to avoid generating things that bloat the compiled code
BUG=

Review URL: https://codereview.chromium.org/1759303003 .
2016-03-03 17:39:50 -08:00
Ryan Macnak 3b16570e07 Also update the test harness for unification of dart_no_snapshot into dart_bootstrap.
Cf. d61ebd4ed2

R=iposva@google.com

Review URL: https://codereview.chromium.org/1760263003 .
2016-03-03 16:47:28 -08:00
Zachary Anderson 7a2512540a Build for Android x64
This change adds standalone VM build targets for x64 Android.

Build with, e.g.:

./tools/build.py -m debug -a x64 --os=android runtime

R=iposva@google.com

Review URL: https://codereview.chromium.org/1762043002 .
2016-03-03 14:04:52 -08:00
Jacob Richman c66635cc9f Basline of dart2js w/ regen'd sdk/libs
BUG=

Review URL: https://codereview.chromium.org/1762063002 .
2016-03-03 13:42:10 -08:00
Terry Lucas 4f3b4097fd Fixed dart2js compilation problem
TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1762763002 .
2016-03-03 11:08:24 -08:00
Terry Lucas 3f0bb621a8 Revert "Changes to tests and status file for the 45 roll w/ regenderated sdk/libs"
This reverts commit 8d12df1e77.

TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1763753002 .
2016-03-03 09:41:01 -08:00
Terry Lucas 23d5f671ae Revert "Fixed dart2js compilation and udpate obsolete analyzer for co19"
This reverts commit 439b59b1fc.

TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1753903005 .
2016-03-03 09:37:53 -08:00
Terry Lucas 439b59b1fc Fixed dart2js compilation and udpate obsolete analyzer for co19
TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1757293002 .
2016-03-03 06:23:31 -08:00
Terry Lucas 8d12df1e77 Changes to tests and status file for the 45 roll w/ regenderated sdk/libs
TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1746623002 .
2016-03-03 05:33:46 -08:00