2814 Commits

Author SHA1 Message Date
Chinmay Garde
6bf652ccfe Merge pull request #320 from chinmaygarde/skyx_review
Load SkyX files on iOS where available
2015-07-28 13:59:38 -07:00
Chinmay Garde
1d44d3ad7f Unbreak shelldb 2015-07-28 13:58:54 -07:00
Chinmay Garde
9a4423b059 Move the game Info.plist to the packages directory 2015-07-28 13:32:53 -07:00
Chinmay Garde
132f30f8eb Address PR feedback on updates for SkyX for iOS 2015-07-28 13:27:46 -07:00
Chinmay Garde
64e29f79ef Load SkyX files on iOS where available 2015-07-28 13:27:46 -07:00
Eric Seidel
a342f441a8 Merge pull request #322 from eseidelGoogle/ios_build
Fix iOS build
2015-07-28 13:05:55 -07:00
Eric Seidel
9ccebe653f Fix iOS build
@chinmaygarde
2015-07-28 12:59:24 -07:00
Viktor Lidholt
e67aa5a05e Merge pull request #321 from vlidholt/master
Updates starfield in game demo to use drawAtlas
2015-07-28 12:53:05 -07:00
Viktor Lidholt
65e85d5312 Updates startled in game demo to use drawAtlas 2015-07-28 12:49:36 -07:00
Adam Barth
f92e594895 Merge pull request #318 from abarth/smaller_apks
Compress assets in APKs
2015-07-28 12:40:23 -07:00
Adam Barth
341f82efc8 Compress assets in APKs
This patch moves us back to compressing assets in APKs. We lost compression
when we updated Chromium recently. This brings typical Sky APKs down to 7.2MB.

Fixes #134
2015-07-28 12:40:09 -07:00
Hans Muller
493a69a113 Merge pull request #319 from HansMuller/fix-skyanalyzer
specify --package-root
2015-07-28 12:37:48 -07:00
Hans Muller
ba99e9582c specify --package-root 2015-07-28 12:35:15 -07:00
Viktor Lidholt
63fe297d50 Merge pull request #315 from vlidholt/master
Optimizations for sprite code
2015-07-28 12:06:38 -07:00
Ian Fischer
a224cbf674 Merge pull request #272 from iansf/T262
Fix #262 -- autolaunch the simulator.
2015-07-28 12:06:33 -07:00
Eric Seidel
a3c3a63250 Merge pull request #317 from eseidelGoogle/mac_testing
Make test_sky work on Mac!
2015-07-28 12:05:40 -07:00
Ian Fischer
8dbc27070c Automatically launch the iOS simulator if it isn’t
already running.

Fixes #262.
2015-07-28 11:32:18 -07:00
Eric Seidel
0eb4c0af8a Make test_sky work on Mac!
We still have a few tests failing, I believe
due to different font metrics.  Otherwise this works!

R=abarth@google.com
2015-07-28 11:31:42 -07:00
mpcomplete
24b6312d01 Merge pull request #303 from mpcomplete/intentions
Refactor AnimationContainer to support drop-in Intentions.

This lets us be flexible in how to animate the properties of the container. Currently used by SnackBar with a SlideIn intention.
2015-07-28 14:12:53 -04:00
Eric Seidel
366d2832b3 Merge pull request #314 from asankah/asankah-fix-readme-typo
Fix typo in README.md
2015-07-28 11:12:27 -07:00
Matt Perry
a079f3adf2 Refactor AnimationContainer to support drop-in Intentions.
This lets us be flexible in how to animate the properties of the container.
Currently used by SnackBar with a SlideIn intention.
2015-07-28 14:12:17 -04:00
Adam Barth
b4d27f5976 Fix typos 2015-07-28 11:05:28 -07:00
Hans Muller
5711853854 Merge pull request #299 from HansMuller/animated-tab-scrolling
Animate selected scrollable TabBar Tab into position
2015-07-28 10:29:19 -07:00
Hans Muller
c0d7ed0be4 When the selected tab changes in a TabBar for which isScrollable:true, animate the selected tab to the center of the viewport, if that's possible.
Added an optional duration: to Scrollable.scrollTo(newOffset, duration: d) which animates the scroll to newOffset.

Refactored the Scrollable implementation a little to make the roles of the "toEnd" and "toOffset" animations clearer.

_handlePointerDown() now stops both animations.

Similarly, we only call settleScrollOffset() from the cancel gesture handlers if the animations aren't already running.
2015-07-28 10:23:34 -07:00
Viktor Lidholt
d9ed5494ee Optimizes sprite performance by minimizing the number of calls to action controllers 2015-07-28 10:16:16 -07:00
Viktor Lidholt
cb5a2e1751 Optimizes sprite performance by reusing Paint objects 2015-07-28 10:16:15 -07:00
Viktor Lidholt
a3649e6a13 Optimizes sprites by replacing save/restore by caching the total matrix 2015-07-28 10:16:14 -07:00
Asanka Herath
96c401b3c1 Fix typo in README.md 2015-07-28 13:05:20 -04:00
Adam Barth
1e8c0816cc Merge pull request #313 from abarth/mv_sky_package
Move sky package into sky/packages/sky
2015-07-28 08:48:13 -07:00
Adam Barth
eb8329455a Move sky package into sky/packages/sky
This patch makes the sky package match the structure we've adopted for the
other Dart packages we produce from this repo.
2015-07-28 08:42:57 -07:00
Adam Barth
aaa5c9fb0e Teach test_sky about workbench
Previously test_sky was broken because it was still trying to use the
DEPS-based Dart packages.
2015-07-27 22:20:04 -07:00
Adam Barth
01234fc946 Merge pull request #312 from abarth/fix_analyzer
Teach skyanalyzer about workbench
2015-07-27 21:18:09 -07:00
Adam Barth
b74c187eda Teach skyanalyzer about workbench
Hopefully this will make Travis green again.
2015-07-27 20:54:19 -07:00
Adam Barth
3a3607bfdd Merge pull request #311 from abarth/more_sky_init
Run sky:init before creating a snapshot
2015-07-27 20:39:13 -07:00
Adam Barth
8fac8efa1f Run sky:init before creating a snapshot
If we've never run sky:init before, the mojom package will be empty and the
snapshot will fail.
2015-07-27 19:47:25 -07:00
Tony Gentilcore
80cb6863e3 Merge pull request #310 from tonygentilcore/roll
Update to mojo 402986f19a165b3be13108146a913245c2c36d7c
2015-07-27 17:59:22 -07:00
Tony Gentilcore
77fef24c22 Fix compilation 2015-07-27 17:50:11 -07:00
Tony Gentilcore
e1a062f89d Update to mojo 402986f19a165b3be13108146a913245c2c36d7c 2015-07-27 17:33:58 -07:00
Adam Barth
2cee42a2e3 Merge pull request #308 from abarth/rm_dart_pkg
Remove DEPS-managed Dart packages
2015-07-27 17:07:54 -07:00
Adam Barth
4c7a557d56 Merge pull request #309 from abarth/improve_init
Improve init.dart not to assume `dart` is in your PATH
2015-07-27 16:58:26 -07:00
Adam Barth
019d6f8418 Improve init.dart not to assume dart is in your PATH
Instead, use Platform.executable, which is the path to the current `dart`
executable.
2015-07-27 16:56:18 -07:00
Adam Barth
32a881e346 Remove DEPS-managed Dart packages
We now use `pub` to manage Dart packages.
2015-07-27 16:54:30 -07:00
Eric Seidel
2f7ee1b0b5 Merge pull request #307 from eseidelGoogle/pub_get_banana_pants
Work around pub get going crazy
2015-07-27 16:36:46 -07:00
Eric Seidel
4e8c82d288 Work around pub get going crazy
Fixes #306

TBR=johnmccutchan@google.com
2015-07-27 16:35:04 -07:00
Adam Barth
399958e391 Merge pull request #305 from abarth/rm_go
Remove skygo
2015-07-27 16:12:41 -07:00
Adam Barth
c975de294d Remove skygo
We no longer use sky_server.go. This patch removes it.
2015-07-27 16:11:15 -07:00
Adam Barth
e4583705b9 Merge pull request #304 from abarth/rm_sky_server_go
Break the dependency on Go-based sky_server
2015-07-27 16:04:47 -07:00
Viktor Lidholt
e2beb73adc Merge pull request #300 from vlidholt/master
Optimizations for Particle Systems
2015-07-27 15:42:50 -07:00
Viktor Lidholt
809203024b Refactors randomizations of color sequences and optimizes particle systems (uses single Paint instance, doesn't compute accelerations unless used, reduces number of created objects, faster color calculations)
Fixes indentation
Optimizes lookup in fast version of atan2 (toInt is faster than floor)
Removes frame rate printout and adds assert
2015-07-27 15:41:08 -07:00
Adam Barth
fa5326a3a3 Break the dependency on Go-based sky_server
We now use the Dart sky_server in shelldb.
2015-07-27 15:38:42 -07:00