13720 Commits

Author SHA1 Message Date
Tim Sneath
529189791c
Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07:00
chunhtai
2b7e98973a
Fix issue 21640: Assertion Error : '_listenerAttached': is not true (#30513) 2019-04-05 11:31:40 -07:00
Alexandre Ardhuin
32f1b810ae shorter nullable list duplications (#30305) 2019-04-05 10:23:35 -07:00
Tong Mu
1ae32facfe
Correctly synthesise event buttons (#30535)
* Correctly synthesise buttons, and add tests
2019-04-05 09:53:40 -07:00
engine-flutter-autoroll
8e3906a287
Roll engine 3c3b26b55c16..7e79b1f03db0 (4 commits) (#30559)
3c3b26b55c...7e79b1f03d

git log 3c3b26b55c1682cbf58a712d102c66dca53f93e4..7e79b1f03db04a70509a207d5a0ce2de498f9aba --no-merges --oneline
7e79b1f03 Roll src/third_party/dart 896f1c4bb9..a2709992a2 (25 commits)
9c4c043ae Roll src/third_party/skia 604d5a3fca01..558637996569 (1 commits) (flutter/engine#8452)
754453df3 Roll src/third_party/skia 1f58a8e457ba..604d5a3fca01 (1 commits) (flutter/engine#8451)
d6d45da07 Roll src/third_party/skia b0ababfe5ad2..1f58a8e457ba (3 commits) (flutter/engine#8450)

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 12:46:41 -04:00
Justin McCandless
566ac3ce2f
Trackpad mode crash fix (#30475)
Fixes a crash that happened when attempting to select text in trackpad mode on iOS.
2019-04-05 09:35:26 -07:00
engine-flutter-autoroll
4a2832b0e5
3c3b26b55 Roll src/third_party/skia 51874e3e3712..b0ababfe5ad2 (1 commits) (flutter/engine#8449) (#30540)
697e541a8d...3c3b26b55c

git log 697e541a8d9475b504a2bd6f335b4f004775adf3..3c3b26b55c1682cbf58a712d102c66dca53f93e4 --no-merges --oneline
3c3b26b55 Roll src/third_party/skia 51874e3e3712..b0ababfe5ad2 (1 commits) (flutter/engine#8449)

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 11:37:41 -04:00
Wai Hon Law
e8d968ed8d Update repair command for Arch Linux (#30428)
The current repair command for Arch Linux is no longer valid because
`lib32-libstdc++5` had been removed from multilib.

Actually, `lib32-gcc-libs` from core just work.
Also see https://github.com/flutter/flutter/issues/25035
2019-04-05 07:55:29 -07:00
engine-flutter-autoroll
5e52f5df55
697e541a8 Add scripts that prepares our windows VM image (flutter/engine#8446) (#30538)
8b74cba20b...697e541a8d

git log 8b74cba20bb878d1e75747200f75dfaff5925bda..697e541a8d9475b504a2bd6f335b4f004775adf3 --no-merges --oneline
697e541a8 Add scripts that prepares our windows VM image (flutter/engine#8446)

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-04 22:48:45 -04:00
engine-flutter-autoroll
47900d184c
Roll engine 219bf5938752..8b74cba20bb8 (4 commits) (#30536)
219bf59387...8b74cba20b

git log 219bf5938752e0030b491565af1910c137b83dd8..8b74cba20bb878d1e75747200f75dfaff5925bda --no-merges --oneline
8b74cba20 Make sure FlutterViewController flushs all pending touches when no longer active (flutter/engine#8400)
06cab8171 Roll src/third_party/skia e4628b10722f..51874e3e3712 (2 commits) (flutter/engine#8445)
5460926c0 Roll src/third_party/dart 9814cb1b9c..896f1c4bb9 (4 commits)
694fc5677 Build windows engine on GCE (flutter/engine#8442)

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-04 21:37:41 -04:00
xster
cdc6919350
Let docker image install fastlane too for Linux (#30530) 2019-04-04 18:11:14 -07:00
Hans Muller
73687a9771
Correct MaterialButton disabledColor (#30531) 2019-04-04 18:05:55 -07:00
xster
d15b3b1c8b
Cupertino localization step 5: add french arb as translated example (#29708) 2019-04-04 15:14:46 -07:00
Tong Mu
13101c1a86
Touching the screen adds 0x01 to buttons (#30457)
* Add constants `kPrimaryButton`, `kTouchContact` and `kStylusContact`
* PointerDownEvent and PointerMoveEvent will always set the 0x01 bit on buttons
2019-04-04 15:11:29 -07:00
Morgan
74ee010b7b Fix MaterialApp's _navigatorObserver when only builder used (#29413)
Fix MaterialApp's _navigatorObserver so it doesn't cause WidgetApp's assertion to fail when using custom navigator, fixes #18904
2019-04-04 15:02:11 -07:00
engine-flutter-autoroll
223d68ac8b
Roll engine 0f70d5d4f1e3..219bf5938752 (2 commits) (#30520)
0f70d5d4f1...219bf59387

git log 0f70d5d4f1e3ed377781bc6e73e3666c73afc7f8..219bf5938752e0030b491565af1910c137b83dd8 --no-merges --oneline
219bf5938 Roll src/third_party/skia 1383a38e1d92..e4628b10722f (12 commits) (flutter/engine#8443)
a40adfdf4 Add window title/icon support to GLFW shell (flutter/engine#8435)

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-04 17:54:40 -04:00
Kate Lovett
05d1a10592
Embedding the diagram for BottomNavigationBar. (#30468) 2019-04-04 14:17:14 -07:00
engine-flutter-autoroll
9022d9f483
Roll engine 5944867cabdb..0f70d5d4f1e3 (2 commits) (#30512)
5944867cab...0f70d5d4f1

git log 5944867cabdb934ef9fea0dccb865cb1acef51b5..0f70d5d4f1e3ed377781bc6e73e3666c73afc7f8 --no-merges --oneline
0f70d5d4f Roll src/third_party/dart 600b2831ef..9814cb1b9c (7 commits)
4b1ec56bc Roll src/third_party/skia f346df396a23..1383a38e1d92 (8 commits) (flutter/engine#8440)

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-04 15:10:41 -04:00
Justin McCandless
3ada502832
Pan and zoom gallery demo (#25164)
Adds the "2D Transformations" demo to the gallery, which shows how to do things such as navigate around a map a la Google Maps, or show a full screen zoomable photo.  The idea is to abstract this code into a first class widget soon.
2019-04-04 11:59:36 -07:00
Tong Mu
423cf223d9
Fix edge cases of PointerEventConverter (#29998)
* Fix: ui.PointerChange.remove might contain position change, but we used to expand it into a Cancel and Remove, neither of which allows position change. A Hover event is added, and a test is updated accordingly.
* Fixed the issue where a PointerMoveEvent and a PointerCancelEvent do not receive the correct pressure.
* Refactor the calculation of delta into deltaTo.
2019-04-04 10:27:07 -07:00
engine-flutter-autoroll
6ba720a489
5944867ca update to use SkTileMode (flutter/engine#8439) (#30506)
ad9d2417e9...5944867cab

git log ad9d2417e9aa182700f0d1423de758d2a000598d..5944867cabdb934ef9fea0dccb865cb1acef51b5 --no-merges --oneline
5944867ca update to use SkTileMode (flutter/engine#8439)

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-04 11:27:41 -04:00
engine-flutter-autoroll
21e34e07c5
Roll engine 309d078b597d..ad9d2417e9aa (15 commits) (#30502)
309d078b59...ad9d2417e9

git log 309d078b597d3a38fe9bcef8d8bae7b56487e8eb..ad9d2417e9aa182700f0d1423de758d2a000598d --no-merges --oneline
ad9d2417e Roll src/third_party/skia dde12a25bb5e..f346df396a23 (1 commits) (flutter/engine#8438)
0ed237c19 Roll src/third_party/skia b6d04556c34d..dde12a25bb5e (4 commits) (flutter/engine#8437)
445ab42ef Roll src/third_party/dart 11a3dd7332..600b2831ef (9 commits)
49d0dc6d6 Roll src/third_party/skia 5c5de2146309..b6d04556c34d (1 commits) (flutter/engine#8434)
4ff18fbda Roll src/third_party/dart f6768b6fb3..11a3dd7332 (56 commits)
7b831986f Roll src/third_party/skia 2273c900ea28..5c5de2146309 (5 commits) (flutter/engine#8432)
800ea0a40 Revert "Enable shutting down all root isolates in a VM. (#8402)" (flutter/engine#8431)
b59c4436c Enable shutting down all root isolates in a VM. (flutter/engine#8402)
9acdf1837 Make AccessibilityViewEmbedder final (flutter/engine#8429)
804d54ddf Eliminate unused displayBounds parameter (flutter/engine#8427)
d4c815f57 Roll buildroot (flutter/engine#8425)
20190d707 Roll src/third_party/skia fbe240669394..2273c900ea28 (13 commits) (flutter/engine#8428)
7e38b0aa2 Revert "Revert "Separate the data required to bootstrap the VM into its own class. (#8397)" (#8406)" (flutter/engine#8414)
d8bb9d793 Roll src/third_party/skia 176da0bb8a10..fbe240669394 (9 commits) (flutter/engine#8424)
64fc58329 Remove use of DART_CHECK_VALID. (flutter/engine#8417)

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-04 10:15:42 -04:00
Shi-Hao Hong
1e50518cdc
Add ExpansionPanelList and ExpansionPanelList.radio Examples (#30343) 2019-04-04 07:12:56 -07:00
Michelle Dudley
eb4b3e4b62 Fix Shrine overscroll glow indicator (#27217) 2019-04-04 09:51:01 -04:00
Nikita
88d50f78f3 Implement compute for async function (#16265) (#30275) 2019-04-04 00:17:26 -07:00
Kate Lovett
0c01a557df Embedding new raised button diagram. (#30398) 2019-04-04 00:14:40 -07:00
Kate Lovett
31086faa28 Updating sample code for BottomNavigationBar class for diagram. (#30453) 2019-04-04 00:14:12 -07:00
Michael Goderbauer
77bbd28c62
Random trivial fixes in the animation packages (#30276) 2019-04-04 00:13:34 -07:00
Michael Goderbauer
3c8dabefe7
Be more explicit when ValueNotifier notifies (#30461) 2019-04-04 00:13:07 -07:00
engine-flutter-autoroll
952e307dcb
309d078b5 Roll src/third_party/skia e25b4472cdd9..176da0bb8a10 (10 commits) (flutter/engine#8422) (#30441)
cc115500b9...309d078b59

git log cc115500b9cb2b27d59627f202e6cd6bb87f49fc..309d078b597d3a38fe9bcef8d8bae7b56487e8eb --no-merges --oneline
309d078b5 Roll src/third_party/skia e25b4472cdd9..176da0bb8a10 (10 commits) (flutter/engine#8422)

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-04 03:10:41 -04:00
Zachary Anderson
39ebae2bab
[fuchsia] Fix isolate filter (#30458) 2019-04-03 21:14:37 -07:00
Hans Muller
9fe6be8a65
Fix gallery API doc URL launcher (#30460) 2019-04-03 16:57:03 -07:00
liyuqian
16a16e6598
Revert "Error message for setting shaderWarmUp too late (#30145)" (#30463)
This reverts commit ffbb335e35ae7416be98b72779baae6c9bd25b3b.

Reason for revert: flutter driver tests may have bugs in getting
first frame. Revert this until we figure out what happened.
2019-04-03 15:38:31 -07:00
Michael Goderbauer
5493fe469e
Moar Videos (#30452) 2019-04-03 12:49:13 -07:00
Michael Goderbauer
516ffd0c09
Add 29 Widget of the Week videos (#30415) 2019-04-03 12:48:37 -07:00
Christopher Fujino
7799afe248
make shellcheck (linter) recommended changes to bin/flutter (#30456) 2019-04-03 12:30:34 -07:00
Michael Goderbauer
194babfb42
Bump dartdocs to 0.28.3 (#30451) 2019-04-03 11:56:41 -07:00
Vyacheslav Egorov
01e3496ad9
Introduce --report-timings flag for flutter build aot command. (#30032)
This flag makes flutter build aot report timings for substeps (e.g.
frontend compilation and gen_snapshot) in a machine readable form.
2019-04-03 12:12:18 +02:00
engine-flutter-autoroll
a39b55424b
Roll engine 4a8c7dceeb4b..cc115500b9cb (6 commits) (#30421)
4a8c7dceeb...cc115500b9

git log 4a8c7dceeb4b7c710e0b22090cc3bc26f458a3a9..cc115500b9cb2b27d59627f202e6cd6bb87f49fc --no-merges --oneline
cc115500b Roll src/third_party/skia c9eeab3d85b9..e25b4472cdd9 (1 commits) (flutter/engine#8420)
20e45996d Roll src/third_party/skia 71c0e9422038..c9eeab3d85b9 (4 commits) (flutter/engine#8418)
a650790e4 Add scroll wheel support to desktop GLFW shell (flutter/engine#8416)
77d8e12e9 Roll src/third_party/dart 14fd3b7d6a..f6768b6fb3 (5 commits)
23fceaacd Added new Android embedding packages to javadoc generation. (flutter/engine#8411)
2f1786010 Pass environment defines to compile flutter platform step. (flutter/engine#8412)

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-03 02:00:41 -04:00
xster
72a4083467
Cupertino localization step 4: let generated date localization combine material and cupertino locales (#29650) 2019-04-02 18:31:56 -07:00
Dan Field
069aabfe95
Draggable Scrollable sheet (#30058)
* Draggable Scrollable sheet
2019-04-02 18:07:30 -07:00
engine-flutter-autoroll
3c9ffbca47
Roll engine f7b4903d7c99..4a8c7dceeb4b (5 commits) (#30399)
f7b4903d7c...4a8c7dceeb

git log f7b4903d7c9913447af3aaebc4308d1a1e2a4dde..4a8c7dceeb4b7c710e0b22090cc3bc26f458a3a9 --no-merges --oneline
4a8c7dcee Roll src/third_party/skia f2d9b865d736..71c0e9422038 (13 commits) (flutter/engine#8413)
efbecd7e8 [txt] Add back FontCollection::SetDefaultFontManager (flutter/engine#8410)
5f7711449 Roll src/third_party/dart 75b2f9f919..14fd3b7d6a (23 commits)
f27c5730a [fuchsia] Exclude glfw from the Fuchsia host build (flutter/engine#8407)
853ac1bdf Roll src/third_party/skia 70d8f4f3acbb..f2d9b865d736 (11 commits) (flutter/engine#8408)

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-02 20:57:41 -04:00
Amir Hardon
b6afc16a96
Make sure _handleAppFrame is only registered once per frame (#30346)
There were 2 possible scenarios in which _handleAppFrame is added more than once as a frame callback. When this happens it is possible that the second invocation will try to access _nextFrame.image when _nextFrame is null and crash. The 2 scenarios are:

Scenario 1

A GIF frame is decoded and a Flutter frame is executed before it's time to show the next GIF frame.
The timer that's waiting for enough time to elapse is invoked, and schedules a callback for the next Flutter frame(here).
Before the next Flutter frame is executed, MultiFrameImageStreamCompleter#removeListener is called followed by ``MultiFrameImageStreamCompleter#addListenerthat is invoking_decodeNextFrameAndSchedule` which is adding `_handleAppFrame` again as a next frame callback.
Scenario 2
removeListener and addListener are called multiple times in succession, every call to addListener can result in another registration of _handleAppFrame to the next Flutter frame callbacks list.

This patch fixes the issue by guarding against a second registration of _handleAppFrame.
2019-04-02 12:14:27 -07:00
xster
a83f6eadb8
Add needed singular resources for cupertino_en.arb (#30160) 2019-04-02 11:25:06 -07:00
engine-flutter-autoroll
6b3dc81670
Roll engine 6675f71dfb22..f7b4903d7c99 (2 commits) (#30393)
6675f71dfb...f7b4903d7c

git log 6675f71dfb22a0b4fdab6332e37843f78c33c9e6..f7b4903d7c9913447af3aaebc4308d1a1e2a4dde --no-merges --oneline
f7b4903d7 Revert "Separate the data required to bootstrap the VM into its own class. (#8397)" (flutter/engine#8406)
f835789dd Roll src/third_party/skia d962070feb84..70d8f4f3acbb (1 commits) (flutter/engine#8405)

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 (liyuqian@google.com), and stop
the roller if necessary.
2019-04-02 14:08:41 -04:00
Jon Tippens
f056ea4e70 Fix minor typo (#30353) 2019-04-02 09:45:04 -07:00
Kate Lovett
add5f2ea76
Updating sample code for raised button to match forthcoming diagram. (#30348) 2019-04-02 09:28:13 -07:00
engine-flutter-autoroll
9d2fa95364
6675f71df Roll src/third_party/skia 1acf79a3e5b8..d962070feb84 (4 commits) (flutter/engine#8404) (#30365)
b572ade355...6675f71dfb

git log b572ade3550b3f04ccb8c18d5bc4d5804f479c03..6675f71dfb22a0b4fdab6332e37843f78c33c9e6 --no-merges --oneline
6675f71df Roll src/third_party/skia 1acf79a3e5b8..d962070feb84 (4 commits) (flutter/engine#8404)

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 (liyuqian@google.com), and stop
the roller if necessary.
2019-04-02 12:27:41 -04:00
engine-flutter-autoroll
159c493803
b572ade35 Roll src/third_party/skia 3f6a2ac63670..1acf79a3e5b8 (1 commits) (flutter/engine#8403) (#30355)
3796d98918...b572ade355

git log 3796d989183d588b17a110d8aaf74906c4e1c8f0..b572ade3550b3f04ccb8c18d5bc4d5804f479c03 --no-merges --oneline
b572ade35 Roll src/third_party/skia 3f6a2ac63670..1acf79a3e5b8 (1 commits) (flutter/engine#8403)

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 (bmparr@google.com), and stop
the roller if necessary.
2019-04-02 03:10:41 -04:00
Alexandre Ardhuin
4bb6840091
no need .toList() before .join() (#30304) 2019-04-02 07:20:23 +02:00