Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling from flutter/flutter #6

Merged
merged 26 commits into from
Jun 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dbe038e
Make this (working) test more verbose (#10973)
Hixie Jun 26, 2017
ddf25d2
Enabling StrokeJoin for paths and rectangles. (#10742)
gspencergoog Jun 26, 2017
dbb734d
More documentation. (#10953)
Hixie Jun 26, 2017
5141c1e
Add test for unknown Xcode version string (#10979)
cbracken Jun 26, 2017
e04907a
Ensure Xcode major, minor version always return non-null (#10980)
cbracken Jun 26, 2017
bb732b4
Add tests for xcodeVersionSatisfactory (#10981)
cbracken Jun 26, 2017
a4a276b
rev engine (38b3e89) and Dart SDK (1.24.2) (#10985)
yjbanov Jun 27, 2017
86e6ffe
Rev up the engine dependency (#10988)
aam Jun 27, 2017
70d3a62
Use defaultTargetPlatform instead of Platform.operatingSystem for Ima…
jacob314 Jun 27, 2017
76a50fe
Switch existings tests to use equalsIgnoringHashCodes and add more te…
jacob314 Jun 27, 2017
aa904a5
Re-enable coverage and docs uploading (#10995)
tvolkert Jun 27, 2017
50924fb
Revert "Re-enable coverage and docs uploading (#10995)" (#10999)
Hixie Jun 27, 2017
b800654
Re-enable coverage and docs uploading (#11005)
tvolkert Jun 27, 2017
f5f795c
Revert "Re-enable coverage and docs uploading (#11005)" (#11006)
tvolkert Jun 27, 2017
cb4a54d
The documentation will continue until morale improves (#10978)
Hixie Jun 27, 2017
a41e354
Emit CocoaPods output if pod install fails (#11018)
cbracken Jun 28, 2017
57746f3
Guess sign iOS with the first certificate when running in machine mod…
xster Jun 28, 2017
5279563
Keep-alive for widgets in lazy lists (#11010)
Hixie Jun 28, 2017
1731a16
Make consistent use of gradle wrapper (#10993)
mravn-google Jun 29, 2017
a106f50
Make flutter drive await app reinstall (#11029)
mravn-google Jun 29, 2017
030abfd
Provide user feedback on slow Gradle operations (#11015)
mravn-google Jun 29, 2017
021a9ee
Fix bug in prev commit (#11030)
mravn-google Jun 29, 2017
0f72649
Update MainActivity.kt.tmpl (#11033)
mit-mit Jun 29, 2017
3d6e36d
Updates Sample Catalog v0.0 (#11022)
Jun 29, 2017
3045c28
Fix sample page generator: add the commit arg (#11038)
Jun 29, 2017
be228ea
Add a dev mode doctor check (#11023)
xster Jun 29, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/internal/dart-sdk.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.24.0
1.24.2
2 changes: 1 addition & 1 deletion bin/internal/engine.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8a2d337446ca076048608c6b6a932110e7c0f9c9
009d470d509a71cd933e10269fa6820000d9488f
2 changes: 1 addition & 1 deletion dev/benchmarks/complex_layout/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
/captures
GeneratedPluginRegistrant.java

/gradle
gradle-wrapper.jar
/gradlew
/gradlew.bat
4 changes: 4 additions & 0 deletions dev/benchmarks/complex_layout/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ android {
}

defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "0.0.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.complexLayout"
android:versionCode="1"
android:versionName="0.0.1">
package="com.yourcompany.complexLayout">

<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/>

<application android:name="io.flutter.app.FlutterApplication" android:label="complex_layout" android:icon="@mipmap/ic_launcher">
Expand Down
10 changes: 5 additions & 5 deletions dev/benchmarks/complex_layout/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}

dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

Expand All @@ -20,12 +23,9 @@ allprojects {
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
delete rootProject.buildDir
}

task wrapper(type: Wrapper) {
gradleVersion = '2.14.1'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
2 changes: 1 addition & 1 deletion dev/benchmarks/microbenchmarks/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
/captures
GeneratedPluginRegistrant.java

/gradle
gradle-wrapper.jar
/gradlew
/gradlew.bat
4 changes: 4 additions & 0 deletions dev/benchmarks/microbenchmarks/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ android {
}

defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "0.0.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.microbenchmarks"
android:versionCode="1"
android:versionName="0.0.1">
package="com.yourcompany.microbenchmarks">

<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/>

<application android:name="io.flutter.app.FlutterApplication" android:label="microbenchmarks" android:icon="@mipmap/ic_launcher">
Expand Down
10 changes: 5 additions & 5 deletions dev/benchmarks/microbenchmarks/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}

dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

Expand All @@ -20,12 +23,9 @@ allprojects {
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
delete rootProject.buildDir
}

task wrapper(type: Wrapper) {
gradleVersion = '2.14.1'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
2 changes: 1 addition & 1 deletion dev/bots/analyze-sample-code.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Future<Null> main() async {
assert(block.isEmpty);
startLine = new Line(file.path, lineNumber + 1, 3);
inPreamble = true;
} else if (trimmedLine == '/// ## Sample code') {
} else if (trimmedLine == '/// ## Sample code' || trimmedLine == '/// ### Sample code') {
inSampleSection = true;
foundDart = false;
sampleCodeSections += 1;
Expand Down
2 changes: 1 addition & 1 deletion dev/devicelab/lib/tasks/integration_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Future<TaskResult> runEndToEndTests() async {
if (deviceOperatingSystem == DeviceOperatingSystem.ios)
await prepareProvisioningCertificates(testDirectory.path);

await flutter('drive', options: <String>['-d', deviceId, '-t', 'lib/keyboard_resize.dart']);
await flutter('drive', options: <String>['--verbose', '-d', deviceId, 'lib/keyboard_resize.dart']);
});

return new TaskResult.success(<String, dynamic>{});
Expand Down
6 changes: 4 additions & 2 deletions dev/devicelab/lib/tasks/sample_catalog_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ Future<TaskResult> samplePageCatalogGenerator(String authorizationToken) async {
if (isIosDevice)
await prepareProvisioningCertificates(catalogDirectory.path);

await dart(<String>['bin/sample_page.dart']);
final String commit = await getCurrentFlutterRepoCommit();

await dart(<String>['bin/sample_page.dart', commit]);

await flutter('drive', options: <String>[
'--target',
Expand All @@ -36,7 +38,7 @@ Future<TaskResult> samplePageCatalogGenerator(String authorizationToken) async {

await saveCatalogScreenshots(
directory: dir('${flutterDirectory.path}/examples/catalog/.generated'),
commit: await getCurrentFlutterRepoCommit(),
commit: commit,
token: authorizationToken,
prefix: isIosDevice ? 'ios_' : '',
);
Expand Down
2 changes: 1 addition & 1 deletion dev/devicelab/lib/tasks/save_catalog_screenshots.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Upload {
throw new UploadError('upload of "$fromPath" to "$largeName" and "$smallName" failed after 2 retries');

largeImage ??= await new File(fromPath).readAsBytes();
smallImage ??= encodePng(copyResize(decodePng(largeImage), 400));
smallImage ??= encodePng(copyResize(decodePng(largeImage), 300));

if (!largeImageSaved)
largeImageSaved = await save(client, largeName, largeImage);
Expand Down
2 changes: 1 addition & 1 deletion dev/integration_tests/channels/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
/captures
GeneratedPluginRegistrant.java

/gradle
gradle-wrapper.jar
/gradlew
/gradlew.bat
4 changes: 4 additions & 0 deletions dev/integration_tests/channels/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ android {
}

defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "0.0.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.channels"
android:versionCode="1"
android:versionName="0.0.1">

<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" />
package="com.yourcompany.channels">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
Expand Down
9 changes: 4 additions & 5 deletions dev/integration_tests/channels/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}

dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

Expand All @@ -26,7 +29,3 @@ subprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}

task wrapper(type: Wrapper) {
gradleVersion = '2.14.1'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
2 changes: 1 addition & 1 deletion dev/integration_tests/ui/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
/captures
GeneratedPluginRegistrant.java

/gradle
gradle-wrapper.jar
/gradlew
/gradlew.bat
4 changes: 4 additions & 0 deletions dev/integration_tests/ui/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ android {
}

defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
found in the LICENSE file.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.integration_ui"
android:versionCode="1"
android:versionName="0.0.1">

<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" />
package="com.yourcompany.integration_ui">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
Expand Down
9 changes: 4 additions & 5 deletions dev/integration_tests/ui/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}

dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

Expand All @@ -26,7 +29,3 @@ subprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}

task wrapper(type: Wrapper) {
gradleVersion = '2.14.1'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
2 changes: 1 addition & 1 deletion dev/manual_tests/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
/captures
GeneratedPluginRegistrant.java

/gradle
gradle-wrapper.jar
/gradlew
/gradlew.bat
6 changes: 1 addition & 5 deletions dev/manual_tests/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
found in the LICENSE file.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.examples.manual_tests"
android:versionCode="1"
android:versionName="0.0.1">

<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" />
package="io.flutter.examples.manual_tests">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
Expand Down
9 changes: 4 additions & 5 deletions dev/manual_tests/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}

dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

Expand All @@ -26,7 +29,3 @@ subprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}

task wrapper(type: Wrapper) {
gradleVersion = '2.14.1'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
9 changes: 9 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ Available examples include:

- **Stocks** The [stocks](stocks) demo shows how one might structure
an application with several screens.

Note on Gradle wrapper files in `.gitignore`:

Gradle wrapper files should normally be checked into source control.
The example projects don't do that to avoid having several copies of the
wrapper binary in the Flutter repo. Instead, the Gradle wrapper is
injected by Flutter tooling, and the wrapper files are .gitignore'd to
avoid making the Flutter repository dirty as a side effect of running
the examples.
4 changes: 3 additions & 1 deletion examples/catalog/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
/captures
GeneratedPluginRegistrant.java

/gradle
# Gradle wrapper files should normally be checked into source control.
# See ../../README.md
gradle-wrapper.jar
/gradlew
/gradlew.bat
5 changes: 5 additions & 0 deletions examples/catalog/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ android {
}

defaultConfig {
applicationId "io.flutter.examples.catalog"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
Loading