5757 Commits

Author SHA1 Message Date
Alhaad Gokhale
a880ced67d Fix adding child views to container after changes to dart bindings.
@abarth
2016-06-07 15:00:55 -07:00
Todd Volkert
7ac0ce7938 Add API for specifying the system overlay style. (#4422)
Fixes 3544
2016-06-07 14:39:15 -07:00
Adam Barth
69ce7f6984 runApp inside onPressed throws an exception (#4419)
We were trying to unregister the pointer route twice. Now we only unregister it
once.

Fixes #4341
2016-06-07 13:45:06 -07:00
Adam Barth
5af67e1592 Add support for target to gradle build (#4420)
This lets you build something other than `lib/main.dart`.
2016-06-07 13:05:42 -07:00
Devon Carew
3ba17136b7 add a restart command to the daemon protocol (#4385)
* refactor the --resident run option into a separate file

* update daemon to run --resident apps

* re-plumbing daemon start

* send app logs

* update tests

* review changes

* fix test runner

* remove PackageMap.createGlobalInstance; rely on the ctor

* review comments
2016-06-07 12:13:35 -07:00
Chinmay Garde
68ba5bfd7c Suppress verbose output from ios-deploy when not in verbose mode. (#4423) 2016-06-07 12:02:08 -07:00
Matt Perry
0783f9d633 Remove "Drop-down button" from the transtions perf test. (#4417)
It's no longer part of the gallery app.

BUG=https://github.com/flutter/flutter/issues/4390
2016-06-07 13:13:51 -04:00
Adam Barth
313c17faf8 Complete dartdoc for scrollable widgets (#4415) 2016-06-07 08:47:06 -07:00
Adam Barth
43d35cb219 Update engine (#4414) 2016-06-06 20:23:45 -07:00
Adam Barth
130f77177d Make Shrine scroll fast (#4408)
This fix isn't completely statisfying because it has a scaling limit. The ideal
fix would actually viewport the tiles in the grid. However, this fix is much
easier at the moment.

Fixes #4395
2016-06-06 20:23:40 -07:00
Adam Barth
4f4f24eac5 Loosen dependencies on string_scanner (#4412)
Now that there's a new string_scanner in town, we're having dependency
resolution conflict because of flutter_markdown's tight dependency. This
patch loosens the dependency and resolves the conflict.
2016-06-06 19:22:55 -07:00
Devon Carew
958fb0f888 Update flutter_command_runner.dart (#4398) 2016-06-06 15:35:31 -07:00
Matt Perry
5de581c6c8 Fix text selection painting to draw what the engine tells us. (#4397)
BUG=https://github.com/flutter/flutter/issues/4321
BUG=https://github.com/flutter/flutter/issues/4349
2016-06-06 18:29:54 -04:00
Adam Barth
48ed80b3be Simplify integration with Scrollable (#4394)
This patch exposes a convenience function on Scrollable that helps with
updating the scroll extents and ports several clients over to using it.
2016-06-06 14:51:31 -07:00
Adam Barth
b96d1dfc24 Tab labels incorrectly fade out (#4391)
Assigning to `size` called our intrinsic sizing functions re-entrantly, which
is a destructive operation on TextPainter. Ideally we'd made that a
non-destructive operation, but in the meantime we can fix the tab fading issue
by grabbing the text size before assigning to `size`.

Fixes #4365
2016-06-06 14:00:57 -07:00
Adam Barth
8f03ebe56b Teach FlutterPlugin.groovy about AOT builds (#4389)
The `flutter.buildMode` property now controls whether to build in debug,
profiling, or release.
2016-06-06 12:56:04 -07:00
Devon Carew
6c96e1a320 use the --resident option on flutter run by default (#4386) 2016-06-06 10:29:27 -07:00
Phil Quitslund
6d2d495369 Merge pull request #4348 from pq/fix_4091
Fix flutter analyze defaults when files are specified (#4091).
2016-06-06 10:00:55 -07:00
Adam Barth
d9916bbb33 Complete the dartdoc for servics.dart (#4383)
Also, add more dartdoc to widgets.dart.
2016-06-05 23:58:38 -07:00
Ian Hickson
ed48c70aa0 Remove the redundant drop-down button demo (#4380)
Turns out we have the same demo in the "Buttons" section now.
We don't need both.
2016-06-04 09:31:32 -07:00
Adam Barth
29af5c0317 Set a sensible default framework path (#4370)
This patch sets a default path for Flutter.framework that's sensible based on
the FLUTTER_MODE.
2016-06-03 17:01:18 -07:00
Adam Barth
423a31f473 Merge hello_android into hello_services (#4366)
The hello_services example can now be built both for Android and iOS.
2016-06-03 16:15:03 -07:00
Hans Muller
df1c158e0b Updated calculator demo (#4363) 2016-06-03 14:10:50 -07:00
Matt Perry
60e7535b58 Pesto demo for the Flutter Gallery app. (#4328)
* Pesto demo for the Flutter Gallery app.

* pesto.special.case
2016-06-03 17:05:01 -04:00
Chinmay Garde
8756a094a9 Add a FLUTTER_MODE variable to the generated Xcconfig and fix snapshot generation on all targets. (#4362)
Get rid of the DART_EXPERIMENTAL_INTERPRETER_FLAG.
2016-06-03 13:55:57 -07:00
Devon Carew
26076d9efd Update utils.dart (#4364) 2016-06-03 13:21:16 -07:00
Devon Carew
7ae584bc02 handle 'last message repeated' from ios simulator (#4300) 2016-06-03 12:54:27 -07:00
pq
ce82bc1b15 Check for user specified args. 2016-06-03 12:52:43 -07:00
Adam Barth
8171aa86f0 Document how to build hello_services for iOS (#4354)
This patch adds some sensible defaults to xcode_backend.sh and documents how to
build hello_services for iOS using Xcode.
2016-06-03 12:20:54 -07:00
Hans Muller
0b7e975e2c Updated fitness and weather manual tests, new asset locations (#4351) 2016-06-03 10:38:03 -07:00
Adam Barth
daa0e7fa52 Fix DragUpdateDetails docs (#4350)
I changed the behavior late in the code review but didn't update this dartdoc.
2016-06-03 10:20:43 -07:00
pq
305af8b873 Fix flutter analyze defaults when files are specified (#4091).
Disables current package and current directory analysis when files are specified.

Fixes: https://github.com/flutter/flutter/issues/4091.
2016-06-03 09:24:54 -07:00
Phil Quitslund
24dbf31a85 Merge pull request #4346 from pq/1.17.0-dev.6.2
Update Dart SDK to 1.17.0-dev.6.2.
2016-06-03 09:08:49 -07:00
Hans Muller
1d516f0e94 Update gallery demo list (again) (#4339) 2016-06-03 08:37:16 -07:00
pq
364f19d5ea Update Dart SDK to 1.17.0-dev.6.2.
Latest RC.

Fixes two release blockers (https://github.com/dart-lang/sdk/issues/26558 and https://github.com/dart-lang/sdk/issues/26596); bonus points for letting us re-enable the `iterable_contains_unrelated_type` lint :).
2016-06-03 06:09:53 -07:00
Adam Barth
f2ea70d93e Add dartdoc to basic.dart (#4345)
This patch starts working through the missing dartdocs in widgets.dart.
2016-06-02 23:59:48 -07:00
Adam Barth
2d4acb8041 Convert drag gestures to use details objects (#4343)
Previously we supplied individual parameters to the various drag and pan
callbacks. However, that approach isn't extensible because each new
parameter is a breaking change to the API.

This patch makes a one-time breaking change to the API to provide a
"details" object that we can extend over time as we need to expose more
information. The first planned extension is adding enough information to
accurately produce an overscroll glow on Android.
2016-06-02 23:45:49 -07:00
Ian Hickson
5245d3889d Clean up the way RenderIntrinsicWidth works (#4340)
The old code had gotten crufty with all the refactors. This simplifies
it down to what it really means.

Also, add a bunch of tests.
2016-06-02 19:09:29 -07:00
Ian Hickson
d8283d1c62 RenderPadding's intrinsic should clamp child dims (#4329)
We used to rely on BoxConstraints.deflate's clamping, but now we have to
roll our own.
2016-06-02 17:29:28 -07:00
Hans Muller
dd27a489fa Update gallery demo list (#4335) 2016-06-02 16:12:54 -07:00
Jason Simmons
d8d0d6b31b Resolve package references in font asset paths (#4334) 2016-06-02 15:05:41 -07:00
Eric Seidel
868a4b18a4 Merge pull request #4331 from eseidelGoogle/infra_is_bot
Don't send usage information on Chrome infra bots
2016-06-02 14:56:51 -07:00
Hans Muller
309b9f8010 Version 0.0 of a gallery demo of the Material Design "Shrine" app (#4327) 2016-06-02 14:23:20 -07:00
Eric Seidel
4c86b73027 wip 2016-06-02 14:17:21 -07:00
Adam Barth
a464052191 Improve docs for paintImage (#4317)
We now describe what each parameter does.

Fixes #4256
2016-06-02 14:04:08 -07:00
Jason Simmons
00c7734c8b Tools daemon handlers for discovering apps and forwarding device ports (#4324) 2016-06-02 14:00:27 -07:00
Adam Barth
8ec26f02da Complete dartdocs for rendering.dart (#4316)
All of the public APIs in rendering.dart now have dartdocs.
2016-06-02 11:34:52 -07:00
Adam Barth
1ff7109b02 Mark State.setState as protected (#4295)
This required refactoring some cases where we weren't following the rules for
the protected annotation.
2016-06-02 10:46:12 -07:00
Adam Barth
88d47d5705 Remove animation from Gallery header (#4322)
Although beautiful, having a continuous animation on the front page of the
gallery gives the impression that Flutter burns battery and makes phones hot.
This patch replaces the animation with solid purple. However, we might
eventually want to use a static image.
2016-06-02 09:57:47 -07:00
Adam Barth
0679da0a23 Remove fancy lines demo from Gallery (#4323)
This demo burns battery continuously even when there's no change to the visual
appearance. This patch removes this demo to avoid giving the impression that
Flutter burns battery.

Related to #4120
2016-06-02 09:54:03 -07:00