4176 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
Tim Sneath
a52b6e0b12 Updated status tone to reflect beta availability (flutter/engine#4743) 2018-03-06 05:42:12 -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
Michael Goderbauer
75f69f286c Use android.view.View as default for a11y nodes (flutter/engine#4737) 2018-03-05 09:51:08 -08:00
Sarah Zakarias
9f5ad5fd1e Read assets out of APK on Android (flutter/engine#4742) 2018-03-05 14:09:45 +01:00
James Tucker
3e8fe4ec27 [fuchsia] depend on correct observatory target (flutter/engine#4741)
The Fuchsia Package targets depend on the observatory FAR archive, which is
generated by a rule with a deceptively similar name.
2018-03-03 21:49:22 -08:00
Alexander Aprelev
8dc44e0d70 Leave only widget creation tracker kernel pass in flutter frontend server. (flutter/engine#4727)
* Leave only widget creation tracker kernel pass in flutter frontend server.

This is follow-up to https://dart-review.googlesource.com/c/sdk/+/43888.

* Adapt to updated interface

* Tyop

* Fix imports. Compiler interface extension

* Add trivial test back. Rename library to flutter_frontend_server.
2018-03-02 07:52:19 -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
Régis Crelier
972406f074 List missing core lib bigint_patch.dart source for new Bigint implementation (flutter/engine#4735)
* work in progress

* work in progress
2018-03-01 14:57:21 -08:00
Alexander Markov
8bd1d0d50e Move generated entry points JSON out of flutter_patched_sdk, add an option to pass entry points to frontend_server (flutter/engine#4734)
Flutter downloads only one version of flutter_patched_sdk, which was obtained from host_debug build on Linux. Generated entry points JSON files are different in profile and release builds (as release build omits observatory), so these files should be downloaded independently of flutter_patched_sdk.

This PR moves generated entry points JSON files from flutter_patched_sdk to a separate directory (out/*/dart_entry_points) and adds an option to specify entry points to frontend_server (as Flutter tools will need to pass custom locations of entry points files outside of flutter_patched_sdk).
2018-03-01 14:02:35 -08:00
Chris Bracken
37165bd6cc Add nil check for country code and language code (flutter/engine#4732)
NSLocale objectForKey: may return nil for NSLocaleLanguageCode and
NSLocateCountryCode in certain cases.

This adds a defensive nil check for such cases.
2018-03-01 13:46:22 -08:00
Michael Goderbauer
4294850976 Fix traversal order for a11y scrolling (flutter/engine#4726)
Fixes https://github.com/flutter/flutter/issues/14987, but why?
2018-03-01 04:53:58 -08:00
jensjoha
ae33eb844f Specify sdkSummary when compiling via frontend server (flutter/engine#4733)
Without specifying sdkSummary it defaults to vm_outline.dill which is not what we want if using mixins from the sdk.
2018-03-01 11:32:08 +01:00
Alexander Markov
446118c542 Prepare to enable global type flow analysis in AOT (flutter/engine#4725)
* Generate Flutter-specific entry points JSON file while building engine.
* Add ''--tfa' option to front-end server.
* Rename _entryPoint field in front-end server to _mainSource to avoid disambiguation.
2018-02-28 15:31:52 -08:00
Sarah Zakarias
01ee444738 remove unavailabe API from FlutterDartProject.mm (flutter/engine#4724) 2018-02-28 14:04:14 +01:00
Sarah Zakarias
e0fdc00ee7 Remove unavailable API in FlutterDartProject.h (flutter/engine#4723) 2018-02-28 13:37:00 +01:00
Mikkel Nygaard Ravn
544e9d3480 Make deprecated API unavailable (flutter/engine#4722) 2018-02-28 11:14:43 +01:00
Siva
022a4bb887 Roll dart in engine to version 1aaebedd7045a44ba92bb1bb27c3a8bc25d74856 (flutter/engine#4721) 2018-02-27 20:59:21 -08:00
Jason Simmons
9a0e923167 libtxt: lazily populate the fallback font cache (flutter/engine#4720) 2018-02-27 17:09:56 -08:00
Ryan Macnak
77d162e857 [fuchsia] Place Observatory in the runner's package instead of linking it in. (flutter/engine#4719)
This allows blobfs to deduplicate it across {dart,flutter}_{jit,aot}_runner.
2018-02-27 16:45:52 -08:00
xster
5809f804f4 Add more haptic feedback varieties (flutter/engine#4699)
* Add more haptic feedback varieties

* Make the specific feedback types do nothing on <iOS 10
2018-02-27 14:55:18 -08:00
Jason Simmons
e6ca9221d5 Roll Topaz/Tonic (flutter/engine#4718) 2018-02-27 12:46:02 -08:00
Jason Simmons
32d7bed11b Revert "Enable libtxt as the default text renderer (#4697)" (flutter/engine#4717)
This reverts commit 11b7c21e44c54e43dbc79c831d9097b92f6c09ef.

The libtxt font collection cache is consuming too much memory at startup.
2018-02-27 10:25:27 -08:00
Jim Van Verth
9673d1e3e5 Update to latest SkShadowUtils::DrawShadow() (flutter/engine#4705) 2018-02-27 12:42:23 -05:00
Vyacheslav Egorov
51dc8c3808 Switch on --sync-async in Dart 2 mode (flutter/engine#4686) 2018-02-27 09:44:27 +01:00
Alexander Aprelev
91babc8e83 Fix analyzer warning. (flutter/engine#4715)
* Fix analyzer warning.

  warning • This function declares a return type of 'Future<void>', but doesn't end with a return statement at flutter/frontend_server/lib/server.dart:340:1 • missing_return

* Remove await

* Ignore warning.
2018-02-26 10:56:51 -08:00
Alexander Aprelev
a9798b413c Add an option '--depfile' to produce ninja-style depfile for the generated kernel. (flutter/engine#4704)
* Add an option '--depfile' to produce ninja-style depfile for the generated kernel file.

* Use [program.uriToSource] as a source of dependencies.
2018-02-26 08:55:20 -08:00
Zachary Anderson
f0c5780dbc Fix SemanticsUpdate.dispose() native (flutter/engine#4708) 2018-02-26 08:32:40 -08:00
egdaniel
b0e6b1b55e Update how create a null GrVkAlloc object. (flutter/engine#4714)
When resetting to a null GrVkAlloc alloc use the default ctor instead of the { } initializer. This is needed so an upcoming Skia change doesn't break the flutter build.
2018-02-26 09:51:46 -05:00
P.Y. Laligand
95d52d543c Declare that a pubspec.yaml file is being generated for a dart_pkg. (flutter/engine#4713)
This will let other targets depend on the existence of that file.
2018-02-24 20:57:43 -08:00
P.Y. Laligand
28a10866e0 Use new parameter of Fuchsia template. (flutter/engine#4711) 2018-02-24 11:12:44 -08:00
Chris Bracken
a5e4e34bbc Re-enable Dart_TimelineGetMicros on init on macOS (flutter/engine#4712)
Previously, a call to Dart_TimelineGetMicros() before a call to
Dart_Initialize() resulted in a crash. This was fixed in
dart-lang/sdk@7434bcad57.

Related:
* flutter/flutter#4006: SkyShell.app on Mac crashes on startup
* dart-lang/sdk#26486:  [dart_tools_api.h] Dart_TimelineGetMicros crashes on Mac if called before Dart_Initialize
2018-02-24 10:21:40 -08:00
P.Y. Laligand
37a0e71c71 Update the type of a Fuchsia target. (flutter/engine#4710) 2018-02-23 18:52:16 -08:00
Chris Bracken
27245ea6de Don't release on CFRef::Reset() to same instance (flutter/engine#4709) 2018-02-23 16:35:32 -08:00
Alexander Aprelev
294daddbf1 Add option for recompile request to switch to new main file(entrypoint). (flutter/engine#4703)
* Add option for recompile request to switch to new main file(entrypoint).

This is needed to reuse incremental compiler to compile unrelated programs. First use case is reuse single
incremental compiler for all tests run by 'flutter test'

* Remove left over print
2018-02-22 23:08:54 -08:00
xster
4c986b60e2 Relabel the performance overlay graphs (flutter/engine#4698) 2018-02-22 15:01:18 -08:00
Yegor
81545c43df fix naming of static function intToComparisonResult (flutter/engine#4685) 2018-02-22 11:24:51 -07:00
Jason Simmons
11b7c21e44 Enable libtxt as the default text renderer (flutter/engine#4697) 2018-02-21 13:34:31 -08:00
Todd Volkert
d72908a9fe Respect Switch::SkiaDeterministicRendering in all runtime modes (flutter/engine#4695)
https://github.com/flutter/flutter/issues/14519
2018-02-20 19:36:34 -08:00
Todd Volkert
1555f6f175 Add flag to skip call to SkGraphics::Init() (flutter/engine#4694)
https://github.com/flutter/flutter/issues/14519
2018-02-20 17:42:11 -08:00
Todd Volkert
84701b5339 Rev Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (flutter/engine#4693) 2018-02-20 13:17:31 -08:00
reed-at-google
5d26fdffeb remote tilemode count check, so Skia can add another one (flutter/engine#4692) 2018-02-20 14:05:08 -05:00
Adam Barth
db4e089e22 Reduce logspam in DirectoryAssetBundle (flutter/engine#4690)
It's not an error to request an asset that doesn't exist. In fact, we
request kernel_blob.bin unconditionally at startup, which doesn't
typically exist.
2018-02-19 08:38:45 -08:00
Mikkel Nygaard Ravn
5de8c90177 Place LICENSE as sibling of podspec (flutter/engine#4691) 2018-02-19 16:33:30 +01:00
Alexander Aprelev
9742ed5cb6 Write artifacts produced during frontend_server training into temp folder. (flutter/engine#4687)
* Write artifacts produced during frontend_server training into temp folder.

* Write artifacts produced during frontend_server training into temp folder.

* Fix File/String mixup

* Remove temp directory. Use full prefix for package

* Delete in finally {}
2018-02-18 14:48:55 -08:00
Zachary Anderson
b2b7309505 Roll Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (flutter/engine#4689) 2018-02-16 14:59:21 -08:00
Yegor
d9a1fb11b5 iOS a11y: Implement strong down weak up reference management (flutter/engine#4602)
* fix iOS crash in a11y mode when used too fast

* clang-format
2018-02-15 16:33:05 -08:00