Commit Graph

13771 Commits

Author SHA1 Message Date
liyuqian
8ca7c4cbbd Simplify toImage future handling (#30876)
Thanks to cbracken@'s suggestion on another Google-internal change.
2019-04-10 19:19:30 -07:00
champeauxr
a5dd074b0d Fixed Table flex column layout error #30437 (#30470)
RenderTable._computeColumnWidths() had a logic error that caused flex columns to be collapsed to their minimum widths in certain situations dependent on the layout width constraint and the number of flex columns.
2019-04-10 18:53:27 -07:00
xster
054e8870eb Fix iTunes Transporter quirk (#30883) 2019-04-10 18:33:43 -07:00
Greg Spencer
7b39269fe8 Bump Android build tools to 28.0.3 in Dockerfile (#30832)
Bumps the Android build tools to 28.0.3 instead of 28.0.0 in the Dockerfile, since that is what flutter doctor wants.
2019-04-10 16:57:35 -07:00
xster
e8c14e639d Update the upload key which seems to have trouble for some reason (#30871) 2019-04-10 15:49:11 -07:00
Dan Field
d2790bd2bb Check for invalid elevations (#30215)
* Check for invalid elevation usage in the layer tree
2019-04-10 14:57:46 -07:00
Sam Rawlins
83ddd98849 Fix additional @mustCallSuper indirect overrides and mixins (#30667) 2019-04-10 14:54:51 -07:00
Todd Volkert
499004779b Revert "Add Form.onSaved (#30643)" (#30793)
This reverts commit 949023b276.
2019-04-10 14:49:10 -07:00
Tong Mu
f34c2ef0a3 Revert "Remove pressure customization from some pointer events (#30414)" (#30873)
This reverts commit a821136997.
2019-04-10 14:14:12 -07:00
Tong Mu
a821136997 Remove pressure customization from some pointer events (#30414)
* Remove pressure from PointerHoverEvent ctor
2019-04-10 12:40:33 -07:00
Jonah Williams
316d44989a warn on uncomitted changes (#30235) 2019-04-10 12:24:53 -07:00
Jonah Williams
f66ee3e470 Add semanticsLabel parameter to TextSpan (#30837) 2019-04-10 12:24:01 -07:00
engine-flutter-autoroll
676fcc4b4b Roll engine 905c571db50d..72986c39ea36 (2 commits) (#30861)
905c571db5...72986c39ea

git log 905c571db50d5eb3b10eaa4d3c43c99321032223..72986c39ea3669ef26d4d7d7cd0c44f513fcd117 --no-merges --oneline
72986c39e Move constant definitions out embedder.h (flutter/engine#8498)
e356dbca2 Merge flutter/synchronization contents into fml. (flutter/engine#8525)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-04-10 14:55:18 -04:00
Justin McCandless
ed91a3be49 Fix cursor outside of input width (#30525)
* Disallow cursor from appearing beyond the width of the input.

* Test that verifies the cursor can't exceed the width of the input

* Use constant from editable.dart to explain 1 pixel difference in test

* Fix failing test that tested the case of overflowing spaces
2019-04-10 10:35:03 -05:00
xster
5a6c140d0d Cupertino localization step 7: modularize material specific things out of gen_localizations.dart (#29822) 2019-04-10 01:24:58 -07:00
engine-flutter-autoroll
421f16a6b9 Roll engine eec74e5c9231..905c571db50d (9 commits) (#30833)
eec74e5c92...905c571db5

git log eec74e5c92313f01a28dfbeb78d96e81231edab7..905c571db50d5eb3b10eaa4d3c43c99321032223 --no-merges --oneline
905c571db Add windows host_debug_unopt build (flutter/engine#8515)
39e1d00f3 Remove redundant specification of the |flutter| namespace in the engine. (flutter/engine#8523)
56052c70a Rename the shell namespace to flutter. (flutter/engine#8520)
ca1d163d4 Support message loops whose tasks are executed concurrently. (flutter/engine#8419)
8ae84ec3d Roll src/third_party/skia de8362c6f212..10bf7020aa15 (5 commits) (flutter/engine#8522)
2dbd981d3 Roll src/third_party/dart 06ed3f598c..1490a90bc1 (8 commits)
527913268 Android Embedding PR27: Fix SurfaceView flicker in Fragment transactions (flutter/engine#8504)
86ab45cd5 Remove the unused EnableBlink flag. (flutter/engine#8518)
d5880a609 Roll src/third_party/skia b5d8c634f95b..de8362c6f212 (14 commits) (flutter/engine#8519)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-04-09 23:15:18 -04:00
Shi-Hao Hong
b3bb5cd6b0 Fix StatefulWidget and StatelessWidget Sample Documentation (#30814) 2019-04-09 19:32:00 -07:00
liyuqian
eb30745faf Print warning if flutter drive is run in debug (#30747)
## Description

Print actionable warnings if `flutter drive` (where most of our performance benchmarks come from) is run in debug mode and it tries to gather benchmarks using `traceAction`.

## Related Issues

https://github.com/flutter/flutter/issues/30625

## Tests

I added the following tests:
* drive_perf_debug_warning devicelab test
2019-04-09 18:55:42 -07:00
xster
5a4eaabaf1 Cupertino localization step 11: add more translation clarifications in the instructions (#30527) 2019-04-09 17:47:44 -07:00
engine-flutter-autoroll
514aba6e36 Roll engine 6a0460c33ff7..eec74e5c9231 (6 commits) (#30813)
6a0460c33f...eec74e5c92

git log 6a0460c33ff7e4f18b809285301337698de9ab38..eec74e5c92313f01a28dfbeb78d96e81231edab7 --no-merges --oneline
eec74e5c9 Rename the blink namespace to flutter. (flutter/engine#8517)
fff80a0d9 Roll src/third_party/dart 06ed3f598c..06ed3f598c (0 commits)
000f8e31a Remove dart_utf_tag from DEPS
9bfa96dee Add trace events for creating minikin fonts (flutter/engine#8477)
5381e57ea Roll src/third_party/skia 9a7c7be15969..b5d8c634f95b (11 commits) (flutter/engine#8513)
df707c6f1 switch to newer APIs for shaders and filters (flutter/engine#8511)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-04-09 17:40:20 -04:00
Shi-Hao Hong
c7d7ba1c2b Update ExpansionPanelList Samples with Scaffold template (#30805) 2019-04-09 14:01:47 -07:00
Shi-Hao Hong
1835aac558 Update ListTile sample snippets to use Material Scaffold Template (#30800) 2019-04-09 13:46:31 -07:00
ShaLi Shaltiel
a018264131 Updated package template .gitignore file (#27034) 2019-04-09 10:12:32 -07:00
Shi-Hao Hong
9f9c5c29ec Embedded images and variations to ListTile sample code (#30537)
Also includes counter-examples for list items that differ from ListTile.
2019-04-09 10:10:57 -07:00
liyuqian
5f060ba1c2 Mark cubic_bezier_perf__timeline_summary nonflaky (#30767) 2019-04-09 10:01:19 -07:00
Michael Thomsen
811f1ad98f Forward missing pub commands (#30115) 2019-04-09 17:03:09 +02:00
engine-flutter-autoroll
3fe810261e 6a0460c33 Roll src/third_party/skia 097e77cd3ba0..9a7c7be15969 (1 commits) (flutter/engine#8512) (#30785)
2335dd2f8a...6a0460c33f

git log 2335dd2f8acfbbe9af5db626fd9c71031492fa8f..6a0460c33ff7e4f18b809285301337698de9ab38 --no-merges --oneline
6a0460c33 Roll src/third_party/skia 097e77cd3ba0..9a7c7be15969 (1 commits) (flutter/engine#8512)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-04-09 10:38:19 -04:00
Jonah Williams
03817a995a fix cast NPE in invokeListMethod and invokeMapMathod (#30760) 2019-04-09 07:22:25 -07:00
engine-flutter-autoroll
b1611cc90d Roll engine 8a465596533d..2335dd2f8acf (2 commits) (#30780)
8a46559653...2335dd2f8a

git log 8a465596533d75eb128faab5cd70b60c5e989935..2335dd2f8acfbbe9af5db626fd9c71031492fa8f --no-merges --oneline
2335dd2f8 Roll src/third_party/skia 696e8dda3ca3..097e77cd3ba0 (1 commits) (flutter/engine#8510)
4e839444f Roll src/third_party/skia 0ea414a08208..696e8dda3ca3 (3 commits) (flutter/engine#8509)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-04-09 07:18:44 -04:00
engine-flutter-autoroll
e5722f32e4 Roll engine ff1bcdc00941..8a465596533d (21 commits) (#30768)
ff1bcdc009...8a46559653

git log ff1bcdc00941188ba27123a4857b443e3c9392bb..8a465596533d75eb128faab5cd70b60c5e989935 --no-merges --oneline
8a4655965 Route FlutterEventTracer events to Fuchsia tracing for Fuchsia (flutter/engine#8499)
7ce64be6c [scenic] Remove unused mozart.internal (flutter/engine#8496)
edb050f7a Roll src/third_party/skia 2f08a4043b26..0ea414a08208 (2 commits) (flutter/engine#8506)
623dca053 Roll src/third_party/dart b23817105c..cc63d6e647 (8 commits)
c7b138d82 [scenic][SCN-1054] remove dangling uses of SetTranslationRH (flutter/engine#8503)
53620352a Roll src/third_party/dart aacc0b0709..b23817105c (8 commits)
046b3cd28 Get rid of the macro for accessing the current test name. (flutter/engine#8500)
533ca016e Roll src/third_party/skia 6b797fec83f0..2f08a4043b26 (8 commits) (flutter/engine#8501)
612abee90 Wire up support for Dart fixtures in shell_unittests. (flutter/engine#8497)
dbcfc504c Android Embedding PR26: Offer an async version of FlutterMain's ensure initialization complete. (flutter/engine#8465)
a930ca893 Roll src/third_party/dart 8e4dcf48c4..aacc0b0709 (4 commits)
acfc83179 Roll src/third_party/skia 602df41025ea..6b797fec83f0 (19 commits) (flutter/engine#8494)
3558fa65a [Docs] Correcting link to contributing guide. (flutter/engine#8472)
0bf708ee1 Refactor ios play input sound logic. (flutter/engine#7783)
78bd318c9 Add Locale.toLanguageTag() (flutter/engine#8421)
efb3b003f Roll src/third_party/dart 8e0a669e74..8e4dcf48c4 (8 commits)
075b4899d Support ContextWrapper when FlutterView is instantiated within a Fragment. (flutter/engine#7776)
85ca8c485 Roll src/third_party/skia 053b2939938c..602df41025ea (21 commits) (flutter/engine#8492)
a6b8e70ad Remove unused variable (flutter/engine#8490)
377dc6400 Roll src/third_party/dart 86b5304ccd..8e0a669e74 (6 commits)
7ee3a31c5 Roll src/third_party/dart 907c514c89..86b5304ccd (27 commits)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-04-09 03:09:41 -04:00
Jonah Williams
ed49122aa3 register gradle wrapper as universal artifact (#30755) 2019-04-08 20:22:34 -07:00
Tim Sneath
d62635a3d0 Update README.md (#30594)
* Rewrite README with text from Flutter announcement
2019-04-08 18:02:09 -07:00
xster
e2b6a3a7a8 Cupertino localization step 6: add a GlobalCupertinoLocalizations base class with date time formatting (#29767) 2019-04-08 16:56:58 -07:00
Jonah Williams
9baffb97ca Reland: Ensure that flutter run/drive/test/update_packages only downloads required artifacts (#30254) 2019-04-08 13:49:09 -07:00
Jonah Williams
99b4459944 Allow disabling experimental commands, devices on stable branch (#30153) 2019-04-08 13:48:21 -07:00
Lau Ching Jun
294d7ea0cf Mark ios-deploy version 2.0.0 as bad (#30578)
Mark ios-deploy version 2.0.0 as bad.

ios-deploy before version 1.9.4 declares itself as v2.0.0
https://github.com/ios-control/ios-deploy/commits/master/src/ios-deploy/version.h
2019-04-08 12:37:43 -07:00
rami-a
a12c5618de Prevent vertical scroll in shrine by ensuring card size fits the screen (#30455) 2019-04-08 11:22:19 -04:00
Todd Volkert
0b8403b61c Add const Border.uniform() (#30640)
`Border.all()` is a factory constructor and thus not const
constructible. This change adds a `const Border.uniform()`
constructor and makes `Border.all()` delegate to it. This allows
callers to more likely be able to make their widget tree const
constructible.
2019-04-07 21:29:32 -07:00
Todd Volkert
949023b276 Add Form.onSaved (#30643)
When submitting data to a server, callers need a callback that will
get invoked after all the individual form fields are saved. If they
have a button that submits the form, they could just do this logic
in the click handler for the button (save the form, then submit to
the server), but if they have more ways than one to submit the form
(i.e. hitting enter while in a text form field), then it becomes
more convoluted and calls for a unified callback that will get
notified when the form is submitted.
2019-04-07 21:02:09 -07:00
Todd Volkert
cb78274c3f Make FormField._validate() return void (#30644)
None of its callers were using the return value, so no need to
invoke the `isValid` getter unnecessarily.
2019-04-07 21:01:33 -07:00
Todd Volkert
535523dbe0 Add docs to FormFieldValidator (#30645)
To describe what its return value represents
2019-04-07 21:00:53 -07:00
engine-flutter-autoroll
b3aa852a7a ff1bcdc00 Add Views V2 support for Fuchsia (flutter/engine#8115) (#30633)
0c393d64e4...ff1bcdc009

git log 0c393d64e4d1c4cd408a591eac72ba05cdc2c0da..ff1bcdc00941188ba27123a4857b443e3c9392bb --no-merges --oneline
ff1bcdc00 Add Views V2 support for Fuchsia (flutter/engine#8115)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-04-07 06:21:41 -04:00
Dan Field
d42db56b52 Add sample for ValueListenableBuilder (#30626)
* Add sample for ValueListenableBuilder
2019-04-06 20:14:41 -07:00
engine-flutter-autoroll
e09fc3574a Roll engine 6bc33b5e1442..0c393d64e4d1 (12 commits) (#30623)
6bc33b5e14...0c393d64e4

git log 6bc33b5e144254ceab274298dd61d9d9ed0dcc8f..0c393d64e4d1c4cd408a591eac72ba05cdc2c0da --no-merges --oneline
0c393d64e Roll dart back to 907c514c8937cf76e (flutter/engine#8473)
fea42a259 Roll src/third_party/dart 9e1adc54a7..389ccc9000 (10 commits)
d6cf2bda1 Roll src/third_party/dart da4ccd0855..9e1adc54a7 (3 commits)
0c2a2c1c4 Initialize OpacityLayer's matrix to identity (flutter/engine#8467)
7fd4caf03 Roll src/third_party/dart 1ad11facec..da4ccd0855 (6 commits)
d3fbaea9a Android Embedding PR25: Prevent black rectangle when launching FlutterActivity (flutter/engine#8460)
99da038da Document the leak_vm flag. (flutter/engine#8462)
ce7c21ce9 Log the correct function on error in the embedder. (flutter/engine#8461)
e10d46421 Improve path metrics tests and docs (flutter/engine#7851)
424045c3f Enable shutting down all root isolates in a VM. (flutter/engine#8457)
816e3dc0f Roll src/third_party/dart 907c514c89..1ad11facec (7 commits)
45dc353ee Roll src/third_party/skia 0e35ce27e0e9..053b2939938c (10 commits) (flutter/engine#8458)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.
2019-04-06 19:31:41 -04:00
xster
d0f89c1190 Fix gallery deploy on iOS (#22810) 2019-04-05 18:55:33 -07:00
Hans Muller
ab06d033ca Fixed a typo in the Expanded API doc (#30563) 2019-04-05 17:40:38 -07:00
Taym Haddadi
3067825946 Add confirmDismiss example to flutter_gallery (#30497) 2019-04-05 16:02:55 -07:00
LongCatIsLooong
e153883d43 Provide a default IconTheme in CupertinoTheme (#30521)
-* Inserted an `IconTheme` widget under `CupertinoTheme` to provide a default icon color when using `CupertinoTheme`.
* Changed `CupertinoTheme` to a `StatelessWidget`, to match the implementation of `Theme`
* Changed the nesting order of `Theme`'s sub widgets, to let `Theme.iconTheme` take precedence, so that `Theme`'s behavior is kept as is.
2019-04-05 15:57:29 -07:00
engine-flutter-autoroll
9e41f3954d Roll engine 2fe4439178f3..6bc33b5e1442 (3 commits) (#30576)
2fe4439178...6bc33b5e14

git log 2fe4439178f3e09ddaa4d016688691a1adc65ed6..6bc33b5e144254ceab274298dd61d9d9ed0dcc8f --no-merges --oneline
6bc33b5e1 Android Embedding PR24: Allow FlutterActivity to provide an engine, also adjust FlutterFragment timing to avoid Activity launch lag. (flutter/engine#8448)
08a133508 More detailed comments for engine build windows VM (flutter/engine#8456)
1854b8571 Roll src/third_party/dart a2709992a2..907c514c89 (1 commits)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.
2019-04-05 18:53:41 -04:00
Michael Goderbauer
f7048b696d Bump dartdocs to 0.28.3+1 (#30570) 2019-04-05 14:01:27 -07:00