10489 Commits

Author SHA1 Message Date
Jonah Williams
a5215ce500
Add hasImplicitScrolling SemanticFlag and support in Android bridge (#5941) 2018-08-06 13:57:00 -07:00
skia-flutter-autoroll
4681351af9
Roll src/third_party/skia 6e487e67a3f3..641ac7daa81c (16 commits) (#5948)
Auto-roller completed checks. Merging.
2018-08-06 16:56:46 -04:00
Ben Konyi
bc885f319b
Updated background execution implementation for Android 2018-08-06 12:27:57 -07:00
skia-flutter-autoroll
5770cbd2a3
Roll src/third_party/skia 12fb9cfeee07..6e487e67a3f3 (8 commits) (#5946)
Auto-roller completed checks. Merging.
2018-08-06 13:32:46 -04:00
skia-flutter-autoroll
f4464a8d90
Roll src/third_party/skia 2e77f54f46e8..12fb9cfeee07 (1 commits) (#5945)
Auto-roller completed checks. Merging.
2018-08-06 10:10:46 -04:00
Petr Hosek
c6baaaf75a
Replace acquire+release thread annotation with excludes (#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
63ede2e351
Roll src/third_party/skia 59aabbcf3b0d..2e77f54f46e8 (1 commits) (#5943)
Auto-roller completed checks. Merging.
2018-08-05 04:42:46 -04:00
skia-flutter-autoroll
97aea093e6
Roll src/third_party/skia 71fe8baccc01..59aabbcf3b0d (1 commits) (#5942)
Auto-roller completed checks. Merging.
2018-08-03 23:49:46 -04:00
skia-flutter-autoroll
aaf4a9a248
Roll src/third_party/skia 4c3b63e289c5..71fe8baccc01 (3 commits) (#5940)
Auto-roller completed checks. Merging.
2018-08-03 20:26:46 -04:00
liyuqian
ecbb2b28d4
Call drawPaint instead of drawPath if there's clip (#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
597a508498
Roll src/third_party/skia cdfa16d086b8..4c3b63e289c5 (9 commits) (#5936)
Auto-roller completed checks. Merging.
2018-08-03 17:05:46 -04:00
skia-flutter-autoroll
715b64ee3a
Roll src/third_party/skia 1400d38e0863..cdfa16d086b8 (10 commits) (#5934)
Auto-roller completed checks. Merging.
2018-08-03 13:41:46 -04:00
amirh
ffbafc852d
Flush all embedded Android views on hot restart. (#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
9fe6a573e4
Roll src/third_party/skia 578ef2847b72..1400d38e0863 (7 commits) (#5933)
Auto-roller completed checks. Merging.
2018-08-03 10:17:46 -04:00
amirh
3b66f20d96
Don't drop MotionEvents with unknown tool type. (#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
391ac2f95b
Roll src/third_party/skia 64cc576b1fa7..578ef2847b72 (20 commits) (#5930)
Auto-roller completed checks. Merging.
2018-08-02 18:25:46 -04:00
Régis Crelier
3f46cd2675
Roll Dart to b04def964c428ada007cca7ef6b4936001db965d (#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
76ec93dabf
Add an explicit -[FlutterViewController init] implementation (#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
4893b0760d
Roll src/third_party/skia e43024a5bab7..64cc576b1fa7 (1 commits) (#5926)
Auto-roller completed checks. Merging.
2018-08-02 03:38:46 -04:00
skia-flutter-autoroll
aa7326a435
Roll src/third_party/skia ed8bc196bd56..e43024a5bab7 (1 commits) (#5925)
Auto-roller completed checks. Merging.
2018-08-01 22:33:46 -04:00
Michael Goderbauer
a76054f4b6
Switch to minimal ICU data config for flutter (#5922) 2018-08-01 17:24:07 -07:00
skia-flutter-autoroll
04aa0d44db
Roll src/third_party/skia afea9c32acd9..ed8bc196bd56 (20 commits) (#5923)
Auto-roller completed checks. Merging.
2018-08-01 19:13:46 -04:00
Michael Goderbauer
69293264b1
Roll ICU to 62.1 and harfbuzz to 1.8.4 (#5913) 2018-08-01 14:56:53 -07:00
Chinmay Garde
de5f535e50
Make FML task runner methods virtual so that FXL adaptors in Fuchsia are possible. (#5921) 2018-08-01 14:18:33 -07:00
Chinmay Garde
33b412313e
Fix sundry Fuchsia build issues after the tonic/fxl migration. (#5920) 2018-08-01 13:29:45 -07:00
Michael Goderbauer
03a4e53a3a
Update license script & analyze it on CI (#5917) 2018-08-01 11:41:47 -07:00
Michael Goderbauer
9f9a564e15
Change CI badge from travis to cirrus (#5919) 2018-08-01 11:04:08 -07:00
Aart Bik
a61fae0824
Dart SDK roll for 8/1/2018 (#5918)
List of commits included in this roll:

8bad5c7b29 [vm/compiler] Non-speculative X64 long division/remainder.
918cda18c5 Add docs about sourcemap extensions
329e029bd6 Fixes https://github.com/dart-lang/sdk/issues/34035
12326c10e1 Store constructor field initializera when the target is not a field.
50da4b8d92 Skip ShadowInvalidFieldInitializer while resynthesizing constructor initializers.
8810b6ecc7 Translate kernel.Instantiation in constant expressions.
cb7341fceb Initial support for inlining-data in source-maps.
4206131030 Fix tracking of onStep position of arguments to new expression
384b0a9a73 Issue 34038. Fix resynthesizing imports when mixed with exports.
ba7dbcf412 Update the test output processor to produce more useful analysis
4b2ee8e9a5 Improve catch clause recovery
66500de4dc More fixes to the CFE integration tests
3f2251986d CC sra also in changes to compiler files and tests
4734c55882 Report error on unsupported operators
00e3109368 [VM] Adjust flags for creating depfiles
07c462b471 [vm] Refactoring: extract BaseFlowGraphBuilder to a separate file
ff9167ff7b Fix parseDirectives to recognize metadata
079bebb78b [ VM ] Added missing token position for `assert` statements
174649b9be [gardening] Update status of dissasemble_test on Windows
8c5aca7d4d Remove the Factory interface
3dc201e168 Update ChangeBuilder to not include empty edits (Take 2)
18047b2757 Refactor test.dart by changing class Configuration to TestConfiguration
7373d38a31 Update status for Dart2js minified CSP on Chrome with fast startup
61148eade8 Update mixin-declaration feature specification.
a98feb0f01 [VM interpreter] Fix exception handling. Convert bytecode indices to pc offsets when reading bytecode exception tables. Print pc descriptors and exception handlers in bytecode disassembly. Propagate unhandled exceptions after calling interpreter.
da2ed2fd59 Don't ignore runtime cast failures on Map<K,V>.
3d8ca8e566 [gardening] Increase debug app-jitk timeout
0313f7bd66 [gardening] Update status file for failing test
6c39bc38f3 Clear ShadowX references that are not required after compilation.
05b9bbd2b5 Remove the dart1 version of the analysis server snapshot.
9107399190 Add back in the analysis server training.
9fb6c09015 Store reference/type for invalid types.
21db860271 Remove non-strong dart2js builders from test_matrix.json
2e7b0a13f1 Add support for accessing all of the created contexts
73663ae7c6 Allow void on the RHS of null coalescing expressions
17cb6d95d1 Don't remember TypeEnvironment in resolution results.
72960de5f9 [VM] Fix one more place where bound error allocation happened on BG thread in new space
6ad79ff4bd Update status file for tests passing under CFE
23ba527735 [VM] Ensure to alloate bound errors in old space on BG compiler
fe8052428b Remove CONTENT_MODIFIED from spec/test for getSignature
c4c847a45c Revert "[CQ] Remove pkg-linux-release from the CQ trybots until it is fixed"
beaf05efa3 [vm] When generating JITDUMP also dump IR and attach it as source to code.
24158b773d [vm/compiler] Do not LICM LoadStaticField for uninitialized fields.
68bfaf3ac3 [vm/compiler] Avoid crashes when canonicalizing unreachable AssertAssignable.
5a45b2a62b [infra] Upgrade homebrew dependencies to work on Dart 2
8e287dc037 [VM] Only add direct implementor when reading script snapshots if the implemented class is from the full snapshot
6e81d74fcc [VM] Optimize generation of type testing stubs in JIT mode.
058510eeab fix #28233, add hint for missing returns to function expressions
4482d13ff7 [vm/compiler] Bug fix in 64-bit MOD (%) operator.
2018-08-01 10:55:07 -07:00
skia-flutter-autoroll
97e7c6e661
Roll src/third_party/skia fd98c2c87164..afea9c32acd9 (1 commits) (#5916)
Auto-roller completed checks. Merging.
2018-08-01 09:42:46 -04:00
skia-flutter-autoroll
1a35c51660
Roll src/third_party/skia f4bf7fc35d83..fd98c2c87164 (1 commits) (#5915)
Auto-roller completed checks. Merging.
2018-08-01 08:22:45 -04:00
skia-flutter-autoroll
8cb0f6d265
Roll src/third_party/skia 6cfa29738295..f4bf7fc35d83 (2 commits) (#5914)
Auto-roller completed checks. Merging.
2018-07-31 22:46:45 -04:00
Jonah Williams
dcd2956f88
Initial support for more finely-grained a11y features on Window (#5901) 2018-07-31 18:18:19 -07:00
skia-flutter-autoroll
83da727453
Roll src/third_party/skia 1935aa3d27cd..6cfa29738295 (7 commits) (#5912)
Auto-roller completed checks. Merging.
2018-07-31 19:23:45 -04:00
skia-flutter-autoroll
91ff524e63
Roll src/third_party/skia 74c6ed3d1f17..1935aa3d27cd (11 commits) (#5911)
Auto-roller completed checks. Merging.
2018-07-31 15:59:45 -04:00
James D. Lin
d06e9e84d0 Deprecate -[FlutterDartProject initFromDefaultSourceForConfiguration] (#18886) (#5858)
* Deprecate -[FlutterDartProject initFromDefaultSourceForConfiguration] (#18886)

`-[FlutterDartProject initFromDefaultSourceForConfiguration]` no
longer seems very useful.  It calls `-initWithPrecompiledDartBundle:`
or `-initWithFlutterAssets:dartMain:packages:`, but since it now
passes `nil` for all arguments, both paths end up doing the same
thing.

Additionally, `-initFromDefaultSourceForConfiguration` is awkward to
use in Swift.  The automatically generated Swift interface is:

    public convenience init!(fromDefaultSourceForConfiguration: ())

and it's not obvious how to call that.

Let's deprecate `-initFromDefaultSourceForConfiguration` and instead
expect callers to use the existing `-init` method. (We can make
`-init` do different things for different build configurations later
if necessary.)

Bonus: Rename some parameters to make it more obvious when they may
be `nil`.
2018-07-31 11:49:57 -07:00
skia-flutter-autoroll
3e6b68172d
Roll src/third_party/skia 0bf5408286ea..74c6ed3d1f17 (1 commits) (#5910)
Auto-roller completed checks. Merging.
2018-07-31 10:13:45 -04:00
skia-flutter-autoroll
5b09e14755
Roll src/third_party/skia 946a162a5239..0bf5408286ea (1 commits) (#5909)
Auto-roller completed checks. Merging.
2018-07-30 23:21:45 -04:00
Jonah Williams
236d633a49
Add word movement granularities to android (#5902) 2018-07-30 17:53:17 -07:00
skia-flutter-autoroll
5ae82408ec
Roll src/third_party/skia f7dcd76c552a..946a162a5239 (3 commits) (#5908)
Auto-roller completed checks. Merging.
2018-07-30 19:58:45 -04:00
nathanrogersgoogle
0c8fda2708
Remove the "VSYNC" trace event on Fuchsia (#5907)
Don't emit a "VSYNC" event when running on Fuchsia, as traces on Fuchsia
are typically recorded across the whole system, causing the events to
collide with each other.
2018-07-30 15:40:41 -07:00
skia-flutter-autoroll
430ca29cb1
Roll src/third_party/skia 62501c12c83e..f7dcd76c552a (5 commits) (#5906)
Auto-roller completed checks. Merging.
2018-07-30 16:35:45 -04:00
liyuqian
10effc7e4e
Replace travis with cirrus (#5899)
Using a custom container image, we reduce the test time from 5 minutes to 2 minutes as we no longer run gclient sync from zero.

In the future, we may be able to cache the ninja output in the image (which probably gets updated daily) so we no longer compile from zero.
2018-07-30 12:00:31 -07:00
liyuqian
cd85329b56
Use container and GKE to accelerate build (#5897)
This reduces the build time from 5 minutes to 3 minutes as we no longer need to cold start a GCE instance. Moreover, we can now compile the host engine using this container.
2018-07-30 11:59:54 -07:00
liyuqian
659e49e7dd
Add docker container generation scripts (#5898)
These scripts generate the image we used to test flutter/engine in Cirrus.
2018-07-30 10:40:45 -07:00
skia-flutter-autoroll
9336082535
Roll src/third_party/skia c06b8a4e0ca3..62501c12c83e (11 commits) (#5905)
Auto-roller completed checks. Merging.
2018-07-30 13:12:45 -04:00
Jason Simmons
46b77937b3
Clear the EGL context only if our context is currently active (#5895)
Fixes https://github.com/flutter/flutter/issues/19566
2018-07-30 09:52:39 -07:00
Jason Simmons
2f4a02204f
Return proper JSON-RPC error responses from service protocol failures (#5889)
Fixes https://github.com/flutter/flutter/issues/19571
2018-07-30 09:52:12 -07:00
skia-flutter-autoroll
d34eb1db53
Roll src/third_party/skia 227424b57d28..c06b8a4e0ca3 (22 commits) (#5904)
Auto-roller completed checks. Merging.
2018-07-30 09:49:45 -04:00
Ben Konyi
af855e063a Dart SDK roll for 2018-07-27 (#5896)
08f59e5de3 These changes are causing a segfault in DartEntry::InvokeFunction in dart_entry.cc in Flutter, which was blocking the Dart SDK roll.
6e322f794c No longer run pub list-package-dirs from the analysis server.
caa96f5897 Fix an issue where projects that used .dart_tool/build wouldn't find the flutter analysis options file.
29b893b124 [dart2js] Evaluate map literal key before value
66828182f1 Update server integration tests
b0636e1b09 Improve an error message
238bffec02 Report error on illegal initializer
56bd1fc6f7 Remove two more deprecated_ methods from BodyBuilder
01e69cc0c4 Take 3 for "[vm] Factor out more of the slow-path of the store barrier into the stubs."
82947cccc9 Store named types resolution during outline building.
5c10a8328c [vm] Fix bug with cid_ caching in CompileType.
cb70de8afa [vm/compiler] Fix negated integer comparisons in AOT
31af5ce13c Revert CLs reworking generator class handling of non-lvalues.
a0b058b398 Remove BodyBuilder.deprecated_addCompileTimeError
502b4ffea5 [vm/compiler] Non-speculative ARM long multiplication.
fdf8e6f2bf [vm/kernel/bytecode] Omit 'is' checks of top types in bytecode generator
9686636f6b Revert "Re-land "[vm] Factor out more of the slow-path of the store barrier into the stubs.""
0a66473c96 Report error on non-sync factory
c385f4f237 Strong mode cleanup related to TypeSystem
911672e204 Avoid crash on duplicated field with initializer
3665cad81c [infra] Shard analyzer unit tests
881894e13d Document describing interceptor optimizations
55726c8b3e Do not emit minified names in the deferred source-map files
72fe0ba7c5 Parse getter parameters, and resolve them.
7651177cf1 fix #33684, "not a function" JS TypeError usually means nSM
8edd2d5eb0 [vm/compiler] Non-speculative IA32 long multiplication.
994dc880ed fix hints in dartdevc
1a5f94a0a4 Fix analyzer-CFE integration of illegal references to instance members from static contexts.
d5b5736a47 Merge DDC's libraries specification into the sdk/lib/libraries.json file
bad8de3156 [GN] Include all library sources in the platform SDK
f6a8c24b85 [VM interpreter] Support generic 'invoke field dispatcher' functions.
02ba125a14 Add informal spec for invalid returns.
1336802dee [test] Adds a KBC configuration to the test matrix
8c8a211c6e Understand 'isNegative' for Analyzer as 'hasError'.
50b13015c9 Report error on annotation with type parameters
9422495ad6 Report error on factory with type parameters
903173eebb Update analyzer status file
232698047c [vm/precomp] Extend @pragma entry-points to classes.
34fea8710c More cleanup related to strong mode, mostly in the SDK support
77bb0ddfde Update analyzer status file
ed06bd0d33 Remove and deprecate strong mode references from the resynthesizer
567109df7f Take 3 for "[vm/kernel/precomp] Remove procedures from entry points files."
9c69e7e1d2 Fix some tests that were failing on the use-fasta-parser bot
b2d0f8ea63 Remove tests relating to selected parameter index + bump version number
a470790e5e Revert "Mark get_signature_test.dart as slow."
25b20ee67b Reland "[VM] Move kernel buffer created by IKG into external typed data with finalizer""
4c32dbb613 Add missing 'new' keywords to fix --no-preview-dart-2 failures
5b2e9a4c4e Mark get_signature_test.dart as slow.
1a122e3ac0 Deprecate module-root option in dartdevc, part of #32272
099815312a fix dartdevc source maps incorrectly storing temporary variable locations
70e58189d5 Update awaiter_async_stack_contents_2_test test status as failing in app_jitk config.
21b85f326a fix #33348, length is a valid enum field name
cf0a70e531 [vm] Remove unused NSM-forwarder bit.
372a24cb7c Store resolution for catch with invalid parameters.
54d46b801a Fix for unresolved redirecting constructor.
5d98fe159a Fix ExtractTokenPositionFromAsyncClosure on kernel
78ce706775 workaround for #33885, constant evaluation in Analyzer sometimes fails
0212fbad89 Exception VariableDeclaration can be synthetic.
0b778d0697 Change IncompleteErrorGenerator to make use of NonLValueGenerator.
98fd0f3b6d Remove propertySet from TypeInferenceListener.
74d480b27f Update dartdoc to 0.20.2 and update dependencies.
c7ed22a5d8 [VM interpreter] Support "invoke field dispatcher' and 'method extractor' functions without jitting them.
a74d6eac69 Report error on constructor with type parameters
232bed3d11 Change UnresolvedNameGenerator to use NonLvalueGenerator.
e4446d3d0d Support for synthetic variable declarations.
5d145bdc22 Temporarily revert training the analysis server snapshot.
6e580733f1 Finish the test clean-up even though no tests can be made to pass
28212050bf [VM] Re-generate type_flow expectation file after some changes to vm-service code
7fc6bf307f Resolve rethrow.
726b4c035b [analyzer] Update tests for override checks
abe03023b3 Skip co19 in ie11 for now
41018ae11e Report error on async/sync method with no method body
81db3e492a Fix resolution for named arguments in FunctionExpressionInvocation.
b2716552cd [vm/kernel/bytecode] Fix type arguments for constant instances in bytecode
ff89b55c8d Improve class member recovery
751e19c6d7 Report error if expression is not assignable
d6519499fe Give -capp_jitk more time due to not using kernel-isolate from app-jit snapshot
c33e41ec34 Update strong mode kernel tests
d792809d6f Add signature param defaultValue and remove (unused) selectedParameterIndex
e5a58158e3 Add constructor impl/tests + additional function tests for getSignature
ab0d27b694 Ignore an exception when deleting the temporary driver cache directory.
432e59e589 Fix error reporting if a for-in statement attempts to assign to a prefix.
79ed0553e9 Re-land "[vm] Factor out more of the slow-path of the store barrier into the stubs."
36203b6f37 Upate the failing tests in NonErrorResolverTest_Kernel
be7717dab4 Deprecate more propagated info members
c353d02a3c [fasta] Fix override checks for generic methods
4becf1aec3 [VM] Fix windows build after landing new navie embedder API
3801b38e34 Revert "[VM] Move kernel buffer created by IKG into external typed data with finalizer"
33914226f2 [VM] Add Dart_InvokeVMServiceMethod() to dart_tools_api.h
78462ecbdd [VM] Move kernel buffer created by IKG into external typed data with finalizer
ebb033cb72 Add signature information to spec and add basic implementation for functions
80f851a711 Normalize the analysis server snapshot.
32fd7b15e4 Remove special case for assignment to parenthesized expressions.
c9b197017c Rename "assignment_of" -> "assignment_to".
c1552c3728 Ensure we terminate training if we get an exception from the analysis server.
d00a5783c9 [vm] Fix bin_to_coff.py so it produces 8-byte wide kKernelServiceDillSize on 64-bit build.
5fa401cab0 fix dartdevc dart:_runtime to use old-style part-of declarations
906647c046 Fix Dart 2 runtime issue on DDC for the web
071ca8c05c Updated tests
f0f81d211a Report syntax error on external top level method with body
8c4b5be526 Update more expectations for kernel tests.
2fed345d6a [VM source coverage] Improve source coverage report for a class being finalized. This addresses a review comment on https://dart-review.googlesource.com/c/sdk/+/66022
d78b217b62 Update some kernel test expections.
55c0857037 Create a common generator class to handle non-lvalues.
1fe0518d3b Resolve values of duplicate named arguments.
e2dd823912 When making fresh FunctionType, set nestingLevel for its type parameters.
6a4d64fe0c [vm] Notify the service isolate of all isolate shutdowns, not just those triggered by Dart_ShutdownIsolate.
9727a4a4ef Fix #33415 no error for awaiting a void expression.
7b77fa217b Fixed callbacks typedef to be List instead of a generic typed List. Fixed getLegacyStats - shouldn't have a JSName annotation.
eb4b4d3699 Make loadScript() return a future, so it can be awaited in dart 2.
c738ae06b5 Revise recovery of ".as" and ".is" in fasta parser
54e241d71f Deprecate more AST API and replace uses of it
6b744ec7ed [analyzer][cfe] Pass enableSuperMixins flag to CFE
1ddadd4207 Update LocalDeclarationVisitorTest for fasta parser
dd23176eab Update CompletionTargetTest for fasta parser
11784f6ef9 Run the dartanalyzer with --use-cfe.
129dc3c984 Update the failing tests in StaticWarningCodeTest_Kernel
e7c98d4439 [vm/compiler] Refined type analysis for check class.
2eba6faa30 Revert "[vm] Factor out more of the slow-path of the store barrier into the stubs."
b3e289a95e [vm] Factor out more of the slow-path of the store barrier into the stubs.
ca947ffc1c Store resolution for invalid elements used as types.
f362537574 [vm/aot/tfa] Fix corner case in tracking of field values in TFA
a486776e73 Update the failing tests in NonHintCodeTest_Kernel
1915e2072d Add a missing return.
cdeda8ecb1 Map NotAnLvalue to an analyzer error code.
4190705bbd Update the failing tests in StaticTypeWarningCodeTest_Kernel
7ff85ccf13 In strong mode StaticTypeWarningCode is an error, so void_ test pass in Analyzer + CFE.
6b176a711f [fuchsia] Add SDK prebuilts to .gitignore
4d51905f67 [VM source report] Do not compile functions of a class marked for parsing. This fixes https://github.com/flutter/flutter/issues/19486
0e04a3b858 Update code completion OpType and tests for fasta parser
ca1cb5e817 Allow type before "this." in constructor
c4d92dc5cf Analyze the observatory on the bots.
33697f7339 Revert "Reland "[VM/SDK]""
57e11e3d55 [ VM / Testing ] Added status file entry for debugger regression test which is expected to fail for app-jit in Dart 2
21a582d886 Cleanup in JsInvocationMirror: remove message about MirrorsUsed
1566b0dbc1 Add tests for nsm errors
6a8b2822ad Mark a test as slow.
6937dabf06 Update the failing tests in StrictModeTest_Kernel
c9a11d866a Upgrade pubspec constraints.
9eac90d2a2 Check void usage and invalid returns
6da9058a73 Cast result of jsonDecode to Map<String, String>.
dcb95dba3e Update the failing tests in HintCodeTest_Kernel
a22c72bc49 Add tests for non-constant deferred instantiation
e98334a58c Remove remaining references to propagated types and mark the members as deprecated
c76e071b79 [vm/compiler] Improved integer power specialized inlining.
cd71a2f84b Remove references to propagated types from some tests
873c4437c4 Update the failing tests in ErrorSuppressionTest_Kernel
98346afff9 Remove unused type propagation from ElementResolver
ec505fe330 Remove more old scanner tests
cc653e28a0 Remove old scanner from analyzer scanner wrapper
e3b5bfd854 Store original names in the minified name map
ac73b8e198 [vm/compiler] Improved type analysis for check class.
9791508d90 Revert "[vm/compiler] Improved integer power specialized inlining."
5c9c90f7e1 Revert "Check void usage and invalid returns"
76c920559b Add watcher to be cc'd on changes in pkg/compiler or tests/compiler
a993b58302 Update test expectations for CompileTimeErrorCodeTest_Kernel
a3ec4fec1d [vm/compiler] Bug fix on background to foreground passing.
6bddb6c112 [ VM / Debugger ] Use existing Function object to set breakpoints instead of finding "best fit" when possible.
6bc1cdb5b1 [vm] Add unsafe mode to VM
cadc4c33ca [vm/compiler] Improved integer power specialized inlining.
b32277988f analyzer 0.32.4
a456edcb8f Remove analyzer Dart files from AnalysisDriver.
998f1e5106 Remove old scanner from token test
98356d3ed8 Revert "Re-land "[vm/kernel/precomp] Remove procedures from entry points files.""
98c684815f Regnerate generated files that got out of sync
c0c23dcd6f Start updating test expectations for tests that are now passing
81c2b9d486 Remove some of the uses of propagated information
ca0123ac70 Call KernelImpactBuilder._visitArguments once in visitStaticInvocation
a437b4b469 Re-land "[vm/kernel/precomp] Remove procedures from entry points files."
1d46b4728c Handle non-regular files in _IoFileSystemEntity.exists.
b1eeacc30a Remove usage of unittest package from a number of tests.
555cca2b1a More cleanup in inferrer engine
eeb8cba38f Add tests for generic instantiations in deferred parts
4273bb2e2a Remove TypeUse.mirrorInstantiation
2e220fe450 Adjust status file for a timing out test.
660ea995ad Update analyzer status file
ed30ba2a82 Resolve import prefix method invocation.
396c92e57d [VM] Fix build breakage
d53b44f328 [VM] Fix incorrect error message.
b59583edea Reland "[VM/SDK]"
b83c2985c2 Use single CollectedResolution per file.
7f5334480e Revert "[VM/SDK]"
2d366c3ae9 Switch to use swarm instead of sunflower for dart2js unittests.
25d5d15935 Fix parse invalid property access
b4146411d0 [VM/SDK]
75deedf3f4 Fix more error code mappings
6f5b0b5ddc Fix swarm sample.
bbcd237d08 Apply resolution to annotations of formal parameters of redirecting constructors.
35b08dec12 Add minified names to sourcemaps
4a0d4456bc Store type use only if it is qualified, don't store twice for improt prefixes.
b04ab993d0 Map ExtendingEnum, InvalidVoid and MetadataTypeArguments to analyzer codes
d6726cae36 Map AbstractRedirectedClassInstantiation and ConflictsWithMemberWarning to analyzer codes
44933e1f1e fix #33876, only use Object method null helpers if signature matches
b4824b0dea Fix analyzer/FE integration when a const constructor calls a non-const super.
6409cc75ef Stop storing propagated type and element information
b18efbe099 Remove spec mode support from ErrorVerifier
25ff988071 [VM interpeter] Allocate a SubtypeTestCache and use it in interpreted implicit setter.
df0785372a Map CyclicClassHierarchy and MixinInferenceNoMatchingClass to analyzer codes
4c415e778a Remove some dead code related to spec mode
fdd0494a02 [fasta] Don't skip metadata on redirecting factories and their formals
335f0ab333 Remove EnqueuerStrategy
406b6e8866 Flatten inferrer implementation
ec733c3b3c Support more type arguments in generic instantiation
70747047b0 Add hint for .runtimeType.toString()
87e21a130d Update pkg.status file entry to unbreak the pkg bots.
128ecff0c5 fix #33872, support typeArguments passed to reflectType
3320d8f677 fix #31237, missing return hint was missing for inferred returns
80b96b5bb6 [VM interpreter] Do not ignore field guarded cid in interpreted implicit setter.
f40988e508 fix changelog for meta (pre-publish)
9c13c9dafc Resolve invalid return statements in async/sync generators.
863c79a5fa Fix analyzer/FE integration of unresolved method invocations with no targets.
1f6c3cfc8a Map three front end codes to analyzer codes
fa629d83d8 pkg/js: fix pubspec author
7ddc4ce8ba Train the analysis server snapshot on pkg/analyzer_cli.
af613c7479 pkg/js: support Dart <3.0.0
6baca4c154 Map PlatformPrivateLibraryAccess to an analyzer code
47a3032211 Store resolution for method invocation when arguments don't match parameters.
83a615cf4b Linter 0.1.58
dbeba66e04 [gen_snapshot] Carry through the root library if present when create Core or CoreJIT snapshots.
fa270d5c10 Update checked-in SDK version to 2.0.0-dev.69.0
5a1d4c95eb Replace more uses of Unspecified
23c81964d9 Store resolution for invalid assignment to a parenthesized expression.
d44451c5c7 Distinguish synthetic and non-synthetic tokens in ResolutionStorer/ResolutionApplier.
11f3c57e9c Fix deferred type literals and typedefs
b9a73c1fc6 Use ExternalConstructorWithFieldInitializers instead of Unspecified
e9fa236d6b Status fix for CONSTANTS
d715c5e052 Status file fix for CONSTANTS
e22cab8514 Use LabelNotFound instead of Unspecified
3657ee33eb Use ForInLoopWithConstVariable instead of Unspecified
21a935af9f Replace relative imports in kernel_service with package imports
d283ad8291 Fix bots for CONSTANT removal
14b359fdb9 Map VoidExpression to an analyzer code
17cca798e5 Revert "[vm/kernel/precomp] Remove procedures from entry points files."
006a2f481b Fix a type issue at runtime.
91dcf654a4 [vm/kernel/precomp] Remove procedures from entry points files.
a133e78ead Mark last 2 statement completion tests as failing for now
e382644aa3 Fix incorrect annotation on test_closure_generic.
f2402b3c08 Remove deprecated SDK constant declarations.
e7c6416f80 Run bootstrap test in strong mode
38db4a10db Normalize status file
7c27ebe8e3 Remove unused messages
11001793a2 Check void usage and invalid returns
a3bb529eec Update package:testing wrt. void
7d1f3b358a [fasta] Update test status after the fixes for #32613
c6f525634f Normalize status files
db45d049db Update VM CC test to new void rules
389b8997b3 Update dart2js extra test wrt. void rules
4a01dc66bc Fix crash in inferrer_engine
c49cfa690d Replace crc32 with fletcher16 for a faster checksum algorithm.
54e98e7c15 Stop tracking ResolutionData.literalType in analyzer/FE integration.
b1a68a408e [vm] Clean up bad_reload_test as it works as expected now.
df8e525655 Use InvalidUseOfNullAwareAccess and ThisOrSuperAccessInFieldInitializer rather than Unspecified
23776cd162 Increase the analysis server memory cache size.
f9620adcc5 Fix hot reload bot failures.
c1df0d4c10 [vm] Very basic store barrier elimination.
6d28b0a551 Postpone type/element translation until ResolutionApplier.
9cb4a23651 [status] Status file fixes dropped from last change
22998a18fc Statement completion fixes
ebf1e8493e Don't iterate over the entire package map when looking for a package mapping.
d0510501d2 [build] Add -a kbc for interpreter
8aeb7de19d Avoid List.forEach in performance sensitive code.
dc04320c64 [VM] Fix memory leak after landing embedder abstraction change
253660db21 [vm/kernel/bytecode] Support corner cases of super calls in bytecode generator
7341da84bd Use SuperclassHasNoDefaultConstructor in place of Unspecified
9c2e9ecca9 Fix context elements for fields and top-level variables.
62ce40f287 Map AmbiguousSupertypes to an analyzer error
19002bf094 [vm/compiler] Improve AOT decision on speculation.
9ebab91896 Use ConstConstructorInSubclassOfMixinApplication in place of Unspecified
296319d2f0 [observatory] Switch to static mode.
7a35e9cade Store resolution for using non-constant factory for constant instance creation.
75e1ebd55c Improve "else" statement recovery
0fb284217d Map ConflictsWithSetter to an analyzer code
8245707b4c [vm] Refactoring: remove misuses of StreamingFlowGraphBuilder
0a2eb8524f Map UnmatchedToken to an analyzer code
651994ba70 [observatory] Progress toward static mode compatibility.
a7e511f4dc Fix order of named arguments in nsm-forwarders
4674961476 Improve missing ")" recovery and remove duplicate error messages
64a1f8f69c Prepare for upcoming void usage semantics
ab1c1582b1 Remove deprecation hints in analyzer packages
1714abb7b0 Update status file
f08ada2d52 Disable a flakey analysis server test.
cc1a7b35d0 Update SDK wrt to void and invalid returns
3dba24bda2 Use TypeVariableInConstExpression in place of Unspecified
6927e30cac Use BreakOutsideOfLoop instead of Unspecified
b571e9391c Report missing semicolon on last consumed token
dcd58ff563 Update unittest to 0.11.x. Check out unittest from chromium.googlesource.
42bbdec54e Update dartfmt to 1.1.3.
c137fe2fbe Update tests related to generalized void
c910738825 [vm/embedder] Introduce dart_standalone_embedder_api.h
fadd6c0698 Update status for ie11
736a45babe Mark test_getResult_functionTypeFormalParameter_withTypeParameter as @assertFailingTest.
061004e9b7 Store resolution for instance creation even when wrong number of arguments.
e84f061db8 Build a 2nd, --no-preview-dart-2, analysis server snapshot.
8ed9345ccd Revert "[vm/compiler] Improved type analysis for check class."
6858559c48 Add support for `Function` syntax to analyzer/CFE integration.
7a5e49e4e4 [component] rename libs fuchsia::sys -> component
dfc2adf547 Map the error code for InheritedMembersConflict
00c8cf84c5 Convert Unspecified to NonConst[Constructor|Factory]
773be5181c Update crc32_test.dart with Dart 2 constant name
9aa9d88fe4 [ VM / Windows ] Fixed potential null dereference in ThreadLocalData::RunDestructors.
9be82b92ab [VM interpreter] Support inline type check of implicit setter value.
3c5de5d4e1 [vm] Support http and https schemes in dart imports.
34c5058e35 Create new ProcessedOptions for every new file compiled.
875abcea39 Remove experimental closure support from dartdevc
2420134b23 Remove obsolete tools and tests from package:dev_compiler
a473a0da2f Store resolution for invalid member references.
8b01effa5b Store unresolved prefix resolution.
7b964090b9 Adapt ResolutionApplier.visitFormalParameterList to handle function-typed formal parameters.
69a15d2006 Convert Unspecified to ConstructorNotSync
bcad45f350 Update DEPS to post CONSTANT versions of packages
a0f517834e [observatory] Progress toward static mode compatibility.
e8d715db84 Convert some uses of Unspecified to NotAConstantExpression
0d52cb6a62 Write data to the driver cache asynchronously.
91ce347309 Reapply "Create _nullFuture and _falseFuture in the root zone."
ce682638d9 Tests for invalid Map literal type arguments resolution.
c9ba6a9709 [fuchsia] Migrate back to SyncPtr
946be233f6 Use special error templates for for-in loops.
31bed29d6e [fasta] Correct override check for methods with covariant parameters
48a258a4a5 [Fasta] Additional override checks
ec5adbf663 Cache the package:path context.current field in toUri() calls.
7d6cd21706 CFE and member conflict rules
5b119ed796 Remove an as expression.
d533cef4b8 bump meta sdk constraint
5eea3942e6 [CQ] Remove pkg-linux-release from the CQ trybots until it is fixed
2d10906fff Update safari status
76db06cc24 Fix assert in Future code to allow a Future<Future<int>>.
0277432f28 [fasta] Fix inference for const redirecting factories invocations
6acee7cdb7 Fix tracking of native classes needed for rti.
117f651f7b Emit classes used in type variable replacements
eb8be07021 Adjust status file to account for test passing on windows platform sure why).
dc084713d4 Adjust status file to include app-jitk in the settings for the named pipe test.
ceab1bcfd3 Do not offer to create a class for identifiers in directives (issue-33856)
782efe1dfb Update a status file.
312a7d13ec Store resolution for unresolved type instance creation.
8f8d0bb1d7 Apply resolution to list literal type arguments.
5333dd7f0f [vm/compiler] Improved type analysis for check class.
ff2933c55b Fix #33194, handle type parameters on implicit call tearoffs.
7da3fe2ca2 [vm/compiler] Inline implicit setters in call specializer in strong mode.
2b473c4fac [vm/reload] Permit reloads in the absence of main method
ffeee8fe10 Fix some typos.
823835c84b Fix analyzer/FE integration of references to class type parameters.
feaf79e5ac Colors that work a little better in dark mode
c6f55f7478 [VM] Use the incremental compiler to compile sources only when the observatory server is started.
7ebe83fda1 [vm] Don't need to preserve ICData past the dispatching stubs.
ae0a4d994e Rework how type information is communicated from CFE to analyzer.
ed8824f686 Resolve loadLibrary() arguments (which should not exist).
d5c7f5af88 Convert more Unspecified errors to concrete errors
c95f323af2 [observatory] Progress toward static mode compatibility.
4f4b0dd685 Set read annotations into VariableDeclaration.
0ec3bf32df Drain AnalysisDriver streams in ContextBuilderImpl.
1145466844 Store resolution for method invocations that are not valid constants.
f6e484b518 Dummy commit to investigate CQ and CI failures.
d1bf825c0f Remove some broad dart2analyzer status file exclusions.
55921ed4bd cleanup insert synthetic identifier
af27e106ee Update safari .status lines for flaky tests
2a17dc5009 Add comment to dartdevc's test compiler configuration
2018-07-27 18:04:53 -07:00
amirh
5da006472c
Fix wrong conversion of MotionEvent to Flutter's PointerEvent kind. (#5894)
We were sending the toolType values as-is which is wrong, e.g touch
events showed in Flutter as mouse events.
2018-07-27 16:12:26 -07:00