9478 Commits

Author SHA1 Message Date
Alexander Aprelev
c552f8ea85
Dart roll (#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
29a6106c11
Updated status tone to reflect beta availability (#4743) 2018-03-06 05:42:12 -08:00
Petr Hosek
15bb1e9cb9
Migrate all uses of gtest to googletest (#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
a4c296d977
Revert "Roll dart to a4c69b772950c65cd73e6a84e550cc9f46083504. (#4744)" (#4745)
This reverts commit 25b25e5a89a5767e9e004606c574e7a02ecdb528 as it
causes dartbug.com/32421.
2018-03-05 14:19:15 -08:00
Alexander Aprelev
25b25e5a89
Roll dart to a4c69b772950c65cd73e6a84e550cc9f46083504. (#4744)
* Roll dart to 4688be632009ab2eae7f9ae39e929e0fa36ba365.

* Move dart dep up to a4c69b772950c65cd73e6a84e550cc9f46083504
2018-03-05 10:37:41 -08:00
Michael Goderbauer
16fe8f6b98
Use android.view.View as default for a11y nodes (#4737) 2018-03-05 09:51:08 -08:00
Sarah Zakarias
a00f8e8bc0
Read assets out of APK on Android (#4742) 2018-03-05 14:09:45 +01:00
James Tucker
b2807f8116 [fuchsia] depend on correct observatory target (#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
97b22348c8
Leave only widget creation tracker kernel pass in flutter frontend server. (#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
Brian Osman
fb16d6bb8b
Revert "Update initialization for GrVkAlloc for Skia change (#4738)" (#4740)
This reverts commit e48e3e101920357dc3f12af1e9ef8c323102ed03.
2018-03-02 09:31:37 -05:00
egdaniel
e48e3e1019 Update initialization for GrVkAlloc for Skia change (#4738)
This updates the construction of the GrVkAlloc struct since it has changed in Skia. Once flutter rolls an updated Skia, we can just call the new constructor directly in the GrVkImageInfo struct instead of needing to create the GrVkAlloc above.
2018-03-02 09:23:28 -05:00
Alexander Aprelev
c88ba37c79
Roll dart to ee15c8eb689791f6777eb3f6b0a1e9c58ff0671b. (#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
15e099fb09
Skip over .emf-files. (#4739)
.emf-files are binary media files in Microsoft enhanced mediaformat.
2018-03-01 18:44:19 -08:00
Régis Crelier
485e7eef8f
List missing core lib bigint_patch.dart source for new Bigint implementation (#4735)
* work in progress

* work in progress
2018-03-01 14:57:21 -08:00
Alexander Markov
f7c5fea6fb
Move generated entry points JSON out of flutter_patched_sdk, add an option to pass entry points to frontend_server (#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
269bab73b6
Add nil check for country code and language code (#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
a4b1fccdaa
Fix traversal order for a11y scrolling (#4726)
Fixes https://github.com/flutter/flutter/issues/14987, but why?
2018-03-01 04:53:58 -08:00
jensjoha
5e2738f039 Specify sdkSummary when compiling via frontend server (#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
6607231638
Prepare to enable global type flow analysis in AOT (#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
4d7065af2d
remove unavailabe API from FlutterDartProject.mm (#4724) 2018-02-28 14:04:14 +01:00
Sarah Zakarias
42bbef1d7e
Remove unavailable API in FlutterDartProject.h (#4723) 2018-02-28 13:37:00 +01:00
Mikkel Nygaard Ravn
3656278894
Make deprecated API unavailable (#4722) 2018-02-28 11:14:43 +01:00
Siva
b05efc2040
Roll dart in engine to version 1aaebedd7045a44ba92bb1bb27c3a8bc25d74856 (#4721) 2018-02-27 20:59:21 -08:00
Jason Simmons
9c6e29c470
libtxt: lazily populate the fallback font cache (#4720) 2018-02-27 17:09:56 -08:00
Ryan Macnak
0d4e72e86f
[fuchsia] Place Observatory in the runner's package instead of linking it in. (#4719)
This allows blobfs to deduplicate it across {dart,flutter}_{jit,aot}_runner.
2018-02-27 16:45:52 -08:00
xster
ba98f2634b
Add more haptic feedback varieties (#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
41a3747240
Roll Topaz/Tonic (#4718) 2018-02-27 12:46:02 -08:00
Jason Simmons
e133da723c
Revert "Enable libtxt as the default text renderer (#4697)" (#4717)
This reverts commit 33b88173f3820690169348859bbdc29133179e0b.

The libtxt font collection cache is consuming too much memory at startup.
2018-02-27 10:25:27 -08:00
Jim Van Verth
ae3f7ea9d4 Update to latest SkShadowUtils::DrawShadow() (#4705) 2018-02-27 12:42:23 -05:00
Vyacheslav Egorov
bacb388fda
Switch on --sync-async in Dart 2 mode (#4686) 2018-02-27 09:44:27 +01:00
Alexander Aprelev
b076f1be5a
Fix analyzer warning. (#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
86ec3db218
Add an option '--depfile' to produce ninja-style depfile for the generated kernel. (#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
3b4d0378f3
Fix SemanticsUpdate.dispose() native (#4708) 2018-02-26 08:32:40 -08:00
egdaniel
c97883dd24 Update how create a null GrVkAlloc object. (#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
5d31ce7098
Declare that a pubspec.yaml file is being generated for a dart_pkg. (#4713)
This will let other targets depend on the existence of that file.
2018-02-24 20:57:43 -08:00
P.Y. Laligand
0749b87685
Use new parameter of Fuchsia template. (#4711) 2018-02-24 11:12:44 -08:00
Chris Bracken
a5134d878b
Re-enable Dart_TimelineGetMicros on init on macOS (#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
mikejurka
3fbdbe3637
[fuchsia] Update to using a Mozart session. (#4701) 2018-02-23 21:06:59 -08:00
P.Y. Laligand
660a861672
Update the type of a Fuchsia target. (#4710) 2018-02-23 18:52:16 -08:00
Chris Bracken
26dc90cc36
Don't release on CFRef::Reset() to same instance (#4709) 2018-02-23 16:35:32 -08:00
Adam Barth
63b9dab168
[fuchsia] Rename fidl namespace to f1dl (#4707)
This rename is to prepare for the migration to FIDL2.
2018-02-23 14:07:08 -08:00
Alexander Aprelev
3697845ac6
Add option for recompile request to switch to new main file(entrypoint). (#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
mikejurka
44dbdbe3ef
[fuchsia] Renamed PresentationInfo (#4702) 2018-02-22 21:34:48 -08:00
Alhaad Gokhale
0cc0784dd5
Remove use of ApplicationLaunchInfo::ServiceProvider from content (#4700)
handler.
2018-02-22 15:23:27 -08:00
xster
edc7f659e2
Relabel the performance overlay graphs (#4698) 2018-02-22 15:01:18 -08:00
Yegor
3bbc71df69
fix naming of static function intToComparisonResult (#4685) 2018-02-22 11:24:51 -07:00
Jason Simmons
33b88173f3
Enable libtxt as the default text renderer (#4697) 2018-02-21 13:34:31 -08:00
Todd Volkert
ead227f118
Respect Switch::SkiaDeterministicRendering in all runtime modes (#4695)
https://github.com/flutter/flutter/issues/14519
2018-02-20 19:36:34 -08:00
Todd Volkert
4cafde3c80
Add flag to skip call to SkGraphics::Init() (#4694)
https://github.com/flutter/flutter/issues/14519
2018-02-20 17:42:11 -08:00
Todd Volkert
5856104563
Rev Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (#4693) 2018-02-20 13:17:31 -08:00