Michael Goderbauer
8a7b35933c
flutter update-packages --force-upgrade + analyzer fix ( #108198 )
2022-07-25 10:10:31 -07:00
Lau Ching Jun
922eea8763
Dart registrant location ( #107967 )
2022-07-20 08:51:04 +00:00
Christopher Fujino
81045d4a44
Revert "Read dart_plugin_registrant path from FlutterProject to support non-standard path." ( #107850 )
2022-07-18 19:58:10 +00:00
Lau Ching Jun
8f834cf150
Read dart_plugin_registrant path from FlutterProject to support non-standard path. ( #107617 )
2022-07-15 12:33:07 -07:00
Helin Shiah
118248bcc5
Pass URI converter from context to DDS ( #106840 )
...
* Pass URI converter from context to DDS
* Match change that will be merged
* Revert SDK web change
2022-07-07 10:10:04 -07:00
jensjoha
9929446ea3
Extra timing on hot reload ( #104242 )
...
This PR adds extra timings for a hot reload.
As an example, before a user might see
> Performing hot reload...
> Reloaded 1 of 788 libraries in 554ms.
With this PR it would instead be something like
> Performing hot reload...
> Reloaded 1 of 788 libraries in 554ms (compile: 33 ms, reload: 153 ms, reassemble: 310 ms).
2022-06-03 08:41:14 +02:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Kaushik Iska
aeaeded715
Add VMService command to get frame rasterization metrics ( #100696 )
2022-04-14 13:44:05 -07:00
Yang Chao
343713727a
Enable track widget creation when generating Generated.xcconfig ( #101123 )
2022-04-11 14:29:11 -07:00
Ben Konyi
75baed585e
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #100995 )
2022-03-30 13:50:13 -07:00
gaaclarke
912873baa7
Relands "Starts using the --source flag to compile the dart registrant. ( #98046 )" ( #100572 )
2022-03-28 18:15:10 -07:00
gaaclarke
97258979df
Revert "Starts using the --source
flag to compile the dart registrant. ( #98046 ) ( #100493 )
2022-03-21 13:40:23 -07:00
Lau Ching Jun
dbed10bb59
Pass 'assume-initialize-from-dill-up-to-date' flag to the frontend server ( #99791 )
2022-03-09 00:30:17 -08:00
gaaclarke
fdcd14464c
Starts using the --source
flag to compile the dart registrant. ( #98046 )
...
* Starts using the `--source` flag to compile the dart registrant.
* updated general.shard tests
* Fixed the resident compiler flow
* added integration test
* made the integration test self contained
* renamed generated_main to dart_plugin_registrant
* cleaned up for review
* added task runner for ci
* added bringup and TESTOWNERS
* updated failure message
2022-03-01 16:24:47 -08:00
Zachary Anderson
54a9d65282
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )"" ( #98803 )
2022-02-19 10:09:26 -08:00
Ben Konyi
4add01ab68
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #98769 )
...
This reverts commit ac3c44355a
.
2022-02-18 13:28:42 -08:00
Lau Ching Jun
d7688ca093
Change all instance of throwing strings to throw specific error classes. ( #97325 )
2022-02-02 10:45:18 -08:00
Anna Gringauze
d7466d8963
Update dwds and other packages ( #94634 )
2021-12-07 14:29:07 -08:00
Danny Tuppeny
99e85b1c5f
Disable pause-on-exceptions for (outgoing) isolates during hot restart ( #93411 )
2021-11-18 22:23:09 -08:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
stuartmorgan
ed61608a9d
Set TargetFile define for resident builds ( #92511 )
...
Dart plugin registration generation depends on the target main file
being set as a define so that it's available in the environment, but the
resident runner wasn't setting it. That worked for initial builds
because of the re-entrant call to `assemble` (which does set it), but
caused Hot Restart to always re-generate the wrapper using
lib/main.dart.
This ensures that the define is set in that codepath as well.
Fixes https://github.com/flutter/flutter/issues/91535
2021-10-27 09:25:15 -07:00
Ben Konyi
ac3c44355a
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )" ( #92235 )
...
This reverts commit ba0321e95d
.
2021-10-20 22:05:49 -07:00
Ben Konyi
ba0321e95d
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )
...
This reverts commit dc7fea8d19
.
2021-10-20 19:20:17 -07:00
Ben Konyi
dc7fea8d19
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #90611 )" ( #91754 )
...
This reverts commit e89a885fab
.
2021-10-13 12:45:45 -04:00
Ben Konyi
e89a885fab
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #90611 )
...
This reverts commit 58944e6b88
.
2021-10-13 10:13:30 -04:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types
lint ( #91078 )
2021-10-04 13:48:04 -07:00
Christopher Fujino
91dd3276fd
migrate vm service to null safety ( #88320 )
2021-10-02 10:18:03 -07:00
stuartmorgan
97fb8c0560
Fix Dart plugin registrant interaction with 'flutter test' ( #90288 )
...
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.
Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
Sam Rawlins
bcb5db7758
Remove "unnecessary" imports from packages/ ( #89795 )
2021-09-15 01:27:02 -07:00
Jenn Magder
58944e6b88
Revert "Enable caching of CPU samples collected at application startup ( #89600 )" ( #89704 )
...
This reverts commit 619121b095
.
2021-09-08 19:37:34 -07:00
Ben Konyi
619121b095
Enable caching of CPU samples collected at application startup ( #89600 )
2021-09-08 17:22:04 -07:00
Jenn Magder
2d55032939
Migrate dds.dart to null safety ( #88382 )
2021-08-17 21:12:03 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker ( #86837 )
2021-07-21 21:51:06 -07:00
Lau Ching Jun
af42e7d730
Only set assets directory after assets are uploaded onto devfs. ( #85418 )
2021-06-28 13:16:04 -07:00
Jonah Williams
1977ee75b3
[flutter_tools] ensure kernel paths match between init from dill and persist ( #85252 )
2021-06-25 11:11:04 -07:00
Jonah Williams
cd13c91119
[versions] update dependencies ( #84639 )
2021-06-15 11:08:57 -07:00
Jonah Williams
73df069786
[flutter_tools] fully remove mocks from resident_runner_test.dart ( #84591 )
2021-06-14 16:29:02 -07:00
Jonah Williams
6728cf34cc
[flutter_tools] remove more mocks from runner tests ( #84312 )
2021-06-10 12:00:38 -07:00
Jonah Williams
67a57eb9a5
[flutter_tools] remove feature for alternative invalidation strategy ( #84366 )
2021-06-10 11:59:04 -07:00
Jonah Williams
ca789bf5a1
[flutter_tools] bail from printing if devtools launch fails ( #83934 )
2021-06-03 18:19:05 -07:00
Jonah Williams
f666f93dbb
[flutter_tools] always use device.stopApp ( #83803 )
2021-06-02 17:34:02 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Lau Ching Jun
a9d6131df8
Allow passing --initialize-from-dill
to flutter run and flutter attach ( #83454 )
...
To specify the dill file that will be used to initialize the resident
compiler, instead of the default cached version.
2021-05-26 23:06:38 -07:00
Jonah Williams
8beee479af
[flutter_tools] remove more mocks from resident_runner tests ( #83155 )
2021-05-24 11:59:03 -07:00
Jenn Magder
0d79013a81
Move globals.artifacts to globals_null_migrated, update imports ( #83137 )
2021-05-21 18:35:02 -07:00
Lau Ching Jun
2acd0007d6
Refactor CustomDimensions in analytics to be type safe ( #82531 )
2021-05-18 20:29:03 -07:00
Kenzie Schmoll
766b4509c6
Add 'v' hotkey to open DevTools in the browser ( #82227 )
...
* Add 'v' hotkey to open DevTools in the browser
2021-05-13 09:54:10 -07:00