11950 Commits

Author SHA1 Message Date
liyuqian
980c8a737b
Add golden test for clipping (#20750)
For #20483
2018-08-20 14:33:27 -07:00
Amir Hardon
09fec4c51b Canonicalize path depdendencies in flutter update-packages
The tool was failing if we had 2 separate non-canonical paths to the
same canonical paths.
2018-08-20 14:29:26 -07:00
Amir Hardon
592731f220 Clone goldens as part of flutter update-packages.
flutter_tools cannot depend on flutter_goldens (as flutter_goldens
depdends on the Flutter sdk), so this commit splits client.dart from
flutter_goldens to a pure-dart flutter_goldens_client package.
2018-08-20 14:29:26 -07:00
Amir Hardon
f4caa21c88 flutter update-packages 2018-08-20 14:29:26 -07:00
Amir Hardon
72ef4485e9 Integration test for embeded Android Views touch support.
The test places an embedded Android view at the top left, and verifies
that motion events that get to FlutterView are equivalent to the
synthesized motion events that gets to the embedded view.

See the README.md for more high level details.
2018-08-20 14:29:26 -07:00
Ian Hickson
ad1eaff45a
flutter analyze cleanup (#20490)
* `flutter analyze` cleanup

* Make `--dartdocs` work in all modes.
* Make `analyze-sample-code.dart` more resilient.
* Add a test for `analyze-sample-code.dart`.
* Minor cleanup in related code and files.

* Apply review comments

* Fix tests
2018-08-20 12:51:07 -07:00
Hans Muller
2ed8a50e7e
Fix (another) typo in InputDecorationTheme.debugFillProperties() (#20759) 2018-08-20 11:30:21 -07:00
engine-flutter-autoroll
13120d344b
Roll engine 9cf80283cd73..c23690f0d751 (1 commits) (#20825)
Auto-roller completed checks. Merging.
2018-08-20 14:16:37 -04:00
David Shuckerow
a98bfd755c
Wrap the ReorderableList's children with a MergeSemantics (#20715) 2018-08-20 10:48:24 -07:00
engine-flutter-autoroll
f7864b8125
Roll engine 4e6f57949d2c..9cf80283cd73 (1 commits) (#20823)
Auto-roller completed checks. Merging.
2018-08-20 13:31:01 -04:00
engine-flutter-autoroll
3a3bab9e51
Roll engine 03f8ba51e3d4..4e6f57949d2c (3 commits) (#20817)
Auto-roller completed checks. Merging.
2018-08-20 10:03:00 -04:00
engine-flutter-autoroll
3ae5ecebea
Roll engine 4ee648914f91..03f8ba51e3d4 (13 commits) (#20790)
Auto-roller completed checks. Merging.
2018-08-19 06:25:00 -04:00
Mehmet Fidanboylu
a529906586
Allow option switches to have keys in Gallery (#20740)
* Allow option switches to have keys

* Review comments
2018-08-18 20:48:38 -07:00
Ian Hickson
f688b0d56b
Delete all temporary files in flutter test. (#20679)
Turns out we weren't deleting the dill directory or the fonts directory.
2018-08-18 16:45:41 -07:00
Ian Hickson
8c79f40d71
Fixes resulting from audit of issues links (#20772)
* Fixes resulting from audit of issues links

I looked at every link to GitHub in our repo. For cases where we had a TODO that was waiting for a bug to be fixed, and the bug has now been fixed, I applied the pending change. For cases where the link was out of date, I updated the link.

* Update run_test.dart

skip this test again since it failed on linux and macos bots
2018-08-18 16:44:39 -07:00
Ian Hickson
809721d0ee
Revert "Track number of package dependencies in Flutter" (#20774)
* Revert "Deprecated CupertinoDialog in favor of a new widget called CupertinoP… (#20649)"

This reverts commit 3a4ae280e3a4af0f93709bac7a87a1ce5445533a.

* Revert "Feature pesto new recipes (#19415)"

This reverts commit e2f3b3d6f2c164975c0ec0d81345c9f603cd2d44.

* Revert "Use markdown table (#20721)"

This reverts commit 82d43b952ac3fc8c412c850f105710e55e6df565.

* Revert "Documentation regarding tap gesture callbacks (#20647)"

This reverts commit 3acc2785219e61cba73dc5540a9a50360d7716f0.

* Revert "Add branch to footer information in flutter docs (#20711)"

This reverts commit 9118d3d715bf2f3407a1146b7c6585abe7d031a5.

* Revert "Performance test cleanup (#20652)"

This reverts commit 1993a67381f03a8d472da687cd2c1582e9f788a1.

* Revert "Track number of package dependencies in Flutter (#20722)"

This reverts commit 03d6f18f4a900e0e7f94060b54042365b00ad069.
2018-08-17 18:34:05 -07:00
matthew-carroll
3a4ae280e3
Deprecated CupertinoDialog in favor of a new widget called CupertinoP… (#20649)
Deprecated CupertinoDialog in favor of a new widget called CupertinoPopupSurface. (#20397)
2018-08-17 15:02:39 -07:00
TL Lee
e2f3b3d6f2 Feature pesto new recipes (#19415)
<img width="273" alt="pesto_before" src="https://user-images.githubusercontent.com/13839358/43009716-64b6d726-8c0c-11e8-989a-13eaff72ccee.png">
<img width="273" alt="pesto_after" src="https://user-images.githubusercontent.com/13839358/43009717-66074a34-8c0c-11e8-92ae-f5fb4074f43a.png">
2018-08-17 17:58:25 -04:00
Janice Collins
82d43b952a
Use markdown table (#20721) 2018-08-17 14:36:24 -07:00
Ian Hickson
3acc278521
Documentation regarding tap gesture callbacks (#20647) 2018-08-17 14:31:35 -07:00
Janice Collins
9118d3d715
Add branch to footer information in flutter docs (#20711) 2018-08-17 14:10:33 -07:00
Ian Hickson
1993a67381
Performance test cleanup (#20652)
* Fix TODO syntax.
* Clarify messages for some timeouts, to aid debugging.
* Increase some other timeouts that were a needlessly short, to reduce sources of flakes.
* Remove some more timeouts that were mostly redundant, to remove complexity.
* Minor style cleanup.
* Remove some dangerous traps (specifically, hide the explicit start/end times in TimedEvent since they shouldn't matter).
2018-08-17 13:19:28 -07:00
Ian Hickson
03d6f18f4a
Track number of package dependencies in Flutter (#20722) 2018-08-17 13:19:06 -07:00
Ian Hickson
3dec6a6930
Clean up usage of temporary directories (#20682)
All temporary directory start with `flutter_` and have their random component separated from the name by a period, as in `flutter_test_bundle.YFYQMY`.

I've tried to find some of the places where we didn't cleanly delete temporary directories, too. This greatly reduces, though it does not entirely eliminate, the directories we leave behind when running tests, especially `flutter_tools` tests.

While I was at it I standardized on `tempDir` as the variable name for temporary directories, since it was the most common, removing occurrences of `temp` and `tmp`, among others.

Also I factored out some common code that used to catch exceptions that happen on Windows, and made more places use that pattern.
2018-08-17 13:17:23 -07:00
Ian Hickson
d581208557
Try to resolve an intermitted crash during coverage collection (#20506)
* Try to resolve an intermitted crash during coverage collection

The only theory I can come up with is that maybe the test completes
before we finish processing the standard input, so I made the test
harness wait for the observatory URL before considering whether the
test has finished or not.

Also, some code cleanup while I'm at it, e.g. avoiding using "onFoo"
for the names of methods, avoiding back-to-back switch statements with
the same values, avoiding `_` argument names, and using `?.` instead
of `if (foo != null) foo.`.

* Revert back the signature of _pipeStandardStreamsToConsole

* Also remove the other additions to this method.
2018-08-17 13:16:50 -07:00
Jonah Williams
09542fe311
fix dart analysis error (#20698) 2018-08-17 12:59:41 -07:00
Jonah Williams
e56a73e42c
Add support for by word movement granularities to semantics (#19949) 2018-08-17 12:17:34 -07:00
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 21bc9f1b02f657d156980adf2b7436e9872cae35.

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

This reverts commit 25ba90aafadce24dd97c55442d011b9352b1e468.
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