Commit graph

12659 commits

Author SHA1 Message Date
Justin McCandless 952d24bf1e
Text field style merge (#24449)
* Merge TextField style with global style so that style changes don't override unspecified fields

* Test that a style param is merged with the theme

* Test a few more style properties

* Analysis fix
2018-12-13 08:32:55 -08:00
MH Johnson 92efec3998
[Material] Theme-able elevation on dialogs. (#24169)
* Themable elevation on dialogs.

* Added `BackgroundColor` in widget + theme

* Addressing Comments

* Fix test name

* Add debugFillProperties test
2018-12-13 09:11:01 -05:00
engine-flutter-autoroll e6d216cca8 Roll engine e5195ee479c4..571f47457c0e (4 commits) (#25302)
* 2bd75ae8b Support querying display refresh rate in engine (flutter/engine#7002)

* 793a08bbf Add .woff file to binary format (flutter/engine#7202)

* daf0ededb Roll src/third_party/skia 6417060b1c23..340aeda6b3ba (41 commits) (flutter/engine#7205)

* 571f47457 Update marked text before selection so textInRange is never called with (flutter/engine#6989)
2018-12-12 18:22:16 -08:00
Michael Goderbauer 5c1f1d7618
Call mark* methods before attaching child (#25239) 2018-12-12 16:45:51 -08:00
Michael Goderbauer 75228a59da
Remove uses-material-design from hello_world example (#25300) 2018-12-12 16:36:11 -08:00
David Shuckerow e6292c8da1
Revert "Add ipv6 and observatory port support to the attach command." (#25288)
* Revert "e5195ee47 Remove unnecessary includes of Ganesh headers (flutter/engine#7189) (#25282)"

This reverts commit f198d66332.

* Revert "Validate style in TextField (#24587)"

This reverts commit 9a8e2f0c4b.

* Revert "Allow snippets tool to be run from arbitrary CWDs (#25243)"

This reverts commit 4a110b6227.

* Revert "Make doctor output consistent between VS Code/IntelliJ/Android Studio when plugins are missing (#25269)"

This reverts commit e29b023a6b.

* Revert "Add ipv6 and observatory port support to the attach command. (#24537)"

This reverts commit 9150b3f031.
2018-12-12 16:56:50 -04:00
Jonah Williams f30029bae1
Run flutter tests through mini test engine when run directly (flutter run -t test_file) (#24930) 2018-12-12 12:51:16 -08:00
engine-flutter-autoroll f198d66332
e5195ee47 Remove unnecessary includes of Ganesh headers (flutter/engine#7189) (#25282)
abb1d3a6c0...e5195ee479

git log abb1d3a6c0b2..e5195ee479c4 --no-merges --oneline
e5195ee47 Remove unnecessary includes of Ganesh headers (flutter/engine#7189)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2018-12-12 13:28:28 -05:00
Justin McCandless 9a8e2f0c4b
Validate style in TextField (#24587)
* Validate style in TextField

* Fix analyze problems

* Use assert and move to top

* Simplified assertion
2018-12-12 09:44:43 -08:00
Janice Collins 4a110b6227
Allow snippets tool to be run from arbitrary CWDs (#25243)
* Allow snippets tool to be run from arbitrary CWDs

* Drop use of absolute when using Platform.executable (path is not relative, might require PATH resolution)

* canonicalize paths

* Use path.fromUri consistently to resolve file URIs

* Force commit to try to kick Cirrus

* Force commit to kick Cirrus, again
2018-12-12 09:40:18 -08:00
Danny Tuppeny e29b023a6b
Make doctor output consistent between VS Code/IntelliJ/Android Studio when plugins are missing (#25269)
* Update VS Code validator to match Android Studio

- Now shows a tick (instead of partial) if installed
- Now shows a cross (instead of dot) if extension is not installed

Fixes #22931.
2018-12-12 17:36:42 +00:00
David Shuckerow 9150b3f031 Add ipv6 and observatory port support to the attach command. (#24537) 2018-12-12 08:28:02 -08:00
Danny Tuppeny 2994d3562a
Add some a basic debug stepping tests (#24515) 2018-12-12 10:56:54 +00:00
engine-flutter-autoroll cc23a7b4a2 Roll engine 25b58c0c67dc..abb1d3a6c0b2 (3 commits) (#25258)
* 31e6861d4  Reland "Compile libcxx and libcxxabi for Android (#6886)" (flutter/engine#7160)

* 648b844b7 Roll buildroot to 4cb5a74c9612b71b917997f46e97da6d1051eab4 (flutter/engine#7194)

* abb1d3a6c Roll buildroot to 8e538639660413490ea9261eee84864005e240f4 (flutter/engine#7195)
2018-12-12 01:17:27 -08:00
Trevor Wang 114335dff0 Support TextField multi-line hint text #20941 (#24976) 2018-12-11 22:46:05 -08:00
xster 65df90d8b5
Add navigatorKey to CupertinoTabView (#25183) 2018-12-11 19:29:13 -08:00
Michael Goderbauer 8ca8dbf062
Do not fade out text for pinned & floating AppBar (#25051) 2018-12-11 19:24:00 -08:00
engine-flutter-autoroll 390ded9340 Roll engine 7375a0f414bd..25b58c0c67dc (198 commits) (#25236) 2018-12-11 18:33:26 -08:00
Jonah Williams c461e93363
Revert "Ensure that cache dirs and files have appropriate permissions" (#25240) 2018-12-11 15:33:57 -08:00
Hans Muller 234855ca3d
Handle a TabBarView special case: last tab deleted before animation ends (#24892) 2018-12-11 14:22:27 -08:00
Jimmy Casey 3cca1a2ec3 Fixed Spelling. (#25217) 2018-12-11 10:50:51 -08:00
Justin McCandless 6901cd4625
TextFormField cursor params (#24635)
* cursor fields on textformfield

* Test pass-through of cursor properties
2018-12-11 10:42:10 -08:00
Hans Muller f14055529b
Fixed an InheritedWidget doc typo (#25168) 2018-12-11 09:53:45 -08:00
Greg Spencer 625a37b86a
Adds favicon to Dash/Zeal docset, adds OpenSearch metadata. (#25178)
This sets the favicon for the offline Dash/Zeal docs.

Also, sets up the OpenSearch Description metadata file so that people can create custom search shortcuts for the API docs site.

Fixes #6412
2018-12-11 09:53:33 -08:00
Jonah Williams b080a476c8
Fuchsia multiple devices and target (#24953) 2018-12-11 09:18:21 -08:00
Hans Muller f8a7abb6b8
Add a check for build methods that return context.widget (#25046) 2018-12-11 08:59:28 -08:00
Danny Tuppeny 3f1c308e58
Don't require the AVD folder to exist in order to run flutter emulators (#25154)
Fixes #24750.
2018-12-11 15:27:25 +00:00
Michael Goderbauer 7120dab553
Don't crash if pinned & floating AppBar has less than minExtent remainingPaintExtent (#25048)
Fixes https://github.com/flutter/flutter/issues/21887
2018-12-11 07:18:53 -08:00
Michael Goderbauer b023a57483
Fix debugPrint(null) to not crash (#24942) 2018-12-11 00:16:43 -08:00
Michael Goderbauer 46599167d5
Remove offstage wording from KeepAlive (#24881)
What KeepAlive does is different from the Offstage widget. Let's not confuse these two and be more speicific in the wording for KeepAlive.
2018-12-10 22:37:46 -08:00
xster 7058cf5a8f
Temporarily add the incorrectly filtered exoplayer gradle dependency (#25186) 2018-12-10 20:51:17 -08:00
Jonah Williams 61291aeeaf
ensure lastBuildTimestamp is set before early return (#25058) 2018-12-10 15:57:52 -08:00
Todd Volkert 243222c00d
Include error message in crash reports (#24632)
This modifies our flutter_tools crash reports to include the error
message. This error message may contain personally identifying
information (PII), such as a file system path on the developer's
local machine that may contain user names, project code names,
etc. To disable crash reporting, the developer can run the
following command:

    flutter config --no-analytics

For more information on what gets reported during crashes of the
flutter tool, see:

https://github.com/flutter/flutter/wiki/Flutter-CLI-crash-reporting
2018-12-10 13:59:47 -08:00
Paul Berry 280bbefd29
Remove deprecated lint "prefer_bool_in_asserts". (#24890)
In Dart 2, asserts no longer accept non-bool values so this rule is
made redundant by the Dart analyzer's basic checks and is no longer
necessary.

The rule will be removed in a future Linter release.
2018-12-10 13:43:02 -08:00
Todd Volkert 74ab1bfbbd
Ensure that cache dirs and files have appropriate permissions (#24669)
Fixes https://github.com/flutter/flutter/issues/24413
2018-12-10 13:39:50 -08:00
Hans Muller e7a4e7c3b6
Update Switch doc: disabled state (#24941) 2018-12-10 11:21:28 -08:00
Patrice Chalin ab36f05474 Replace deprecated link in docs (#25120)
Followup to https://github.com/flutter/website/pull/1949, as requested by @Hixie in https://github.com/flutter/website/issues/1634.

cc @kwalrath
2018-12-10 10:51:41 -08:00
liyuqian 06ffbbfd4a
Change network image URL in doc (#25096)
This fixes https://github.com/flutter/flutter/issues/25092
2018-12-10 09:55:07 -08:00
jslavitz f250db6cb2
Adds small fix to Cupertino navigation demo 2018-12-10 09:34:17 -08:00
Michael Goderbauer 8d249c25ea
Fix semantics compiler for offstage children (#24862)
Fixes #20313.
2018-12-10 08:58:14 -08:00
Michael Goderbauer d74b1c2051
Add animations to SliverAppBar doc (#25091) 2018-12-07 14:19:09 -08:00
Gary Qian 27c8ffa06c
Fix typo in documentation (#25003) 2018-12-05 14:50:59 -08:00
Jonah Williams a226c0f0d9
Add a flutter-attach entry point for fuchsia (#24878) 2018-11-30 16:18:18 -08:00
Ian Hickson 5391447fae Clarify dart:ui dependencies in foundation library (#24868) 2018-11-29 19:41:26 -08:00
engine-flutter-autoroll 58c8489fcd
7375a0f41 Roll Skia to 57d29eaf2ed7518983d9e91fd5219f4cfc181f88 (flutter/engine#7024) (#24874)
72c7a75672...7375a0f414

git log 72c7a7567228..7375a0f414bd --no-merges --oneline
7375a0f41 Roll Skia to 57d29eaf2ed7518983d9e91fd5219f4cfc181f88 (flutter/engine#7024)


The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2018-11-29 19:20:18 -05:00
Dan Field 72926bdff7
Smoke test building IPA and APK on supported platforms (#24601)
* build tests - AOT on all, APK on Linux, IPA on Mac
2018-11-29 09:32:11 -08:00
Todd Volkert c80244d1ca
Remove superfluous "install" (#24836) 2018-11-28 16:19:28 -08:00
Tim Sneath 06ec8d3b41
Updating readme templates for newly created projects (#24725)
We hypothesize that many first-time users creating a new project will look at the README.md as a starting point for "what next". As we've updated our documentation particularly for new users, having better links to our codelabs and cookbooks will help them be productive.
2018-11-28 15:56:58 -08:00
Gary Qian 48f0d224ec
Roll engine be973ea1961..72c7a756722 (#24828)
72c7a7567 Prepend [NSLocale currentLocale] for first locale on iOS to ensure countryCode exists. Allow language-only locales.
2018-11-28 15:47:30 -08:00
Greg Spencer f827ebf357
Merge analaytics from docs site and flutter.io site. (#24825) 2018-11-28 15:37:18 -08:00