12587 Commits

Author SHA1 Message Date
Michael Goderbauer
a7fce41a32 Roll engine to 731045e832c5856e7ec902f2c6a485e6e047e9ea 2018-11-05 16:06:54 -08:00
Michael Goderbauer
a0e667857e Roll engine to dd32b3fbc21439df90c872eee88de9cb35633697 2018-11-05 16:06:54 -08:00
Todd Volkert
07d1ba87e0
Update doctor instructions for libimobiledevice installation (#23946)
https://github.com/flutter/flutter/issues/22595
2018-11-05 15:10:13 -08:00
mattijsf
54becbf3bf Ignore unreachable iOS devices in IOSDevice.getAttachedDevices (#23776) 2018-11-05 15:09:39 -08:00
Michael Goderbauer
b8c29a1490
Add benchmark for LICENSE file size (#23948) 2018-11-05 13:57:40 -08:00
Stanislav Baranov
ba4cf054bd
Propagate positions of secondary pointers in UP events on Android (#23797) 2018-11-05 12:43:00 -08:00
Hans Muller
7245c4a6f6
Warn about supported locales that lack localizations (#23850) 2018-11-05 12:39:31 -08:00
Florian Huonder
02355d4c19 Added the DialogTheme to the material exports so that it is accessible. (#23858) 2018-11-05 09:34:05 -08:00
Dan Field
212374f0b7
Fix tests for ANSI terminals (#23906) 2018-11-05 07:56:30 -08:00
Alexandre Ardhuin
344ebe02ff
avoid returning null for Future (#23784) 2018-11-05 16:38:23 +01:00
Greg Spencer
202b045b50
Rewrite the analyze-sample-code script to also analyze snippets (#23893)
This rewrites the sample code analysis script to be a little less of a hack (but still not pretty), and to handle snippets as well.

It also changes the semantics of how sample code is handled: the namespace for the sample code is now limited to the file that it appears in, so some additional "Examples can assume:" blocks were added. The upside of this is that there will be far fewer name collisions.

I fixed the output too: no longer will you get 4000 lines of numbered output with the error at the top and have to grep for the actual problem. It gives the filename and line number of the original location of the code (in the comment in the tree), and prints out the source code on the line that caused the problem along with the error.

For snippets, it prints out the location of the start of the snippet and the source code line that causes the problem. It can't print out the original line, because snippets get formatted when they are written, so the line might not be in the same place.
2018-11-05 07:31:35 -08:00
Alexander Aprelev
34bc1e3c8c
Fix hanging of flutter run when running on more than one simulator. (#23932)
This stops reading from pipe-to-file log after the build is completed. Attempting to read from pipe-to-file keeps open blocked because nobody is going to write into that pipe.
2018-11-05 07:29:37 -08:00
Danny Tuppeny
8e7c8048de
Don't search in %LocalAppData% if it's not set (#23933)
It's not usual for this not to be set, but it affected at least one user (#23909) and there are a non-zero number of people online saying it's not set. It's better that we don't crash.

Fixes #23909.
2018-11-05 08:57:49 +00:00
sjindel-google
db9fe3f827
Fix text field clipping when erasing rapidly. (#23894)
`RenderEditable.paint` assumes that if the length of the text fits within the
visible region, then the text will be rendered at the start of the region and be
completely visible. This is not always true, since the text may still be
rendered at an offset if an animation is ongoing when the text begins to fit.

This fixes #22288 and #14121
2018-11-04 03:20:44 +01:00
Dan Field
1ab33ec5fb
Update osx_instance (#23883)
* Update `osx_instance`

Cirrus no longer supports `high-sierra-xcode-9.4`.
2018-11-02 20:02:07 -07:00
jslavitz
a4a0ff9ab4
Makes FlexibleSpaceBarSettings public (#23803)
* Makes FlexibleSpaceSettingsPublic and adds a test
2018-11-02 17:38:38 -07:00
Yegor
f03b00706f
code readability: fix awkward variable shadowing (#23886) 2018-11-02 17:07:00 -07:00
Hans Muller
dd30efa190
Revert "Restore "Flutter gallery: updated Shrine demo" (#23878)" (#23888)
This reverts commit 76a1abd4c779a3f54f6a6a49340eca03a99d522c.
2018-11-02 15:32:02 -07:00
Hans Muller
76a1abd4c7
Restore "Flutter gallery: updated Shrine demo" (#23878) 2018-11-02 14:33:10 -07:00
Tim Sneath
1ff37d587b
Remove color command from flutter_console.bat (#23880) 2018-11-02 14:23:59 -07:00
Jonah Williams
d52f315c35
Add new benchmark to track cost of dependencies to a User (#23856) 2018-11-02 13:38:54 -07:00
Jason Simmons
36b9983212
Dartdoc comment for FontLoader.loadFont (#23882) 2018-11-02 13:22:09 -07:00
jslavitz
3aa104fe60
Allows progress indicator height to be controlled by parent (#23540)
* Adds functionality for progress indicator height to be controlled by the parent.
2018-11-02 09:50:14 -07:00
Jason Simmons
00565c2dda
An API for dynamically loading fonts (#23595)
See https://github.com/flutter/flutter/issues/17910
2018-11-02 09:44:26 -07:00
engine-flutter-autoroll
3789f47852
Roll engine e91e4db7e03d..88cb78cdf62c (11 commits) (#23874)
e91e4db7e0...88cb78cdf6

git log e91e4db7e03d..88cb78cdf62c --no-merges --oneline
88cb78cdf Roll src/third_party/skia 13853a120d5a..30edaaac1da4 (1 commits) (flutter/engine#6732)
eacf61efd Roll src/third_party/skia 2dc1e34f9029..13853a120d5a (1 commits) (flutter/engine#6731)
7618e5447 Roll src/third_party/skia 26fcd7166c74..2dc1e34f9029 (2 commits) (flutter/engine#6730)
10ec1fd6b Roll src/third_party/skia 94d7af7bcc96..26fcd7166c74 (5 commits) (flutter/engine#6729)
9e1f546a8 Add an overlay surface on top of embedded UIViews. (flutter/engine#6726)
136055669 Roll src/third_party/skia e978ca297965..94d7af7bcc96 (5 commits) (flutter/engine#6727)
c57d29ab6 Fixed typo (flutter/engine#6717)
f3fcb8f01 Roll src/third_party/skia f1eda00bf6b0..e978ca297965 (10 commits) (flutter/engine#6725)
fbb7893a0 Report asset names in loading trace events. (flutter/engine#6713)
d06ace699 Roll src/third_party/skia 3bdaa46bff71..f1eda00bf6b0 (11 commits) (flutter/engine#6724)
60d4d582f Roll src/third_party/skia 763fc966993d..3bdaa46bff71 (2 commits) (flutter/engine#6723)


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, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-02 12:20:07 -04:00
liyuqian
744b872f65
Add unit tests to mutate layer fields (#23599)
So we're sure that:
1. We won't break the API by not allowing to mutate fields
2. We won't forget to markNeedsAddToScene after mutation
2018-11-02 08:02:22 -07:00
Alexandre Ardhuin
6c32c15f3c
add some const classes (#21954) 2018-11-02 14:25:06 +01:00
Dan Field
f1f4bda8da
Mark some tests as not flaky (#23840)
These tests have been run for a few days now with no flakiness.
2018-11-01 20:08:45 -07:00
Jonah Williams
d80999d6b8
Support attach on fuchsia devices (#23436) 2018-11-01 20:04:52 -07:00
Alexander Aprelev
47f62109d2
Specify UDID for idevicelistener. (#23854)
This is needed to run flutter app on multiple iOS devices at a time.
2018-11-01 20:04:42 -07:00
Jonah Williams
0b35937b13
Revert "Flutter gallery: updated Shrine demo (#23539)" (#23848)
This reverts commit 949cfcf172cce8a714719765b2e79039c5eb8200.
2018-11-01 19:30:11 -07:00
Hans Muller
949cfcf172
Flutter gallery: updated Shrine demo (#23539) 2018-11-01 12:48:24 -07:00
Amir Hardon
fe503dc4ba
Add creation parameters to UiKitView. (#23800) 2018-11-01 11:14:43 -07:00
Yegor
072cd94839
call hapticFunction directly (#23830) 2018-11-01 10:35:09 -07:00
Jonah Williams
aac5b04858
CupertinoPicker semantics (#23551) 2018-11-01 10:20:19 -07:00
Pranjal Vyas
e92ac48431 Update README.md (#23760)
beautified Readme , removed bullet
2018-11-01 10:00:44 -07:00
Stefano Rodriguez
a9b8796a60 Use maybePop in place of pop in ModalBarrier dismiss interaction (#22023)
* Use maybePop in place of pop in ModalBarrier
2018-11-01 09:45:13 -07:00
engine-flutter-autoroll
720181ccc6
Roll engine c79faed71c66..e91e4db7e03d (4 commits) (#23828)
c79faed71c...e91e4db7e0

git log c79faed71c66..e91e4db7e03d --no-merges --oneline
e91e4db7e Roll src/third_party/skia e008d6feb2d0..763fc966993d (1 commits) (flutter/engine#6722)
28514b524 Roll src/third_party/skia 1ae419b62b2b..e008d6feb2d0 (1 commits) (flutter/engine#6721)
b9726c240 Roll src/third_party/skia 628f0a57d102..1ae419b62b2b (2 commits) (flutter/engine#6720)
1b0d26a92 Roll src/third_party/skia d7a7586b0d2f..628f0a57d102 (1 commits) (flutter/engine#6718)


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, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-01 10:36:05 -04:00
Michael Klimushyn
01c7081565
Add info about new test cases (#23805) 2018-10-31 21:12:51 -07:00
engine-flutter-autoroll
070df5b6b2
Roll engine 0ec3b7d437d4..c79faed71c66 (2 commits) (#23802)
0ec3b7d437...c79faed71c

git log 0ec3b7d437d4..c79faed71c66 --no-merges --oneline
c79faed71 Decode UIView's creation parameters and pass them to the view factory. (flutter/engine#6715)
467ff33aa Roll src/third_party/skia 348a03729796..d7a7586b0d2f (12 commits) (flutter/engine#6714)


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, who should
be CC'd on the roll, and stop the roller if necessary.
2018-10-31 21:45:04 -04:00
engine-flutter-autoroll
cd05fb4c0e
Roll engine d9c2b215abda..0ec3b7d437d4 (11 commits) (#23799)
d9c2b215ab...0ec3b7d437

git log d9c2b215abda..0ec3b7d437d4 --no-merges --oneline
0ec3b7d43 Apply changes to the embedded UIView tree when presenting a frame (flutter/engine#6712)
92944f72f Move FlutterPlatformViewsController into FlutterEngine. (flutter/engine#6709)
d34cb1757 Roll src/third_party/skia 9985a27c06ad..348a03729796 (15 commits) (flutter/engine#6710)
a27d2f2bc Check needs_painting in RasterCache::Prepare (flutter/engine#6708)
552fae60c Roll src/third_party/skia 83d923f38664..9985a27c06ad (2 commits) (flutter/engine#6707)
67ba69717 Roll src/third_party/skia 4d8f48db9ef5..83d923f38664 (2 commits) (flutter/engine#6706)
54882ef86 Roll src/third_party/skia 69a72945dcdd..4d8f48db9ef5 (1 commits) (flutter/engine#6705)
635e20498 Roll src/third_party/skia 1801b94e85b4..69a72945dcdd (1 commits) (flutter/engine#6704)
059876ea9  Delay embedded UIViews touch events until the framework says so. (flutter/engine#6665)
605ae5d88 Roll src/third_party/skia 4c169456061d..1801b94e85b4 (2 commits) (flutter/engine#6703)
d8672baaa Ensure Simulator publishes mDNS records (flutter/engine#6696)


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, who should
be CC'd on the roll, and stop the roller if necessary.
2018-10-31 20:19:10 -04:00
jslavitz
0d68fccc1e
Add DropDownButtonFormField convenience class (#23611)
* Adds DropDownFormField Convenience Class
2018-10-31 17:14:25 -07:00
Dan Field
fd6b2e198c
Re-reland Xcode backend refactor (#23762)
* Use Xcode build configurations to drive Flutter build mode

* Proper check wrt local_engine, print error if profile mode misisng

* Remove unused code, update tests, fix template problem, update warning

* fix up warning

* add explanatory dev comment

* fix whitespace

* missing words, change lambda arrow to function body

* error indentation

* Test early exits for xcode_backend.sh

* only on macOS, use right test

* Update error messages

* case insensitive compare for build config

* Update gallery podfile

* update projects to add profile configuration

* make compatible with flavors

* add missing plist files

* add FLUTTER_FRAMEWORK_DIR back, set swift version for profile, tell Podfile about profile
2018-10-31 16:37:53 -07:00
Michael Goderbauer
fab109cef5
endTemplate -> endtemplate (#23785) 2018-10-31 16:26:01 -07:00
Michael Goderbauer
5a57d80cb7
Simple doc fix (#23753) 2018-10-31 16:24:59 -07:00
jslavitz
a63ed4e391
Scaffold drawer fix (#23689)
* Adds drawer state query functions
2018-10-31 16:23:44 -07:00
Amir Hardon
8de86d412e
Re-land "Initial framework support for iOS platform views." (#23781)
Re-landing #23412 with a fix to the PlatformLayer's addToScene signature.

#23412 was broken by the change to Layer done in #23434.

It seemed green as the presubmits were done before #23434 was landed, and when #23412 landed it broke the build.

Reverts #23779
2018-10-31 15:07:09 -07:00
engine-flutter-autoroll
7d74a30168
Roll engine 3a6775730028..d9c2b215abda (4 commits) (#23792)
3a67757300...d9c2b215ab

git log 3a6775730028..d9c2b215abda --no-merges --oneline
d9c2b215a Roll src/third_party/skia 78252fedaab9..4c169456061d (12 commits) (flutter/engine#6701)
e56c3b700 Roll src/third_party/skia 52a715455181..78252fedaab9 (6 commits) (flutter/engine#6700)
f5d571a06 Roll src/third_party/skia 5785405afa1b..52a715455181 (5 commits) (flutter/engine#6699)
48f26625d Roll src/third_party/skia dde307f14273..5785405afa1b (1 commits) (flutter/engine#6698)


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, who should
be CC'd on the roll, and stop the roller if necessary.
2018-10-31 18:05:05 -04:00
Amir Hardon
b20e7a2671
Revert "Initial framework support for iOS platform views. (#23412)" (#23779)
This reverts commit 67ffe1c2cbc15243e6535e7f70c0e637dc9125f1.
2018-10-31 07:06:05 -07:00
Amir Hardon
67ffe1c2cb
Initial framework support for iOS platform views. (#23412)
This PR adds the full framework stack (layer->render object->widget, and
service) for embedding iOS views with minimal functionality.

I allowed myself to throw the entire framework stack in one PR since we're mostly
mirroring the structure we already established for embedded Android views, so this PR
is a little bigger than usual. I'm happy to break it down to the
different pieces of the stack if reviewers prefer.

Specifically this PR adds:
* A UiKitView widget for embedding a UIView in the widget tree.
* A RenderUiKitView which is the render object for showing a
  UIView.
* A PlatformViewLayer which denotes the position of a UIView in the
  layer tree.
* The iOS platform_views system channel client code in services/platform_views.dart
* Splits the fake platform views controller to an Android and iOS
  controllers.

TBD in following PRs:
* Plumb the layout direction all the way to the platform view (currently
  there is still no engine support for it).
* Integrate with gesture arenas (engine support is still missing as
  well).
2018-10-31 06:01:28 -07:00