Michael Goderbauer
e9af570f1f
Enable Gradle Workflow on Windows ( #8201 )
...
* Enable Gradle Workflow on Windows
With this the app created by `flutter create` now compiles on Windows.
* Move OS check to gradle file
2017-02-16 14:17:09 -08:00
Jakob Andersen
83b9142468
Fix getMissingPackageHintForPlatform for Gradle-based projects. ( #8214 )
2017-02-16 13:37:53 -08:00
Adam Barth
527fddc63f
Port EditableText to Scrollable2 ( #8167 )
2017-02-16 13:23:56 -08:00
xster
3985ddbcd4
Move simulator screenshot logic to use simctl ( #8216 )
...
* Move simulator screenshot logic to use simctl
* Add simulator screenshot tests
2017-02-16 12:50:27 -08:00
Adam Barth
1773e47b03
Remove a number of old scrolling widgets: ( #8212 )
...
- ScrollableList
- ScrollableLazyList
- LazyBlock
- MaterialList
Clients should use ListView instead.
2017-02-15 21:30:51 -08:00
Adam Barth
f93daa4f3d
Fix issues when correcting the scroll offset ( #8211 )
...
Previously, the scroll correction code path was untested. This patch
introduces a test for the code path and fixes two issues with it.
There's likely more work we'll need to do in this area to nail down all
the cases.
Fixes #8155
2017-02-15 21:01:13 -08:00
Ian Hickson
03ae2cf366
Catch crashes during or before coverage collection. ( #8207 )
...
This assumes a fix to https://github.com/dart-lang/test/issues/542
The timeout added in this patch is a workaround for https://github.com/dart-lang/coverage/issues/165
2017-02-15 18:50:19 -08:00
Ryan Macnak
d784a2378e
Revert "Run coverage tests verbosely to help diagnose timeouts. ( #8198 )" ( #8204 )
...
This reverts commit fac9efbacd1e65a0a6a4efb20e95d2be5255f796.
The timeout was fixed by 6795c4ab963342f5f35c052e0d6ee8e9b8f4a0e4.
2017-02-15 18:31:23 -08:00
Todd Volkert
54f79e5aad
Roll engine to 8218674d4af35b94cd9844aad3487dcffcdf6423 ( #8208 )
...
Fixes #8200
2017-02-15 16:34:54 -08:00
Todd Volkert
0d81bdf54d
Unify the format of all objects' inclusion of hashCode in toString() ( #8192 )
2017-02-15 16:26:49 -08:00
xster
e43b40ffd7
.gitignore .DS_Store ( #8206 )
2017-02-15 15:39:17 -08:00
Todd Volkert
7b8705f5d9
Update analysis options ( #8203 )
...
Fixes #7166
Also cleans up from an aborted attempt at #5793
2017-02-15 14:41:54 -08:00
Dan Rubel
7138541d23
new --kernel option for flutter run to use precompiled kernel code ( #8191 )
2017-02-15 17:37:00 -05:00
Todd Volkert
6795c4ab96
Skip image_decoder_test to unbreak build bots ( #8199 )
2017-02-15 13:28:07 -08:00
Michael Goderbauer
071efec271
Implements WindowsStdoutLogger ( #8189 )
...
Replaces unprintable characters with alternative symbols.
2017-02-15 13:20:17 -08:00
Ryan Macnak
fac9efbacd
Run coverage tests verbosely to help diagnose timeouts. ( #8198 )
2017-02-15 12:55:27 -08:00
Todd Volkert
52f20d16ac
Un-peg json_rpc_2 dependency ( #8195 )
2017-02-15 12:38:20 -08:00
Hans Muller
e09c5cfc66
Add SizedBox.fromSize() constructor ( #8144 )
2017-02-15 11:55:59 -08:00
Michael Goderbauer
f81f1f0509
make upload_android_tool.py executable ( #8176 )
2017-02-15 11:08:16 -08:00
Chris Bracken
0dd89fa994
Improve doctor message when xcode-select invocation required ( #8179 )
...
If a developer has installed the Xcode command-line tools, then later
installs Xcode, they may need to run xcode-select to update the path of
the command-line tools to that of the new installation.
2017-02-15 10:13:38 -08:00
Yegor
d6527451a0
Revert "Update /examples/ to new gradle based build flow ( #8173 )" ( #8177 )
...
This reverts commit 8da4778e1d36111e39829d88edbe91dc041368f4.
2017-02-15 09:44:44 -08:00
Michael Thomsen
8da4778e1d
Update /examples/ to new gradle based build flow ( #8173 )
...
* Update hello_world to new gradle based build flow
* Update flutter_gallery to gradle based build
* Align hello_services with new gradle based build
* Update platform_services to new gradle based build
* Upgrade stock to gradle based build
2017-02-15 17:13:10 +01:00
Todd Volkert
d6f61b9ece
Add ability to mock VMService's WebSocket connection ( #8145 )
2017-02-15 06:52:28 -08:00
Jakob Andersen
77e53016f2
Don't include Roboto fonts in Gradle builds. ( #8169 )
...
The "old" APK build did not include Roboto fonts, but the new
Gradle-based build did. This is due to `flutter build flx` defaulting to
include the fonts, where the old `flutter build apk` defaulted to NOT
include them.
So let's change the Gradle build to also not include Roboto fonts.
Fixes #8149
2017-02-15 09:27:05 +00:00
Adam Barth
464a8e7cde
Formally deprecate Block and ScrollableViewport ( #8166 )
...
The replacements are ListView and SingleChildScrollView, respectively.
2017-02-14 21:03:55 -08:00
Ian Hickson
ae9bd5ea92
Fix the depth of scroll notifications ( #8156 )
...
Fixes https://github.com/flutter/flutter/issues/8017
2017-02-14 19:01:17 -08:00
Adam Barth
cdc0f15f27
SingleChildScrollView can assert in LayoutBuilder ( #8162 )
...
We can't read our size in the offset setter because we might be in the middle
of layout. This issue also occured with the sliver-based viewport.
2017-02-14 18:49:11 -08:00
Michael Goderbauer
70d7fe3a0d
Revert "Replace jarsigner with apksigner" ( #8164 )
2017-02-14 18:02:33 -08:00
Michael Goderbauer
b38a6cbbba
Replace jarsigner with apksigner ( #8154 )
2017-02-14 17:11:24 -08:00
Ryan Macnak
15af4a04af
Roll engine to b64c88766dbd83bf4bab1cd1cd1757139b6cdb74. ( #8124 )
...
* Roll engine to b64c88766dbd83bf4bab1cd1cd1757139b6cdb74.
Picks up changes to include inlined frames and line numbers in AOT stack traces.
* Adjust/weaken stack_trace_test.dart to pass in the face of async causal stack traces (Issue #8128 ).
2017-02-14 16:32:28 -08:00
Hans Muller
2d62d1b88d
Test hero midflight reversals ( #8161 )
2017-02-14 16:03:32 -08:00
Ian Hickson
8ecaff2906
Positioned.fromRelativeRect ( #8123 )
...
Since RelativeRect's whole purpose in life is to make work with Stack
easier, it's silly that you can't directly use it with Positioned.
Also, tests for RelativeRect.
And fixes for the bugs that found...
2017-02-14 14:34:33 -08:00
Adam Barth
14743566ca
Migrate Dropdown to ScrollConfiguration2 ( #8135 )
...
Also use the word "dropdown" consistently over "drop down".
2017-02-14 14:06:59 -08:00
Michael Goderbauer
7231fd3ed6
Enable flutter drive
on Windows ( #8146 )
...
... and run some more tests on Windows.
2017-02-14 13:14:52 -08:00
Adam Barth
36f6405179
Remove OverscrollIndicator ( #8134 )
...
This feature is wired in differently in the new scrolling world.
2017-02-14 10:58:33 -08:00
Adam Barth
7f0b908ddc
Don't upload lcov to coveralls for pull requests ( #8143 )
2017-02-14 10:25:02 -08:00
Adam Barth
c2eb73498d
Formally deprecate VirtualViewport ( #8136 )
...
This mechanism has been replaced by slivers.
2017-02-14 10:24:50 -08:00
Michael Goderbauer
769646218a
Add git config option to automatically convert CRLF to LF ( #8122 )
2017-02-14 10:21:33 -08:00
Todd Volkert
f903a1c841
Add retry writing to DevFS. ( #8142 )
...
This is a workaround to #8141
2017-02-14 09:59:43 -08:00
Chris Bracken
43650e93f4
Emit additional Xcode settings in flutter create ( #8125 )
...
On flutter run, we update ios/Flutter/Generated.xcconfig with various
Flutter-specific settings required by xcode_backend.sh during a build
from Xcode. These settings need to be present at the time the project is
loaded since Xcode doesn't pick up live updates to these files.
Without these settings, Xcode fails to locate xcode_backend.sh itself,
causing the build to fail until the Xcode project has been closed and
re-opened. This also prevents Xcode's project updater from 'helpfully'
suggesting to clean up and delete the Generated.xcconfig file.
2017-02-14 09:56:57 -08:00
Michael Thomsen
8857fa080e
Revert back IntelliJ .iml file to project root ( #8139 )
...
* Move .iml file back to project root directory
* Update .iml location in all examples
2017-02-14 18:15:26 +01:00
Adam Barth
68ff032f40
Remove mentions of ScrollableViewport from flutter_markdown ( #8132 )
...
Also, actually run the flutter_markdown tests.
2017-02-14 08:57:44 -08:00
Adam Barth
fd30f63161
Replace Scrollbar with Scrollbar2 ( #8133 )
2017-02-14 08:55:16 -08:00
Hans Muller
ef004ae97d
New Heroes ( #8112 )
2017-02-14 08:20:16 -08:00
Jakob Andersen
cd3fd475d8
Don't update Android SDK settings in build.gradle ( #8089 )
2017-02-14 13:48:14 +00:00
Jakob Andersen
0370f712f6
Add uses-material-design: true to pubspec.yaml in examples. ( #8088 )
2017-02-14 13:47:43 +00:00
Jakob Andersen
eebc72a343
Update path to built .apk. ( #8137 )
2017-02-14 13:46:45 +00:00
Adam Barth
a816611de1
Port remaining ScrollableViewport tests to SingleChildScrollView ( #8129 )
...
Also, rename ScrollableMetrics to ScrollMetrics, which follows the
naming convention for most of the other classes (e.g., ScrollPosition,
ScrollPhysics).
Finally, fix a bug whereby SingleChildScrollView could not have a
GlobalKey, because, write test, find bug.
2017-02-13 23:41:27 -08:00
Devon Carew
a78d252e6d
Update pubspec.yaml ( #8130 )
2017-02-13 21:51:42 -08:00
Chris Bracken
948ca22923
Update test instructions for flutter_tools ( #8126 )
...
flutter_tools testing requires the FLUTTER_TOOLS environment variable to
be set.
* Add note about ensuring that no devices are connected
2017-02-13 21:31:53 -08:00