6570 Commits

Author SHA1 Message Date
Dragoș Tiselice
b8980aeb35 Added expansion panels. (#5523)
Added ExpansionPanel and ExpansionPanelList. The implementation
is based on the Material design spec, without enforcing every
facet of it, leaving the developer using this the liberty to
enforced it lower down the widget tree. This decision was made
based on the argument that implementing more of the spec would
reduce flexibility to a point where some design would not be
implementable with this widget anymore.
2016-08-26 14:27:18 -07:00
Ian Hickson
c4c8019135 GlobalObjectKey should be generic (#5619)
Somehow we missed this before.

Fixes https://github.com/flutter/flutter/issues/5615
2016-08-26 13:32:23 -07:00
Ian Hickson
934189d02d don't clear the dirty bit of an inactive node (#5614)
Fixes https://github.com/flutter/flutter/issues/5588
2016-08-26 13:32:17 -07:00
Alexandre Ardhuin
886f588df6 Update gradle.dart (#5610) 2016-08-26 07:51:37 -07:00
Dan Rubel
194a9ef3c9 implement flutter packages get/upgrade command (#5603)
* implement flutter packages get/upgrade command
* alias flutter pub
* refactor findProjectRoot for use by multiple commands

fixes https://github.com/flutter/flutter/issues/4994
2016-08-25 22:37:48 -04:00
Chris Bracken
b5f763b45e Support a configurable build directory (#5601)
This change adds a top-level getBuildDirectory func and funcs for
android, aot, asset, ios build products.

Developers may now add a "build-dir" mapping to their
~/.flutter_settings (JSON format) config file. Output directory is
relative to the main flutter application directory.

This change also changes the default build directory for iOS builds to a
subdirectory of the configured build directory, 'build/ios' by default.
2016-08-25 16:38:19 -07:00
John McCutchan
852a00a17b Detect when isolate reload is barred and inform the user (#5602) 2016-08-25 14:23:13 -07:00
Hans Muller
a651008acf Animate the "PREVIEW" banner into view (#5598) 2016-08-25 12:30:25 -07:00
Dan Rubel
e47e937682 add flutter channel command (#5561)
* add flutter channel command
fixes https://github.com/flutter/flutter/issues/2513

* fix test

* address comments

* remove unused imports

* fix lints
2016-08-25 15:16:21 -04:00
Dan Rubel
1ea2f4030e enhance flutter upgrade to find project root (#5552)
* enhance flutter upgrade to find project root
fixes https://github.com/flutter/flutter/issues/2990

* address comments

* restore original formatting

* fix lints
2016-08-25 14:59:12 -04:00
Dan Rubel
5f7af56f3e modify runCommandAndStreamOutput to wait until stdout (#5596)
has been fully processed before completing the returned future.
This helps prevent tests that rely on stdout from being flaky.
2016-08-25 14:55:54 -04:00
Matt Perry
f1d5fd8c0d Simple version of the iOS back gesture. (#5512)
Doesn't do any of the fancy effects. Just lets the user control the
back transition by sliding from the left, like a drawer. Hero
transitions are disabled during the gesture.

BUG=https://github.com/flutter/flutter/issues/4817
2016-08-25 14:30:50 -04:00
Jason Simmons
7d0b92897a Update the engine (#5595) 2016-08-25 10:24:39 -07:00
Dan Rubel
8c294a10b4 fix flutter tool --package to --packages (#5547) 2016-08-24 22:07:22 -04:00
Yegor
4805d9276a create build directory for startup trace if missing (#5589) 2016-08-24 16:56:26 -07:00
Yegor
0e63e470e4 Revert "Detect when isolate reload is barred and inform the user (#5582)" (#5590)
This reverts commit 09e68c33ccdb355fedd75a8716de0551c772f2de.

AOT snapshotter is broken at this engine rev.

https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci8wOWU2OGMzM2NjZGIzNTVmZWRkNzVhODcxNmRlMDU1MWM3NzJmMmRlDAsSBFRhc2sYgICAgICAwAgM
2016-08-24 16:56:10 -07:00
Collin Jackson
91b6319a4f Allow disabling the performance overlay in main.dart, fixes #5580 (#5583) 2016-08-24 15:55:00 -07:00
John McCutchan
09e68c33cc Detect when isolate reload is barred and inform the user (#5582) 2016-08-24 15:36:17 -07:00
Jason Simmons
95fbb71f0d Change the Gallery sample Android package to not conflict with the version published in Play (#5579) 2016-08-24 14:37:50 -07:00
Collin Jackson
701e0d054a Add update dialog to gallery (#5569)
Add update dialog to gallery, open source part of #4626
2016-08-24 13:32:27 -07:00
Chinmay Garde
1852fdcca8 Fix escaping of spaces when passing launch arguments to the iOS device. (#5574)
`Process.start` seems to be escaping as needed.
2016-08-24 12:57:29 -07:00
Dan Rubel
f6c53d58cd Test create proj content (#5546)
* test flutter create project dart file is properly formatted

* restore driver-test

* cleanup lint warnings

* address comment
2016-08-24 14:47:29 -04:00
Jason Simmons
20b9750a73 Update the engine (#5563) 2016-08-23 16:17:36 -07:00
Ian Hickson
3d91de84a4 Clarify setState docs (#5558) 2016-08-23 16:03:44 -07:00
Hans Muller
310a981912 Handle dragging a bottom sheet past the bottom (#5541) 2016-08-23 15:56:49 -07:00
Chris Bracken
81d672688d Emit iOS build products under $SYMROOT (#5560)
Previously, `flutter build` products were emitted to build/ and only
xcode build products were emitted to $SYMROOT.
2016-08-23 14:08:59 -07:00
Hans Muller
3a6f6c8275 Gallery app preview banner (#5554) 2016-08-23 12:29:07 -07:00
Yegor
44e1f646a9 rev engine to get _flutter.listViews fix (#5551) 2016-08-23 11:08:24 -07:00
Todd Volkert
5f44b2d4e5 Make flutter build ios --simulator default to debug builds (#5540) 2016-08-22 17:14:30 -07:00
Chris Bracken
bfbbef108d Prevent hangs due to bad import/export directives (#5538)
If the input test script contains a bad import, sky_shell will fail to
execute main(), in which case a connection to /runner is never
established and the _ServerInfo.socket never completes.

This change works around this by issuing a request on /shutdown when
sky_shell exits.
2016-08-22 15:30:10 -07:00
Devon Carew
74446d78fc don't resolve symlinks as part of which (#5531)
* don't resolve symlinks as part of which

* update method dartdoc
2016-08-22 14:35:19 -07:00
Jason Simmons
40f2b7bddb Update the engine (#5536) 2016-08-22 14:26:06 -07:00
Dragoș Tiselice
e382701a9f Changed ExpandIcon to accept default state. (#5521)
Changed the ExpandIcon constructor to take a default expansion state.
If the widget gets rebuilt with a different expansion value, the
animation will trigger but the callback will not.
2016-08-22 12:54:16 -07:00
Hans Muller
cc600fc0a0 Add a gallery feedback link (#5511) 2016-08-22 09:57:25 -07:00
Todd Volkert
2796d74526 Fail to build for ios simulator in profile or release build mode (#5530) 2016-08-21 21:51:03 -07:00
Hans Muller
da34ae654f Ease Material route animations redux (#5509) 2016-08-19 17:18:42 -07:00
Jason Simmons
789bfa4271 Do not throw when resolving a local engine if the .packages map does not include the flutter package (#5519) 2016-08-19 14:40:14 -07:00
Todd Volkert
f434328a69 Update engine.version (#5495) 2016-08-19 14:36:55 -07:00
Devon Carew
b8a60f5bbd suppress exceptions from loader progress display messages (#5510) 2016-08-19 12:47:58 -07:00
Hans Muller
243b4c065b Ease Material route animations (#5487) 2016-08-19 10:01:14 -07:00
Hans Muller
03b117a5e5 Remove the "most valuable keys" Hero feature (#5500) 2016-08-19 09:59:39 -07:00
Seth Ladd
f2afd05fe6 link to services doc from hello_services example
TBR
2016-08-19 08:03:08 -07:00
Benjamin BALET
111a64b814 Alternative PowerShell script. Fix missing pop in BAT file (in case of fatal error). Exit gracefully. Force SDK Path. (#5484) 2016-08-18 20:42:23 -07:00
Devon Carew
207451f270 exclude //bin from analysis (#5494) 2016-08-18 19:11:39 -07:00
Dan Rubel
e1d9468dca update template so that it formats correctly (#5493) 2016-08-18 17:30:24 -07:00
Bob Nystrom
9efb168521 Fix an incorrect covariant function type. (#5492)
The type of rejects should be List<dynamic> to match the type that
DragTarget expects. Since the function doesn't use rejects anyway,
there's no need to tighten the type.

Fixes one of the strong_mode_static_type_error errors that is currently
being ignored.
2016-08-18 17:14:52 -07:00
John McCutchan
83ab5f8345 Call refreshViews after every restart (#5479) 2016-08-18 16:01:18 -07:00
Hans Muller
e683cb2157 Gallery home page header color should track the material theme (#5486) 2016-08-18 14:15:33 -07:00
Hans Muller
7b2f660417 Stablize gallery status bar height computation (#5485) 2016-08-18 12:41:51 -07:00
Dragoș Tiselice
6e9bbca401 Added AnimatedSize. (#5260)
Added a widget that implicitly animates the size of it child.
2016-08-18 11:03:21 -07:00