6c680a0ebd Update dartfix readme and update version numbers
33337cf8d0 Fix API breakage, reexport ConstantEvaluator.
c2cdc1c639 Allow migration of multiple files at once.
d68d8526f4 Allow nullabilty migration prepareInput/processInput to operate on different ASTs.
5ecf660b50 [dartdevc] skip co19 tests on linux bots
ba9fbda83e Rework provisional migration API.
a4b681b83a Update dartdoc to 0.28.1+2.
fea5413d5a [ VM ] Fix hang of Flutter engine tests caused by global RuntimeEntry objects being destroyed when exit() is called when the VM hasn't finished shutting down.
a5570bd995 [vm/compiler] Add optimization flag
f0d5cb73a9 Guard the custom formatter for a Map against errors
df779789f2 Support two more cases in the convert-to-spread assist (issue 35867)
fd2225ab6c Adapt to the flow analysis spec v2.
Allows embedders to specify a callback to be invoked in isolate scope
once root isolate has been created and marked runnable.
As an example of where this is useful, embedder unit test fixtures may
want to include Dart functions backed by a native implementation. On
isolate creation, this patch allows the unit test author to call
Dart_SetNativeResolver in root isolate scope.
adfa4791fc Improve storage for available declarations.
392a869ee4 [infra] Skip all co19_2 tests that are timing out on dartdevc.
033cb7ffcc Issue 1438. Use expression function body for createState().
c3542cbc3b Set relevance for IncludedSuggestionSet.
661e91e30e Extract and migrate tests for ConstantEvaluator.
cc74e20eee Make some fields on Interface private, and change the way InheritanceManager2 is tested.
512e2ef292 Extract FixCodeTask/Processor from main dartfix class
e4755b34ba Extract FixLintTask/Processor from main dartfix class
1e8f9bf63a Extract FixErrorTask/Processor from main dartfix class
5ae156e055 Extract DartFixListener to record source changes and recommendations
1c0422735e Abstract type operations in flow analysis.
efcf8b01b1 Move integration tests of migration API to analysis server.
8f821d408e Fix status files for dartkp
6b73a02937 Fix status files for simarm and simarm64
4fb220707e Hardcode SourceFileEdit.fileStamp to -1 in migration prototype.
d972c2b7b7 [vm] Update raw_object_fields.cc after 7e81f56a.
c2778062e7 Add UI as code status file entries for simarm
2b8560f4b2 [Fasta] Add spread and control-flow collection flags
dc812e0921 [infra] Add third_party/requirejs to the fileset used by dartdevc testing
7e81f56ad7 Save Initializer for field and pass into debugger to enable breakpoint setting.
c26bf54391 Add InheritanceManager2 APIs to access inherited interface/class maps.
e83b309354 [vm] Remove single-stepping from PRODUCT
0a2de9238b Extract importLibraryElement() implementation, make it less pessimistic.
ae72248770 Encapsulate dartfix name/description of each fix
ceb7b89df1 Remove a fix that has now been replaced by an assist
336969538c [vm/bytecode] Revise representation of types, constants and calls in bytecode
b5eb7d463e Extract and migrate ErrorReporter tests.
db9e3f21c9 remove InconsistentAnalysisException guard code from dartfix
9afb65d7f1 [vm] Fixes for recursive class loading
d6caaeeebb [vm] Have Dart_TimelineEvent respect SUPPORT_TIMELINE instead of PRODUCT.
d236dca9d9 Add 'offset' to 'getSuggestionDetails'.
3395550962 Provisional nullability migration API in analysis_server.
0637a860f0 Revert "Create new template for breaking changes"
2d6afa04cb Create new template for breaking changes
102f3074d5 Enhance assist to convert invocation of LinkedHashMap to a map literal
3c1ffd23ba remove unneeded override
8d5b5bba41 Allow for non-function types in alias builders.
824598b17d Rename files related to type aliases
d7d195283a Add missing type arguments
6efbd07145 Rename FunctionTypeAliasBuilder to TypeAliasBuilder
f45d103d67 Finish implementing IsTypeParameterSubtypeOf
7213306aad [VM/Compiler] Do not use unboxed doubles if target CPU does not support VFP
52bd3d9159 Complain about use of deprecated members
0828d2c786 [Fasta] Implement exact types for Set literals
4b28312282 [vm] Remove reference to vm/flag_list.h in runtime/bin/main.cc.
c6556dc1a3 [package:js] draft proposal to improve JS interop, see #35084
798123ddb7 add lint associations
b59d5a2be9 [vm] Relax assertion about duplicated direct implementors
1f638607c2 Rework the ConstraintVariable.or constructor.
Update snapshot build rules to generate .o files instead of .S files on Windows to improve link times.
This mirrors build rules for snapshots in the Dart SDK.
5823be65af [vm/compiler] Continued graph checker development (reland)
8231cdb7a3 [gardening] Update status for issue 35854
db7f848632 [vm] Remove dead BigInt code.
35ab1755f4 Support more type propagation for code-as-ui features
569ee07f91 [vm] Cleanup class finalization checks
b53dceadaa Update pubspec for dev_compiler and sourcemap_testing
eefc18dc82 Add a hook to AnalysisDriver on the current session to be discarded.
cda43dabda Use findNode.simple in migration test
bd51d6f120 [vm] Build scopes for implicit getters of static const fields
b876d12f03 Revert "[vm/compiler] Continued graph checker development"
After removing clips by default, the OpCount of a picture drops
significantly. That makes our old threshold suboptimal. The new
threshold reflects the clip change and will improve our scroll
performance by ~10% for complex_layout and flutter_gallery scroll
benchmarks:
(flutter_gallery) home_scroll_perf frame raster time:
average 9.1ms -> 7.4ms
90th_percentile 11.3ms -> 9.2ms
99th_percentile 45ms -> 38ms
complex_layout_scroll_perf frame raster time:
average 4.8 -> 4.4ms
90th_percentile 7.8ms -> 5.4ms
99th_percentile 19ms -> 17ms
This should also help mitigate issues like
https://github.com/flutter/flutter/issues/24782
This will further guard that the framework won't forget to set the
clip behavior.
This has been tested with the flutter/flutter framework
`flutter test --local-engine=host_debug_unopt`
to ensure a successful engine roll.
3e5ed47777 Implement 'completion.getSuggestionDetails'.
38aadd71df Rework DecoratedType substitution.
087c6e3eb7 Add associatedErrorCodes API to AssistKind
8a45b5eb57 Move environment handling into the front-end constant evaluator.
8010fad320 [infra] Fix incorrect shell function syntax
1bfc3816d8 [infra] Extend 3head patching to apply patches for flutter/flutter depending on pinned engine commit
e4b809f0e6 Add unit testing of (some) invoke dynamic specializers
0fd1679620 Sort named parameters in native methods by declaration.
8c891ec25e Include type parameters into suggested code completions.
2efd22271e Use included suggestions only when free standing identifiers are allowed.
0d075031fa allow custom analysis options in lint driving
f89acfa374 Issue 35621. Part files should use their own transitive signatures.
133d83eede Protect against override completion outside workspace.
849285276d Extract and migrate ElementLocator tests.
d45a6ec893 Split Variables class into two interface classes and create DecoratedType.forElement constructor.
b9c89c9fb5 More test cases for the migration prototype.
a6e7361fa8 Add documentation comments to the migration prototype.
67ff7a6ef3 Remove unused import
53ba159aa4 Add assists to convert to list, map and set literals
a9c84ab887 Verify nullability of dynamic in DecoratedType constructor.
eaeffd2695 Rename ConstraintsTest to match the class it's testing
af303a277c Add some assists for the code-as-ui features
c4dcd85b3a Tests for control flow collections.
fe585471e3 Add DartFileEditBuilder.importLibraryElement().
460d69d08f Update 'Convert to StatefulWidget' to create private State classes.
509ac0648c Update non-nullability migration algorithm to handle missing types
b01697ba5a [vm/compiler] Continued graph checker development
00c6f6b584 Document InheritanceManager deprecations.
3802a6d7eb Experimental prototype of a non-nullability migration algorithm.
931051814c Partial implementation of the 'available suggestion sets' protocol.
1c173c2ce7 Enhance dartfix to allow including and excluding specific fixes
971733a08b [kernel] Add a class to track variance of type parameters
967b5fbac3 Finish implementing IsFunctionSubtypeOf
0d7bdd734a Ensure that top types are equivalent.
d44724d0af Compute default type arguments in Fasta types.
d55f95e344 Add Types.isSameTypeKernel
7fa0376af7 Implement subtype rules for Null in Fasta types
d9072d5272 Re-issue all problems in the incremental compiler
b6dc18e21e Remove legacyMode parameter and delete obsolete version of test
33f167b039 Complete the implemention of IsInterfaceSubtypeOf.
534825020a Check intersection types in subtype tests
ea0d98d98a Check FutureOr in subtype tests
014124e763 (Some) DiagnosticMessages can be serialized to/from json.
eb956a2516 Add synthetic bit to Library flags
e9597684fe Fix for incremental compiler swallowing certain errors
68d110ac2a Add test for codegen of optional parameters on native functions.
5737b452b8 [vm/gc] Update initial TLAB size calculation.
37a1f79360 [dart2js] Move letBindings to StackFrame
ec343169e7 Skip the spread tests on platforms that aren't using the new test workflow.
598515f031 [vm/compiler] Fix another missing incremental DOM update
d6f9d2da6f Add pkg/analysis_server/pubspec.yaml so that it is identified as a pub package.
9f8a9dc9f4 First stab at tests for "Spread Collections".
2c25cf016d [vm, gc] Use work stealing for the slices of the root set.
9308cac681 [vm] Simplify VirtualMemory::Truncate
e717ecdc92 [vm] Maintain view-ness of bytecode instructions in snapshots.
d4b8e0696d Add the capability in analysis server protocol for clients to express interest in receiving not yet imported code completions from specific packages and libraries.
7a95930bee Add a "summary-deps-output" option to build mode.
aaf97448b0 Extract EnumListParameter values before checking for matches
20fc81470e Fix override_on_non_overriding_method hint
ca4978e363 Add pkg:analysis_tool as an SDK-only set of utils
e5164be27e Issue 35127. Fixes for mixin implements / overrides.
fdd477721d [infra] Run co19_2 tests on DDC Linux and Windows builders
c31627b778 Remove the unused TypeOverrideManager
485a41bb12 Include superclass constraints into mixin type suggestions.
8f12035f36 Clean up the diagnostic tests
14b2255584 Status update after c3c5250
c3c525079b Demonstrate bug for the VMs way of doing initializers in face of mixins
d6608f19c0 Check function types in subtype tests
a6a9d4854b Start checking type arguments in subtype tests
dd70ecd5c0 Substitute type variables when computing class hierarchy
85c5082cf4 Support Kernel classes in ClassHierarchyBuilder
18ff842341 Start testing Fasta types implementation
db44a727e5 Extend the edit.dartfix protocol
40fca03d07 [vm/compiler] fix assert failure on minint64
6c96d8fdaf Fix crashing analysis_server with some defensive null checks
3b5c1012e9 Update CodeChecker to handle the code-as-ui features
b8fc017778 Replace convertAbsolutePathToUri() with toUriStr().
f903ee6dc0 Don't crash on formal parameters without name, exclude private SDK lbiraries.
118bdcc1f6 backlink to language docs for customized analysis
bc2a5a6789 Generate some of the code-as-ui diagnostics; implement more resolution
e8a0a209e3 Include into Declaration data that we will need for pre-cached suggestions.
0bb1aee3ff AstBuilder cleanup
ec13e61df3 Move `question` getter from GenericFunctionType and NamedType to their common base class.