Hans Muller
568fa07e17
PageStorage storage identifier should include the context widgets key
2016-01-14 09:35:39 -08:00
Devon Carew
9aa39192a9
add a test for flutter_sprites
2016-01-14 09:13:44 -08:00
Devon Carew
2508d34de1
Merge pull request #1217 from devoncarew/remove_sound_manager
...
Remove flutter_sprites sound_manager.dart
2016-01-14 09:13:06 -08:00
Devon Carew
f6518a6254
remove the flutter_sprites/lib/src/sound_manager.dart library
2016-01-14 09:07:25 -08:00
Ian Hickson
aa87ab6f02
Merge pull request #1238 from Hixie/material-tweaks
...
Tweaks near Material, BoxDecoration, implicit animations.
2016-01-13 21:01:32 -08:00
Ian Hickson
a54ee77b88
Tweaks near Material, BoxDecoration, implicit animations.
...
Some more asserts and toString info.
Reorder some code to group lerp-related functions.
2016-01-13 18:53:56 -08:00
Seth Ladd
4507a7fa7b
Merge pull request #1228 from sethladd/moarhelptext
...
clarify that start defaults to checked
2016-01-13 16:35:25 -08:00
Adam Barth
742567e374
Rev engine
2016-01-13 15:58:48 -08:00
Adam Barth
15eeb7f57d
Merge pull request #1235 from abarth/handle_degenerate_transforms
...
Handle degenerate transforms better
2016-01-13 11:21:06 -08:00
Adam Barth
192c6e24c3
Handle degenerate transforms better
...
No you can't hit things inside degenerate transforms. Tranforming from global
coordaintes to degenerate local coordinates gives you Point.origin. Also,
upgrade vector_math to get a better invert constructor.
Fixes #1161
Fixes #1224
2016-01-13 11:14:46 -08:00
Adam Barth
193ed22b63
Merge pull request #1197 from abarth/rm_clamp
...
Remove clamp() in favour of double.clamp()
2016-01-13 11:01:41 -08:00
Seth Ladd
59fde0b45c
clarify that start defaults to checked
2016-01-13 08:53:46 -08:00
Devon Carew
babfb0ac4f
Merge pull request #1215 from devoncarew/dev_analysis
...
fixes to flutter analyze for the latest dev sdk
2016-01-12 20:18:41 -08:00
Devon Carew
1ef9a026d9
Merge pull request #1216 from devoncarew/remove_chromium_logs
...
don't listen for chromium messages to the adb log
2016-01-12 20:18:06 -08:00
Devon Carew
4ad838f65b
don't listen for chromium messages to the adb log
2016-01-12 19:09:12 -08:00
Devon Carew
0f55ebe503
fixes to flutter analyze for the latest dev sdk
2016-01-12 19:04:19 -08:00
Eric Seidel
9257682b01
Remove stray period added from web editor.
2016-01-12 17:09:15 -08:00
Eric Seidel
a6e8fccb90
Correct display error for flutter analyze
timing
...
Fixes #1213 .
2016-01-12 17:08:38 -08:00
Adam Barth
d444ae7dc8
Update engine
...
Also, update callers of deprecated methods.
2016-01-12 12:24:07 -08:00
Hans Muller
ed121703a5
Merge pull request #1190 from HansMuller/fab_switch
...
Floating Action Button transitions
When the scaffold's floating action button (FAB) is replaced the old FAB shrinks to zero and then the new one grows to its full size. When a FAB is shown, its child spins into place.
This is all intended to be a good approximation of the "Lateral Screens" section of the material design spec.
The fab.dart example is included as stop gap until the gallery and other demos have been updated.
2016-01-12 11:50:47 -08:00
Hans Muller
cafea7f51f
Floating Action Button transitions
2016-01-12 11:42:20 -08:00
Seth Ladd
e8e6544606
Merge pull request #1207 from sethladd/new-starter-app
...
starter app now has a button that does something
2016-01-12 10:56:42 -08:00
Seth Ladd
42d90c00cc
starter app now has a button that does something
2016-01-12 10:28:40 -08:00
Adam Barth
d04e2221f1
Merge pull request #1204 from abarth/fix_time_picker
...
Fix time picker
2016-01-12 10:12:46 -08:00
Adam Barth
84957e5be8
Fix time picker
...
We were painting the contents of the RRect clip at the wrong offset. This patch
makes RRect match Rect and Path clips.
Fixes #1194
2016-01-12 10:07:09 -08:00
Eric Seidel
108eb749dc
Merge pull request #1203 from eseidelGoogle/analyze_time
...
Teach analyze how to print out the total time spent
2016-01-12 10:00:22 -08:00
Eric Seidel
001c107858
Teach analyze how to print out the total time spent
...
Makes it more obvious that flutter analyze takes a long time.
@Hixie
2016-01-12 09:20:36 -08:00
Adam Barth
8e5dd7a385
Remove clamp() in favour of double.clamp()
...
Fixes #961
2016-01-12 09:19:33 -08:00
Ian Hickson
3e5264a21a
Merge pull request #1199 from Hixie/sector-demo-hit-test-asserts
...
Provide a safe time to update a WidgetToRenderBoxAdapter
2016-01-12 08:58:58 -08:00
Ian Hickson
867bbcc9bd
Provide a safe time to update a WidgetToRenderBoxAdapter
...
If you change the RenderObject tree between frames, you'll assert if
you subsequently hit test. So e.g. if you get two button presses back
to back, and you mutate the tree synchronously in response to the
first one, the second will assert.
This adds an onBuild callback to WidgetToRenderBoxAdapter to make it
easier to do the updates at the right time, i.e., during widget build.
It'll be called whenever you rebuild the WidgetToRenderBoxAdapter
itself, so all you have to do to use it is call setState() on whoever
is building the WidgetToRenderBoxAdapter.
2016-01-11 23:14:37 -08:00
Adam Barth
f10f79f8fd
Merge pull request #1196 from abarth/rm_layer_bounds
...
Stop passing bogus bounds to SceneBuilder
2016-01-11 22:29:09 -08:00
Ian Hickson
e20ec39b81
Merge pull request #1195 from Hixie/raised-button
...
Fixed the RaisedButton shadow issue
2016-01-11 22:23:23 -08:00
Adam Barth
d2c22a490d
Stop passing bogus bounds to SceneBuilder
...
We no longer need to pass bounds to SceneBuilder. Instead, the
compositor computes these bounds itself from the RTrees in the
SkPictures.
2016-01-11 22:18:43 -08:00
Adam Barth
a2f7bb7370
Merge pull request #1192 from abarth/composite_shader_mask
...
ShaderMask needs to play nicely with compositing
2016-01-11 22:06:37 -08:00
Ian Hickson
ac616df0bd
Fixed the RaisedButton shadow issue
...
The onHighlightChanged callback was being given "true" every time
instead of the actual value.
2016-01-11 22:06:29 -08:00
Adam Barth
82bb3bd40d
ShaderMask needs to play nicely with compositing
...
This patch adds ShaderLayer and makes ShaderMask use it.
Fixes #1155
2016-01-11 21:57:54 -08:00
Adam Barth
875da1f53f
Update engine
2016-01-11 21:57:34 -08:00
Ian Hickson
8f894f3757
Merge pull request #1140 from Hixie/concat
...
Transition callers from 'concat' to 'transform'
2016-01-11 20:05:07 -08:00
Adam Barth
fafec81076
Merge pull request #1193 from afandria/patch-1
...
Add reference to "mojo:media_service" in sound.dart
2016-01-11 19:20:53 -08:00
Alex Fandrianto
9bf16fbd6a
Also update piano.dart
2016-01-11 18:53:32 -08:00
Alex Fandrianto
ddb060d685
Add reference to "mojo:media_service" in sound.dart
...
Related: https://github.com/domokit/mojo/issues/614
Flutter can play sounds using this package. However, when Mojo Shell is running Flutter, it lacks the necessary media service.
This patch creates a hook to the mojo binary `media_service.mojo`. If Mojo Shell is built with this media service, then it will be able to play sounds when running Flutter.
2016-01-11 18:13:50 -08:00
Adam Barth
7fb70ecc23
Merge pull request #1191 from abarth/always_composting
...
RenderPerformanceOverlay needs alwaysNeedsCompositing
2016-01-11 14:55:48 -08:00
Adam Barth
00359a4f96
RenderPerformanceOverlay needs alwaysNeedsCompositing
...
The performance overlay is always drawn using the compositor. We should tell
the rest of the system that it's going to make a composited layer.
Fixes #1177
2016-01-11 14:23:49 -08:00
Adam Barth
41b8c988f2
Merge pull request #1189 from abarth/named_children
...
Use a named argument for Widget children
2016-01-11 13:25:47 -08:00
Adam Barth
056766414c
Use a named argument for Widget children
...
Previously we used a positional argument for widgets that had multiple
children. Now we use a named argument that defaults to an empty list.
Fixes #241
2016-01-11 13:17:09 -08:00
Ian Hickson
26db7a2d95
Merge pull request #1188 from flutter/rev-engine
...
rev engine
2016-01-11 12:21:37 -08:00
Ian Hickson
d869c01035
Merge pull request #1181 from Hixie/stats-box-rename
...
Rename StatisticsOverlay to PerformanceOverlay.
2016-01-11 12:21:32 -08:00
Ian Hickson
4f20b07492
rev engine
2016-01-11 12:10:15 -08:00
Adam Barth
b6f3b29887
Merge pull request #1187 from abarth/axis
...
Rename ScrollDirection to Axis
2016-01-11 11:58:08 -08:00
Adam Barth
b2cef9f2b2
Rename ScrollDirection to Axis
...
We use the ScrollDirection for more than just scrolling.
Fixes #151
2016-01-11 11:28:42 -08:00