Commit graph

7684 commits

Author SHA1 Message Date
Hans Muller 20d401de1b Revert the new "physical model" shadow rendering code (#8636) 2017-03-07 17:15:29 -08:00
Chris Bracken 19ad3ea456 Enable landscape mode in Flutter Gallery (iOS) (#8638)
Already enabled on Android.
2017-03-07 17:13:20 -08:00
Chris Bracken 84c42aac0e Update Gallery to latest iOS project template (#8637) 2017-03-07 17:13:10 -08:00
Chris Bracken 6dc6ed4e97 Update Hello World to latest iOS project template (#8634) 2017-03-07 16:36:07 -08:00
Michael Goderbauer 4d394591cf fix for PowerShell Script when flutter/bin is not in PATH (#8620) 2017-03-07 15:00:01 -08:00
Hans Muller 0d958f036c Added a hero test (#8629) 2017-03-07 14:56:48 -08:00
Chris Bracken 81b81d3087 Exit with error message when run as root (#8626) 2017-03-07 13:58:48 -08:00
Chris Bracken a4125f3b0e Declare Xcode 8.3.x compatibility in project files (#8622)
Update templates and example Xcode project files to indicate they've
been tested for Xcode 8.3 compatibility.
2017-03-07 13:11:41 -08:00
Michael Goderbauer 644e7b131d Faster hot reload (#8600)
This implements the `DartDependencySetBuilder` completely in Dart instead of calling out to `sky_snapshot` (Linux/Mac) or `gen_snapshot` (Windows) and allows us to use the same code path on all supported host platforms.

It also slightly reduces hot reload times on Linux from ~750ms to ~690ms for the unchanged flutter_gallery app and significantly reduces hot reload times on Windows from almost 1.5s to just slightly slower than on Linux.

This change will also allow us to retire `sky_snapshot` completely in the future.
2017-03-07 13:09:48 -08:00
Chris Bracken 3b4f6b1ae0 Update Example iOS icon assets for Xcode 8.2.x (#8616)
Gallery and stocks:
* Add 20x20 notification icons.
* Remove unused 76x76 (3x scale) icon.

Other examples: update JSON to Xcode 8.2.1 defaults

Fixes warnings for missing/unused icon assets in Xcode 8.2.x
2017-03-07 12:29:08 -08:00
Todd Volkert 902ffa1262 Set Cache.flutterRoot after replay environment is set up. (#8614)
Fixes #8562
2017-03-07 11:19:56 -08:00
Michael Goderbauer 582df7b643 Minor fixes to SDK update PowerShell Script (#8617)
* for Win 7, we need to import BitsTransfer before using it
* switch to PowerShell's build-in archive expander (instead of relying on .NET)
2017-03-07 11:14:59 -08:00
Todd Volkert 3d079414ad Record/replay test infrastructure. (#8597)
This adds the test harness for record/replay tests.
2017-03-07 10:13:40 -08:00
Yegor 5e2d3e956a Clean up crash reporting code (#8602) 2017-03-07 08:45:06 -08:00
John McCutchan 24eeddc053 Request the user upgrade if the Android SDK version is 24 (#8462)
* Request the user upgrade if the Android SDK version is 24

* Update android_sdk_test.dart

* Update android_sdk.dart
2017-03-06 18:20:04 -08:00
Chris Bracken bd3aac7043 Use default iOS SDK for CocoaPods project (#8603)
This matches the default for Runner.xcodeproj and fixes a linker warning
when the two projects use different values.
2017-03-06 17:31:51 -08:00
Chris Bracken 752ca59dff Update iOS template icon assets (#8601)
Add 20x20 notification icons.
Remove unused 76x76 (3x scale) icon.
Fixes warnings for missing/unused icon assets in Xcode 8.2.x
2017-03-06 17:05:27 -08:00
Chris Bracken d32dc9254b Update Xcode projects to 8.2.x (#8596)
This prevents project re-validation on initial Xcode launch.
2017-03-06 14:50:41 -08:00
Todd Volkert aac8762a7a Properly handle ProcessExit being thrown when exit() is called (#8592) 2017-03-06 13:23:03 -08:00
Todd Volkert 96ccad53df Update flutter_tools test utils to prepare for record/replay tests (#8591)
1. Add matchers for the `ProcessExit` exception class
2. Add ability to control the setup of the `AppContext` we use in
   `testUsingContext()`
3. Clean up the code that figures out the location of `Cache.flutterRoot`
   such that it works with `pub run test`. It previously only worked
   when the tests were invoked with standalone `dart`

`#3` above will also help unblock #7941
2017-03-06 13:13:28 -08:00
Michael Thomsen 3cf1ea6dc5 Small update to instructional comments in app template (#8468)
* Small update to instructional comments in app template

* Update Flutter Driver comment

Good suggestion to add the link, Seth! I also updated the working to match what that page uses.
2017-03-06 12:36:45 -08:00
Adam Barth 9aa61e6a72 Remove blank lines from error message (#8550) 2017-03-06 12:36:22 -08:00
Todd Volkert 011a9026e4 Create and use a STILL_RECORDING shutdown stage (#8588) 2017-03-06 12:02:24 -08:00
Todd Volkert b7f00a643d Defensively handle case of VMservice message that has no id. (#8587) 2017-03-06 11:40:14 -08:00
Hans Muller 44dbecc6be Animation Demo performance tweaks (#8586) 2017-03-06 11:06:05 -08:00
Michael Goderbauer d5b502bbc2 use new --print-deps option (#8577) 2017-03-06 10:55:32 -08:00
Mikkel Nygaard Ravn 2571474755 Engine roll (#8583)
Engine roll to include https://github.com/flutter/engine/pull/3462
2017-03-06 14:56:09 +01:00
Sarah Zakarias 63b9f56c55 Update platform_services to query battery level instead of location. (#8554) 2017-03-06 11:52:31 +01:00
Luke bbf84b1d69 Fixes PageView.onPageChanged to only report changes in range (#8553)
* clamp the pixels used in the page calculation to be within min + max extents to avoid pages outside of the range of children

* add test to check onPageChanged not fired on overscroll
2017-03-05 09:38:10 -08:00
Chris Bracken ca0201d8ae Enable prefer_final_locals lint (#8575) 2017-03-03 18:47:00 -08:00
Chris Bracken 33ef949efc Declare locals as final where not reassigned (#8576)
Fix a few regressions.
2017-03-03 18:40:19 -08:00
Chris Bracken cdeb83cf59 Declare locals as final where not reassigned (flutter_driver) (#8567) 2017-03-03 18:31:21 -08:00
Michael Goderbauer e0c51480d2 canonicalize paths in devfs (#8565) 2017-03-03 18:21:01 -08:00
Chris Bracken 6c97dd2c6c Declare locals as final where not reassigned (dev) (#8574) 2017-03-03 18:06:08 -08:00
Chris Bracken 7a52fb6772 Declare locals final where not reassigned (stocks) (#8573) 2017-03-03 18:05:27 -08:00
Chris Bracken 4c8c420e0b Declare locals final where not reassigned (layers) (#8572) 2017-03-03 18:04:27 -08:00
Chris Bracken 96eea437b2 Declare locals final where not reassigned (gallery) (#8571) 2017-03-03 17:51:21 -08:00
Chris Bracken aa07d14755 Declare locals final where not reassigned (flutter_markdown) (#8568) 2017-03-03 17:51:10 -08:00
Chris Bracken 895f3e6350 Declare locals final where not reassigned (flutter_test) (#8569) 2017-03-03 17:51:01 -08:00
Chris Bracken 7a09316cd0 Declare locals final where not reassigned (flutter_tools) (#8570) 2017-03-03 17:50:46 -08:00
Chris Bracken 46291903e0 Declare locals final where not reassigned (tests) (#8566) 2017-03-03 17:43:22 -08:00
Chris Bracken 27e8cc3797 Declare locals final where not reassigned (#8564)
Covers lib/ in package:flutter.
2017-03-03 17:42:23 -08:00
Yegor 8738eb97bc add crash reporting without enabling it (#8518)
* add crash reporting without enabling it

* do not drop futures on the floor

* return exitCode from executable run

* debug travis

* remove unnecessary todo

* rename local fs getter
2017-03-03 16:54:47 -08:00
Adam Barth 46c4c5f51a Improve ClipRect documentation (#8560)
Fixes #8557
2017-03-03 15:51:07 -08:00
xster f894edebff Use exact Ahem and exact dimensions for Cupertino button test (#8561)
* Use exact Ahem and exact dimensions for test

* use ‘px’ everywhere
2017-03-03 14:30:33 -08:00
Hans Muller 54d9541638 Added a gallery animation demo (#8547) 2017-03-03 11:38:19 -08:00
Luke baaa2e67f8 adds highlightColor and splashColor to InkResponse and InkWell (#8551) 2017-03-02 23:28:55 -08:00
Adam Barth 0403ed4659 Add viewportFraction feature to PageView (#8539)
This feature lets you see a portion of the next and previous page in a
PageView.

Fixes #8408
2017-03-02 21:09:14 -08:00
Michael Goderbauer bb1dea7440 change messaging around Windows (#8549) 2017-03-02 20:06:23 -08:00
Michael Goderbauer e4f586d239 Enable Hot Restart on Windows (#8548) 2017-03-02 20:05:47 -08:00