534 Commits

Author SHA1 Message Date
Alexander Aprelev
d86d65360a Dart roll (flutter/engine#4748)
* Dart roll

b5b8080b2c Disable the conflicting generics check when using the old task model.
9986b6de25 Fix bugs in implicit-creation tests. Add one more test.
d22ac9f071 Faster first/last on VM implementation of (Linked)HashSet.
f8f97bf105 *.status files and DEPS updated to include latest fixes for co19 tests
235e62264e [VM] Reland Support some 32bit instructions in 64bit assemblers.
17d5c44d40 [fasta] Invalidate part file when init from dill
d3c3ac48a3 Remove implicit 'implements Function' for strong mode
6baae53a5b Check functionTypeIndex in rti_emission_test
e047586a0e Fix bad merge after 2181119d879da8e0293ddee698dc50e3de631750
2181119d87 Test and fix invalidating file exporting main
080e7e6073 Fix status files: file is excluded and so dartanalyzer errs on test.
c8ee601268 Add feature specification draft for Dart 2.0 subtyping
73944a3a5c Stop running corelib_2 in dart2js legacy
748cfdff7e Refactor to efficiently find analysis roots correctly fix #31343 & #31344.
c2a8632665 Cleanup language_2 .status
6189b9a360 Change Flutter Outline API to provide full instrumented code instead of edits.
2448814e83 Also exclude 'Ok' as a valid status to ignore when checking for runtime errors in Runtime.none
b1778e5c34 Stop running language_2 tests on legacy mode
4066804e5f Remove hint suppression now that MapEntry has landed
f5e4f88c71 Skip assertions in InlineWeeder unless enabled
ce715c3157 [Kernel] Annotate status file with newly filed issues.
a4c69b7729 Pass platform sdk as uri to frontend server.
1d159e7c23 Rename annotation testing methods in Element
4688be6320 Pass sdkRoot as file path to frontend server.
3ac86d759e Revert "[VM] Support some 32bit instructions in 64bit assemblers."
d0eb2d63e8 [infra] Add front-end builder to test matrix
a5f173f165 [VM] Support some 32bit instructions in 64bit assemblers.
d1203a382f [fasta] Use platform as outline in incremental test; assert non-empty mixin bodies
5fd560f96b Add getters to replace ParameterKind
0b332de3a8 Refactor where AST re-writing is happening to not interact poorly with inference (issue 32342)
a528f09443 Update status for dartkp test null_nosuchmethod_test
e59018e714 Revert "Do not return this on RandomAccessFile.close"
14c1834334 [fasta] Add mixin test to incremental compiler test
2993476129 Report an error if a class inconsistently implements a generic interface.
e5295eb6d1 [fasta] Small changes to the incremental compiler
b2fa7c4497 Always create problems to ensure lines are removed from status files
c89055ee32 [VM] Fix type finalization for Kernel function types.
4ff939d3e4 [frontend-server] Keep output kernel file name through reload request.
11cbdbe26e When checking mixin type inference errors, don't skip mixins with explicit type args.
e74e2b3c3e Pass varFinalOrConst in beginVariablesDeclaration event
44aa9a17fd Do not return this on RandomAccessFile.close
9be25848e1 Roll async in DEPS to 2.0.6
8e8287f4e0 Add classes for instantiations
cae6d89429 Prepare language_dart2js.status to enable CFE by default on dart2js
7fd5294bb3 Add rules to build dart2js platform in strong mode
47ba426b62 [vm] Dump stack on SIGILL; print exception codes.
751de54dc0 Remove invalid dart:collection link in doc comments
22f860a229 Update AstBuilder to report illegal assignment
109316c484 Force inlining to match AST version
34f8c356a3 Fix sdk stack trace mapping so tools recognize it
514271e494 Prepare corelib.status for flipping on CFE on dart2js
80e2d30c20 [vm] Fix issue causing recursive_mixin_test to crash
2c956749a5 [VM] Add support to HierarchyInfo to not only create [CidRangeVector]s of subtypes but also subclasses
5d92543f42 [VM] Fix accidental double assignment
80805ff1c1 [VM] Make FlowGraphCompiler::EmitTestAndCallCheckCid static and therefore usable from stubs
9cfd721f78 [VM] Handle kVoidCid/kDynamicCid/kVectorCid the same way
65b2b1a671 [VM] Split handling of Code from non-Code in Thread::{CanLoadFromThread,OffsetFromThread}
2f10ab76f7 Mark incremental_load_from_dill_test slow on Windows
b70d7d55b7 Fix setting of body for procedures patched with redirecting factories
3a769b9dbe Add missing methods to make classes Dart 2 valid.
57a01968ed [fasta] Incremental compilation fallback
7d83584c5b Some kernel status file adjustments
c67cf2090a Make warning more warning-y.
e38e98afbe Update dart2js_native.status: updated to be accurate with our many configurations
1ce131b317 fix section for update_from_log
bde6603d92 Update dart2js_extra.status: now it correctly declares expectations for non-minified, minified, host-checked, checked, and fast-startup
be62fff82f Reland "[VM runtime] Switch intrinsics from old to new Bigint implementation."

* Update license
2018-03-06 08:45:29 -08:00
Petr Hosek
93d28a103c Migrate all uses of gtest to googletest (flutter/engine#4728)
gtest is an old version that predates the googletest and googlemock
merger, all tests should be using the newer googletest that's being
kept in sync with the upstream version.
2018-03-06 01:06:32 -08:00
Alexander Aprelev
a248710df8 Revert "Roll dart to a4c69b772950c65cd73e6a84e550cc9f46083504. (#4744)" (flutter/engine#4745)
This reverts commit 1090357e54b62fc91706ed241a8644a82b2123a1 as it
causes dartbug.com/32421.
2018-03-05 14:19:15 -08:00
Alexander Aprelev
1090357e54 Roll dart to a4c69b772950c65cd73e6a84e550cc9f46083504. (flutter/engine#4744)
* Roll dart to 4688be632009ab2eae7f9ae39e929e0fa36ba365.

* Move dart dep up to a4c69b772950c65cd73e6a84e550cc9f46083504
2018-03-05 10:37:41 -08:00
Alexander Aprelev
7a28a77f9e Roll dart to ee15c8eb689791f6777eb3f6b0a1e9c58ff0671b. (flutter/engine#4736)
* Roll dart to ee15c8eb689791f6777eb3f6b0a1e9c58ff0671b.

* Update dart deps

* Skip over .emf-files.

.emf-files are binary media files in Microsoft enhanced mediaformat.

* Update license

* Cleanup license

* Clean up 3rd party licenses
2018-03-01 20:33:46 -08:00
Siva
022a4bb887 Roll dart in engine to version 1aaebedd7045a44ba92bb1bb27c3a8bc25d74856 (flutter/engine#4721) 2018-02-27 20:59:21 -08:00
Jason Simmons
e6ca9221d5 Roll Topaz/Tonic (flutter/engine#4718) 2018-02-27 12:46:02 -08:00
Todd Volkert
84701b5339 Rev Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (flutter/engine#4693) 2018-02-20 13:17:31 -08:00
Zachary Anderson
b2b7309505 Roll Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (flutter/engine#4689) 2018-02-16 14:59:21 -08:00
Siva
0a63f58b0c Fix strong flag setting (flutter/engine#4683)
* Turn on strong mode by default when a platform file is present in the
bundle instead of using a flag passed into the engine which might not be
true when we invoke an installed app.

* - Roll dart to version fe96de2858f078e4ad04f8f30640184bf3d8102d

* Update license file.
2018-02-15 11:02:31 -08:00
Siva
a855502916 Roll Dart to version 0fd6aa87a37023d9691cf50866214c1235dab2d1 (flutter/engine#4682)
* Roll Dart to version 0fd6aa87a37023d9691cf50866214c1235dab2d1

* Update license file.
2018-02-14 18:04:23 -08:00
Chris Bracken
080d8c2f78 Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670) (flutter/engine#4677)
Rolling to tip of tree, but specifically the intent is to pick up
fc4f768e5aaf8efdd112f38295a35de83a0f9a55 in order to pick up a fix for
multitexturing on iOS. Originally disabled in flutter/engine#4364 due to
iOS text rendering issues described in flutter/flutter#12934.

Upstream Skia patch:
https://skia-review.googlesource.com/c/skia/+/99800
2018-02-14 08:41:55 -08:00
Ben Konyi
24cc533afc Dart SDK roll for 2018/02/13 (flutter/engine#4674)
* Dart SDK roll for 2018/02/13
2018-02-13 19:21:13 -08:00
Chris Bracken
7db76a8e25 Revert "Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670)" (flutter/engine#4672)
This didn't break anything that we know of, but the engine is not
currently rollable to the framework due to a Dart bug. I'm reverting
this so we can get a fix landed for the Dart SDK, then roll, then
re-land this, then roll, to allow us to measure the performance impact
of the Dart SDK roll and the Skia roll independently.

This reverts commit 55b5f7dca6db3d00705061f60f810b23d2b2e51c.
2018-02-13 16:30:32 -08:00
Chris Bracken
55b5f7dca6 Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (flutter/engine#4670)
Rolling to tip of tree, but specifically the intent is to pick up
fc4f768e5aaf8efdd112f38295a35de83a0f9a55 in order to pick up a fix for
multitexturing on iOS. Originally disabled in flutter/engine#4364 due to
iOS text rendering issues described in flutter/flutter#12934.

Upstream Skia patch:
https://skia-review.googlesource.com/c/skia/+/99800
2018-02-13 16:01:14 -08:00
Jason Simmons
2c2cd2c9a5 Roll Topaz/Tonic and call Dart_NewListOfType for TextBox lists (flutter/engine#4667)
Fixes https://github.com/flutter/flutter/issues/14555
2018-02-13 15:02:57 -08:00
Chris Bracken
ed5dc5d1f4 Roll buildroot to 06e2d5a3e84459931ca9bedd3171c76f9953ebfa (flutter/engine#4668)
Inlcudes:
* Enable -Wunguaraded-availability for iOS builds (flutter/buildroot#126)
* Eliminate is_nacl from build config (flutter/buildroot#127)
2018-02-13 14:44:06 -08:00
Alexander Markov
1aac5e6ed4 Roll Dart to 223eeb2ebe112aaaddca206aab55cd54b4e54391 (flutter/engine#4659)
* Roll Dart to 223eeb2ebe112aaaddca206aab55cd54b4e54391
* Update licenses
* Make analyzer happy, fix test for change in mockito
2018-02-12 14:47:18 -08:00
Chris Bracken
e02ec09002 Roll topaz to 531e2778d86b213bc663ea51bb0e0dde33d8ac8c (flutter/engine#4657)
Includes https://fuchsia-review.googlesource.com/c/topaz/+/121856, which
enables path sanitization for Dart source loaded directly from from
file:// URIs (e.g., main entry points from flutter_tester).
2018-02-09 18:25:55 -08:00
Chris Bracken
91bacdb95a Roll topaz to 046105efd225ed61c94e65dbd4a528256a3a34a9 (flutter/engine#4652)
Lands
https://fuchsia.googlesource.com/topaz/+/046105efd225ed61c94e65dbd4a528256a3a34a9
which adds support for general handling of URI %xx escape sequences.
This enables support for paths including accents, CJK characters, emoji,
etc.
2018-02-08 18:30:21 -08:00
Chris Bracken
0295f160bb Roll topaz to 08a3394395036a2bb9b556f5b0eb8f365d2c0fa5 (flutter/engine#4650)
This picks up fuchsia/topaz@fe3f1503dc,
which ensures paths resolved from package: URIs are properly sanitized for
correct handling of URI-encoded path components.
2018-02-07 18:12:02 -08:00
Alexander Aprelev
9d28fa26bb Roll dart deps (flutter/engine#4644)
* Roll dart deps

* Remove pin

* Roll buildroot to dart dev.20
2018-02-07 15:22:59 -08:00
Jason Simmons
b3d3a1781b Roll Dart to 32396138ff733cbe8d9ac32178e6cffccdf80644 (flutter/engine#4643) 2018-02-07 13:07:47 -08:00
Zachary Anderson
cc7a67da96 Reland: [fuchsia] Enable running from source packages (flutter/engine#4634)
This relands https://github.com/flutter/engine/pull/4629 with a
tonic roll to fix the build.
2018-02-06 10:08:24 -08:00
Erik Corry
6cd8568cef Roll flutter to 06-02-2018 402e69b53d59083d34d7538126837c4381aa0c4a (flutter/engine#4639)
* Roll flutter to 06-02-2018 402e69b53d59083d34d7538126837c4381aa0c4a

* Change license signature
2018-02-06 17:34:18 +01:00
Alexander Aprelev
bf7f436e36 Roll dart, remove patched_sdk from flutter now that frontend handles patching (flutter/engine#4633)
* Fixes to make https://dart-review.googlesource.com/c/sdk/+/36641 work with Flutter

* Roll dart

* Update license

* Roll dart

* Update license

* Add libraries.json to dependencies
2018-02-05 13:44:16 -08:00
Zachary Anderson
a352307589 Roll Dart to 7078f6be58802c4e274625b8b59b4c855ddc4fb7 (flutter/engine#4627) 2018-02-01 16:04:39 -08:00
Régis Crelier
1a4af2c360 Roll Dart to 7af4db0ea091dddca6b2da851e6dda8d7f9467e8 (flutter/engine#4613) 2018-01-29 20:30:18 -08:00
Chris Bracken
ce985d1bb3 Revert "Update //garnet (#4611)" (flutter/engine#4617)
This reverts commit ca4ddfcb501f11f3ff4eeed4cff1096ab6391b45.
This reverts commit f6eaf438f9003b728732d896404a3b911f479d8e.
2018-01-29 18:24:49 -08:00
Adam Barth
ca4ddfcb50 Fix Windows build (flutter/engine#4615) 2018-01-29 17:11:38 -08:00
Adam Barth
f6eaf438f9 Update //garnet (flutter/engine#4611) 2018-01-29 16:15:15 -08:00
Chris Bracken
93a38a5426 Update buildtools to Fuchsia HEAD (flutter/engine#4599) 2018-01-29 15:00:06 -08:00
Zachary Anderson
f90a5326ef Roll Dart to da1f52592ef73fe3afa485385cb995b9aec0181a (flutter/engine#4585) 2018-01-24 15:21:50 -08:00
Siva
7021947793 Update dart in engine to version 8d9d68751a505426eb5f59a9d29f103fde6bd474 (flutter/engine#4581)
* Update dart version in engine to 8d9d68751a505426eb5f59a9d29f103fde6bd474

* Update third party license files.

* Update license file.

* Update license file.
2018-01-23 10:03:16 -08:00
Jason Simmons
3c96224673 Roll Skia (flutter/engine#4579) 2018-01-22 15:01:11 -08:00
Brian Osman
4a8b4468cd Roll Skia to a9c8a05608fe32520a0899016fc28bb1f5ead355 (flutter/engine#4571)
Fixes https://github.com/flutter/flutter/issues/10284
2018-01-19 12:47:42 -05:00
Alexander Aprelev
03fd9da8d6 Fix host_os literal for windows (flutter/engine#4568)
* Fix host_os literal for windows

* Fix slashes
2018-01-18 15:03:06 -08:00
Alexander Aprelev
da0bf57fe3 Roll buildroot to pick up prebuilt dart sdk 2.0.0-dev.16.0 (flutter/engine#4566) 2018-01-18 14:14:26 -08:00
Siva Chandra
f8600043cc Roll Dart to 93d8c9fe2a2c22dc95ec85866af108cfab71ad06. (flutter/engine#4558)
* Roll Dart to 93d8c9fe2a2c22dc95ec85866af108cfab71ad06.

* Fix analyzer nits

* Try to pin dependency for tools/licenses to convert 2.0.1. Add verbose flag to pub get

* Pin dart to dev.16 to overcome pub issue

* Revert "Try to pin dependency for tools/licenses to convert 2.0.1. Add verbose flag to pub get"

This reverts commit d525a83f4494a511996226d328a5208d4651d46e as it is no
longer needed, was added to diagnose the problem, which turned out to be
a problem with pub in latest dart dev release.

* Fix license hash

* Reintroduce api methods and tests
2018-01-18 12:35:09 -08:00
Ian Hickson
8faa2b6bc1 Run "pub get" for the frontend_server package before building. (flutter/engine#4562)
In https://github.com/flutter/engine/pull/4554 I removed the .packages
file in the frontend_server directory, because it was out of sync with
the pubspec.yaml. It seems like the right solution is to run `pub get`
when we get the dependencies, i.e. when we run `gclient sync`.

Being out of sync is a problem because it means that running "pub get"
in that directory changes what packages are being used, and changes
the `.packages` file, which leads to having to revert changes before
committing code, etc. Having to regularly update this file doesn't
make much sense either, since the files that were missing were files
that are obtained from the network (e.g. the `io` package as used by
the `test` package).

Previously, (see
https://github.com/flutter/engine/pull/3982#issuecomment-323213199),
we did not do this because we did not want the build to call into the
network. This still does not call into the network during the _build_
phase, only during `gclient sync` (which is when all the dependencies
are brought down).

Currently the network dependencies only matter for running tests. We
should make sure this remains the case. Ideally we wouldn't even
depend on those.
2018-01-17 15:41:46 -08:00
Greg Spencer
a09cfd0590 Roll buildroot to c947b7aa6a57d3c427d63692e530f23b1f77d81e (flutter/engine#4561) 2018-01-17 12:11:36 -08:00
Todd Volkert
96d3afbb3e Roll Skia to 579f094f1259931c30dfd1623e8e22d74b4a7531 (flutter/engine#4525)
* Roll Skia to 579f094f1259931c30dfd1623e8e22d74b4a7531

Fixes https://github.com/flutter/flutter/issues/13742
2018-01-11 13:15:05 -08:00
Zachary Anderson
a5e0f5ae0c Roll Dart to 28757928b47b192efcec082c78258102beb03f78 (flutter/engine#4535) 2018-01-10 13:30:12 -08:00
Ben Konyi
e5da0bc1b5 Dart sdk roll for 2018/01/09 (bd6cbd1ec7e79730ea1fd8ba01139f4e18a02290) (flutter/engine#4531)
* Rolled dart-sdk to bd6cbd1ec7e79730ea1fd8ba01139f4e18a02290

* Updated third_party licenses.
2018-01-09 14:28:13 -08:00
Ryan Macnak
0327fa6f71 Roll Dart to 5b56dfb77a76e9d8021086c0684b1e8bd9dbca9a. (flutter/engine#4521) 2018-01-05 14:15:47 -08:00
Jason Simmons
18d27b3e67 Fetch libjpeg-turbo from the Fuchsia repository (flutter/engine#4518) 2018-01-05 12:08:56 -08:00
Siva
0362c79542 Roll Dart to version 8d7219a5b6a7c2505ff57f23e7cf80da4c724512 (flutter/engine#4515)
* Roll Dart to version 8d7219a5b6a7c2505ff57f23e7cf80da4c724512

* Update third_party license file.
2018-01-04 14:36:41 -08:00
Alexander Markov
7ee1e677e1 Roll Dart SDK to e9243a4d16cef962214d6d1f433bc2cd3fe864e6 (flutter/engine#4509) 2018-01-03 10:46:50 -08:00
Alexander Aprelev
1f5a2ea055 Roll dart to e122f4825726035e4579471ef83848b1aa796444 (flutter/engine#4496)
* Roll dart

* Update license
2017-12-27 11:02:57 -08:00
Zachary Anderson
377b4c60c6 Roll Dart to 9e8a3e2d31621c1bdf6139d068e7898a2ac2ab5a (flutter/engine#4489) 2017-12-21 11:36:56 -08:00