141 Commits

Author SHA1 Message Date
Matt Perry
69d7ef0e6c Material animates over 200ms 2015-07-22 11:55:38 -04:00
Matt Perry
ebbaec976b Make SnackBar animate itself. 2015-07-22 11:53:57 -04:00
Matt Perry
396f7da77f rebase 2015-07-22 11:52:34 -04:00
Adam Barth
254915b510 Merge pull request #208 from abarth/fix_type
Fix type error found by dartanalyzer --strong
2015-07-22 07:29:32 -07:00
Adam Barth
3ab87eced3 Update README.md
Grammar
2015-07-21 22:49:00 -07:00
Adam Barth
a7d44973cf Fix type error found by dartanalyzer --strong
We were declaring that the function passed to setState should return a
Function. In reality, we want the function to return void (and everyone calls
it with a function that returns void).
2015-07-21 22:42:04 -07:00
Adam Barth
404e244a08 Merge pull request #201 from eseidelGoogle/fuzz_crashes
Fix 2 crashes found by Hixie's fuzzer.
2015-07-21 19:59:24 -07:00
Adam Barth
867cfea88e Update README.md 2015-07-21 19:56:57 -07:00
Adam Barth
a146d0d42a Merge pull request #207 from abarth/fix_sky_tool
Update sky_tool now that sky:// isn't a thing
2015-07-21 19:53:59 -07:00
Adam Barth
ce5b798ed9 Update sky_tool now that sky:// isn't a thing
Instead, just use a normal http URL.
2015-07-21 19:53:25 -07:00
Adam Barth
ff2a810eab Update README.md 2015-07-21 19:50:44 -07:00
Adam Barth
b1674aaa66 Update README.md 2015-07-21 19:41:13 -07:00
Adam Barth
2fa9a4d332 Roll Sky package version 2015-07-21 17:29:58 -07:00
Adam Barth
7468b36fbe Fix path 2015-07-21 17:27:30 -07:00
Adam Barth
5e5c9823aa More tweaks to big_red_button.py 2015-07-21 17:25:51 -07:00
Adam Barth
e411055048 Don't try to use git commands in the SDK root 2015-07-21 17:19:46 -07:00
Eric Seidel
68e5c9bebe Fix 2 crashers found by Hixie's fuzzer.
The first one is that we weren't setting up a
FontCachePurgePreventer during drawText.  It's not clear
that this is the correct fix, since Blink doesn't have
this FontCachePurgePreventer here either, but it's also
possible that they would hit this same ASSERT and just
not care (since ASSERTs are disabled on clusterfuzz).

The second fix is making ExceptionState actually track
whether it has thrown an exception or not. The c++ code
was depending on this working in order to return early
from dom functions and not crash!

R=abarth@google.com
2015-07-21 16:29:04 -07:00
Hixie
5e6d9d6bb5 Remove redundant operator== and hashCode functions in card example.
It turns out that we aren't really using these. The identity logic is sufficient.

Also, add some asserts for a crash I had once but couldn't reproduce, in case that helps catch it next time.
2015-07-21 15:26:54 -07:00
Adam Barth
a058bc47ff Remove hard-coded default paths
... and move instructions to the wiki.
2015-07-21 15:11:51 -07:00
Chinmay Garde
821135a95b Merge pull request #177 from chinmaygarde/sky/shell
Extract and reuse common sky/shell components on Mac and iOS
2015-07-21 15:05:52 -07:00
Hixie
761ab683d1 Rationalise usage of keys in navigator.dart.
Route (named routes) no longer have a key, and have their own storage for their names.
RouseState no longer has a key, and uses an owner field pointing to a StatefulComponent instead.
As such, RouteBase no longer has a key.

HistoryEntry no longer uses a global int to ensure uniqueness.

Propagated this to stocks app.
2015-07-21 14:58:48 -07:00
Adam Barth
24c88827e5 Roll version to 20 2015-07-21 14:56:54 -07:00
Adam Barth
603f589ba3 Images don't appears in VariableHeightScrollables
When we build widgets during layout we weren't notifying those widgets that
they were mounted. Now we notify mount status changes when exiting build phases
inside layout.

Fixes #176
2015-07-21 14:42:21 -07:00
Adam Barth
a43a34e901 Fix more analyzer warnings 2015-07-21 13:59:18 -07:00
Adam Barth
6dc026bdac Merge pull request #191 from abarth/image_height_width
Separate width and height parameters for Image widgets
2015-07-21 13:54:56 -07:00
Adam Barth
b5d28fb524 Merge pull request #192 from abarth/fix_warnings
Fix analyzer warnings
2015-07-21 13:52:37 -07:00
Adam Barth
b8d45ce91e Fix analyzer warnings 2015-07-21 13:51:27 -07:00
Adam Barth
50eac9559a Separate width and height parameters for Image widgets
This change makes it easier to defined only the width or the height of an image
and let the other value be filled in from the image's intrinsic aspect ratio.

Fixes #175
2015-07-21 13:46:10 -07:00
mpcomplete
1c80d294c7 Merge pull request #188 from mpcomplete/animated_value
Renamed AnimatedType to AnimatedValue
2015-07-21 13:45:50 -07:00
Viktor Lidholt
0c59c4963b Merge pull request #184 from vlidholt/master
Updates sprite widget to handle changes to renderbox
2015-07-21 13:32:22 -07:00
Viktor Lidholt
7039e9b09f Minor formatting fixes 2015-07-21 13:30:30 -07:00
Matt Perry
a421da3c1b Renamed AnimatedType to AnimatedValue 2015-07-21 12:55:16 -07:00
Ian Hickson
85710b508c Markdown fixes. 2015-07-21 12:42:43 -07:00
Ian Hickson
1cdeb7e86e Minor clarifications and typo fixes. 2015-07-21 12:41:53 -07:00
Hixie
da2fa52eb4 Minor style changes around demo cards. 2015-07-21 12:18:10 -07:00
Hixie
2d149ca382 Make typography.white and typography.black constants. 2015-07-21 12:13:10 -07:00
Adam Barth
f65711af74 Merge pull request #182 from abarth/rename_sky_snapshot
Rename sky_packager to sky_snapshot
2015-07-21 12:04:16 -07:00
Viktor Lidholt
2715bc00e1 Merge branch 'master' of github.com:domokit/sky_engine into HEAD 2015-07-21 11:30:52 -07:00
Viktor Lidholt
db17b89c7f Adds main screen to game and graphics for game UI 2015-07-21 11:30:17 -07:00
Adam Barth
b6d4a0448f Rename sky_packager to sky_snapshot
This program just creates a snapshot, not the whole package.
2015-07-21 11:28:30 -07:00
Hans Muller
71746f9178 Merge pull request #181 from HansMuller/cards-animate-back
Dismissable: animate "snap back", only call dismiss() once
2015-07-21 11:27:30 -07:00
Viktor Lidholt
dd16c1a55a Updates sprite widget to handle changes to renderbox 2015-07-21 11:26:57 -07:00
Hans Muller
d84e608fef animate "snap back", only call dismiss() once 2015-07-21 11:20:01 -07:00
Hixie
c63fd4b121 This demo is a fuzzer of sorts, testing in particular our text layout system and painting. 2015-07-21 10:56:08 -07:00
Chinmay Garde
c44eaa4144 Extract and reuse common sky/shell components on Mac and iOS 2015-07-21 10:17:50 -07:00
Hans Muller
a8d638e016 manage listener with on,didMount 2015-07-21 08:42:14 -07:00
Hans Muller
d5ab0b9801 manage listener with on,didMount 2015-07-21 08:41:58 -07:00
Hans Muller
5fab3708ec Fixed several typos 2015-07-21 08:25:49 -07:00
Ian Hickson
72675c23b7 Update README.md 2015-07-20 22:48:47 -07:00
Ian Hickson
1632513da1 Update README.md
Try to clarify initial execution.
2015-07-20 22:48:12 -07:00