- 23 Sep, 2015 22 commits
-
-
Adam Barth authored
Port DragTarget to fn3
-
Adam Barth authored
-
Viktor Lidholt authored
Adds documentation and cleans up code
-
Viktor Lidholt authored
-
Ian Fischer authored
Fix sky_tool start/listen on iOS
-
Adam Barth authored
-
Chinmay Garde authored
-
Adam Barth authored
Port some widgets to fn3
-
Matt Perry authored
Replace C++ UpdateTask with an empty dart version, loaded as a snapshot
-
Adam Barth authored
-
Hixie authored
In this new world, Listener is just a wrapper around a node in the render tree that hooks directly into the event handling logic.
-
Hixie authored
This allows people to use localToGlobal and company.
-
Matt Perry authored
This adds a new placeholder dart package updater in sky/packages. This is built into a snapshot and compiled into the Sky engine binary using the same mechanism as the Dart isolate. I also added a SkyHeadless class, similar to SkyView, used for running Dart code without a view.
-
Viktor Lidholt authored
Removes artifacts from textured lines in sprites
-
Adam Barth authored
-
Adam Barth authored
-
Hixie authored
- Remove the unique objects used as slots since we decided 'null' was fine after all - Rename 'slot' to 'newSlot' when it's used as an argument to change the _slot field, to clarify which variable has the newer value - Remove the RenderObject registry since we'll do listeners a different way. This also removes handleEvent for the same reason. - Remove the TODOs for mount/unmount becoming didMount/didUnmount since the methods do in fact do the mounting/unmounting.
-
Hixie authored
In the old world, we had two ways to bind a Widget tree to a RenderObject node, one way for RenderView and one mostly untested way for other cases (it's only tested by the spinning_mixed.dart demo). For fn3, I made these the same code path. This patch also introduces GlobalKey, though the GlobalKey logic isn't hooked in yet. This is Hello World in the new world: ```dart import 'package:sky/src/fn3.dart'; void main() { runApp(new Text('Hello World!')); } ```
-
Adam Barth authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Adam Barth authored
-
- 22 Sep, 2015 18 commits
-
-
Adam Barth authored
Add TagWidget to fn3
-
Adam Barth authored
-
Hans Muller authored
-
Hans Muller authored
Currently, fling scrolls animate far too long after the display has effectively stopped moving. Use the ScrollSimulation's tolerance property to stop the scrolling roughly when the display stops changing.
-
Hixie authored
Fixes errors from #1285 and #1281.
-
Hans Muller authored
-
Hans Muller authored
-
Hans Muller authored
-
Hixie authored
- I extracted the BuildScheduler into a separate binding.dart file. - Various changes to expose private members that are needed by binding.dart. - Registering the render objects for event dispatch. - Convert the tests to use the new binding mechanism. This doesn't yet have a RenderView or event handling.
-
Adam Barth authored
We'll need tag nodes before finishing Flex and Stack.
-
Ian Hickson authored
Fix scrolling of Block.
-
Hixie authored
Since our build function depends on scrollBehavior.isScrollable, any time we update scrollBehavior we are implicitly updating our state. As such, we must do so during a setState() call, or else we won't rebuild and might not bother to listen to the scroll gestures. This probably broke when we made Block not listen to gestures if it wasn't overflowing.
-
Adam Barth authored
There are some TODOs in this file that I'll address in the next patch.
-
Adam Barth authored
More dartdocs for fn3, refactor buildDirtyElements
-
Jason Simmons authored
Ensure that EditableText always shows a cursor
-
Jason Simmons authored
Some cleanup of the Sky analyzer script
-
Hixie authored
The buildDirtyElements() method now enforces that we only build deeper nodes and never go back to build higher nodes during a frame.
-
Adam Barth authored
-