Commit Graph

24470 Commits

Author SHA1 Message Date
Paul Berry
c32d1387ab Fix overly specific detection of non-UTF8 files in analyzer bot. (#56295)
An upcoming Dart SDK change
(fa2fd41166)
changes the precise text of the exception generated by `utf8.decode`
if a non-UTF8 file is found.  This is causing a breakage in the Dart
team's `flutter-analyze` bot (and will presumably cause a breakage in
the corresponding Flutter bot as soon as this change is rolled into
Flutter).  To avoid this breakage, the bot shouldn't rely on the exact
exception text; it is sufficient to simply catch a FormatException.
2020-05-04 09:10:20 -07:00
engine-flutter-autoroll
8f1cd8fdfe 2037e0f18 Roll src/third_party/dart c3ce87355614..d5af40b640f7 (1 commits) (flutter/engine#18110) (#56258) 2020-05-04 01:29:01 -07:00
engine-flutter-autoroll
17bbc2a235 Roll engine 7a492012a66a..906bf5968465 (1 commits) (#56255) 2020-05-03 14:34:02 -07:00
stuartmorgan
1b88914197 Redirect stdout/stderr in Windows template (#56089)
Redirects stdout/stderr in the Windows template when creating a console. This fixes the console opened when running from Visual Studio to actually show output, instead of being empty.

Fixes #53169
2020-05-03 14:25:00 -07:00
engine-flutter-autoroll
3818003d51 7a492012a Roll src/third_party/skia 80cab814091d..57f289d7423c (1 commits) (flutter/engine#18105) (#56233) 2020-05-03 13:29:01 -07:00
engine-flutter-autoroll
a32c8e84bd Roll engine 813fd04c7dfd..e3cb6812ed6d (1 commits) (#56229) 2020-05-03 02:54:01 -07:00
engine-flutter-autoroll
6b20a28f9e 813fd04c7 Roll src/third_party/dart a42e6ac0356d..c3ce87355614 (3 commits) (flutter/engine#18103) (#56225) 2020-05-02 22:14:01 -07:00
engine-flutter-autoroll
f23af0f94d 94e6baa75 Roll src/third_party/dart be1f85847fd5..a42e6ac0356d (1 commits) (flutter/engine#18102) (#56215) 2020-05-02 19:34:01 -07:00
engine-flutter-autoroll
5db02b490a Roll engine 86c0c54bef50..2307b615eb63 (1 commits) (#56205) 2020-05-02 11:39:01 -07:00
engine-flutter-autoroll
45da0f63af 86c0c54be Roll src/third_party/dart eca696c0268f..be1f85847fd5 (3 commits) (flutter/engine#18100) (#56187) 2020-05-02 06:04:01 -07:00
engine-flutter-autoroll
06f81324d3 d0bcc6980 Roll src/third_party/skia 64964bb1150e..80cab814091d (1 commits) (flutter/engine#18099) (#56182) 2020-05-02 03:09:01 -07:00
engine-flutter-autoroll
040fcb4544 edf65e286 Roll fuchsia/sdk/core/linux-amd64 from cIjMH... to Rp56G... (flutter/engine#18098) (#56177) 2020-05-02 00:54:01 -07:00
engine-flutter-autoroll
53174f1e5f Roll engine 72fe227a50d9..ab277b3b6f3c (2 commits) (#56174) 2020-05-01 22:19:01 -07:00
engine-flutter-autoroll
c5b1dd0629 Roll engine 2db327657369..72fe227a50d9 (42 commits) (#56162) 2020-05-01 18:24:01 -07:00
Shi-Hao Hong
c01c46c896 Test to ensure _kn.arb files are properly escaped (#56091)
* Run encode kn character encoding tool when gen_localizations is run

* Add test that ensures *_kn.arb files are properly encoded/escaped in order to be checked in

* Fix *_no.arb test to not incorrectly pass
2020-05-01 18:13:55 -07:00
Jonah Williams
ec93c51eaf [flutter_tools] add support for faster incremental build (#56067)
Introduce BuildSystem.buildIncremental, which keeps an in-memory cache of timestamps instead of file hashes. This will be used to implement localization generation through the same build system API.
2020-05-01 17:30:26 -07:00
Hans Muller
b039fc7c09 Fixed a typo (#56146) 2020-05-01 15:39:02 -07:00
Jonah Williams
2a5690f097 [flutter_tools] fix iOS build inconsistencies and pipe through performance file (#56094)
Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.
2020-05-01 15:34:28 -07:00
Jonah Williams
ac2dfcf338 [version] update all versions (#56141) 2020-05-01 15:14:36 -07:00
Greg Spencer
fdc4d21b79 Add ExcludeFocus widget, and a way to prevent focusability for a subtree. (#55756)
This adds an ExcludeFocus widget that prevents widgets in a subtree from having or obtaining focus. It also adds the ability for a FocusNode to conditionally prevent its children from being focusable when it isn't focusable (i.e. when canRequestFocus is false).

It does this by adding an descendantsAreFocusable attribute to the FocusNode, which, when false, prevents the descendants of the node from being focusable (and removes focus from them if they are currently focused).
2020-05-01 14:36:46 -07:00
Daniel Iglesia
27eee14c6e Add DragTarget callback onAcceptDetails, plus helper class DragTarget… (#55257) 2020-05-01 14:18:58 -07:00
Greg Spencer
6a75dc449e Add onSecondaryTap to gesture recognizer and gesture detector. (#55494) 2020-05-01 13:04:01 -07:00
Jonah Williams
f1c24ed91d [analyze] fix const lints (#56139) 2020-05-01 12:48:53 -07:00
Ferhat
92df6f50b2 Add check for iOS/MacOS for target platform (#56081) 2020-05-01 12:04:35 -07:00
Jonah Williams
d6cbf2591a [flutter_tools] don't recreate license, manifest, asset if unchanged (#56107)
Avoid syncing unchanged versions of these files during hot restart/reload. This happens if the asset bundle needs to be built but produces identical manifests/licenses due to only asset contents changing
2020-05-01 12:03:31 -07:00
Kate Lovett
487954a861 Adding tabSemanticsLabel to CupertinoLocalizations (#55336) 2020-05-01 11:09:02 -07:00
liyuqian
a065c2cd6e Temporarily disable new Gallery perf test (#56136)
See https://github.com/flutter/flutter/issues/56135
2020-05-01 11:07:43 -07:00
Jose Alba
0549ab2390 Removed useV2 Slider flag (#55857) 2020-04-30 15:19:01 -07:00
Jonah Williams
368da5bb59 [flutter_tools] support bundling SkSL shaders in flutter build apk/appbundle (#56059)
Support bundling SkSL shaders into an android APK or appbundle via the --bundle-sksl-path command line options. If provided, these are validated for platform engine revision and then placed in flutter_assets/io.flutter.shaders.json
2020-04-30 13:39:08 -07:00
Ferhat
0d452b8305 [web] Change display mode of PWA default to standalone (#56056)
Change display mode of PWA default to standalone, update integration test manifest to new default
2020-04-30 11:20:14 -07:00
Jonah Williams
bd6ccb606a [flutter_tools] android device stopApp handles null apk (#55990)
The resident runner does not check if the ApplicationPackage is null when trying to stop the app. Update AndroidDevice.stopApp to handle this case by returning false.

The package will be null when flutter attach is used.
2020-04-29 16:31:42 -07:00
Jonah Williams
fdc6f38a44 increase eventOrExit timeout to 1 minute (#55988) 2020-04-29 15:33:55 -07:00
Jonah Williams
0889e14361 [flutter_tools] increase stopApp timeout for FlutterDevice.exitApps (#55984) 2020-04-29 15:08:34 -07:00
Matt Mohandiss
1e150c5d95 Update finders.dart (#55936)
Fixed #55858
2020-04-29 14:33:47 -07:00
Jonah Williams
a58d50deb1 [flutter_tools] allow pulling performance data from assemble (#55699) 2020-04-29 13:04:59 -07:00
Jenn Magder
46a5c550db Add iOS simulator log parse test (#55808) 2020-04-29 13:02:39 -07:00
Jonah Williams
7ec50ddd66 [devicelab] Explicitly print stack trace from error in android attach test (#55981) 2020-04-29 12:51:38 -07:00
Jonah Williams
534b0608ce [flutter_tools] remove vm service (#55794)
Finishes the gradual vm service migration by deleting the flutter tooling's vm_service
2020-04-29 11:52:46 -07:00
Jonah Williams
c55b32204e [flutter_tools] fix performance of tree-shake-icons (#55417)
Fixes the performance issue with tree-shake-icons and filters to ttf mime type. Does not change default or error behavior.
2020-04-29 11:43:47 -07:00
Jonah Williams
72397fd448 [flutter_tools] Lazily inject logger into web devices (#55961)
Constructing the WebDevices with the global logger too early will lead to them grabbing the StdoutLogger when running in daemon mode. This prevents IDEs from seeing the correct debug message.
2020-04-29 11:35:40 -07:00
Tom
1d0999d011 Add support for dismissing cupertino modal on barrier tap (#50915) 2020-04-29 11:19:02 -07:00
engine-flutter-autoroll
b7586d873a Roll engine bd5234780ec2..2db327657369 (1 commits) (#55920) 2020-04-29 09:44:01 -07:00
Anthony
1b6711277e Fix default opacity assignments for unselected and selected icons in NavigationRail (#55902) 2020-04-29 09:39:03 -07:00
guylivneh
4dd3435b78 Add a property to Material icon button to customize the splash radius (#55761) 2020-04-29 09:34:03 -07:00
michaellee8
9d770c1091 [flutter_tools] fix pm serve ipv6 linklocal addr issue (#55664) 2020-04-29 09:29:02 -07:00
Emmanuel Garcia
9d106bdead Read correct file for android view benchmark (#55935) 2020-04-28 23:09:50 -07:00
Emmanuel Garcia
b176042c1a Add benchmark for hybrid composition on Android (#55609) 2020-04-28 19:24:15 -07:00
Jenn Magder
deb0fa374d Mark flutter_gallery_v2_chrome_run_test and flutter_gallery_v2_web_compile_test not flaky (#55877) 2020-04-28 19:17:27 -07:00
engine-flutter-autoroll
327fbb995e Roll engine fda26fc70f5b..bd5234780ec2 (2 commits) (#55919) 2020-04-28 18:29:01 -07:00
engine-flutter-autoroll
d6a1adacee fda26fc70 Run Flutter platform tasks in GLib main loop (flutter/engine#17910) (#55914) 2020-04-28 17:24:01 -07:00