4031 Commits

Author SHA1 Message Date
Greg Spencer
88f3811055
Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. (#84476)
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated.

Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
2021-06-14 14:16:57 -07:00
Phil Quitslund
bb9bac9f3f
Prep for new directives_ordering (#84579)
* sort directives

* prep for new directives ordering

* update excludes

* - blank
2021-06-14 12:13:28 -07:00
Abhishek Ghaskata
4705e0cc19
migrate localization to null safety (#84064)
migrate localization to null safety
2021-06-14 11:23:09 -07:00
Alexandre Ardhuin
2c998d8be7
fix indentation of class members (#84293) 2021-06-10 11:29:03 -07:00
Greg Spencer
bf1fb6e84b
Switch sample analysis over to use package:flutter_lints (#84303)
This switches the sample analysis code to use package:flutter_lints instead of the flutter repo analysis options, so that they are compatible with a similar change to DartPad.
2021-06-09 18:09:14 -07:00
Abhishek Ghaskata
92e3436fe7
migrate complex layout to null safety (#83894) 2021-06-09 15:29:04 -07:00
Abhishek Ghaskata
2da969aa9b
migrate update_icons to null safety (#84063) 2021-06-09 13:59:03 -07:00
Alexandre Ardhuin
e467018d06
alignment of doc comments and annotations (#84256) 2021-06-09 07:54:02 -07:00
Darren Austin
80709c1d8a
Revert "Re-land "Migrate android_semantics_testing to null safety (#84136)" (#84156)" (#84166)
This reverts commit 0100285e6fcfa6a1b793fc42b6554b188eb4afe9.
2021-06-07 17:49:30 -07:00
Anis Alibegić
d90ee21271
Migrate dartdoc to null safety (#84153) 2021-06-07 17:09:03 -07:00
Abhishek Ghaskata
e6aa6ce27f
migrate platform channels benchmarks (#84066) 2021-06-07 16:49:03 -07:00
Michael Goderbauer
0100285e6f
Re-land "Migrate android_semantics_testing to null safety (#84136)" (#84156) 2021-06-07 16:24:03 -07:00
Jason Simmons
b3bde1d9da
Update the Windows runner for Gallery (#84020) 2021-06-07 16:04:03 -07:00
Michael Goderbauer
075991c249
Migrate hybrid_android_views to null safety (#84140) 2021-06-07 15:42:47 -07:00
Michael Goderbauer
5a2530b28e
Remove unused protobuf dependency (#84148) 2021-06-07 15:34:06 -07:00
Michael Goderbauer
c077278431
Migrate integration_tests/channels to null safety (#84145) 2021-06-07 15:29:05 -07:00
Darren Austin
094a75e655
Revert "Migrate android_semantics_testing to null safety (#84136)" (#84154)
This reverts commit 0d1a8a7798133bbb363bad53ecd0fc282aa2e92f.
2021-06-07 14:54:00 -07:00
Michael Goderbauer
0d1a8a7798
Migrate android_semantics_testing to null safety (#84136) 2021-06-07 13:53:08 -07:00
Janice Collins
e6f2e2a38d
Update dartdoc to 0.45.0 (#84130) 2021-06-07 12:29:05 -07:00
Sam Rawlins
b2ed8a25b5
Ignore unnecessary_import reports in sample code (#84125) 2021-06-07 12:14:06 -07:00
Abhishek Ghaskata
3749ff02e1
Migrate gallery test to null safety (#84065) 2021-06-07 11:29:04 -07:00
Abhishek Ghaskata
243805ee60
migrate mega_gallery to null safety (#84061) 2021-06-07 10:34:04 -07:00
Dan Field
5cc7b6c3ea
Add option to stream logs to file for flutter logs and way to use it in devicelab runs (#84008) 2021-06-07 10:33:00 -07:00
Jenn Magder
94a41cde83
Mixed null safety in dev/devicelab (#84017) 2021-06-05 02:29:03 -07:00
Michael Goderbauer
811f0d9a15
"Migrate" dummy packages to null safety (#84013) 2021-06-04 22:14:03 -07:00
Michael Goderbauer
2f88966935
Migrate vitool to null safety (#84011) 2021-06-04 13:58:21 -07:00
Sam Rawlins
da9b11ec24
Remove "unnecessary" imports. (#83959) 2021-06-04 10:54:05 -07:00
Ian Hickson
0acf53e310
Run dart fix on customer tests as promised (#83944) 2021-06-04 01:09:02 -07:00
Dan Field
2d8d105256
Delete obsolete TODO (#83967) 2021-06-03 23:34:04 -07:00
Dan Field
83d51ecd1a
Delete obsolete TODO (#83966) 2021-06-03 23:29:05 -07:00
Jonah Williams
85df73d0e3
[flutter] ensure vmservice binding is registered in profile mode (#83913) 2021-06-03 17:59:03 -07:00
Michael Goderbauer
243d889445
Count non-null-safe code in our tech debt benchmark (#83846) 2021-06-03 12:54:04 -07:00
Michael Goderbauer
14b2e7ffee
flutter update-packages --force-upgrade (#83911) 2021-06-03 10:50:11 -07:00
Greg Spencer
bb40270069
Add more debug output to snippet git failures (#83806) 2021-06-02 15:34:28 -07:00
gaaclarke
72725643be
Started using direct ByteBuffers for our performance tests (#83371) 2021-06-02 13:50:58 -07:00
Tong Mu
e3da1bd7aa
Test WidgetTester handling test pointers (#83337)
Adds tests to the following behaviors, which have existed without tests:

- When tapping during live testing, a message is printed with widgets that contain the tap location.
- When tapping during live testing, a mark is displayed on screen on the tap location.
2021-06-02 11:50:09 -07:00
Abhishek Ghaskata
d25a5c376d
Migrate microbrenchmarks to null safety (#83619) 2021-06-02 10:59:03 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors (#83744) 2021-06-02 10:14:06 -07:00
Yegor
ccada2704c
[web] run all text layout benchmarks in CanvasKit mode (#83718) 2021-06-01 13:54:02 -07:00
Emmanuel Garcia
0bccce6260
[gradle] Unlock all configurations if a local engine is used (#83635) 2021-06-01 13:19:03 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
godofredoc
8bee0834e4
Remove logic to save artifacts to old gcs location. (#83526) 2021-05-27 19:04:02 -07:00
Alexandre Ardhuin
0ef0f0ba5e
fix lint from an improved unnecessary_parenthesis (#83433) 2021-05-27 13:39:03 -07:00
Abhishek Ghaskata
a8e2606963
Migrate manual_tests to null safety (#82611) 2021-05-27 10:49:02 -07:00
Jonah Williams
025a3a7da3
[versions] roll package test redux (#83367) 2021-05-26 17:22:28 -07:00
Greg Spencer
6b087c74e2
Add iOS key map generation, make macOS var naming consistent with repo (#83146)
This adds iOS key map generation that uses std::maps. It uses std::maps because on iOS if we use NSDictionaries, then when XCode loads the dylib, the initialization of those status NSDictionaries hasn't yet occurred, and it crashes the app. std::maps have a well-defined static behavior, and are correctly initialized.

I also made the naming of variables, fields, etc. consistent for macOS. We variously had macosFoo, macOSFoo, and macOsFoo. I eliminated macOsFoo and macosFoo, since the rest of the repo uses macOSFoo for lowerCamelCase names (with only a few exceptions). I used iOSFoo for iOS.
2021-05-25 17:18:06 -07:00
Christopher Fujino
62d00c6d5f
Migrate flutter conductor out of dev/tools and into its own directory (#83313)
* Migrate flutter conductor out of dev/tools and into its own directory

* flesh out documentation

* fix analysis options

* fix integration test
2021-05-25 16:12:53 -07:00
Janice Collins
c5bbe7552a
Update dartdoc to 0.44.0. (#83352) 2021-05-25 13:04:02 -07:00
Jim Graham
ae12bf6bcb
Add a bitmap operation property to transform widgets to enable/control bitmap transforms (#76742) 2021-05-25 12:57:07 -07:00
Jenn Magder
132a746aab
Remove iOS version override in ios_add2appTests unit tests (#83361) 2021-05-25 11:44:03 -07:00