Adam Barth
c8c325d095
Replace EdgeInsets.TRBL with EdgeInsets.fromLTRB
...
This matches the pattern from Rect. I've left EdgeInsets.TRBL marked as
deprecated to give clients a chance to update.
Fixes #2860
2016-03-24 15:19:40 -07:00
Kris Giesing
bb5a82a726
Allow independent rendering pipelines
...
Fixes #2723
2016-03-24 14:59:21 -07:00
Devon Carew
c3eec6ec4f
several fixes to the doctor command
2016-03-24 14:17:49 -07:00
Hixie
9fc29dbbb8
Support hairline borders
...
Previously, border with '0' was ambiguous. Sometimes we treated it as
hairline borders, sometimes as "don't show the border", though even in
the latter case we did some graphics work sometimes. Now we have an
explicit BorderStyle.none flag to not draw the border efficiently.
2016-03-24 14:05:38 -07:00
Adam Barth
7711b1f660
Merge pull request #2879 from abarth/sized_box_docs
...
Improve docs for SizedBox
2016-03-24 13:22:54 -07:00
Adam Barth
bafd2c20c6
Improve docs for SizedBox
...
Fixes #2873
2016-03-24 13:22:37 -07:00
Ian Hickson
98b1f19df8
Merge pull request #2875 from Hixie/border-paint
...
Make the border painting code reusable.
2016-03-24 12:54:34 -07:00
Jason Simmons
f5c3b75d5c
Merge pull request #2876 from jason-simmons/font_include_asset
...
Add embedded font assets to the asset list
2016-03-24 12:50:54 -07:00
Adam Barth
dff356fcf8
Merge pull request #2872 from abarth/fix_inherited
...
Inherited widgets should work across reactivations
2016-03-24 12:11:00 -07:00
Hixie
32f7cbcf65
Make the border painting code reusable.
2016-03-24 11:24:24 -07:00
Ian Hickson
8678edfaaf
Merge pull request #2871 from Hixie/borders
...
Tweaks to Border to make it easier to subclass.
2016-03-24 11:24:18 -07:00
Jason Simmons
f17b68d2d3
Add embedded font assets to the asset list
...
Any font asset referenced in the fonts section of flutter.yaml will now be
included in the FLX assets. It's no longer necessary to separately list the
font in the assets section.
2016-03-24 11:20:11 -07:00
Adam Barth
e361c0b096
Inherited widgets should work across reactivations
...
Previously we updated only the reactivated element's inherited widgets. Now we
update all the inherited widgets for the whole subtree that's being
reactivated. We need to visit the whole subtree anyway, so there isn't much of
a loss.
Fixes #2733
Fixes #2438
Fixes #1701
2016-03-24 10:54:08 -07:00
Hixie
685ccfcea0
Tweaks to Border to make it easier to subclass.
...
Also, more docs. Also, expose isUniform.
2016-03-24 10:51:40 -07:00
Hixie
24f93f7353
Fix minor typos (EdgeInsets, ImageResource)
2016-03-24 10:20:39 -07:00
Adam Barth
f57a84b390
Merge pull request #2868 from abarth/rm_wrong_comment
...
Remove wrong comment
2016-03-24 10:17:10 -07:00
Alhaad Gokhale
ae7734ee12
Merge pull request #2861 from alhaad/run_mojo_with_url
...
Allow run_mojo command to run an app at a URL.
2016-03-24 10:10:31 -07:00
Alhaad Gokhale
58edc7ed9b
In run_mojo, rename bundlePath -> targetApp since it may not be a path.
2016-03-24 10:01:00 -07:00
Adam Barth
3ebbabdc0c
Remove incorrect comment
...
This test is no longer disabled.
Fixes #2827
2016-03-24 10:00:30 -07:00
Devon Carew
7940e26b04
Merge pull request #2862 from devoncarew/less_noisy_android
...
filter some noisy messages from adb logcat
2016-03-24 09:20:20 -07:00
Devon Carew
d4185802cd
print the os from flutter doctor
2016-03-24 00:00:37 -07:00
Devon Carew
d7e4f78b26
Merge pull request #2859 from devoncarew/doctor_rework
...
re-work the doctor command
2016-03-23 23:10:13 -07:00
Devon Carew
25f332d8d7
re-work the doctor command
2016-03-23 21:12:29 -07:00
Devon Carew
017f0271b7
filter some noisy messages from adb logcat
2016-03-23 21:12:04 -07:00
Adam Barth
f08b51b8ed
Merge pull request #2858 from abarth/physics_with_changing_behavior
...
Scrollable physics should be reasonable when sizes change
2016-03-23 20:18:17 -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
f7f1259b7b
Scrollable physics should be reasonable when sizes change
...
Previously, when the content extent changed during a scroll interaction, we'd
stop the current scroll interaction and reset the scroll offset. Now we try to
continue the scroll interaction (e.g., drag, fling, or overscroll) even through
the underlying scroll behavior has changed.
For physics-based scroll interactions, we keep the current position and
velocity and recompute the operative forces. For drag interactions, we keep the
current position and continue to let the user drag the scroll offset.
After this patch, we still disrupt non-physical scroll animations that are
operating outside the new scroll bounds because it's not clear how we can
sensibly modify them to work with the new scroll bounds.
2016-03-23 16:14:07 -07:00
Hans Muller
8107d25175
fixed a typo
2016-03-23 15:54:55 -07:00
Hans Muller
67a18fa532
TwoLevelList fails to restore sublist expanded state
2016-03-23 12:27:25 -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