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
Adam Barth
1bb164ab0d
Stabilize initial scroll simulation velocity on Android ( #8543 )
...
Previously, we would create a simulation whose initial velocity did not match
the requested parameters. We now compute the parameters for the simulation in a
way that ensures all the math works out.
Fixes #8255
2017-03-02 17:40:36 -08:00
Michael Goderbauer
ae1a719e03
fix FLUTTER_ANSI_TERMINAL check ( #8544 )
...
* fix FLUTTER_ANSI_TERMINAL check
should have been included in the previous PR :(
* review comments
2017-03-02 16:25:33 -08:00
Chris Bracken
c54cc96905
Default contacts demo to pinned AppBar ( #8445 )
2017-03-02 14:40:13 -08:00
Chris Bracken
62cc326a67
Constrain app bar header paint origin on iOS overscroll ( #8517 )
...
Prevent the app bar header from being overscrolled on iOS by setting
paintOrigin to the overlap.
2017-03-02 14:25:04 -08:00
Michael Goderbauer
1f7b8ae11f
Enable ANSI codes in PowerShell ( #8537 )
2017-03-02 13:09:36 -08:00
xster
e55c7239ec
Fix test ( #8536 )
2017-03-02 12:46:43 -08:00
Chris Bracken
8916b101f3
Avoid potential ConcurrentModificationError ( #8534 )
...
Also make locals final where possible.
Followup to 5271546794 .
2017-03-02 11:28:30 -08:00
Adam Barth
0421b4f37b
Improve docs for Center ( #8522 )
...
Fixes #8478
2017-03-02 11:25:55 -08:00
Michael Goderbauer
d579d58702
Enable Hot Reload on Windows (backed by gen_snapshot) ( #8512 )
...
* Enable Hot Reload on Windows (backed by gen_snapshot)
\o/
Two caveats:
* Hot Reload on Windows is slower than on other platforms because gen_snapshot is slower then sky_snapshot
* We currently cannot hot reload projects with spaces in the path
* enable tests
2017-03-02 10:57:27 -08:00
Michael Thomsen
55e10a6630
Add exception handling ( #8528 )
2017-03-02 16:15:52 +01:00
Jakob Andersen
c9644a49f2
Read package ID and activity name from .apk for Gradle-based builds. ( #8452 )
...
The gradle build scripts can be configured to output different
application IDs for different build types, so we need to examine the
built .apk to figure out the name of the package and activity.
Re-landing this change, updated to only get information from the .apk
if it exists.
Since the tools create an AndroidApk instance early, even before we've
actually built an .apk, we have to create a new instance after building,
so we can start the right app/activity.
Fixes #8327 .
2017-03-02 09:21:40 +01:00