3188 Commits

Author SHA1 Message Date
Ian Fischer
3d462e191b pubspec.yaml files for the smaller demos. 2015-08-10 17:13:17 -07:00
Eric Seidel
355ac287b8 Merge pull request #529 from iansf/asteroids_pubspec
Asteroids pubspec
2015-08-10 15:14:43 -07:00
Ian Fischer
464e35f342 Pubspec for Asteroids 2015-08-10 15:07:46 -07:00
Ian Fischer
ad1a56ff01 Merge pull request #528 from iansf/asteroids_move_main
Move main.dart to lib/main.dart for the game
2015-08-10 15:06:54 -07:00
Ian Fischer
6722df87e8 Move game/main.dart to game/lib/main.dart. 2015-08-10 15:05:54 -07:00
Eric Seidel
8ebd824fb8 Merge pull request #526 from eseidelGoogle/save_files
Make it possible to save/load fitness measurements
2015-08-10 15:02:05 -07:00
Eric Seidel
06b7ae8c06 Make it possible to save/load fitness measurements
This required me wrapping the new Activity APIs
as well as adding the missing pubspec.yaml

@abarth
2015-08-10 14:29:22 -07:00
Viktor Lidholt
d82eb3fd16 Merge pull request #521 from vlidholt/master
Adds new Layer class to sprites
2015-08-10 14:28:17 -07:00
Adam Barth
c86ee8f46b Merge pull request #525 from abarth/rm_refptr
Swith from skia::RefPtr to RefPtr
2015-08-10 14:23:01 -07:00
Adam Barth
5f62ffe1f4 Swith from skia::RefPtr to RefPtr
Now that we can use WTF everywhere, we don't need to use skia::RefPtr.
2015-08-10 14:18:38 -07:00
mpcomplete
d87a1cc6ea Merge pull request #520 from mpcomplete/tabs.indicator
Fix tab indicator animation so it doesn't snap to the previous tab.
2015-08-10 16:57:03 -04:00
Adam Barth
56d615a9f3 Merge pull request #524 from abarth/color_filter_background_image
Add the ability to color filter background images
2015-08-10 13:38:19 -07:00
Adam Barth
e486036761 Add the ability to color filter background images 2015-08-10 13:30:52 -07:00
Matt Perry
30c35234c3 Fix tab indicator animation so it doesn't snap to the previous tab.
If you tap multiple tabs in a row, the tab animation used to snap to the
last selected tab when starting a new animation. Fix that.

Also use the BuilderTransition so we don't have to rebuild the tab bar
every frame.
2015-08-10 16:22:57 -04:00
Ian Fischer
2dccf62024 Merge pull request #523 from iansf/mine_digger_pubspec
Minedigger pubspec
2015-08-10 12:48:39 -07:00
Ian Fischer
c155a92770 Merge pull request #522 from iansf/stocks_pubspec
Stocks pubspec
2015-08-10 12:48:16 -07:00
Ian Fischer
2c0b40b326 Minedigger pubspec 2015-08-10 12:47:18 -07:00
Ian Fischer
4e4af5d8c7 Pubspec for Stocks example 2015-08-10 12:43:36 -07:00
Viktor Lidholt
05824f0937 Updates demo game with changes to Sprites and Nodes 2015-08-10 12:37:44 -07:00
Viktor Lidholt
2f8e54b4eb Adds new Layer class 2015-08-10 12:37:12 -07:00
Viktor Lidholt
d302abdc43 Refactors Sprite class to use SpritePaint mix-in for setting paint properties 2015-08-10 12:36:08 -07:00
Adam Barth
24eb60a688 Merge pull request #518 from abarth/fix_tests
Fix tests after examples move
2015-08-10 12:10:54 -07:00
Adam Barth
09648d41ff Merge pull request #519 from abarth/optimize_clips
Optimize circular clips slightly
2015-08-10 12:10:44 -07:00
Adam Barth
1977c4f85d Optimize circular clips slightly
This patch avoids creating weak references on every paint call by caching the
Path object between paints.
2015-08-10 11:18:44 -07:00
Adam Barth
501bf578bb Fix tests after examples move 2015-08-10 11:17:46 -07:00
mpcomplete
7a31ae5edc Merge pull request #484 from mpcomplete/force.direction
Get rid of the Direction parameter for animation Forces.
2015-08-10 13:25:38 -04:00
Matt Perry
48d487c74a Get rid of the Direction parameter for animation Forces.
Just infer it from the sign of the velocity. That's what odeon does.
2015-08-10 13:24:52 -04:00
Viktor Lidholt
3ceb7c4c4c Merge pull request #517 from vlidholt/master
Improves particle performance
2015-08-10 10:10:50 -07:00
Viktor Lidholt
c71c9dfc7c Improves particle performance by never having doubles as null (5% gain in performance test) 2015-08-10 10:05:35 -07:00
Ian Fischer
2a697e2cd4 Merge pull request #510 from iansf/move_examples
Move examples to the root
2015-08-07 18:32:18 -07:00
Adam Barth
e7d0238ff0 Merge pull request #514 from apwilson/image_assert
Fix asserts related to image drawing.
2015-08-07 18:21:05 -07:00
Adam Barth
2e8843893b Merge pull request #515 from abarth/remove_mimic_flicker
Remove the flicker from MimicOverlay
2015-08-07 17:10:36 -07:00
Adam Barth
32c225e1f2 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
3c8291a828 Move example out of sky/packages to //examples 2015-08-07 17:04:50 -07:00
Andrew Wilson
01bc05895b Fix assert's related to image drawing. 2015-08-07 17:00:56 -07:00
Adam Barth
e9c05665bf Rev sky packages 2015-08-07 15:29:00 -07:00
Adam Barth
01fed42fbb Merge pull request #513 from abarth/pub
Rev pub packages
2015-08-07 15:08:44 -07:00
Adam Barth
fa0c0c4e40 Rev pub packages
Also, teach big_red_button how to make a REVISION file in sky_engine/lib.
2015-08-07 15:07:36 -07:00
Adam Barth
9fb7c2ce51 Merge pull request #511 from abarth/expander
Use localToGlobal and globalToLocal in MimicOverlay
2015-08-07 14:55:40 -07:00
Adam Barth
50c1070c9e 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
b281ad4f69 Merge pull request #506 from iansf/demo_launcher_pubspec
First example pubspec
2015-08-07 14:28:53 -07:00
Ian Fischer
8d6eea100c Merge pull request #508 from iansf/fix_505
Fix 505
2015-08-07 14:28:35 -07:00
Ian Fischer
2478f68df6 Rename build_path to build-path. 2015-08-07 14:27:23 -07:00
Hans Muller
ecec1f5ce1 Merge pull request #504 from HansMuller/to-local-to-global
Widget coordinate transforms: localToGlobal(), globalToLocal()
2015-08-07 14:22:39 -07:00
Hans Muller
b5ee723305 Widget coordinate transforms: localToGlobal(), globalToLocal() 2015-08-07 14:20:57 -07:00
Ian Fischer
0fdaf65f65 pubspec for the demo_launcher. 2015-08-07 14:19:01 -07:00
Ian Fischer
d63f9be94f 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
06eb580de6 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
3f2fdba61c Remove spurious print statement 2015-08-07 13:53:00 -07:00
Adam Barth
560c550832 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