20087 Commits

Author SHA1 Message Date
Viktor Lidholt
3d7c3cd560 Merge pull request #601 from vlidholt/master
Adds sounds to demo game bundle
2015-08-13 12:58:11 -07:00
Viktor Lidholt
9fdd8afbce Adds sounds to demo game bundle 2015-08-13 12:57:07 -07:00
Chinmay Garde
dde04057d5 Update dart_revision in DEPS 2015-08-13 12:51:54 -07:00
Viktor Lidholt
9fba58e533 Merge pull request #598 from vlidholt/master
Adds rough sound support for sprites
2015-08-13 12:51:34 -07:00
Chinmay Garde
cfec10d80d Make |TracingController| platform agnostic and enable collecting
traces from base and the shell view dart isolate simultaneously.
Trace files contain samples from multiple sources and must be merged
separately
2015-08-13 12:51:24 -07:00
Adam Barth
0ee28f5a34 Merge pull request #600 from abarth/requires_compositing
Rename createsNewDisplayList to requiresCompositing
2015-08-13 12:50:43 -07:00
Adam Barth
f3f7211df4 Rename createsNewDisplayList to requiresCompositing
This patch prepares for introducing the compositing system by repurposing the
relevant parts of the createsNewDisplayList system. This patch also removes the
no-longer-relevant parts of that system.
2015-08-13 12:43:39 -07:00
Eric Seidel
868ccc5cf8 Merge pull request #599 from eseidelGoogle/auto_keyboard
Don't claim to be a text editor
2015-08-13 12:39:06 -07:00
Eric Seidel
4a79cc8cb0 Don't claim to be a text editor
http://developer.android.com/reference/android/view/View.html#onCheckIsTextEditor()
says that we should return true if the "primary purpose" of
the view is text editing.  The keyboard still seems to work
fine if we return false here (default implementation) so
I'm removing this for now.

Fixes https://github.com/domokit/sky_engine/issues/116

@abarth
2015-08-13 12:36:01 -07:00
Viktor Lidholt
7aca14793c Adds sounds to demo game 2015-08-13 12:35:32 -07:00
Viktor Lidholt
ecfdebe5f5 Adds sound support to sprite api 2015-08-13 12:35:32 -07:00
Viktor Lidholt
127346ab56 Merge pull request #577 from vlidholt/master
Fixes issue in sprite
2015-08-13 12:33:40 -07:00
Adam Barth
c5ac004aae Merge pull request #596 from abarth/kill_by_port
Kill sky_server by port instead of pid
2015-08-13 12:29:52 -07:00
Adam Barth
9a896b0e3d Kill sky_server by port instead of pid
We seem to have trouble killing sky_server by its pid. Instead, lets try
killing it by looking up which process is listening on the sky_server port.
2015-08-13 12:28:53 -07:00
mpcomplete
761fd546fb Merge pull request #592 from mpcomplete/animation.asserts
Fix common asserts in animation API.
2015-08-13 13:55:28 -04:00
Adam Barth
9caa05146e Merge pull request #591 from abarth/painting_context
Add PaintingContext which has-a sky.Canvas instead of is-a sky.Canvas
2015-08-13 10:30:58 -07:00
Adam Barth
fbe12785cc Add PaintingContext which has-a sky.Canvas instead of is-a sky.Canvas
We'll need this for compositing because we need to switch out the sky.Canvas
when we switch compositing layers.
2015-08-13 10:18:33 -07:00
Matt Perry
e92dfcfbbc Fix common asserts in animation API.
1. We would assert if you tried to start an animation from within an
animation status callback. This is a common pattern, so I fixed this
assert (in Ticker._tick).
2. We would assert for animations with duration under a millisecond.
Fixed.

Also removed the workarounds assocated with #1.
2015-08-13 13:18:25 -04:00
Collin Jackson
f705b3c5ae Roll back typeface changes (we’re going a different direction) 2015-08-13 10:08:47 -07:00
Adam Barth
b92aba8362 Rev pub package 2015-08-13 09:20:16 -07:00
Adam Barth
1436ed1625 Rev pub packages 2015-08-13 09:18:24 -07:00
Adam Barth
75af6ce486 Merge pull request #588 from abarth/fix_abs_paths
sky_snapshot should work with absolute paths
2015-08-13 09:13:14 -07:00
Adam Barth
5228dc67e6 sky_snapshot should work with absolute paths
Instead of appending the first path component, we should use it to initialize
`result`. That makes this code work with absolute paths.
2015-08-13 09:11:24 -07:00
Eric Seidel
8af8d68bad Merge pull request #586 from eseidelGoogle/sdk_version
Add a minimum sdk version for sky_engine
2015-08-12 17:59:18 -07:00
Adam Barth
1e3d95a889 Merge pull request #585 from jamesr/flush_after_produce
glFlush after inserting sync point
2015-08-12 17:49:45 -07:00
Eric Seidel
c668221644 Add a minimum sdk version for sky_engine
We could update all our other versions as well if we wanted
but this the only package in sky which uses sdk_ext

@abarth
2015-08-12 17:48:37 -07:00
Adam Barth
c5e698c7b8 Merge pull request #583 from abarth/fix_hit_test
RenderBox.hitTest should do the bounds check
2015-08-12 17:47:47 -07:00
Adam Barth
7d52672a31 RenderBox.hitTest should do the bounds check
Previously we were doing the bounds testing for hit tests in the parent, but
that doesn't work if the child paints at a location other than 0.0, 0.0. Now we
do the bounds check in the child. This also simplifies Scaffold's hit testing.

Fixes #558
2015-08-12 17:46:10 -07:00
James Robinson
609d3f6c28 glFlush after inserting sync point 2015-08-12 17:45:31 -07:00
Eric Seidel
592a3216cb Merge pull request #584 from eseidelGoogle/workbench
Stop using workbench/packages for sky_snapshot
2015-08-12 17:44:19 -07:00
Eric Seidel
6b029ce9df Stop using workbench/packages for sky_snapshot
Instead we use the packages directory which is at the same
level as the BUILD.gn file.  That's a bit of a broken assumption
but it happens to work for all our skyx uses for now.

@abarth
2015-08-12 17:39:59 -07:00
Eric Seidel
a7ed37e3aa Emergency build fix until I can unravel how sky_snapshot runs
@abarth @collinjackson
2015-08-12 15:52:38 -07:00
Adam Barth
ca886cdbb6 Add a missing gitignore 2015-08-12 15:29:49 -07:00
Collin Jackson
480ea65989 Merge pull request #568 from collinjackson/playfair
Add support for charts to fitness app
2015-08-12 14:51:38 -07:00
Collin Jackson
d4e68ab589 Add weight chart to fitness app 2015-08-12 14:50:50 -07:00
Adam Barth
5099c655b6 Rev pub package 2015-08-12 14:46:59 -07:00
Adam Barth
bc30e0e5f6 Rev pub packages 2015-08-12 14:32:13 -07:00
Viktor Lidholt
a9e313fe79 Fixes issue in sprite 2015-08-12 10:25:55 -07:00
Adam Barth
46199806cb Update README.md 2015-08-12 09:18:32 -07:00
Adam Barth
2425571ad9 Require a new version of sky_tools 2015-08-12 09:12:32 -07:00
Roozbeh Pournader
2967a13420 Clean up use of printf() in Layout.cpp.
Reported externally at https://code.google.com/p/android/issues/detail?id=167715.
Bug: 21498085

Change-Id: I73f22de03b0151ce31a6b3070d051a2a701b33d2
2015-08-11 17:46:18 -07:00
Hans Muller
eb8e814279 Merge pull request #572 from HansMuller/ensure-visible
Adds ensureWidgetIsVisible() function to scrollable.dart
2015-08-11 16:51:24 -07:00
Andrew Wilson
cb53ec2c23 Merge pull request #576 from apwilson/mimic_overlay
Maximum bounds for the mimic in the overlay can now be specified.
2015-08-11 16:51:08 -07:00
Andrew Wilson
afd599dfe3 Maximum bounds for the mimic in the overlay can now be specified. 2015-08-11 16:50:19 -07:00
Viktor Lidholt
545f8b4b9e Merge pull request #575 from vlidholt/master
Adds API docs to particle systems and removes redundant property
2015-08-11 16:50:04 -07:00
Hans Muller
8d19cd21b6 Adds ensureWidgetIsVisible() function to scrollable.dart
Set the scrollOffset of a widget's Scrollable ancestor so that the
widget is centered within the scrollable. A future CL will add
support for specifying exactly where the widget appears. The scroll
can be animated by specifying the animation: parameter.

Changed the duration Scrollable.scrollTo() parameter from a Duration
to an AnimationPerformance so that one can configure all aspects of
the animation. The caller may also listen to the animation to schedule
other work while it updates or when its status changes.
complete
2015-08-11 16:49:48 -07:00
Viktor Lidholt
4d3a7d0465 Adds API docs to particle systems and removes redundant property 2015-08-11 16:25:58 -07:00
Eric Seidel
8e99a3a0d9 Add missing icons to fitness/sky.yaml
This is just fallout from not having
https://github.com/domokit/sky_engine/issues/565

@abarth
fitness_apk_2
2015-08-11 15:56:37 -07:00
Eric Seidel
859ef2eb6a Merge pull request #573 from domokit/revert-563-roll_dart
Revert "Roll Dart forward"
2015-08-11 15:47:56 -07:00
Eric Seidel
772031106e Revert "Roll Dart forward" 2015-08-11 15:47:12 -07:00