5190 Commits

Author SHA1 Message Date
Stanislav Baranov
e8ffe24cde Make 'gn --debug' and 'gn --debug --dynamic' identical. (flutter/engine#5999) 2018-08-10 15:34:41 -07:00
John Bauman
5c40c82966 Enable VK_KHR_get_physical_device_properties2 (flutter/engine#5982) 2018-08-10 15:33:21 -07:00
John Bauman
0ed9c458bf Add VK_ERROR_FRAGMENTATION_EXT (flutter/engine#5981) 2018-08-10 15:33:03 -07:00
skia-flutter-autoroll
afac33e46f Roll src/third_party/skia a9660ec89bc7..609fbe34de01 (7 commits) (flutter/engine#5998)
Auto-roller completed checks. Merging.
2018-08-10 18:24:54 -04:00
Chinmay Garde
cef3ee517c Check the kernel header magic to determine if a mapping may be a valid kernel blob. (flutter/engine#5997) 2018-08-10 15:12:48 -07:00
nathanrogersgoogle
df71c78332 Add a delay to Animator::BeginFrame's NotifyIdle call (flutter/engine#5972)
This change adds a delay before Animator::BeginFrame calls its
delegate's OnAnimatorNotifyIdle.  This is because under certain
workloads, such as our parent view resizing us, which is communicated
via viewport change events, we won't have a frame scheduled yet in the
animator, despite the fact that we will go on to schedule a frame once
the viewport event arrives.

In Fuchsia's resizing performance test, on our reference high end x86-64
hardware, the previous logic was resulting in a ~45ms garbage collection
right after the first frame of an animation.
2018-08-10 13:28:09 -07:00
Stanislav Baranov
b4ce259bcf Fix codepush breakage caused by #5954. (flutter/engine#5996) 2018-08-10 13:23:51 -07:00
amirh
af25774b82 Cast MotionEvent timestamps to Number. (flutter/engine#5994)
Dart might choose to marshall the timestamps to a Java Long or Integer.
Casting directly to int was crashing when the timestamp wass a Long.
2018-08-10 12:46:49 -07:00
skia-flutter-autoroll
85184bfeb0 Roll src/third_party/skia 6ed63968a391..a9660ec89bc7 (14 commits) (flutter/engine#5993)
Auto-roller completed checks. Merging.
2018-08-10 15:01:54 -04:00
Todd Volkert
306464cb6f Reference platform_strong.dill, not platform.dill (flutter/engine#5992) 2018-08-10 11:55:36 -07:00
Jason Simmons
3f83f0e416 Update to FreeType 2.9.1 (flutter/engine#5991)
Fixes https://github.com/flutter/flutter/issues/20303
2018-08-10 11:10:26 -07:00
skia-flutter-autoroll
081c8f7951 Roll src/third_party/skia 5b5d84cc1f37..6ed63968a391 (4 commits) (flutter/engine#5989)
Auto-roller completed checks. Merging.
2018-08-10 11:40:54 -04:00
skia-flutter-autoroll
b913b30bd9 Roll src/third_party/skia 0d5d0659a684..5b5d84cc1f37 (39 commits) (flutter/engine#5988)
Auto-roller completed checks. Merging.
2018-08-10 08:16:54 -04:00
Martin Kustermann
9374aa15fc Roll Dart to version be6309690fd60284a87f3258a740c7c30efb1092 (flutter/engine#5987)
This rolls includes the following changes:

be6309690f (HEAD) Analyze pkg/dart2js_tools on the bots.
6f9073bb9d Wait for Analysis Server errors only while waiting for a response.
5d4e85ba3d Allow `x == null` to be a constant value whenever x is const.
7c77ed04f4 Move deobfuscation tools to the SDK repo
666c8c1a89 Fix @visibleForTemplate tests on Windows.
6fc1dd4480 analyzer_plugin no implicit-casts.
29401573d5 Get documentation comments before metadata as well.
3d0a663518 [vm/frontend-server] Fix frontend_server so that it can be tested.

* fix analyzer hint

* use --enable-asserts instead of --checked
2018-08-10 13:42:44 +02:00
Siva
1890290fdb Roll Dart to version 1be785ae2ddb1754a184cd638ab719e94d86b4e9 (flutter/engine#5985)
* Roll Dart to version 1be785ae2ddb1754a184cd638ab719e94d86b4e9

This rolls includes the following changes :

1be785ae2d Clean up some dead code
7b9fb893d2 [vm] Add a service method for 'invoke' as the dual to 'eval'.
099f1504fa Mention -O flag in CHANGELOG
79f69abace [vm/compiler] breakage fix: add missing break
96a1e9985f Fix the pkg bot
7818db20a7 Add analysis hint for invalid use of @visibleForTemplate code.
71d96019d1 [vm/compiler] Introduce 64-bit NEGATE - all archs.
5013a2ccc4 Remove spurious line.
ef2f777625 Mark some analyzer tests as being flaky
cf560fe17b Fix a couple of the tests failing on the analyzer with fasta parser bot
63c11693e6 [gardening] Fix language_2/type_variable_promotion_test.
d0f28884ff [VM] Fix expression evaluation implementation: Never register temporary/unused classes with the system.
e2a1807fc2 [gardening] Update status for io/compile_all_test in PRODUCT AOT mode
f7ff739448 Insert date of 2.0.0 release in Changelog
bcabad6014 [vm] Fix SIMARM64 build on Windows.
af02ccae83 [infra] Fix filesets for new vm-kernel-precomp builders
8e2f28e264 Update homebrew to drop the @2 tab and fix for 2.0
ba119d7292 [VM] Remove "$compiler == precompiler" sections from language_2_precompiler.status
f3a2c0e28f [release] Prepare changelog for 2.1.0-dev.0.0
88cba7d860 [vm/kernel/bytecode] Fix arguments descriptor for List._fromLiteral call in bytecode
bd45ec0c4b [vm, gc] Refactor PageSpace::CollectGarbage to ensure the safepoint and task count remain well-scoped even with early exits.
8195fd8c64 Repair dart2js/string_interpolation_test
a0b335ac6c Try no implicit casts in pkg/analyzer_cli.
3d25d3761b Update pub - leave packages directories alone
327db5e9ab [vm] Fix kernel_isolate use_field_guard flag for kbc
a1ca88f554 Resolve invocation arguments to parameters.

* Address source format error.
2018-08-09 16:24:16 -07:00
Ben Konyi
3b80ac90f5 Fixed invalid call site of runWithEntrypointAndCallback (flutter/engine#5984) 2018-08-09 12:42:59 -07:00
Ben Konyi
b5aa93de7c Removed callback for HeadlessDartRunner (flutter/engine#5983) 2018-08-09 11:21:51 -07:00
skia-flutter-autoroll
caa739319e Roll src/third_party/skia 9c9611fcc1bb..0d5d0659a684 (7 commits) (flutter/engine#5980)
Auto-roller completed checks. Merging.
2018-08-08 18:57:19 -04:00
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 4a12df930a9d0dc8db3410cd557f35f4a584dbd0.
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 a33e60a259c1aab138ab2ad9d41d243c1209b76f.
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 e9e6e8a2bf81e394a5903e7cc573644225bf8b95.
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