130 Commits

Author SHA1 Message Date
Jason Simmons
11f1e071ed Roll Garnet (flutter/engine#4759) 2018-03-09 09:34:25 -08:00
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
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
Alexander Aprelev
036241e64d Skip over .emf-files. (flutter/engine#4739)
.emf-files are binary media files in Microsoft enhanced mediaformat.
2018-03-01 18:44:19 -08:00
Zachary Anderson
b2b7309505 Roll Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (flutter/engine#4689) 2018-02-16 14:59:21 -08:00
Jason Simmons
08f29fc39f Exclude skia/third_party/icu from the license crawl (flutter/engine#4684) 2018-02-15 13:57:20 -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
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
Alexander Aprelev
952f395ae5 Use fallback root certificates on Windows host builds (flutter/engine#4662)
* Use fallback root certificats on Windows, Linux host builds

* Use fallback only on Windows
2018-02-12 22:37:34 -08:00
Jason Simmons
adb1cc1d0f Exclude frontend_server from the license crawl (flutter/engine#4645) 2018-02-09 12:17:00 -08:00
Yegor
7df584d855 iOS a11y text entry (~70% of it) (flutter/engine#4575)
* implement iOS text field editing in a11y mode

* address Chinmay's comments

* replace node in child list when changing type
2018-02-05 15:14:13 -08:00
Ian Hickson
28564ac5f9 Analysis cleanup of the Dart in the Engine repo (flutter/engine#4554)
* Analysis cleanup of the Dart in the Engine repo

* Update painting.dart

* Update painting.dart
2018-01-17 09:48:56 -08:00
Jason Simmons
49769ea252 Provide the skia_vulkan_header variable now required by Skia's Vulkan build scripts (flutter/engine#4459) 2017-12-13 17:17:05 -08:00
Jason Simmons
161f3faa33 Exclude Skia's copy of libjpeg-turbo from the license crawl (flutter/engine#4432) 2017-12-08 11:50:13 -08:00
Ian Hickson
e900158d72 Make Locale know about the deprecated Hebrew language code. (flutter/engine#4411)
...by making it know about ALL the deprecated language and region codes.
2017-12-06 12:17:30 -08:00
Chris Bracken
348fff3dd4 Catch divide-by-zero errors early in license tool (flutter/engine#4382)
If Progress is instantiated with a max of 0, throw immediately to avoid
a divide-by-zero later in toString(). This typically happens if the tool
recurses over an empty top-level component, which can happen when a
component is moved around in the repo and the developer hasn't cleaned
up old empty directories from their git client.
2017-11-21 15:42:17 -08:00
Chris Bracken
2aad4c763e Minor formatting fix in license script (flutter/engine#4381)
Fixes an errrant tab and unnecessary braces.
2017-11-21 15:34:13 -08:00
amirh
587c8f2344 Enable WebP (flutter/engine#4359) 2017-11-15 16:49:50 -08:00
Chris Bracken
7834aca9f6 Roll garnet to b3ba6b6d6ab8ef658278cc43c9f839a8a8d1718e (flutter/engine#4335)
* Roll garnet to b3ba6b6d6ab8ef658278cc43c9f839a8a8d1718e

Also includes a buildroot patch to pick up new dependency:
  build/config/fuchsia/sdk.gni

This fixes a build breakage in
garnet/public/lib/fxl/strings/string_view_unittest.cc wherein a variable
'sw5' was declared but the test erroneously tested against 'sw4' from
the previous test.

* Update license script for garnet

Reflects structural changes in directories we do not depend on. This
filters out the following directories in addition to what was already
filtered:
  garnet/drivers
  garnet/packages
  garnet/public/build/
  garnet/public/rust/

* Update licenses
2017-11-08 15:25:07 -08:00
Ryan Macnak
6b1c7131df Roll tonic to da66b94839f788a0bffc34fd9bdfef3360af8c18. (flutter/engine#4332)
Update to moved repository.

Issue https://github.com/flutter/flutter/issues/9998
2017-11-08 14:04:29 -08:00
Zachary Anderson
a962edcc28 Fix comment in last commit (flutter/engine#4315) 2017-11-03 08:53:42 -07:00
Zachary Anderson
9365d7465e Reland: [GN] Don't set dart_host_toolchain (flutter/engine#4314) 2017-11-02 10:04:06 -07:00
Mikkel Nygaard Ravn
a802554df1 Revert "[GN] Don't set dart_host_toolchain (#4308)" (flutter/engine#4310)
This reverts commit 3dc8394e2ac88cd2bc48ea5b234655017991ff73.
2017-11-02 09:09:15 +01:00
Zachary Anderson
3dc8394e2a [GN] Don't set dart_host_toolchain (flutter/engine#4308) 2017-11-01 13:36:18 -07:00
Chris Bracken
a8b5631035 Eliminate dependency on chromium build tools repo (flutter/engine#4269)
The hermetic Xcode tooling in that repo is not yet easily usable for
Xcode 9. There are two main issues:

1. The tooling currently assumes that macOS host builds should use
   Xcode 8, whereas iOS builds should use Xcode 9. Flutter builds should
   use Xcode 9 in all cases.
2. The tooling currently includes a bail-out condition for iOS builds
   that exits non-zero immediately (Chrome hasn't yet migrated its iOS
   build to this tooling).

In the meantime, I've manually updated the bot infra with Xcode 9 and
we'll continue to use the current find_xcode.py tooling until Chrome's
new Mac/iOS tooling is ready.
2017-10-24 10:17:35 -07:00
P.Y. Laligand
0768d0714e Move //dart to //third_party/dart. (flutter/engine#4245) 2017-10-19 01:20:38 -07:00
Chris Bracken
1591262717 Manually specify iphonesimulator SDK in xcodebuild-arguments (flutter/engine#4242) 2017-10-18 13:34:38 -07:00
Chris Bracken
e6c37be181 Use iphonesimulator SDK for Obj-C doc generation (flutter/engine#4241)
See: https://github.com/realm/jazzy/issues/791
2017-10-18 13:23:13 -07:00
Chris Bracken
91ce24e23e Specify iOS SDK when generating Obj-C docs (flutter/engine#4240) 2017-10-18 13:04:33 -07:00
Chris Bracken
b1614258dc Add dependency on chromium/src/build for Mac/iOS build (flutter/engine#4224)
* Add dependency on chromium/src/build for Mac/iOS build

Preparation for migrating to mac_toolchain.py for installing/configuring
Xcode versions on the Mac build bots.

* Exclude third_party/chromium_build from licence script

It's used only at build time to fetch and install the correct Xcode
version.
2017-10-17 11:07:54 -07:00
Jason Simmons
7602b0001d Update the license script to include the topaz root and exclude Skia's version of libpng (flutter/engine#4136) 2017-09-22 14:03:14 -07:00
Abhishek Amit
7613894f7e Add flags to allow cross compiling to linux arm (flutter/engine#4120) 2017-09-19 14:09:35 -07:00
Michael Goderbauer
ad16a0e9d1 More clarification about license script (flutter/engine#4104) 2017-09-13 15:41:03 -07:00
Michael Goderbauer
cbde7aa2e2 Clarify licenses/README.md (flutter/engine#4102) 2017-09-13 14:04:34 -07:00
Michael Goderbauer
ac24af87f0 Format all c-like sources with clang-format (flutter/engine#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
Jason Simmons
0d77e02338 Update licenses for Garnet/FXL renaming (flutter/engine#4093) 2017-09-12 09:51:33 -07:00
Jason Simmons
18cdb9608f Set the is_official_build flag that disables GR_TEST_UTILS in Skia (flutter/engine#4072)
Fixes https://github.com/flutter/flutter/issues/11952
2017-09-06 15:55:29 -07:00
Chinmay Garde
66b6f395d0 [GN] Add a --ios-cpu flag to build an iOS armv7 capable Flutter engine. (flutter/engine#4063) 2017-09-05 14:46:39 -07:00
Chinmay Garde
699879a3f5 Allow disabling LTO in optimized builds. (flutter/engine#4057) 2017-09-05 13:00:27 -07:00
Jason Simmons
2b3c53ecd1 Update the license script for the Garnet tree (flutter/engine#4045)
See https://github.com/flutter/engine/pull/4043
2017-09-01 11:00:59 -07:00
Jason Simmons
a3fb3be303 Move libtxt under flutter/third_party in the license script (flutter/engine#4015) 2017-08-25 16:16:00 -07:00
Jason Simmons
7af7d5ee18 Update the license script to handle the new version of ICU (flutter/engine#4009) 2017-08-25 14:17:51 -07:00
Chinmay Garde
b16a1fc30f Switch to Harfbuzz 1.5.0 from Fuchsia. (flutter/engine#4006) 2017-08-25 12:57:43 -07:00
Alexander Aprelev
c5c4abaeff Introduce frontend_server that flutter tools will use for compilation. (flutter/engine#3982)
* Introduce frontend_server that allows for interactive and batch modes.

Example of batch mode:
```
$ dart $HOME/p/f/t11/flutter/engine/src/flutter/frontend_server/bin/server.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --platform-kernel-dill=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk/platform.dill $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart

out: result 79256789-598c-4909-a9e4-0ef36d4c26ba
out: 'State&TickerProviderStateMixin^#U0^' is exported from both 'package:flutter/src/widgets/animated_cross_fade.dart' and 'package:flutter/src/widgets/animated_list.dart'.
...
out: Superclass has no method named 'hitTest'.
out: 79256789-598c-4909-a9e4-0ef36d4c26ba $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart.dill
$
```

Example of interactive mode - communication via stdin/stdout:
```
$ dart $HOME/p/f/t11/flutter/engine/src/flutter/frontend_server/bin/server.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --platform-kernel-dill=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk/platform.dill --incremental

out: Frontend server is ready.
in: compile abc.dart
out: result fd99c0f9-12bb-4083-818e-2521d454fdc8
out: fd99c0f9-12bb-4083-818e-2521d454fdc8 abc.dart.dill
in: accept
in: recompile kuka
in: 123.dart
in: 456.dart
in: kuka
out: result d12f8d05-6c79-44f7-a775-1d3469e1be53
in: quit
$
```

* Add test. Cleanup dependencies.

* One more test with mocks

* Remove platform-kernel option. Refactored CompilerOptions. Clean up comments.

* Update license

* Use Uri.base.resolve consistently. Ensure folder path for sdk root. Fix test.

* Fix main_dart for frontend_server build target

* Reintroduce .packages file, add README.md, revert changes to licenses_flutter

* Run analyzer on frontend-server. Update .packages deps so tests can be run too.

* Add analyzer options file

* Clean up dependencies

* Add frontend_server files to license file back

* Fix comment in analysis_options.yaml

* Run frontend_server tests in travis

* Update licenses

* Change a+x permission on travis/test.sh

* pub get before pub run test

* Fix path to when

* Clarify accept/reject instructions

* Formatting, fixed docs, style

* Update license script to skip .travis.yml, when/example. Update license file.

* Update style nits

* Fix license

* Trim license extracted text. Fix licenses

* Update licenses_third_party signature

* Few more tests

* Update dart license

* Update dart license

* Style changes. Fix return value for Future<Null>
2017-08-21 12:55:17 -07:00
Jason Simmons
e6c9b04074 Skip third_party/benchmark in the license source crawl (flutter/engine#3986)
Also regenerate sky_engine/LICENSE to include libtxt
2017-08-16 16:35:14 -07:00
Chinmay Garde
e65145ba04 Only enable_lto on platforms where the toolchain recognizes the flag. (flutter/engine#3971) 2017-08-09 14:29:05 -07:00
Jason Simmons
0ebb76f8b5 Exclude lib/txt/third_party/fonts from the license source tree traversal (flutter/engine#3960) 2017-08-07 16:04:08 -07:00
Chinmay Garde
672b209e5e Update buildroot and opt out of LTO on unopt builds. (flutter/engine#3952) 2017-08-04 13:12:36 -07:00
Carlo Bernaschina
3d9fad41c6 Upgrade progress reporting in licenses tool (flutter/engine#3951)
On linux the licenses tools progress reporting was cluttering the screen with extra characters and sometimes was missing the last progress update.
2017-08-04 11:30:55 -07:00