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
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
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
612a097d1f
Add --target support to flutter build ios ( #4318 )
...
Fixes #4298
2016-06-02 08:57:13 -07:00
Devon Carew
bc5d407477
fix an issue where the refresh benchmark would overwrite a completer ( #4315 )
2016-06-01 19:57:08 -07:00
Adam Barth
6d4fd85054
Improve float action button transitions ( #4309 )
...
Previously the floating action button would disappear during transitions. Now
we animate properly. I've also centralized the animation in Scaffold instead of
spreading it across the Scaffold and the FloatingActionButton.
Fixes #1718
2016-06-01 17:00:55 -07:00
Ian Hickson
0618da7ca2
PaginatedDataTable (part 1) ( #4306 )
...
This introduces the key parts of a paginated data table, not including
the built-in pagination features.
* Provide more data for the data table demo, so there's data to page.
* Introduce a ChangeNotifier class which abstracts out
addListener/removeListener/notifyListeners. We might be able to use
this to simplify existing classes as well, though this patch doesn't
do that.
* Introduce DataTableSource, a delegate for getting data for data
tables. This will also be used by ScrollingDataTable in due course.
* Introduce PaginatedDataTable, a widget that wraps DataTable and only
shows N rows at a time, fed by a DataTableSource.
2016-06-01 16:13:40 -07:00
Ian Hickson
bf6ae3ee76
Reenable the gallery smoke test ( #4303 )
...
...and fix some grid and table intrinsic issues it uncovered.
2016-06-01 15:34:48 -07:00
Devon Carew
9e9dfc3d2d
fix a race condition with isolate notification ( #4286 )
...
* fix a race condition with isolate notification
* return a future
2016-06-01 15:17:04 -07:00
Devon Carew
2a2bd7b6f4
fix an exception while parsing a services file ( #4302 )
2016-06-01 14:06:44 -07:00
Ian Hickson
2d32f1f1a7
Fix fallout from intrinsics changes ( #4299 )
...
* Fix fallout from intrinsics changes
* Move away from isInfinite in favor of isFinite
2016-06-01 13:36:06 -07:00
Adam Barth
c26fcfdfaa
Update xcodebuild for Generated.xcconfig ( #4268 )
...
This patch updates how we generate xcconfig files to match what
xcode_backend.sh expects.
2016-06-01 12:32:45 -07:00
Adam Barth
020b068896
Use protected and mustCallSuper in more places ( #4291 )
2016-06-01 08:27:19 -07:00
Adam Barth
887e339641
Start using protected annotation ( #4288 )
...
There are many more places we can use this annotation. This patch starts out
small to test the waters.
2016-05-31 17:41:34 -07:00
Adam Barth
a0e7cdba10
Deploy mustCallSuper ( #4285 )
...
This patch starts using the mustCallSuper annotation for several of the key
lifecycle callbacks in the framework. I haven't added it to didUpdateConfig
because there are a large number of non-compliant overrides. We should discuss
whether we want to use it there.
2016-05-31 17:05:46 -07:00
Adam Barth
b8fb46e425
Improve tooltip behavior ( #4284 )
...
As requested by the material design team.
Fixes #4182
2016-05-31 15:03:57 -07:00
Ian Hickson
787fb3be7d
Simplify intrinsic dimension APIs ( #4283 )
2016-05-31 14:59:48 -07:00
Phil Quitslund
77b8e3273d
Merge pull request #4271 from pq/0.27.4-alpha.9
...
Update analyzer dep to 0.27.4-alpha.9
2016-05-31 11:31:16 -07:00
Jason Simmons
49c4064132
Add Dart IO entry points to the snapshotter command line ( #4257 )
2016-05-31 10:51:28 -07:00
pq
985a7b91cf
Update analyzer dep to 0.27.4-alpha.9
...
Update analyzer dep to 0.27.4-alpha.9 to enjoy analyzer perf improvements (https://codereview.chromium.org/2011183004/ ) (and keep in sync with the SDK).
(This is a revisit to https://github.com/flutter/flutter/pull/4253 .)
2016-05-31 06:59:56 -07:00
Adam Barth
7de84709cf
Address review comments on prior patch ( #4270 )
...
I pulled the trigger to land the previous patch too quickly and missed a
number of comments.
2016-05-30 14:47:49 -07:00
Adam Barth
7cf4c694b1
Complete docs for RenderObject ( #4266 )
2016-05-29 22:31:27 -07:00
Adam Barth
76772608e2
Remove OverlayPainter mechanism ( #4264 )
...
We used to use this mechanism to paint scrollbars, but it's awkward. The
new approach to scrollbars is much cleaner. This mechanism has no other
clients, so we should remove it.
2016-05-29 16:37:29 -07:00
Devon Carew
7c47837c27
show build progress; print app sizes ( #4263 )
...
* show build progress; print app sizes
* add todo
* review comments
* remove unused import
2016-05-29 15:07:41 -07:00
Adam Barth
d1cb026a65
Update engine and Mojo usage ( #4258 )
...
The new mojom.dart code makes mocking services a bit tricky. I've filed
https://github.com/domokit/mojo/issues/786 about improving that.
2016-05-28 18:28:21 -07:00
Devon Carew
49affc4098
make the drive output prettier ( #4260 )
2016-05-27 22:36:07 -07:00
Devon Carew
111392d7c9
run pub get (w/ symlinks) for flutter drive ( #4259 )
...
* run pub get (w/ symlinks) for flutter drive
* review comments
2016-05-27 21:42:46 -07:00
Adam Barth
aee32698ac
Add backend tools for extensible iOS apps ( #4250 )
...
Instead of embedding Flutter.framework and BuildFlutterApp in the Xcode
project, we store these in flutter.git, where we can reference them.
2016-05-27 15:30:42 -07:00
Devon Carew
c98ce02417
print the dartlang atom plugin version from flutter doctor ( #4242 )
2016-05-27 13:31:55 -07:00
Adam Barth
0c0a866c79
Add the ability to create global pointer routes ( #4239 )
...
We'll use this functionality to implement some subtle behaviors for tooltips.
2016-05-27 12:42:12 -07:00
Chinmay Garde
989a530350
Don't avoid linking with libSystem to work around issue in dyld. ( #4241 )
2016-05-27 11:24:10 -07:00
Todd Volkert
51d4ab3324
Fix install for iOS simulator, and add ability to uninstall ( #4223 )
2016-05-27 11:05:10 -07:00
Hans Muller
1a05b696d7
Doc update ( #4234 )
2016-05-27 10:13:15 -07:00
Yegor
f544abd016
modernize flutter drive w.r.t. debug/profile/release options ( #4217 )
...
* modernize `flutter drive` w.r.t. debug/profil/release options
* make error message prettier
2016-05-27 10:02:36 -07:00
Adam Barth
6f3382aa57
Add more dartdoc to rendering.dart ( #4232 )
...
There are still many more left before rendering.dart is complete.
2016-05-27 08:59:04 -07:00
Adam Barth
6da0429375
Add more dartdoc to PaintingContext ( #4229 )
...
We now explain what coordinate system each argument is expected to be in.
Fixes #4205
2016-05-26 16:51:46 -07:00
Devon Carew
ec7517766c
Flutter run restart ( #4105 )
...
* working on making a faster flutter run restart
* clean up todos; fire events on isolate changes
* use the Flutter.FrameworkInitialization event
* review comments
2016-05-26 15:26:14 -07:00
Devon Carew
646b5350d1
resolve symlinks in paths to flutter ( #4219 )
...
* resolve symlinks in paths to flutter
* review comments
2016-05-26 14:41:33 -07:00
Devon Carew
d6aed1e7c9
add a --quiet option to flutter_tools ( #4213 )
2016-05-26 13:41:29 -07:00
Hans Muller
502f734dee
Rename FractionallySizedBox box size factor parameters ( #4212 )
2016-05-26 12:43:25 -07:00