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
51b6f0eae7
Merge pull request #2882 from devoncarew/doctor_fixes
...
several fixes to the doctor command
2016-03-24 14:32:01 -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
Ian Hickson
1949f124d1
Merge pull request #2870 from Hixie/typos
...
Fix minor typos (EdgeInsets, ImageResource)
2016-03-24 10:52:20 -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
Jason Simmons
e1b112ff88
Merge pull request #2869 from jason-simmons/gradle_send_receive
...
An example showing how to send messages between the host app and Flutter
2016-03-24 10:26:28 -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
Jason Simmons
af008749a9
An example showing how to send messages between the host app and Flutter
2016-03-24 10:00:14 -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
1878c624a7
Merge pull request #2864 from devoncarew/doctor_os
...
print the os from flutter doctor
2016-03-24 09:19:41 -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
Ian Hickson
4879329de4
Update README.md
...
In the spirit of "you are what you measure", let's measure some more things...
2016-03-23 21:06:37 -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
1db09ffe03
Merge pull request #2857 from HansMuller/two_level_list_fixo
...
Fixed a typo
2016-03-23 16:09:18 -07:00
Hans Muller
8107d25175
fixed a typo
2016-03-23 15:54:55 -07:00
Jason Simmons
de8262f497
Merge pull request #2852 from jason-simmons/gradle_engine_src
...
Expose the engine-src-path flag in the Gradle plugin
2016-03-23 13:53:26 -07:00
Jason Simmons
d5b30f68ce
Expose the engine-src-path flag in the Gradle plugin
2016-03-23 13:33:51 -07:00
Jason Simmons
9cce0833ea
Merge pull request #2851 from jason-simmons/gradle_update_0323
...
Update SkyApplication to SkyMain in the hello_android example
2016-03-23 13:16:33 -07:00
Jason Simmons
502fbeec0a
Update SkyApplication to SkyMain in the hello_android example
2016-03-23 13:07:51 -07:00
Hans Muller
14440b145c
Merge pull request #2846 from HansMuller/two_level_list
...
TwoLevelList fails to restore sublist expanded state
2016-03-23 12:56:27 -07:00
Hans Muller
67a18fa532
TwoLevelList fails to restore sublist expanded state
2016-03-23 12:27:25 -07:00
Adam Barth
a8c108dea5
Merge pull request #2824 from abarth/update_mojo
...
Update ChildView after Mojo roll
2016-03-23 11:59:32 -07:00
Jason Simmons
e6a827e87c
Merge pull request #2847 from jason-simmons/flutter_absolute_path
...
Set FLUTTER_ROOT to an absolute path
2016-03-23 11:18:03 -07:00
Adam Barth
9f5febc8cd
Update ChildView after Mojo roll
...
The Mozart API has changed.
2016-03-23 11:05:31 -07:00
Jason Simmons
e10b74cd24
Set FLUTTER_ROOT to an absolute path
...
This implementation was taken from the Dart SDK shell scripts.
BUG=https://github.com/flutter/flutter/issues/2795
2016-03-23 10:51:23 -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