11178 Commits

Author SHA1 Message Date
Alexander Markov
ed20de0ae9
Restore omitted optional 'new' to fix Flutter gallery in Dart 1 mode (#18087) 2018-05-31 17:48:09 -07:00
Todd Volkert
bf531ba871
Roll engine to 15ddcd448d972381cfa9c93c041dfa31a2061e0c (#18084)
flutter/engine@15ddcd4 Roll src/third_party/skia e45752e..0390d3e (8 commits)
flutter/engine@89eb6a3 call existing ostream operator for SkMatrix
flutter/engine@8360553 Roll src/third_party/skia 588f879..e45752e (24 commits)
flutter/engine@6bfd413 Synchronizes analysis_options.yaml files, and turns on Function typedef lint.
2018-05-31 13:56:05 -07:00
Hans Muller
f1e4defbbc
Pass locale along to RenderParagraph (#17879) 2018-05-31 11:01:24 -07:00
Jonah Williams
49bcda52a2
remove ExcludeSemantics from bottom app bar demo (#18033) 2018-05-31 10:45:07 -07:00
Mikkel Nygaard Ravn
87a6e2b497
Revert "Update Gradle dependencies (#18071)" (#18074)
This reverts commit 59bb2dba7360d49d2bdf28e5a73b8b16b444fbee.
2018-05-31 19:25:40 +02:00
Alexandre Ardhuin
6e06fd2d1b
update some lints comments (#18058) 2018-05-31 17:49:28 +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
Ben Konyi
4f3fadb6f0 Dart SDK roll for 2018-05-30 (#18043)
* Pre-Dart SDK roll engine revision

* Dart SDK engine roll for 2018-05-30.

Commits:

3b6caa3517b Split UnresolvedNameGenerator
f50873d3451 [fuchsia] Renaming component FIDL to fuchsia.sys.
13987b073d6 Add Forest method to access the name of a variable
declaration
3b86f823d0a [vm/corelib] Remove GrowableArrayMarker hack.
88127f10e4f Clean up num#toStringAsPrecision docs
1eb1885c62d tools/addlatexhash.dart: Remove unused import
03cb46a2290 [vm/perf] Fix JITDUMP integration.
9d9eff44c99 Support sharing function signatures in deferred parts for
fast startup
ae9f5d2a1b1 Add Forest API for logical expressions
66c590d3ad3 Add json/utf8 BOM support in changelog.
d116e62d76d Improve catch parameter recovery
aa8e2ee178d Revert "[vm] Add tests for determinism of script and AppJIT
snapshots."
ec47e524bc9 Switch to non-alpha versions for analyzer/front_end/kernel.
aac0478fada [vm] Add tests for determinism of script and AppJIT
snapshots.
6cc7aa803a1 Change names/declarations tasks in AnalysisDriver sync.
c30af41b96c Reapply "[mirrors] Add IsolateMirror.loadUri."
a40993a6aff Observatory strong mode fix: Fix incorrect types in
DebuggerStackElement.
0fdfc9aa3b6 Observatory strong mode fix: Add a needed implements clause.
209029ab8ee Observatory strong mode fix: Pass through a type parameter
in the implements clause for GuardedMock.
1d323687b39 Use selection to decide whether EXTRACT_LOCAL_VARIABLE and
EXTRACT_METHOD are available.
2018-05-31 07:40:44 -07: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
Alexandre Ardhuin
b7fd1d8b8d
add missing lints available in 0.1.51 (#18034) 2018-05-31 08:33:13 +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
liyuqian
61a4ab386a Roll engine to d174c4ff012ed7f64420a3525d6cc734ad3b8352 (#18047)
flutter/engine@d174c4f Remove unnecessary saveLayer
flutter/engine@b41c2ae Roll src/third_party/skia 137b874..588f879 (6 commits)
flutter/engine@15be13d Roll src/third_party/skia 21ca043..137b874 (5 commits)
flutter/engine@dfb437a Roll src/third_party/skia 264182c..21ca043 (3 commits)
flutter/engine@abda89c Roll src/third_party/skia 09725b0..264182c (1 commits)
flutter/engine@0a47817 Roll src/third_party/skia 61f36d3..09725b0 (1 commits)
flutter/engine@a4f0cd7 Roll src/third_party/skia 8363be1..61f36d3 (8 commits)
2018-05-30 15:40:39 -07: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
f986048094
Mark flaky test as such (#18019) 2018-05-30 12:54:46 +02: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
Danny Tuppeny
5ce672b79b
Detect permissions issues running flutter on Windows (#17975)
* Detect permissions issues running flutter on Windows

Fixes #17972.
2018-05-30 08:14:48 +01:00
Michael Goderbauer
a2d1d27f79
Keep indeterminate RefreshProgressIndicator spinning until end of time (#18010) 2018-05-29 18:04:13 -07:00
Régis Crelier
921695cc44
Roll engine to 16f5cd8106c75e980a4d0bb05c0505a0e1182eb7 (#18008) 2018-05-29 18:00:57 -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
Mikkel Nygaard Ravn
cd34e6cc28
Fix typo (#17958) 2018-05-28 09:54:54 +02:00
Alexander Aprelev
d79f2ee223 Roll engine to 1ed25ca7b7e3e3e8047df050bba4174074c9b336.
This is with dart roll.
2018-05-26 14:50:18 -07:00
Alexander Aprelev
a863817c04 Roll engine to 2b1f3dbe25894d7614587f494a25b40fdb344f4a.
This is one before dart roll.
2018-05-26 14:50:18 -07:00
fmatosqg
7d25378932 Make image resolution more strict, clean gallery pubspec.yaml (#17241) (#17322) 2018-05-26 08:33:13 -07:00
Jonah Williams
b6ceff552b
re-add semantic service events for tap and longPress (#17918) 2018-05-25 18:42:02 -07:00
Chris Bracken
7587f54b20
Build single-architecture for local iOS engines (#17919)
When running with --local-engine, build single-architecture apps, rather
than what's declared in the Xcode project.

By default, Flutter creates Xcode projects that generate universal
binaries supporting both armv7 and arm64 processors. Since local engine builds
are all single-architecture, override the Xcode project's ARCHS setting
with the appropriate value for the specific engine.

NOTE: this assumes engine paths consistent with those used in the engine
repo: 32-bit iOS engine builds end in _arm, 64-bit builds do not.
2018-05-25 14:53:10 -07:00
Michael Thomsen
07081a1d2c
Fix flutter run output (#17920) 2018-05-25 23:22:53 +02:00
Michael Thomsen
fb95fcbae5
Fully rename to hot restart (#17897)
* Fully rename to hot restart

Follow-up change to f48dec570c

* Review feedback
2018-05-25 23:10:16 +02:00
Todd Volkert
bae78a6f73
Fix RenderListTile actual baseline computation (#17915)
It should be calling `tile.getDistanceToActualBaseline()` rather than
`tile.getDistanceToBaseline()`.  This is causing us to hit assertions
`getDistanceToBaseline()`
2018-05-25 13:15:34 -07:00
jcollins-g
e816b89a1f
Upgrade dartdoc to 0.19.1 (#17909) 2018-05-25 11:03:47 -07:00