3388 Commits

Author SHA1 Message Date
Hixie
3cc25bb255 Fix analyzer to not change the working directory.
I didn't understand what was going on before. Now I do. This is a better fix that making the path absolute.
2015-08-17 16:57:08 -07:00
Adam Barth
9f0d108667 Merge pull request #663 from abarth/fix_rotate
Don't corrupt drawing when rotating
2015-08-17 16:45:43 -07:00
Adam Barth
33994d06f7 Don't corrupt drawing when rotating
Previously there was a race condition when updating the size of the GLSurface.
Now we explicitly update the size of the surface to match what we expect.

Fixes #610
2015-08-17 16:45:20 -07:00
Chinmay Garde
d9ef04d3f7 Merge pull request #662 from chinmaygarde/master
Fix issue caught by Chrome Clang plugin
2015-08-17 16:42:57 -07:00
Ian Hickson
5459f80c74 Merge pull request #661 from Hixie/analyzer
Analyzer updates
2015-08-17 16:15:50 -07:00
Eric Seidel
7280dd75f8 Merge pull request #660 from eseidelGoogle/sounds_bundle
Teach Asteroids Sounds how to load from AssetBundle
2015-08-17 16:15:06 -07:00
Ian Hickson
91f7fd822e Merge pull request #646 from Hixie/animations
Trivial code changes for style and readability in animation/ directory.
2015-08-17 16:08:23 -07:00
Ian Hickson
81a335ed7f Merge pull request #641 from Hixie/dependencies
Update READMEs for painting/ and animation/ to be up to date with current dependencies.
2015-08-17 16:08:19 -07:00
Ian Hickson
6656d5122a Merge pull request #640 from Hixie/lerp-whitespace
Improve style in lerp.dart and box_painter.dart
2015-08-17 16:08:12 -07:00
Eric Seidel
7637d52cdf Teach Asteroids Sounds how to load from AssetBundle
@abarth
2015-08-17 16:07:08 -07:00
Chinmay Garde
ea03166466 Fix issue caught by Chrome Clang plugin 2015-08-17 15:54:56 -07:00
Hixie
108f3b6b75 Analyzer updates
- Remove shelldb analyze, since we want to remove shelldb.
- Make skyanalyzer pass the absolute path to dartanalyzer. I'm not
  sure why this is sometimes needed, but without it, I sometimes get
  file not found errors.
- Remove some of the patterns we were ignoring, since either the
  errors have been fixed or the analyzer has been fixed.

There's still hundreds of warnings in the mojo and sky packages (the
ones in the sky packages are all bogus, I believe).
2015-08-17 15:42:34 -07:00
Collin Jackson
173a33ae6e Merge pull request #656 from collinjackson/more_text_refactor
Move inheritedOfType from Component to Widget so that Switch can use it
2015-08-17 15:03:41 -07:00
Collin Jackson
bed53a5611 Move inheritedOfType from Component to Widget so that Switch can use it 2015-08-17 15:03:21 -07:00
Eric Seidel
40bf356a80 Merge pull request #659 from eseidelGoogle/analyzer
Fix analyzer warnings
2015-08-17 14:34:54 -07:00
Eric Seidel
e8ab9d7239 Fix analyzer warnings
We had a remarkable number of analyzer failures.

I'll fix the bots to analyze across the whole project
in a follow-up patch, that should prevent this
in the future.

@abarth
2015-08-17 14:32:29 -07:00
Chinmay Garde
c5576df5c7 Merge pull request #657 from chinmaygarde/master
Fix armv7 build errors in sky/engine
2015-08-17 14:23:40 -07:00
Adam Barth
d782bbdf02 Merge pull request #658 from abarth/root_rename
Rename Widget.root to Widget.renderObject
2015-08-17 14:18:32 -07:00
Adam Barth
87ca9c16be Rename Widget.root to Widget.renderObject
The name `root` is confusing because this value isn't the root of anything.
It's just the associated `RenderObject` instance.
2015-08-17 14:15:26 -07:00
Chinmay Garde
f19071f5f9 Fix armv7 build errors in sky/engine 2015-08-17 14:12:41 -07:00
Adam Barth
c82d1c8316 Merge pull request #653 from abarth/drag_target
Add support for drag-and-drop
2015-08-17 14:06:35 -07:00
Adam Barth
91d9f9d263 Add support for drag-and-drop
Widgets that want to receive drops should include a DropTarget in their build.
Currently there's no widget for initiating a drag. Components can use the
DragController directly. In the future, we'll probably want to add a Draggable
that knows how to do some of this work automatically.

Fixes #612
2015-08-17 14:06:19 -07:00
Chinmay Garde
92487e2775 Merge pull request #655 from chinmaygarde/master
Roll back dart dependency to work around build errors
2015-08-17 13:54:48 -07:00
Chinmay Garde
2042a0f0ad Temporarily roll back dart dependency to work around build errors
Tracking issue https://github.com/domokit/sky_engine/issues/654
2015-08-17 13:51:13 -07:00
Chinmay Garde
f86f0ed5ad Merge pull request #652 from chinmaygarde/master
Avoid disabling extra clang plugins on iOS
2015-08-17 13:40:07 -07:00
Adam Barth
6aa111e857 Merge pull request #650 from Hixie/theme
Trivial documentation for files in theme/.
2015-08-17 13:30:36 -07:00
Adam Barth
a03b87ded8 Merge pull request #649 from Hixie/mojo-README
Add a trivial README for the mojo/ directory in the SDK.
2015-08-17 13:30:21 -07:00
Adam Barth
cf97059b99 Merge pull request #636 from devoncarew/material_design_readme
update the readme for the material design package
2015-08-17 13:29:18 -07:00
Chinmay Garde
e7226be712 Avoid disabling extra clang plugins on iOS 2015-08-17 13:17:26 -07:00
Eric Seidel
125745c549 Merge pull request #651 from eseidelGoogle/roll_version
Remove more dead code from roll_apk_version
2015-08-17 13:17:26 -07:00
Eric Seidel
42f60c2b18 Remove more dead code from roll_apk_version
Also fixed the url in roll_pub_versions CHANGELOG.md message.

@abarth
2015-08-17 13:16:13 -07:00
Viktor Lidholt
1363232910 Merge pull request #648 from vlidholt/master
Adds SoundManager class
2015-08-17 13:14:23 -07:00
Hixie
671f550145 Add a trivial README for the mojo/ directory in the SDK. 2015-08-17 12:55:53 -07:00
Viktor Lidholt
8bb452618c Adds SoundManager class 2015-08-17 12:49:32 -07:00
Hixie
ba5e27eff1 Trivial documentation for files in theme/. 2015-08-17 12:49:06 -07:00
Eric Seidel
844b14d23d Roll Fitness and SkyDemo in preparation for release
@abarth
2015-08-17 12:46:30 -07:00
Eric Seidel
7907d2e11d Merge pull request #647 from eseidelGoogle/roll_version
Split roll_versions.py into apk vs. pub
2015-08-17 12:45:09 -07:00
Viktor Lidholt
2e6ae25f5c Merge pull request #638 from vlidholt/master
Adds a new ActionDelay class to sprites
2015-08-17 12:43:30 -07:00
Eric Seidel
a71cded95c Split roll_versions.py into apk vs. pub 2015-08-17 12:43:16 -07:00
Hixie
08282362dc Trivial code changes for style in animation/ directory. 2015-08-17 12:35:02 -07:00
Hixie
63e80a6d0c Update READMEs for painting/ and animation/ to be up to date with current dependencies. 2015-08-17 10:53:06 -07:00
Hixie
9e8074528e Tweak box_painter.dart to match style better. 2015-08-17 10:52:05 -07:00
Hixie
450bb11464 Fix spaces in lerp.dart to match style better. 2015-08-17 10:24:58 -07:00
Viktor Lidholt
0460f86052 Adds a new ActionDelay class to sprites 2015-08-17 09:23:13 -07:00
Devon Carew
dc2ae4b96c update the readme for the material design package 2015-08-16 14:36:34 -07:00
Adam Barth
788e4731fe Fix Android build 2015-08-15 21:58:51 -07:00
Adam Barth
208bec2d27 Merge pull request #635 from abarth/mac_main
Make it easier to run SkyShell from the command line on Mac
2015-08-15 13:54:00 -07:00
Adam Barth
f7053c6bdf Make it easier to run SkyShell from the command line on Mac
Now you can use --snapshot to load snapshots from the command line and have
them appear visually on Mac. Also, remove code duplication with Linux by
factoring common testing code into //sky/shell/testing.
2015-08-15 12:45:08 -07:00
Adam Barth
9a492ca352 Merge pull request #631 from abarth/fix_mac_build
Fix Mac build
2015-08-14 21:32:09 -07:00
Adam Barth
77863132c6 Fix Mac build
Looks like the Keyboard service is only for iOS. We shouldn't try to build it
on Mac.
2015-08-14 21:31:06 -07:00