Commit Graph

5172 Commits

Author SHA1 Message Date
Siva
da08b4af52 Roll Dart to version eab492385c3f345cb2f44f3b702b0e30e4a9c107 (flutter/engine#5979)
It includes the following changes:
eab492385c Updates for passing / failing analysis_server tests.
235ccc9374 Remove --checked from dart --help
77d6758afb Attempt to fix failing tests on the windows bots
a2b052939e [vm] Add timeline events for GC phases.
9e9adcef57 [observatory] Include observatory main.dart.js.map with debug build.
7eda513405 [infra] Add new vm-kernel-precomp builders to the test matrix
83aa463fac Enable a few more server tests under CFE
75f92ac8fe Point old super mixin informal spec to canonical copy
5dd2aca7fe [kernel] Fix non-deterministic output generation
85d85246ad [vm/kernel/bytecode] Revise access to instance fields in bytecode
af45552aa5 [gen_snapshot] Remove --print_dependencies and --dependencies_only.
34f17b2973 [VM] Add missing 6-type-test to subtypecache search in simdbc (it has it in 2 places)
19a90c2c8b More CFE tests for server
6879e4cedc Add completion contributor tests for CFE
6137511849 Add more CFE tests for server
1cd9175e3e Fix mixed dartdoc processing
575a8f8381 [VM] Extend subtype-test mechanism with support for generic methods
278d962a7f [vm/precomp] Update status files for Dart 1 AOT.
35d26c9b14 Always use relative paths to import from within the front end
84d8887d3f Fixes a minor typo in the documentation of the StreamTransformer class.
1b6992b915 [dart2js] Mark failing unit tests as RuntimeError to fix CQ (#34095)
9b5a4241de [vm, gc] Don't rebuild the remembered set during marking.
c712470bb9 dart2js status bingo
dac348c8c9 [observatory] Only run field guards test if it is enabled in the vm.
4d156f9fb0 [dart2js] Fix function_type GVN bug
4196c0e2f5 Fix dart2js/sourcemaps/minified_names_test
8c059e7a34 Update language_2 status file for kernel bytecode passing tests.
ac69a3041a [vm, gc] Rename store_buffer.h as pointer_block.h as it also defines the mark stack blocks.
9510738c62 dart2js status update
6bdf3b7ed6 [observatory] Fix _guardLength serialization to output a string, rather than an int.
1f4449658d Refactor dartdoc parsing
0fbe9d3a95 [dart2js] Dynamically generated tear-off constructors should have names
cb4f5b3a3a Resynthesize nameOffset for properties/parameters.
69f216d4f1 Fix mock SDK and Flutter to pass some Flutter tests.
c619413fef Fix for unawaited future in assists.
66693ea6e2 [VM runtime] For now, do not use field guards when using kernel bytecode.
31765bf56f Clean up some hints in server code
c30af508a4 Store import prefix offset into metadata and resynthesize.
c439ebead0 [vm, gc] Update old allocation stats when scanning instead of pushing.
d933d4aa39 Update tests for const constructors in subclasses of mixin applications
b570ea1ff1 status update to make dart2js run function_type/ tests
9767af2550 [vm/precomp] Support @pragma for fields and remove associated entry-point entries.
80e08e0913 Use 'useCFE' flag to turn on CFE in AnalysisDriver.
98cf15cf5b Remove unnecessary commentToken parameter
89fd468b89 remove unused DocumentationCommentToken.references field
49b18446c2 Refactor dartdoc parsing
bc8a8386af Fix tests that reference the flutter package
de408202a5 [vm/precomp] Take 4 for procedure- and class-entrypoints.
2018-08-08 15:47:25 -07:00
Alexander Aprelev
5de4538b21 Fix IsolateStart event kind. (flutter/engine#5978) 2018-08-08 15:45:26 -07:00
Keerti Parthasarathy
96656470a0 Annotate deprecated methods with @Deprecated (flutter/engine#5976) 2018-08-08 13:02:41 -07:00
skia-flutter-autoroll
3f80c63efd Roll src/third_party/skia 0c5b0b1dd692..9c9611fcc1bb (13 commits) (flutter/engine#5977)
Auto-roller completed checks. Merging.
2018-08-08 15:35:40 -04:00
Jonah Williams
f9378b453c make ios text affinity behavior match android (flutter/engine#5971) 2018-08-08 10:54:29 -07:00
skia-flutter-autoroll
9944a6b80a Roll src/third_party/skia f5402004c4a6..0c5b0b1dd692 (11 commits) (flutter/engine#5975)
Auto-roller completed checks. Merging.
2018-08-08 12:13:07 -04:00
skia-flutter-autoroll
b5019ba63b Roll src/third_party/skia 4856f5fa596d..f5402004c4a6 (1 commits) (flutter/engine#5974)
Auto-roller completed checks. Merging.
2018-08-08 08:50:06 -04:00
skia-flutter-autoroll
dcd74b747e Roll src/third_party/skia 20714bdf90f3..4856f5fa596d (1 commits) (flutter/engine#5973)
Auto-roller completed checks. Merging.
2018-08-08 05:36:06 -04:00
skia-flutter-autoroll
14d9c814b3 Roll src/third_party/skia faeef7837210..20714bdf90f3 (11 commits) (flutter/engine#5970)
Auto-roller completed checks. Merging.
2018-08-07 22:20:24 -04:00
amirh
8eb80d3e3d Complete the AndroidView resize call only after a new frame is ready. (flutter/engine#5968)
This allows the framework to know that a frame with the resized view is
ready and to behave deterministically to workaround the jank issue
described in flutter/flutter/19572
2018-08-07 18:56:34 -07:00
Alexander Markov
47f6872051 Roll Dart to 1ac34f151363958a11bb2997611acc2a1d54ed01 (flutter/engine#5969) 2018-08-07 17:44:27 -07:00
skia-flutter-autoroll
d6c9bfe76d Roll src/third_party/skia 177742435e52..faeef7837210 (1 commits) (flutter/engine#5967)
Auto-roller completed checks. Merging.
2018-08-07 19:03:24 -04:00
liyuqian
bc75dc5d85 Call drawPath without clip if possible (flutter/engine#5952)
It turns out that Skia is much slower at drawing paint inside a clipped
path than directly drawing that path. (Average frame time of 22ms vs
18ms in flutter_galary transition test.)
2018-08-07 14:47:32 -07:00
amirh
9d38d63147 Allow freezing a texture. (flutter/engine#5938)
This is needed to avoid jank when resizing an embedded Android view.
See
https://github.com/flutter/flutter/issues/19572#issuecomment-410400724
2018-08-07 14:43:19 -07:00
Ben Konyi
10e272f154 Persist DartCallbackCache contents across launches (flutter/engine#5947)
* Updated DartCallbackCache to write callback cache to disk which is
restored on engine startup
* Ensure cache isn't moved off disk in iOS
2018-08-07 14:37:19 -07:00
Jason Simmons
ee273cef41 libtxt: truncate paragraph width to an integer in order to match Blink's behavior (flutter/engine#5962)
See https://github.com/flutter/flutter/issues/18665
2018-08-07 13:56:34 -07:00
Todd Volkert
21c7a646ca Don't implicitly fall through in switch statement (flutter/engine#5964) 2018-08-07 13:18:26 -07:00
Jonah Williams
3b5e35f4b9 Apply translation to accessibility tree when in landscape (flutter/engine#5950) 2018-08-07 13:09:18 -07:00
Ben Konyi
6d5fce84ae Reland "Updated background execution implementation for Android" (flutter/engine#5954)
* Reland "Updated background execution implementation for Android" w/ JNI fixes for merge breakages

This reverts commit 4a12df930a.
2018-08-07 12:42:22 -07:00
skia-flutter-autoroll
80c7778595 Roll src/third_party/skia 36216fb0acbc..177742435e52 (15 commits) (flutter/engine#5963)
Auto-roller completed checks. Merging.
2018-08-07 15:40:24 -04:00
skia-flutter-autoroll
4431e99739 Roll src/third_party/skia e6d0618f677c..36216fb0acbc (11 commits) (flutter/engine#5960)
Auto-roller completed checks. Merging.
2018-08-07 12:17:24 -04:00
skia-flutter-autoroll
dc3d89607a Roll src/third_party/skia 01d9a344b575..e6d0618f677c (1 commits) (flutter/engine#5958)
Auto-roller completed checks. Merging.
2018-08-07 08:47:24 -04:00
skia-flutter-autoroll
99e9fcb2a4 Roll src/third_party/skia fdf05f4ff4e9..01d9a344b575 (1 commits) (flutter/engine#5957)
Auto-roller completed checks. Merging.
2018-08-06 22:57:24 -04:00
Alexander Markov
a1a193efc3 Revert "Roll Dart to 17b54c76ce9b945c6f013ad08c19268409c0694a (#5955)" (flutter/engine#5956)
This reverts commit a33e60a259.
2018-08-06 18:37:10 -07:00
Alexander Markov
a33e60a259 Roll Dart to 17b54c76ce9b945c6f013ad08c19268409c0694a (flutter/engine#5955)
dart-lang/sdk@17b54c7 Improve error detection in search code
dart-lang/sdk@0ac1178 Initial stress test for code completion
dart-lang/sdk@e0f6fdf Refactor testing:TestConfiguration to use smith:Configuration by inclusion.
dart-lang/sdk@95d1ebd Fix one cause of timeouts in tests
dart-lang/sdk@72b2542 Mark tests with Dart 1 constants in const context failing in all configs.
dart-lang/sdk@42b02e0 Add more test steps to the analyzer --use-cfe bots.
dart-lang/sdk@8bec83b Add the analyzer-use-cfe-linux bot to the commit queue.
dart-lang/sdk@315216e [dart2js] Avoid collision with getInterceptor.
dart-lang/sdk@f02d4d4 Fix bad merge
dart-lang/sdk@1a83245 Triage language tests for void
dart-lang/sdk@35a982b [VM kernel] Add missing type parameter finalization in type reader.
dart-lang/sdk@09a8660 fix typo
dart-lang/sdk@8cbbd7a [VM interpreter] Use write barrier in implicit setter.
dart-lang/sdk@91caf82 Do self-interceptor optimization on a per-use basis
dart-lang/sdk@8df84c0 Store resolution for out of range integer literals.
dart-lang/sdk@bfa890d [vm/compiler] Various 64-bit operator improvements.
dart-lang/sdk@92a7094 Fix three missing return warnings.
dart-lang/sdk@1babc13 [vm/kernel/bytecode] Report compile-time errors from constant evaluation while generating bytecode
dart-lang/sdk@8114ecb Fix tests after fixing constant fields with CFE.
dart-lang/sdk@85edb76 Fix field constants verifying with CFE.
dart-lang/sdk@8692936 Verify constants using Analyzer.
dart-lang/sdk@b83072c Clean up use of callFailingTest
dart-lang/sdk@8d3d82a [vm/kernel] Untangle the spaghetti-code in BuildGraphOfFunction and fix bugs.
dart-lang/sdk@368bcc4 Add parse dartdoc tests for fasta parser
dart-lang/sdk@cda3659 [fasta] Handle annotations on formals of typedefs
dart-lang/sdk@46743f3 Remove $runtime == drt sections and uses of drt from status files.
dart-lang/sdk@637e55d [kernel] Add VariableDeclarations to represent formals of Typedefs
dart-lang/sdk@4c455e7 [VM] During hot-reload check if .packages was modified, tell IKG to re-load it if so
dart-lang/sdk@5a259ac De-flake the analysis server integration tests.
dart-lang/sdk@380696f Set element/type for some resynthesized expressions.
dart-lang/sdk@4ab8408 [vm/kernel/bytecode] Support partial tear-off instantiation constants in bytecode generator and bytecode reader
dart-lang/sdk@62a2752 Translate ConstructorElement(s) of parameterized InterfaceType(s) to ConstructorMember(s).
dart-lang/sdk@a19a468 Revise CHANGELOG.
dart-lang/sdk@91c6130 CHANGELOG copyedits
dart-lang/sdk@5f4c617 Fix typo in CHANGELOG.md
dart-lang/sdk@5313553 Run the analysis server 'analysis-server-cold' with --use-cfe.
dart-lang/sdk@758e5ea Use '=' for default values of named parameters.
dart-lang/sdk@f625490 Attempt to fix failures on the windows bot
dart-lang/sdk@bbfc465 Cleaned up a few entries in the CHANGELOG
dart-lang/sdk@e402732 Improve documentation of the -O flag
2018-08-06 17:47:29 -07:00
skia-flutter-autoroll
6e5bc910ca Roll src/third_party/skia 641ac7daa81c..fdf05f4ff4e9 (3 commits) (flutter/engine#5953)
Auto-roller completed checks. Merging.
2018-08-06 19:11:24 -04:00
liyuqian
7357a29311 Remove travis directory (flutter/engine#5935)
This reflects that we no longer uses travis. Scripts are moved to ci folder.
2018-08-06 15:06:49 -07:00
Alexander Markov
4a12df930a Revert "Updated background execution implementation for Android" (flutter/engine#5949)
This reverts commit e9e6e8a2bf.
2018-08-06 14:10:23 -07:00
Jonah Williams
9d5862edbb Add hasImplicitScrolling SemanticFlag and support in Android bridge (flutter/engine#5941) 2018-08-06 13:57:00 -07:00
skia-flutter-autoroll
486537a441 Roll src/third_party/skia 6e487e67a3f3..641ac7daa81c (16 commits) (flutter/engine#5948)
Auto-roller completed checks. Merging.
2018-08-06 16:56:46 -04:00
Ben Konyi
e9e6e8a2bf Updated background execution implementation for Android 2018-08-06 12:27:57 -07:00
skia-flutter-autoroll
ec619d1e4a Roll src/third_party/skia 12fb9cfeee07..6e487e67a3f3 (8 commits) (flutter/engine#5946)
Auto-roller completed checks. Merging.
2018-08-06 13:32:46 -04:00
skia-flutter-autoroll
aae2c088ac Roll src/third_party/skia 2e77f54f46e8..12fb9cfeee07 (1 commits) (flutter/engine#5945)
Auto-roller completed checks. Merging.
2018-08-06 10:10:46 -04:00
Petr Hosek
438316f98d Replace acquire+release thread annotation with excludes (flutter/engine#5944)
The behavior of acquire+release annotation handling has changed in
https://reviews.llvm.org/D49355 which breaks the build with the new
Clang. However, as has been pointed out, the acquire+release isn't
the right way to prevent double locking as the annotations negate
each other; the correct way is to use excludes or negative requires.
Using excludes annotations also requires using std::lock_guard instead
of std::unique_lock because the latter doesn't have the thread
annotations due to deferred locking which is not needed in Flutter and
so std::lock_guard is a sufficient alternative.
2018-08-05 18:25:43 -07:00
skia-flutter-autoroll
21d1e1d6c2 Roll src/third_party/skia 59aabbcf3b0d..2e77f54f46e8 (1 commits) (flutter/engine#5943)
Auto-roller completed checks. Merging.
2018-08-05 04:42:46 -04:00
skia-flutter-autoroll
6f4b82f98b Roll src/third_party/skia 71fe8baccc01..59aabbcf3b0d (1 commits) (flutter/engine#5942)
Auto-roller completed checks. Merging.
2018-08-03 23:49:46 -04:00
skia-flutter-autoroll
d81b0194f9 Roll src/third_party/skia 4c3b63e289c5..71fe8baccc01 (3 commits) (flutter/engine#5940)
Auto-roller completed checks. Merging.
2018-08-03 20:26:46 -04:00
liyuqian
970df7c987 Call drawPaint instead of drawPath if there's clip (flutter/engine#5937)
If we want to avoid the bleeding edge artifact (flutter/flutter#18057 (comment)) using saveLayer, we have to call drawPaint instead of drawPath as anti-aliased drawPath will always have such artifacts.

This is discovered when I try to add golden tests for such bleeding artifacts using our new Clip enum. Here's the updated golden files: flutter/goldens@cb1fa8a?short_path=57b30ce#diff-57b30cea9b10b7ca689009854e12d70e
2018-08-03 17:00:00 -07:00
skia-flutter-autoroll
bfdb255105 Roll src/third_party/skia cdfa16d086b8..4c3b63e289c5 (9 commits) (flutter/engine#5936)
Auto-roller completed checks. Merging.
2018-08-03 17:05:46 -04:00
skia-flutter-autoroll
e5161b68db Roll src/third_party/skia 1400d38e0863..cdfa16d086b8 (10 commits) (flutter/engine#5934)
Auto-roller completed checks. Merging.
2018-08-03 13:41:46 -04:00
amirh
3cc77fae93 Flush all embedded Android views on hot restart. (flutter/engine#5929)
* Flush all embedded Android view on hot restart.

Adds an OnEngineRestarted method to PlatformView, this is currently only
implemented for Android where we need to use it for embedded views.

* review comments followup

* rename to OnPreEngineRestart, call before Clone
2018-08-03 08:54:12 -07:00
skia-flutter-autoroll
135bfa4182 Roll src/third_party/skia 578ef2847b72..1400d38e0863 (7 commits) (flutter/engine#5933)
Auto-roller completed checks. Merging.
2018-08-03 10:17:46 -04:00
amirh
c5dfa3a45c Don't drop MotionEvents with unknown tool type. (flutter/engine#5931)
Instead, send them with the new unknown PointerDeviceKind.

We hit this when running `adb shell input tap` in tests which sends events with
an unknown tool type.

This also fills in a missing conversion for TOOL_TYPE_ERASER.
2018-08-02 16:05:55 -07:00
skia-flutter-autoroll
7a147d6b6d Roll src/third_party/skia 64cc576b1fa7..578ef2847b72 (20 commits) (flutter/engine#5930)
Auto-roller completed checks. Merging.
2018-08-02 18:25:46 -04:00
Régis Crelier
474c79d213 Roll Dart to b04def964c428ada007cca7ef6b4936001db965d (flutter/engine#5928)
* b04def964c [VM interpreter] Save previous argdesc_ and pp_ on reentry, restore on exit.
92ae73b6d8 Fork the remaining subclasses of AbstractAnalysisClass
884536dfaa [vm/kernel/bytecode] Fix bytecode generation for async closures
ae001707b7 [vm/kernel/bytecode] Do not call getter for a static field initialized with double literal
87f753dbd3 Replace some declarations of element with declaredElement
2be2cf2061 Bump analyzer_cli protobuf dep
206f955c43 [vm/compiler] Non-speculative ARM64 long division/remainder.
4bb3fb6cae Don't rewrite error Severity for special cases of front-end testing.
d6189709b8 Issue 33506. Rewrite MethodInvocation into InstanceCreationExpression.
26e087e66b Don't save Tokens in Judgments
4c75b49b3f Clear Token in field builder after use
ea0468dff4 Fork more server tests to run under CFE
841f62715a Clean up some hints from the analyzer code base
c5f933fdf7 [vm/lib] String._identityHashCode should be the same as String.get:hashCode
4fa139b4b8 [vm/compiler] Rework how logical expressions are compiled to IL.
9bb39ccabc [infra] Update checked in SDKs to 2.0.0-dev.69.5
2580bf87ae Fix invalid assert that slipped by in ac8fdb5a
1c2043e3a6 Update service test more to not be different in sync async mode
ac8fdb5a58 Add :controller_stream and call _asyncStarListenHelper
2e98da68f9 Call _asyncStarMoveNextHelper in kernel
cb5513fbc9 Make a single clear CHANGELOG entry for all 2.0.0 changes.
d3df394870 Add -O flag and documentation.
3f1bb85f17 [vm/kernel/bytecode] Do not generate InstantiateType for instantiated generic function types
c5ac5c0a2c [vm/kernel/bytecode] Fix serialization of closures with type arguments
ff0327be67 [vm] Streamline passing of ICData through compilation pipeline
012766901e Status file two flaky pkg bot tests.
6a6e7abfc6 Clean up some warnings in the server code base
e578b60899 Bump the analysis driver cache seed.
f169ebf418 Fork several server tests to run under CFE
b1c9b67b68 Add initial content for the analyzer --use-cfe builders.
373ed6b47f Create a LineInfo when resynthesizing a CompilationUnitElement
2a23bc2e0b Update named configurations on builders, turn off checking temporarily.
32851e157f Add support for running some non-integration tests in server using the CFE
0fd93a5c6e Test.dart exits with non-zero exit code if named configuration disagrees with flags.
804fc2add3 [VM runtime] Consider partial instantiation when printing closures (fixes #34034). Add regression test.
c3b7f29d46 Change a pair of negative tests to multitests
f10b4005cd Code to load a named configuration and check it against the existing options.
695476f115 Status file after 03df8b1
7413644de8 Change builder names from -ff- to -firefox-
0c187585c5 Added return-void-2-dynamic to whitelist of generalized-void.md
6920d6b11e Added specification of generated nSM forwarders for private methods
03df8b1eb8 Change a few language_2 tests to comply with reality
cf77a3b00f [Test.dart] Use Compiler, Runtime, etc. classes from pkg:smith.
55880dfeed Add support in the new API for CFE
4b07df24dd Store invalid deferred types used in bodies.
89cfa2edd7 Update package:test_reflective_loader.

* Update DEPS

* Update travis/licenses_golden/licenses_third_party
2018-08-02 14:51:48 -07:00
James D. Lin
922785f8a8 Add an explicit -[FlutterViewController init] implementation (flutter/engine#5924)
* Add an explicit `-[FlutterViewController init]` implementation

`-[FlutterViewController init]` currently works because it inherits
the `-[UIViewController init]` convenience initializer that invokes
the `-[UIViewController initWithNibName:bundle:]` designated
initializer that `FlutterViewController` overrides.

However, this doesn't seem to be explicitly documented, so it's a bit
confusing (or at least non-obvious), and it seems potentially
brittle.  Add an explicit implementation of `-[FlutterViewController
init]` instead.
2018-08-02 14:03:42 -07:00
skia-flutter-autoroll
7aa87f285f Roll src/third_party/skia e43024a5bab7..64cc576b1fa7 (1 commits) (flutter/engine#5926)
Auto-roller completed checks. Merging.
2018-08-02 03:38:46 -04:00
skia-flutter-autoroll
c2b0d845dc Roll src/third_party/skia ed8bc196bd56..e43024a5bab7 (1 commits) (flutter/engine#5925)
Auto-roller completed checks. Merging.
2018-08-01 22:33:46 -04:00
Michael Goderbauer
53e707207e Switch to minimal ICU data config for flutter (flutter/engine#5922) 2018-08-01 17:24:07 -07:00
skia-flutter-autoroll
a6a03bef6b Roll src/third_party/skia afea9c32acd9..ed8bc196bd56 (20 commits) (flutter/engine#5923)
Auto-roller completed checks. Merging.
2018-08-01 19:13:46 -04:00