Commit graph

47506 commits

Author SHA1 Message Date
Ben Konyi 033c18472d Revert "Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHANGELOG.md to announce its removal."
This reverts commit 4b6fa0d5fb.

BUG=
R=kevmoo@google.com

Review-Url: https://codereview.chromium.org/2928013002 .
2017-06-08 14:32:41 -07:00
Ryan Macnak 3b7b05eaa9 [hot reload] Ensure we free the old class table even when there are no shape changes.
Issue #28349

R=regis@google.com

Review-Url: https://codereview.chromium.org/2925303002 .
2017-06-08 14:13:29 -07:00
Konstantin Shcheglov 5fe793ec4e Use ClassHierarchy.applyChanges() in MixinFullResolution.
So, we let the hierarchy to decide how to react to the changes, and
instance of which class hierarchy to create.

This makes initial compilation with Kernel Driver about 5% faster.

R=ahe@google.com, paulberry@google.com, sigmund@google.com
BUG=

Review-Url: https://codereview.chromium.org/2924333002 .
2017-06-08 14:00:51 -07:00
Konstantin Shcheglov 756cca3222 Catch exceptions in ByteStreamServerChannel._outputLine() and close the channel.
R=brianwilkerson@google.com
BUG=

Review-Url: https://codereview.chromium.org/2928703007 .
2017-06-08 12:33:43 -07:00
Ryan Macnak b1da119a5e [fuchsia] Update profiler assertions to allow for profiler running on a different thread.
R=zra@google.com

Review-Url: https://codereview.chromium.org/2931933002 .
2017-06-08 12:28:43 -07:00
Alexander Aprelev d86cb763b9 Add comma to the license so it matches license header in other files, doesn't result in new license text added in Flutter license inventory.
See https://github.com/flutter/engine/pull/3755.

BUG=
R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2927703007 .
2017-06-08 12:19:30 -07:00
Konstantin Shcheglov f32e9d01b5 Rewrite byte_stream_channel_test.dart to reflective tests.
R=brianwilkerson@google.com
BUG=

Review-Url: https://codereview.chromium.org/2926323002 .
2017-06-08 11:54:06 -07:00
Brian Wilkerson 38e2bf5897 Remove invalid imports of analysis_server
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2927923003 .
2017-06-08 10:41:25 -07:00
danrubel c54372bdc5 fix test
Review-Url: https://codereview.chromium.org/2929673004 .
2017-06-08 12:58:05 -04:00
danrubel d675a7c375 update errorCodeValues
Add the new fasta Scanner error codes to the errorCodeValues list
and add a test to ensure that any new error codes will also be added.

R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2932483002 .
2017-06-08 12:35:53 -04:00
Paul Berry 029771d746 Add type inference for complex assignments whose LHS is an index expression.
In later CLs I will expand on this code to handle other kinds of
complex assignments.

R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2926763003 .
2017-06-08 09:25:24 -07:00
Bob Nystrom 8bc4e89219 Remove unused record and replay functionality.
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2920633002 .
2017-06-08 09:18:03 -07:00
Brian Wilkerson 6d8b7c8806 Finish refactoring FixProcessor to use ChangeBuilder
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2930793002 .
2017-06-08 07:56:08 -07:00
Brian Wilkerson 91b8b495b3 Add support for fixes
R=maxkim@google.com, scheglov@google.com

Review-Url: https://codereview.chromium.org/2923283002 .
2017-06-08 07:53:06 -07:00
Vyacheslav Egorov e00dce80e0 Gardening: Mark get_server_port_test as failing on non-IPv6 enabled systems
R=whesse@google.com
BUG=https://github.com/dart-lang/sdk/issues/29820

Review-Url: https://codereview.chromium.org/2925203004 .
2017-06-08 15:04:55 +02:00
Vyacheslav Egorov 477df4d03b Gardening: Mark get_server_port_test as failing on pkg-linux-release-be
R=ahe@google.com
BUG=https://github.com/dart-lang/sdk/issues/29820

Review-Url: https://codereview.chromium.org/2928973002 .
2017-06-08 14:32:14 +02:00
Vyacheslav Egorov 681138e882 Gardening: Mark cc/IsolateReload_TypedefAddParameter as failing with ASAN.
R=rmacnak@google.com
BUG=https://github.com/dart-lang/sdk/issues/28349

Review-Url: https://codereview.chromium.org/2931823002 .
2017-06-08 14:03:43 +02:00
Peter von der Ahé f73e2ecf28 Clean up status files.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2928903002 .
2017-06-08 13:50:30 +02:00
Peter von der Ahé 001ac97389 Implement initializer asserts.
Closes https://github.com/dart-lang/sdk/issues/29762

R=kasperl@google.com

Review-Url: https://codereview.chromium.org/2930673002 .
2017-06-08 13:46:26 +02:00
Lasse R.H. Nielsen c4da9198c1 Add informal specification of asserts in initializer lists.
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2927933002 .
2017-06-08 13:45:46 +02:00
Vyacheslav Egorov 47b1473cbe Gardening: Mark new IsolateReload tests failing in with -c dartk.
Also fix spelling s/IsolateREload/IsolateReload/g

TBR=rmacnak@google.com
BUG=

Review-Url: https://codereview.chromium.org/2924253003 .
2017-06-08 10:33:40 +02:00
Johnni Winther 1b6d8cacce Introduce JsStrategy skeleton
This is currently an identity conversion from the frontend model but
it serves as a basis to create actual J-elements corresponding to the
K-elements.

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2929643002 .
2017-06-08 09:36:05 +02:00
Johnni Winther 412f2cff8d Handle parameters in compile_from_dill_test
R=efortuna@google.com, sigmund@google.com

Review-Url: https://codereview.chromium.org/2926863002 .
2017-06-08 09:20:45 +02:00
Kevin Moore e41c56580a CHANGELOG updates for dart:html and friends
R=terry@google.com

Review-Url: https://codereview.chromium.org/2924203002 .
2017-06-07 21:19:08 -07:00
Emily Fortuna edaf6fe25a dart gardening: webgl starts working after chrome roll?
BUG=

Review-Url: https://codereview.chromium.org/2926963003 .
2017-06-07 17:50:06 -07:00
Kevin Moore 3fdae3b5c3 1.24 changelog cleanup
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2926213002 .
2017-06-07 17:16:13 -07:00
Emily Fortuna 4d08d2da9b Dart gardening: next round of commits to make the tree green.
BUG=

Review-Url: https://codereview.chromium.org/2932583002 .
2017-06-07 16:26:58 -07:00
Ryan Macnak 092eb33341 [hot reload] Give a better error message when changing between a regular class and a typedef.
Fixes #29816

R=regis@google.com

Review-Url: https://codereview.chromium.org/2926203002 .
2017-06-07 16:06:23 -07:00
Sigmund Cherem e551bef8ba add check of preconditions in run step.
BUG=
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2914773003 .
2017-06-07 15:45:55 -07:00
Sigmund Cherem 6e8155ae6f Follow up improvement for checking dart:_builtin
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2915153002 .
2017-06-07 15:38:18 -07:00
Ben Konyi 4b6fa0d5fb Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHANGELOG.md to announce its removal.
BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2926153004 .
2017-06-07 15:15:58 -07:00
Emily Fortuna c3d8a42e3c Dart gardening: another chrome status file edit.
BUG=

Review-Url: https://codereview.chromium.org/2924163002 .
2017-06-07 14:55:14 -07:00
Sigmund Cherem cb5f3842c4 Skip directly to the last library to set the entry point and check importUri
instead of fileUri.

On some scenarios fileUri is relative and entryUri was absolute, but importUri
should match for the entry library.

BUG=
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2926933002 .
2017-06-07 14:50:01 -07:00
Ben Konyi 9cf7ba4f84 Updated changelog to describe changes made to SecureSocket, SecurityContext, and X509Certificate.
BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2924133002 .
2017-06-07 14:42:49 -07:00
Emily Fortuna 2deb32b29f Updated tests for shard 3 of linux-chrome-dart2js after roll. Dart Gardening.
BUG=

Review-Url: https://codereview.chromium.org/2925173002 .
2017-06-07 14:38:46 -07:00
Emily Fortuna 5464ba98b3 More Dart Gardening status files for dart2js-linux-chrome
BUG=

Review-Url: https://codereview.chromium.org/2927813003 .
2017-06-07 14:26:07 -07:00
Brian Wilkerson b9529da60e More test fixed (TBR)
Review-Url: https://codereview.chromium.org/2925163002 .
2017-06-07 14:04:29 -07:00
Sigmund Cherem aecfab68aa Add an incremental reloader example and a utility tool to trigger a reload by
hand.

The example includes:
 - an interactive UI that lets you trigger reloads without typing commands
 - a wrapper of the incremental kernel generator that invalidates files based on
 modification time stamps

BUG=
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2928483005 .
2017-06-07 13:44:56 -07:00
Siva Annamalai 6656404ad6 1. Restructure code to enable reloading when a kernel dill file is specified on the command line instead of sources.
2. Read the platform dill file at startup not for every isolate creation

3. Store the memory representation of kernel program in isolate data so that it is deleted when the isolate is shutdown

R=aam@google.com

Review-Url: https://codereview.chromium.org/2927493002 .
2017-06-07 13:42:20 -07:00
Sigmund Cherem 8f17a29811 Fix bots: dont run integration test with --use-sdk
TBR=scheglov@google.com

Review-Url: https://codereview.chromium.org/2929653002 .
2017-06-07 13:21:48 -07:00
Brian Wilkerson 0d315af354 Try again to fix the bots (TBR)
Review-Url: https://codereview.chromium.org/2926173002 .
2017-06-07 13:15:40 -07:00
Emily Fortuna 3d93355187 Dart Gardening: Updated status files for Chrome roll 59 which affected dart2js-linux. Moar to come!
TBR=sigmund@google.com

BUG=

Review-Url: https://codereview.chromium.org/2931683002 .
2017-06-07 12:57:59 -07:00
Emily Fortuna 9ffcc94e21 Dart Gardening: Updated status files for Chrome roll 59 which affected dart2js-linux. More to come.
BUG=

Review-Url: https://codereview.chromium.org/2930773002 .
2017-06-07 12:48:37 -07:00
Sigmund Cherem ebdb0af64f Add integration test: hot reload + incremental compiler
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2925953002 .
2017-06-07 12:47:27 -07:00
Leaf Petersen cb8cc2526b Add codegen test for equality.
Adds a DDC test tracking the generated code and its correctness. Some
test harness changes to support running codegen tests.

BUG=
R=jmesserly@google.com

Review-Url: https://codereview.chromium.org/2930733002 .
2017-06-07 12:42:30 -07:00
Brian Wilkerson aa33d71071 Another attempt to fix the windows tests
Review-Url: https://codereview.chromium.org/2927873002 .
2017-06-07 12:35:56 -07:00
Devon Carew 0d25ac11ed Skip the ProcessProfiler.getProcessUsage test.
BUG=
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2927863002 .
2017-06-07 12:20:03 -07:00
Devon Carew 79c2668d2b add memory usage to the diagnostics page
BUG=
R=brianwilkerson@google.com, scheglov@google.com

Review-Url: https://codereview.chromium.org/2927783002 .
2017-06-07 11:28:34 -07:00
Konstantin Shcheglov c510737b17 Make a copy of files to invalidate to avoid concurrent modifications.
In contrast to Analysis Driver, in Kernel Driver FileState.refresh()
is asynchronous, so we might (and actually do) get concurrent watch
events that update the set of invalidate files.

R=ahe@google.com, paulberry@google.com, sigmund@google.com
BUG=

Review-Url: https://codereview.chromium.org/2924943005 .
2017-06-07 11:10:50 -07:00
Emily Fortuna 188c1d5321 Updated status files for Chrome roll 59 which affected dart2js-linux bots. I expect there will be more follow up CLs to ensure everything cycles green.
BUG=

Review-Url: https://codereview.chromium.org/2930723004 .
2017-06-07 11:08:28 -07:00