- 04 Nov, 2015 2 commits
-
-
Adam Barth authored
Previously, we'd leave the old values in the parent data if the types matches, but not all render objects would reset these values during layout. For example, RenderProxyBox doesn't set the position field because it doesn't read the position field. However, leaving the old data there violates the invariants of the box protocol and can cause trouble (e.g., localToGlobal giving the wrong result). Fixes #1939
-
Hixie authored
Document the Gesture Detector constants. Remove kEdgeSlop since it's obsolete on Android. Add a test that verifies that when the first tap is canceled, the second tap can become the first tap of a subsequent two-tap sequence.
-
- 03 Nov, 2015 6 commits
-
-
Adam Barth authored
Previously, we passed widgets up the hierarchy to display them in the overlay, but that breaks the change propagation logic because those widgets won't get rebuilt. Now we pass WidgetBuilders instead, which can be rebuilt when the overlay rebuilds. Fixes #1913
-
Matt Perry authored
Also cleaned up the flx code a bit. Replaced custom KeyPair class with cipher's AsymmetricKeyPair.
-
Hans Muller authored
-
Hans Muller authored
-
Hans Muller authored
-
Hixie authored
-
- 02 Nov, 2015 3 commits
-
-
Hans Muller authored
CustomMultiChildLayout delegates to a MultiChildLayoutDelegate. Widget children are specified by their index in the list of children.
-
Adam Barth authored
-
Kris Giesing authored
-
- 31 Oct, 2015 1 commit
-
-
Adam Barth authored
We were trying to do a hero animation from a page to itself, which doesn't make any sense. Now we only render the "to" page offstage if it is different from the "from" page and if its performance isn't already complete.
-
- 30 Oct, 2015 2 commits
-
-
Hixie authored
This test currently crashes the engine. Because of a bug in the test harness, it then causes the tests to hang. This disables the test for now, so that we can get test coverage again.
-
Adam Barth authored
-
- 29 Oct, 2015 2 commits
-
-
Hixie authored
sky_engine is now at 0.0.45 sky_services is now at 0.0.45 flx is now at 0.0.4 flutter is now at 0.0.15 flutter_sprites is now at 0.0.12
-
Adam Barth authored
This patch combines embedder.dart and shell.dart into one thing. We should now handle a bunch of error cases better. * embedder.connectToApplication has moved to shell.connectToApplication, matching the rest of the mojo universe. * embedder.connecttoService has moved to shell.connnectToService (and merged with shell.requestService). * shell.requestService is now shell.connectToService, matching the rest of the mojo universe. * serviceRegistry has moved from embedder.serviceRegistry to a top-level getter. Fixes #1803
-
- 28 Oct, 2015 4 commits
-
-
Hixie authored
sky_engine is now at 0.0.44 sky_services is now at 0.0.44 flx is now at 0.0.3 flutter is now at 0.0.14 flutter_sprites is now at 0.0.11
-
Matt Perry authored
-
Hixie authored
MixedViewport didn't use the building:true flag when locking itself, so when it caused a rebuild of its children, we assumed that nobody was allowed to mark things dirty below the list, and things crashed when Inherited people did in fact rebuild. Also: - default offset for MixedViewport - don't bother rebuilding if the underlying RenderObject is going to rebuild anyway for some reason - better docs for the "items must have keys" assert - keep the FlipComponent stuff together in test_widgets.dart
-
Adam Barth authored
-
- 27 Oct, 2015 4 commits
-
-
Kris Giesing authored
-
Adam Barth authored
Fixes #1807
-
Ian Hickson authored
- Change RouteArguments to pass the route's BuildContext rather than the Navigator. This caused the bulk of the examples/ and .../test/ changes (those are mostly mechanical changes). It also meant I could simplify Navigator.of(). - Make initState() actually get called when the State's Element is in the tree, so you can use Foo.of() functions there. Added a test for this also. - Provide a RouteWidget so that routes have a position in the Widget tree. The bulk of the route logic is still in a longer-lived Route object for now. - Make Route.setState() only rebuild the actual route, not the whole navigator. - Provided a Route.of(). - Provided a Route.writeState / Route.readState API that tries to identify the clients by their runtimeType, their key, and their ancestors keys, up to the nearest ancestor with a GlobalKey. - Made scrollables hook into this API to track state. Added a test to make sure this works. - Fix the debug output of GestureDetector and the hashCode of MixedViewport. - Fixed ScrollableWidgetListState<T> to handle infinite lists.
-
Adam Barth authored
A CustomOneChildLayout is a widget that lets you perform a custom layout in the simplified setting of sizing and positioning a single child.
-
- 26 Oct, 2015 3 commits
-
-
Kris Giesing authored
Don't use a timeout to cancel tap tracking. Track only one primary pointer and ignore non-primary pointers. Update tests to reflect desired behaviors. Fixes #1779, #1780, #1781.
-
Jason Simmons authored
-
Hixie authored
This concludes the fn3 port!
-
- 23 Oct, 2015 3 commits
-
-
Jason Simmons authored
If the text is empty, the IME may call deleteSurroundingText(1, 0) if the user hits the delete key. The selection should remain at position 0 if this happens.
-
Adam Barth authored
Also, delete all references to DOM APIs.
-
Kris Giesing authored
-
- 22 Oct, 2015 3 commits
-
-
Hans Muller authored
-
Kris Giesing authored
-
Adam Barth authored
Now you don't need to pass the navigator around everywhere.
-
- 20 Oct, 2015 5 commits
-
-
Kris Giesing authored
-
Hixie authored
Also, give RenderViewport a default offset.
-
Hixie authored
I accidentally lost this when extracting RenderOverflowBox from RenderProxyBox.
-
Adam Barth authored
-
Adam Barth authored
The style we use for callbacks in widgets is "onFoo". These classes were using an order naming convention and just called their callbacks "callback".
-
- 19 Oct, 2015 2 commits
-
-
Hixie authored
-
Hixie authored
Provide a way to schedule a callback for immediately after the current frame has been sent to the GPU thread. This is useful for times where you want to immediately schedule yourself for another build or layout because, for instance, you just displayed frame zero of an animation and you want to use the metrics from that layout to set up the actual animation to begin immediately, such that the very next frame is frame 1.
-