3415 Commits

Author SHA1 Message Date
Alhaad Gokhale
58edc7ed9b In run_mojo, rename bundlePath -> targetApp since it may not be a path. 2016-03-24 10:01:00 -07:00
Alhaad Gokhale
35e30235f0 In run_mojo command, parse Uri scheme to decide whether app is on local
filesystem or not.
2016-03-23 19:11:04 -07:00
Alhaad Gokhale
c4da1da20c Allow run_mojo command to run an app at a URL.
Fixes #2113
2016-03-23 17:13:47 -07:00
Adam Barth
9f5febc8cd Update ChildView after Mojo roll
The Mozart API has changed.
2016-03-23 11:05:31 -07:00
Ian Hickson
da88f1d01f Merge pull request #2828 from Hixie/lru
Replace use of LruMap with a pure LinkedHashMap
2016-03-22 23:24:40 -07:00
Ian Hickson
924480fcda Merge pull request #2843 from Hixie/nan-constraints
Handle NaNs in constraints, just in case.
2016-03-22 23:24:25 -07:00
Ian Hickson
ea04c910e7 Replace use of LruMap with a pure LinkedHashMap
...so that we can shed the quiver dependency in flutter's framework.
2016-03-22 23:01:31 -07:00
Ian Hickson
9eb4d15c7a Merge pull request #2826 from Hixie/overflow
CustomPaint documentation
2016-03-22 22:59:13 -07:00
Ian Hickson
9356c19dce Handle NaNs in constraints, just in case. 2016-03-22 22:53:40 -07:00
Ian Hickson
e6cffd2897 Merge pull request #2842 from Hixie/icondata-tostring
prettier IconData toString
2016-03-22 22:42:29 -07:00
Ian Hickson
cde947eaf1 prettier IconData toString 2016-03-22 22:13:32 -07:00
Ian Hickson
87eb34240b Port to crypto 0.9.2 2016-03-22 21:54:34 -07:00
Ian Hickson
942840748a CustomPaint documentation
...followed all the way back to ImageCache, ImageInfo, ImageProvider,
and friends.
2016-03-22 21:36:44 -07:00
Ian Hickson
cae847dc98 Merge pull request #2835 from Hixie/RenderFractionallySizedBox-constraints
Rationalise the overflow render boxes
2016-03-22 17:36:13 -07:00
Hans Muller
ff424196fc Fixed VirtualViewport child key assignment 2016-03-22 14:46:50 -07:00
Hixie
34cc0c4728 Rationalise the overflow render boxes
New RenderAligningShiftedBox abstract class for render boxes with
"alignment", which as of now is:

 - RenderPositionedBox
 - RenderConstrainedOverflowBox (ex RenderOverflowBox)
 - RenderSizedOverflowBox
 - RenderFractionallySizedOverflowBox (ex RenderFractionallySizedBox)

(The respective widgets are Align, OverflowBox, SizedOverflowBox, and
FractionallySizedBox. They haven't been renamed.)

Also I added some toString details.
2016-03-22 14:06:49 -07:00
Devon Carew
1d20a90cad change how we calculate the temp dir 2016-03-22 12:22:30 -07:00
Hixie
71976b306b Fix RenderFractionallySizedBox's constraints logic
Fixes https://github.com/flutter/flutter/issues/2735
2016-03-22 10:29:43 -07:00
Jason Simmons
b00cf22e0d Merge pull request #2788 from jason-simmons/messaging_to_host
Provide APIs for exchanging messages with the host application
2016-03-22 10:15:31 -07:00
Hans Muller
1af58aee4a Fix Fast Fling Failure 2016-03-22 08:43:22 -07:00
Chinmay Garde
fb427a1e5f Merge pull request #2823 from chinmaygarde/master
Use the artifacts store for iOS assets
2016-03-21 17:42:07 -07:00
Jason Simmons
074564eec3 Provide APIs for exchanging messages with the host application 2016-03-21 16:39:55 -07:00
Chinmay Garde
68a3aa70bf Use the artifacts store for iOS assets 2016-03-21 16:25:58 -07:00
Chinmay Garde
931d4be5ba Merge pull request #2821 from chinmaygarde/master
Dont differentiate between ios_arm and ios_x64 in flutter_tools
2016-03-21 15:02:59 -07:00
Chinmay Garde
c8377d7428 Dont differentiate between ios_arm and ios_x64 in flutter_tools
All artifacts for iOS are universal.
2016-03-21 14:41:26 -07:00
Devon Carew
e31395fba1 Merge pull request #2811 from devoncarew/drive_start
don't wait for the observatory if the app didn't start
2016-03-21 13:45:21 -07:00
Chinmay Garde
adf48bef7e Merge pull request #2819 from chinmaygarde/master
Bump engine revision and ensure the Xcode project setup expects assets at the archive root.
2016-03-21 13:42:22 -07:00
Phil Quitslund
eacbe53506 Merge pull request #2816 from pq/remove_tear_off_regexp
Remove `analyze` tear-off regexp.
2016-03-21 13:27:45 -07:00
Chinmay Garde
3a9956fb4e Bump engine revision and ensure the Xcode project setup expects assets at the archive root. 2016-03-21 13:24:53 -07:00
Adam Barth
2fc4f2079d Merge pull request #2818 from abarth/scroll_tolerance
Scrollable sometimes pushes frames forever
2016-03-21 12:39:21 -07:00
Adam Barth
5a5fcb959d Scrollable sometimes pushes frames forever
We were setting a negative velocity tolerance, which never triggered because we
assume tolerances are positive numbers. Now we use a positive tolerance and
assert to catch this case in the future.

Fixes #2765
2016-03-21 12:21:24 -07:00
Hans Muller
70550a7a9a Fix _LazyWidgetProvider indexing, move Ali Connors 2016-03-21 12:20:09 -07:00
Adam Barth
24bf14c518 Merge pull request #2814 from abarth/custom_switch_thumb
Allow customizing of Switch thumbs
2016-03-21 12:11:25 -07:00
pq
8b321d7de0 Remove analyze tear-off regexp.
In the spirit of https://github.com/flutter/flutter/issues/1220, remove the tear-off regexp in favor of in-line suppressions (if needed).
2016-03-21 11:28:11 -07:00
Adam Barth
c0536ff7db Allow customizing of Switch thumbs
Fixes #2621
2016-03-21 11:04:44 -07:00
Hans Muller
7456f6ae32 Merge pull request #2782 from HansMuller/app_bar
Flexible AppBar with a TabBar
2016-03-21 11:04:39 -07:00
Adam Barth
dab672d19c Merge pull request #2813 from abarth/child_view_error
Improve error message when ChildView lacks a MediaQuery
2016-03-21 10:49:50 -07:00
Hans Muller
070fdf7754 Flexible AppBar with a TabBar 2016-03-21 10:42:52 -07:00
Adam Barth
3ed2738683 Improve error message when ChildView lacks a MediaQuery
Fixes #2662
2016-03-21 10:34:16 -07:00
Devon Carew
f1cdf6df39 refactor; fix apk warning 2016-03-21 09:24:56 -07:00
Devon Carew
73d3acd5fd don't wait fot the observatory if the app didn't start 2016-03-21 09:22:53 -07:00
Ian Hickson
bef6ff3b06 Provide more documentation for MojoShell
As usual, as I was doing this I ran into some stuff that seemed hard
to document as-is and so I changed it. In this case, in the "http"
library. The new code is more or less equivalent, I think, but the
resulting documentation makes it more obvious that it's wrong...
2016-03-20 23:47:19 -07:00
Ian Hickson
da885781ab Merge pull request #2806 from Hixie/cassowary
Refactor cassowary so it uses imports rather than parts.
2016-03-20 21:04:42 -07:00
Ian Hickson
a7016062bc Improve flutter create help text. 2016-03-20 20:06:30 -07:00
Ian Hickson
552896afb7 Refactor cassowary so it uses imports rather than parts.
Also misc cleanup:
 - reorder members to be more consistent and fit the style guide
 - remove use of _Pair
 - made Variable.applyUpdate and Variable.owner public
 - added docs to Priority, tweaked the code a bit
 - added some docs to Result
 - removed the internal-error Result (replaced with asserts)
 - removed unused Results
 - made Result const
 - merged some files together since they had used privates a lot

I'm sorry this is completely unreviewable. I did the move from `lib/*`
to `lib/src/*` first, then did the `part`-to-`import` change, and then
found out how many of the files involved privates, which I wasn't
expecting. I can redo this as multiple commits if that would make it
easier to review.
2016-03-20 18:10:37 -07:00
Ian Hickson
e39a7c4144 Track metrics for RepaintBoundary.
Fixes https://github.com/flutter/flutter/issues/475
2016-03-19 09:36:33 -07:00
Andrew Wilson
861423876d Refactor CheckedModeBanner into something more reusable. 2016-03-18 19:03:16 -07:00
Hixie
7e3bef1163 Replace WidgetError and RenderingError with FlutterError 2016-03-18 15:40:38 -07:00
Adam Barth
65cb3ee769 Add dartdoc for child widgets
This patch adds a consistent, simple description for the common pattern of
having a single child widget.
2016-03-18 15:19:36 -07:00
Hixie
8f3f07653c Docs for AvatarCircle. 2016-03-18 15:02:17 -07:00