Jeff Brown
5d4e44fa92
Remove SurfaceAllocator because it is unused.
2015-09-23 16:48:14 -07:00
Ian Hickson
8ed473901b
Merge pull request #1311 from Hixie/fn3
...
fn3: Port HomogeneousViewport
2015-09-23 16:23:38 -07:00
Hixie
8ca9be2e89
fn3: Port HomogeneousViewport
2015-09-23 16:21:13 -07:00
Adam Barth
e804a0f4e8
Merge pull request #1308 from abarth/fn3_drag_target
...
Port DragTarget to fn3
2015-09-23 15:44:54 -07:00
Adam Barth
04aec907c1
Port DragTarget to fn3
2015-09-23 15:44:40 -07:00
Viktor Lidholt
36b22aa257
Merge pull request #1310 from vlidholt/master
...
Adds documentation and cleans up code
2015-09-23 15:38:31 -07:00
Viktor Lidholt
5ec0f9fac7
Adds documentation and cleans up code
2015-09-23 15:34:06 -07:00
Ian Fischer
c7682b5892
Merge pull request #1306 from chinmaygarde/master
...
Fix sky_tool start/listen on iOS
2015-09-23 13:53:18 -07:00
Adam Barth
6cb8f22308
Merge pull request #1307 from abarth/more_widgets
...
Port more widgets to fn3
2015-09-23 13:38:54 -07:00
Adam Barth
bbc2ad1a88
Port more widgets to fn3
2015-09-23 13:36:18 -07:00
Chinmay Garde
dac371beb0
Fix sky_tool start/listen on iOS
2015-09-23 12:54:29 -07:00
Chinmay Garde
310a4acb33
Merge pull request #1305 from chinmaygarde/master
...
Guard against warnings resulting from non-nullable annotations in sky_window on Mac
2015-09-23 12:54:08 -07:00
Adam Barth
ceb93a02ee
Merge pull request #1304 from abarth/simple_widgets
...
Port some widgets to fn3
2015-09-23 12:34:55 -07:00
Chinmay Garde
fa8b0ce1a1
Guard against warnings resulting non-nullable annotations in sky_window on Mac
2015-09-23 12:16:56 -07:00
Matt Perry
3ba3f43ce4
Merge pull request #1288 from mpcomplete/dart
...
Replace C++ UpdateTask with an empty dart version, loaded as a snapshot
2015-09-23 14:33:12 -04:00
Adam Barth
867054ab9e
Port some widgets to fn3
2015-09-23 11:26:55 -07:00
Ian Hickson
b6678f219a
Merge pull request #1303 from Hixie/fn3
...
fn3: Listener
2015-09-23 11:25:24 -07:00
Hixie
d44555bc18
fn3: Listener
...
In this new world, Listener is just a wrapper around a node in the
render tree that hooks directly into the event handling logic.
2015-09-23 11:22:51 -07:00
Ian Hickson
f6973af099
Merge pull request #1302 from Hixie/coordinates
...
Expose _descendantRenderObject as 'renderer'
2015-09-23 11:13:53 -07:00
Hixie
77510575c1
Expose _descendantRenderObject as 'renderer'
...
This allows people to use localToGlobal and company.
2015-09-23 11:13:45 -07:00
Matt Perry
81b2b81b1d
Replace C++ UpdateTask with an empty dart version, loaded as a snapshot.
...
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.
2015-09-23 14:09:38 -04:00
Viktor Lidholt
45fd5cb33d
Merge pull request #1299 from vlidholt/master
...
Removes artifacts from textured lines in sprites
2015-09-23 11:07:42 -07:00
Adam Barth
087aa1ed4b
Merge pull request #1301 from abarth/test_parent_data
...
Add tests for ParentData
2015-09-23 11:00:20 -07:00
Adam Barth
800336cba6
Add tests for ParentData
2015-09-23 10:59:49 -07:00
Adam Barth
e9b9a3b3b6
Rev pub package
2015-09-23 10:38:25 -07:00
Adam Barth
2e8df67cf2
Rev pub packages
2015-09-23 10:36:09 -07:00
Ian Hickson
4edb01a70f
Merge pull request #1300 from Hixie/fn3
...
fn3: Minor cleanup
2015-09-23 09:38:46 -07:00
Hixie
e796e498eb
fn3: Minor cleanup
...
- 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.
2015-09-23 09:24:13 -07:00
Ian Hickson
2eba713c07
Merge pull request #1297 from Hixie/fn3
...
fn3: Binding to RenderView
2015-09-23 09:12:42 -07:00
Hixie
e1afb3023f
fn3: Binding to RenderView
...
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!'));
}
```
2015-09-23 09:12:01 -07:00
Adam Barth
d26e9f8ebb
Merge pull request #1298 from abarth/test_multichild
...
Add tests for MultiChildRenderWidget
2015-09-23 08:56:36 -07:00
Adam Barth
06388ba5ff
Add tests for MultiChildRenderWidget
2015-09-23 08:52:15 -07:00
Viktor Lidholt
91944c420b
Removes some of the artifacts from textured lines
2015-09-23 08:33:48 -07:00
Viktor Lidholt
4112f5385c
Adds method for calculating intersection between two lines
2015-09-23 08:31:04 -07:00
Adam Barth
dcd9fe53e8
Merge pull request #1296 from abarth/fn3_multichild
...
Add support for multichild widgets to fn3
2015-09-22 17:52:58 -07:00
Adam Barth
28c4656083
Add support for multichild widgets to fn3
2015-09-22 17:52:40 -07:00
Chinmay Garde
1ed5a16e05
Merge pull request #1293 from chinmaygarde/master
...
Fix leak of the picture after tracing it to a file
2015-09-22 16:15:02 -07:00
Chinmay Garde
ae90923593
Use wtf/RefPtr instead of manually un-reffing the SkPicture reference in PaintContext
2015-09-22 16:14:47 -07:00
Adam Barth
b407d116fd
Merge pull request #1291 from abarth/fn2_tag_widgets
...
Add TagWidget to fn3
2015-09-22 16:14:36 -07:00
Chinmay Garde
fedda1d8df
Fix leak of the picture after tracing it to a file
2015-09-22 16:08:39 -07:00
Adam Barth
b1736518e1
Add ParentDataWidget and InheritedWidget to fn3
2015-09-22 16:07:27 -07:00
Hans Muller
211528258a
Merge pull request #1292 from HansMuller/bump_newton_version
...
bumped newton to version 0.1.3
2015-09-22 16:04:05 -07:00
Hans Muller
54553997ad
bumped newton to version 0.1.3
2015-09-22 16:00:21 -07:00
Hans Muller
60e9aa5135
Merge pull request #1286 from HansMuller/limit_scrolling_animation
...
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.
2015-09-22 15:48:24 -07:00
Ian Hickson
bba36bf0a6
Merge pull request #1290 from Hixie/temp
...
fn3: Fix warnings and build errors
2015-09-22 15:33:42 -07:00
Hixie
724359500a
Fix warnings and build errors
...
Fixes errors from #1285 and #1281 .
2015-09-22 15:32:41 -07:00
Ian Hickson
7b2c7b33bb
Merge pull request #1285 from Hixie/fn3
...
fn3: Add a binding for fn3 and sky.
2015-09-22 15:27:11 -07:00
Hans Muller
00c87f0a67
Set simulation tolerance field
2015-09-22 15:08:13 -07:00
Chinmay Garde
34b120c284
Merge pull request #1289 from chinmaygarde/master
...
Generate unique SkPicture trace files each time a trace is requested
2015-09-22 15:05:56 -07:00
Chinmay Garde
70c98ff994
Generate unique SkPicture trace files each time a trace is requested
2015-09-22 15:00:36 -07:00