Commit Graph

11623 Commits

Author SHA1 Message Date
xster
5cd97f0004 use the <> icon to show code examples in the gallery (#20705) 2018-08-16 14:10:22 -07:00
xster
eec2e629bf copy edit modal sheet demo (#20703) 2018-08-16 14:10:04 -07:00
xster
db8d63575e make overflow dots on iOS horizontal in gallery (#20702) 2018-08-16 13:12:41 -07:00
Alexander Aprelev
e1534b8ecb Add '-t' option to 'attach' command. (#20539)
* Add '-t' option to 'attach' command.

* Add test

* Make analyzer happy

* Fix tests so they use memory file system and can find lib/main.dart
2018-08-16 13:11:44 -07:00
Stanislav Baranov
b5b55447a4 Remove unused snapshot.d depfile parameter (#20584) 2018-08-16 08:47:20 -07:00
Stanislav Baranov
2c0329a103 Replace flutter --build-snapshot with --precompile that takes input (#20574) 2018-08-16 08:46:57 -07:00
Stanislav Baranov
393f9276ca Reland Flutter tool support for dynamic code #20543 (#20646) 2018-08-16 08:43:41 -07:00
engine-flutter-autoroll
bcae4717c9 Roll engine e3687f70c7ec..4ee648914f91 (9 commits) (#20696)
Auto-roller completed checks. Merging.
2018-08-16 11:32:00 -04:00
Mikkel Nygaard Ravn
26ba937846 Fix compiler error (#20687) 2018-08-16 13:59:27 +02:00
Mikkel Nygaard Ravn
405d1c473b Avoid having flutter_tools test outcome depend on packages get (#20683) 2018-08-16 13:22:13 +02:00
Mikkel Nygaard Ravn
d4e5e1e11e Materialize Flutter module, Android (#20520) 2018-08-16 13:21:55 +02:00
Michael Goderbauer
f17bb519b3 Revert "Copy flutter.bat before execution" (#20678) 2018-08-15 23:20:13 -07:00
xster
ea355c66df Create a ValueListenableBuilder (#19729) 2018-08-15 19:22:08 -07:00
Chinmay Garde
f62e6d9e43 Fix type mismatch while taking a screenshot using the resident runner. (#20555) 2018-08-15 17:27:57 -07:00
xster
ede7c15a2f Add doc describing sliver children's lifecycle and persistence options (#19795) 2018-08-15 17:24:32 -07:00
xster
0f4ea504bc Correctly chain finders to ancestor/descendant finders (#20601) 2018-08-15 17:24:03 -07:00
Michael Goderbauer
28bc818054 Copy flutter.bat before execution (#20554) 2018-08-15 17:16:36 -07:00
Martin Kustermann
9299c02cf7 Reland "Roll engine to version e3687f70c7ece72000b32ee1b3c02755ba5361ac (#20427)" (#20633)
* Reland "Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)"

This is a re-land with downgraded `package:flutter_gallery_assets`
version.

* Downgrade package:flutter_gallery_assets to 0.1.4

* Change engine.version to 81baff97c29bb08cbf8453a3f9042c5813f84ad3 (which contains an additional fix)

* Change engine.version to e3687f70c7ece72000b32ee1b3c02755ba5361ac (since mac tarballs are corrupted on earlier commit)
2018-08-15 15:35:12 -07:00
Jonah Williams
58e52cc177 Revert "Flutter tool support for dynamic code" (#20644)
* Revert "iOS Dialog blur, brightness, and layout (#18381)"

This reverts commit 21bc9f1b02.

* Revert "Flutter tool support for dynamic code. (#20543)"

This reverts commit 25ba90aafa.
2018-08-15 13:32:22 -07:00
matthew-carroll
21bc9f1b02 iOS Dialog blur, brightness, and layout (#18381)
Rewrote CupertinoAlertDialog to look nearly identical to an alert dialog in iOS. This includes considerations for blur, translucent white background color, button sizing, gap dividers between buttons, and text scaling layout behavior. (#18381)
2018-08-15 12:59:40 -07:00
Stanislav Baranov
25ba90aafa Flutter tool support for dynamic code. (#20543) 2018-08-15 12:27:35 -07:00
Ian Hickson
98c117bb38 Implement flutter test -j (#20493) 2018-08-15 12:22:30 -07:00
Jonah Williams
d3e482eca3 Add tests/matchers for automatic accessibility testing (#20462)
\
2018-08-15 12:13:10 -07:00
Michael Goderbauer
4d9c3cc377 Always honor explicitly set keyboardType and inputAction for TextField (#20547)
With this change you can now create "wrapping" text fields that do not show the new line button:

```dart
new TextField(
  maxLines: null,
  keyboardType: TextInputType.text,
);
```
2018-08-15 11:35:49 -07:00
Andrew Davies
2f3dd2c1e2 [frdb] Adds function to await Dart VM's (#20597)
In the event that no Dart VM's exist or are connectable, will instead
await for a new Dart VM to show up. Will no longer return null when
calling `getMainIsolatesByPattern`, instead returning either a list of
isolates or timing out.
2018-08-15 11:12:30 -07:00
Martin Kustermann
515909ecb6 Revert "Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)" (#20631)
Reason for revert: The package:flutter_gallery_assets has removed some images which are required for the examples/flutter_gallery, so the gallery build is failing (only discovered after landing, since gallery doesn't seem to get built during github PR presubmit checks)
2018-08-15 16:25:51 +02:00
Martin Kustermann
c7c493ea5d Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)
This CL

  * rolls `engine.version` to flutter/engine@b148e628 (which includes dart sdk 2.1.0-dev)
  * rolls `goldens.version` to flutter/goldens@6c45fafdf (which includes updates due to skia changes in engine)
  * changes `platform.dill` to `platform_strong.dill` in various places due to flutter/engine@a84b210b
  * adds explicit `environment: sdk: ">=2.0.0-dev.68 < 3.0.0"` constraints to `pubspec.yaml` and `pubspec.yaml.tmpl` files (since pub defaults to `<2.0.0` if omitted) 
  * upgrades to newer versions of various 3rd party packages (to ensure transitive dependencies have `<3.0.0` sdk constraint)
2018-08-15 15:22:05 +02:00
Natalie Sampsell
faffd3aef3 Add CupertinoActionSheet to gallery (#20411) 2018-08-15 01:01:30 -07:00
Colin Rofls
fa5374e871 Fix link to input_event_constants.fidl (#20588) 2018-08-15 00:58:29 -07:00
xster
168d6e3e6f Follow up on #18424 comments (#20125) 2018-08-15 00:43:09 -07:00
Ian Hickson
686d8f8a22 Shim package:test to avoid matcher issues (#20602)
* Upgrade everything except matcher.
* Roll matcher (and test)
* Adjust tests that depend on flutter:test directly to depend on a shim
* Require use of package:test shim and remove other references to package:test
2018-08-14 20:33:58 -07:00
Jonah Williams
8de0e15e4f Revert to defaultClipBehavior (#20578) 2018-08-14 20:23:04 -07:00
Todd Volkert
f8a5c86109 Pass icu data file to fuchsia_tester (#20605) 2018-08-14 20:06:07 -07:00
Greg Spencer
d8d44abe2a Pushing empty commit to kick all the devicelab bots (again) 2018-08-14 19:38:26 -07:00
Greg Spencer
388cbfc449 Pushing empty commit to kick all the devicelab bots 2018-08-14 14:53:33 -07:00
leoylung
7762e45115 Check null on componentName (#20560) 2018-08-14 10:24:17 -07:00
Jonah Williams
4b6cc47338 add label to drawer and regression test cases (#20537) 2018-08-14 10:17:39 -07:00
Greg Spencer
7bdd31f7aa Fix access of null compiler in flutter tests that fail before creating the compiler. (#20553)
In certain cases, the test would fail before creating the (lazily created) compiler object, and then we'd
try to call shutdown() on null in those cases.

Fixes #18610
2018-08-14 10:04:44 -07:00
Jonah Williams
33c4cd0f39 Add semantics to cupertino slider (#20476) 2018-08-13 23:43:49 -07:00
leoylung
5311dff1f4 Duplicate assets under data/ to data/componentName (#20534) 2018-08-13 13:35:51 -07:00
Jonah Williams
452f255e95 undo changes to devicelab capabilities (#20536) 2018-08-13 13:26:32 -07:00
Viet Do
1057d39dd0 Support infinite scrolling for CupertinoPicker. (#19789)
Allows the cupertino picker to be scroll infinitely by adding builder.
2018-08-13 12:26:07 -07:00
creativecreatorormaybenot
9b309ba8b6 Addition of settings icons (#20515) 2018-08-13 11:36:44 -07:00
Jonah Williams
0892ace91e agent capability doesnt work as expected (#20529) 2018-08-13 10:19:47 -07:00
Mikkel Nygaard Ravn
e69b434602 Fix broken Flutter module with plugins (#20496) 2018-08-13 10:35:59 +02:00
Greg Spencer
ba723b6038 Adding animation links for the *Transition widgets. (#20395)
This adds the animation links for illustrations of the Transition widgets, as well as adding a cross-references to the other transition widgets in the "See also" for each of their docs.
2018-08-12 16:01:39 -07:00
Ian Hickson
ef71d9d956 Increase timeouts because some CI systems are REALLY SLOW. (#20396) 2018-08-12 00:16:43 -07:00
Ian Hickson
afb613774d Reduce noise on complex_layout_scroll_perf__timeline_summary (#20400)
See https://github.com/flutter/flutter/issues/19434
2018-08-12 00:14:33 -07:00
Ian Hickson
140d50f6ea Point the Cirrus badge to the master status, not everything including PRs (#20487) 2018-08-12 00:14:13 -07:00
Greg Spencer
01d6444490 Switch from infinite retries on upgrade to 10 retries. (#20450)
This changes the flutter tool to just try 10 times before giving up when running "flutter upgrade". Infinite retries can hang bots, and really don't provide a lot of help: if we've failed to upgrade for for nearly a minute, trying every five seconds, then something is just not responding.

Also, changed the bot default warning level to "normal" from "all", because the solver messages are VERY verbose: several megs of output for doing packages get on Flutter. "normal" will give warnings, user messages and errors, which should be sufficient to diagnose problems on the bots without spamming the log.

I removed the retrying for building the snapshot on flutter.bat because we don't do that on the other platforms, and because I can't imagine how running it again would give a different answer.

I also fixed a problem in the whitespace detection when no files matched the type of file that it is looking for, and removed the code that waits until failure to print the logs on setup, since reducing the log output made a huge difference.
2018-08-11 19:10:14 -07:00