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 to make workspace up to date wrt master. #2

Merged
merged 111 commits into from
Jun 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
06deba2
move more tests to Linux hosts (#10413)
yjbanov May 31, 2017
1b5b929
mark flutter_gallery_ios__transition_perf as flaky (#10420)
yjbanov May 31, 2017
0e97637
Implement a pushRoute service to satisfy the FlutterView.pushRoute AP…
jason-simmons Jun 1, 2017
498cfc6
(Update and) Integrate Rendering README into code (#10389)
goderbauer Jun 1, 2017
1b9c6a6
More documentation (#10426)
Hixie Jun 1, 2017
c63ac6b
Upgrade to new template (#10374)
mravn-google Jun 1, 2017
457554b
Added test for box decoration hit (#10438)
charafau Jun 1, 2017
a8777ce
CupertinoNavigationBar part 1 - extract common layout logic (#10337)
xster Jun 1, 2017
2aaa7f8
CupertinoNavigationBar part 2 - create a bare bone CupertinoNavigatio…
xster Jun 2, 2017
e3bab98
preview of prefer_asserts_in_initializer_list lint (#10441)
a14n Jun 2, 2017
a367dcb
Add flags to pass '--enable-software-rendering' flag to engine in run…
GaryQian Jun 2, 2017
a6069ae
Roll engine to 1f2aa075717169d6058ad97b3b5c2794a97a43d7 (#10447)
goderbauer Jun 2, 2017
e2f54df
Release SDK version 0.0.7 (#10456)
collinjackson Jun 2, 2017
2bb5cc9
Start 0.0.8-dev (#10459)
collinjackson Jun 2, 2017
a8fe276
Roll engine to 9af413ca8b44ede5dd961dca099149ead4ac8358 (#10457)
cbracken Jun 2, 2017
15928fb
have app loggers log to their parent logger (#10402)
devoncarew Jun 2, 2017
38891a2
IntelliJ and Flutter plugin version checks (#10454)
devoncarew Jun 2, 2017
9eae8b8
Sprinkle some mixin magic incantations (#10442)
Hixie Jun 2, 2017
cb95972
Small setup doc for the app store option (#10418)
xster Jun 2, 2017
0727540
Apply the paint offset to the bounds rectangle for shader masks (#10458)
jason-simmons Jun 2, 2017
7c68cf5
Roll the engine to bd09286e4aec422a1f77eac9de84274f22484846 (#10467)
cbracken Jun 2, 2017
2cd2a74
Add emailAddress, url TextInputTypes (#10471)
cbracken Jun 2, 2017
417df36
Add more detail to TextInputType documentation (#10474)
cbracken Jun 3, 2017
104725f
Adds a widgets that blocks all semantics of widgets below it in paint…
goderbauer Jun 3, 2017
fe52020
Emit doctor error if Flutter SDK path contains spaces (#10477)
cbracken Jun 3, 2017
c55097d
apply prefer_asserts_in_initializer_list lint (#10463)
a14n Jun 3, 2017
abb7669
apply prefer_asserts_in_initializer_list lint (#10489)
a14n Jun 5, 2017
69e2353
apply prefer_asserts_in_initializer_list lint (#10482)
a14n Jun 5, 2017
c63be2a
apply prefer_asserts_in_initializer_list lint (#10483)
a14n Jun 5, 2017
d65b9fb
Update tracking bug for SDK spaces in doctor (#10504)
cbracken Jun 5, 2017
dd6aab2
Add a Column to the template to address some of what we learnt from u…
Hixie Jun 5, 2017
078b380
Remove underscores from Android identifier during `flutter create` (#…
tvolkert Jun 5, 2017
d98d09d
remove unnecessary @required (#10501)
a14n Jun 5, 2017
1b29312
Upload sample catalog screenshots to cloud storage (#10462)
Jun 5, 2017
2ff2274
Make ColorSwatch more general, and test it (#10505)
Hixie Jun 5, 2017
ca4f4fc
Make the Brightness estimator public (#10508)
Hixie Jun 5, 2017
03e7ebe
Roll engine to c3721a589b50e3d2c2e56befbfd6f860d0de12a1 (#10512)
cbracken Jun 5, 2017
4b7e349
Add drag completion callback to Draggable. (#10455)
pylaligand Jun 5, 2017
cee36e3
Roll engine to 8686a458104628c4cd5e142e59cac53458724e31 (#10518)
goderbauer Jun 6, 2017
18d1be4
Make implicit animations work with hot reload (#10514)
Hixie Jun 6, 2017
6f824bc
More documentation (#10519)
Hixie Jun 6, 2017
4a92f63
Rename Picture example to MyImage (#10522)
Hixie Jun 6, 2017
0f277fc
Idea enable the plugin template (#10429)
mit-mit Jun 6, 2017
c8e4cbf
Improved support for saving and restoring the scroll offset, etc (#10…
Jun 6, 2017
a5aaaa8
bin/flutter: don’t warn about running as root within Docker container…
kevmoo Jun 6, 2017
3a23419
Hide the Scaffold's scroll-to-top button from accessibility (#10539)
goderbauer Jun 6, 2017
1b56cb7
Add --version-json to flutter CLI (#10538)
kevmoo Jun 7, 2017
3e645ee
Add changelog and required fields to template (#10548)
mit-mit Jun 7, 2017
7d71326
apply prefer_asserts_in_initializer_list lint (#10540)
a14n Jun 7, 2017
e9c7f60
Make generated Java folder names match package names. (#10537)
tvolkert Jun 7, 2017
b83ddcd
Rev engine to pick up FlutterActivity change (#10560)
tvolkert Jun 7, 2017
a0ca48c
Revert use of const asserts in flutter_driver (#10568)
cbracken Jun 7, 2017
c445c08
Don't visit element children of the childless (#10558)
Jun 7, 2017
96b9d64
Center all strings in SemanticDebugger (#10570)
goderbauer Jun 7, 2017
c2b0a30
Add more instructions and handling for first time iOS run (#10521)
xster Jun 7, 2017
b5365d9
Roll engine to 1f765cdba7aee9d0a953043209b05d2c59270391 (#10572)
cbracken Jun 7, 2017
46b316c
Change RawGestureDetector API to be better for strong mode Dart. (#10…
Hixie Jun 8, 2017
0cef0aa
Check for initialRoute before Navigator.defaultRouteName (#10216)
perlatus Jun 8, 2017
6ccc618
Revert "Improved support for saving and restoring the scroll offset, …
Hixie Jun 8, 2017
739b379
Give changelog proper extension (#10577)
mit-mit Jun 8, 2017
4d2806e
Remove comments unrelated to plugin example app (#10532)
mit-mit Jun 8, 2017
dfc7788
update_devicelab_manifest (#10583)
Jun 8, 2017
1eaefe1
more const for immutables (#10563)
a14n Jun 8, 2017
9554438
Bump to Dart SDK 1.24.0-dev.6.7. (#10585)
pq Jun 8, 2017
285ab18
Ensure that SemanticDebugger shows SemanticTree changes from last fra…
goderbauer Jun 8, 2017
0a8713e
Do not apply scroll offset corrections with zero values during sliver…
jason-simmons Jun 8, 2017
0f1a703
More documentation (#10589)
Hixie Jun 9, 2017
435c25b
Add note to .analysis_options about .analysis_options in flutter/plug…
goderbauer Jun 9, 2017
0e4dda7
Improved support for saving and restoring the scroll offset, etc V2 …
Jun 9, 2017
21441aa
Roll engine to 4d423b62b99b9d943a26fad776769cfe2c7f016d (#10591)
cbracken Jun 9, 2017
4bde698
Roll engine to ffe8181ffe7432b61a67323c80fd8025704e4695 (#10597)
cbracken Jun 9, 2017
09eba82
Add indicatorWeight, indicatorPadding to TabBar (#10600)
Jun 9, 2017
0c2546c
Factor out some common code in PaintingContext (#10607)
Hixie Jun 9, 2017
81eb140
Mark all iOS devicelab tests flaky (#10609)
cbracken Jun 10, 2017
dbaf12b
Do not read or write state if PageStorageKeys cannot be found (#10612)
Jun 12, 2017
37e32d5
Switch `flutter --version --json` to be `flutter --version --machine`…
tvolkert Jun 12, 2017
a848772
Run flutter_tools tests serially (#10643)
Hixie Jun 12, 2017
123e9e0
Allow TabBars, TabBarViews, TabControllers, with zero or one tabs (#1…
Jun 12, 2017
9ac1668
Analyze sample code (#10619)
Hixie Jun 12, 2017
a9f1cb8
More documentation (#10606)
Hixie Jun 12, 2017
db75aa7
Fix analyzer errors in sample code (#10648)
Hixie Jun 13, 2017
d74a588
Allow multi-line text fields with no line limit (#10576)
Hixie Jun 13, 2017
b4ba972
Rev engine to ffe8181ffe7432b61a67323c80fd8025704e4695 (#10651)
tvolkert Jun 13, 2017
bb119e9
Make dividers one device pixel thick as defined in Material design sp…
pulyaevskiy Jun 13, 2017
e38f92d
Create a CupertinoScaffold (#10543)
xster Jun 13, 2017
272faba
Support 'be' channel so you can download dart-sdk from the tip. (#10625)
aam Jun 13, 2017
1f4f75b
More documentation. (#10653)
Hixie Jun 13, 2017
0774c51
Add SemanticsNode.isSelected flag (#10610)
goderbauer Jun 13, 2017
8bf1719
Adding first semantics perf test (#10649)
goderbauer Jun 13, 2017
fde985b
resurrect analyzer benchmarks (#10668)
yjbanov Jun 13, 2017
3528cd6
flutter test: add --machine flag (#10520)
skybrian Jun 13, 2017
e329356
Oops, fix code coverage (#10672)
skybrian Jun 13, 2017
1ad346f
Add workaround for aapt cruncher issue to complex_layout app (#10679)
goderbauer Jun 14, 2017
befe019
flutter analyze --watch --flutter-repo check package conflicts (#10641)
Jun 14, 2017
9f344b6
Adds prefix and suffix support to TextField, per Material Design spec…
gspencergoog Jun 14, 2017
1a1bbac
Bump version in preparation for new tag (#10689)
tvolkert Jun 14, 2017
7158646
[accessibility] Announce index of tab in tab bar (#10664)
goderbauer Jun 14, 2017
e2d4f92
Benchmark for semantic overhead during transitions (#10678)
goderbauer Jun 14, 2017
e5213b8
Bump versions to `-dev` to complete the release of alpha (#10692)
tvolkert Jun 14, 2017
ede575a
Refactor sample catalog screenshot production (#10676)
Jun 14, 2017
7ada466
TabPageSelector colors and indicatorSize (#10665)
Jun 14, 2017
480d628
mark Linux tasks as stable (#10410)
yjbanov Jun 14, 2017
d8cb164
upload master and alpha docs to different hosts (#10707)
sethladd Jun 14, 2017
d3f9608
roll engine to 18fdfb86bb3876fcbb4e1d25e5b2aad0c5cd669f (#10711)
goderbauer Jun 15, 2017
6f77b4a
Prepare Alpha 0.0.9 (#10712)
goderbauer Jun 15, 2017
44126cd
Increment versions with -dev prefix (#10715)
goderbauer Jun 15, 2017
36c3a96
Create a CupertinoPageRoute (#10686)
xster Jun 15, 2017
4739159
Allow transitions_perf_test.dart to be run using package:test (#10725)
tvolkert Jun 15, 2017
747e25e
Fix devfs directory scanning to not attempt to scan non-existent dire…
tvolkert Jun 15, 2017
1bc54e0
Eliminate dead iOS device mock code (#10732)
cbracken Jun 15, 2017
506bc1c
Merge pull request #1 from flutter/master
gspencergoog Jun 15, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .analysis_options
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@
# See the configuration guide for more
# https://github.com/dart-lang/sdk/tree/master/pkg/analyzer#configuring-the-analyzer
#
# There are three similar analysis options files in the flutter repo:
# There are four similar analysis options files in the flutter repos:
# - .analysis_options (this file)
# - .analysis_options_repo
# - packages/flutter/lib/analysis_options_user.yaml
# - https://github.com/flutter/plugins/blob/master/.analysis_options
#
# This file contains the analysis options used by Flutter editors, such as Atom.
# It is very similar to the .analysis_options_repo file in this same directory;
# the only difference (currently) is the public_member_api_docs option,
# which triggers too many messages to be used in editors.
#
# The flutter/plugins repo contains a copy of this file, which should be kept
# in sync with this file.

analyzer:
language:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# incompatible way, this version number might not change. Instead, the version
# number for package:flutter will update to reflect that change.

0.0.7-dev
0.0.10-dev
4 changes: 2 additions & 2 deletions bin/flutter
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ DART_SDK_PATH="$FLUTTER_ROOT/bin/cache/dart-sdk"
DART="$DART_SDK_PATH/bin/dart"
PUB="$DART_SDK_PATH/bin/pub"

# Test if running as superuser
if [[ "$EUID" == "0" ]]; then
# Test if running as superuser – but don't warn if running within Docker
if [[ "$EUID" == "0" ]] && ! [[ -f /.dockerenv ]]; then
echo " Woah! You appear to be trying to run flutter as root."
echo " We strongly recommend running the flutter tool without superuser privileges."
echo " /"
Expand Down
10 changes: 10 additions & 0 deletions bin/internal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Dart SDK dependency
===================

The Dart SDK is downloaded from one of [the supported channels](https://www.dartlang.org/install/archive),
cached in `bin/cache/dart-sdk` and is used to run Flutter Dart code.

The file `bin/internal/dart-sdk.version` determines the version of Dart SDK
that will be downloaded. Normally it points to the `dev` channel (for example,
`1.24.0-dev.6.7`), but it can also point to particular bleeding edge build
of Dart (for example, `hash/c0617d20158955d99d6447036237fe2639ba088c`).
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-dev.3.0
1.24.0-dev.6.7
2 changes: 1 addition & 1 deletion bin/internal/engine.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
75c74dc463d56e17be10315cfde409010fd8f90b
18fdfb86bb3876fcbb4e1d25e5b2aad0c5cd669f
2 changes: 1 addition & 1 deletion bin/internal/update_dart_sdk.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if ((Test-Path $dartSdkStampPath) -and ($dartSdkVersion -eq (Get-Content $dartSd

Write-Host "Downloading Dart SDK $dartSdkVersion..."
$dartZipName = "dartsdk-windows-x64-release.zip"
$dartChannel = if ($dartSdkVersion.Contains("-dev.")) {"dev"} else {"stable"}
$dartChannel = if ($dartSdkVersion.Contains("-dev.")) {"dev"} else {if ($dartSdkVersion.Contains("hash/")) {"be"} else {"stable"}}
$dartSdkUrl = "https://storage.googleapis.com/dart-archive/channels/$dartChannel/raw/$dartSdkVersion/sdk/$dartZipName"

if (Test-Path $dartSdkPath) {
Expand Down
3 changes: 3 additions & 0 deletions bin/internal/update_dart_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ if [ ! -f "$DART_SDK_STAMP_PATH" ] || [ "$DART_SDK_VERSION" != `cat "$DART_SDK_S
if [[ $DART_SDK_VERSION == *"-dev."* ]]
then
DART_CHANNEL="dev"
elif [[ $DART_SDK_VERSION == "hash/"* ]]
then
DART_CHANNEL="be"
fi

DART_SDK_URL="https://storage.googleapis.com/dart-archive/channels/$DART_CHANNEL/raw/$DART_SDK_VERSION/sdk/$DART_ZIP_NAME"
Expand Down
8 changes: 8 additions & 0 deletions dev/benchmarks/complex_layout/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ android {
signingConfig signingConfigs.debug
}
}

aaptOptions {
// TODO(goderbauer): remove when https://github.com/flutter/flutter/issues/8986 is resolved.
if(System.getenv("FLUTTER_CI_WIN")) {
println "AAPT cruncher disabled when running on CI, see https://github.com/flutter/flutter/issues/8986"
cruncherEnabled false
}
}
}

flutter {
Expand Down
7 changes: 4 additions & 3 deletions dev/benchmarks/complex_layout/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ class ComplexLayoutState extends State<ComplexLayout> {
key: const Key('complex-scroll'), // this key is used by the driver test
itemBuilder: (BuildContext context, int index) {
if (index % 2 == 0)
return new FancyImageItem(index, key: new ValueKey<int>(index));
return new FancyImageItem(index, key: new PageStorageKey<int>(index));
else
return new FancyGalleryItem(index, key: new ValueKey<int>(index));
return new FancyGalleryItem(index, key: new PageStorageKey<int>(index));
},
)
),
Expand Down Expand Up @@ -496,7 +496,7 @@ class ItemGalleryBox extends StatelessWidget {
child: new TabBarView(
children: tabNames.map((String tabName) {
return new Container(
key: new Key(tabName),
key: new PageStorageKey<String>(tabName),
child: new Padding(
padding: const EdgeInsets.all(8.0),
child: new Card(
Expand Down Expand Up @@ -611,6 +611,7 @@ class GalleryDrawer extends StatelessWidget {
final ScrollMode currentMode = ComplexLayoutApp.of(context).scrollMode;
return new Drawer(
child: new ListView(
key: const PageStorageKey<String>('gallery-drawer'),
children: <Widget>[
new FancyDrawerHeader(),
new ListTile(
Expand Down
11 changes: 11 additions & 0 deletions dev/benchmarks/complex_layout/test_driver/semantics_perf.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter_driver/driver_extension.dart';
import 'package:complex_layout/main.dart' as app;

void main() {
enableFlutterDriverExtension();
app.main();
}
43 changes: 43 additions & 0 deletions dev/benchmarks/complex_layout/test_driver/semantics_perf_test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:async';
import 'dart:convert';
import 'dart:io';

import 'package:flutter_driver/flutter_driver.dart';
import 'package:path/path.dart' as p;
import 'package:test/test.dart';

void main() {
group('semantics performance test', () {
FlutterDriver driver;

setUpAll(() async {
driver = await FlutterDriver.connect(printCommunication: true);
});

tearDownAll(() async {
if (driver != null)
driver.close();
});

test('inital tree creation', () async {
// Let app become fully idle.
await new Future<Null>.delayed(const Duration(seconds: 1));

final Timeline timeline = await driver.traceAction(() async {
expect(await driver.setSemantics(true), isTrue);
});

final Iterable<TimelineEvent> semanticsEvents = timeline.events.where((TimelineEvent event) => event.name == "Semantics");
if (semanticsEvents.length != 1)
fail('Expected exactly one semantics event, got ${semanticsEvents.length}');
final Duration semanticsTreeCreation = semanticsEvents.first.duration;

final String json = JSON.encode(<String, dynamic>{'initialSemanticsTreeCreation': semanticsTreeCreation.inMilliseconds});
new File(p.join(testOutputsDirectory, 'complex_layout_semantics_perf.json')).writeAsStringSync(json);
});
});
}
Loading