Commit Graph

10223 Commits

Author SHA1 Message Date
xster
2580e6eb1f Upgrade gallery xcode project pod hookup to cocoapods 1.4 (#14332) 2018-01-30 11:36:28 -08:00
Ian Hickson
6379fe0bba Release script should tag with vX.Y.Z (#14351) 2018-01-30 10:05:39 -08:00
Ian Hickson
45e81140c3 Actually update docs on dev branch (#14357) 2018-01-30 09:00:57 -08:00
Ian Hickson
6e87292bba Fix "extracing" typo (#14356) 2018-01-30 09:00:45 -08:00
Alexander Markov
a0ffbe29ff Add tracing to print front-end command (#14340) 2018-01-30 08:52:04 -08:00
Chris Bracken
adcb5ab493 Roll engine to 8f2d72b183fa996449d2a2252c497a64126b44c4 (#14355)
Includes:
* Roll Dart SDK (flutter/engine#4613)
2018-01-29 23:58:44 -08:00
Greg Spencer
ddfc322de8 Creates a package publishing script to publish packages as part of the dev roll process. (#14294)
This script will update release metadata in the cloud, and copy the already-built package to the right location and name on cloud storage.

The release metadata will be located in gs://flutter_infra/releases/releases.json, and the published packages will end up in gs://flutter_infra/releases/<channel>/<platform>/flutter_<platform>_<version><archive suffix>, where <channel>, <platform>, <version>, and <archive suffix> are determined by the script.

At the moment, it only supports dev rolls, but (once we know how those will work) should easily support beta rolls as well.
2018-01-29 23:15:57 -08:00
Tom Larsen
b7f6be6ff2 Add onLeave callback to DragTarget (#14103)
* Add a callback that fires when a Draggable leaves a DragTarget.  This enables the DragTarget to manage its state from entry to exit.

* It helps to have a null check here

* Add test for onLeave callback and add verbiage to onWillAccept explaining the callback lifecycle of a DragTarget.
2018-01-29 22:48:35 -08:00
Ankur Kedia
47e52b827f adds properties to dismissible widget (#14162)
* adds crossAxisEndOffset and rollbackDuration properties to dismissible widget

* re-added removed license comment

* corrected license comments

* Adds test for rollbackDuration and crossAxisEndOffset

* added tests and comments

* modified tests for dismissible widgets
2018-01-29 22:45:30 -08:00
Chris Bracken
c54fab0444 Roll engine to 293b37c61f41e07cb5d9949d1bd16f656bae788e (#14352)
Includes:
* Remove unnecessary trim (#4616)
2018-01-29 22:26:28 -08:00
Ian Hickson
a9c1399243 Improve test.dart output (#14333)
It adds lines like `SHARD=analyze` to each shard, and a message like `Contents of packages/flutter_localizations/lib/src/l10n/localizations.dart matches output of gen_localizations.dart script.`  to the analysis shard.
2018-01-29 21:14:41 -08:00
Chris Bracken
d6f16dcfbe Roll engine to f557f476c86c09d9659fe22072237efcb4a2faa7 (#14350)
Includes:
* Extract common iOS asset path lookup code: #4594
* Introduce VulkanProvider fb9782a5294e700e45e372da0cd25165697b2e45
* Transition render target images before submit 0de8218778f1bb5d913db8b8a67789a44f8bb28f
* Update buildtools to Fuchsia HEAD #4599
2018-01-29 20:24:32 -08:00
Tom Larsen
52d47751a0 Add onCancelled callback to PopupMenu (#14226)
* Add onCancelled callback to PopupMenu

* Fix spelling, don't call onCanceled if disposed, improve documentation.
2018-01-29 20:10:43 -08:00
amirh
2e449f06f0 import all generated files in animated_icons_private_test (#14329) 2018-01-29 14:26:51 -08:00
amirh
85b5b88e0b Add more animated icon assets (#14328) 2018-01-29 10:36:59 -08:00
Todd Volkert
1859e82a3d Extensibility improvements to flutter_tools (#14299)
* Make the current command injected into the AppContext, allowing
  other classes to inject the current command.
* Introduce `AssetBundleFactory`, an injected factory class for
  spawning instances of `AssetBundle`. This allows other run contexts
  to use custom asset bundling logic.
* Clean up RunCommand by removing a 'packages' argument that duplicated
  a global argument by the same name (and for the same purpose).
  Duplicate arguments are confusing and error-prone.
2018-01-29 09:40:28 -08:00
amirh
492e311c3c Add a manual test app for animated icons (#14272) 2018-01-29 09:19:53 -08:00
xster
0c01028351 Update Flutter Gallery Xcode project to a publishable state (#14309) 2018-01-29 01:14:03 -08:00
Martin Kustermann
b2c65e7653 Update path to app.so when using aot compilation to shared library on android (#14302)
This was overlooked in 5e18c07614
2018-01-27 14:21:58 +01:00
Ian Hickson
7701127bdd Fix shadows in NestedScrollView (#14279)
* Fix shadows in NestedScrollView

The previous logic (and especially the previous test) wasn't quite right.

* Update nested_scroll_view.dart
2018-01-26 22:36:00 -08:00
amirh
ae1f65ebd6 Re-organize the Material widget's documentation. (#14303)
This widget evolved over time by multiple people, I'm just trying to explain
in a more direct way what the widget is currently doing.
2018-01-26 20:09:11 -08:00
Chris Bracken
6854e81bdb Fix host engine lookup for iOS simulator builds (#14304)
When running with --preview-dart-2, host variant of the engine is
required. Simulator builds, like device builds, should resolve
host_RUNTIMEVARIANT_OPTVARIANT, not host_RUNTIMEVARIANT_sim_OPTVARIANT.
2018-01-26 17:31:49 -08:00
Ian Hickson
d6f006db1e Rename a test that wasn't running (#14278) 2018-01-26 17:00:06 -08:00
Ian Hickson
64e2e00d6f Attempt to make flutter compatible with more git versions (#14273)
Fixes https://github.com/flutter/flutter/issues/14232

(I haven't tested this with older versions of git, I'm just going on
what @jason-simmons wrote in the bug.)
2018-01-26 16:59:56 -08:00
Seth Ladd
d6dad95842 Point to master API docs (#14292)
* Point to master API docs

I _think_ this is the right place, since people contributing and working on master might care about where the API docs are for master branch.

* Update CONTRIBUTING.md

update from review comment
2018-01-26 16:34:08 -08:00
Michael Goderbauer
c9215e6be6 Wiring for semantic actions copy, cut, paste (#14295)
* Roll engine to 6921873c71e700235c0f68f0359be2332f93c8bc
2018-01-26 15:44:34 -08:00
Yegor
4c21bf103a warn about hard-coded version constraints in the upgrade script (#14291) 2018-01-26 12:41:09 -08:00
Todd Volkert
c11f174946 Mark FlutterManifest.createFromString() as visible for testing only. (#14276) 2018-01-26 11:35:38 -08:00
Ian Hickson
014a2255df Nicer error message for TLS errors (#14285)
Also some trivial improvements to style.
2018-01-26 11:09:23 -08:00
Michael Goderbauer
671c1101a4 Change text selection (or cursor position) via a11y (#14275)
Roll engine to 7c34dfafc9acece1a9438f206bfbb0a9bedba3bf
2018-01-26 10:44:41 -08:00
Vyacheslav Egorov
c23509e9fd Unpin test and upgrade packages (#14282)
* Unpin package:test and upgrade packages

* Update packages/flutter/test/foundation/stack_trace_test.dart

* Also add packages/flutter_tools/test/data/asset_test/font/.dartignore to ensure that update-packages --force-upgrade does not crash.
2018-01-26 10:40:03 -08:00
Vyacheslav Egorov
ae72cea001 Fix an incorrect variable name in Dart 2 flutter test code (#14283)
The code was attempting to delete temporaryDirectory while it should have been deleting tempBundleDirectory
2018-01-25 19:33:24 -08:00
xster
667f478506 CupertinoPicker part 4 - create CupertinoPicker and add gallery demo (#14091)
* controller, position and test

* Make controllers swappable

* WIP

* Create a ListWheelScrollPhysics

* Created picker and gallery demo and testing now

* Works. Ready to document and test.

* Document and add tests. Make the scroll controller more generic.

* minor cleanup

* review

* review

* fix tests

* stop using TransformLayers for now
2018-01-25 16:31:43 -08:00
Ian Hickson
b6c6e36589 Move UTF-8 decoding off the main thread. (#14206)
This reduces the jank of bringing up the license screen further.
The remaining lost frame or two are caused by Dart itself, see:

   https://github.com/dart-lang/sdk/issues/31954
   https://github.com/dart-lang/sdk/issues/31959
   https://github.com/dart-lang/sdk/issues/31960

Fixes https://github.com/flutter/flutter/issues/5187
2018-01-25 13:51:49 -08:00
Alexandre Ardhuin
10f721c8a5 use const instead of final with const declarations (#14253) 2018-01-25 19:28:22 +01:00
Michael Goderbauer
34ff00a752 Add a11y support for selected text (#14254)
Framework side for https://github.com/flutter/engine/pull/4584 & https://github.com/flutter/engine/pull/4587.

Also rolls engine to 4c82c566edf394a5cfc237a266aea5bd37a6c172.
2018-01-25 10:12:02 -08:00
Ian Hickson
97b9579e55 Random cleanup across the tree (#14221) 2018-01-25 09:46:48 -08:00
Jason Simmons
e0e291011e Delete test/data/asset_test/main/.packages (#14252)
(this will be generated by flutter update-packages)
2018-01-25 09:39:54 -08:00
Michael Goderbauer
75b97b00df Roll engine to 93296fb4ea653a3064643266d89dddd97d062f4a (#14257) 2018-01-25 02:09:37 -08:00
Chris Bracken
d3705f3ea9 Add android workflow test (#14260)
Adds unit tests for AndroidWorkflow.runLicenseManager().
2018-01-24 22:27:24 -08:00
Chris Bracken
74478d186c Extract MockAndroidSdk and static utility method (#14258)
AndroidSdk and AndroidStudio depends relatively heavily on filesystem
access to locate installed tools. Testing code that relies on either of
these classes benefits from a utility method to generate a
legitimate-looking Android SDK directory layout for testing.
2018-01-24 20:40:25 -08:00
Chris Bracken
1058cff395 Add version check for doctor --android-licenses (#14249)
flutter doctor --android-licenses requires Android sdkmanager version 26
or later. When sdkmanager is not available (SDKs earlier than v25),
direct users to SDK upgrade instructions. When it's installed but not
v26 or later, emit instructions to run sdkmanager --update.
2018-01-24 20:01:11 -08:00
Chris Bracken
538ba522ee Move common process/IO-related mocks to mocks.dart (#14255)
Moves MockProcess, MockStdio and a few other useful mocks from
packages_test.dart to common/mocks.dart. These are useful for testing
code with interactive IO.

This adds a new constructor to MockProcess to provide additional flexibility.
2018-01-24 17:16:30 -08:00
Vyacheslav Egorov
a5b3139126 Use void as type argument instead of Null where appropriate 2018-01-24 15:25:29 -08:00
Michael Goderbauer
84580b545a Make Assets more robust across platforms (#14246) 2018-01-24 13:16:23 -08:00
Chris Bracken
9654659c72 Add AndroidSdk.sdkManagerPath, sdkManagerVersion (#14247)
Convenience getters for the the path to the Android SDK manager and the
currently installed version of the tool.

Pre-factoring to support better checks around the --android-licenses
command, which uses a feature of the SDK manager that is unsupported in
older versions of the tool.
2018-01-24 12:38:08 -08:00
Siva Annamalai
032de5ffba Include SkBitmap and SkPaint (#4582)
Skia is trimming some of these transitive includes
2018-01-24 12:15:05 -08:00
Siva Annamalai
214884cd01 Roll engine version to eca1f7f27dc5e63bd19d1990c82b075bba1d517f
contains the following change :
  - Roll of Dart version 8d9d68751a505426eb5f59a9d29f103fde6bd474 into the engine
2018-01-24 12:15:05 -08:00
Sam Rawlins
5ae770345a Self-execute closure passed to assert (#14235) 2018-01-23 13:46:14 -08:00
Michael Goderbauer
8059aea365 TextFields should only have one SemanticsNode (#14219)
* scrolling node eleminated

* remove second node

* fix ids
2018-01-22 18:12:39 -08:00