12070 Commits

Author SHA1 Message Date
Greg Spencer
4dbbf67887
Adding ChipTheme, ChipThemeData, and some more tests. (#16447)
This converts the chips to use a ChipThemeData to get most of their customization values from (if not overridden by specific arguments to the chip constructors), and to have the base ThemeData contain one of these. It also adds the ChipTheme widget that will allow overriding the theme for a particular subtree in the widget hierarchy.

Added tests for both, and just more tests in general for the Chips.
2018-04-12 11:13:42 -07:00
Greg Spencer
c31706f996
Changing the slider thumb size. (#16515)
The spec changed the size of the slider thumb, so this just effects that change.
2018-04-12 10:22:41 -07:00
Chris Bracken
337d6df73d
Pass verbose flag to Xcode subcommands (#16483)
When flutter builds are run with --verbose, pass the flag through to
flutter sub-commands run via xcode_backend.sh.
2018-04-12 09:30:50 -07:00
Sarah Zakarias
4443e4d4cf
Cleanup FLX related code (#16416) 2018-04-12 10:12:26 +02:00
Mikkel Nygaard Ravn
1ba4336494
Require Cocoapods 1.5.0 (#16443) 2018-04-12 06:23:14 +02:00
Alexander Aprelev
da9e1a4aca
Introduce fingerprint check for preview-dart-2 build flx. (#16484)
* Introduce fingerprint check for preview-dart-2 build flx.

* Don't count outputs into fingerpint. Refactor compilation code.
2018-04-11 20:50:25 -07:00
Chris Bracken
b4d57553c8
Simplify script snapshotting code (#16478)
Inlines the very small amount of work being done in _build() into
buildScriptSnapshot(). Eliminates a duplicate (and un-awaited) call to
_writeFingerprint.
2018-04-11 16:53:32 -07:00
Devon Carew
071485258f
Revert "re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server (#16281)" (#16482)
This reverts commit 2f41ea546f98a2bacabcd2444ca7ce4127a4360a.
2018-04-11 16:49:38 -07:00
Devon Carew
2f41ea546f
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server (#16281)
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server
2018-04-11 14:50:36 -07:00
Alexander Aprelev
4c221231c9
Sync .packages file as a normal input file. (#16467)
* Sync .packages file as regular file.

Currently .packages file is treated specially as DevFSStringContent to accommodate package-file rewrite when it is sent to the device for dart1 compilation. In dart2 we need to treat .packages as regular file because from frontend perspective it's just a normal input file.
2018-04-11 14:48:14 -07:00
Ryan Macnak
fea7d3c853
Roll engine to 4db7a00677f4ec7684ad8136e04a9ed7a8494bcd. (#16473) 2018-04-11 14:40:20 -07:00
Xiao Yu
3923ccf655 Revert 9749bea7b94f0f80f501099b809ee90684c4de3b. Accidentally pushed to flutter instead of fork repo for PR.
This reverts commit 9749bea7b94f0f80f501099b809ee90684c4de3b.
2018-04-11 13:54:06 -07:00
Xiao Yu
9749bea7b9 Remove the initial xcodebuild clean step which seems unnecessary 2018-04-11 13:52:04 -07:00
David Shuckerow
5cd825a8dc
Fix performance regression caused by the Bottom App Bar demo (#16389) 2018-04-11 12:01:28 -07:00
Michael Goderbauer
49a3adc1ac
AutomaticKeepAlive now keeps alive (#16445)
Fixes https://github.com/flutter/flutter/issues/16346.

See https://github.com/flutter/flutter/issues/16346#issuecomment-380255095 for detailed explanation of what was going wrong before this fix.
2018-04-11 10:31:47 -07:00
Konstantin Scheglov
cf500bf6cd
Integration test for FlutterTesterDevice. (#16424) 2018-04-11 08:52:17 -07:00
Alexander Aprelev
a2951a9a1f Roll engine to ed303c628fe4b322529f8cf01ecb38135a2bab73 (dart roll)
Changes since last roll:
```
ed303c628 Roll dart sdk again. Previous roll required 23ae4fa098 revert. (#4966)
8cd272733 Revert "Roll dart to 7764e6962e22afcf4b58c4e3cef3147330f3c884. (#4960)" (#4965)
9199b40f2 Revert "Support multiple shells in a single process. (#4932)" (#4964)
6baff4c82 Support multiple shells in a single process. (#4932)
31c5bb427 Roll dart to 7764e6962e22afcf4b58c4e3cef3147330f3c884. (#4960)
c8e4c6984 Avoid copying the contents of large platform message responses (#4947)
5ff527295 Update to use new vulkan GrBackendRenderTarget ctor. (#4962)
0c8993a1a Update to use new vulkan GrBackendRenderTarget ctor (part 2) (#4963)
132ebdda8 Revert "Roll src/third_party/skia/ 9874bf1bc..52e16d984 (135 commits) (#4958)" (#4961)
11882ab9e Roll src/third_party/skia/ 9874bf1bc..52e16d984 (135 commits) (#4958)
```

Add consts
2018-04-10 20:17:06 -07:00
Alexander Aprelev
225b15c857 Roll engine to pre-dart roll 2018-04-10 20:17:06 -07:00
Ian Hickson
497b9deb2a
Some cleanup of Chips that I found while learning the code. (#16249) 2018-04-10 16:43:57 -07:00
Ian Hickson
a7c1009757
Update bin/internal/README.md (#16043)
* Update bin/internal/README.md

* Update README.md
2018-04-10 16:43:45 -07:00
Todd Volkert
f408bb06f9
Update dependencies (#16442) 2018-04-10 14:27:53 -07:00
Jason Simmons
c3ce892c9e
Add support for locale-specific text styles (#16430)
See https://github.com/flutter/flutter/issues/12630 and
https://github.com/flutter/flutter/issues/16408
2018-04-10 13:41:51 -07:00
Greg Spencer
c43134a71c
Fixes a problem with the height of the chip label (#16420)
There was a bug in the size calculation for the height of the chip label, where it would force the label to be larger than it wanted to be, causing text to not be vertically centered.
2018-04-10 12:02:52 -07:00
Jonah Williams
fbfaffe1db
Do not add run spacing if there are no run metrics (#16290)
* do not add run spacing if there are no run metrics
2018-04-10 09:38:00 -07:00
Konstantin Scheglov
38970f5f75
Add a new Device backed by flutter_tester. (#16405) 2018-04-10 09:37:16 -07:00
Landon Woerdeman
03a0cd25a5 Make full-screen dialog text editable in gallery (#13690) (#15732)
Make the full-screen dialog text editable in gallery (#13690)
2018-04-10 08:31:24 -07:00
Alexander Aprelev
254c45e471
Add hotReloadMillisecondsToFrameAfterChange benchmark. (#16406)
This fixes https://github.com/dart-lang/sdk/issues/32598.
2018-04-10 07:25:22 -07:00
Alexandre Ardhuin
498f1fcc23
fix missing function call (#16382) 2018-04-10 09:17:40 +02:00
Chris Bracken
4576f56624
Run iOS gen_snapshot as x86_64 arch (#16323)
We are about to begin building gen_snapshot as a multi-arch binary,
which when run as x86_64 will generate arm64 AOT output, and when run as
i386 will generate armv7 AOT output.

Currently, gen_snapshot is an x86_64 binary, so this change is
effectively preventative in nature, and is a no-op with the current
snapshotter.
2018-04-09 19:12:05 -07:00
Alexander Markov
a0ed436227 Roll engine to 6474647f5210a968d186901cc511153ec442e897 (with Dart roll) 2018-04-09 18:52:23 -07:00
Alexander Markov
3499fa23e3 Roll engine to eea6197a24256fe588e18127f56c733bc42b6a8d (before Dart roll)
* Update text_style_test
2018-04-09 18:52:23 -07:00
Ian Hickson
44fbf7463b
Minor code cleanup (#16237) 2018-04-09 16:33:47 -07:00
Victor Choueiri
da4e06bbca Update template .gitignore rules (#15382)
* Update template .gitignore rules

* Remove old packages rule

* Remove IDE folders from gitignore templates

* Prefer ios.tmpl/.gitignore
2018-04-09 15:02:24 -07:00
Roberto Scaramuzzi
cdc68a73e6 Update text_form_field.dart (#15843)
* Update text_form_field.dart

* Update text_form_field_test.dart

* Update text_form_field_test.dart

* Update text_form_field_test.dart
2018-04-09 13:43:43 -07:00
Sam Rawlins
2329cb7ec8 Bump mockito to 3.0.0-alpha+3 (#16306)
* Bump mockito to 3.0.0-alpha+3

* Type annotation
2018-04-09 12:43:31 -07:00
Jacob Richman
660408edd6
Switch to the new Matrix4.tryInvert method to avoid throwing and catching (#15771) exceptions while performing hit testing. 2018-04-09 10:32:22 -07:00
Todd Volkert
d9a3ced9db
Check whether we can run sdkmanager in AndroidWorkflow.licensesAccepted (#16343)
Fixes https://github.com/flutter/flutter/issues/16332
2018-04-09 08:57:11 -07:00
Konstantin Scheglov
d121cbc80d
Make IntelliJPlugins tests use MemoryFileSystem. (#16341) 2018-04-08 09:46:11 -07:00
xster
bdc06194fb
Prompt a solution message when flutter tools network fail in China (#16244) 2018-04-06 18:44:05 -07:00
Zachary Anderson
d6d874474b
[fuchsia] Fixes for Fuchsia hot reload (#16317) 2018-04-06 13:23:16 -07:00
Jonah Williams
037a4aef16
Un(less)conditionally schedule first callback frame when creating ticker (#16261)
* always schedule first frame when creating ticker, regardless of phase or frame
2018-04-06 13:09:07 -07:00
Todd Volkert
06ed3622a3
Roll engine to d2b69fec751d6d11f62019c863b2cba4ce575bfe (#16307) 2018-04-06 10:09:16 -07:00
David Shuckerow
c02ad6fd41
Make no-op buttons more accessible by showing a SnackBar when they're pressed (#16284)
* Remove explicit child nodes

* Remove semantics on no-op menu buttons

* Add a dummy action to the overflow bar
2018-04-06 10:00:38 -07:00
David Shuckerow
cb3df70da6
Spelling (#16210) 2018-04-06 10:00:06 -07:00
Mikkel Nygaard Ravn
731ed1b11b
Make flutter.gradle support Flutter used as lib (#16300) 2018-04-06 13:11:47 +02:00
Chris Bracken
2134adce6d
Roll engine to aa9ce7092801e7ed8f3f86df0d1067279d13784d (#16289)
Includes:
* Add armv7 support to create_ios_framework script (#4942)
* Roll Dart to version 09e1766e6caa537e1271fbce04ebcbf8212b6569 (#4941)
2018-04-05 17:33:16 -07:00
Greg Spencer
6055c56e23
Rename chip's border attribute to shape for consistency. (#16276)
This renames the chip's border attribute to 'shape' so that it is consistent with the other places where we supply a ShapeBorder.

This is a breaking change, but a very small one: the border attribute was introduced only a few months ago, and is not widely used.
2018-04-05 16:16:00 -07:00
Hans Muller
af9e15f361
Added BeveledRectangleBorder ShapeBorder (#16279) 2018-04-05 16:02:47 -07:00
Siva
d0c0426007
Roll engine to version be070599a30413bd203f2d77d2179220c5569c08 (#16264)
* Roll engine to version be070599a30413bd203f2d77d2179220c5569c08
(includes a roll of dart to version 3e6b8717fedce5cc28a21616f4591683c211f752
2018-04-05 14:06:00 -07:00
Mikkel Nygaard Ravn
06b208f353
Make Podfiles work with Cocoapods 1.5.0 (#16273) 2018-04-05 22:47:03 +02:00