3426 Commits

Author SHA1 Message Date
Ian Hickson
ef7d467b5e Update README.md 2015-08-18 20:51:48 -07:00
Adam Barth
645eff64ce Merge pull request #683 from abarth/null_image
RenderImage should handle the case of a null image
2015-08-18 20:29:31 -07:00
Adam Barth
760ac40c68 RenderImage should handle the case of a null image
When given a null image, RenderImage should be as small as possible (isntead of
being NaNxNaN).

Also, plumb ImageFit and ImageRepeat through the various image widgets.
2015-08-18 20:05:52 -07:00
Ian Hickson
c7ae62507a Update README.md 2015-08-18 18:50:46 -07:00
Chinmay Garde
0d1a0747f5 Merge pull request #679 from chinmaygarde/master
Avoid warnings on iOS due to surface resize events not being handled
2015-08-18 17:12:38 -07:00
Adam Barth
af4c203213 Merge pull request #681 from abarth/border_padding
Borders on Containers shouldn't overlap the content
2015-08-18 16:12:08 -07:00
Adam Barth
6d38f01e38 Borders on Containers shouldn't overlap the content
This CL inflates the padding of Container to account for the borders so that
the borders are allocated space in the layout and don't draw behind the
Container's child.
2015-08-18 16:10:40 -07:00
Collin Jackson
2b5aeab472 Merge pull request #678 from collinjackson/gridlines
Request gridlines for fitness chart
2015-08-18 15:46:26 -07:00
Chinmay Garde
2ee8102343 Avoid warnings on iOS due to surface resize events not being handled 2015-08-18 15:33:02 -07:00
Adam Barth
08b5742859 Merge pull request #675 from abarth/solve_render_image
Improve RenderImage constraint solving
2015-08-18 15:23:41 -07:00
Adam Barth
253366cf3d Improve RenderImage constraint solving
We now fold the width and height properties into the constraints and try to
find a size for the image that perserves the image's intrinsict aspect ratio
while fitting within the given constraints.
2015-08-18 15:23:04 -07:00
Collin Jackson
3347adc89f Request gridlines for fitness chart 2015-08-18 15:15:49 -07:00
Chinmay Garde
c4e0bd408e Merge pull request #677 from chinmaygarde/master
Set default active arch on iOS to armv7
2015-08-18 14:39:48 -07:00
Chinmay Garde
9002a0d206 Set default active arch on iOS to armv7 2015-08-18 14:38:50 -07:00
Chinmay Garde
0d5c8ff10d Merge pull request #676 from chinmaygarde/master
Fix crashes on iOS due to EXC_ARM_DA_ALIGN
2015-08-18 14:38:30 -07:00
Chinmay Garde
f19767de8d Fix crashes on iOS due to EXC_ARM_DA_ALIGN 2015-08-18 14:34:51 -07:00
Adam Barth
a525f84bf0 Merge pull request #672 from abarth/render_image_fit
Apply ImageFit and ImageRepeat to RenderImage
2015-08-18 11:12:00 -07:00
Adam Barth
205f948edf Apply ImageFit and ImageRepeat to RenderImage
These properties should apply to foreground images as well as background
images. Also, rename these types from BackgroundFit and BackgroundRepeat
because they apply to things other than backgrounds.
2015-08-18 11:11:31 -07:00
Viktor Lidholt
21970c4af0 Merge pull request #671 from vlidholt/master
Fixes loading of assets in demo game
2015-08-18 10:34:50 -07:00
Viktor Lidholt
95014000a9 Fixes loading of assets in demo game 2015-08-18 10:33:34 -07:00
Adam Barth
9b55b981de Merge pull request #670 from abarth/expand_dimension
Container should expand in dimensions without constraints
2015-08-18 10:07:23 -07:00
Adam Barth
b6316f7eac Container should expand in dimensions without constraints
... as long as it doesn't have a child. If it has a child, it should size
according to that child. Essentially, if Container doesn't have a child, it
pretends like it has a child that expands to fill its constraints.
2015-08-18 10:06:49 -07:00
Viktor Lidholt
ee8506d32c Merge pull request #666 from vlidholt/master
Adds bounce and elastic easing to animation curves
2015-08-18 09:37:02 -07:00
Viktor Lidholt
2f333a37de Minor fixes to new animation curves 2015-08-18 09:34:07 -07:00
Ian Hickson
38776609d2 Merge pull request #669 from Hixie/layers
Port clipping to the new layer world.
2015-08-18 08:36:25 -07:00
Hixie
5ceb52a0e1 Port clipping to the new layer world.
- Add Canvas.getSaveCount()
- Make RenderClipRect call context.paintChildWithClip instead of doing the clipping itself
- Make ClipLayer take a Rect instead of a Size
- Make PaintingContext.canvas read-only
- Add PaintingContext.paintChildWithClip()
- Minor rearrangings of code and style tweaks
2015-08-18 08:34:42 -07:00
Eric Seidel
28ed6e686a Add release notes for SkyDemo.apk 0.0.23 demo_apk_23 2015-08-17 18:00:10 -07:00
Eric Seidel
f3814a8c60 Add release notes for Fitness 0.0.3
@collinjackson
fitness_apk_3
2015-08-17 17:51:50 -07:00
Eric Seidel
0c874b766c Merge pull request #668 from eseidelGoogle/music_asset
Make Asteroids.apk use background music from its bundle
2015-08-17 17:29:33 -07:00
Ian Hickson
909a437c48 Merge pull request #665 from Hixie/analyzer
Fix analyzer to not change the working directory.
2015-08-17 17:18:30 -07:00
Chinmay Garde
bee0c4b2aa Merge pull request #667 from chinmaygarde/master
Fix iOS build breaks due to recent dart roll
2015-08-17 17:12:36 -07:00
Eric Seidel
908490d089 Make Asteroids.apk use background music from its bundle
This was the last instance of loading assets off of Github.

@abarth
2015-08-17 17:10:38 -07:00
Chinmay Garde
f5bf47f151 Update Dart dep to include fixes for build breaks on Clang 2015-08-17 17:08:23 -07:00
Viktor Lidholt
8ab5167eb1 Updates demo game to use curves from the animation package 2015-08-17 17:07:55 -07:00
Viktor Lidholt
92baad7424 Adds bounce and elastic easing to animation curves 2015-08-17 17:07:30 -07:00
Chinmay Garde
c6d67998cc Revert "Temporarily roll back dart dependency to work around build errors"
This reverts commit 2042a0f0adbde9a16ccd9ff9a414e70bc7871386.
2015-08-17 17:01:27 -07:00
Chinmay Garde
8d3e9ff393 Merge pull request #664 from chinmaygarde/master
Build fat binaries on iOS by default unless "ios_active_arch" is specified
2015-08-17 16:59:29 -07:00
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
Chinmay Garde
745a185e90 Build fat binaries on iOS by default unless "ios_active_arch" is specified 2015-08-17 16:49:01 -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