Commit graph

12094 commits

Author SHA1 Message Date
William Hesse 654c573c14 Update co19 status file for Firefox 40 on windows
BUG=
TBR=kustermann@google.com

Review URL: https://codereview.chromium.org//1310073005 .
2015-08-26 19:48:33 +02:00
Asger Feldthaus 0216e21efc dart2js cps: Use 'this' instead of receiver-arg when possible.
This fixes a bug in how intercepted super calls were handled,
and enables the redundant receiver optimization.

BUG=
R=kmillikin@google.com

Review URL: https://codereview.chromium.org//1312393002 .
2015-08-26 16:06:41 +02:00
William Hesse 13bf8ff9f8 Breaking Change: merge BoringSSL branch into master
This replaces the NSS secure networking library from Mozilla
with the BoringSSL library from Google. This library, based
on OpenSSL, reads certificates from files in PEM format, rather
than storing certificates and keys in a SQLite database, the
way NSS does. There will be a blog post, changelog entries,
and other documentation of the breaking changes.

Review URL: https://codereview.chromium.org//1319703002 .
2015-08-26 14:42:12 +02:00
Stephen Adams 6f197ac7ff cps_ir can't handle resource_http_test
TBR=het@google.com

Review URL: https://codereview.chromium.org//1313883005 .
2015-08-25 18:03:39 -07:00
Harry Terkelsen 1bdd43c233 Disable resource_http_test in Dartium and DRT
TBR=iposva@google.com

Review URL: https://codereview.chromium.org//1315643003 .
2015-08-25 14:39:49 -07:00
Harry Terkelsen bc0deb66d7 dart2js: fetch http Resources
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1308143002 .
2015-08-25 10:46:27 -07:00
Johnni Winther 6b156993db Use Name instead of Selector in SemanticSendVisitor
BUG=
R=floitsch@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//1314573002.
2015-08-25 10:03:32 +02:00
Johnni Winther 4ed23aff42 Remove SendResolver.computeSendStructure.
BUG=
R=floitsch@google.com

Committed: 4013a9aae5

Reverted: 73a49a5ddb

Review URL: https://codereview.chromium.org//1306143002.
2015-08-25 09:32:26 +02:00
Johnni Winther 73a49a5ddb Revert "Remove SendResolver.computeSendStructure."
This reverts commit 4013a9aae5.

BUG=

Review URL: https://codereview.chromium.org//1311123002.
2015-08-24 13:46:28 +02:00
Johnni Winther 4013a9aae5 Remove SendResolver.computeSendStructure.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1306143002.
2015-08-24 11:31:23 +02:00
Karl Klose 6820b95c1c dart2js cps: update test expectations.
TBR=kmillikin@google.com

Review URL: https://codereview.chromium.org//1303333003 .
2015-08-24 10:59:15 +02:00
Johnni Winther bda8db4785 Make InferrerVisitor implement SemanticSendVisitor directly and delete ResolvedVisitor.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1308803002.
2015-08-21 14:11:33 +02:00
Johnni Winther 9ce4da5e1a Refactor qualified send sets.
Closes #23795

R=floitsch@google.com

Review URL: https://codereview.chromium.org//1293953006.
2015-08-21 09:34:45 +02:00
Harry Terkelsen ccc8a1c538 Mark invalid package config tests as 'Crash, OK' for analyzer.
The analyzer terminates with nonzero exit code if given an invalid
package spec.

BUG=
R=pquitslund@google.com

Review URL: https://codereview.chromium.org//1307653002 .
2015-08-20 15:47:59 -07:00
Stephen Adams b569deac48 update language_dart2js.status for --cps-ir ??= tests
TBR=sigmund@google.com

Review URL: https://codereview.chromium.org//1294773003 .
2015-08-20 12:14:56 -07:00
Paul Berry 79d85a9d34 Pull in new analyzer_cli to enable support for the "--supermixin" flag.
Partially addresses #23772.

R=pquitslund@google.com

Review URL: https://codereview.chromium.org//1301023004 .
2015-08-20 09:33:38 -07:00
Sigmund Cherem 6e0b2418c7 [dart2js] fix inference of ??= and []??=
Fixes #24134
Fixes #24135

R=floitsch@google.com, johnniwinther@google.com

Review URL: https://codereview.chromium.org//1305663002 .
2015-08-20 07:32:34 -07:00
Johnni Winther 99bc71afe6 Move common identifiers, names and selectors to a separate library.
BUG=
R=sigurdm@google.com

Review URL: https://codereview.chromium.org//1299413002.
2015-08-20 13:08:10 +02:00
Johnni Winther 256092eee3 Refactor handling of unqualified static updates.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1292673005.
2015-08-20 12:43:28 +02:00
Johnni Winther b731e6230b Refactor updates of locals.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1303503002.
2015-08-20 12:32:09 +02:00
Harry Terkelsen 7a219da572 Remove test for packages with ':' in the name.
Windows does not allow paths with ':'. If we include a directory
named 'qu:ux' in the repo then it cannot even be cloned on a Windows
machine.

BUG=
R=iposva@google.com

Review URL: https://codereview.chromium.org//1293793010 .
2015-08-19 17:53:15 -07:00
Harry Terkelsen 714734b220 Disable target_with_colon_test on Windows.
Windows does not allow colons in paths.

BUG=
R=iposva@google.com

Review URL: https://codereview.chromium.org//1303613003 .
2015-08-19 16:58:29 -07:00
Harry Terkelsen 98e67aa065 dart2js: fail gracefully with invalid package config
Fixes #24118
Fixes #24120
Fixes #24121
Fixes #24122

BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1291283006 .
2015-08-19 16:00:37 -07:00
Harry Terkelsen c6655ad43d Add more tests for .packages
BUG=
R=iposva@google.com, pquitslund@google.com

Review URL: https://codereview.chromium.org//1298323002 .
2015-08-19 13:17:01 -07:00
Lasse R.H. Nielsen f8f06d784a Implement new parameters on Isolate.spawn() for dart2js.
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1294803003 .
2015-08-19 13:52:36 +02:00
Lasse R.H. Nielsen 1a7ff8578d Make line_splitter_test not use multi-line strings.
Apparently dart2js and the VM disagrees on which characters are in
a multi-line string if the source uses Windows line endings.

Fixes issue 23856

BUG= http://dartbug.com/23856
R=sgjesse@google.com

Committed: 194c729a2a

Review URL: https://codereview.chromium.org//1294353003 .
2015-08-19 12:35:28 +02:00
Lasse R.H. Nielsen 194c729a2a Make line_splitter_test not use multi-line strings.
Apparently dart2js and the VM disagrees on which characters are in
a multi-line string if the source uses Windows line endings.

Fixes issue 23856

BUG= http://dartbug.com/23856
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1294353003.
2015-08-19 11:27:14 +02:00
Kevin Millikin 7b3141f7e7 Repair a dart2js test failure due to unused methods.
A recent change made three useful utility functions become unused in
dart2js.  Add them to the whitelist of unused functions, because we are
likely to use them again in a future change.

BUG=
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1298923004 .
2015-08-19 09:17:01 +02:00
Sigmund Cherem 8896ccd385 dart2js: switch to use dart2js_info/info.dart
R=het@google.com

Review URL: https://codereview.chromium.org//1298553002 .
2015-08-18 15:44:38 -07:00
Johnni Winther fb7ea815c8 Handle C?.m as C.m for Sends
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1294103004.
2015-08-18 11:38:48 +02:00
William Hesse 65834295d9 Fix errors in dart2js/source_map_pub_build_validity_test
BUG=
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1292423006 .
2015-08-18 11:23:48 +02:00
Asger Feldthaus 496a1e0085 dart2js cps: More status files updates.
BUG=
R=kmillikin@google.com

Review URL: https://codereview.chromium.org//1302473002 .
2015-08-18 11:01:05 +02:00
Johnni Winther 00df363b7a Split resolution into several libraries.
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1286993004.
2015-08-18 10:45:22 +02:00
Asger Feldthaus 689ea4f24a dart2js: Update status files.
dart2js/http_test passes when run in isolation, but always times out
on my machine when run in a large batch. I marked it as slow in
unchecked mode (was already marked as slow in checked mode).

Some timeouts that were fixed in dart2js cps but somehow were added to
the status file again.

Some tests in corelib fail in CPS.

BUG=

Review URL: https://codereview.chromium.org//1292223003 .
2015-08-18 10:35:47 +02:00
William Hesse 57bf18c3f8 Fix dart2js/source_map_pub_build_validity_test.
This relied on "pub build" implicitly running "pub get", which it no
longer does.

Fixes #24102

R=whesse@google.com

Review URL: https://codereview.chromium.org//1295653005 .
2015-08-18 10:32:15 +02:00
Harry Terkelsen f65c675c16 Add tests for simple packages scenarios
BUG=
R=iposva@google.com, pquitslund@google.com

Review URL: https://codereview.chromium.org//1290623002 .
2015-08-17 17:13:19 -07:00
Florian Loitsch debf1d6f7c Don't zone-register async callbacks for every await call in the VM.
This has the nice side-effect that the stack_trace package provides nicer chains.
Fixes issue 23394.

R=hausner@google.com

Committed: 4dae43d637
Reverted: cb4f9fc925

Review URL: https://codereview.chromium.org//1274133002 .
2015-08-17 19:26:50 +02:00
Florian Loitsch cb4f9fc925 Revert "Don't zone-register async callbacks for every await call in the VM."
This reverts commit 4dae43d637.

Review URL: https://codereview.chromium.org//1296973002 .
2015-08-17 16:43:35 +02:00
Johnni Winther 1d356f8072 Refactoring resolution of updates to type literals.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1301583002.
2015-08-17 16:23:37 +02:00
Florian Loitsch 4dae43d637 Don't zone-register async callbacks for every await call in the VM.
This has the nice side-effect that the stack_trace package provides nicer chains.
Fixes issue 23394.

R=hausner@google.com

Review URL: https://codereview.chromium.org//1274133002 .
2015-08-17 15:58:19 +02:00
Florian Loitsch 672df7c087 dart2js: Don't zone-register callbacks in async functions for every await.
R=johnniwinther@google.com, lrn@google.com

Review URL: https://codereview.chromium.org//1281523003 .
2015-08-17 15:57:34 +02:00
Florian Loitsch 7e64f3d962 Dart2js async-await. Bind the async-body to the current zone.
Also ensure the wrapping of js-functions happens only once per
async-call.

BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1163833002 .
2015-08-17 15:56:53 +02:00
Florian Loitsch 410b181e13 The return-value of 'asFuture' isn't necessarily related to the Stream's type.
R=lrn@google.com

Review URL: https://codereview.chromium.org//1295843002 .
2015-08-17 14:44:31 +02:00
Florian Loitsch 6592391adf Update status file. Timers are not supported on jsshell.
Review URL: https://codereview.chromium.org//1301573002 .
2015-08-17 14:12:08 +02:00
Lasse R.H. Nielsen 1b8f3fba14 Make List constructor give better error messages for non-int arguments
BUG= http://dartbug.com/15986
R=herhut@google.com, iposva@google.com, sra@google.com

Committed: 33c7663826

Review URL: https://codereview.chromium.org//1214723009 .
2015-08-17 13:01:13 +02:00
Florian Loitsch 00aaf1708d Accept a computation that returns a Future for Future.delayed.
R=lrn@google.com

Review URL: https://codereview.chromium.org//1296623004 .
2015-08-17 11:34:43 +02:00
Asger Feldthaus 01844e7bb0 dart2js cps: Compile some loops as 'for' loops.
BUG=
R=kmillikin@google.com

Committed: 296cb0b5b4

Review URL: https://codereview.chromium.org//1287253002 .
2015-08-17 10:52:35 +02:00
Johnni Winther 720e72428c Check for one-to-many source mappings.
BUG=
R=herhut@google.com

Review URL: https://codereview.chromium.org//1287973002.
2015-08-17 09:57:57 +02:00
Lasse R.H. Nielsen 51fa195f16 Revert "Make List constructor give better error messages for non-int arguments"
There are VM-only tests that assume exact text of failure.

BUG=

Review URL: https://codereview.chromium.org//1294483003 .
2015-08-14 15:05:17 +02:00
Lasse R.H. Nielsen 33c7663826 Make List constructor give better error messages for non-int arguments
BUG= http://dartbug.com/15986
R=herhut@google.com, iposva@google.com, sra@google.com

Review URL: https://codereview.chromium.org//1214723009 .
2015-08-14 13:44:19 +02:00