27629 Commits

Author SHA1 Message Date
Adam Barth
2b22c12128 Merge pull request #514 from apwilson/image_assert
Fix asserts related to image drawing.
2015-08-07 18:21:05 -07:00
Adam Barth
bcd0d8fe9b Remove the flicker from MimicOverlay
There were two problems:

1) When starting the mimic, we put up a bad frame because although we set the
   `begin` value of the animation, we were building using the current `value`,
   which hadn't been updated.

2) When stoping the mimic, we'd dirty a component during didUnmount, which
   wouldn't get cleaned until the next frame. Now we're sure to clean all the
   components before leaving flushBuild.
2015-08-07 17:06:41 -07:00
Ian Fischer
d44ed7dfc3 Move example out of sky/packages to //examples 2015-08-07 17:04:50 -07:00
Andrew Wilson
440a63a5bb Fix assert's related to image drawing. 2015-08-07 17:00:56 -07:00
Devon Carew
987ce972d6 use mustache4dart 2015-08-07 16:42:10 -07:00
Adam Barth
66e64023d8 Rev sky packages 2015-08-07 15:29:00 -07:00
Adam Barth
68565eb317 Use localToGlobal and globalToLocal in MimicOverlay
Also, make RenderStack support negative positions with clipping so that we can
expand objects that are partially offscreen.
2015-08-07 14:47:06 -07:00
Ian Fischer
19fa9ae2d6 Merge pull request #506 from iansf/demo_launcher_pubspec
First example pubspec
2015-08-07 14:28:53 -07:00
Ian Fischer
7d3065679f Rename build_path to build-path. 2015-08-07 14:27:23 -07:00
Devon Carew
b114623b1a fix typo 2015-08-07 14:26:50 -07:00
Devon Carew
cec6288972 merge to master 2015-08-07 14:22:19 -07:00
Hans Muller
585f3f6297 Widget coordinate transforms: localToGlobal(), globalToLocal() 2015-08-07 14:20:57 -07:00
Devon Carew
2efd13159c add a sky_tools init command to create a new project 2015-08-07 14:20:14 -07:00
Ian Fischer
f65dd37fef pubspec for the demo_launcher. 2015-08-07 14:19:01 -07:00
Ian Fischer
27f5fc4fea Merge pull request #505 from iansf/sky_tool_build_path
Specify local build paths when using sky_tool.
2015-08-07 13:58:14 -07:00
Ian Fischer
31c8370eee Add the ability to specify a path to the build
directory to support using sky_tool with local
builds.
2015-08-07 13:53:32 -07:00
Adam Barth
162b851431 Remove spurious print statement 2015-08-07 13:53:00 -07:00
Adam Barth
dec9d1f0bf Merge pull request #503 from abarth/enable_checked_mode
Add a --checked argument to sky_tool start
2015-08-07 13:21:52 -07:00
Adam Barth
66ec3424c6 Add a --checked argument to sky_tool start
The --checked argument runs SkyShell in checked mode, which turns on type
checking and asserts.
2015-08-07 13:18:38 -07:00
Collin Jackson
7df2c3d727 Merge pull request #496 from collinjackson/symlink
Use the new virtual directory flag for sky_server instead of a symlink to prevent infinite subdirectory recursion
2015-08-07 13:10:34 -07:00
Collin Jackson
ae4126c677 Use the new virtual directory flag for sky_server instead of a symlink 2015-08-07 13:09:13 -07:00
Collin Jackson
b2679dbc71 Update version
TBR=abarth
2015-08-07 12:58:04 -07:00
Viktor Lidholt
45a83d565d Merge pull request #501 from vlidholt/master
Adds perspective projection to Node3D in sprites
2015-08-07 12:56:04 -07:00
Collin Jackson
471d7b4802 Refactor per abarth feedback 2015-08-07 12:52:54 -07:00
Viktor Lidholt
452c30d9fa Adds perspective projection to Node3D in sprites 2015-08-07 12:43:34 -07:00
Adam Barth
5aafa65f3e Add a MimicOverlay widget
This widget lets you mimic one of its children in an overlay. The overlay
starts out as the same size of the child and then grows to fill the overlay. In
the future, the mimic will start at the same visual position as the child.
2015-08-07 11:07:19 -07:00
Adam Barth
35a2c74421 Merge pull request #498 from abarth/text_broken
Unbreak text
2015-08-07 10:38:16 -07:00
Adam Barth
b5e0b7c99a Unbreak text
Previously, no text was appearing because we weren't actually converting the
Dart objects into DOM.
2015-08-07 10:37:04 -07:00
Viktor Lidholt
9111592999 Merge pull request #497 from vlidholt/master
Adds skew property to sprite node
2015-08-07 10:07:53 -07:00
Viktor Lidholt
b636d54ebb Adds skew property to sprite node 2015-08-07 10:05:24 -07:00
Adam Barth
fb512aa604 Merge pull request #494 from abarth/integer_scrolling
RenderViewport should use integer device pixels
2015-08-07 09:52:14 -07:00
Adam Barth
7b678ff39f Merge pull request #495 from abarth/rationalize_text
Rationalize text
2015-08-07 09:52:07 -07:00
Adam Barth
2f3af49b0a Improve error messages for StyledText
Now they give you a hint as to what went wrong. Also, in checked mode, they now
throw during construction instead of during building.

Fixes #418
2015-08-06 22:42:13 -07:00
Adam Barth
4a70cfed5f Rename various text-related classes
- Inline -> Pargraph. This class is actually a box, not an inline. It's really
   a wrapper for RenderParagraph, so Paragraph is the normal name.

 - InlineBase -> RenderInline. The name we used in C++ for the base class of
   all inlines was RenderInline, which removes the ugly "Base" suffix.

 - InlineText -> RenderText. Aligns this name with C++.

 - InlineStyle -> RenderStyled. Matches the foregoing pattern.
2015-08-06 22:26:02 -07:00
Adam Barth
888bdd7a87 Update README.md 2015-08-06 22:25:00 -07:00
Adam Barth
75da2a9f98 RenderViewport should use integer device pixels
When painting a scroll offset, RenderViewport should use integer device pixels
to prevent "shimmering" effects on images.

Fixes #486
2015-08-06 22:09:51 -07:00
Adam Barth
89268a4a44 Update README.md 2015-08-06 21:55:25 -07:00
Devon Carew
66657a81ee fix typo in tool/travis.sh 2015-08-06 18:58:33 -07:00
Devon Carew
4aa0fae54d make tool/travis.sh executable 2015-08-06 18:53:14 -07:00
Devon Carew
990b362849 Update README.md
Add a travis badge.
2015-08-06 18:50:52 -07:00
Viktor Lidholt
bd5b956641 Merge pull request #492 from vlidholt/master
Improvements to game performance tests
2015-08-06 17:26:08 -07:00
Viktor Lidholt
e691a63e14 Improvements to game performance tests (adds 2 new tests to check sprite curl performance) 2015-08-06 17:16:41 -07:00
Eric Seidel
a0c9ebc0b2 Teach the fitness app how to request a numeric keyboard
Unforutnately since Input won't show text if it doesn't start
with a letter, this actually makes the experiance slightly
worse, but this is definitely the right direction.

@abarth
2015-08-06 17:09:06 -07:00
Adam Barth
be75ee726d Merge pull request #485 from abarth/mimic
Add widgets for reparenting widgets
2015-08-06 16:23:58 -07:00
Adam Barth
9bed37b52c Add widgets for reparenting widgets
Wrap widgets you want to reparent in a Mimicable widget and assign the
Mimicable widget a global key. Then, given the same global key to a Mimic
widget to make it appear elsewhere in the view hierarchy.
2015-08-06 16:22:37 -07:00
Eric Seidel
93cfdf2553 Merge pull request #489 from eseidelGoogle/roll_mojo
Roll mojo to 35de44e361
2015-08-06 16:22:15 -07:00
Eric Seidel
e913580832 Fix the build after the mojo roll
@abarth
2015-08-06 16:18:16 -07:00
Chinmay Garde
3fecfa75f4 Fix iOS device code signing issues 2015-08-06 16:14:11 -07:00
Devon Carew
0257cbd12b build sky_tools using travis 2015-08-06 14:25:55 -07:00
Viktor Lidholt
8722e76d59 Merge branch 'master' of github.com:domokit/sky_engine 2015-08-06 13:47:03 -07:00