20087 Commits

Author SHA1 Message Date
Adam Barth
2ab541e155 Delay unmounting elements until the end of the frame
This patch prepares us to move these elements around in the tree.
2015-10-01 14:28:36 -07:00
Ian Hickson
c37b550624 Merge pull request #1442 from Hixie/trunk-fixes
Stocks app used RouteState, now renamed StateRoute
2015-10-01 14:15:28 -07:00
Hixie
7ff632d140 Stocks app used RouteState, now renamed StateRoute 2015-10-01 13:31:18 -07:00
Ian Hickson
df0c4466a6 Merge pull request #1440 from Hixie/createState
Assert that the widget is the T in State<T>
2015-10-01 13:25:22 -07:00
Collin Jackson
ef32f71b80 Merge pull request #1434 from collinjackson/decode_lists
Support for decoding images in lists
2015-10-01 13:24:08 -07:00
Ian Hickson
4c8ebf7405 Merge pull request #1439 from Hixie/heroes1
Heroes: Pass next Performance to route builders
2015-10-01 13:22:56 -07:00
Ian Hickson
b1899f7acd Merge pull request #1438 from Hixie/state_route
Rename RouteState to StateRoute
2015-10-01 13:22:51 -07:00
Ian Hickson
d51d8197a4 Merge pull request #1437 from Hixie/mixed_viewport_demo
Remove the mixed_viewport demo
2015-10-01 13:22:45 -07:00
Ian Hickson
e53b1ae5b9 Merge pull request #1436 from Hixie/overlay
Port overlay_geometry.dart demo.
2015-10-01 13:22:41 -07:00
Hixie
96b0efddd0 Assert that the widget is the T in State<T>
Mostly because we can, but hopefully it'll catch someone who
accidentally copypasted their createState method.
2015-10-01 13:20:47 -07:00
Collin Jackson
8af98ef93c Fix spinning_image URL to one that works 2015-10-01 13:16:53 -07:00
Collin Jackson
9f7e7c5a3c Use PrivateDart for ImageDecoder constructors 2015-10-01 13:16:30 -07:00
Keisuke Kuroyanagi
7c8ac67a90 Merge "Refactoring: Introduce helper class to iterate runs." 2015-10-01 20:11:50 +00:00
Hixie
94be691192 Heroes: Pass next Performance to route builders
This is step 1 in making it possible to have hero transitions between
routes. To make it possible for a route to have an "exit" animation when
a new route has been pushed on top of it, we provide the next route's
AnimationPerformance to the build function. It's null if there is no
next route or if the next route has no performance.
2015-10-01 13:11:01 -07:00
Hixie
2fe780cf0e Rename RouteState to StateRoute
...for consistency with the other Route subclasses:
```
  dialog.dart:      class DialogRoute extends Route
  drag_target.dart: class DragRoute extends Route
  navigator.dart:   class PageRoute extends Route
  navigator.dart:   class StateRoute extends Route
  popup_menu.dart:  class MenuRoute extends Route
```
2015-10-01 12:57:20 -07:00
Hixie
7f6897a190 Remove the mixed_viewport demo
It's redundant with card_collection.dart, which does similar things but
much better.
2015-10-01 12:53:34 -07:00
Hixie
1c24af030c Port overlay_geometry.dart demo.
This removes GlobalKey.currentElement in favour of GlobalKey.currentContext.
2015-10-01 12:50:49 -07:00
Chinmay Garde
fef54063ce Merge pull request #1420 from johnmccutchan/roll_dart
Roll the Dart runtime forward
2015-10-01 11:14:55 -07:00
Collin Jackson
3943fa1da4 Support for decoding images in lists 2015-10-01 11:06:11 -07:00
Adam Barth
ca95d22d91 Merge pull request #1433 from abarth/fake_async
Integrate WidgetTester with FakeAsync
2015-10-01 11:02:53 -07:00
Adam Barth
1110dc28eb Integrate WidgetTester with FakeAsync
Fixes #1084
2015-10-01 10:56:58 -07:00
Adam Barth
2df5d1ada7 Update playfair to a version that supports fn3 2015-10-01 09:54:31 -07:00
Adam Barth
5ca37e1f0b Merge pull request #1432 from abarth/promote_fn3
Make fn3 the default widget framework
2015-10-01 09:51:20 -07:00
Adam Barth
feb70684f5 Make fn3 the default widget framework 2015-10-01 09:48:35 -07:00
Adam Barth
d7e3388b13 Remove unused imports 2015-10-01 09:30:31 -07:00
Ian Hickson
677d89775a Merge pull request #1426 from flutter/boxconstraints
BoxConstraints trivial cleanup
2015-10-01 09:29:29 -07:00
Ian Hickson
b9fb19af3e Merge pull request #1427 from flutter/basic
Keep the two ConstrainedBox classes together
2015-10-01 09:29:25 -07:00
Adam Barth
bbad5143c5 Merge pull request #1431 from abarth/fn3_sprites
Port SkySprites and clients to fn3
2015-10-01 09:28:10 -07:00
Adam Barth
9d63bb1381 Port SkySprites and clients to fn3 2015-10-01 09:26:19 -07:00
Matt Perry
a7d4bee40e Merge pull request #1419 from mpcomplete/clean.activity.3
Remove old methods from Activity mojom interface after they were moved.
2015-10-01 12:11:12 -04:00
Matt Perry
cfa5b8191f Remove old methods from Activity mojom interface after they were moved.
This is part 3 of my 3 part change to add the udpater sky package.
2015-10-01 12:10:54 -04:00
Hans Muller
39cacc8a8b Merge pull request #1429 from HansMuller/add_clamped_simulation
Add clamped simulation
2015-10-01 09:08:42 -07:00
Adam Barth
6441879d1a Merge pull request #1425 from abarth/port_fitness
Port demo_launcher and fitness to fn3
2015-10-01 09:07:29 -07:00
Adam Barth
c5e8833b4e Port demo_launcher and fitness to fn3 2015-10-01 09:07:17 -07:00
Hans Muller
ad6aec767a Added missing clamped_simulation.dart file 2015-10-01 09:06:08 -07:00
Adam Barth
63766316c6 Merge pull request #1416 from mdakin/minedigger2
Fix bounds checking error I introduced in previour cl, Address style …
2015-10-01 08:30:36 -07:00
Adam Barth
c420df0b76 Merge pull request #1424 from abarth/consolidate_tests
Consolidate widget tests
2015-10-01 08:30:20 -07:00
Collin Jackson
387ddf16b7 Merge pull request #1220 from collinjackson/scaling_focus
Ensure that the item under the focal point stays in the same place despite zooming
2015-10-01 07:27:54 -07:00
John McCutchan
a79919e7aa Roll DEPS 2015-10-01 07:23:04 -07:00
Raph Levien
741694870a Merge "Explicitly set utf-8 encoding for hyb file verification" 2015-10-01 06:36:47 +00:00
Raph Levien
138b93f094 Explicitly set utf-8 encoding for hyb file verification
Not all platforms default to UTF-8 encoding, so we set it explicitly.
This patch should fix build breakages resulting from failed verification
of binary hyb files for hyphenation patterns.

Change-Id: I65ac4536d3436586c2633e2b57554fc6ff16d3a8
2015-09-30 23:26:54 -07:00
Ian Hickson
88a0994139 Keep the two ConstrainedBox classes together
@abarth
2015-09-30 22:25:54 -07:00
Ian Hickson
9559ebd711 BoxConstraints trivial cleanup
TBR @abarth
2015-09-30 22:22:37 -07:00
Raph Levien
6ac8ca4ce7 Merge "Binary format for hyphenation patterns" 2015-10-01 04:53:44 +00:00
Raph Levien
f0be43de02 Binary format for hyphenation patterns
In the current state, hyphenation in all languages than Sanskrit seems
to work (case-folding edge cases). Thus, we just disable Sanskrit.
Packed tries are implemented, but not the finite state machine
(space/speed tradeoff).

This commit contains a throw-away test app, which runs on the host.
I think I want to replace it with unit tests, but I'm including it in
the CL because it's useful during development.

Bug: 21562869
Bug: 21826930
Bug: 23317038
Bug: 23317904

Change-Id: I7479a565a4a062fa319651c2c14c0fa18c5ceaea
2015-09-30 21:37:31 -07:00
Adam Barth
db8b4ae641 Consolidate widget tests
Now that we've ported all the widget tests to fn3, we don't need a separate fn3
directory.
2015-09-30 18:58:17 -07:00
Chinmay Garde
d53475832f Merge pull request #1423 from chinmaygarde/master
Allow visualizing engine and rasterizer statistics simultaneously
2015-09-30 17:45:12 -07:00
Chinmay Garde
49807c0da9 Fix off-by-one error in calculation of the last lap in instrumentation::Stopwatch 2015-09-30 17:30:43 -07:00
Chinmay Garde
418ed6f689 Allow visualizing engine and rasterizer statistics simultaneously 2015-09-30 17:18:37 -07:00
Hans Muller
a1ead06967 Merge pull request #1422 from HansMuller/clamp_snap_simulation
Clamp the snapped scroll simulation; Scrollable settle() and fling() return a Future

Reduce the time dependency in the snap scrolling unit tests by clamping the FrictionSimulation that drives the scrollOffset. No more overshooting the final scroll position if the FakeAsync runs too long.

Added ClampingSimulation: just wraps a simulation and optionally clamps its x() and dx() values.

The Scrollable fling() and settle() methods now return a Future. Added a unit test for this.
2015-09-30 16:57:54 -07:00