8172 Commits

Author SHA1 Message Date
Ian Hickson
6be81ebf9b
Be more resilient to bad data from VM (#18132)
Fixes https://github.com/flutter/flutter/issues/14517
Or at least, fixes the crash part of that.
2018-06-04 19:12:55 -07:00
matthew-carroll
e396cc79ea
Documented embedded navigators in the Navigator class file (#15040). (#18051)
* Documented nested navigators in the Navigator class file (#15040).
2018-06-04 17:20:04 -07:00
Ian Hickson
944f0a4cc1
Revert "Clean up output of "flutter run --release" (#18049)" (#18184)
This reverts commit 4f1b66044c075dee734d3a426a77d54b96971d0c.
2018-06-04 16:17:08 -07:00
Ian Hickson
4f1b66044c
Clean up output of "flutter run --release" (#18049) 2018-06-04 15:22:51 -07:00
Ian Hickson
e3427550e9
Be less verbose in the logs. (#17401)
Now that we have thousands of tests, it doesn't make sense to display a separate line for each test. The result is just megabytes of logs that you have to scrub through to find error messages.
2018-06-04 15:22:19 -07:00
Danny Tuppeny
43da9d5ef9
Use isDirectory instead of existsSync to avoid crash (#18167)
Fixes #15198.
2018-06-04 17:59:07 +01:00
Tran Huy Phuc
34933f801f TextFormField/TextField - remove spaces in character counter (#18096)
* TextFormField/TextField - remove spaces in character counter(follow material design guidelines)
2018-06-04 09:41:31 -07:00
Martin Kustermann
ec6c4aba89
Rename --prefer-shared-library to --build-shared library consistently (#18164)
The change in 8b8d368d2 has only renamed the flag in a subset of the
places.
2018-06-04 17:44:37 +02:00
Danny Tuppeny
f833c43e6e
Skip version checks when running flutter upgrade (#18031)
We were already skipping the check in `flutter upgrade` but this also spawns `flutter precache` and `flutter doctor` which would still check and potentially output the message.
2018-06-04 12:04:45 +01:00
matthew-carroll
4cd5870ece
Added docs to CupertinoAlertDialog to explain title, content, and button styling (#18128) (#18129) 2018-06-01 15:57:01 -07:00
Michael Goderbauer
62e87c8e6f
Start refresh while bouncing back to 0.0 from overscroll on iOS (#18012) 2018-06-01 15:22:57 -07:00
Michael Goderbauer
026c89835f
Clarify Offstage docs (#18089) 2018-06-01 15:22:33 -07:00
Michael Goderbauer
4c5303a204
Unfocus textfield if it is disabled (#18097) 2018-06-01 09:40:52 -07:00
Mikkel Nygaard Ravn
e49a9661ad
Await writing local props to complete (#18110) 2018-06-01 12:15:30 +02:00
Danny Tuppeny
3d7d96806a
Use correct branch for version checks on beta/dev (#18016) 2018-06-01 10:59:20 +01:00
Mikkel Nygaard Ravn
8c39c35eb0
Upgradle Gradle dependencies to match Android Studio 3.1.2 (#18080) 2018-06-01 09:57:40 +02:00
Ian Hickson
b83749cab0
Golden file tests for clip (#18056)
Also, fixes "flutter run" for golden tests, and some docs.
2018-06-01 00:23:26 -07:00
Ian Hickson
72c459bcfc
Fix crash when painting empty tables (#17952) 2018-05-31 22:47:25 -07:00
Ian Hickson
1891173999
Spacer should only flex in the main axis direction. (#18052) 2018-05-31 20:38:37 -07:00
Alexander Markov
ed20de0ae9
Restore omitted optional 'new' to fix Flutter gallery in Dart 1 mode (#18087) 2018-05-31 17:48:09 -07:00
Hans Muller
f1e4defbbc
Pass locale along to RenderParagraph (#17879) 2018-05-31 11:01:24 -07:00
Mikkel Nygaard Ravn
87a6e2b497
Revert "Update Gradle dependencies (#18071)" (#18074)
This reverts commit 59bb2dba7360d49d2bdf28e5a73b8b16b444fbee.
2018-05-31 19:25:40 +02:00
Sam Rawlins
fba81d0f1d Use anyNamed when mocking named arguments (#17996) 2018-05-31 08:24:26 -07:00
Mikkel Nygaard Ravn
59bb2dba73
Update Gradle dependencies (#18071) 2018-05-31 17:16:47 +02:00
Sigurd Meldgaard
758711c85d
Allow --use-application-binary using app-bundles on ios (#17691)
This makes it easier to run ios add2app apps with Flutter run.
2018-05-31 10:33:15 +02:00
Ian Hickson
9f1e76e967
Clean up baseline logic in material library. (#17922) 2018-05-30 22:53:03 -07:00
Dan Field
587a1b7708
Expose Gradient.radial (#17826)
* Expose Gradient.radial

* cleanup doc

* update tests, null check

* add asset images
2018-05-30 21:45:21 -04:00
Victor Choueiri
d57cc44f05 Add SweepGradient (#17368)
This PR adds a SweepGradient class, extending Gradient to expose the engine's ui.Gradient.sweep shader.

Similar to LinearGradient and RadialGradient - SweepGradients can be used in a BoxDecoration or passed to a Paint's shader.
2018-05-30 15:18:17 -07:00
Jonah Williams
6fc7199dcc
Add outer gesture detector to increase mini-fab size to 48x48 (#17921) 2018-05-30 14:54:39 -07:00
Jacob Richman
62febaa140
Add support for --track-widget-creation back to ios build rules. (#18046) 2018-05-30 14:53:35 -07:00
Greg Spencer
b921fdc58e
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)" (#18041)
This reverts commit 3258602073c6a05b1b051fddf644cba92116694b.
2018-05-30 13:51:14 -07:00
Greg Spencer
3258602073
Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)
Fixes #18028

Just changes typedef declarations, no logic changes.
2018-05-30 12:13:58 -07:00
Ralph Bergmann
c65e9d19a4 add version to pubspec.yaml (#16857)
Uses the `version` property from the `pubspec.yaml` file to set the corresponding fields in the `local.properties` file respectively in the `Generated.xcconfig` file.

The `--build-name` and `--build-number` options have changed. Now they trump the `version` property from the `pubspec.yaml` file.

If the `version` property is not set and the  `--build-name` and `--build-number` options are not provided, the build command will not change the `local.properties` / `Generated.xcconfig` file.
2018-05-30 07:51:25 -07:00
Mikkel Nygaard Ravn
0d1574c313
Refactor flutter create logic in prep for add2app (#17992) 2018-05-30 11:25:21 +02:00
Mikkel Nygaard Ravn
055ad0ce4c
Fix typos (#18017) 2018-05-30 11:12:33 +02:00
Michael Goderbauer
a2d1d27f79
Keep indeterminate RefreshProgressIndicator spinning until end of time (#18010) 2018-05-29 18:04:13 -07:00
Todd Volkert
d6d35ca7cc
Address post-review comments from #17977 (#18000) 2018-05-29 14:45:40 -07:00
Mikkel Nygaard Ravn
c7ea3ca377
Revert sync async (#18002) 2018-05-29 21:07:33 +02:00
Danny Tuppeny
0e8164be51
Copy Daemon docs into code and add daemon.connected + changelog (#17961)
* Add copy of daemon doc from Wiki
* Document the daemon.connected event
2018-05-29 17:13:22 +01:00
Danny Tuppeny
42c9719ff0
Change doctor to point at Flutter extension (#17987) 2018-05-29 17:11:34 +01:00
Danny Tuppeny
24e2b238d4
Send an event at startup with the protocol version and pid (#17873)
* Send an event at startup with the protocol version and pid

The pid will help with some of the issues of terminate the process when launched through a shell script and the version will allow clients to make decisions about supported features.

I've also bumped the protocol version number for two reasons:

1. This change
2. We didn't increase it when we added the previous emulator commands
2018-05-28 22:02:53 +01:00
Danny Tuppeny
514701fe46
Remove test group in favour of addTearDown (#17962) 2018-05-28 21:45:56 +01:00
Todd Volkert
7c60b7405a
Instrument vm service extensions in the gallery (#17977)
https://github.com/flutter/flutter/issues/17956

* Add a `debugInstrumentAction()` method that will wrap an action
  in a stopwatch and print the time it took to run the action.
* Add a global `debugInstrumentationEnabled` that will control
  whether `debugInstrumentAction()` does anything (even in debug
  builds).
* Add some basic instrumentation to `registerServiceExtension()`
* Temporarily enable the `debugInstrumentationEnabled` flag in the
  Gallery to give us better visibility into what's happening in
  https://github.com/flutter/flutter/issues/17956
2018-05-28 12:40:43 -07:00
Mikkel Nygaard Ravn
d21b2799a0
Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979)
This reverts commit 0f557e720eadc991dfedb45bdeb76026553a529c.
2018-05-28 21:18:13 +02:00
Mikkel Nygaard Ravn
0f557e720e
Update Gradle dependencies to match Android Studio 3.1.2 (#17974) 2018-05-28 21:08:50 +02:00
Mikkel Nygaard Ravn
00970710e0
[await sync-async flag] Add test of sync async execution (#16795) 2018-05-28 17:35:51 +02:00
Florian Loitsch
3ced55a7dc
Sync async2 (#17964)
Enable --sync-async in Flutter.
Fixes #16801
2018-05-28 16:21:05 +02:00
Mikkel Nygaard Ravn
bb88766448
Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17942)" (#17966)
This reverts commit dac1baf4fabf8b7af45261f2f01782773d7f19ab.
2018-05-28 15:10:37 +02:00
Mikkel Nygaard Ravn
dac1baf4fa
Update Gradle dependencies to match Android Studio 3.1.2 (#17942) 2018-05-28 14:35:32 +02:00
Mikkel Nygaard Ravn
4a72973cec
Fix typo (#17959) 2018-05-28 11:33:40 +02:00