20087 Commits

Author SHA1 Message Date
Ian Fischer
d87d5ba897 Have “sky_tool listen” start with a refresh so that iOS devices don’t wait on a black screen for the first filesystem change. 2015-08-27 10:54:10 -07:00
Adam Barth
7d5ef20bb1 Scheduler should be able to cancel a queued callback
Previously, once a callback was in the execution queue, it couldn't be
canceled. Now we check whether the callback was canceled before executing it.
2015-08-27 10:51:01 -07:00
Ian Hickson
3a1706b8ea Merge pull request #879 from Hixie/RenderBlockViewport
Abstract out syncChildren().
2015-08-27 10:44:45 -07:00
Adam Barth
45bc387953 Rev pub package 2015-08-27 10:29:47 -07:00
Adam Barth
10f276d519 Rev pub packages 2015-08-27 10:27:41 -07:00
Viktor Lidholt
afdf1c2243 Merge pull request #874 from vlidholt/master
Adds counting of coins in demo game
2015-08-27 10:23:24 -07:00
Alhaad Gokhale
4655487899 Merge pull request #887 from alhaad/upgrade_mojo_dart
Update version of mojo and mojo_services to 0.0.23 for sky dart.
2015-08-27 10:12:45 -07:00
Alhaad Gokhale
fd40536c22 Update version of mojo and mojo_services to 0.0.23 for sky dart. 2015-08-27 10:05:22 -07:00
Adam Barth
7dce81d1fe Merge pull request #882 from abarth/image_logging
Add logging to help diagnose image loading failures
2015-08-26 19:45:08 -07:00
Adam Barth
e206db9be2 Add logging to help diagnose image loading failures
For debugging #801
2015-08-26 17:17:35 -07:00
Hixie
906c0a8e0e Abstract out syncChildren().
The core of MultiChildRenderObjectWrapper.syncRenderObject() could
apply to any subclass that uses a flat child list, so this abstracts
it out into the superclass.

(Also, instead of requiring the callbacks of RenderBlockViewport to
constrain their results, we just constrain it for them. Makes things a
bit easier for users of that class.)
2015-08-26 16:56:25 -07:00
Alhaad Gokhale
9d27c35a5e Merge pull request #873 from alhaad/sky_viewer_fix
Fix sky_viewer when being run from a skyx snapshot.
2015-08-26 16:50:46 -07:00
Alhaad Gokhale
391b9490d6 root_->AddObserver done eagerly 2015-08-26 16:12:10 -07:00
Adam Barth
af2882a0bd Merge pull request #876 from abarth/rename_widget_tester
Rename layout_utils.dart to rendering_tester.dart
2015-08-26 15:57:27 -07:00
Adam Barth
118fd98351 Rename layout_utils.dart to rendering_tester.dart
Also, rename build_utils.dart to widget_tester.dart. These files are now named
for their most commonly used classes.

Finally, add a .analysis_options to silence the (intentional) analyzer warnings
in append_child_test.dart.
2015-08-26 15:49:04 -07:00
Adam Barth
26a66ea348 Merge pull request #875 from abarth/merge_pump_frame
Merge pumpPaintFrame and pumpFrame in WidgetTester
2015-08-26 15:46:28 -07:00
Adam Barth
a8489e9428 Merge pumpPaintFrame and pumpFrame in WidgetTester
We can make all the test pass by removing more of the mocks and using the real
code.
2015-08-26 15:42:52 -07:00
Collin Jackson
1f13570fb6 Merge pull request #872 from collinjackson/more_date_picker_tests
Test year selection for date picker
2015-08-26 15:39:24 -07:00
Viktor Lidholt
aca0dd5860 Adds counting of coins in demo game 2015-08-26 15:35:19 -07:00
Alhaad Gokhale
d63163d63e Fix sky_viewer when being run from a skyx snapshot. 2015-08-26 15:31:41 -07:00
Collin Jackson
1ca557929a Test year selection for date picker 2015-08-26 15:30:49 -07:00
Chinmay Garde
31f7fa8ddd Update skia to latest revision 2015-08-26 15:28:05 -07:00
Hans Muller
28e432afa6 Merge pull request #850 from HansMuller/progress-bar-animation
Fix ProgressIndicators and add a regression test

Added some unit test infrastucture for checking layers.
2015-08-26 15:24:12 -07:00
Hans Muller
c65ed705a1 Fix ProgressIndicators and add a regression test
Added some unit test infrasture for checking layers.
2015-08-26 15:22:24 -07:00
Ian Hickson
487b8cbf33 Merge pull request #870 from Hixie/RenderBlockViewport
Generalise RenderBlockViewport so that it can be used by a Widget that knows its children's dimensions.
2015-08-26 15:16:43 -07:00
Ian Hickson
68fac7ff3f Merge pull request #853 from Hixie/shrink-wrap-height
ShrinkWrapHeight widget
2015-08-26 15:15:05 -07:00
Hixie
0e43c654ce ShrinkWrapHeight widget
- add debugDescribeSettings to a few classes that were missing it
- fix some minor bugs in RenderShrinkWrapWidth and ShrinkWrapWidth
- introduce RenderShrinkWrapHeight and ShrinkWrapHeight
2015-08-26 15:07:53 -07:00
James Robinson
82bf8bcb50 Merge pull request #867 from jamesr/mojo_roll_0a98599b44b070b72c4284498bab781d343cc282
Update to mojo 0a98599b44b070b72c4284498bab781d343cc282
2015-08-26 14:35:31 -07:00
Hixie
9d91a8da9c Generalise RenderBlockViewport so that it can be used by a Widget that knows its children's dimensions. 2015-08-26 14:25:53 -07:00
Adam Barth
9255eb6d01 Merge pull request #869 from abarth/rm_unused_import
Remove unused import to silence analyzer
2015-08-26 14:23:39 -07:00
Adam Barth
2898362c21 Remove unused import to silence analyzer 2015-08-26 14:21:36 -07:00
Adam Barth
f84760809a Revert Dart SDK version
Experiment to see whether this reduces flakiness on Travis.
2015-08-26 14:19:43 -07:00
Andrew Wilson
79e8967350 Merge pull request #868 from apwilson/npe
Fix npe.
2015-08-26 14:16:26 -07:00
Andrew Wilson
e2fdc2e7ea Fix npe. 2015-08-26 14:14:44 -07:00
James Robinson
952beb831b Update to mojo 0a98599b44b070b72c4284498bab781d343cc282
Updates the //mojo snapshotted code and the mojo SDK to
0a98559b4, which includes several cleanups in the GL headers.

Also adds /sky/packages/sky_services/lib to .gitignore
2015-08-26 14:06:56 -07:00
Eric Seidel
3a73fd631c Merge pull request #864 from eseidelGoogle/render_grid
Add support for RenderGrid
2015-08-26 13:53:13 -07:00
Eric Seidel
13926c351f Add support for RenderGrid
I'll write the Widget wrapper in the next CL, including adding
support for padding at the Widget layer.

@Hixie
2015-08-26 13:52:30 -07:00
Ian Hickson
982f5abd4d Merge pull request #863 from Hixie/mixed-viewport-changes
Make RenderBlockViewport shrink-wrap its children in the main axis direction
2015-08-26 13:43:55 -07:00
Adam Barth
c405de2d5e Merge pull request #866 from abarth/test_date_picker
Add a basic test for DatePicker
2015-08-26 13:40:31 -07:00
Adam Barth
fb58c4a7eb Add a basic test for DatePicker
Most of this work in this patch is building out the test framework to the point
where we can write this test.
2015-08-26 13:38:05 -07:00
Ian Hickson
860a6573c4 Merge pull request #852 from Hixie/sizing-docs
Update the documentation on sizing, make another assert point to it.
2015-08-26 13:25:17 -07:00
Hixie
98b542cc77 Make RenderBlockViewport shrink-wrap its children in the main axis direction. 2015-08-26 13:19:04 -07:00
Viktor Lidholt
804a44c992 Merge pull request #862 from vlidholt/master
Moves GameObjectFactory and PlayerState to their own files in demo game
2015-08-26 13:18:57 -07:00
Jim Beveridge
13978b9c35 Merge pull request #860 from jimbeveridge/updateapk
Automatically update apk on device.
2015-08-26 13:15:16 -07:00
Viktor Lidholt
77c8c04946 Moves GameObjectFactory and PlayerState to their own files in demo game 2015-08-26 13:14:40 -07:00
Jim Beveridge
a27eaa6e1c Automatically update apk on device.
Fixes #454.
2015-08-26 13:13:14 -07:00
Viktor Lidholt
6631c24390 Merge pull request #859 from vlidholt/master
Adds power ups to demo game
2015-08-26 12:46:50 -07:00
Viktor Lidholt
3b183ff416 Adds power ups to demo game, and some minor refactoring to support the addition 2015-08-26 12:41:21 -07:00
Andrew Wilson
444a044b2e Merge pull request #857 from apwilson/rename
Change generic value names to be more descriptive for assert tracing.
2015-08-26 12:27:49 -07:00
Andrew Wilson
3109ffdf3e Change generic value names to be more descriptive for assert tracing. 2015-08-26 12:22:38 -07:00