25905 Commits

Author SHA1 Message Date
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
Viktor Lidholt
b5e3093f0f Increases number of frames in Dart game performance test 2015-08-06 13:46:31 -07:00
Viktor Lidholt
a0b0e139db Adds test for measuring computation speed in game like conditions 2015-08-06 13:24:29 -07:00
Matt Perry
211426601d Adjust the SpringForce tolerance, used by Drawer and Dismissable.
They settle much faster after you fling them now.
2015-08-06 15:40:15 -04:00
Matt Perry
a7b9656484 Change several onStatusChanged callbacks to onDismissed.
We only use them for the transition to dismissed.
2015-08-06 14:15:03 -04:00
mpcomplete
2051703c54 Merge pull request #463 from mpcomplete/popup.menu
Push PopupMenu's animation code into its build function and use trans…
2015-08-06 13:43:23 -04:00
Matt Perry
d89fb14628 Push PopupMenu's animation code into its build function and use transitions.
Also add intervals and curves to AnimationPerformance, which affect all
variables used by the performance.
2015-08-06 13:42:50 -04:00
Adam Barth
fd68741fb3 Add operator+ and operator- to EdgeDims
... and use them to improve the horizontal_scrolling example.
2015-08-06 09:41:22 -07:00
Adam Barth
870376dab1 Teach ScrollableBlock how to scroll horizontally
Now ScrollableBlock can combine a horizontally scrolling viewport with a
horizontal block.

Also rename ViewportScrollDirection to just ScrollDirection for less verbosity.
2015-08-05 18:10:03 -07:00
Adam Barth
6f2a3e406d Merge pull request #476 from abarth/horizontal_block
Teach Block how to layout horizontally
2015-08-05 17:36:31 -07:00
Adam Barth
f6c9ab8050 Teach Block how to layout horizontally
We'll need this for horizontally scrolling lists.
2015-08-05 17:20:13 -07:00
Adam Barth
2a4209553f Support horizontal scrolling in ScrollableViewport 2015-08-05 16:18:15 -07:00
Eric Seidel
5923d03cca Merge pull request #473 from eseidelGoogle/fitness
Add Fitness.apk with icon
2015-08-05 14:08:40 -07:00
Eric Seidel
46060fcf21 Add Fitness.apk with icon
This is just one of many steps in preparation for turning
fitness into a play-store ready app.

@abarth @collinjackson
2015-08-05 13:45:43 -07:00
Hans Muller
e4d9e320b0 Prevent double-dismissing of Dismissables, center card_collection under-text 2015-08-05 13:40:28 -07:00
Eric Seidel
9c4ed3f82d Merge pull request #457 from eseidelGoogle/docs
Add a few bits of documentation to package:sky
2015-08-05 13:32:44 -07:00
Ian Fischer
50e2713ef3 Add a —poke flag to the sky_tool start command so that it is possible to
restart Sky apps on Android without having to restart SkyShell.
2015-08-05 10:27:47 -07:00
Adam Barth
93d6f24f7e Merge pull request #456 from abarth/radial_reaction
Add a basic radial reaction to the switch
2015-08-05 09:51:06 -07:00
Adam Barth
07afda506a Add a basic radial reaction to the switch
We still need to tune the various parameters, but this patch is a start.
2015-08-05 09:50:33 -07:00
Hans Muller
7a4557c99d Merge pull request #460 from HansMuller/fitness-demo-dialog
workaround for Fitness demo dialog cancel bug
2015-08-05 09:01:10 -07:00
Viktor Lidholt
8e45c37500 Merge pull request #461 from vlidholt/master
Adds cull rect to sprite performance test
2015-08-05 08:53:49 -07:00
Viktor Lidholt
f3007e112d Adds cull rect to sprite performance test 2015-08-05 08:52:45 -07:00
Hans Muller
d55425a3fe workaround for Fitness demo dialog cancel bug 2015-08-05 08:50:08 -07:00
Eric Seidel
7be732fe87 Add a few bits of documentation to package:sky
I can't really make further progress until at least:
https://github.com/dart-lang/dartdoc/issues/766
is resolved, ideally also:
https://github.com/dart-lang/dartdoc/issues/763

@abarth
2015-08-04 17:38:46 -07:00
Viktor Lidholt
16be262a26 Merge pull request #449 from vlidholt/master
Initial version of game performance tests
2015-08-04 16:04:25 -07:00