Commit Graph

12356 Commits

Author SHA1 Message Date
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 67ffe1c2cb.
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
MH Johnson
50098f149d [Material] Theme for Dialogs (#23569)
* [Material] Add dialog theme.

* Address Hans' first round comments.

* Address Hans' Second round comments.

* Fix theme tests

* Address Will's comments, add golden test

* Update goldens

* Custom Border radius 16.0

* Address Hans' Comments

* Second round comments

* fix imports
2018-10-30 22:54:49 -04:00
Greg Spencer
1b9cba4b42 Make sure we refer to 'stable', and not 'release' branch. (#23745) 2018-10-30 16:57:54 -07:00
MH Johnson
b8c3e0dbae [Material] Create TabBarTheme.of constructor (#23702)
* Create TabBarTheme of(...) constructor

* First round comments

* fix imports
2018-10-30 19:13:16 -04:00
Greg Spencer
f9c6f30576 Allow users to create samples using flutter create. (#23584)
This adds flutter create --sample which allows users to execute a command which will create a working sample app from samples embedded in the API docs.

The command looks something like this:

flutter create --sample=chip.DeletableChipAttributes.onDeleted mysample
2018-10-30 16:01:14 -07:00
Greg Spencer
4559ae1a6b Stop wrapping adb, gradle and ios logger output, and update terminal wrapping column dynamically. (#23592)
Subcommand output (gradle, adb, etc) is no longer wrapped, and wrapping notices when the terminal column width changes dynamically now.

Fixes #23267.
Fixes #23266.
2018-10-30 16:00:50 -07:00
jslavitz
be7226f08e Adds sample code to TextFormField (#23680)
* Adds sample code to TextFormField
2018-10-30 13:54:19 -07:00
Devon Carew
72b1a2b895 update the docs for the module template (#23699)
* update the docs for the module template

* update text
2018-10-30 13:30:10 -07:00
Gary Qian
40fc45ace3 Remove '' as countryCode in localization tests (#23709) 2018-10-30 11:33:46 -07:00
jslavitz
503ae8cbfd Adds Text Direction functionality to the TextField (#23609)
* added textDirection to TextField
2018-10-30 11:21:48 -07:00
Hans Muller
419be22340 More debugCheckHasMaterialLocalizations() asserts (#23740) 2018-10-30 11:08:21 -07:00
Danny Tuppeny
a2c9dd8180 Add a hot reload test that modifies code and verifies it executes (#23725) 2018-10-30 16:59:49 +00:00
Hans Muller
06cc1d9ec0 Resolve MaterialApp.locale, WidgetsApp.locale per supportedLocales (#23707) 2018-10-30 09:53:21 -07:00
Dan Field
7217999a9a Revert "Reland Xcode backend refactor" (#23737)
* Revert "Update templates (#23698)"

This reverts commit 5b0de6d679.

* Revert "Verify that date/number translations exist for all supported languages (#23692)"

This reverts commit 3449edf256.

* Revert "Reland Xcode backend refactor (#23574)"

This reverts commit 7270f2845d.
2018-10-30 09:36:31 -07:00
Ian Hickson
5b0de6d679 Update templates (#23698)
Removes some `new`s and other minor cleanup.
2018-10-30 07:58:41 -07:00
Hans Muller
3449edf256 Verify that date/number translations exist for all supported languages (#23692) 2018-10-30 07:28:00 -07:00
Dan Field
7270f2845d Reland Xcode backend refactor (#23574)
* 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
2018-10-30 07:23:19 -07:00
Michael Thomsen
262faf906f Update template comments (#23665)
* Update template comments

Make template comments consistent with recent tools changes

* Update packages/flutter_tools/templates/app/lib/main.dart.tmpl

Co-Authored-By: mit-mit <mit-mit@users.noreply.github.com>

* Fix merge conflict
2018-10-30 15:06:08 +01:00
engine-flutter-autoroll
acc591e98b Roll engine 7be0217d6796..3a6775730028 (3 commits) (#23726)
7be0217d67...3a67757300

git log 7be0217d6796..3a6775730028 --no-merges --oneline
3a6775730 Roll src/third_party/skia 14768f64fba3..dde307f14273 (3 commits) (flutter/engine#6697)
ab92772e8 Roll src/third_party/skia ca44d5d85895..14768f64fba3 (1 commits) (flutter/engine#6695)
d7e2be279 Roll src/third_party/skia d48b7a881b24..ca44d5d85895 (3 commits) (flutter/engine#6694)


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/&#43;/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC&#39;d on the roll, and stop the roller if necessary.
2018-10-30 06:00:22 -04:00
Devon Carew
e30f9a9447 add explicit const keywords (#23652) 2018-10-29 22:39:40 -07:00
Gary Qian
ec5719a1e0 Default locales test for flutter tester. Roll engine 162b2e98c03..7be0217d67969 (#23596)
162b2e98c036a8f8c355fd475dbe0db4f4bc886c..7be0217d6796954694753647b7a757b8e3907f64
7be0217d6 Roll back _countryCode assert - breaking change (#6693)
91a019cfd Fix popSystemNavigator (#6691)
2b2fbf0f6 Add Locale.fromSubtags and support for scriptCode. (#6518)
58c8e30e5 Roll src/third_party/skia ab18c8e6cc20..d48b7a881b24 (5 commits) (#6690)
3b17cfb68 Flutter tester default locales (#6689)
96bbd2b36 Roll buildroot to 11a934e99eaa4aa8e278cd2772aff4f51f1f3c41 (#6687)
0e9defbd6 Roll src/third_party/skia 68825776f4b4..ab18c8e6cc20 (11 commits) (#6688)
cc686d7ae Don't populate the external view embedder in PaintContext. (#6686)
ab782faa7 Roll src/third_party/skia 1de48d8040aa..68825776f4b4 (1 commits) (#6685)
c4aa8d343 Roll src/third_party/skia 797197a772b8..1de48d8040aa (2 commits) (#6684)
7352251eb Roll src/third_party/skia 79c96811863f..797197a772b8 (1 commits) (#6683)
3dac47e4d Roll src/third_party/skia 38e4fd0c5654..79c96811863f (1 commits) (#6682)
2f06a53a8 Roll src/third_party/skia b53f1f46982d..38e4fd0c5654 (1 commits) (#6681)
a1d7cad70 Fix inconsistent include syntax (#6680)
236661cd8 Roll src/third_party/skia 3b79aa3a5ad0..b53f1f46982d (13 commits) (#6679)
c4f50611d Roll buildroot to pick up Mac toolchain updates. (#6678)
ba8f6aa71 Handle Windows headers defining ERROR to 0 in log levels. (#6677)
505d2a923 Roll buildroot to pick up updates to custom toolchains. (#6674)
6c2a0b3a6 Undefine ERROR in platform_view_layer.cc (#6675)
55e12993a Update FlutterPlugin.h docs, suppress warning for older API (#6672)
f7970048d Attach and position embedded UIVIews (#6614)
df85722fa Plumb the iOS PlatformViewsController into flow. (#6603)
2bfb893cf iOS Embedding Refactor (#6447)
2018-10-29 21:40:45 -07:00
Ian Hickson
c319b890b3 Allow ChangeNotifier to be mixed in again (#23631)
Luckily this class didn't actually need to extend its superclass, it
only implements the interface. So we can change `extends` to
`implements` and that's close enough, while allowing the class to be
mixed in again.
2018-10-29 19:44:36 -07:00
Ian Hickson
4a094de290 [H] Cleanup (#23632)
* Avoid abbreviations

* Sample code for AppBar.leading

* Add a test for OverflowBox/FractionallySizedBox

* Minor wording improvements in the text.

The words "note that" here don't really contribute to the flow.
2018-10-29 19:44:00 -07:00
Alexander Aprelev
5fc6b87174 Reland change that speeds up multiple devices hot-reload (#23695)
* Revert "Revert "Run reload asynchronously so that multiple devices can reload in parallel. (#22693)" (#23598)"

This reverts commit 0b68068d6a.

* Fix refreshViews so it sends app-wide(rather than per-isolate) service request.

Sending per-isolate request caused dead-lock in the engine in case of more-than-one ui isolate.
2018-10-29 18:51:57 -07:00
Devon Carew
0dada102fe remove unnecessary overrides (#23650) 2018-10-29 18:51:29 -07:00
Hans Muller
047f9a9e03 Updated supportedLocales doc, etc (#23683) 2018-10-29 17:09:26 -07:00
Ben Konyi
b1a23299e1 Added '--check-for-remote-artifacts' option for Flutter Doctor. (#23543)
* Added '--check-for-remote-artifacts' option for Flutter Doctor.

This option takes a Flutter engine revision and issues HEAD requests to
determine whether or not artifacts for the provided engine revision are
available from cloud storage. This functionality is needed for the Dart
SDK autoroller to avoid creating a PR to roll the engine into the
framework while artifacts haven't finished building, which would cause
Cirrus tests to fail.
2018-10-29 17:03:22 -07:00
Nurlan Zhussupov
d8bf21a3b7 Add examples to documentation of TimeOfDay class. (#23452) 2018-10-29 16:52:51 -07:00
Jacob Richman
10bcddcc5c Add option to track widget rebuilds and repaints from the Flutter inspector. (#23534) 2018-10-29 16:32:26 -07:00
Andrew Davies
b722a744e6 [frdp] Add includeNonFlutterIsolates flag. (#23693)
Previously there was no way to add this flag when searching for
Isolates.
2018-10-29 16:18:30 -07:00
Dan Field
946553307f Revert to last known good engine (#23700)
One of the devicelab tests is broken after this commit - rolling to last known good commit while I investigate.

/cc @bkonyi
2018-10-29 15:47:28 -07:00
engine-flutter-autoroll
d34bc3687e Roll engine 2f06a53a8d19..7352251ebec6 (2 commits) (#23667)
2f06a53a8d...7352251ebe

git log 2f06a53a8d19..7352251ebec6 --no-merges --oneline
7352251eb Roll src/third_party/skia 79c96811863f..797197a772b8 (1 commits) (flutter/engine#6683)
3dac47e4d Roll src/third_party/skia 38e4fd0c5654..79c96811863f (1 commits) (flutter/engine#6682)


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/&#43;/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC&#39;d on the roll, and stop the roller if necessary.
2018-10-29 16:52:22 -04:00