1112 Commits

Author SHA1 Message Date
Collin Jackson
d547103f6a Move ClipRRect logic from Card to Material (fixes rounded corners on top of date picker dialog) 2015-08-26 11:17:49 -07:00
Adam Barth
1a15cb2d27 Merge pull request #854 from abarth/sector_broken
Sector demo is broken because of compositor changes
2015-08-26 11:02:51 -07:00
Adam Barth
2e2fa94e1b Sector demo is broken because of compositor changes
We need to implement visitChildren for the RenderObjects in the sector demo.
Also, add a test.

Fixes #790
2015-08-26 10:58:30 -07:00
Viktor Lidholt
51f3fdcb1f Merge pull request #851 from vlidholt/master
Fixes issues in sprite constraints
2015-08-26 10:42:20 -07:00
Collin Jackson
a1bafaa317 Merge pull request #838 from collinjackson/improve_date_picker
Add date picker to widgets library and teach fitness app to use it
2015-08-26 10:28:27 -07:00
Viktor Lidholt
1bb647e67f Splits up demo game into multiple files for better readability 2015-08-26 10:22:09 -07:00
Viktor Lidholt
e2af762e76 Updates demo game to work with new constraints api 2015-08-26 10:07:59 -07:00
Viktor Lidholt
065673711e Switches to named arguments in sprite constraints 2015-08-26 10:07:24 -07:00
Viktor Lidholt
b244a082ad Fixes issue with inheritance in sprite constraints 2015-08-26 09:54:32 -07:00
Hixie
ce28a7176e Replace Flex to Row and Column in tests and examples.
This still leaves Flex and FlexDirection available. At some point once
people have transitioned to Row/Column we should rename Flex to _Flex
and stop reexporting FlexDirection from basic.dart.
2015-08-26 09:05:14 -07:00
Adam Barth
7c3e878df3 Rev pub package 2015-08-26 08:59:09 -07:00
Adam Barth
31a1886a5a Merge pull request #842 from abarth/test_mimic
Add a basic test for Mimic tree movement
2015-08-25 17:26:09 -07:00
Adam Barth
240e807f84 Add a basic test for Mimic tree movement 2015-08-25 16:50:44 -07:00
Collin Jackson
f164e560c3 Add date picker to widgets library and teach fitness app to use it
Also, add an example for the date picker
2015-08-25 16:41:11 -07:00
Ian Fischer
46e3c47f6c Merge pull request #840 from iansf/change_fitness_app_id
Change Fitness app id
2015-08-25 16:40:10 -07:00
Viktor Lidholt
27d2928dc0 Adds license file and required fields to pubspec 2015-08-25 16:35:05 -07:00
Ian Fischer
36ef15325e Change Fitness bundle id to be compatible with signing with Google’s keys. 2015-08-25 16:24:28 -07:00
Collin Jackson
ee5f1146c4 Fix typo in syncRenderObject arguments 2015-08-25 16:18:21 -07:00
Viktor Lidholt
f48b25aaf7 Updates skysprites readme 2015-08-25 16:14:58 -07:00
Adam Barth
fde6b0a4b6 Add a test for #833
This test just exercises Align to make sure it can sync.
2015-08-25 16:13:33 -07:00
Viktor Lidholt
32aa4628e1 Merge pull request #835 from vlidholt/master
Moves sky sprites to its own package
2015-08-25 16:12:30 -07:00
Viktor Lidholt
ebeb8e2d42 Moves sky sprites to its own package 2015-08-25 16:08:46 -07:00
Hixie
556ebb93ff Fix signature of Align.syncRenderObject() 2015-08-25 16:04:01 -07:00
Adam Barth
8f95703afa Rev pub package 2015-08-25 15:49:27 -07:00
Adam Barth
0cbd190b3d Merge pull request #832 from Hixie/positioner
Introduce Align widget for aligning children.
2015-08-25 15:37:43 -07:00
Adam Barth
7f0f22abe9 Merge pull request #831 from abarth/track_mimic
Properly track mimics that move in the tree
2015-08-25 15:36:59 -07:00
Hixie
4a2fb5d3e8 Introduce Align widget for aligning children. 2015-08-25 15:35:20 -07:00
Adam Barth
15e8f741fb Properly track mimics that move in the tree
We weren't telling the new mimicable that we wanted to start mimicing it.
2015-08-25 15:33:52 -07:00
Viktor Lidholt
a2286ee7a1 Merge pull request #826 from vlidholt/master
Updates to demo game
2015-08-25 15:33:49 -07:00
Viktor Lidholt
59817111f0 Fixes nits 2015-08-25 15:30:45 -07:00
Eric Seidel
1813170a23 Roll APK versions in preparation for releases
@abarth
2015-08-25 15:12:38 -07:00
Adam Barth
4923f0cd08 Merge pull request #813 from abarth/device_pixel_ratio
Don't freeze devicePixelRatio at startup
2015-08-25 14:55:01 -07:00
Viktor Lidholt
dec2689c07 Adds swarms of enemies to demo game 2015-08-25 14:49:54 -07:00
Viktor Lidholt
dcd17aefd6 Adds constraint for rotating a node towards another node 2015-08-25 14:47:56 -07:00
Viktor Lidholt
dc3159316e Makes the spline tension editable in sprites 2015-08-25 14:45:44 -07:00
Adam Barth
d7ba514546 Fix global key error while using fitness app
We were making local copies of the listener maps, but we were actually
iterating the underlying sets. Now we make local copies of the sets.

Fixes #803
2015-08-25 14:45:18 -07:00
Adam Barth
1883d06aef Fix build
I removed these functions by mistake in my previous patch.
2015-08-25 14:10:32 -07:00
Adam Barth
a733e91b7b Don't freeze devicePixelRatio at startup
When we start, we might not have initialized the devicePixelRatio value. The
value will be initialized by the time we paint, so now we update the value
every time we paint.
2015-08-25 14:06:53 -07:00
Adam Barth
10fe17a994 Merge pull request #809 from abarth/scene_builder
Use sky.SceneBuilder to upload Layer tree to C++
2015-08-25 13:59:52 -07:00
Adam Barth
0e4ac8c12b Use sky.SceneBuilder to upload Layer tree to C++
We still use SkPicture as our rasterization backend, but now we're uploading
our layer tree to C++. A future patch will push the layer tree deeper into the
system and we'll eventually switch backends.
2015-08-25 13:41:37 -07:00
Eric Seidel
1c9837630d Make 'save failed' snackbar show up
SnackBar's crash if you fail to provide a showing bool.

I tried to edit it in the framework, but this seemed easier for now.

The snackbar still shows behind the keyboard unfortunately.
https://github.com/domokit/sky_engine/issues/810

@collinjackson
2015-08-25 13:39:27 -07:00
Eric Seidel
19f62a35a9 Move Fitness.app to the latest playfair
@collinjackson
2015-08-25 13:32:28 -07:00
Eric Seidel
5ad78bd3bc Hack around Fitness.app crashing if it can't load data
I'm not sure this is the correct approach, but it
at least mitigates https://github.com/domokit/sky_engine/issues/804
for now.

I also made it not crash if you haven't set a goalWeight.

@collinjackson
2015-08-25 13:09:50 -07:00
Hans Muller
18b78cfafa Enable initializing Scrollable scrollOffset
Added Scrollable named parameter initializeScrollOffset. If unspecified, then the initial value of scrollOffset is 0.0 as before.
2015-08-25 11:03:04 -07:00
Hans Muller
e1933af37e Removed unneeded tabs.dart import, updated tests 2015-08-25 10:24:58 -07:00
Viktor Lidholt
bc62a243f5 Removes old code from demo game 2015-08-25 10:14:26 -07:00
Viktor Lidholt
34e0ef8368 Merge pull request #795 from vlidholt/master
Additions to demo game
2015-08-25 10:04:19 -07:00
Adam Barth
f8cad61b28 Rev pub package 2015-08-25 09:58:46 -07:00
Adam Barth
1fde4bb863 Merge pull request #796 from abarth/fix_tests
Don't divide by zero
2015-08-25 09:58:39 -07:00
Adam Barth
b2de3a705b Don't divide by zero
If there aren't any items, there's no point in computing which items to show.
2015-08-25 09:48:21 -07:00