2992 Commits

Author SHA1 Message Date
Adam Barth
bbaff5ea69 Merge pull request #2406 from abarth/rm_draw_looper
Remove the one use of DrawLooper
2016-03-03 20:35:43 -08:00
Adam Barth
245c5ae2b8 Remove the one use of DrawLooper
We're going to remove DrawLooper from the canvas API soon.
2016-03-03 17:32:34 -08:00
Kris Giesing
390fcd9931 Fix code style 2016-03-03 17:07:14 -08:00
Hans Muller
d04ab2e001 BoxDecoration borders define padding 2016-03-03 16:56:27 -08:00
Adam Barth
9b7ee3b7cc Merge pull request #2377 from abarth/rm_test
Remove test dependency from package:flutter
2016-03-03 16:53:22 -08:00
Kris Giesing
fca41bc2c5 Add tests for AssetVendor and resolution-dependent image loading
Fixes #2198
2016-03-03 16:51:42 -08:00
Ian Hickson
fbc61cb1ff Merge pull request #2394 from Hixie/MultiChildLayoutDelegate-docs
Improve documentation for MultiChildLayoutDelegate
2016-03-03 15:07:34 -08:00
Hixie
7cae550c71 Improve documentation for MultiChildLayoutDelegate 2016-03-03 14:57:34 -08:00
Adam Barth
41cdd600df Remove test dependency from package:flutter
The mojo_sdk has cleaned up its dependencies, so we no longer need to depend on
package:test from package:flutter.
2016-03-03 12:26:58 -08:00
Hixie
91a3ac95a0 Reorder and document members in ScrollableState 2016-03-03 12:19:09 -08:00
Adam Barth
932b09c33a Merge pull request #2048 from abarth/test2
Switch from hack_load_vm_file_hook to PlatformPlugin
2016-03-03 12:11:53 -08:00
Hans Muller
44cd57f2f2 Add DismissDirection onDismissed() callback parameter 2016-03-03 11:47:15 -08:00
Adam Barth
96ec5316b8 Switch from hack_load_vm_file_hook to PlatformPlugin
This patch switches us from using our previous hacking approach to integrating
with package:test to using the new PlatformPlugin interface.
2016-03-03 11:23:36 -08:00
Adam Barth
00a00deffc Add a test for icon opacity crash
Fixes #2361
2016-03-03 10:33:57 -08:00
Adam Barth
59664e4f80 Disable test that's causing bot to hang
This test causes the buildbot to hang. We don't currently have any hang
protection, which means this test ends up killing the bot. Disable the
test for now why we work on the root issues.
2016-03-02 19:29:18 -08:00
Adam Barth
017b4230ed Merge pull request #2358 from abarth/update_engine
Update engine
2016-03-02 18:40:48 -08:00
Adam Barth
865e3cc0ce Update engine
This change brings in a new version of Mojo, which has improved Mozart
interfaces.
2016-03-02 18:32:49 -08:00
Hans Muller
2fe456bf95 Merge pull request #2360 from HansMuller/fix_icon
Fix Icon opacity handling
2016-03-02 16:48:05 -08:00
krisgiesing
59ba45ef4d Merge pull request #2359 from krisgiesing/scaling_quality
Use bilinear interpolation when scaling images
2016-03-02 16:34:28 -08:00
Hans Muller
447da939b0 fix Icon alpha handling 2016-03-02 16:33:25 -08:00
Kris Giesing
125c0673f3 Use bilinear interpolation when scaling images
Fixes #2337
2016-03-02 16:20:28 -08:00
Hans Muller
4eae547c87 Fixed tab scrolling 2016-03-02 16:06:40 -08:00
Hixie
c7c730d0c0 Hide icons in the accessibility tree. 2016-03-02 14:26:52 -08:00
Adam Barth
c51ae28d87 Add "form" parameter to AnimationController forward and reverse
Fixes #2324
2016-03-02 12:05:16 -08:00
Adam Barth
bfc39aa843 Remove IconThemeColor
This enum doesn't make sense anymore now that we can arbitrarily colorize
icons.  Instead, we just use a Color, which is both simpler and can be
interpolated during animations.

Fixes #1279
2016-03-02 10:11:42 -08:00
Hixie
cb5017d17d Convert LinearGradient and RadialGradient to fractional units
Makes it easier to use without a SizeObserver
2016-03-02 09:56:37 -08:00
Adam Barth
870894fc68 Switch Material Design icons to using the iconfont
Rather than managing all the Material Design icons manually, we now
manage them using an icon font. The icon font contains glyphs for each
icon in an efficient vector format.

This patch updates the FLX tooling to include the MaterialIcons font and
updates the Icon widget to use the font instead of asset images.

Fixes #2313
Fixes #2218
Fixes #2009
Fixes #994
2016-03-02 09:32:02 -08:00
Hans Muller
d8eaac42fb Added menu dividers 2016-03-02 08:45:26 -08:00
Adam Barth
7a2d82d0af Merge pull request #2301 from abarth/dotdot_pattern
updateRenderObject() methods should use the .. pattern
2016-03-01 14:39:11 -08:00
Ian Hickson
2c78c06136 Fix dump debugging tools 2016-03-01 13:59:58 -08:00
Hans Muller
69f9e3b2a9 Added ListItem dividers 2016-03-01 13:07:37 -08:00
Adam Barth
ac1cba59ca updateRenderObject() methods should use the .. pattern
Fixes #1381
2016-03-01 13:03:29 -08:00
Adam Barth
96246c1a04 Improve the error message when calling setState during build
Now we produce an error message that explains why this operation isn't
permitted by the framework.

Fixes #1925
2016-03-01 11:08:19 -08:00
Adam Barth
08de980a5a Minor improvements to AnimationController
* Makes repeat default to the lower and upper bounds
* Makes animateTo handle unbounded ranges better
* Improve the name of _TweenSimulation

Fixes #2096
Fixes #2090
Fixes #2091
2016-02-29 16:56:25 -08:00
Hixie
ff8d60c8dd Point Stack users to CustomMultiChildLayout. 2016-02-29 14:28:20 -08:00
Ian Hickson
15e9b95d19 Merge pull request #2248 from Hixie/size-obs-10
SizeObserver crusade: The Last Test
2016-02-26 21:38:45 -08:00
Hixie
dfac9f9bd7 SizeObserver crusade: Remove SizeObserver 2016-02-26 18:55:34 -08:00
Hixie
d7bc93b7f0 SizeObserver crusade: The Last Test 2016-02-26 18:49:54 -08:00
Hixie
438f209088 SizeObserver crusade: ScrollableMixedWidgetListState 2016-02-26 18:40:05 -08:00
Ian Hickson
f6bd20ff64 Merge pull request #2241 from Hixie/size-obs-8
SizeObserver crusade: Mimcable
2016-02-26 16:57:17 -08:00
Hans Muller
0dd7285d4e Merge pull request #2239 from HansMuller/icon
Disabled IconButtons render correctly
2016-02-26 16:52:14 -08:00
Hixie
157ac75248 SizeObserver crusade: Mimcable 2016-02-26 16:48:46 -08:00
Adam Barth
fc564f0c44 Merge pull request #2238 from abarth/rm_animation_direction
Remove AnimationDirection
2016-02-26 16:46:53 -08:00
Ian Hickson
d998edd366 Merge pull request #2236 from Hixie/raw-gesture-detector-assert
Fix crash in Block.
2016-02-26 16:41:15 -08:00
Adam Barth
6f7ceff048 Merge pull request #2235 from abarth/animation_status
Elide fewer AnimationStatus callbacks
2016-02-26 16:36:04 -08:00
Hans Muller
faf55dda79 Disabled IconButtons render correctly 2016-02-26 16:33:05 -08:00
Adam Barth
3bbeee7b54 Remove AnimationDirection
This concept is now private to AnimationController. All the clients actually
want the AnimationStatus.
2016-02-26 16:32:42 -08:00
Adam Barth
25ab5555b7 Elide fewer AnimationStatus callbacks
Previously we would elide forward and reverse callbacks that canceled each
other out, which broke the expected state machine. Now we synchronously deliver
status callbacks when start an animation.

Fixes #1913
2016-02-26 16:29:14 -08:00
Hans Muller
8cb9ef70fa tabs 2016-02-26 16:03:05 -08:00
Hixie
fcb3071936 Fix crash in Block.
This assert was overzealous. You can update a RawGestureDetector any
time before the semantics phase, it doesn't have to only be during your
child's layout.

This is good because Block has additional PointerListeners between its
GestureDetector and its Viewport.
2016-02-26 15:56:40 -08:00